Version Description
Download this release
Release Info
Developer | themeisle |
Plugin | FEEDZY RSS Feeds Lite |
Version | 4.0.0 |
Comparing to | |
See all releases |
Code changes from version 3.8.3 to 4.0.0
- CHANGELOG.md +14 -0
- css/admin.css +0 -72
- css/feedzy-elementor-widget.css +124 -0
- css/feedzy-rss-feed-import.css +123 -44
- css/feedzy-rss-feeds.css +2 -1
- css/metabox-settings.css +64 -2020
- css/settings.css +1358 -124
- feedzy-rss-feed.php +14 -7
- form/form.php +1 -1
- img/dark-feedzy-logo.png +0 -0
- img/dark-mode-default.png +0 -0
- img/dark-mode-style1.png +0 -0
- img/dark-mode-style2.png +0 -0
- img/el-lock.png +0 -0
- img/feed-to-post.jpg +0 -0
- img/feedzy-default-template.jpg +0 -0
- img/feedzy-default-template.png +0 -0
- img/feedzy-demo.jpg +0 -0
- img/feedzy-style1-template.jpg +0 -0
- img/feedzy-style1-template.png +0 -0
- img/feedzy-style2-template.jpg +0 -0
- img/feedzy-style2-template.png +0 -0
- img/improve-feedzy.png +0 -0
- img/in-feedzy.jpg +0 -0
- img/light-feedzy-logo.png +0 -0
- img/light-mode-default.png +0 -0
- img/light-mode-style1.png +0 -0
- img/light-mode-style2.png +0 -0
- img/rephrase-feeds-content.jpg +0 -0
- img/shortcode.jpg +0 -0
- img/validate-RSS-feed.jpg +0 -0
- includes/abstract/feedzy-rss-feeds-admin-abstract.php +45 -21
- includes/admin/feedzy-rss-feeds-admin.php +32 -19
- includes/admin/feedzy-rss-feeds-import.php +500 -219
- includes/admin/feedzy-rss-feeds-ui.php +61 -6
- includes/elementor/controls/datetime-local.php +69 -0
- includes/elementor/controls/template-layout.php +122 -0
- includes/elementor/feedzy-rss-feeds-elementor.php +61 -0
- includes/elementor/widgets/register-widget.php +655 -0
- includes/feedzy-rss-feeds-feed-tweaks.php +11 -2
- includes/feedzy-rss-feeds.php +26 -7
- includes/gutenberg/build/block.css +1 -1
- includes/gutenberg/build/block.js +6 -1
- includes/gutenberg/feedzy-rss-feeds-gutenberg-block.php +13 -0
- includes/layouts/feedzy-documentation.php +102 -0
- includes/layouts/feedzy-improve.php +14 -10
- includes/layouts/feedzy-pro.php +150 -0
- includes/layouts/feedzy-support.php +95 -42
- includes/layouts/feedzy-tutorial.php +116 -130
- includes/layouts/feedzy-upsell.php +0 -167
- includes/layouts/header.php +12 -5
- includes/layouts/settings.php +138 -104
- includes/views/css/import-metabox-edit.css +23 -2151
- includes/views/css/tagify.css +1 -0
- includes/views/import-metabox-edit.php +884 -460
- includes/views/js/import-metabox-edit.js +576 -311
- includes/views/js/jquery.tagify.min.js +32 -0
- includes/views/misc-view.php +18 -7
- includes/views/spinnerchief-view.php +37 -0
- includes/views/wordai-view.php +29 -0
- js/Onboarding/import-onboarding.js +140 -0
- js/Onboarding/import-onboarding.min.js +97 -0
CHANGELOG.md
CHANGED
@@ -1,3 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
##### [Version 3.8.3](https://github.com/Codeinwp/feedzy-rss-feeds/compare/v3.8.2...v3.8.3) (2022-03-16)
|
2 |
|
3 |
#### Fixes
|
1 |
+
#### [Version 4.0.0](https://github.com/Codeinwp/feedzy-rss-feeds/compare/v3.8.3...v4.0.0) (2022-07-14)
|
2 |
+
|
3 |
+
#### Features:
|
4 |
+
* Major UI update to make the plugin much easier and cleaner to use.
|
5 |
+
* Display image from description element
|
6 |
+
* Adds lazy load render images support
|
7 |
+
* Adds support for translations
|
8 |
+
* Adds support for paraphrased content
|
9 |
+
|
10 |
+
#### Fixes:
|
11 |
+
- Fix Deprecated functions error messages with PHP 8.1
|
12 |
+
- Fix emoji is imported as a featured image when no image is found in a post
|
13 |
+
- Fix edge case when valid feed shows up as invalid when used as part of the Feedzy category
|
14 |
+
|
15 |
##### [Version 3.8.3](https://github.com/Codeinwp/feedzy-rss-feeds/compare/v3.8.2...v3.8.3) (2022-03-16)
|
16 |
|
17 |
#### Fixes
|
css/admin.css
DELETED
@@ -1,72 +0,0 @@
|
|
1 |
-
/*TinyMce UI button*/
|
2 |
-
/*noinspection CssUnusedSymbol*/
|
3 |
-
i.mce-i-feedzy-icon {
|
4 |
-
background-image: none, url("../img/feedzy.svg"), url("../img/feedzy.png");
|
5 |
-
}
|
6 |
-
|
7 |
-
#feedzy-rss-button-insert {
|
8 |
-
border-color: #4cae4c;
|
9 |
-
color: #fff;
|
10 |
-
background-color: #5cb85c;
|
11 |
-
}
|
12 |
-
|
13 |
-
#feedzy-rss-button-insert button {
|
14 |
-
color: #fff;
|
15 |
-
}
|
16 |
-
|
17 |
-
#feedzy-rss-button-insert:hover,
|
18 |
-
#feedzy-rss-button-insert:focus {
|
19 |
-
border-color: #398439;
|
20 |
-
color: #fff;
|
21 |
-
background-color: #449d44;
|
22 |
-
}
|
23 |
-
|
24 |
-
#feedzy-rss-button-cancel {
|
25 |
-
border-color: #ccc;
|
26 |
-
color: #333;
|
27 |
-
background-color: #fff;
|
28 |
-
}
|
29 |
-
|
30 |
-
#feedzy-rss-button-cancel button {
|
31 |
-
color: #333;
|
32 |
-
}
|
33 |
-
|
34 |
-
#feedzy-rss-button-cancel:hover,
|
35 |
-
#feedzy-rss-button-cancel:focus {
|
36 |
-
border-color: #adadad;
|
37 |
-
color: #333;
|
38 |
-
background-color: #e6e6e6;
|
39 |
-
}
|
40 |
-
|
41 |
-
#feedzy-rss-button-pro {
|
42 |
-
position: absolute;
|
43 |
-
left: 10px !important;
|
44 |
-
border-color: #46b8da;
|
45 |
-
color: #fff;
|
46 |
-
background-color: #5bc0de;
|
47 |
-
}
|
48 |
-
|
49 |
-
#feedzy-rss-button-pro button {
|
50 |
-
color: #fff;
|
51 |
-
}
|
52 |
-
|
53 |
-
#feedzy-rss-button-pro:hover,
|
54 |
-
#feedzy-rss-button-pro:focus {
|
55 |
-
border-color: #269abc;
|
56 |
-
color: #fff;
|
57 |
-
background-color: #31b0d5;
|
58 |
-
}
|
59 |
-
|
60 |
-
#feedzy-rss-insert-dialog-title {
|
61 |
-
font-weight: 300;
|
62 |
-
text-align: center;
|
63 |
-
}
|
64 |
-
|
65 |
-
.post-type-feedzy_categories .postbox-container div#submitdiv,
|
66 |
-
.post-type-feedzy_categories #feedzy_category_feeds_rn {
|
67 |
-
display: block !important;
|
68 |
-
}
|
69 |
-
|
70 |
-
.post-type-feedzy_categories .postbox-container > div > .postbox:not(#feedzy_category_feeds) {
|
71 |
-
display: none;
|
72 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
css/feedzy-elementor-widget.css
ADDED
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.feedzy-el-full-width .elementor-control-unit-2 {
|
2 |
+
width: 100%;
|
3 |
+
}
|
4 |
+
.elementor-control-type-section.fz-feat-locked .eicon-lock {
|
5 |
+
position: absolute;
|
6 |
+
top: 13px;
|
7 |
+
right: 20px;
|
8 |
+
display: block;
|
9 |
+
color: #64666a;
|
10 |
+
}
|
11 |
+
.fz-feat-locked:not(.elementor-control-type-section) > div .elementor-control-field {
|
12 |
+
opacity: .2;
|
13 |
+
}
|
14 |
+
.fz-feat-locked:not(.elementor-control-type-section) > div .elementor-control-field {
|
15 |
+
pointer-events: none;
|
16 |
+
}
|
17 |
+
.fz-feat-locked:not(.elementor-control-type-section) {
|
18 |
+
cursor: not-allowed;
|
19 |
+
}
|
20 |
+
|
21 |
+
.elementor-choices.fz-layout-choices{
|
22 |
+
height: auto;
|
23 |
+
}
|
24 |
+
.fz-layout-list{
|
25 |
+
display: flex;
|
26 |
+
flex-wrap: wrap;
|
27 |
+
margin: 0 -4px;
|
28 |
+
}
|
29 |
+
.fz-layout-list li{
|
30 |
+
width: 50%;
|
31 |
+
padding: 0 4px 15px;
|
32 |
+
}
|
33 |
+
.fz-layout-list li .elementor-control-unit{
|
34 |
+
display: block !important;
|
35 |
+
}
|
36 |
+
.fz-layout-list li .img{
|
37 |
+
height: 66px;
|
38 |
+
margin-bottom: 8px;
|
39 |
+
background: #34383C;
|
40 |
+
display: flex;
|
41 |
+
align-items: center;
|
42 |
+
justify-content: center;
|
43 |
+
position: relative;
|
44 |
+
}
|
45 |
+
.fz-layout-list li .img:after{
|
46 |
+
content: "";
|
47 |
+
position: absolute;
|
48 |
+
left: 0;
|
49 |
+
bottom: 0;
|
50 |
+
width: 100%;
|
51 |
+
height: 4px;
|
52 |
+
background: #71D7F7;
|
53 |
+
opacity: 0;
|
54 |
+
}
|
55 |
+
.fz-layout-list li input:checked ~ .elementor-control-unit .img{
|
56 |
+
background: #64666A;
|
57 |
+
}
|
58 |
+
.fz-layout-list li input:checked ~ .elementor-control-unit .img:after{
|
59 |
+
opacity: 1;
|
60 |
+
}
|
61 |
+
|
62 |
+
.fz-el-light-mode .fz-layout-list li .img{
|
63 |
+
background: #E6E9EC;
|
64 |
+
}
|
65 |
+
.fz-el-light-mode .fz-layout-list li input:checked ~ .elementor-control-unit .img{
|
66 |
+
background: #C7CCD1;
|
67 |
+
}
|
68 |
+
|
69 |
+
.fz-pro-notice{
|
70 |
+
text-align: center;
|
71 |
+
max-width: 202px;
|
72 |
+
margin: 0 auto;
|
73 |
+
padding: 56px 0 30px;
|
74 |
+
}
|
75 |
+
.fz-pro-notice .fz-logo{
|
76 |
+
padding-bottom: 20px;
|
77 |
+
}
|
78 |
+
.fz-pro-notice h3{
|
79 |
+
font-size: 16px;
|
80 |
+
line-height: 19px;
|
81 |
+
font-weight: 700;
|
82 |
+
color: #E0E1E3;
|
83 |
+
margin-bottom: 5px;
|
84 |
+
}
|
85 |
+
.fz-light-mode.fz-pro-notice h3{
|
86 |
+
color: #6D7882;
|
87 |
+
}
|
88 |
+
.fz-pro-notice p{
|
89 |
+
font-weight: 400;
|
90 |
+
font-size: 11px;
|
91 |
+
line-height: 15px;
|
92 |
+
color: #E0E1E3;
|
93 |
+
margin-bottom: 16px;
|
94 |
+
}
|
95 |
+
.fz-light-mode.fz-pro-notice p{
|
96 |
+
color: #6D7882;
|
97 |
+
}
|
98 |
+
.docs-btn a{
|
99 |
+
display: inline-block;
|
100 |
+
background: #4268CF;
|
101 |
+
padding: 6px 12px;
|
102 |
+
border-radius: 3px;
|
103 |
+
font-weight: 700;
|
104 |
+
font-size: 11px;
|
105 |
+
line-height: 13px;
|
106 |
+
text-transform: uppercase;
|
107 |
+
color: #FFFFFF;
|
108 |
+
}
|
109 |
+
.docs-btn a:hover,
|
110 |
+
.docs-btn a:focus{
|
111 |
+
color: #FFFFFF;
|
112 |
+
}
|
113 |
+
.docs-btn span{
|
114 |
+
display: block;
|
115 |
+
font-style: italic;
|
116 |
+
font-weight: 400;
|
117 |
+
font-size: 11px;
|
118 |
+
line-height: 13px;
|
119 |
+
color: #757575;
|
120 |
+
padding-top: 8px;
|
121 |
+
}
|
122 |
+
.fz-light-mode .docs-btn span {
|
123 |
+
color: #757575;
|
124 |
+
}
|
css/feedzy-rss-feed-import.css
CHANGED
@@ -8,54 +8,59 @@
|
|
8 |
* Author: Themeisle
|
9 |
*/
|
10 |
|
11 |
-
#feedzy_import_feeds
|
12 |
-
|
13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
}
|
15 |
-
|
16 |
-
|
17 |
-
display: block;
|
18 |
-
margin: 0 0 5px;
|
19 |
}
|
20 |
-
|
21 |
-
|
22 |
-
height: 44px;
|
23 |
-
padding: 0 20px;
|
24 |
-
border: 1px solid #ddd;
|
25 |
-
border-radius: 4px;
|
26 |
-
color: #888;
|
27 |
-
background: #fff;
|
28 |
-
box-shadow: none;
|
29 |
-
font-family: "Roboto", sans-serif;
|
30 |
-
font-size: 16px;
|
31 |
-
font-weight: 300;
|
32 |
-
line-height: 44px;
|
33 |
}
|
34 |
-
|
35 |
-
|
36 |
-
top: 10px;
|
37 |
-
right: -2px;
|
38 |
}
|
39 |
-
|
40 |
-
|
41 |
-
#feedzy_import_feeds #feedzy_post_terms_chosen {
|
42 |
-
margin-bottom: 20px;
|
43 |
}
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
z-index: 99999999;
|
48 |
}
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
}
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
}
|
58 |
-
|
59 |
.feedzy-api-error,
|
60 |
.feedzy-error-critical {
|
61 |
color: #ff0000;
|
@@ -102,7 +107,7 @@ tr.feedzy-import-status-row table tr:last-of-type td {
|
|
102 |
}
|
103 |
|
104 |
td.feedzy-error-status a {
|
105 |
-
|
106 |
}
|
107 |
|
108 |
a.feedzy-popup-details {
|
@@ -125,8 +130,82 @@ td.feedzy-has-popup {
|
|
125 |
color: #ca4a1f !important;
|
126 |
background-color: inherit !important;
|
127 |
}
|
128 |
-
|
129 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
130 |
@media screen and (max-width: 782px) {
|
131 |
tr.feedzy-import-status-row table {
|
132 |
width: 100%;
|
@@ -135,4 +214,4 @@ td.feedzy-has-popup {
|
|
135 |
tr.feedzy-import-status-row table tr:last-of-type td {
|
136 |
font-size: smaller;
|
137 |
}
|
138 |
-
}
|
8 |
* Author: Themeisle
|
9 |
*/
|
10 |
|
11 |
+
#feedzy_import_feeds{
|
12 |
+
background: transparent;
|
13 |
+
border: 0;
|
14 |
+
box-shadow: none;
|
15 |
+
max-width: 1224px;
|
16 |
+
margin: 0 auto;
|
17 |
+
padding-left: 12px;
|
18 |
+
padding-right: 12px;
|
19 |
+
box-sizing: border-box;
|
20 |
}
|
21 |
+
#feedzy_import_feeds > .postbox-header{
|
22 |
+
display: none;
|
|
|
|
|
23 |
}
|
24 |
+
.post-type-feedzy_imports:not(.edit-php) .page-title-action, .post-type-feedzy_imports:not(.edit-php) .wp-heading-inline {
|
25 |
+
display: none !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
}
|
27 |
+
.post-type-feedzy_imports:not(.edit-php) #wpcontent{
|
28 |
+
padding-left: 0;
|
|
|
|
|
29 |
}
|
30 |
+
.post-type-feedzy_imports:not(.edit-php) #post-body-content{
|
31 |
+
display: none;
|
|
|
|
|
32 |
}
|
33 |
+
.post-type-feedzy_imports:not(.edit-php) .wrap{
|
34 |
+
margin-top: 0;
|
35 |
+
margin-right: 0;
|
|
|
36 |
}
|
37 |
+
.post-type-feedzy_imports:not(.edit-php) .wrap > .wp-heading-inline,
|
38 |
+
.post-type-feedzy_imports:not(.edit-php) .wrap > .wp-header-end{
|
39 |
+
display: none;
|
40 |
}
|
41 |
+
.post-type-feedzy_imports:not(.edit-php) #poststuff{
|
42 |
+
padding-top: 0;
|
43 |
+
}
|
44 |
+
.post-type-feedzy_imports:not(.edit-php) #poststuff .inside{
|
45 |
+
margin-top: 0;
|
46 |
+
padding-left: 0;
|
47 |
+
padding-right: 0;
|
48 |
+
}
|
49 |
+
.post-type-feedzy_imports:not(.edit-php) #poststuff #post-body.columns-2{
|
50 |
+
margin-right: 0;
|
51 |
+
}
|
52 |
+
.post-type-feedzy_imports:not(.edit-php) #post-body.columns-2 #postbox-container-1{
|
53 |
+
width: 100%;
|
54 |
+
float: none;
|
55 |
+
}
|
56 |
+
.feedzy_page_feedzy-settings #wpcontent,
|
57 |
+
.feedzy_page_feedzy-support #wpcontent{
|
58 |
+
padding-left: 0;
|
59 |
+
}
|
60 |
+
.feedzy_page_feedzy-settings .feedzy-header,
|
61 |
+
.feedzy_page_feedzy-support .feedzy-header{
|
62 |
+
margin-bottom: 40px;
|
63 |
}
|
|
|
64 |
.feedzy-api-error,
|
65 |
.feedzy-error-critical {
|
66 |
color: #ff0000;
|
107 |
}
|
108 |
|
109 |
td.feedzy-error-status a {
|
110 |
+
vertical-align: middle;
|
111 |
}
|
112 |
|
113 |
a.feedzy-popup-details {
|
130 |
color: #ca4a1f !important;
|
131 |
background-color: inherit !important;
|
132 |
}
|
133 |
+
.feedzy-onboarding-modal {
|
134 |
+
max-width: 350px;
|
135 |
+
}
|
136 |
+
.feedzy-onboarding-modal .components-modal__header {
|
137 |
+
text-align: center;
|
138 |
+
}
|
139 |
+
.feedzy-onboarding-modal .components-modal__header h1 {
|
140 |
+
width: 100%;
|
141 |
+
}
|
142 |
+
.feedzy-onboarding-modal .feedzy-onboarding-modal-content {
|
143 |
+
text-align: center;
|
144 |
+
margin: 10px 0 15px;
|
145 |
+
}
|
146 |
+
.feedzy-onboarding-modal .feedzy-onboarding-modal-action {
|
147 |
+
text-align: center;
|
148 |
+
margin: 10px 0;
|
149 |
+
}
|
150 |
+
.feedzy-onboarding-modal .feedzy-onboarding-modal-action .components-button {
|
151 |
+
padding: 2px 20px;
|
152 |
+
font-size: 14px;
|
153 |
+
margin-right: 10px;
|
154 |
+
}
|
155 |
+
.components-modal__screen-overlay {
|
156 |
+
background-color: rgba(0, 0, 0, 0.5);
|
157 |
+
}
|
158 |
+
.react-joyride__tooltip {
|
159 |
+
font-size: 13px !important;
|
160 |
+
}
|
161 |
+
.react-joyride__tooltip > div {
|
162 |
+
text-align: left !important;
|
163 |
+
}
|
164 |
+
.react-joyride__tooltip div:nth-of-type( 2) {
|
165 |
+
margin-top: 5px !important;
|
166 |
+
}
|
167 |
+
.react-joyride__tooltip button {
|
168 |
+
text-decoration: underline;
|
169 |
+
}
|
170 |
+
.react-joyride__beacon span:first-child {
|
171 |
+
background-color: #4268CF !important;
|
172 |
+
}
|
173 |
+
.react-joyride__beacon span:last-child {
|
174 |
+
background-color: rgba(66, 104, 207, 0.4) !important;
|
175 |
+
border: 2px solid #4268CF !important;
|
176 |
+
}
|
177 |
+
.react-joyride__tooltip button[data-action="primary"] {
|
178 |
+
background: #4268cf !important;
|
179 |
+
border-color: #006a95 #00648c #00648c !important;
|
180 |
+
box-shadow: inset 0 -1px 0 #00648c !important;
|
181 |
+
color: #fff !important;
|
182 |
+
text-decoration: none !important;
|
183 |
+
text-shadow: 0 -1px 1px #005d82, 1px 0 1px #005d82, 0 1px 1px #005d82, -1px 0 1px #005d82 !important;
|
184 |
+
padding: 2px 20px !important;
|
185 |
+
height: auto !important;
|
186 |
+
line-height: 28px !important;
|
187 |
+
font-size: 14px !important;
|
188 |
+
}
|
189 |
+
.react-joyride__tooltip button[data-action="back"] {
|
190 |
+
color: #23282d !important;
|
191 |
+
font-size: 14px !important;
|
192 |
+
}
|
193 |
+
.react-notification-root .notification-container-bottom-left {
|
194 |
+
bottom: 40px;
|
195 |
+
}
|
196 |
+
.react-notification-root .notification-container-mobile-bottom {
|
197 |
+
bottom: 60px;
|
198 |
+
}
|
199 |
+
.feedzy-onboarding-modal-action .components-button.is-primary,
|
200 |
+
.feedzy-onboarding-modal-action .components-button.is-primary:hover:not(:disabled) {
|
201 |
+
background: #4268cf;
|
202 |
+
}
|
203 |
+
.feedzy-onboarding-modal-action .components-button.is-secondary,
|
204 |
+
.feedzy-onboarding-modal-action .components-button.is-secondary:hover:not(:disabled),
|
205 |
+
.feedzy-onboarding-modal-action .components-button.is-tertiary:hover:not(:disabled) {
|
206 |
+
box-shadow: inset 0 0 0 1px #4268cf;
|
207 |
+
color: #4268cf;
|
208 |
+
}
|
209 |
@media screen and (max-width: 782px) {
|
210 |
tr.feedzy-import-status-row table {
|
211 |
width: 100%;
|
214 |
tr.feedzy-import-status-row table tr:last-of-type td {
|
215 |
font-size: smaller;
|
216 |
}
|
217 |
+
}
|
css/feedzy-rss-feeds.css
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
* feedzy-rss-feeds.css
|
3 |
* Feedzy RSS Feed
|
4 |
* Copyright: (c) 2016 Themeisle, themeisle.com
|
5 |
-
* Version:
|
6 |
* Plugin Name: FEEDZY RSS Feeds
|
7 |
* Plugin URI: http://themeisle.com/plugins/feedzy-rss-feeds/
|
8 |
* Author: Themeisle
|
@@ -54,6 +54,7 @@
|
|
54 |
|
55 |
.feedzy-rss .rss_item .rss_image {
|
56 |
margin: 0.3em 1em 0 0;
|
|
|
57 |
}
|
58 |
|
59 |
.feedzy-rss .rss_item .rss_content small {
|
2 |
* feedzy-rss-feeds.css
|
3 |
* Feedzy RSS Feed
|
4 |
* Copyright: (c) 2016 Themeisle, themeisle.com
|
5 |
+
* Version: 4.0.0
|
6 |
* Plugin Name: FEEDZY RSS Feeds
|
7 |
* Plugin URI: http://themeisle.com/plugins/feedzy-rss-feeds/
|
8 |
* Author: Themeisle
|
54 |
|
55 |
.feedzy-rss .rss_item .rss_image {
|
56 |
margin: 0.3em 1em 0 0;
|
57 |
+
content-visibility: auto;
|
58 |
}
|
59 |
|
60 |
.feedzy-rss .rss_item .rss_content small {
|
css/metabox-settings.css
CHANGED
@@ -4,2028 +4,72 @@
|
|
4 |
* @since 1.2.0
|
5 |
* @package feedzy-rss-feeds-pro
|
6 |
*/
|
7 |
-
.fz-form-control {
|
8 |
-
display: block;
|
9 |
-
width: 100%;
|
10 |
-
height: 34px;
|
11 |
-
padding: 6px 12px;
|
12 |
-
border: 1px solid #ccc;
|
13 |
-
border-radius: 4px;
|
14 |
-
color: #555;
|
15 |
-
background-color: #fff;
|
16 |
-
background-image: none;
|
17 |
-
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
18 |
-
font-size: 14px;
|
19 |
-
line-height: 1.42857143;
|
20 |
-
-webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
|
21 |
-
-webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
|
22 |
-
transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
|
23 |
-
}
|
24 |
-
|
25 |
-
.fz-form-control:focus {
|
26 |
-
border-color: #66afe9;
|
27 |
-
outline: 0;
|
28 |
-
box-shadow: inset 0 1px 1px rgba(0,0,0,0.075), 0 0 8px rgba(102, 175, 233, 0.6);
|
29 |
-
}
|
30 |
-
|
31 |
-
.fz-form-control::-moz-placeholder {
|
32 |
-
opacity: 1;
|
33 |
-
color: #999;
|
34 |
-
}
|
35 |
-
|
36 |
-
.fz-form-control:-ms-input-placeholder {
|
37 |
-
color: #999;
|
38 |
-
}
|
39 |
-
|
40 |
-
.fz-form-control::-webkit-input-placeholder {
|
41 |
-
color: #999;
|
42 |
-
}
|
43 |
-
|
44 |
-
.fz-form-control::-ms-expand {
|
45 |
-
border: 0;
|
46 |
-
background-color: transparent;
|
47 |
-
}
|
48 |
-
|
49 |
-
.fz-form-control[disabled],
|
50 |
-
.fz-form-control[readonly],
|
51 |
-
fieldset[disabled] .fz-form-control {
|
52 |
-
opacity: 1;
|
53 |
-
background-color: #eee;
|
54 |
-
}
|
55 |
-
|
56 |
-
.fz-form-control[disabled],
|
57 |
-
fieldset[disabled] .fz-form-control {
|
58 |
-
cursor: not-allowed;
|
59 |
-
}
|
60 |
-
|
61 |
-
textarea.fz-form-control {
|
62 |
-
height: auto;
|
63 |
-
}
|
64 |
|
65 |
-
input[type="search"] {
|
66 |
-
-webkit-appearance: none;
|
67 |
-
}
|
68 |
|
69 |
-
@media
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
input[type="month"].fz-form-control {
|
74 |
-
line-height: 34px;
|
75 |
}
|
76 |
-
|
77 |
-
|
78 |
-
input[type="time"].input-sm,
|
79 |
-
input[type="datetime-local"].input-sm,
|
80 |
-
input[type="month"].input-sm,
|
81 |
-
.fz-input-group-sm input[type="date"],
|
82 |
-
.fz-input-group-sm input[type="time"],
|
83 |
-
.fz-input-group-sm input[type="datetime-local"],
|
84 |
-
.fz-input-group-sm input[type="month"] {
|
85 |
line-height: 30px;
|
86 |
}
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
.fz-
|
93 |
-
.fz-
|
94 |
-
.fz-
|
95 |
-
.fz-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
.
|
101 |
-
|
102 |
-
}
|
103 |
-
|
104 |
-
.
|
105 |
-
.
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
margin-
|
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 |
-
.radio-inline + .radio-inline,
|
147 |
-
.checkbox-inline + .checkbox-inline {
|
148 |
-
margin-top: 0;
|
149 |
-
margin-left: 10px;
|
150 |
-
}
|
151 |
-
|
152 |
-
input[type="radio"][disabled],
|
153 |
-
input[type="checkbox"][disabled],
|
154 |
-
input[type="radio"].disabled,
|
155 |
-
input[type="checkbox"].disabled,
|
156 |
-
fieldset[disabled] input[type="radio"],
|
157 |
-
fieldset[disabled] input[type="checkbox"] {
|
158 |
-
cursor: not-allowed;
|
159 |
-
}
|
160 |
-
|
161 |
-
.radio-inline.disabled,
|
162 |
-
.checkbox-inline.disabled,
|
163 |
-
fieldset[disabled] .radio-inline,
|
164 |
-
fieldset[disabled] .checkbox-inline {
|
165 |
-
cursor: not-allowed;
|
166 |
-
}
|
167 |
-
|
168 |
-
.radio.disabled label,
|
169 |
-
.checkbox.disabled label,
|
170 |
-
fieldset[disabled] .radio label,
|
171 |
-
fieldset[disabled] .checkbox label {
|
172 |
-
cursor: not-allowed;
|
173 |
-
}
|
174 |
-
|
175 |
-
.fz-form-control-static {
|
176 |
-
min-height: 34px;
|
177 |
-
margin-bottom: 0;
|
178 |
-
padding-top: 7px;
|
179 |
-
padding-bottom: 7px;
|
180 |
-
}
|
181 |
-
|
182 |
-
.fz-form-control-static.input-lg,
|
183 |
-
.fz-form-control-static.input-sm {
|
184 |
-
padding-right: 0;
|
185 |
-
padding-left: 0;
|
186 |
-
}
|
187 |
-
|
188 |
-
.input-sm {
|
189 |
-
height: 30px;
|
190 |
-
padding: 5px 10px;
|
191 |
-
border-radius: 3px;
|
192 |
-
font-size: 12px;
|
193 |
-
line-height: 1.5;
|
194 |
-
}
|
195 |
-
|
196 |
-
select.input-sm {
|
197 |
-
height: 30px;
|
198 |
-
line-height: 30px;
|
199 |
-
}
|
200 |
-
|
201 |
-
textarea.input-sm,
|
202 |
-
select[multiple].input-sm {
|
203 |
-
height: auto;
|
204 |
-
}
|
205 |
-
|
206 |
-
.fz-form-group-sm .fz-form-control {
|
207 |
-
height: 30px;
|
208 |
-
padding: 5px 10px;
|
209 |
-
border-radius: 3px;
|
210 |
-
font-size: 12px;
|
211 |
-
line-height: 1.5;
|
212 |
-
}
|
213 |
-
|
214 |
-
.fz-form-group-sm select.fz-form-control {
|
215 |
-
height: 30px;
|
216 |
-
line-height: 30px;
|
217 |
-
}
|
218 |
-
|
219 |
-
.fz-form-group-sm textarea.fz-form-control,
|
220 |
-
.fz-form-group-sm select[multiple].fz-form-control {
|
221 |
-
height: auto;
|
222 |
-
}
|
223 |
-
|
224 |
-
.fz-form-group-sm .fz-form-control-static {
|
225 |
-
height: 30px;
|
226 |
-
min-height: 32px;
|
227 |
-
padding: 6px 10px;
|
228 |
-
font-size: 12px;
|
229 |
-
line-height: 1.5;
|
230 |
-
}
|
231 |
-
|
232 |
-
.input-lg {
|
233 |
-
height: 46px;
|
234 |
-
padding: 10px 16px;
|
235 |
-
border-radius: 6px;
|
236 |
-
font-size: 18px;
|
237 |
-
line-height: 1.3333333;
|
238 |
-
}
|
239 |
-
|
240 |
-
select.input-lg {
|
241 |
-
height: 46px;
|
242 |
-
line-height: 46px;
|
243 |
-
}
|
244 |
-
|
245 |
-
textarea.input-lg,
|
246 |
-
select[multiple].input-lg {
|
247 |
-
height: auto;
|
248 |
-
}
|
249 |
-
|
250 |
-
.fz-form-group-lg .fz-form-control {
|
251 |
-
height: 46px;
|
252 |
-
padding: 10px 16px;
|
253 |
-
border-radius: 6px;
|
254 |
-
font-size: 18px;
|
255 |
-
line-height: 1.3333333;
|
256 |
-
}
|
257 |
-
|
258 |
-
.fz-form-group-lg select.fz-form-control {
|
259 |
-
height: 46px;
|
260 |
-
line-height: 46px;
|
261 |
-
}
|
262 |
-
|
263 |
-
.fz-form-group-lg textarea.fz-form-control,
|
264 |
-
.fz-form-group-lg select[multiple].fz-form-control {
|
265 |
-
height: auto;
|
266 |
-
}
|
267 |
-
|
268 |
-
.fz-form-group-lg .fz-form-control-static {
|
269 |
-
height: 46px;
|
270 |
-
min-height: 38px;
|
271 |
-
padding: 11px 16px;
|
272 |
-
font-size: 18px;
|
273 |
-
line-height: 1.3333333;
|
274 |
-
}
|
275 |
-
|
276 |
-
.has-feedback {
|
277 |
-
position: relative;
|
278 |
-
}
|
279 |
-
|
280 |
-
.has-feedback .fz-form-control {
|
281 |
-
padding-right: 42.5px;
|
282 |
-
}
|
283 |
-
|
284 |
-
.fz-form-control-feedback {
|
285 |
-
display: block;
|
286 |
-
position: absolute;
|
287 |
-
z-index: 2;
|
288 |
-
top: 0;
|
289 |
-
right: 0;
|
290 |
-
width: 34px;
|
291 |
-
height: 34px;
|
292 |
-
line-height: 34px;
|
293 |
-
text-align: center;
|
294 |
-
pointer-events: none;
|
295 |
-
}
|
296 |
-
|
297 |
-
.input-lg + .fz-form-control-feedback,
|
298 |
-
.fz-input-group-lg + .fz-form-control-feedback,
|
299 |
-
.fz-form-group-lg .fz-form-control + .fz-form-control-feedback {
|
300 |
-
width: 46px;
|
301 |
-
height: 46px;
|
302 |
-
line-height: 46px;
|
303 |
-
}
|
304 |
-
|
305 |
-
.input-sm + .fz-form-control-feedback,
|
306 |
-
.fz-input-group-sm + .fz-form-control-feedback,
|
307 |
-
.fz-form-group-sm .fz-form-control + .fz-form-control-feedback {
|
308 |
-
width: 30px;
|
309 |
-
height: 30px;
|
310 |
-
line-height: 30px;
|
311 |
-
}
|
312 |
-
|
313 |
-
.has-success .help-block,
|
314 |
-
.has-success .control-label,
|
315 |
-
.has-success .radio,
|
316 |
-
.has-success .checkbox,
|
317 |
-
.has-success .radio-inline,
|
318 |
-
.has-success .checkbox-inline,
|
319 |
-
.has-success.radio label,
|
320 |
-
.has-success.checkbox label,
|
321 |
-
.has-success.radio-inline label,
|
322 |
-
.has-success.checkbox-inline label {
|
323 |
-
color: #3c763d;
|
324 |
-
}
|
325 |
-
|
326 |
-
.has-success .fz-form-control {
|
327 |
-
border-color: #3c763d;
|
328 |
-
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
329 |
-
}
|
330 |
-
|
331 |
-
.has-success .fz-form-control:focus {
|
332 |
-
border-color: #2b542c;
|
333 |
-
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168;
|
334 |
-
}
|
335 |
-
|
336 |
-
.has-success .fz-input-group-addon {
|
337 |
-
border-color: #3c763d;
|
338 |
-
color: #3c763d;
|
339 |
-
background-color: #dff0d8;
|
340 |
-
}
|
341 |
-
|
342 |
-
.has-success .fz-form-control-feedback {
|
343 |
-
color: #3c763d;
|
344 |
-
}
|
345 |
-
|
346 |
-
.has-warning .help-block,
|
347 |
-
.has-warning .control-label,
|
348 |
-
.has-warning .radio,
|
349 |
-
.has-warning .checkbox,
|
350 |
-
.has-warning .radio-inline,
|
351 |
-
.has-warning .checkbox-inline,
|
352 |
-
.has-warning.radio label,
|
353 |
-
.has-warning.checkbox label,
|
354 |
-
.has-warning.radio-inline label,
|
355 |
-
.has-warning.checkbox-inline label {
|
356 |
-
color: #8a6d3b;
|
357 |
-
}
|
358 |
-
|
359 |
-
.has-warning .fz-form-control {
|
360 |
-
border-color: #8a6d3b;
|
361 |
-
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
362 |
-
}
|
363 |
-
|
364 |
-
.has-warning .fz-form-control:focus {
|
365 |
-
border-color: #66512c;
|
366 |
-
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b;
|
367 |
-
}
|
368 |
-
|
369 |
-
.has-warning .fz-input-group-addon {
|
370 |
-
border-color: #8a6d3b;
|
371 |
-
color: #8a6d3b;
|
372 |
-
background-color: #fcf8e3;
|
373 |
-
}
|
374 |
-
|
375 |
-
.has-warning .fz-form-control-feedback {
|
376 |
-
color: #8a6d3b;
|
377 |
-
}
|
378 |
-
|
379 |
-
.has-error .help-block,
|
380 |
-
.has-error .control-label,
|
381 |
-
.has-error .radio,
|
382 |
-
.has-error .checkbox,
|
383 |
-
.has-error .radio-inline,
|
384 |
-
.has-error .checkbox-inline,
|
385 |
-
.has-error.radio label,
|
386 |
-
.has-error.checkbox label,
|
387 |
-
.has-error.radio-inline label,
|
388 |
-
.has-error.checkbox-inline label {
|
389 |
-
color: #a94442;
|
390 |
-
}
|
391 |
-
|
392 |
-
.has-error .fz-form-control {
|
393 |
-
border-color: #a94442;
|
394 |
-
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
395 |
-
}
|
396 |
-
|
397 |
-
.has-error .fz-form-control:focus {
|
398 |
-
border-color: #843534;
|
399 |
-
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
|
400 |
-
}
|
401 |
-
|
402 |
-
.has-error .fz-input-group-addon {
|
403 |
-
border-color: #a94442;
|
404 |
-
color: #a94442;
|
405 |
-
background-color: #f2dede;
|
406 |
-
}
|
407 |
-
|
408 |
-
.has-error .fz-form-control-feedback {
|
409 |
-
color: #a94442;
|
410 |
-
}
|
411 |
-
|
412 |
-
.has-feedback label ~ .fz-form-control-feedback {
|
413 |
-
top: 25px;
|
414 |
-
}
|
415 |
-
|
416 |
-
.has-feedback label.feedzy-sr-only ~ .fz-form-control-feedback {
|
417 |
-
top: 0;
|
418 |
-
}
|
419 |
-
|
420 |
-
.help-block {
|
421 |
-
display: block;
|
422 |
-
margin-top: 5px;
|
423 |
-
margin-bottom: 10px;
|
424 |
-
color: #737373;
|
425 |
-
}
|
426 |
-
|
427 |
-
@media (min-width: 768px) {
|
428 |
-
.form-inline .fz-form-group {
|
429 |
-
display: inline-block;
|
430 |
-
margin-bottom: 0;
|
431 |
-
vertical-align: middle;
|
432 |
-
}
|
433 |
-
|
434 |
-
.form-inline .fz-form-control {
|
435 |
-
display: inline-block;
|
436 |
-
width: auto;
|
437 |
-
vertical-align: middle;
|
438 |
-
}
|
439 |
-
|
440 |
-
.form-inline .fz-form-control-static {
|
441 |
-
display: inline-block;
|
442 |
-
}
|
443 |
-
|
444 |
-
.form-inline .fz-input-group {
|
445 |
-
display: inline-table;
|
446 |
-
vertical-align: middle;
|
447 |
-
}
|
448 |
-
|
449 |
-
.form-inline .fz-input-group .fz-input-group-addon,
|
450 |
-
.form-inline .fz-input-group .fz-input-group-btn,
|
451 |
-
.form-inline .fz-input-group .fz-form-control {
|
452 |
-
width: auto;
|
453 |
-
}
|
454 |
-
|
455 |
-
.form-inline .fz-input-group > .fz-form-control {
|
456 |
-
width: 100%;
|
457 |
-
}
|
458 |
-
|
459 |
-
.form-inline .control-label {
|
460 |
-
margin-bottom: 0;
|
461 |
-
vertical-align: middle;
|
462 |
-
}
|
463 |
-
|
464 |
-
.form-inline .radio,
|
465 |
-
.form-inline .checkbox {
|
466 |
-
display: inline-block;
|
467 |
-
margin-top: 0;
|
468 |
-
margin-bottom: 0;
|
469 |
-
vertical-align: middle;
|
470 |
-
}
|
471 |
-
|
472 |
-
.form-inline .radio label,
|
473 |
-
.form-inline .checkbox label {
|
474 |
-
padding-left: 0;
|
475 |
-
}
|
476 |
-
|
477 |
-
.form-inline .radio input[type="radio"],
|
478 |
-
.form-inline .checkbox input[type="checkbox"] {
|
479 |
-
position: relative;
|
480 |
-
margin-left: 0;
|
481 |
-
}
|
482 |
-
|
483 |
-
.form-inline .has-feedback .fz-form-control-feedback {
|
484 |
-
top: 0;
|
485 |
-
}
|
486 |
-
}
|
487 |
-
|
488 |
-
.form-horizontal .radio,
|
489 |
-
.form-horizontal .checkbox,
|
490 |
-
.form-horizontal .radio-inline,
|
491 |
-
.form-horizontal .checkbox-inline {
|
492 |
-
margin-top: 0;
|
493 |
-
margin-bottom: 0;
|
494 |
-
padding-top: 7px;
|
495 |
-
}
|
496 |
-
|
497 |
-
.form-horizontal .radio,
|
498 |
-
.form-horizontal .checkbox {
|
499 |
-
min-height: 27px;
|
500 |
-
}
|
501 |
-
|
502 |
-
.form-horizontal .fz-form-group {
|
503 |
-
margin-right: -15px;
|
504 |
-
margin-left: -15px;
|
505 |
-
}
|
506 |
-
|
507 |
-
@media (min-width: 768px) {
|
508 |
-
.form-horizontal .control-label {
|
509 |
-
margin-bottom: 0;
|
510 |
-
padding-top: 7px;
|
511 |
-
text-align: right;
|
512 |
-
}
|
513 |
-
}
|
514 |
-
|
515 |
-
.form-horizontal .has-feedback .fz-form-control-feedback {
|
516 |
-
right: 15px;
|
517 |
-
}
|
518 |
-
|
519 |
-
@media (min-width: 768px) {
|
520 |
-
.form-horizontal .fz-form-group-lg .control-label {
|
521 |
-
padding-top: 11px;
|
522 |
-
font-size: 18px;
|
523 |
-
}
|
524 |
-
}
|
525 |
-
|
526 |
-
@media (min-width: 768px) {
|
527 |
-
.form-horizontal .fz-form-group-sm .control-label {
|
528 |
-
padding-top: 6px;
|
529 |
-
font-size: 12px;
|
530 |
-
}
|
531 |
-
}
|
532 |
-
|
533 |
-
.fz-btn {
|
534 |
-
display: inline-block;
|
535 |
-
margin-bottom: 0;
|
536 |
-
padding: 6px 12px;
|
537 |
-
border: 1px solid transparent;
|
538 |
-
border-radius: 4px;
|
539 |
-
background-image: none;
|
540 |
-
font-size: 14px;
|
541 |
-
font-weight: normal;
|
542 |
-
line-height: 1.42857143;
|
543 |
-
text-align: center;
|
544 |
-
vertical-align: middle;
|
545 |
-
white-space: nowrap;
|
546 |
-
cursor: pointer;
|
547 |
-
-webkit-user-select: none;
|
548 |
-
-moz-user-select: none;
|
549 |
-
-ms-user-select: none;
|
550 |
-
user-select: none;
|
551 |
-
|
552 |
-
-ms-touch-action: manipulation;
|
553 |
-
touch-action: manipulation;
|
554 |
-
}
|
555 |
-
|
556 |
-
.fz-btn:focus,
|
557 |
-
.fz-btn:active:focus,
|
558 |
-
.fz-btn.active:focus,
|
559 |
-
.fz-btn.focus,
|
560 |
-
.fz-btn:active.focus,
|
561 |
-
.fz-btn.active.focus {
|
562 |
-
outline: 5px auto -webkit-focus-ring-color;
|
563 |
-
outline-offset: -2px;
|
564 |
-
}
|
565 |
-
|
566 |
-
.fz-btn:hover,
|
567 |
-
.fz-btn:focus,
|
568 |
-
.fz-btn.focus {
|
569 |
-
color: #333;
|
570 |
-
text-decoration: none;
|
571 |
-
}
|
572 |
-
|
573 |
-
.fz-btn:active,
|
574 |
-
.fz-btn.active {
|
575 |
-
outline: 0;
|
576 |
-
background-image: none;
|
577 |
-
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
578 |
-
}
|
579 |
-
|
580 |
-
.fz-btn.disabled,
|
581 |
-
.fz-btn[disabled],
|
582 |
-
fieldset[disabled] .fz-btn {
|
583 |
-
opacity: 0.65;
|
584 |
-
box-shadow: none;
|
585 |
-
cursor: not-allowed;
|
586 |
-
|
587 |
-
filter: alpha(opacity=65);
|
588 |
-
}
|
589 |
-
|
590 |
-
a.fz-btn.disabled,
|
591 |
-
fieldset[disabled] a.fz-btn {
|
592 |
-
pointer-events: none;
|
593 |
-
}
|
594 |
-
|
595 |
-
.fz-btn-default {
|
596 |
-
border-color: #ccc;
|
597 |
-
color: #333;
|
598 |
-
background-color: #fff;
|
599 |
-
}
|
600 |
-
|
601 |
-
.fz-btn-default:focus,
|
602 |
-
.fz-btn-default.focus {
|
603 |
-
border-color: #8c8c8c;
|
604 |
-
color: #333;
|
605 |
-
background-color: #e6e6e6;
|
606 |
-
}
|
607 |
-
|
608 |
-
.fz-btn-default:hover {
|
609 |
-
border-color: #adadad;
|
610 |
-
color: #333;
|
611 |
-
background-color: #e6e6e6;
|
612 |
-
}
|
613 |
-
|
614 |
-
.fz-btn-default:active,
|
615 |
-
.fz-btn-default.active,
|
616 |
-
.open > .dropdown-toggle.fz-btn-default {
|
617 |
-
border-color: #adadad;
|
618 |
-
color: #333;
|
619 |
-
background-color: #e6e6e6;
|
620 |
-
}
|
621 |
-
|
622 |
-
.fz-btn-default:active:hover,
|
623 |
-
.fz-btn-default.active:hover,
|
624 |
-
.open > .dropdown-toggle.fz-btn-default:hover,
|
625 |
-
.fz-btn-default:active:focus,
|
626 |
-
.fz-btn-default.active:focus,
|
627 |
-
.open > .dropdown-toggle.fz-btn-default:focus,
|
628 |
-
.fz-btn-default:active.focus,
|
629 |
-
.fz-btn-default.active.focus,
|
630 |
-
.open > .dropdown-toggle.fz-btn-default.focus {
|
631 |
-
border-color: #8c8c8c;
|
632 |
-
color: #333;
|
633 |
-
background-color: #d4d4d4;
|
634 |
-
}
|
635 |
-
|
636 |
-
.fz-btn-default:active,
|
637 |
-
.fz-btn-default.active,
|
638 |
-
.open > .dropdown-toggle.fz-btn-default {
|
639 |
-
background-image: none;
|
640 |
-
}
|
641 |
-
|
642 |
-
.fz-btn-default.disabled:hover,
|
643 |
-
.fz-btn-default[disabled]:hover,
|
644 |
-
fieldset[disabled] .fz-btn-default:hover,
|
645 |
-
.fz-btn-default.disabled:focus,
|
646 |
-
.fz-btn-default[disabled]:focus,
|
647 |
-
fieldset[disabled] .fz-btn-default:focus,
|
648 |
-
.fz-btn-default.disabled.focus,
|
649 |
-
.fz-btn-default[disabled].focus,
|
650 |
-
fieldset[disabled] .fz-btn-default.focus {
|
651 |
-
border-color: #ccc;
|
652 |
-
background-color: #fff;
|
653 |
-
}
|
654 |
-
|
655 |
-
.fz-btn-default .badge {
|
656 |
-
color: #fff;
|
657 |
-
background-color: #333;
|
658 |
-
}
|
659 |
-
|
660 |
-
.fz-btn-primary {
|
661 |
-
border-color: #2e6da4;
|
662 |
-
color: #fff;
|
663 |
-
background-color: #337ab7;
|
664 |
-
}
|
665 |
-
|
666 |
-
.fz-btn-primary:focus,
|
667 |
-
.fz-btn-primary.focus {
|
668 |
-
border-color: #122b40;
|
669 |
-
color: #fff;
|
670 |
-
background-color: #286090;
|
671 |
-
}
|
672 |
-
|
673 |
-
.fz-btn-primary:hover {
|
674 |
-
border-color: #204d74;
|
675 |
-
color: #fff;
|
676 |
-
background-color: #286090;
|
677 |
-
}
|
678 |
-
|
679 |
-
.fz-btn-primary:active,
|
680 |
-
.fz-btn-primary.active,
|
681 |
-
.open > .dropdown-toggle.fz-btn-primary {
|
682 |
-
border-color: #204d74;
|
683 |
-
color: #fff;
|
684 |
-
background-color: #286090;
|
685 |
-
}
|
686 |
-
|
687 |
-
.fz-btn-primary:active:hover,
|
688 |
-
.fz-btn-primary.active:hover,
|
689 |
-
.open > .dropdown-toggle.fz-btn-primary:hover,
|
690 |
-
.fz-btn-primary:active:focus,
|
691 |
-
.fz-btn-primary.active:focus,
|
692 |
-
.open > .dropdown-toggle.fz-btn-primary:focus,
|
693 |
-
.fz-btn-primary:active.focus,
|
694 |
-
.fz-btn-primary.active.focus,
|
695 |
-
.open > .dropdown-toggle.fz-btn-primary.focus {
|
696 |
-
border-color: #122b40;
|
697 |
-
color: #fff;
|
698 |
-
background-color: #204d74;
|
699 |
-
}
|
700 |
-
|
701 |
-
.fz-btn-primary:active,
|
702 |
-
.fz-btn-primary.active,
|
703 |
-
.open > .dropdown-toggle.fz-btn-primary {
|
704 |
-
background-image: none;
|
705 |
-
}
|
706 |
-
|
707 |
-
.fz-btn-primary.disabled:hover,
|
708 |
-
.fz-btn-primary[disabled]:hover,
|
709 |
-
fieldset[disabled] .fz-btn-primary:hover,
|
710 |
-
.fz-btn-primary.disabled:focus,
|
711 |
-
.fz-btn-primary[disabled]:focus,
|
712 |
-
fieldset[disabled] .fz-btn-primary:focus,
|
713 |
-
.fz-btn-primary.disabled.focus,
|
714 |
-
.fz-btn-primary[disabled].focus,
|
715 |
-
fieldset[disabled] .fz-btn-primary.focus {
|
716 |
-
border-color: #2e6da4;
|
717 |
-
background-color: #337ab7;
|
718 |
-
}
|
719 |
-
|
720 |
-
.fz-btn-primary .badge {
|
721 |
-
color: #337ab7;
|
722 |
-
background-color: #fff;
|
723 |
-
}
|
724 |
-
|
725 |
-
.fz-btn-success {
|
726 |
-
border-color: #4cae4c;
|
727 |
-
color: #fff;
|
728 |
-
background-color: #5cb85c;
|
729 |
-
}
|
730 |
-
|
731 |
-
.fz-btn-success:focus,
|
732 |
-
.fz-btn-success.focus {
|
733 |
-
border-color: #255625;
|
734 |
-
color: #fff;
|
735 |
-
background-color: #449d44;
|
736 |
-
}
|
737 |
-
|
738 |
-
.fz-btn-success:hover {
|
739 |
-
border-color: #398439;
|
740 |
-
color: #fff;
|
741 |
-
background-color: #449d44;
|
742 |
-
}
|
743 |
-
|
744 |
-
.fz-btn-success:active,
|
745 |
-
.fz-btn-success.active,
|
746 |
-
.open > .dropdown-toggle.fz-btn-success {
|
747 |
-
border-color: #398439;
|
748 |
-
color: #fff;
|
749 |
-
background-color: #449d44;
|
750 |
-
}
|
751 |
-
|
752 |
-
.fz-btn-success:active:hover,
|
753 |
-
.fz-btn-success.active:hover,
|
754 |
-
.open > .dropdown-toggle.fz-btn-success:hover,
|
755 |
-
.fz-btn-success:active:focus,
|
756 |
-
.fz-btn-success.active:focus,
|
757 |
-
.open > .dropdown-toggle.fz-btn-success:focus,
|
758 |
-
.fz-btn-success:active.focus,
|
759 |
-
.fz-btn-success.active.focus,
|
760 |
-
.open > .dropdown-toggle.fz-btn-success.focus {
|
761 |
-
border-color: #255625;
|
762 |
-
color: #fff;
|
763 |
-
background-color: #398439;
|
764 |
-
}
|
765 |
-
|
766 |
-
.fz-btn-success:active,
|
767 |
-
.fz-btn-success.active,
|
768 |
-
.open > .dropdown-toggle.fz-btn-success {
|
769 |
-
background-image: none;
|
770 |
-
}
|
771 |
-
|
772 |
-
.fz-btn-success.disabled:hover,
|
773 |
-
.fz-btn-success[disabled]:hover,
|
774 |
-
fieldset[disabled] .fz-btn-success:hover,
|
775 |
-
.fz-btn-success.disabled:focus,
|
776 |
-
.fz-btn-success[disabled]:focus,
|
777 |
-
fieldset[disabled] .fz-btn-success:focus,
|
778 |
-
.fz-btn-success.disabled.focus,
|
779 |
-
.fz-btn-success[disabled].focus,
|
780 |
-
fieldset[disabled] .fz-btn-success.focus {
|
781 |
-
border-color: #4cae4c;
|
782 |
-
background-color: #5cb85c;
|
783 |
-
}
|
784 |
-
|
785 |
-
.fz-btn-success .badge {
|
786 |
-
color: #5cb85c;
|
787 |
-
background-color: #fff;
|
788 |
-
}
|
789 |
-
|
790 |
-
.fz-btn-info {
|
791 |
-
border-color: #46b8da;
|
792 |
-
color: #fff;
|
793 |
-
background-color: #5bc0de;
|
794 |
-
}
|
795 |
-
|
796 |
-
.fz-btn-info:focus,
|
797 |
-
.fz-btn-info.focus {
|
798 |
-
border-color: #1b6d85;
|
799 |
-
color: #fff;
|
800 |
-
background-color: #31b0d5;
|
801 |
-
}
|
802 |
-
|
803 |
-
.fz-btn-info:hover {
|
804 |
-
border-color: #269abc;
|
805 |
-
color: #fff;
|
806 |
-
background-color: #31b0d5;
|
807 |
-
}
|
808 |
-
|
809 |
-
.fz-btn-info:active,
|
810 |
-
.fz-btn-info.active,
|
811 |
-
.open > .dropdown-toggle.fz-btn-info {
|
812 |
-
border-color: #269abc;
|
813 |
-
color: #fff;
|
814 |
-
background-color: #31b0d5;
|
815 |
-
}
|
816 |
-
|
817 |
-
.fz-btn-info:active:hover,
|
818 |
-
.fz-btn-info.active:hover,
|
819 |
-
.open > .dropdown-toggle.fz-btn-info:hover,
|
820 |
-
.fz-btn-info:active:focus,
|
821 |
-
.fz-btn-info.active:focus,
|
822 |
-
.open > .dropdown-toggle.fz-btn-info:focus,
|
823 |
-
.fz-btn-info:active.focus,
|
824 |
-
.fz-btn-info.active.focus,
|
825 |
-
.open > .dropdown-toggle.fz-btn-info.focus {
|
826 |
-
border-color: #1b6d85;
|
827 |
-
color: #fff;
|
828 |
-
background-color: #269abc;
|
829 |
-
}
|
830 |
-
|
831 |
-
.fz-btn-info:active,
|
832 |
-
.fz-btn-info.active,
|
833 |
-
.open > .dropdown-toggle.fz-btn-info {
|
834 |
-
background-image: none;
|
835 |
-
}
|
836 |
-
|
837 |
-
.fz-btn-info.disabled:hover,
|
838 |
-
.fz-btn-info[disabled]:hover,
|
839 |
-
fieldset[disabled] .fz-btn-info:hover,
|
840 |
-
.fz-btn-info.disabled:focus,
|
841 |
-
.fz-btn-info[disabled]:focus,
|
842 |
-
fieldset[disabled] .fz-btn-info:focus,
|
843 |
-
.fz-btn-info.disabled.focus,
|
844 |
-
.fz-btn-info[disabled].focus,
|
845 |
-
fieldset[disabled] .fz-btn-info.focus {
|
846 |
-
border-color: #46b8da;
|
847 |
-
background-color: #5bc0de;
|
848 |
-
}
|
849 |
-
|
850 |
-
.fz-btn-info .badge {
|
851 |
-
color: #5bc0de;
|
852 |
-
background-color: #fff;
|
853 |
-
}
|
854 |
-
|
855 |
-
.fz-btn-warning {
|
856 |
-
border-color: #eea236;
|
857 |
-
color: #fff;
|
858 |
-
background-color: #f0ad4e;
|
859 |
-
}
|
860 |
-
|
861 |
-
.fz-btn-warning:focus,
|
862 |
-
.fz-btn-warning.focus {
|
863 |
-
border-color: #985f0d;
|
864 |
-
color: #fff;
|
865 |
-
background-color: #ec971f;
|
866 |
-
}
|
867 |
-
|
868 |
-
.fz-btn-warning:hover {
|
869 |
-
border-color: #d58512;
|
870 |
-
color: #fff;
|
871 |
-
background-color: #ec971f;
|
872 |
-
}
|
873 |
-
|
874 |
-
.fz-btn-warning:active,
|
875 |
-
.fz-btn-warning.active,
|
876 |
-
.open > .dropdown-toggle.fz-btn-warning {
|
877 |
-
border-color: #d58512;
|
878 |
-
color: #fff;
|
879 |
-
background-color: #ec971f;
|
880 |
-
}
|
881 |
-
|
882 |
-
.fz-btn-warning:active:hover,
|
883 |
-
.fz-btn-warning.active:hover,
|
884 |
-
.open > .dropdown-toggle.fz-btn-warning:hover,
|
885 |
-
.fz-btn-warning:active:focus,
|
886 |
-
.fz-btn-warning.active:focus,
|
887 |
-
.open > .dropdown-toggle.fz-btn-warning:focus,
|
888 |
-
.fz-btn-warning:active.focus,
|
889 |
-
.fz-btn-warning.active.focus,
|
890 |
-
.open > .dropdown-toggle.fz-btn-warning.focus {
|
891 |
-
border-color: #985f0d;
|
892 |
-
color: #fff;
|
893 |
-
background-color: #d58512;
|
894 |
-
}
|
895 |
-
|
896 |
-
.fz-btn-warning:active,
|
897 |
-
.fz-btn-warning.active,
|
898 |
-
.open > .dropdown-toggle.fz-btn-warning {
|
899 |
-
background-image: none;
|
900 |
-
}
|
901 |
-
|
902 |
-
.fz-btn-warning.disabled:hover,
|
903 |
-
.fz-btn-warning[disabled]:hover,
|
904 |
-
fieldset[disabled] .fz-btn-warning:hover,
|
905 |
-
.fz-btn-warning.disabled:focus,
|
906 |
-
.fz-btn-warning[disabled]:focus,
|
907 |
-
fieldset[disabled] .fz-btn-warning:focus,
|
908 |
-
.fz-btn-warning.disabled.focus,
|
909 |
-
.fz-btn-warning[disabled].focus,
|
910 |
-
fieldset[disabled] .fz-btn-warning.focus {
|
911 |
-
border-color: #eea236;
|
912 |
-
background-color: #f0ad4e;
|
913 |
-
}
|
914 |
-
|
915 |
-
.fz-btn-warning .badge {
|
916 |
-
color: #f0ad4e;
|
917 |
-
background-color: #fff;
|
918 |
-
}
|
919 |
-
|
920 |
-
.fz-btn-danger {
|
921 |
-
border-color: #d43f3a;
|
922 |
-
color: #fff;
|
923 |
-
background-color: #d9534f;
|
924 |
-
}
|
925 |
-
|
926 |
-
.fz-btn-danger:focus,
|
927 |
-
.fz-btn-danger.focus {
|
928 |
-
border-color: #761c19;
|
929 |
-
color: #fff;
|
930 |
-
background-color: #c9302c;
|
931 |
-
}
|
932 |
-
|
933 |
-
.fz-btn-danger:hover {
|
934 |
-
border-color: #ac2925;
|
935 |
-
color: #fff;
|
936 |
-
background-color: #c9302c;
|
937 |
-
}
|
938 |
-
|
939 |
-
.fz-btn-danger:active,
|
940 |
-
.fz-btn-danger.active,
|
941 |
-
.open > .dropdown-toggle.fz-btn-danger {
|
942 |
-
border-color: #ac2925;
|
943 |
-
color: #fff;
|
944 |
-
background-color: #c9302c;
|
945 |
-
}
|
946 |
-
|
947 |
-
.fz-btn-danger:active:hover,
|
948 |
-
.fz-btn-danger.active:hover,
|
949 |
-
.open > .dropdown-toggle.fz-btn-danger:hover,
|
950 |
-
.fz-btn-danger:active:focus,
|
951 |
-
.fz-btn-danger.active:focus,
|
952 |
-
.open > .dropdown-toggle.fz-btn-danger:focus,
|
953 |
-
.fz-btn-danger:active.focus,
|
954 |
-
.fz-btn-danger.active.focus,
|
955 |
-
.open > .dropdown-toggle.fz-btn-danger.focus {
|
956 |
-
border-color: #761c19;
|
957 |
-
color: #fff;
|
958 |
-
background-color: #ac2925;
|
959 |
-
}
|
960 |
-
|
961 |
-
.fz-btn-danger:active,
|
962 |
-
.fz-btn-danger.active,
|
963 |
-
.open > .dropdown-toggle.fz-btn-danger {
|
964 |
-
background-image: none;
|
965 |
-
}
|
966 |
-
|
967 |
-
.fz-btn-danger.disabled:hover,
|
968 |
-
.fz-btn-danger[disabled]:hover,
|
969 |
-
fieldset[disabled] .fz-btn-danger:hover,
|
970 |
-
.fz-btn-danger.disabled:focus,
|
971 |
-
.fz-btn-danger[disabled]:focus,
|
972 |
-
fieldset[disabled] .fz-btn-danger:focus,
|
973 |
-
.fz-btn-danger.disabled.focus,
|
974 |
-
.fz-btn-danger[disabled].focus,
|
975 |
-
fieldset[disabled] .fz-btn-danger.focus {
|
976 |
-
border-color: #d43f3a;
|
977 |
-
background-color: #d9534f;
|
978 |
-
}
|
979 |
-
|
980 |
-
.fz-btn-danger .badge {
|
981 |
-
color: #d9534f;
|
982 |
-
background-color: #fff;
|
983 |
-
}
|
984 |
-
|
985 |
-
.fz-btn-link {
|
986 |
-
border-radius: 0;
|
987 |
-
color: #337ab7;
|
988 |
-
font-weight: normal;
|
989 |
-
}
|
990 |
-
|
991 |
-
.fz-btn-link,
|
992 |
-
.fz-btn-link:active,
|
993 |
-
.fz-btn-link.active,
|
994 |
-
.fz-btn-link[disabled],
|
995 |
-
fieldset[disabled] .fz-btn-link {
|
996 |
-
background-color: transparent;
|
997 |
-
box-shadow: none;
|
998 |
-
}
|
999 |
-
|
1000 |
-
.fz-btn-link,
|
1001 |
-
.fz-btn-link:hover,
|
1002 |
-
.fz-btn-link:focus,
|
1003 |
-
.fz-btn-link:active {
|
1004 |
-
border-color: transparent;
|
1005 |
-
}
|
1006 |
-
|
1007 |
-
.fz-btn-link:hover,
|
1008 |
-
.fz-btn-link:focus {
|
1009 |
-
color: #23527c;
|
1010 |
-
background-color: transparent;
|
1011 |
-
text-decoration: underline;
|
1012 |
-
}
|
1013 |
-
|
1014 |
-
.fz-btn-link[disabled]:hover,
|
1015 |
-
fieldset[disabled] .fz-btn-link:hover,
|
1016 |
-
.fz-btn-link[disabled]:focus,
|
1017 |
-
fieldset[disabled] .fz-btn-link:focus {
|
1018 |
-
color: #777;
|
1019 |
-
text-decoration: none;
|
1020 |
-
}
|
1021 |
-
|
1022 |
-
.fz-btn-lg,
|
1023 |
-
.fz-btn-group-lg > .fz-btn {
|
1024 |
-
padding: 10px 16px;
|
1025 |
-
border-radius: 6px;
|
1026 |
-
font-size: 18px;
|
1027 |
-
line-height: 1.3333333;
|
1028 |
-
}
|
1029 |
-
|
1030 |
-
.fz-btn-sm,
|
1031 |
-
.fz-btn-group-sm > .fz-btn {
|
1032 |
-
padding: 5px 10px;
|
1033 |
-
border-radius: 3px;
|
1034 |
-
font-size: 12px;
|
1035 |
-
line-height: 1.5;
|
1036 |
-
}
|
1037 |
-
|
1038 |
-
.fz-btn-xs,
|
1039 |
-
.fz-btn-group-xs > .fz-btn {
|
1040 |
-
padding: 1px 5px;
|
1041 |
-
border-radius: 3px;
|
1042 |
-
font-size: 12px;
|
1043 |
-
line-height: 1.5;
|
1044 |
-
}
|
1045 |
-
|
1046 |
-
.fz-btn-block {
|
1047 |
-
display: block;
|
1048 |
-
width: 100%;
|
1049 |
-
}
|
1050 |
-
|
1051 |
-
.fz-btn-block + .fz-btn-block {
|
1052 |
-
margin-top: 5px;
|
1053 |
-
}
|
1054 |
-
|
1055 |
-
input[type="submit"].fz-btn-block,
|
1056 |
-
input[type="reset"].fz-btn-block,
|
1057 |
-
input[type="button"].fz-btn-block {
|
1058 |
-
width: 100%;
|
1059 |
-
}
|
1060 |
-
|
1061 |
-
.caret {
|
1062 |
-
display: inline-block;
|
1063 |
-
width: 0;
|
1064 |
-
height: 0;
|
1065 |
-
margin-left: 2px;
|
1066 |
-
border-top: 4px dashed;
|
1067 |
-
border-top: 4px solid \9;
|
1068 |
-
border-right: 4px solid transparent;
|
1069 |
-
border-left: 4px solid transparent;
|
1070 |
-
vertical-align: middle;
|
1071 |
-
}
|
1072 |
-
|
1073 |
-
.dropup,
|
1074 |
-
.dropdown {
|
1075 |
-
position: relative;
|
1076 |
-
}
|
1077 |
-
|
1078 |
-
.dropdown-toggle:focus {
|
1079 |
-
outline: 0;
|
1080 |
-
}
|
1081 |
-
|
1082 |
-
.dropdown-menu {
|
1083 |
-
display: none;
|
1084 |
-
float: left;
|
1085 |
-
position: absolute;
|
1086 |
-
z-index: 1000;
|
1087 |
-
top: 40px;
|
1088 |
-
left: 0;
|
1089 |
-
min-width: 160px;
|
1090 |
-
/* fallback if 100% not supported */
|
1091 |
-
min-width: 100%;
|
1092 |
-
margin: 2px 0 0;
|
1093 |
-
padding: 5px 0;
|
1094 |
-
border: 1px solid #ccc;
|
1095 |
-
border: 1px solid rgba(0, 0, 0, 0.15);
|
1096 |
-
border-radius: 4px;
|
1097 |
-
background-color: #fff;
|
1098 |
-
background-clip: padding-box;
|
1099 |
-
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
1100 |
-
font-size: 14px;
|
1101 |
-
text-align: left;
|
1102 |
-
list-style: none;
|
1103 |
-
}
|
1104 |
-
|
1105 |
-
.dropdown-menu.pull-right {
|
1106 |
-
right: 0;
|
1107 |
-
left: auto;
|
1108 |
-
}
|
1109 |
-
|
1110 |
-
.dropdown-menu .divider {
|
1111 |
-
overflow: hidden;
|
1112 |
-
height: 1px;
|
1113 |
-
margin: 9px 0;
|
1114 |
-
background-color: #e5e5e5;
|
1115 |
-
}
|
1116 |
-
|
1117 |
-
.dropdown-menu > li > a {
|
1118 |
-
display: block;
|
1119 |
-
clear: both;
|
1120 |
-
padding: 3px 20px;
|
1121 |
-
color: #333;
|
1122 |
-
font-weight: normal;
|
1123 |
-
line-height: 1.42857143;
|
1124 |
-
white-space: nowrap;
|
1125 |
-
}
|
1126 |
-
|
1127 |
-
.dropdown-menu > li > a:hover,
|
1128 |
-
.dropdown-menu > li > a:focus {
|
1129 |
-
color: #262626;
|
1130 |
-
background-color: #f5f5f5;
|
1131 |
-
text-decoration: none;
|
1132 |
-
}
|
1133 |
-
|
1134 |
-
.dropdown-menu > .active > a,
|
1135 |
-
.dropdown-menu > .active > a:hover,
|
1136 |
-
.dropdown-menu > .active > a:focus {
|
1137 |
-
outline: 0;
|
1138 |
-
color: #fff;
|
1139 |
-
background-color: #337ab7;
|
1140 |
-
text-decoration: none;
|
1141 |
-
}
|
1142 |
-
|
1143 |
-
.dropdown-menu > .disabled > a,
|
1144 |
-
.dropdown-menu > .disabled > a:hover,
|
1145 |
-
.dropdown-menu > .disabled > a:focus {
|
1146 |
-
color: #777;
|
1147 |
-
}
|
1148 |
-
|
1149 |
-
.dropdown-menu > .disabled > a:hover,
|
1150 |
-
.dropdown-menu > .disabled > a:focus {
|
1151 |
-
background-color: transparent;
|
1152 |
-
background-image: none;
|
1153 |
-
text-decoration: none;
|
1154 |
-
cursor: not-allowed;
|
1155 |
-
|
1156 |
-
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
1157 |
-
}
|
1158 |
-
|
1159 |
-
.open > .dropdown-menu {
|
1160 |
-
display: block;
|
1161 |
-
}
|
1162 |
-
|
1163 |
-
.open > a {
|
1164 |
-
outline: 0;
|
1165 |
-
}
|
1166 |
-
|
1167 |
-
.dropdown-menu-right {
|
1168 |
-
right: 0;
|
1169 |
-
left: auto;
|
1170 |
-
}
|
1171 |
-
|
1172 |
-
.dropdown-menu-left {
|
1173 |
-
right: auto;
|
1174 |
-
left: 0;
|
1175 |
-
}
|
1176 |
-
|
1177 |
-
.dropdown-header {
|
1178 |
-
display: block;
|
1179 |
-
padding: 3px 20px;
|
1180 |
-
color: #777;
|
1181 |
-
font-size: 12px;
|
1182 |
-
line-height: 1.42857143;
|
1183 |
-
white-space: nowrap;
|
1184 |
-
}
|
1185 |
-
|
1186 |
-
.dropdown-backdrop {
|
1187 |
-
position: fixed;
|
1188 |
-
z-index: 990;
|
1189 |
-
top: 0;
|
1190 |
-
right: 0;
|
1191 |
-
bottom: 0;
|
1192 |
-
left: 0;
|
1193 |
-
}
|
1194 |
-
|
1195 |
-
.pull-right > .dropdown-menu {
|
1196 |
-
right: 0;
|
1197 |
-
left: auto;
|
1198 |
-
}
|
1199 |
-
|
1200 |
-
.dropup .caret,
|
1201 |
-
.navbar-fixed-bottom .dropdown .caret {
|
1202 |
-
border-top: 0;
|
1203 |
-
border-bottom: 4px dashed;
|
1204 |
-
border-bottom: 4px solid \9;
|
1205 |
-
content: "";
|
1206 |
-
}
|
1207 |
-
|
1208 |
-
.dropup .dropdown-menu,
|
1209 |
-
.navbar-fixed-bottom .dropdown .dropdown-menu {
|
1210 |
-
top: auto;
|
1211 |
-
bottom: 100%;
|
1212 |
-
margin-bottom: 2px;
|
1213 |
-
}
|
1214 |
-
|
1215 |
-
@media (min-width: 768px) {
|
1216 |
-
.navbar-right .dropdown-menu {
|
1217 |
-
right: 0;
|
1218 |
-
left: auto;
|
1219 |
-
}
|
1220 |
-
|
1221 |
-
.navbar-right .dropdown-menu-left {
|
1222 |
-
right: auto;
|
1223 |
-
left: 0;
|
1224 |
-
}
|
1225 |
-
}
|
1226 |
-
|
1227 |
-
.fz-btn-group,
|
1228 |
-
.fz-btn-group-vertical {
|
1229 |
-
display: inline-block;
|
1230 |
-
position: relative;
|
1231 |
-
vertical-align: middle;
|
1232 |
-
}
|
1233 |
-
|
1234 |
-
.fz-btn-group > .fz-btn,
|
1235 |
-
.fz-btn-group-vertical > .fz-btn {
|
1236 |
-
float: left;
|
1237 |
-
position: relative;
|
1238 |
-
}
|
1239 |
-
|
1240 |
-
.fz-btn-group > .fz-btn:hover,
|
1241 |
-
.fz-btn-group-vertical > .fz-btn:hover,
|
1242 |
-
.fz-btn-group > .fz-btn:focus,
|
1243 |
-
.fz-btn-group-vertical > .fz-btn:focus,
|
1244 |
-
.fz-btn-group > .fz-btn:active,
|
1245 |
-
.fz-btn-group-vertical > .fz-btn:active,
|
1246 |
-
.fz-btn-group > .fz-btn.active,
|
1247 |
-
.fz-btn-group-vertical > .fz-btn.active {
|
1248 |
-
z-index: 2;
|
1249 |
-
}
|
1250 |
-
|
1251 |
-
.fz-btn-group .fz-btn + .fz-btn,
|
1252 |
-
.fz-btn-group .fz-btn + .fz-btn-group,
|
1253 |
-
.fz-btn-group .fz-btn-group + .fz-btn,
|
1254 |
-
.fz-btn-group .fz-btn-group + .fz-btn-group {
|
1255 |
-
margin-left: -1px;
|
1256 |
-
}
|
1257 |
-
|
1258 |
-
.fz-btn-toolbar {
|
1259 |
-
margin-left: -5px;
|
1260 |
-
}
|
1261 |
-
|
1262 |
-
.fz-btn-toolbar .fz-btn,
|
1263 |
-
.fz-btn-toolbar .fz-btn-group,
|
1264 |
-
.fz-btn-toolbar .fz-input-group {
|
1265 |
-
float: left;
|
1266 |
-
}
|
1267 |
-
|
1268 |
-
.fz-btn-toolbar > .fz-btn,
|
1269 |
-
.fz-btn-toolbar > .fz-btn-group,
|
1270 |
-
.fz-btn-toolbar > .fz-input-group {
|
1271 |
-
margin-left: 5px;
|
1272 |
-
}
|
1273 |
-
|
1274 |
-
.fz-btn-group > .fz-btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
|
1275 |
-
border-radius: 0;
|
1276 |
-
}
|
1277 |
-
|
1278 |
-
.fz-btn-group > .fz-btn:first-child {
|
1279 |
-
margin-left: 0;
|
1280 |
-
}
|
1281 |
-
|
1282 |
-
.fz-btn-group > .fz-btn:first-child:not(:last-child):not(.dropdown-toggle) {
|
1283 |
-
border-top-right-radius: 0;
|
1284 |
-
border-bottom-right-radius: 0;
|
1285 |
-
}
|
1286 |
-
|
1287 |
-
.fz-btn-group > .fz-btn:last-child:not(:first-child),
|
1288 |
-
.fz-btn-group > .dropdown-toggle:not(:first-child) {
|
1289 |
-
border-top-left-radius: 0;
|
1290 |
-
border-bottom-left-radius: 0;
|
1291 |
-
}
|
1292 |
-
|
1293 |
-
.fz-btn-group > .fz-btn-group {
|
1294 |
-
float: left;
|
1295 |
-
}
|
1296 |
-
|
1297 |
-
.fz-btn-group > .fz-btn-group:not(:first-child):not(:last-child) > .fz-btn {
|
1298 |
-
border-radius: 0;
|
1299 |
-
}
|
1300 |
-
|
1301 |
-
.fz-btn-group > .fz-btn-group:first-child:not(:last-child) > .fz-btn:last-child,
|
1302 |
-
.fz-btn-group > .fz-btn-group:first-child:not(:last-child) > .dropdown-toggle {
|
1303 |
-
border-top-right-radius: 0;
|
1304 |
-
border-bottom-right-radius: 0;
|
1305 |
-
}
|
1306 |
-
|
1307 |
-
.fz-btn-group > .fz-btn-group:last-child:not(:first-child) > .fz-btn:first-child {
|
1308 |
-
border-top-left-radius: 0;
|
1309 |
-
border-bottom-left-radius: 0;
|
1310 |
-
}
|
1311 |
-
|
1312 |
-
.fz-btn-group .dropdown-toggle:active,
|
1313 |
-
.fz-btn-group.open .dropdown-toggle {
|
1314 |
-
outline: 0;
|
1315 |
-
}
|
1316 |
-
|
1317 |
-
.fz-btn-group > .fz-btn + .dropdown-toggle {
|
1318 |
-
padding-right: 8px;
|
1319 |
-
padding-left: 8px;
|
1320 |
-
}
|
1321 |
-
|
1322 |
-
.fz-btn-group > .fz-btn-lg + .dropdown-toggle {
|
1323 |
-
padding-right: 12px;
|
1324 |
-
padding-left: 12px;
|
1325 |
-
}
|
1326 |
-
|
1327 |
-
.fz-btn-group.open .dropdown-toggle {
|
1328 |
-
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
1329 |
-
}
|
1330 |
-
|
1331 |
-
.fz-btn-group.open .dropdown-toggle.fz-btn-link {
|
1332 |
-
box-shadow: none;
|
1333 |
-
}
|
1334 |
-
|
1335 |
-
.fz-btn .caret {
|
1336 |
-
margin-left: 0;
|
1337 |
-
}
|
1338 |
-
|
1339 |
-
.fz-btn-lg .caret {
|
1340 |
-
border-width: 5px 5px 0;
|
1341 |
-
border-bottom-width: 0;
|
1342 |
-
}
|
1343 |
-
|
1344 |
-
.dropup .fz-btn-lg .caret {
|
1345 |
-
border-width: 0 5px 5px;
|
1346 |
-
}
|
1347 |
-
|
1348 |
-
.fz-btn-group-vertical > .fz-btn,
|
1349 |
-
.fz-btn-group-vertical > .fz-btn-group,
|
1350 |
-
.fz-btn-group-vertical > .fz-btn-group > .fz-btn {
|
1351 |
-
display: block;
|
1352 |
-
float: none;
|
1353 |
-
width: 100%;
|
1354 |
-
max-width: 100%;
|
1355 |
-
}
|
1356 |
-
|
1357 |
-
.fz-btn-group-vertical > .fz-btn-group > .fz-btn {
|
1358 |
-
float: none;
|
1359 |
-
}
|
1360 |
-
|
1361 |
-
.fz-btn-group-vertical > .fz-btn + .fz-btn,
|
1362 |
-
.fz-btn-group-vertical > .fz-btn + .fz-btn-group,
|
1363 |
-
.fz-btn-group-vertical > .fz-btn-group + .fz-btn,
|
1364 |
-
.fz-btn-group-vertical > .fz-btn-group + .fz-btn-group {
|
1365 |
-
margin-top: -1px;
|
1366 |
-
margin-left: 0;
|
1367 |
-
}
|
1368 |
-
|
1369 |
-
.fz-btn-group-vertical > .fz-btn:not(:first-child):not(:last-child) {
|
1370 |
-
border-radius: 0;
|
1371 |
-
}
|
1372 |
-
|
1373 |
-
.fz-btn-group-vertical > .fz-btn:first-child:not(:last-child) {
|
1374 |
-
border-top-left-radius: 4px;
|
1375 |
-
border-top-right-radius: 4px;
|
1376 |
-
border-bottom-right-radius: 0;
|
1377 |
-
border-bottom-left-radius: 0;
|
1378 |
-
}
|
1379 |
-
|
1380 |
-
.fz-btn-group-vertical > .fz-btn:last-child:not(:first-child) {
|
1381 |
-
border-top-left-radius: 0;
|
1382 |
-
border-top-right-radius: 0;
|
1383 |
-
border-bottom-right-radius: 4px;
|
1384 |
-
border-bottom-left-radius: 4px;
|
1385 |
-
}
|
1386 |
-
|
1387 |
-
.fz-btn-group-vertical > .fz-btn-group:not(:first-child):not(:last-child) > .fz-btn {
|
1388 |
-
border-radius: 0;
|
1389 |
-
}
|
1390 |
-
|
1391 |
-
.fz-btn-group-vertical > .fz-btn-group:first-child:not(:last-child) > .fz-btn:last-child,
|
1392 |
-
.fz-btn-group-vertical > .fz-btn-group:first-child:not(:last-child) > .dropdown-toggle {
|
1393 |
-
border-bottom-right-radius: 0;
|
1394 |
-
border-bottom-left-radius: 0;
|
1395 |
-
}
|
1396 |
-
|
1397 |
-
.fz-btn-group-vertical > .fz-btn-group:last-child:not(:first-child) > .fz-btn:first-child {
|
1398 |
-
border-top-left-radius: 0;
|
1399 |
-
border-top-right-radius: 0;
|
1400 |
-
}
|
1401 |
-
|
1402 |
-
.fz-btn-group-justified {
|
1403 |
-
display: table;
|
1404 |
-
width: 100%;
|
1405 |
-
table-layout: fixed;
|
1406 |
-
border-collapse: separate;
|
1407 |
-
}
|
1408 |
-
|
1409 |
-
.fz-btn-group-justified > .fz-btn,
|
1410 |
-
.fz-btn-group-justified > .fz-btn-group {
|
1411 |
-
display: table-cell;
|
1412 |
-
float: none;
|
1413 |
-
width: 1%;
|
1414 |
-
}
|
1415 |
-
|
1416 |
-
.fz-btn-group-justified > .fz-btn-group .fz-btn {
|
1417 |
-
width: 100%;
|
1418 |
-
}
|
1419 |
-
|
1420 |
-
.fz-btn-group-justified > .fz-btn-group .dropdown-menu {
|
1421 |
-
left: auto;
|
1422 |
-
}
|
1423 |
-
|
1424 |
-
[data-toggle="buttons"] > .fz-btn input[type="radio"],
|
1425 |
-
[data-toggle="buttons"] > .fz-btn-group > .fz-btn input[type="radio"],
|
1426 |
-
[data-toggle="buttons"] > .fz-btn input[type="checkbox"],
|
1427 |
-
[data-toggle="buttons"] > .fz-btn-group > .fz-btn input[type="checkbox"] {
|
1428 |
-
clip: rect(0, 0, 0, 0);
|
1429 |
-
position: absolute;
|
1430 |
-
pointer-events: none;
|
1431 |
-
}
|
1432 |
-
|
1433 |
-
.fz-input-group {
|
1434 |
-
display: table;
|
1435 |
-
position: relative;
|
1436 |
-
border-collapse: separate;
|
1437 |
-
}
|
1438 |
-
|
1439 |
-
.fz-input-group[class*="col-"] {
|
1440 |
-
float: none;
|
1441 |
-
padding-right: 0;
|
1442 |
-
padding-left: 0;
|
1443 |
-
}
|
1444 |
-
|
1445 |
-
.fz-input-group .fz-form-control {
|
1446 |
-
float: left;
|
1447 |
-
position: relative;
|
1448 |
-
z-index: 2;
|
1449 |
-
width: 100%;
|
1450 |
-
margin-bottom: 0;
|
1451 |
-
}
|
1452 |
-
|
1453 |
-
.fz-input-group .fz-form-control:focus {
|
1454 |
-
z-index: 3;
|
1455 |
-
}
|
1456 |
-
|
1457 |
-
.fz-input-group-lg > .fz-form-control,
|
1458 |
-
.fz-input-group-lg > .fz-input-group-addon,
|
1459 |
-
.fz-input-group-lg > .fz-input-group-btn > .fz-btn {
|
1460 |
-
height: 46px;
|
1461 |
-
padding: 10px 16px;
|
1462 |
-
border-radius: 6px;
|
1463 |
-
font-size: 18px;
|
1464 |
-
line-height: 1.3333333;
|
1465 |
-
}
|
1466 |
-
|
1467 |
-
select.fz-input-group-lg > .fz-form-control,
|
1468 |
-
select.fz-input-group-lg > .fz-input-group-addon,
|
1469 |
-
select.fz-input-group-lg > .fz-input-group-btn > .fz-btn {
|
1470 |
-
height: 46px;
|
1471 |
-
line-height: 46px;
|
1472 |
-
}
|
1473 |
-
|
1474 |
-
textarea.fz-input-group-lg > .fz-form-control,
|
1475 |
-
textarea.fz-input-group-lg > .fz-input-group-addon,
|
1476 |
-
textarea.fz-input-group-lg > .fz-input-group-btn > .fz-btn,
|
1477 |
-
select[multiple].fz-input-group-lg > .fz-form-control,
|
1478 |
-
select[multiple].fz-input-group-lg > .fz-input-group-addon,
|
1479 |
-
select[multiple].fz-input-group-lg > .fz-input-group-btn > .fz-btn {
|
1480 |
-
height: auto;
|
1481 |
-
}
|
1482 |
-
|
1483 |
-
.fz-input-group-sm > .fz-form-control,
|
1484 |
-
.fz-input-group-sm > .fz-input-group-addon,
|
1485 |
-
.fz-input-group-sm > .fz-input-group-btn > .fz-btn {
|
1486 |
-
height: 30px;
|
1487 |
-
padding: 5px 10px;
|
1488 |
-
border-radius: 3px;
|
1489 |
-
font-size: 12px;
|
1490 |
-
line-height: 1.5;
|
1491 |
-
}
|
1492 |
-
|
1493 |
-
select.fz-input-group-sm > .fz-form-control,
|
1494 |
-
select.fz-input-group-sm > .fz-input-group-addon,
|
1495 |
-
select.fz-input-group-sm > .fz-input-group-btn > .fz-btn {
|
1496 |
-
height: 30px;
|
1497 |
-
line-height: 30px;
|
1498 |
-
}
|
1499 |
-
|
1500 |
-
textarea.fz-input-group-sm > .fz-form-control,
|
1501 |
-
textarea.fz-input-group-sm > .fz-input-group-addon,
|
1502 |
-
textarea.fz-input-group-sm > .fz-input-group-btn > .fz-btn,
|
1503 |
-
select[multiple].fz-input-group-sm > .fz-form-control,
|
1504 |
-
select[multiple].fz-input-group-sm > .fz-input-group-addon,
|
1505 |
-
select[multiple].fz-input-group-sm > .fz-input-group-btn > .fz-btn {
|
1506 |
-
height: auto;
|
1507 |
-
}
|
1508 |
-
|
1509 |
-
.fz-input-group-addon,
|
1510 |
-
.fz-input-group-btn,
|
1511 |
-
.fz-input-group .fz-form-control {
|
1512 |
-
display: table-cell;
|
1513 |
-
}
|
1514 |
-
|
1515 |
-
.fz-input-group-addon:not(:first-child):not(:last-child),
|
1516 |
-
.fz-input-group-btn:not(:first-child):not(:last-child),
|
1517 |
-
.fz-input-group .fz-form-control:not(:first-child):not(:last-child) {
|
1518 |
-
border-radius: 0;
|
1519 |
-
}
|
1520 |
-
|
1521 |
-
.fz-input-group-addon,
|
1522 |
-
.fz-input-group-btn {
|
1523 |
-
width: 1%;
|
1524 |
-
vertical-align: top;
|
1525 |
-
white-space: nowrap;
|
1526 |
-
}
|
1527 |
-
|
1528 |
-
.fz-input-group-addon {
|
1529 |
-
padding: 6px 12px;
|
1530 |
-
border: 1px solid #ccc;
|
1531 |
-
border-radius: 4px;
|
1532 |
-
color: #555;
|
1533 |
-
background-color: #eee;
|
1534 |
-
font-size: 14px;
|
1535 |
-
font-weight: normal;
|
1536 |
-
line-height: 1;
|
1537 |
-
text-align: center;
|
1538 |
-
}
|
1539 |
-
|
1540 |
-
.fz-input-group-addon.input-sm {
|
1541 |
-
padding: 5px 10px;
|
1542 |
-
border-radius: 3px;
|
1543 |
-
font-size: 12px;
|
1544 |
-
}
|
1545 |
-
|
1546 |
-
.fz-input-group-addon.input-lg {
|
1547 |
-
padding: 10px 16px;
|
1548 |
-
border-radius: 6px;
|
1549 |
-
font-size: 18px;
|
1550 |
-
}
|
1551 |
-
|
1552 |
-
.fz-input-group-addon input[type="radio"],
|
1553 |
-
.fz-input-group-addon input[type="checkbox"] {
|
1554 |
-
margin-top: 0;
|
1555 |
-
}
|
1556 |
-
|
1557 |
-
.fz-input-group .fz-form-control:first-child,
|
1558 |
-
.fz-input-group-addon:first-child,
|
1559 |
-
.fz-input-group-btn:first-child > .fz-btn,
|
1560 |
-
.fz-input-group-btn:first-child > .fz-btn-group > .fz-btn,
|
1561 |
-
.fz-input-group-btn:first-child > .dropdown-toggle,
|
1562 |
-
.fz-input-group-btn:last-child > .fz-btn:not(:last-child):not(.dropdown-toggle),
|
1563 |
-
.fz-input-group-btn:last-child > .fz-btn-group:not(:last-child) > .fz-btn {
|
1564 |
-
border-top-right-radius: 0;
|
1565 |
-
border-bottom-right-radius: 0;
|
1566 |
-
}
|
1567 |
-
|
1568 |
-
.fz-input-group-addon:first-child {
|
1569 |
-
border-right: 0;
|
1570 |
-
}
|
1571 |
-
|
1572 |
-
.fz-input-group .fz-form-control:last-child,
|
1573 |
-
.fz-input-group-addon:last-child,
|
1574 |
-
.fz-input-group-btn:last-child > .fz-btn,
|
1575 |
-
.fz-input-group-btn:last-child > .fz-btn-group > .fz-btn,
|
1576 |
-
.fz-input-group-btn:last-child > .dropdown-toggle,
|
1577 |
-
.fz-input-group-btn:first-child > .fz-btn:not(:first-child),
|
1578 |
-
.fz-input-group-btn:first-child > .fz-btn-group:not(:first-child) > .fz-btn {
|
1579 |
-
border-top-left-radius: 0;
|
1580 |
-
border-bottom-left-radius: 0;
|
1581 |
-
}
|
1582 |
-
|
1583 |
-
.fz-input-group-addon:last-child {
|
1584 |
-
border-left: 0;
|
1585 |
-
}
|
1586 |
-
|
1587 |
-
.fz-input-group-btn {
|
1588 |
-
position: relative;
|
1589 |
-
font-size: 0;
|
1590 |
-
white-space: nowrap;
|
1591 |
-
}
|
1592 |
-
|
1593 |
-
.fz-input-group-btn > .fz-btn {
|
1594 |
-
position: relative;
|
1595 |
-
}
|
1596 |
-
|
1597 |
-
.fz-input-group-btn > .fz-btn + .fz-btn {
|
1598 |
-
margin-left: -1px;
|
1599 |
-
}
|
1600 |
-
|
1601 |
-
.fz-input-group-btn > .fz-btn:hover,
|
1602 |
-
.fz-input-group-btn > .fz-btn:focus,
|
1603 |
-
.fz-input-group-btn > .fz-btn:active {
|
1604 |
-
z-index: 2;
|
1605 |
-
}
|
1606 |
-
|
1607 |
-
.fz-input-group-btn:first-child > .fz-btn,
|
1608 |
-
.fz-input-group-btn:first-child > .fz-btn-group {
|
1609 |
-
margin-right: -1px;
|
1610 |
-
}
|
1611 |
-
|
1612 |
-
.fz-input-group-btn:last-child > .fz-btn,
|
1613 |
-
.fz-input-group-btn:last-child > .fz-btn-group {
|
1614 |
-
z-index: 2;
|
1615 |
-
margin-left: -1px;
|
1616 |
-
}
|
1617 |
-
|
1618 |
-
.col-left,
|
1619 |
-
.col-right {
|
1620 |
-
display: inline-block;
|
1621 |
-
float: left;
|
1622 |
-
position: relative;
|
1623 |
-
width: -webkit-calc( 50% - 34px );
|
1624 |
-
width: calc( 50% - 34px );
|
1625 |
-
min-height: 36px;
|
1626 |
-
}
|
1627 |
-
|
1628 |
-
.col-left::after {
|
1629 |
-
position: absolute;
|
1630 |
-
top: calc( 50% - 18px );
|
1631 |
-
top: -webkit-calc( 50% - 18px );
|
1632 |
-
left: -webkit-calc( 100% + 5px );
|
1633 |
-
left: calc( 100% + 5px );
|
1634 |
-
left: -webkit-calc( 100% + 8px );
|
1635 |
-
width: 36px;
|
1636 |
-
height: 36px;
|
1637 |
-
color: #ccc;
|
1638 |
-
font-family: "dashicons";
|
1639 |
-
font-size: 36px;
|
1640 |
-
line-height: 36px;
|
1641 |
-
content: "\f503";
|
1642 |
-
}
|
1643 |
-
|
1644 |
-
.col-left.fields::after {
|
1645 |
-
content: "\f229";
|
1646 |
-
}
|
1647 |
-
|
1648 |
-
.col-left {
|
1649 |
-
padding: 8px 8px 8px 0;
|
1650 |
-
border-right: 1px solid #ccc;
|
1651 |
-
}
|
1652 |
-
|
1653 |
-
.col-right {
|
1654 |
-
margin-left: 50px;
|
1655 |
-
padding: 8px 0 8px 8px;
|
1656 |
-
border-left: 1px solid #ccc;
|
1657 |
-
}
|
1658 |
-
|
1659 |
-
.label_description,
|
1660 |
-
.form_item {
|
1661 |
-
margin-top: 8px;
|
1662 |
-
margin-bottom: 8px;
|
1663 |
-
}
|
1664 |
-
|
1665 |
-
.label_description {
|
1666 |
-
border-bottom: 1px solid #efefef;
|
1667 |
-
}
|
1668 |
-
|
1669 |
-
.form_item {
|
1670 |
-
padding-top: 12px;
|
1671 |
-
}
|
1672 |
-
|
1673 |
-
a.dropdown-item {
|
1674 |
-
display: block;
|
1675 |
-
padding: 5px 8px;
|
1676 |
-
color: #f35b3f;
|
1677 |
-
text-align: center;
|
1678 |
-
text-decoration: none;
|
1679 |
-
}
|
1680 |
-
|
1681 |
-
a:hover.dropdown-item,
|
1682 |
-
a:focus.dropdown-item {
|
1683 |
-
color: #f89c8b;
|
1684 |
-
background-color: #f8f8f8;
|
1685 |
-
}
|
1686 |
-
|
1687 |
-
.fz-btn.fz-btn-add-fields {
|
1688 |
-
background-color: #099bb2;
|
1689 |
-
}
|
1690 |
-
|
1691 |
-
.fz-btn.fz-btn-add-fields:hover {
|
1692 |
-
background-color: #14b2cc;
|
1693 |
-
}
|
1694 |
-
|
1695 |
-
.fz-btn.fz-btn-remove-fields {
|
1696 |
-
color: #f35b3f;
|
1697 |
-
}
|
1698 |
-
|
1699 |
-
.fz-btn.fz-btn-remove-fields:hover {
|
1700 |
-
color: #f89c8b;
|
1701 |
-
}
|
1702 |
-
|
1703 |
-
.fz-btn > span.dashicons {
|
1704 |
-
vertical-align: middle;
|
1705 |
-
}
|
1706 |
-
|
1707 |
-
.f1 {
|
1708 |
-
padding: 25px;
|
1709 |
-
border-radius: 4px;
|
1710 |
-
background: #fff;
|
1711 |
-
}
|
1712 |
-
|
1713 |
-
.f1 h3 {
|
1714 |
-
margin-top: 0;
|
1715 |
-
margin-bottom: 5px;
|
1716 |
-
text-transform: uppercase;
|
1717 |
-
}
|
1718 |
-
|
1719 |
-
.f1-steps {
|
1720 |
-
overflow: hidden;
|
1721 |
-
position: relative;
|
1722 |
-
margin-top: 20px;
|
1723 |
-
}
|
1724 |
-
|
1725 |
-
.f1-progress {
|
1726 |
-
position: absolute;
|
1727 |
-
top: 24px;
|
1728 |
-
left: 0;
|
1729 |
-
width: 100%;
|
1730 |
-
height: 1px;
|
1731 |
-
background: #ddd;
|
1732 |
-
}
|
1733 |
-
|
1734 |
-
.f1-progress-line {
|
1735 |
-
position: absolute;
|
1736 |
-
top: 0;
|
1737 |
-
left: 0;
|
1738 |
-
height: 1px;
|
1739 |
-
background: #f35b3f;
|
1740 |
-
}
|
1741 |
-
|
1742 |
-
.f1-step {
|
1743 |
-
display: inline-block;
|
1744 |
-
position: relative;
|
1745 |
-
width: calc(100%/3 - 10px);
|
1746 |
-
width: -webkit-calc(100%/3 - 10px);
|
1747 |
-
text-align: center;
|
1748 |
-
}
|
1749 |
-
|
1750 |
-
.f1-step-icon {
|
1751 |
-
display: inline-block;
|
1752 |
-
width: 40px;
|
1753 |
-
height: 40px;
|
1754 |
-
margin-top: 4px;
|
1755 |
-
border-radius: 50%;
|
1756 |
-
color: #fff;
|
1757 |
-
background: #ddd;
|
1758 |
-
font-size: 16px;
|
1759 |
-
line-height: 40px;
|
1760 |
-
}
|
1761 |
-
|
1762 |
-
.f1-step-icon span {
|
1763 |
-
display: inline-block;
|
1764 |
-
width: 18px;
|
1765 |
-
height: 18px;
|
1766 |
-
padding: 11px;
|
1767 |
-
font-size: 18px;
|
1768 |
-
}
|
1769 |
-
|
1770 |
-
.f1-step.activated .f1-step-icon span {
|
1771 |
-
width: 20px;
|
1772 |
-
height: 20px;
|
1773 |
-
margin-top: -2px;
|
1774 |
-
margin-left: -1px;
|
1775 |
-
padding: 12px;
|
1776 |
-
font-size: 20px;
|
1777 |
-
}
|
1778 |
-
|
1779 |
-
.f1-step.active .f1-step-icon span {
|
1780 |
-
width: 24px;
|
1781 |
-
height: 24px;
|
1782 |
-
padding: 12px;
|
1783 |
-
font-size: 24px;
|
1784 |
-
}
|
1785 |
-
|
1786 |
-
.f1-step.activated .f1-step-icon {
|
1787 |
-
border: 1px solid #f35b3f;
|
1788 |
-
color: #f35b3f;
|
1789 |
-
background: #fff;
|
1790 |
-
line-height: 48px;
|
1791 |
-
}
|
1792 |
-
|
1793 |
-
.f1-step.active .f1-step-icon {
|
1794 |
-
width: 48px;
|
1795 |
-
height: 48px;
|
1796 |
-
margin-top: 0;
|
1797 |
-
background: #f35b3f;
|
1798 |
-
font-size: 22px;
|
1799 |
-
line-height: 48px;
|
1800 |
-
}
|
1801 |
-
|
1802 |
-
.f1-step p {
|
1803 |
-
color: #ccc;
|
1804 |
-
}
|
1805 |
-
|
1806 |
-
.f1-step.activated p {
|
1807 |
-
color: #f35b3f;
|
1808 |
-
}
|
1809 |
-
|
1810 |
-
.f1-step.active p {
|
1811 |
-
color: #f35b3f;
|
1812 |
-
}
|
1813 |
-
|
1814 |
-
.f1 fieldset {
|
1815 |
-
display: none;
|
1816 |
-
text-align: left;
|
1817 |
-
}
|
1818 |
-
|
1819 |
-
.f1-buttons {
|
1820 |
-
text-align: right;
|
1821 |
-
}
|
1822 |
-
|
1823 |
-
.f1 .input-error {
|
1824 |
-
border-color: #f35b3f;
|
1825 |
-
}
|
1826 |
-
|
1827 |
-
input[type="password"].fz-form-control,
|
1828 |
-
input[type="text"].fz-form-control,
|
1829 |
-
input[type="number"].fz-form-control,
|
1830 |
-
textarea.fz-form-control {
|
1831 |
-
width: 100%;
|
1832 |
-
height: 44px;
|
1833 |
-
margin: 0;
|
1834 |
-
padding: 0 20px;
|
1835 |
-
border: 1px solid #ddd;
|
1836 |
-
border-radius: 4px;
|
1837 |
-
color: #888;
|
1838 |
-
background: #fff;
|
1839 |
-
box-shadow: none;
|
1840 |
-
font-family: "Roboto", sans-serif;
|
1841 |
-
font-size: 16px;
|
1842 |
-
font-weight: 300;
|
1843 |
-
line-height: 44px;
|
1844 |
-
vertical-align: middle;
|
1845 |
-
-webkit-transition: all 0.3s;
|
1846 |
-
transition: all 0.3s;
|
1847 |
-
}
|
1848 |
-
|
1849 |
-
textarea.fz-form-control {
|
1850 |
-
height: 90px;
|
1851 |
-
padding-top: 8px;
|
1852 |
-
padding-bottom: 8px;
|
1853 |
-
line-height: 30px;
|
1854 |
-
}
|
1855 |
-
|
1856 |
-
textarea.fz-form-control:focus {
|
1857 |
-
border: 1px solid #ccc;
|
1858 |
-
outline: 0;
|
1859 |
-
background: #fff;
|
1860 |
-
box-shadow: none;
|
1861 |
-
}
|
1862 |
-
|
1863 |
-
textarea.fz-form-control:-moz-placeholder {
|
1864 |
-
color: #888;
|
1865 |
-
}
|
1866 |
-
|
1867 |
-
textarea.fz-form-control:-ms-input-placeholder {
|
1868 |
-
color: #888;
|
1869 |
-
}
|
1870 |
-
|
1871 |
-
textarea.fz-form-control::-webkit-input-placeholder {
|
1872 |
-
color: #888;
|
1873 |
-
}
|
1874 |
-
|
1875 |
-
button.fz-btn {
|
1876 |
-
min-width: 105px;
|
1877 |
-
height: 44px;
|
1878 |
-
margin: 0;
|
1879 |
-
padding: 0 20px;
|
1880 |
-
border: 0;
|
1881 |
-
border-radius: 4px;
|
1882 |
-
color: #fff;
|
1883 |
-
box-shadow: none;
|
1884 |
-
text-shadow: none;
|
1885 |
-
font-family: "Roboto", sans-serif;
|
1886 |
-
font-size: 16px;
|
1887 |
-
font-weight: 300;
|
1888 |
-
line-height: 40px;
|
1889 |
-
vertical-align: middle;
|
1890 |
-
-webkit-transition: all 0.3s;
|
1891 |
-
transition: all 0.3s;
|
1892 |
-
}
|
1893 |
-
|
1894 |
-
button.fz-btn:hover {
|
1895 |
-
opacity: 0.6;
|
1896 |
-
color: #fff;
|
1897 |
-
}
|
1898 |
-
|
1899 |
-
button.fz-btn:active {
|
1900 |
-
outline: 0;
|
1901 |
-
opacity: 0.6;
|
1902 |
-
color: #fff;
|
1903 |
-
box-shadow: none;
|
1904 |
-
}
|
1905 |
-
|
1906 |
-
button.fz-btn:focus,
|
1907 |
-
button.fz-btn:active:focus,
|
1908 |
-
button.fz-btn.active:focus {
|
1909 |
-
outline: 0;
|
1910 |
-
opacity: 0.6;
|
1911 |
-
color: #fff;
|
1912 |
-
}
|
1913 |
-
|
1914 |
-
button.fz-btn.fz-btn-next,
|
1915 |
-
button.fz-btn.fz-btn-next:focus,
|
1916 |
-
button.fz-btn.fz-btn-next:active:focus,
|
1917 |
-
button.fz-btn.fz-btn-next.active:focus {
|
1918 |
-
background: #f35b3f;
|
1919 |
-
}
|
1920 |
-
|
1921 |
-
button.fz-btn.fz-btn-submit,
|
1922 |
-
button.fz-btn.fz-btn-submit:focus,
|
1923 |
-
button.fz-btn.fz-btn-submit:active:focus,
|
1924 |
-
button.fz-btn.fz-btn-submit.active:focus {
|
1925 |
-
background: #f35b3f;
|
1926 |
-
}
|
1927 |
-
|
1928 |
-
button.fz-btn.fz-btn-previous,
|
1929 |
-
button.fz-btn.fz-btn-previous:focus,
|
1930 |
-
button.fz-btn.fz-btn-previous:active:focus,
|
1931 |
-
button.fz-btn.fz-btn-previous.active:focus {
|
1932 |
-
background: #bbb;
|
1933 |
-
}
|
1934 |
-
|
1935 |
-
button.fz-btn.fz-btn-submit.fz-btn-activate,
|
1936 |
-
button.fz-btn.fz-btn-submit.fz-btn-activate:focus,
|
1937 |
-
button.fz-btn.fz-btn-submit.fz-btn-activate:active:focus,
|
1938 |
-
button.fz-btn.fz-btn-submit.fz-btn-activate.active:focus {
|
1939 |
-
background: #8ce196;
|
1940 |
-
}
|
1941 |
-
|
1942 |
-
/*
|
1943 |
-
Toggle switches
|
1944 |
-
*/
|
1945 |
-
.feedzy-toggle {
|
1946 |
-
visibility: hidden;
|
1947 |
-
position: absolute;
|
1948 |
-
margin-left: -9999px;
|
1949 |
-
}
|
1950 |
-
|
1951 |
-
.feedzy-toggle + label {
|
1952 |
-
display: block;
|
1953 |
-
position: relative;
|
1954 |
-
outline: none;
|
1955 |
-
cursor: pointer;
|
1956 |
-
-webkit-user-select: none;
|
1957 |
-
-moz-user-select: none;
|
1958 |
-
-ms-user-select: none;
|
1959 |
-
user-select: none;
|
1960 |
-
}
|
1961 |
-
|
1962 |
-
input.feedzy-toggle-round + label {
|
1963 |
-
padding: 2px;
|
1964 |
-
background-color: #ddd;
|
1965 |
-
}
|
1966 |
-
|
1967 |
-
input.feedzy-toggle-round + label:before,
|
1968 |
-
input.feedzy-toggle-round + label:after {
|
1969 |
-
display: block;
|
1970 |
-
position: absolute;
|
1971 |
-
top: 1px;
|
1972 |
-
bottom: 1px;
|
1973 |
-
left: 1px;
|
1974 |
-
content: "";
|
1975 |
-
}
|
1976 |
-
|
1977 |
-
input.feedzy-toggle-round + label:before {
|
1978 |
-
right: 1px;
|
1979 |
-
border-radius: 15px;
|
1980 |
-
background-color: #f1f1f1;
|
1981 |
-
-webkit-transition: background 0.4s;
|
1982 |
-
transition: background 0.4s;
|
1983 |
-
}
|
1984 |
-
|
1985 |
-
input.feedzy-toggle-round + label:after {
|
1986 |
-
width: 28px;
|
1987 |
-
border-radius: 100%;
|
1988 |
-
background-color: #fff;
|
1989 |
-
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
|
1990 |
-
-webkit-transition: margin 0.4s;
|
1991 |
-
transition: margin 0.4s;
|
1992 |
-
}
|
1993 |
-
|
1994 |
-
input.feedzy-toggle-round:checked + label:before {
|
1995 |
-
background-color: #8ce196;
|
1996 |
-
}
|
1997 |
-
|
1998 |
-
input.feedzy-toggle-round:checked + label:after {
|
1999 |
-
margin-left: 34px;
|
2000 |
-
}
|
2001 |
-
|
2002 |
-
/*
|
2003 |
-
!!! CAUTION -- Hides Core WordPress Post Elements
|
2004 |
-
*/
|
2005 |
-
|
2006 |
-
.post-type-feedzy_imports #poststuff #post-body.columns-2 {
|
2007 |
-
margin-right: 0;
|
2008 |
-
}
|
2009 |
-
|
2010 |
-
.post-type-feedzy_imports div#side-sortables {
|
2011 |
-
display: none;
|
2012 |
-
}
|
2013 |
-
|
2014 |
-
.post-type-feedzy_imports #titlediv .inside {
|
2015 |
-
display: none;
|
2016 |
-
}
|
2017 |
-
|
2018 |
-
.post-type-feedzy_imports div#advanced-sortables {
|
2019 |
-
display: none;
|
2020 |
-
}
|
2021 |
-
|
2022 |
-
.fz-feature-features button.fz-btn.fz-btn-submit.fz-btn-activate,
|
2023 |
-
.fz-feature-features button.fz-btn.fz-btn-submit.fz-btn-activate:focus,
|
2024 |
-
.fz-feature-features button.fz-btn.fz-btn-submit.fz-btn-activate:active:focus,
|
2025 |
-
.fz-feature-features button.fz-btn.fz-btn-submit.fz-btn-activate.active:focus {
|
2026 |
-
background-color: #62c370;
|
2027 |
-
}
|
2028 |
-
|
2029 |
-
.fz-settings #feedzy_delete_days {
|
2030 |
-
width: 50%;
|
2031 |
-
}
|
4 |
* @since 1.2.0
|
5 |
* @package feedzy-rss-feeds-pro
|
6 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
|
|
|
|
|
|
8 |
|
9 |
+
@media (max-width: 1024px){
|
10 |
+
.h1{
|
11 |
+
font-size: 34px;
|
12 |
+
line-height: 43px;
|
|
|
|
|
13 |
}
|
14 |
+
.h2{
|
15 |
+
font-size: 24px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
line-height: 30px;
|
17 |
}
|
18 |
+
.fz-tabs-menu{border-bottom: 1px solid #D9D9D9;}
|
19 |
+
.fz-tabs-menu ul{flex-wrap: nowrap; overflow: auto; border-bottom: 0;}
|
20 |
+
.fz-tabs-menu ul li{flex-shrink: 0;}
|
21 |
+
.support-box-list > ul > li{width: 100%;}
|
22 |
+
.fz-document-list > ul > li{width: 50%;}
|
23 |
+
.fz-pro-features-table-header{display: none;}
|
24 |
+
.fz-pro-features-table-body .fz-pro-features-table-row li{padding: 15px;}
|
25 |
+
.fz-pro-features-table-row .features-info{width: 100%;}
|
26 |
+
.fz-pro-features-table-row .free, .fz-pro-features-table-row .pro{width: 50%;}
|
27 |
+
.fz-pro-features-table-row .free:before, .fz-pro-features-table-row .pro:before{content: attr(data-label); font-size: 16px; font-weight: 700; color: #757575; display: block; padding-right: 8px;}
|
28 |
+
}
|
29 |
+
|
30 |
+
@media (max-width: 767px){
|
31 |
+
.h1{font-size: 28px; line-height: 37px;}
|
32 |
+
.h2{font-size: 20px; line-height: 26px;}
|
33 |
+
.feedzy-header{padding: 15px 0;}
|
34 |
+
.feedzy-header .feedzy-logo .feedzy-logo-icon{max-width: 40px;}
|
35 |
+
.feedzy-header .feedzy-logo .feedzy-logo-icon img{max-width: 100%;}
|
36 |
+
.post-type-feedzy_imports:not(.edit-php) #wpcontent, .feedzy_page_feedzy-support #wpcontent, .feedzy_page_feedzy-settings #wpcontent{padding-top: 46px;}
|
37 |
+
#wpbody{padding-top: 0;}
|
38 |
+
.feedzy-accordion .feedzy-accordion-item{margin-bottom: 15px;}
|
39 |
+
.feedzy-accordion-item .feedzy-accordion-item__button{padding: 15px 60px 15px 15px;}
|
40 |
+
.feedzy-accordion-item .feedzy-accordion__icon{width: 38px; height: 38px; right: 15px; margin-top: -19px;}
|
41 |
+
.feedzy-accordion-item .feedzy-accordion-item__content{padding-left: 15px; padding-right: 15px;}
|
42 |
+
.fz-input-group{flex-wrap: wrap;}
|
43 |
+
.fz-input-group .fz-input-group-right{width: 100%; padding-left: 0; padding-top: 8px;}
|
44 |
+
.fz-input-group .fz-input-group-right .btn.dropdown-toggle{width: 100%;}
|
45 |
+
.fz-form-wrap .form-block.form-block-two-column .left{width: 100%; padding-right: 0; padding-bottom: 24px;}
|
46 |
+
.fz-form-wrap .form-block.form-block-two-column .right{width: 100%;}
|
47 |
+
.fz-form-action .left{width: 100%; padding-bottom: 16px;}
|
48 |
+
.fz-form-action .left .btn{width: 100%; display: block; text-align: center;}
|
49 |
+
.fz-form-action .right{width: 100%; flex-direction: column;}
|
50 |
+
.fz-form-action .right .btn + .btn{margin-left: 0; margin-top: 8px;}
|
51 |
+
.fz-form-row .fz-form-col-6, .fz-form-row .fz-form-col-4, .fz-form-row .fz-form-col-8{width: 100%;}
|
52 |
+
.fz-document-list > ul > li{width: 100%;}
|
53 |
+
.fz-help-improve-box .left{width: 100%;}
|
54 |
+
.fz-help-improve-box .right{width: 100%;}
|
55 |
+
.fz-tabs-menu ul {flex-wrap: wrap;}
|
56 |
+
.fz-tabs-menu ul li{flex-shrink: 0; width: 50%;}
|
57 |
+
.fz-tabs-menu ul li a{padding: 0px; border: 1px solid transparent;}
|
58 |
+
.fz-tabs-menu ul li a:after{display: none}
|
59 |
+
.fz-tabs-menu ul li a:focus{border: 1px solid #4268CF}
|
60 |
+
.fz-tabs-menu ul li a.active{border: 0;}
|
61 |
+
}
|
62 |
+
|
63 |
+
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi), only screen and (min-resolution: 1.5dppx) {
|
64 |
+
.fz-form-wrap .chosen-rtl .chosen-search input[type="text"],
|
65 |
+
.fz-form-wrap .chosen-container-single .chosen-single abbr,
|
66 |
+
.fz-form-wrap .chosen-container-single .chosen-single div b,
|
67 |
+
.fz-form-wrap .chosen-container-single .chosen-search input[type="text"],
|
68 |
+
.fz-form-wrap .chosen-container-multi .chosen-choices .search-choice .search-choice-close,
|
69 |
+
.fz-form-wrap .chosen-container .chosen-results-scroll-down span,
|
70 |
+
.fz-form-wrap .chosen-container .chosen-results-scroll-up span {
|
71 |
+
background: #ffffff !important;
|
72 |
+
background-repeat: no-repeat !important;
|
73 |
+
background-size: inherit !important;
|
74 |
+
}
|
75 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
css/settings.css
CHANGED
@@ -1,195 +1,1429 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
}
|
|
|
|
|
|
|
|
|
6 |
|
7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
display: inline-block;
|
9 |
-
|
10 |
-
|
11 |
-
color: #3c3c3c;
|
12 |
-
background: url(../img/feedzy.svg) no-repeat left center;
|
13 |
-
background-size: 50px;
|
14 |
-
font-family: "Open Sans", sans-serif;
|
15 |
-
font-size: 2em;
|
16 |
font-weight: 700;
|
17 |
-
line-height: 60px;
|
18 |
-
letter-spacing: -1px;
|
19 |
}
|
20 |
|
21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
display: inline-block;
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
font-
|
28 |
-
|
|
|
|
|
|
|
29 |
}
|
30 |
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
|
39 |
-
|
40 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
}
|
42 |
|
43 |
-
|
44 |
-
|
|
|
45 |
box-shadow: none;
|
46 |
}
|
47 |
|
48 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
display: inline-block;
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
border-radius: 3px;
|
54 |
-
border-radius: 3px;
|
55 |
-
color: #fff;
|
56 |
-
background: #e33b3f;
|
57 |
-
font-family: "Open Sans", sans-serif;
|
58 |
-
font-size: 18px;
|
59 |
-
font-weight: bold;
|
60 |
text-decoration: none;
|
61 |
-
|
62 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
}
|
64 |
|
65 |
-
|
66 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
}
|
68 |
|
69 |
-
|
70 |
-
padding
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
}
|
72 |
|
73 |
-
|
74 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
display: block;
|
76 |
-
|
77 |
-
|
|
|
78 |
}
|
79 |
|
80 |
-
|
81 |
-
|
82 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
margin: 0;
|
84 |
-
vertical-align: middle;
|
85 |
}
|
86 |
|
87 |
-
|
88 |
-
|
89 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
}
|
91 |
|
92 |
-
|
93 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
}
|
|
|
|
|
95 |
|
96 |
-
|
97 |
-
|
98 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
}
|
|
|
100 |
|
101 |
-
|
102 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
font-size: 20px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
104 |
}
|
105 |
|
106 |
-
|
107 |
-
|
|
|
|
|
108 |
font-size: 16px;
|
109 |
-
line-height:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
110 |
}
|
111 |
|
112 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
113 |
width: 100%;
|
114 |
-
height:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
width: 100%;
|
170 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
171 |
}
|
172 |
|
173 |
-
.fz-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
174 |
text-align: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
175 |
}
|
176 |
|
177 |
-
.
|
|
|
178 |
font-weight: 700;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
179 |
}
|
180 |
|
181 |
-
.
|
182 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
183 |
}
|
184 |
|
185 |
-
.
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
background:
|
190 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
191 |
}
|
192 |
|
193 |
-
.
|
194 |
-
|
195 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.feedzy-wrap *{
|
2 |
+
box-sizing: border-box;
|
3 |
+
margin: 0;
|
4 |
+
padding: 0;
|
5 |
+
}
|
6 |
+
.feedzy-wrap ::-webkit-scrollbar {
|
7 |
+
width: 7px;
|
8 |
+
height: 7px;
|
9 |
+
border-radius: 4px;
|
10 |
+
}
|
11 |
+
.feedzy-wrap ::-webkit-scrollbar-track {
|
12 |
+
background: #F0F2F5;
|
13 |
+
border-radius: 4px;
|
14 |
+
}
|
15 |
+
.feedzy-wrap ::-webkit-scrollbar-thumb {
|
16 |
+
background: #A1A2A3;
|
17 |
+
min-height: 60px;
|
18 |
+
border-radius: 4px;
|
19 |
}
|
20 |
+
.feedzy-wrap ::-webkit-scrollbar-thumb:window-inactive {
|
21 |
+
background: #757575;
|
22 |
+
}
|
23 |
+
|
24 |
|
25 |
+
.h1{
|
26 |
+
font-size: 45px;
|
27 |
+
line-height: 54px;
|
28 |
+
font-weight: 600;
|
29 |
+
color: #050505;
|
30 |
+
}
|
31 |
+
.h2{
|
32 |
+
font-size: 32px;
|
33 |
+
line-height: 38px;
|
34 |
+
font-weight: 600;
|
35 |
+
color: #050505;
|
36 |
+
}
|
37 |
+
.h3{
|
38 |
+
font-size: 24px;
|
39 |
+
line-height: 28px;
|
40 |
+
font-weight: 600;
|
41 |
+
color: #050505;
|
42 |
+
}
|
43 |
+
.h4{
|
44 |
+
font-size: 20px;
|
45 |
+
line-height: 24px;
|
46 |
+
font-weight: 600;
|
47 |
+
color: #050505;
|
48 |
+
}
|
49 |
+
|
50 |
+
.form-label{
|
51 |
+
font-size: 16px;
|
52 |
+
line-height: 19px;
|
53 |
+
font-weight: 600;
|
54 |
+
color: #000000;
|
55 |
+
}
|
56 |
+
.desc-text{
|
57 |
+
font-size: 14px;
|
58 |
+
line-height: 17px;
|
59 |
+
font-weight: 400;
|
60 |
+
color: #000000;
|
61 |
+
}
|
62 |
+
.help-text{
|
63 |
+
font-size: 14px;
|
64 |
+
line-height: 17px;
|
65 |
+
font-weight: 400;
|
66 |
+
color: #757575;
|
67 |
+
}
|
68 |
+
.help-text a{
|
69 |
display: inline-block;
|
70 |
+
text-decoration: none;
|
71 |
+
color: #3458BC;
|
|
|
|
|
|
|
|
|
|
|
72 |
font-weight: 700;
|
|
|
|
|
73 |
}
|
74 |
|
75 |
+
.p-8{padding: 8px;}
|
76 |
+
.pt-8{padding-top: 8px;}
|
77 |
+
.pb-8{padding-bottom: 8px;}
|
78 |
+
.pb-0{padding-bottom: 0 !important;}
|
79 |
+
.pt-12{padding-top: 12px;}
|
80 |
+
.pb-16{padding-bottom: 16px;}
|
81 |
+
.pb-30{padding-bottom: 30px;}
|
82 |
+
.pt-30{padding-top: 30px;}
|
83 |
+
.mb-30{margin-bottom: 30px;}
|
84 |
+
.mb-24{margin-bottom: 24px;}
|
85 |
+
.mx-320{
|
86 |
+
max-width: 320px;
|
87 |
+
}
|
88 |
+
.feedzy-wrap a:focus{
|
89 |
+
box-shadow: none;
|
90 |
+
outline: 0;
|
91 |
+
}
|
92 |
+
|
93 |
+
.pro-label{
|
94 |
display: inline-block;
|
95 |
+
padding: 5px 10px;
|
96 |
+
background: #4268CF;
|
97 |
+
border-radius: 2px;
|
98 |
+
text-transform: uppercase;
|
99 |
+
font-weight: bold;
|
100 |
+
font-size: 13px;
|
101 |
+
line-height: 14px;
|
102 |
+
color: #ffffff;
|
103 |
+
vertical-align: middle;
|
104 |
}
|
105 |
|
106 |
+
.post-type-feedzy_imports:not(.edit-post) .wrap div#side-sortables{
|
107 |
+
display: none;
|
108 |
+
}
|
109 |
+
.feedzy-container{
|
110 |
+
max-width: 1224px;
|
111 |
+
margin: 0 auto;
|
112 |
+
padding: 0 12px;
|
113 |
+
}
|
114 |
+
|
115 |
+
/* feedzy accordion style start */
|
116 |
+
.feedzy-accordion-item{
|
117 |
+
background: #ffffff;
|
118 |
+
border: 1px solid #D9D9D9;
|
119 |
+
}
|
120 |
+
.feedzy-accordion-item .feedzy-accordion-item__button{
|
121 |
+
width: 100%;
|
122 |
+
position: relative;
|
123 |
+
text-align: left;
|
124 |
+
border: 0;
|
125 |
+
background: transparent;
|
126 |
+
outline: 0;
|
127 |
+
padding: 30px 90px 30px 30px;
|
128 |
+
}
|
129 |
+
.feedzy-accordion-item .feedzy-accordion__step-number{
|
130 |
+
padding-bottom: 10px;
|
131 |
+
}
|
132 |
+
.feedzy-accordion-item .feedzy-accordion__step-title{
|
133 |
+
color: #050505;
|
134 |
+
}
|
135 |
+
.feedzy-accordion-item .feedzy-accordion__icon{
|
136 |
+
position: absolute;
|
137 |
+
right: 30px;
|
138 |
+
top: 50%;
|
139 |
+
margin-top: -24px;
|
140 |
+
width: 48px;
|
141 |
+
height: 48px;
|
142 |
+
background: #F0F2F5;
|
143 |
+
border-radius: 24px;
|
144 |
+
display: flex;
|
145 |
+
align-items: center;
|
146 |
+
justify-content: center;
|
147 |
+
font-size: 20px;
|
148 |
+
line-height: 1;
|
149 |
+
color: #757575;
|
150 |
+
-webkit-transition: all 0.3s ease-in-out;
|
151 |
+
-moz-transition: all 0.3s ease-in-out;
|
152 |
+
-o-transition: all 0.3s ease-in-out;
|
153 |
+
transition: all 0.3s ease-in-out;
|
154 |
+
}
|
155 |
+
.feedzy-accordion-item .feedzy-accordion__icon:hover{
|
156 |
+
background: #E4E6E8;
|
157 |
+
}
|
158 |
+
.feedzy-accordion-item .feedzy-accordion-item__content{
|
159 |
+
font-size: 16px;
|
160 |
+
line-height: 24px;
|
161 |
+
color: #000000;
|
162 |
+
padding: 0 30px 6px;
|
163 |
+
position: relative;
|
164 |
}
|
165 |
+
.feedzy-accordion-item .feedzy-accordion-item__content.border-top > div{
|
166 |
+
border-top: 1px solid #D9D9D9;
|
167 |
+
}
|
168 |
+
|
169 |
+
.feedzy-accordion .feedzy-accordion-item{
|
170 |
+
margin-bottom: 30px;
|
171 |
+
}
|
172 |
+
.feedzy-accordion .feedzy-accordion-item .feedzy-accordion-item__button{
|
173 |
+
cursor: pointer;
|
174 |
+
}
|
175 |
+
.feedzy-accordion .feedzy-accordion-item .feedzy-accordion__step-number{
|
176 |
+
padding-bottom: 0;
|
177 |
+
height: 0;
|
178 |
+
opacity: 0;
|
179 |
+
-webkit-transition: all 0.3s ease-in-out;
|
180 |
+
-moz-transition: all 0.3s ease-in-out;
|
181 |
+
-o-transition: all 0.3s ease-in-out;
|
182 |
+
transition: all 0.3s ease-in-out;
|
183 |
+
}
|
184 |
+
.feedzy-accordion .feedzy-accordion-item .is-active .feedzy-accordion__step-number{
|
185 |
+
opacity: 1;
|
186 |
+
height: 27px;
|
187 |
+
padding-bottom: 5px;
|
188 |
+
}
|
189 |
+
.feedzy-accordion .feedzy-accordion-item .is-active .feedzy-accordion__icon{
|
190 |
+
color: #050505;
|
191 |
+
-webkit-transform: rotate(180deg);
|
192 |
+
-moz-transform: rotate(180deg);
|
193 |
+
-o-transform: rotate(180deg);
|
194 |
+
-ms-transform: rotate(180deg);
|
195 |
+
transform: rotate(180deg);
|
196 |
+
}
|
197 |
+
.feedzy-accordion .feedzy-accordion-item .feedzy-accordion-item__content{
|
198 |
+
display: none;
|
199 |
+
}
|
200 |
+
.feedzy-accordion .feedzy-accordion-item .feedzy-accordion-item__content.is-active{
|
201 |
+
display: block;
|
202 |
+
}
|
203 |
+
/* feedzy accordion style End */
|
204 |
+
|
205 |
|
206 |
+
/* feedzy form style start */
|
207 |
+
.fz-form-wrap{
|
208 |
+
}
|
209 |
+
.fz-form-wrap .form-block{
|
210 |
+
padding: 24px 0;
|
211 |
+
position: relative;
|
212 |
+
border-bottom: 1px solid #D9D9D9;
|
213 |
+
}
|
214 |
+
.fz-form-wrap .form-block:last-child{
|
215 |
+
border-bottom: 0;
|
216 |
+
}
|
217 |
+
.fz-form-wrap .form-label{
|
218 |
+
display: block;
|
219 |
+
margin-bottom: 8px;
|
220 |
+
}
|
221 |
+
|
222 |
+
.fz-form-wrap .form-control {
|
223 |
+
display: block;
|
224 |
+
width: 100%;
|
225 |
+
height: 48px;
|
226 |
+
padding: 0px 16px;
|
227 |
+
border: 1px solid #D9D9D9;
|
228 |
+
border-radius: 0px;
|
229 |
+
color: #050505;
|
230 |
+
background-color: #fff;
|
231 |
+
box-shadow: none;
|
232 |
+
font-size: 16px;
|
233 |
+
line-height: 24px;
|
234 |
+
-webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
|
235 |
+
-webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
|
236 |
+
transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
|
237 |
+
}
|
238 |
+
.fz-form-wrap textarea.form-control{
|
239 |
+
padding-top: 10px;
|
240 |
+
}
|
241 |
+
.fz-form-wrap .form-control.fz-input-tagify, .fz-form-wrap .form-control.fz-textarea-tagify{
|
242 |
+
height: auto;
|
243 |
+
min-height: 48px;
|
244 |
+
padding-top: 2px;
|
245 |
}
|
246 |
|
247 |
+
.fz-form-wrap .form-control:focus {
|
248 |
+
border-color: #4268CF;
|
249 |
+
outline: 0;
|
250 |
box-shadow: none;
|
251 |
}
|
252 |
|
253 |
+
.fz-form-wrap .form-control::-moz-placeholder {
|
254 |
+
opacity: 1;
|
255 |
+
color: #838383;
|
256 |
+
}
|
257 |
+
|
258 |
+
.fz-form-wrap .form-control:-ms-input-placeholder {
|
259 |
+
color: #838383;
|
260 |
+
}
|
261 |
+
|
262 |
+
.fz-form-wrap .form-control::-webkit-input-placeholder {
|
263 |
+
color: #838383;
|
264 |
+
}
|
265 |
+
|
266 |
+
.fz-form-wrap .form-control::-ms-expand {
|
267 |
+
border: 0;
|
268 |
+
background-color: transparent;
|
269 |
+
}
|
270 |
+
|
271 |
+
.fz-form-wrap .form-control[disabled],
|
272 |
+
.fz-form-wrap .form-control[readonly],
|
273 |
+
fieldset[disabled] .form-control {
|
274 |
+
opacity: .6;
|
275 |
+
background-color: #ffffff;
|
276 |
+
}
|
277 |
+
|
278 |
+
.fz-form-wrap .form-control[disabled],
|
279 |
+
fieldset[disabled] .form-control {
|
280 |
+
cursor: not-allowed;
|
281 |
+
}
|
282 |
+
|
283 |
+
.fz-form-wrap textarea.form-control {
|
284 |
+
height: auto;
|
285 |
+
}
|
286 |
+
|
287 |
+
.fz-form-wrap input[type="search"] {
|
288 |
+
-webkit-appearance: none;
|
289 |
+
}
|
290 |
+
|
291 |
+
.fz-input-group{
|
292 |
+
display: flex;
|
293 |
+
}
|
294 |
+
.fz-input-group .fz-group{
|
295 |
+
display: flex;
|
296 |
+
}
|
297 |
+
.fz-input-group .fz-group .fz-input-icon{
|
298 |
+
position: relative;
|
299 |
+
width: 100%;
|
300 |
+
}
|
301 |
+
.fz-input-group .fz-group .fz-input-icon .form-control{
|
302 |
+
padding-right: 50px;
|
303 |
+
}
|
304 |
+
.fz-input-group .fz-group .fz-input-icon .fz-input-group-append{
|
305 |
+
position: absolute;
|
306 |
+
right: 0;
|
307 |
+
top: 0;
|
308 |
+
width: 48px;
|
309 |
+
height: 48px;
|
310 |
+
}
|
311 |
+
.fz-input-group .fz-group .cta{
|
312 |
+
flex-shrink: 0;
|
313 |
+
margin-left: 8px;
|
314 |
+
}
|
315 |
+
.fz-input-group .fz-input-group-left{
|
316 |
+
width: 100%;
|
317 |
+
}
|
318 |
+
.fz-input-group .fz-input-group-right{
|
319 |
+
flex-shrink: 0;
|
320 |
+
padding-left: 8px;
|
321 |
+
}
|
322 |
+
.fz-input-group .fz-input-group-right .dropdown-toggle{
|
323 |
+
min-width: 150px;
|
324 |
+
}
|
325 |
+
.fz-input-group .help-text{
|
326 |
+
padding-top: 8px;
|
327 |
+
}
|
328 |
+
|
329 |
+
.fz-form-wrap .form-block.form-block-two-column{
|
330 |
+
display: flex;
|
331 |
+
flex-wrap: wrap;
|
332 |
+
}
|
333 |
+
.fz-form-wrap .form-block.form-block-two-column .left{
|
334 |
+
width: 285px;
|
335 |
+
padding-right: 24px;
|
336 |
+
}
|
337 |
+
.fz-form-wrap .form-block.form-block-two-column .right{
|
338 |
+
width: calc(100% - 285px);
|
339 |
+
}
|
340 |
+
.fz-form-wrap .form-block.form-block-two-column .right .upgrade-alert{
|
341 |
+
margin-top: 20px;
|
342 |
+
}
|
343 |
+
.fz-form-wrap .form-block .only-pro-content{
|
344 |
+
position: absolute;
|
345 |
+
top: 0;
|
346 |
+
left: 0;
|
347 |
+
width: calc(100% + 60px);
|
348 |
+
height: 100%;
|
349 |
+
margin: 0 -30px;
|
350 |
+
background: rgba(255, 255, 255, 0.6);
|
351 |
+
-webkit-backdrop-filter: blur(4px);
|
352 |
+
backdrop-filter: blur(4px);
|
353 |
+
z-index: 1;
|
354 |
+
padding: 30px;
|
355 |
+
opacity: 0;
|
356 |
+
visibility: hidden;
|
357 |
+
-webkit-transition: all 0.3s ease-in-out;
|
358 |
+
-moz-transition: all 0.3s ease-in-out;
|
359 |
+
-o-transition: all 0.3s ease-in-out;
|
360 |
+
transition: all 0.3s ease-in-out;
|
361 |
+
}
|
362 |
+
.fz-form-wrap .form-block.only-pro:hover .only-pro-content{
|
363 |
+
opacity: 1;
|
364 |
+
visibility: visible;
|
365 |
+
}
|
366 |
+
.fz-form-wrap .form-block .only-pro-content .only-pro-container{
|
367 |
+
width: calc(100% - 285px);
|
368 |
+
margin-left: auto;
|
369 |
+
height: 100%;
|
370 |
+
display: flex;
|
371 |
+
flex-direction: column;
|
372 |
+
align-items: center;
|
373 |
+
justify-content: center;
|
374 |
+
}
|
375 |
+
.fz-form-wrap .form-block .only-pro-content .only-pro-container .upgrade-alert{
|
376 |
+
width: 100%;
|
377 |
+
}
|
378 |
+
|
379 |
+
.form-block-pro-text{
|
380 |
+
padding-top: 8px;
|
381 |
+
font-size: 14px;
|
382 |
+
line-height: 17px;
|
383 |
+
color: #757575;
|
384 |
+
}
|
385 |
+
.form-block-pro-text a{
|
386 |
display: inline-block;
|
387 |
+
font-size: 13px;
|
388 |
+
color: #4268CF;
|
389 |
+
font-weight: 700;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
390 |
text-decoration: none;
|
391 |
+
}
|
392 |
+
.form-block-pro-text a:hover{
|
393 |
+
color: #050505;
|
394 |
+
}
|
395 |
+
|
396 |
+
.fz-form-wrap .chosen-container .chosen-single,
|
397 |
+
.fz-form-wrap .chosen-container .chosen-choices{
|
398 |
+
display: block;
|
399 |
+
position: relative;
|
400 |
+
background: #ffffff;
|
401 |
+
box-shadow: none;
|
402 |
+
height: auto;
|
403 |
+
padding: 11px 38px 11px 16px;
|
404 |
+
border: 1px solid #D9D9D9;
|
405 |
+
border-radius: 0px;
|
406 |
+
color: #1E1E1E;
|
407 |
+
box-shadow: none;
|
408 |
+
font-size: 16px;
|
409 |
+
line-height: 24px;
|
410 |
+
min-width: 150px;
|
411 |
+
}
|
412 |
+
.fz-form-wrap .chosen-container .chosen-choices{
|
413 |
+
padding: 7px 38px 7px 16px;
|
414 |
+
position: relative;
|
415 |
+
}
|
416 |
+
.fz-form-wrap .chosen-container .chosen-choices:focus{
|
417 |
+
border-color: #4268CF;
|
418 |
+
}
|
419 |
+
.fz-form-wrap .chosen-container .chosen-choices:after{
|
420 |
+
content: "\f347";
|
421 |
+
font-family: dashicons;
|
422 |
+
font-size: 20px;
|
423 |
+
line-height: 1;
|
424 |
+
position: absolute;
|
425 |
+
right: 8px;
|
426 |
+
top: 50%;
|
427 |
+
margin-top: -10px;
|
428 |
+
width: 20px;
|
429 |
+
height: 20px;
|
430 |
+
}
|
431 |
+
.fz-form-wrap .chosen-container .chosen-single:focus{
|
432 |
+
border-color: #4268CF;
|
433 |
+
}
|
434 |
+
.fz-form-wrap .chosen-container-single .chosen-single div{
|
435 |
+
right: 8px;
|
436 |
+
width: 20px;
|
437 |
+
height: 20px;
|
438 |
+
top: 50%;
|
439 |
+
margin-top: -10px;
|
440 |
+
}
|
441 |
+
.fz-form-wrap .chosen-container-single .chosen-single div b{
|
442 |
+
background: none;
|
443 |
+
font-weight: 400;
|
444 |
+
}
|
445 |
+
.fz-form-wrap .chosen-container-single .chosen-single div b:before{
|
446 |
+
content: "\f347";
|
447 |
+
font-family: dashicons;
|
448 |
+
font-size: 20px;
|
449 |
+
line-height: 1;
|
450 |
+
}
|
451 |
+
|
452 |
+
.fz-form-wrap .chosen-container-active.chosen-with-drop .chosen-single{
|
453 |
+
box-shadow: none;
|
454 |
+
border: 1px solid #4268CF;
|
455 |
+
background: #ffffff;
|
456 |
+
}
|
457 |
+
.fz-form-wrap .chosen-container .chosen-drop{
|
458 |
+
margin-top: 8px;
|
459 |
+
min-width: 220px;
|
460 |
+
right: 0;
|
461 |
+
border-radius: 0;
|
462 |
+
border: 0;
|
463 |
+
box-shadow: 0px 2.92287px 11.6915px rgba(0, 0, 0, 0.16);
|
464 |
}
|
465 |
|
466 |
+
.fz-form-wrap .chosen-container .chosen-search{
|
467 |
+
border-bottom: 1px solid #D9D9D9;
|
468 |
+
padding: 8px;
|
469 |
+
position: relative;
|
470 |
+
}
|
471 |
+
.fz-form-wrap .chosen-container .chosen-search:before{
|
472 |
+
content: "";
|
473 |
+
width: 24px;
|
474 |
+
height: 24px;
|
475 |
+
background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 18L14 14.5' stroke='%23757575' stroke-width='1.5'/%3E%3Ccircle r='4.75' transform='matrix(-1 0 0 1 10.5 11.5)' stroke='%23757575' stroke-width='1.5'/%3E%3C/svg%3E%0A");
|
476 |
+
background-repeat: no-repeat;
|
477 |
+
position: absolute;
|
478 |
+
left: 16px;
|
479 |
+
top: 19px;
|
480 |
+
}
|
481 |
+
.fz-form-wrap .chosen-container .chosen-search .chosen-search-input{
|
482 |
+
border: 1px solid #D9D9D9;
|
483 |
+
height: 48px;
|
484 |
+
width: 100%;
|
485 |
+
padding: 0 10px 0 40px;
|
486 |
+
background: #ffffff;
|
487 |
+
color: #050505;
|
488 |
+
font-size: 16px;
|
489 |
+
line-height: 24px;
|
490 |
+
}
|
491 |
+
.fz-form-wrap .chosen-container .chosen-search .chosen-search-input:focus{
|
492 |
+
border-color: #4268CF;
|
493 |
}
|
494 |
|
495 |
+
.fz-form-wrap .chosen-container .chosen-results{
|
496 |
+
padding: 8px;
|
497 |
+
max-height: 230px;
|
498 |
+
overflow: auto;
|
499 |
+
}
|
500 |
+
.fz-form-wrap .chosen-container .chosen-results li{
|
501 |
+
padding: 8px;
|
502 |
+
font-weight: 500;
|
503 |
+
font-size: 16px;
|
504 |
+
line-height: 19px;
|
505 |
+
color: #050505;
|
506 |
+
}
|
507 |
+
.fz-form-wrap .chosen-container .chosen-results li:hover,
|
508 |
+
.fz-form-wrap .chosen-container .chosen-results li.result-selected{
|
509 |
+
background: #F2F2F2;
|
510 |
+
color: #050505;
|
511 |
+
}
|
512 |
+
.fz-form-wrap .chosen-container .chosen-results li.highlighted{
|
513 |
+
background: #F2F2F2;
|
514 |
+
color: #050505;
|
515 |
+
}
|
516 |
+
.fz-form-wrap .chosen-container-multi .chosen-choices li.search-field input[type="text"]{
|
517 |
+
font-size: 16px;
|
518 |
+
color: #838383;
|
519 |
+
}
|
520 |
+
.fz-form-wrap .chosen-container-multi .chosen-choices li.search-choice{
|
521 |
+
padding: 5px 36px 5px 8px;
|
522 |
+
background: #F0F2F5;
|
523 |
+
font-weight: 500;
|
524 |
+
font-size: 14px;
|
525 |
+
line-height: 17px;
|
526 |
+
color: #050505;
|
527 |
+
border: 0;
|
528 |
+
display: flex;
|
529 |
+
align-items: center;
|
530 |
+
text-decoration: none;
|
531 |
+
-webkit-transition: all 0.3s ease-in-out;
|
532 |
+
-moz-transition: all 0.3s ease-in-out;
|
533 |
+
-o-transition: all 0.3s ease-in-out;
|
534 |
+
transition: all 0.3s ease-in-out;
|
535 |
+
}
|
536 |
+
.fz-form-wrap .chosen-container-multi .chosen-choices li.search-choice .search-choice-close{
|
537 |
+
position: absolute;
|
538 |
+
top: 50%;
|
539 |
+
right: 8px;
|
540 |
+
width: 20px;
|
541 |
+
height: 20px;
|
542 |
+
margin-top: -10px;
|
543 |
+
font-size: 20px;
|
544 |
+
color: #757575;
|
545 |
+
border: 0;
|
546 |
+
display: flex;
|
547 |
+
align-items: center;
|
548 |
+
justify-content: center;
|
549 |
+
cursor: pointer;
|
550 |
+
background: transparent;
|
551 |
+
overflow: hidden;
|
552 |
+
-webkit-border-radius: 100%;
|
553 |
+
-moz-border-radius: 100%;
|
554 |
+
border-radius: 100%;
|
555 |
+
-webkit-transition: all 0.3s ease-in-out;
|
556 |
+
-moz-transition: all 0.3s ease-in-out;
|
557 |
+
-o-transition: all 0.3s ease-in-out;
|
558 |
+
transition: all 0.3s ease-in-out;
|
559 |
+
}
|
560 |
+
.fz-form-wrap .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:after{
|
561 |
+
content: "\f335";
|
562 |
+
font-family: dashicons;
|
563 |
+
display: block;
|
564 |
+
}
|
565 |
+
.fz-form-wrap .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{
|
566 |
+
background: #D0D4D7;
|
567 |
}
|
568 |
|
569 |
+
.date-range-group{
|
570 |
+
display: flex;
|
571 |
+
align-items: flex-end;
|
572 |
+
max-width: 550px;
|
573 |
+
width: 100%;
|
574 |
+
}
|
575 |
+
.date-range-group .fz-dash{
|
576 |
+
width: 20px;
|
577 |
+
flex-shrink: 0;
|
578 |
+
margin: 0 8px;
|
579 |
+
color: #757575;
|
580 |
+
padding-bottom: 14px;
|
581 |
+
}
|
582 |
+
.date-range-group .fz-dash span{
|
583 |
display: block;
|
584 |
+
}
|
585 |
+
.date-range-group .fz-form-group{
|
586 |
+
width: calc(50% - 17px);
|
587 |
}
|
588 |
|
589 |
+
input.fz-switch-toggle[type=checkbox]{
|
590 |
+
width: 36px;
|
591 |
+
height: 18px;
|
592 |
+
color: #1E1E1E;
|
593 |
+
background: #ffffff;
|
594 |
+
border: 1px solid #1E1E1E;
|
595 |
+
border-radius: 20px;
|
596 |
+
margin-top: 0;
|
597 |
+
box-shadow: none;
|
598 |
+
position: relative;
|
599 |
+
outline: 0;
|
600 |
+
outline-offset: 0;
|
601 |
+
-webkit-transition: all 0.3s ease-in-out;
|
602 |
+
-moz-transition: all 0.3s ease-in-out;
|
603 |
+
-o-transition: all 0.3s ease-in-out;
|
604 |
+
transition: all 0.3s ease-in-out;
|
605 |
+
}
|
606 |
+
input.fz-switch-toggle[type=checkbox]:before{
|
607 |
+
content: "";
|
608 |
+
width: 12px;
|
609 |
+
height: 12px;
|
610 |
+
position: absolute;
|
611 |
+
top: 2px;
|
612 |
+
left: 3px;
|
613 |
+
background: currentColor;
|
614 |
+
border-radius: 20px;
|
615 |
+
-webkit-transition: all 0.3s ease-in-out;
|
616 |
+
-moz-transition: all 0.3s ease-in-out;
|
617 |
+
-o-transition: all 0.3s ease-in-out;
|
618 |
+
transition: all 0.3s ease-in-out;
|
619 |
+
}
|
620 |
+
input.fz-switch-toggle[type=checkbox]:focus{
|
621 |
+
outline: 1px solid #4268CF;
|
622 |
+
outline-offset: 3px;
|
623 |
+
}
|
624 |
+
input.fz-switch-toggle[type=checkbox]:checked{
|
625 |
+
background: #4268CF;
|
626 |
+
border-color: #4268CF;
|
627 |
+
color: #ffffff;
|
628 |
+
}
|
629 |
+
input.fz-switch-toggle[type=checkbox]:checked:before{
|
630 |
+
left: 19px;
|
631 |
margin: 0;
|
|
|
632 |
}
|
633 |
|
634 |
+
.fz-form-switch{
|
635 |
+
display: inline-flex;
|
636 |
+
/* flex-wrap: wrap; */
|
637 |
+
}
|
638 |
+
.fz-form-switch .fz-switch-toggle{
|
639 |
+
display: block;
|
640 |
+
flex-shrink: 0;
|
641 |
+
margin-right: 10px;
|
642 |
+
}
|
643 |
+
|
644 |
+
.fz-form-action{
|
645 |
+
display: flex;
|
646 |
+
flex-wrap: wrap;
|
647 |
+
justify-content: space-between;
|
648 |
+
}
|
649 |
+
.fz-form-action .right{
|
650 |
+
display: flex;
|
651 |
+
flex-wrap: wrap;
|
652 |
+
}
|
653 |
+
.fz-form-action .right .btn{
|
654 |
+
margin-bottom: 8px;
|
655 |
+
}
|
656 |
+
.fz-form-action .right .btn + .btn{
|
657 |
+
margin-left: 16px;
|
658 |
+
}
|
659 |
+
|
660 |
+
.locked-form-block{
|
661 |
+
pointer-events: none;
|
662 |
+
opacity: .6;
|
663 |
+
}
|
664 |
+
.locked-form-block .form-label,
|
665 |
+
.locked-form-block .help-text{
|
666 |
+
color: #C6C6C6;
|
667 |
+
}
|
668 |
+
/* feedzy form style end */
|
669 |
+
|
670 |
+
/* feedzy button style start */
|
671 |
+
.btn{
|
672 |
+
padding: 13px 20px;
|
673 |
+
font-size: 16px;
|
674 |
+
line-height: 19px;
|
675 |
+
font-weight: 500;
|
676 |
+
border-radius: 0;
|
677 |
+
border: 1px solid #000;
|
678 |
+
display: inline-block;
|
679 |
+
outline: 0;
|
680 |
+
cursor: pointer;
|
681 |
+
text-decoration: none;
|
682 |
+
text-transform: capitalize;
|
683 |
+
-webkit-transition: all 0.3s ease-in-out;
|
684 |
+
-moz-transition: all 0.3s ease-in-out;
|
685 |
+
-o-transition: all 0.3s ease-in-out;
|
686 |
+
transition: all 0.3s ease-in-out;
|
687 |
+
}
|
688 |
+
|
689 |
+
.btn.btn-icon{
|
690 |
+
width: 48px;
|
691 |
+
height: 48px;
|
692 |
+
padding: 0;
|
693 |
+
display: flex;
|
694 |
+
align-items: center;
|
695 |
+
justify-content: center;
|
696 |
+
}
|
697 |
+
|
698 |
+
.btn.btn-primary{
|
699 |
+
background: #4268CF;
|
700 |
+
border-color: #4268CF;
|
701 |
+
color: #ffffff;
|
702 |
+
}
|
703 |
+
.btn.btn-primary:hover{
|
704 |
+
background: #3458BC;
|
705 |
+
border-color: #3458BC;
|
706 |
+
}
|
707 |
+
.btn.btn-primary:focus,
|
708 |
+
.btn.btn-primary:active{
|
709 |
+
background: #213483;
|
710 |
+
border-color: #213483;
|
711 |
+
}
|
712 |
+
|
713 |
+
.btn.btn-primary.disabled{
|
714 |
+
color: #657787;
|
715 |
+
border-color: #E1E3E6;
|
716 |
+
background: #E1E3E6;
|
717 |
+
pointer-events: none;
|
718 |
+
cursor: auto;
|
719 |
+
}
|
720 |
+
|
721 |
+
.btn.btn-outline-primary{
|
722 |
+
background: transparent;
|
723 |
+
border-color: #4268CF;
|
724 |
+
color: #4268CF;
|
725 |
+
}
|
726 |
+
.btn.btn-outline-primary:hover{
|
727 |
+
/*background: transparent;
|
728 |
+
border-color: #4268CF;
|
729 |
+
color: #4268CF;*/
|
730 |
+
box-shadow: inset 0 0 0 1px #4268cf, inset 0 0 0 2px #f7f9fd;
|
731 |
+
background: #F7F9FD;
|
732 |
+
color: #4268CF;
|
733 |
+
}
|
734 |
+
.btn.btn-outline-primary:focus,
|
735 |
+
.btn.btn-outline-primary:active{
|
736 |
+
background: transparent;
|
737 |
+
border-color: #4268CF;
|
738 |
+
color: #4268CF;
|
739 |
+
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #2271b1;
|
740 |
+
}
|
741 |
+
|
742 |
+
.btn.btn-outline-primary.disabled{
|
743 |
+
color: #bcbebf;
|
744 |
+
border-color: rgba(217,217,217, .6);
|
745 |
+
pointer-events: none;
|
746 |
+
cursor: auto;
|
747 |
+
}
|
748 |
+
|
749 |
+
.btn.btn-ghost{
|
750 |
+
border-color: transparent;
|
751 |
+
background: transparent;
|
752 |
+
color: #4268CF;
|
753 |
+
}
|
754 |
+
.btn.btn-ghost:hover,
|
755 |
+
.btn.btn-ghost:focus{
|
756 |
+
background: rgba(66, 104, 207, 0.1);
|
757 |
+
color: #3458BC;
|
758 |
+
}
|
759 |
+
|
760 |
+
.btn.btn-flate{
|
761 |
+
background: #d0d9f3;
|
762 |
+
border-color: #d0d9f3;
|
763 |
+
color: #050505;
|
764 |
+
}
|
765 |
+
.btn.btn-flate:hover,
|
766 |
+
.btn.btn-flate:focus{
|
767 |
+
background: rgba(66, 104, 207, .35);
|
768 |
+
border-color: rgba(66, 104, 207, .35);
|
769 |
+
}
|
770 |
+
.fz-plus-btn{
|
771 |
+
width: 48px;
|
772 |
+
height: 48px;
|
773 |
+
display: flex;
|
774 |
+
align-items: center;
|
775 |
+
justify-content: center;
|
776 |
+
border: 0;
|
777 |
+
background: transparent;
|
778 |
+
color: #4268CF;
|
779 |
+
font-size: 20px;
|
780 |
+
cursor: pointer;
|
781 |
+
}
|
782 |
+
.fz-plus-btn:disabled{
|
783 |
+
color: #838383;
|
784 |
+
}
|
785 |
+
.btn.btn-block{
|
786 |
+
display: block;
|
787 |
+
width: 100%;
|
788 |
+
text-align: center;
|
789 |
+
}
|
790 |
+
.btn.btn-lg{
|
791 |
+
padding: 20px;
|
792 |
+
line-height: 18px;
|
793 |
}
|
794 |
|
795 |
+
.cta-text a{
|
796 |
+
display: inline-block;
|
797 |
+
font-size: 14px;
|
798 |
+
line-height: 17px;
|
799 |
+
color: #4268CF;
|
800 |
+
text-decoration: none;
|
801 |
+
outline: 0;
|
802 |
+
-webkit-transition: all 0.3s ease-in-out;
|
803 |
+
-moz-transition: all 0.3s ease-in-out;
|
804 |
+
-o-transition: all 0.3s ease-in-out;
|
805 |
+
transition: all 0.3s ease-in-out;
|
806 |
+
}
|
807 |
+
.cta-text a:hover{
|
808 |
+
color: #050505;
|
809 |
}
|
810 |
+
/* feedzy button style end */
|
811 |
+
|
812 |
|
813 |
+
/* feedzy dropdown style start */
|
814 |
+
.dropdown{
|
815 |
+
position: relative;
|
816 |
+
}
|
817 |
+
.dropdown .dropdown-menu{
|
818 |
+
position: absolute;
|
819 |
+
top: 100%;
|
820 |
+
left: 0;
|
821 |
+
margin-top: 8px;
|
822 |
+
background: #ffffff;
|
823 |
+
box-shadow: 0px 2.92287px 11.6915px rgba(0, 0, 0, 0.16);
|
824 |
+
padding: 8px;
|
825 |
+
width: 100%;
|
826 |
+
min-width: 202px;
|
827 |
+
max-height: 300px;
|
828 |
+
overflow: auto;
|
829 |
+
z-index: 12;
|
830 |
+
opacity: 0;
|
831 |
+
visibility: hidden;
|
832 |
+
-webkit-transition: all 0.3s ease-in-out;
|
833 |
+
-moz-transition: all 0.3s ease-in-out;
|
834 |
+
-o-transition: all 0.3s ease-in-out;
|
835 |
+
transition: all 0.3s ease-in-out;
|
836 |
+
}
|
837 |
+
.dropdown .dropdown-menu.dropdown-menu-right{
|
838 |
+
right: 0;
|
839 |
+
left: inherit;
|
840 |
+
}
|
841 |
+
.dropdown.open .dropdown-menu{
|
842 |
+
opacity: 1;
|
843 |
+
visibility: visible;
|
844 |
+
}
|
845 |
+
.dropdown-item{
|
846 |
+
padding: 8px;
|
847 |
+
color: #050505;
|
848 |
+
font-weight: 500;
|
849 |
+
font-size: 16px;
|
850 |
+
line-height: 19px;
|
851 |
+
display: block;
|
852 |
+
text-decoration: none;
|
853 |
+
-webkit-transition: all 0.3s ease-in-out;
|
854 |
+
-moz-transition: all 0.3s ease-in-out;
|
855 |
+
-o-transition: all 0.3s ease-in-out;
|
856 |
+
transition: all 0.3s ease-in-out;
|
857 |
+
}
|
858 |
+
.dropdown-item small{
|
859 |
+
display: block;
|
860 |
+
font-weight: 400;
|
861 |
+
font-size: 14px;
|
862 |
+
line-height: 17px;
|
863 |
+
color: #757575;
|
864 |
+
}
|
865 |
+
.dropdown-item:hover,
|
866 |
+
.dropdown-item:focus,
|
867 |
+
.dropdown-item:active{
|
868 |
+
background: #F2F2F2;
|
869 |
+
color: #050505;
|
870 |
+
}
|
871 |
+
.dropdown-item[disabled] {
|
872 |
+
opacity: 0.6;
|
873 |
}
|
874 |
+
/* feedzy dropdown style end */
|
875 |
|
876 |
+
.tag-list{
|
877 |
+
padding-top: 20px;
|
878 |
+
}
|
879 |
+
.tag-list .tagify{
|
880 |
+
border: 0;
|
881 |
+
}
|
882 |
+
.fz-form-wrap .tagify__tag{
|
883 |
+
position: relative;
|
884 |
+
margin-left: 0;
|
885 |
+
margin-right: 16px;
|
886 |
+
}
|
887 |
+
.fz-form-wrap .tagify__tag>div{
|
888 |
+
padding: 7px 8px 6px 8px;
|
889 |
+
border-radius: 0;
|
890 |
+
}
|
891 |
+
.fz-form-wrap .tagify__tag>div>*{
|
892 |
+
font-weight: 500;
|
893 |
+
font-size: 14px;
|
894 |
+
line-height: 17px;
|
895 |
+
color: #050505;
|
896 |
+
border: 0;
|
897 |
+
text-decoration: none;
|
898 |
+
}
|
899 |
+
.fz-form-wrap .tagify__tag>div::before{
|
900 |
+
box-shadow: 0 0 0 1.7em #F0F2F5 inset;
|
901 |
+
}
|
902 |
+
.fz-form-wrap .tagify__tag:focus div::before,
|
903 |
+
.fz-form-wrap .tagify__tag:hover:not([readonly]) div::before{
|
904 |
+
box-shadow: 0 0 0 1.7em #E4E6E8 inset;
|
905 |
+
left: 0;
|
906 |
+
top: 0;
|
907 |
+
right: 0;
|
908 |
+
bottom: 0;
|
909 |
+
}
|
910 |
+
.fz-form-wrap .tagify__tag__removeBtn:hover+div::before{
|
911 |
+
box-shadow: 0 0 0 1.7em #E4E6E8 inset!important;
|
912 |
+
}
|
913 |
+
.fz-form-wrap .tagify__tag__removeBtn:hover+div>span{
|
914 |
+
opacity: 1;
|
915 |
+
}
|
916 |
+
.fz-form-wrap .tagify__tag__removeBtn{
|
917 |
font-size: 20px;
|
918 |
+
line-height: 1;
|
919 |
+
width: 20px;
|
920 |
+
height: 20px;
|
921 |
+
color: #757575;
|
922 |
+
}
|
923 |
+
.fz-form-wrap .tagify__tag__removeBtn:hover{
|
924 |
+
background: #D0D4D7;
|
925 |
+
color: #757575;
|
926 |
+
}
|
927 |
+
.fz-form-wrap .tagify__tag__removeBtn::after{
|
928 |
+
content: "\f335";
|
929 |
+
font-family: 'dashicons';
|
930 |
+
font-size: 20px;
|
931 |
+
line-height: 1;
|
932 |
+
}
|
933 |
+
|
934 |
+
.no-data .help-text{
|
935 |
+
font-weight: 500;
|
936 |
+
padding-top: 0;
|
937 |
+
padding-bottom: 16px;
|
938 |
+
}
|
939 |
+
.no-data .cta-text a{
|
940 |
+
font-weight: 700;
|
941 |
+
font-size: 16px;
|
942 |
+
}
|
943 |
+
|
944 |
+
.feedzy-header{
|
945 |
+
background: #ffffff;
|
946 |
+
padding: 32px 15px;
|
947 |
+
}
|
948 |
+
.feedzy-header .feedzy-container{
|
949 |
+
display: flex;
|
950 |
+
justify-content: space-between;
|
951 |
+
align-items: center;
|
952 |
+
}
|
953 |
+
.feedzy-header .feedzy-logo{
|
954 |
+
display: flex;
|
955 |
+
align-items: center;
|
956 |
+
}
|
957 |
+
.feedzy-header .feedzy-logo .feedzy-version{
|
958 |
+
padding-right: 27px;
|
959 |
+
color: #0073AA;
|
960 |
+
font-size: 14px;
|
961 |
+
line-height: 17px;
|
962 |
+
font-weight: 700;
|
963 |
}
|
964 |
|
965 |
+
.fz-content{
|
966 |
+
padding-bottom: 22px;
|
967 |
+
}
|
968 |
+
.fz-content p{
|
969 |
font-size: 16px;
|
970 |
+
line-height: 24px;
|
971 |
+
color: #050505;
|
972 |
+
margin: 0;
|
973 |
+
}
|
974 |
+
.fz-content p a{
|
975 |
+
display: inline-block;
|
976 |
+
font-weight: 700;
|
977 |
+
color: #4268CF;
|
978 |
+
text-decoration: none;
|
979 |
+
}
|
980 |
+
|
981 |
+
/* FZ tab style start */
|
982 |
+
.fz-tabs-menu ul{
|
983 |
+
display: flex;
|
984 |
+
flex-wrap: wrap;
|
985 |
+
border-bottom: 1px solid #D9D9D9;
|
986 |
}
|
987 |
|
988 |
+
.fz-tabs-menu ul li a{
|
989 |
+
font-weight: 600;
|
990 |
+
font-size: 16px;
|
991 |
+
line-height: 19px;
|
992 |
+
color: #050505;
|
993 |
+
display: inline-block;
|
994 |
+
padding: 15px 16px;
|
995 |
+
text-decoration: none;
|
996 |
+
position: relative;
|
997 |
+
margin-bottom: 8px;
|
998 |
+
-webkit-transition: all 0.3s ease-in-out;
|
999 |
+
-moz-transition: all 0.3s ease-in-out;
|
1000 |
+
-o-transition: all 0.3s ease-in-out;
|
1001 |
+
transition: all 0.3s ease-in-out;
|
1002 |
+
}
|
1003 |
+
.fz-tabs-menu ul li a:after{
|
1004 |
+
content: "";
|
1005 |
width: 100%;
|
1006 |
+
height: 4px;
|
1007 |
+
position: absolute;
|
1008 |
+
bottom: -8px;
|
1009 |
+
left: 0;
|
1010 |
+
background: #4268CF;
|
1011 |
+
opacity: 0;
|
1012 |
+
-webkit-transition: all 0.3s ease-in-out;
|
1013 |
+
-moz-transition: all 0.3s ease-in-out;
|
1014 |
+
-o-transition: all 0.3s ease-in-out;
|
1015 |
+
transition: all 0.3s ease-in-out;
|
1016 |
+
}
|
1017 |
+
.fz-tabs-menu ul li a:not(.active):hover{
|
1018 |
+
background: rgba(66, 104, 207, .1);
|
1019 |
+
}
|
1020 |
+
.fz-tabs-menu ul li a.active{
|
1021 |
+
color: #4268CF;
|
1022 |
+
}
|
1023 |
+
.fz-tabs-menu ul li a.active:after{
|
1024 |
+
opacity: 1;
|
1025 |
+
}
|
1026 |
+
.fz-tabs-menu ul li a .pro-label{
|
1027 |
+
font-size: 10px;
|
1028 |
+
line-height: 1;
|
1029 |
+
padding: 4px 7px;
|
1030 |
+
position: relative;
|
1031 |
+
top: -7px;
|
1032 |
+
}
|
1033 |
+
.fz-tabs-menu ul li a:focus {
|
1034 |
+
color: #4268CF;
|
1035 |
+
}
|
1036 |
+
.fz-tabs-menu ul li a:focus:after {
|
1037 |
+
opacity: 1;
|
1038 |
+
}
|
1039 |
+
|
1040 |
+
.fz-tabs-content .fz-tab-content{
|
1041 |
+
display: none;
|
1042 |
}
|
1043 |
+
/* FZ tab style end */
|
1044 |
|
1045 |
+
.upgrade-alert{
|
1046 |
+
padding: 20px 50px 20px 20px;
|
1047 |
+
background: #4268CF;
|
1048 |
+
text-align: center;
|
1049 |
+
font-weight: 500;
|
1050 |
+
font-size: 16px;
|
1051 |
+
line-height: 19px;
|
1052 |
+
color: #FFFFFF;
|
1053 |
+
position: relative;
|
1054 |
+
}
|
1055 |
+
.upgrade-alert a{
|
1056 |
+
font-weight: 700;
|
1057 |
+
color: #ffffff;
|
1058 |
+
}
|
1059 |
+
.upgrade-alert .remove-alert{
|
1060 |
+
position: absolute;
|
1061 |
+
right: 18px;
|
1062 |
+
top: 50%;
|
1063 |
+
margin-top: -12px;
|
1064 |
+
width: 24px;
|
1065 |
+
height: 24px;
|
1066 |
+
background: transparent;
|
1067 |
+
border: 0;
|
1068 |
+
color: #ffffff;
|
1069 |
+
font-size: 24px;
|
1070 |
+
line-height: 1;
|
1071 |
+
cursor: pointer;
|
1072 |
+
display: flex;
|
1073 |
+
align-items: center;
|
1074 |
+
justify-content: center;
|
1075 |
+
-webkit-border-radius: 24px;
|
1076 |
+
-moz-border-radius: 24px;
|
1077 |
+
border-radius: 24px;
|
1078 |
+
-webkit-transition: background 0.3s ease-in-out;
|
1079 |
+
-moz-transition: background 0.3s ease-in-out;
|
1080 |
+
-o-transition: background 0.3s ease-in-out;
|
1081 |
+
transition: background 0.3s ease-in-out;
|
1082 |
+
}
|
1083 |
+
.upgrade-alert .remove-alert:hover{
|
1084 |
+
background: #ffffff;
|
1085 |
+
color: #4268CF;
|
1086 |
+
}
|
1087 |
|
1088 |
+
.key-value-item{
|
1089 |
+
display: flex;
|
1090 |
+
padding: 8px;
|
1091 |
+
background: #F0F2F5;
|
1092 |
+
margin-bottom: 24px;
|
1093 |
+
}
|
1094 |
+
.key-value-item .fz-form-group{
|
1095 |
+
width: 100%;
|
1096 |
+
}
|
1097 |
+
.key-value-item .key-value-arrow{
|
1098 |
+
width: 36px;
|
1099 |
+
flex-shrink: 0;
|
1100 |
+
text-align: center;
|
1101 |
+
padding-top: 15px;
|
1102 |
+
color: #757575;
|
1103 |
+
font-size: 20px;
|
1104 |
+
line-height: 1;
|
1105 |
+
}
|
1106 |
+
.key-value-item .remove-group{
|
1107 |
+
width: 40px;
|
1108 |
+
flex-shrink: 0;
|
1109 |
+
padding-top: 14px;
|
1110 |
+
padding-right: 6px;
|
1111 |
+
text-align: right;
|
1112 |
+
}
|
1113 |
+
.key-value-item .remove-group button{
|
1114 |
+
display: block;
|
1115 |
+
width: 20px;
|
1116 |
+
height: 20px;
|
1117 |
+
border: 0;
|
1118 |
+
cursor: pointer;
|
1119 |
+
margin-left: auto;
|
1120 |
+
background-color: transparent;
|
1121 |
+
background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.73755 5.36111H17.0709M16.2375 5.36111L15.515 15.5638C15.4851 15.9878 15.297 16.3846 14.9885 16.6743C14.68 16.964 14.2741 17.125 13.8525 17.125H6.95588C6.53433 17.125 6.12844 16.964 5.81995 16.6743C5.51147 16.3846 5.32331 15.9878 5.29338 15.5638L4.57088 5.36111H16.2375ZM8.73755 8.72223V13.7639V8.72223ZM12.0709 8.72223V13.7639V8.72223ZM12.9042 5.36111V2.84028C12.9042 2.61742 12.8164 2.40369 12.6601 2.24611C12.5039 2.08853 12.2919 2 12.0709 2H8.73755C8.51653 2 8.30457 2.08853 8.14829 2.24611C7.99201 2.40369 7.90422 2.61742 7.90422 2.84028V5.36111H12.9042Z' stroke='%234268CF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
|
1122 |
+
background-position: center center;
|
1123 |
+
}
|
1124 |
+
.key-value-item .remove-group button:hover{
|
1125 |
+
background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.73755 5.36111H17.0709M16.2375 5.36111L15.515 15.5638C15.4851 15.9878 15.297 16.3846 14.9885 16.6743C14.68 16.964 14.2741 17.125 13.8525 17.125H6.95588C6.53433 17.125 6.12844 16.964 5.81995 16.6743C5.51147 16.3846 5.32331 15.9878 5.29338 15.5638L4.57088 5.36111H16.2375ZM8.73755 8.72223V13.7639V8.72223ZM12.0709 8.72223V13.7639V8.72223ZM12.9042 5.36111V2.84028C12.9042 2.61742 12.8164 2.40369 12.6601 2.24611C12.5039 2.08853 12.2919 2 12.0709 2H8.73755C8.51653 2 8.30457 2.08853 8.14829 2.24611C7.99201 2.40369 7.90422 2.61742 7.90422 2.84028V5.36111H12.9042Z' stroke='%23DA1E28' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
|
1126 |
+
background-position: center center;
|
1127 |
+
}
|
1128 |
|
1129 |
+
.fz-import-field-item{
|
1130 |
+
padding-top: 40px;
|
|
|
1131 |
}
|
1132 |
|
1133 |
+
.fz-form-row{
|
1134 |
+
display: flex;
|
1135 |
+
flex-wrap: wrap;
|
1136 |
+
margin: 0 -12px;
|
1137 |
+
}
|
1138 |
+
.fz-form-row > div{
|
1139 |
+
padding-bottom: 24px;
|
1140 |
+
}
|
1141 |
+
.fz-form-row .fz-form-col-6{
|
1142 |
+
width: 50%;
|
1143 |
+
padding-left: 12px;
|
1144 |
+
padding-right: 12px;
|
1145 |
+
}
|
1146 |
+
.fz-form-row .fz-form-col-8{
|
1147 |
+
width: 66.66%;
|
1148 |
+
padding-left: 12px;
|
1149 |
+
padding-right: 12px;
|
1150 |
+
}
|
1151 |
+
.fz-form-row .fz-form-col-4{
|
1152 |
+
width: 33.34%;
|
1153 |
+
padding-left: 12px;
|
1154 |
+
padding-right: 12px;
|
1155 |
+
}
|
1156 |
|
1157 |
+
.support-box-list{
|
1158 |
+
padding: 30px 0 24px;
|
1159 |
+
}
|
1160 |
+
.support-box-list > ul{
|
1161 |
+
display: flex;
|
1162 |
+
flex-wrap: wrap;
|
1163 |
+
margin: 0 -15px;
|
1164 |
+
}
|
1165 |
+
.support-box-list > ul > li{
|
1166 |
+
width: 50%;
|
1167 |
+
padding: 0 15px 30px;
|
1168 |
+
}
|
1169 |
+
.support-box-list .cta{
|
1170 |
+
text-align: center;
|
1171 |
+
}
|
1172 |
|
1173 |
+
.support-box{
|
1174 |
+
border: 1px solid #D9D9D9;
|
1175 |
+
padding: 40px 30px 30px;
|
1176 |
+
height: 100%;
|
1177 |
+
}
|
1178 |
+
.support-box .h3{
|
1179 |
+
padding-bottom: 16px;
|
1180 |
+
}
|
1181 |
+
.support-box p{
|
1182 |
+
font-size: 16px;
|
1183 |
+
line-height: 24px;
|
1184 |
+
color: #050505;
|
1185 |
+
margin-bottom: 24px;
|
1186 |
}
|
1187 |
|
1188 |
+
.quick-link-list{
|
1189 |
+
display: flex;
|
1190 |
+
flex-wrap: wrap;
|
1191 |
+
}
|
1192 |
+
.quick-link-list ul{
|
1193 |
+
width: 50%;
|
1194 |
+
max-width: 205px;
|
1195 |
+
margin-right: 48px;
|
1196 |
+
}
|
1197 |
+
.quick-link-list ul:last-child{
|
1198 |
+
margin-right: 0;
|
1199 |
+
}
|
1200 |
+
.quick-link-list ul li{
|
1201 |
+
padding-bottom: 16px;
|
1202 |
+
margin-bottom: 16px;
|
1203 |
+
border-bottom: 1px solid #D9D9D9;
|
1204 |
+
}
|
1205 |
+
.quick-link-list ul li:last-child{
|
1206 |
+
border-bottom: 0;
|
1207 |
+
margin-bottom: 0;
|
1208 |
+
padding-bottom: 0;
|
1209 |
+
}
|
1210 |
+
.quick-link-list ul li a{
|
1211 |
+
text-decoration: none;
|
1212 |
+
display: inline-block;
|
1213 |
+
font-size: 16px;
|
1214 |
+
line-height: 19px;
|
1215 |
+
color: #2271B1;
|
1216 |
+
font-weight: 500;
|
1217 |
+
}
|
1218 |
|
1219 |
+
.need-help-box.feedzy-accordion-item .feedzy-accordion-item__content{
|
1220 |
+
padding-top: 30px;
|
1221 |
+
padding-bottom: 30px;
|
1222 |
+
text-align: center;
|
1223 |
+
}
|
1224 |
+
.need-help-box.feedzy-accordion-item .h3{
|
1225 |
+
padding-bottom: 16px;
|
1226 |
+
}
|
1227 |
+
.need-help-box.feedzy-accordion-item p{
|
1228 |
+
max-width: 639px;
|
1229 |
+
margin: 0 auto 24px;
|
1230 |
+
font-size: 16px;
|
1231 |
+
line-height: 24px;
|
1232 |
+
color: #050505;
|
1233 |
+
}
|
1234 |
+
.need-help-box.feedzy-accordion-item p a{
|
1235 |
+
text-decoration: none;
|
1236 |
+
display: inline-block;
|
1237 |
+
color: #4268CF;
|
1238 |
+
}
|
1239 |
|
1240 |
+
.fz-document-list{
|
1241 |
+
padding: 30px 0 10px;
|
1242 |
+
}
|
1243 |
+
.fz-document-list > .cta{
|
1244 |
+
text-align: center;
|
1245 |
+
}
|
1246 |
+
.fz-document-list > ul{
|
1247 |
+
display: flex;
|
1248 |
+
flex-wrap: wrap;
|
1249 |
+
margin: 0 -15px;
|
1250 |
+
}
|
1251 |
+
.fz-document-list > ul > li{
|
1252 |
+
width: 33.33%;
|
1253 |
+
padding: 0 15px 30px;
|
1254 |
}
|
1255 |
|
1256 |
+
.fz-document-box{
|
1257 |
+
height: 100%;
|
1258 |
+
border: 1px solid #D9D9D9;
|
1259 |
+
}
|
1260 |
+
.fz-document-box-img{
|
1261 |
+
padding: 30px;
|
1262 |
+
background: #F0F2F5;
|
1263 |
+
}
|
1264 |
+
.fz-document-box-img img{
|
1265 |
width: 100%;
|
1266 |
+
max-width: 100%;
|
1267 |
+
display: block;
|
1268 |
+
}
|
1269 |
+
.fz-document-box-content{
|
1270 |
+
padding: 24px 30px 30px;
|
1271 |
+
}
|
1272 |
+
.fz-document-box-content .h3{
|
1273 |
+
padding-bottom: 16px;
|
1274 |
+
}
|
1275 |
+
.fz-document-box-content p{
|
1276 |
+
font-size: 16px;
|
1277 |
+
line-height: 24px;
|
1278 |
+
color: #050505;
|
1279 |
+
margin-bottom: 24px;
|
1280 |
+
}
|
1281 |
+
|
1282 |
+
.fz-help-improve-wrap{
|
1283 |
+
padding: 30px 0 24px;
|
1284 |
+
}
|
1285 |
+
.fz-help-improve-box{
|
1286 |
+
display: flex;
|
1287 |
+
flex-wrap: wrap;
|
1288 |
+
flex-direction: row-reverse;
|
1289 |
+
border: 1px solid #D9D9D9;
|
1290 |
+
}
|
1291 |
+
.fz-help-improve-box .left{
|
1292 |
+
width: calc(100% - 320px);
|
1293 |
+
padding: 30px;
|
1294 |
+
}
|
1295 |
+
.fz-help-improve-box .left p{
|
1296 |
+
font-size: 16px;
|
1297 |
+
line-height: 24px;
|
1298 |
+
color: #050505;
|
1299 |
+
margin-bottom: 24px;
|
1300 |
+
max-width: 710px;
|
1301 |
+
}
|
1302 |
+
.fz-help-improve-box .right{
|
1303 |
+
width: 320px;
|
1304 |
+
padding: 18px;
|
1305 |
+
background-color: #F5F7F9;
|
1306 |
+
display: flex;
|
1307 |
+
align-items: center;
|
1308 |
+
justify-content: center;
|
1309 |
+
}
|
1310 |
+
|
1311 |
+
.fz-pro-features-wrap{
|
1312 |
+
padding: 30px 0;
|
1313 |
+
}
|
1314 |
+
.fz-pro-features-wrap .h2{
|
1315 |
+
padding-bottom: 24px;
|
1316 |
}
|
1317 |
|
1318 |
+
.fz-pro-features-table-row{
|
1319 |
+
display: flex;
|
1320 |
+
flex-wrap: wrap;
|
1321 |
+
}
|
1322 |
+
.fz-pro-features-table-row .features-info{
|
1323 |
+
width: calc(100% - 280px);
|
1324 |
+
}
|
1325 |
+
.fz-pro-features-table-row .free,
|
1326 |
+
.fz-pro-features-table-row .pro{
|
1327 |
+
width: 140px;
|
1328 |
+
flex-shrink: 0;
|
1329 |
text-align: center;
|
1330 |
+
display: flex;
|
1331 |
+
align-items: center;
|
1332 |
+
justify-content: center;
|
1333 |
+
}
|
1334 |
+
.fz-pro-features-table-row .free .dashicons,
|
1335 |
+
.fz-pro-features-table-row .pro .dashicons{
|
1336 |
+
font-size: 30px;
|
1337 |
+
width: 30px;
|
1338 |
+
height: 30px;
|
1339 |
+
}
|
1340 |
+
.fz-pro-features-table-row .free .dashicons{
|
1341 |
+
color: #E18E8E;
|
1342 |
+
}
|
1343 |
+
.fz-pro-features-table-row .pro .dashicons{
|
1344 |
+
color: #689F38;
|
1345 |
}
|
1346 |
|
1347 |
+
.fz-pro-features-table-header .fz-pro-features-table-row{
|
1348 |
+
font-size: 20px;
|
1349 |
font-weight: 700;
|
1350 |
+
color: #757575;
|
1351 |
+
padding-bottom: 16px;
|
1352 |
+
}
|
1353 |
+
.fz-pro-features-table-body{
|
1354 |
+
border-top: 1px solid #D9D9D9;
|
1355 |
+
border-left: 1px solid #D9D9D9;
|
1356 |
+
}
|
1357 |
+
.fz-pro-features-table-body .fz-pro-features-table-row li{
|
1358 |
+
border-bottom: 1px solid #D9D9D9;
|
1359 |
+
border-right: 1px solid #D9D9D9;
|
1360 |
+
padding: 28px 44px;
|
1361 |
+
}
|
1362 |
+
.fz-pro-features-table-body .fz-pro-features-table-row:nth-child(2n){
|
1363 |
+
background: #F5F7F9;
|
1364 |
}
|
1365 |
|
1366 |
+
.fz-pro-features-table-row .features-info .h3{
|
1367 |
+
padding-bottom: 16px;
|
1368 |
+
}
|
1369 |
+
.fz-pro-features-table-row .features-info p{
|
1370 |
+
font-size: 16px;
|
1371 |
+
line-height: 24px;
|
1372 |
+
color: #757575;
|
1373 |
+
margin-bottom: 0;
|
1374 |
+
max-width: 748px;
|
1375 |
}
|
1376 |
|
1377 |
+
.fz-pro-features-table-row .pro-label{
|
1378 |
+
text-transform: none;
|
1379 |
+
}
|
1380 |
+
.post-type-feedzy_categories #minor-publishing #save-action .button {
|
1381 |
+
background: transparent;
|
1382 |
+
border-color: #4268CF;
|
1383 |
+
color: #4268CF;
|
1384 |
+
text-transform: capitalize;
|
1385 |
+
-webkit-transition: all 0.3s ease-in-out;
|
1386 |
+
-moz-transition: all 0.3s ease-in-out;
|
1387 |
+
-o-transition: all 0.3s ease-in-out;
|
1388 |
+
transition: all 0.3s ease-in-out;
|
1389 |
+
}
|
1390 |
+
.post-type-feedzy_categories #minor-publishing #save-action .button:hover {
|
1391 |
+
box-shadow: inset 0 0 0 1px #4268cf, inset 0 0 0 2px #f7f9fd;
|
1392 |
+
background: #F7F9FD;
|
1393 |
+
color: #4268CF;
|
1394 |
+
}
|
1395 |
+
.post-type-feedzy_categories #minor-publishing #save-action .button:focus {
|
1396 |
+
background: transparent;
|
1397 |
+
border-color: #4268CF;
|
1398 |
+
color: #4268CF;
|
1399 |
+
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #2271b1;
|
1400 |
}
|
1401 |
|
1402 |
+
.post-type-feedzy_categories a {
|
1403 |
+
color: #4268CF;
|
1404 |
}
|
1405 |
+
|
1406 |
+
.post-type-feedzy_categories.wp-core-ui .button-primary,
|
1407 |
+
.post-type-feedzy_categories.wp-core-ui .button-primary.active,
|
1408 |
+
.post-type-feedzy_categories.wp-core-ui .button-primary:active{
|
1409 |
+
background: #4268CF;
|
1410 |
+
border-color: #4268CF;
|
1411 |
+
color: #fff;
|
1412 |
+
-webkit-transition: all 0.3s ease-in-out;
|
1413 |
+
-moz-transition: all 0.3s ease-in-out;
|
1414 |
+
-o-transition: all 0.3s ease-in-out;
|
1415 |
+
transition: all 0.3s ease-in-out;
|
1416 |
+
}
|
1417 |
+
.post-type-feedzy_categories.wp-core-ui .button-primary:hover{
|
1418 |
+
background: #3458BC;
|
1419 |
+
border-color: #3458BC;
|
1420 |
+
}
|
1421 |
+
.post-type-feedzy_categories.wp-core-ui .button-primary:focus{
|
1422 |
+
background: #213483;
|
1423 |
+
border-color: #213483;
|
1424 |
+
}
|
1425 |
+
|
1426 |
+
.post-type-feedzy_categories #titlediv #title:focus,
|
1427 |
+
.post-type-feedzy_categories .widefat:focus{
|
1428 |
+
border-color: #4268CF;
|
1429 |
+
}
|
feedzy-rss-feed.php
CHANGED
@@ -13,9 +13,9 @@
|
|
13 |
*
|
14 |
* @wordpress-plugin
|
15 |
* Plugin Name: Feedzy RSS Feeds Lite
|
16 |
-
* Plugin URI: https://themeisle.com/plugins/feedzy-rss-feeds
|
17 |
* Description: A small and lightweight RSS aggregator plugin. Fast and very easy to use, it allows you to aggregate multiple RSS feeds into your WordPress site through fully customizable shortcodes & widgets.
|
18 |
-
* Version:
|
19 |
* Author: Themeisle
|
20 |
* Author URI: http://themeisle.com
|
21 |
* License: GPL-2.0+
|
@@ -40,7 +40,7 @@ function activate_feedzy_rss_feeds() {
|
|
40 |
|
41 |
/**
|
42 |
* The code that runs during plugin deactivation.
|
43 |
-
* This action is
|
44 |
*
|
45 |
* @since 3.0.0
|
46 |
*/
|
@@ -51,7 +51,7 @@ function deactivate_feedzy_rss_feeds() {
|
|
51 |
register_activation_hook( __FILE__, 'activate_feedzy_rss_feeds' );
|
52 |
register_deactivation_hook( __FILE__, 'deactivate_feedzy_rss_feeds' );
|
53 |
/**
|
54 |
-
* The function
|
55 |
*
|
56 |
* @since 3.0.0
|
57 |
*/
|
@@ -87,6 +87,12 @@ function feedzy_rss_feeds_autoload( $class ) {
|
|
87 |
if ( is_readable( $filename ) ) {
|
88 |
require_once $filename;
|
89 |
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
return true;
|
91 |
}
|
92 |
}
|
@@ -105,9 +111,9 @@ function feedzy_rss_feeds_autoload( $class ) {
|
|
105 |
*
|
106 |
* Since everything within the plugin is registered via hooks,
|
107 |
* then kicking off the plugin from this point in the file does
|
108 |
-
* not affect the page life cycle.
|
109 |
*
|
110 |
-
* @since 3.0.0
|
111 |
*/
|
112 |
function run_feedzy_rss_feeds() {
|
113 |
define( 'FEEDZY_BASEFILE', __FILE__ );
|
@@ -136,7 +142,8 @@ function run_feedzy_rss_feeds() {
|
|
136 |
add_filter( 'themeisle_sdk_products', 'feedzy_register_sdk', 10, 1 );
|
137 |
add_filter( 'pirate_parrot_log', 'feedzy_register_parrot', 10, 1 );
|
138 |
|
139 |
-
define( '
|
|
|
140 |
|
141 |
}
|
142 |
|
13 |
*
|
14 |
* @wordpress-plugin
|
15 |
* Plugin Name: Feedzy RSS Feeds Lite
|
16 |
+
* Plugin URI: https://themeisle.com/plugins/feedzy-rss-feeds/
|
17 |
* Description: A small and lightweight RSS aggregator plugin. Fast and very easy to use, it allows you to aggregate multiple RSS feeds into your WordPress site through fully customizable shortcodes & widgets.
|
18 |
+
* Version: 4.0.0
|
19 |
* Author: Themeisle
|
20 |
* Author URI: http://themeisle.com
|
21 |
* License: GPL-2.0+
|
40 |
|
41 |
/**
|
42 |
* The code that runs during plugin deactivation.
|
43 |
+
* This action is documented in includes/feedzy-rss-feeds-deactivator.php
|
44 |
*
|
45 |
* @since 3.0.0
|
46 |
*/
|
51 |
register_activation_hook( __FILE__, 'activate_feedzy_rss_feeds' );
|
52 |
register_deactivation_hook( __FILE__, 'deactivate_feedzy_rss_feeds' );
|
53 |
/**
|
54 |
+
* The function thast will handle the queue for autoloader.
|
55 |
*
|
56 |
* @since 3.0.0
|
57 |
*/
|
87 |
if ( is_readable( $filename ) ) {
|
88 |
require_once $filename;
|
89 |
|
90 |
+
return true;
|
91 |
+
}
|
92 |
+
$filename = plugin_dir_path( __FILE__ ) . 'includes/elementor/' . str_replace( '_', '-', strtolower( $class ) ) . '.php';
|
93 |
+
if ( is_readable( $filename ) ) {
|
94 |
+
require_once $filename;
|
95 |
+
|
96 |
return true;
|
97 |
}
|
98 |
}
|
111 |
*
|
112 |
* Since everything within the plugin is registered via hooks,
|
113 |
* then kicking off the plugin from this point in the file does
|
114 |
+
* not affect the page life cycle.s
|
115 |
*
|
116 |
+
* @since 3.0.0.
|
117 |
*/
|
118 |
function run_feedzy_rss_feeds() {
|
119 |
define( 'FEEDZY_BASEFILE', __FILE__ );
|
142 |
add_filter( 'themeisle_sdk_products', 'feedzy_register_sdk', 10, 1 );
|
143 |
add_filter( 'pirate_parrot_log', 'feedzy_register_parrot', 10, 1 );
|
144 |
|
145 |
+
define( 'FEEDZY_SURVEY_PRO', 'https://forms.gle/FZXhL3D48KJUhb7q9' );
|
146 |
+
define( 'FEEDZY_SURVEY_FREE', 'https://forms.gle/yQUGSrKEa7XJTGLx8' );
|
147 |
|
148 |
}
|
149 |
|
form/form.php
CHANGED
@@ -21,7 +21,7 @@ $html_parts = Feedzy_Rss_Feeds_Ui_Lang::get_form_elements();
|
|
21 |
<meta http-equiv="cache-control" content="no-cache"/>
|
22 |
<meta http-equiv="expires" content="0"/>
|
23 |
<meta http-equiv="pragma" content="no-cache"/>
|
24 |
-
<?php echo sprintf( '<link rel="stylesheet" href="%s" type="text/css" media="all"/>', esc_url( FEEDZY_ABSURL . 'css/form.css?h=' .
|
25 |
</head>
|
26 |
<body>
|
27 |
<div class="feedzy-popup-form container">
|
21 |
<meta http-equiv="cache-control" content="no-cache"/>
|
22 |
<meta http-equiv="expires" content="0"/>
|
23 |
<meta http-equiv="pragma" content="no-cache"/>
|
24 |
+
<?php echo sprintf( '<link rel="stylesheet" href="%s" type="text/css" media="all"/>', esc_url( FEEDZY_ABSURL . 'css/form.css?h=' . gmdate( 'dmYHis' ) ) ); //phpcs:ignore WordPress.WP.EnqueuedResources.NonEnqueuedStylesheet ?>
|
25 |
</head>
|
26 |
<body>
|
27 |
<div class="feedzy-popup-form container">
|
img/dark-feedzy-logo.png
ADDED
Binary file
|
img/dark-mode-default.png
ADDED
Binary file
|
img/dark-mode-style1.png
ADDED
Binary file
|
img/dark-mode-style2.png
ADDED
Binary file
|
img/el-lock.png
ADDED
Binary file
|
img/feed-to-post.jpg
ADDED
Binary file
|
img/feedzy-default-template.jpg
DELETED
Binary file
|
img/feedzy-default-template.png
ADDED
Binary file
|
img/feedzy-demo.jpg
ADDED
Binary file
|
img/feedzy-style1-template.jpg
DELETED
Binary file
|
img/feedzy-style1-template.png
ADDED
Binary file
|
img/feedzy-style2-template.jpg
DELETED
Binary file
|
img/feedzy-style2-template.png
ADDED
Binary file
|
img/improve-feedzy.png
ADDED
Binary file
|
img/in-feedzy.jpg
ADDED
Binary file
|
img/light-feedzy-logo.png
ADDED
Binary file
|
img/light-mode-default.png
ADDED
Binary file
|
img/light-mode-style1.png
ADDED
Binary file
|
img/light-mode-style2.png
ADDED
Binary file
|
img/rephrase-feeds-content.jpg
ADDED
Binary file
|
img/shortcode.jpg
ADDED
Binary file
|
img/validate-RSS-feed.jpg
ADDED
Binary file
|
includes/abstract/feedzy-rss-feeds-admin-abstract.php
CHANGED
@@ -41,14 +41,14 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
|
|
41 |
*/
|
42 |
public function feedzy_define_default_image( $default_img ) {
|
43 |
$doing_import_job = false;
|
44 |
-
|
45 |
-
if ( wp_doing_ajax() && ! empty( $_POST['_action'] ) && 'run_now' === $_POST['_action'] ) {
|
46 |
$doing_import_job = true;
|
47 |
}
|
48 |
if ( ! $doing_import_job && empty( $default_img ) ) {
|
49 |
$settings = apply_filters( 'feedzy_get_settings', array() );
|
50 |
if ( $settings && ! empty( $settings['general']['default-thumbnail-id'] ) ) {
|
51 |
-
$default_img = wp_get_attachment_image( $
|
52 |
} else {
|
53 |
$default_img = FEEDZY_ABSURL . 'img/feedzy.svg';
|
54 |
}
|
@@ -311,7 +311,7 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
|
|
311 |
if ( ! empty( $keywords ) ) {
|
312 |
$continue = false;
|
313 |
if ( ! empty( $inc_on ) ) {
|
314 |
-
$continue = $this->feedzy_feed_item_keywords_by( $
|
315 |
} else {
|
316 |
if ( preg_match( "/^$keywords.*$/i", $item->get_title() ) || preg_match( "/^$keywords.*$/i", $item->get_description() ) ) {
|
317 |
$continue = true;
|
@@ -323,7 +323,7 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
|
|
323 |
if ( ! empty( $keywords ) ) {
|
324 |
$continue = false;
|
325 |
if ( ! empty( $inc_on ) ) {
|
326 |
-
$continue = $this->feedzy_feed_item_keywords_by( $
|
327 |
} else {
|
328 |
if ( preg_match( "/^$keywords.*$/i", $item->get_title() ) ) {
|
329 |
$continue = true;
|
@@ -336,7 +336,7 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
|
|
336 |
$keywords = $sc['keywords_exc'];
|
337 |
if ( ! empty( $keywords ) ) {
|
338 |
if ( ! empty( $exc_on ) ) {
|
339 |
-
$exc_item = $this->feedzy_feed_item_keywords_by( $
|
340 |
if ( $exc_item ) {
|
341 |
$continue = false;
|
342 |
}
|
@@ -350,7 +350,7 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
|
|
350 |
$keywords = $sc['keywords_ban'];
|
351 |
if ( ! empty( $keywords ) ) {
|
352 |
if ( ! empty( $exc_on ) ) {
|
353 |
-
$keywords_ban = $this->feedzy_feed_item_keywords_by( $
|
354 |
if ( $keywords_ban ) {
|
355 |
$continue = false;
|
356 |
}
|
@@ -495,7 +495,7 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
|
|
495 |
return $feed;
|
496 |
}
|
497 |
$sc = $this->sanitize_attr( $sc, $feed_url );
|
498 |
-
$content = $this->render_content( $sc, $feed, $
|
499 |
|
500 |
return $content;
|
501 |
}
|
@@ -541,7 +541,7 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
|
|
541 |
return $feed;
|
542 |
}
|
543 |
$sc = $this->sanitize_attr( $sc, $feed_url );
|
544 |
-
$content = $this->render_content( $sc, $feed, ''
|
545 |
|
546 |
// save the content as a transient so that whenever the feed is refreshed next, this stale content is displayed first.
|
547 |
set_transient( sprintf( 'feedzy-lazy-%s', ( is_array( $feed_url ) ? implode( ',', $feed_url ) : $feed_url ) ), $content, apply_filters( 'feedzy_lazyload_cache_time', DAY_IN_SECONDS, $feed_url ) );
|
@@ -698,7 +698,7 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
|
|
698 |
*
|
699 |
* @return SimplePie|string|void|WP_Error The feed resource.
|
700 |
*/
|
701 |
-
public function fetch_feed( $feed_url, $cache = '12_hours', $sc ) {
|
702 |
// Load SimplePie if not already.
|
703 |
do_action( 'feedzy_pre_http_setup', $feed_url );
|
704 |
|
@@ -826,7 +826,7 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
|
|
826 |
|
827 |
// to avoid the Warning! Non-numeric value encountered. This can be removed once SimplePie in core is fixed.
|
828 |
if ( version_compare( phpversion(), '7.1', '>=' ) ) {
|
829 |
-
error_reporting( E_ALL
|
830 |
// reset the error_reporting back to its original value.
|
831 |
add_action(
|
832 |
'shutdown',
|
@@ -946,8 +946,7 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
|
|
946 |
if ( $feed->error() ) {
|
947 |
return false;
|
948 |
}
|
949 |
-
//
|
950 |
-
if ( isset( $_POST['feedzy_meta_data']['import_link_author_admin'] ) && 'yes' === $_POST['feedzy_meta_data']['import_link_author_admin'] ) {
|
951 |
if ( $feed->get_items() ) {
|
952 |
$author = $feed->get_items()[0]->get_author();
|
953 |
if ( empty( $author ) ) {
|
@@ -1027,12 +1026,12 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
|
|
1027 |
*
|
1028 |
* @param array $sc The shorcode attributes array.
|
1029 |
* @param object $feed The feed object.
|
1030 |
-
* @param string $content The original content.
|
1031 |
* @param string $feed_url The feed url.
|
|
|
1032 |
*
|
1033 |
* @return string
|
1034 |
*/
|
1035 |
-
private function render_content( $sc, $feed, $content = ''
|
1036 |
$count = 0;
|
1037 |
$sizes = array(
|
1038 |
'width' => $sc['size'],
|
@@ -1205,12 +1204,31 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
|
|
1205 |
$feed = trim( $feed );
|
1206 |
// scheme-less URLs.
|
1207 |
if ( strpos( $feed, 'http' ) !== 0 ) {
|
1208 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1209 |
}
|
1210 |
-
|
1211 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1212 |
} else {
|
1213 |
-
|
|
|
|
|
|
|
|
|
1214 |
}
|
1215 |
}
|
1216 |
if ( count( $feed_url ) === 1 ) {
|
@@ -1472,6 +1490,7 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
|
|
1472 |
'item_description' => $content_summary,
|
1473 |
'item_content' => apply_filters( 'feedzy_content', $item_content, $item ),
|
1474 |
'item_source' => $feed_source,
|
|
|
1475 |
);
|
1476 |
$item_array = apply_filters( 'feedzy_item_filter', $item_array, $item, $sc, $index, $item_index );
|
1477 |
|
@@ -1505,6 +1524,10 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
|
|
1505 |
foreach ( (array) $enclosures as $enclosure ) {
|
1506 |
// Item thumbnail.
|
1507 |
$thumbnail = $enclosure->get_thumbnail();
|
|
|
|
|
|
|
|
|
1508 |
if ( $thumbnail ) {
|
1509 |
$the_thumbnail = $thumbnail;
|
1510 |
}
|
@@ -1673,6 +1696,7 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
|
|
1673 |
'mrgreen.png',
|
1674 |
'rolleyes.png',
|
1675 |
'simple-smile.png',
|
|
|
1676 |
);
|
1677 |
|
1678 |
return apply_filters( 'feedzy_feed_blacklist_images', $blacklist );
|
@@ -1772,13 +1796,13 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
|
|
1772 |
/**
|
1773 |
* Keyword filter in multiple fields.
|
1774 |
*
|
|
|
1775 |
* @param string $filter_by Filter by.
|
1776 |
* @param string $keywords Keywords.
|
1777 |
-
* @param object $item The feed item.
|
1778 |
*
|
1779 |
* @return bool
|
1780 |
*/
|
1781 |
-
public function feedzy_feed_item_keywords_by( $filter_by = '', $keywords = '', $
|
1782 |
$is_valid = false;
|
1783 |
|
1784 |
if ( empty( $filter_by ) ) {
|
41 |
*/
|
42 |
public function feedzy_define_default_image( $default_img ) {
|
43 |
$doing_import_job = false;
|
44 |
+
|
45 |
+
if ( wp_doing_ajax() && ! empty( $_POST['_action'] ) && 'run_now' === $_POST['_action'] ) {// phpcs:ignore WordPress.Security.NonceVerification
|
46 |
$doing_import_job = true;
|
47 |
}
|
48 |
if ( ! $doing_import_job && empty( $default_img ) ) {
|
49 |
$settings = apply_filters( 'feedzy_get_settings', array() );
|
50 |
if ( $settings && ! empty( $settings['general']['default-thumbnail-id'] ) ) {
|
51 |
+
$default_img = wp_get_attachment_image( $settings['general']['default-thumbnail-id'], 'full' );
|
52 |
} else {
|
53 |
$default_img = FEEDZY_ABSURL . 'img/feedzy.svg';
|
54 |
}
|
311 |
if ( ! empty( $keywords ) ) {
|
312 |
$continue = false;
|
313 |
if ( ! empty( $inc_on ) ) {
|
314 |
+
$continue = $this->feedzy_feed_item_keywords_by( $item, $inc_on, $keywords, $sc );
|
315 |
} else {
|
316 |
if ( preg_match( "/^$keywords.*$/i", $item->get_title() ) || preg_match( "/^$keywords.*$/i", $item->get_description() ) ) {
|
317 |
$continue = true;
|
323 |
if ( ! empty( $keywords ) ) {
|
324 |
$continue = false;
|
325 |
if ( ! empty( $inc_on ) ) {
|
326 |
+
$continue = $this->feedzy_feed_item_keywords_by( $item, $inc_on, $keywords, $sc );
|
327 |
} else {
|
328 |
if ( preg_match( "/^$keywords.*$/i", $item->get_title() ) ) {
|
329 |
$continue = true;
|
336 |
$keywords = $sc['keywords_exc'];
|
337 |
if ( ! empty( $keywords ) ) {
|
338 |
if ( ! empty( $exc_on ) ) {
|
339 |
+
$exc_item = $this->feedzy_feed_item_keywords_by( $item, $exc_on, $keywords, $sc );
|
340 |
if ( $exc_item ) {
|
341 |
$continue = false;
|
342 |
}
|
350 |
$keywords = $sc['keywords_ban'];
|
351 |
if ( ! empty( $keywords ) ) {
|
352 |
if ( ! empty( $exc_on ) ) {
|
353 |
+
$keywords_ban = $this->feedzy_feed_item_keywords_by( $item, $exc_on, $keywords, $sc );
|
354 |
if ( $keywords_ban ) {
|
355 |
$continue = false;
|
356 |
}
|
495 |
return $feed;
|
496 |
}
|
497 |
$sc = $this->sanitize_attr( $sc, $feed_url );
|
498 |
+
$content = $this->render_content( $sc, $feed, $feed_url, $content );
|
499 |
|
500 |
return $content;
|
501 |
}
|
541 |
return $feed;
|
542 |
}
|
543 |
$sc = $this->sanitize_attr( $sc, $feed_url );
|
544 |
+
$content = $this->render_content( $sc, $feed, $feed_url, '' );
|
545 |
|
546 |
// save the content as a transient so that whenever the feed is refreshed next, this stale content is displayed first.
|
547 |
set_transient( sprintf( 'feedzy-lazy-%s', ( is_array( $feed_url ) ? implode( ',', $feed_url ) : $feed_url ) ), $content, apply_filters( 'feedzy_lazyload_cache_time', DAY_IN_SECONDS, $feed_url ) );
|
698 |
*
|
699 |
* @return SimplePie|string|void|WP_Error The feed resource.
|
700 |
*/
|
701 |
+
public function fetch_feed( $feed_url, $cache = '12_hours', $sc = '' ) {
|
702 |
// Load SimplePie if not already.
|
703 |
do_action( 'feedzy_pre_http_setup', $feed_url );
|
704 |
|
826 |
|
827 |
// to avoid the Warning! Non-numeric value encountered. This can be removed once SimplePie in core is fixed.
|
828 |
if ( version_compare( phpversion(), '7.1', '>=' ) ) {
|
829 |
+
error_reporting( E_ALL & ~E_WARNING & ~E_DEPRECATED );
|
830 |
// reset the error_reporting back to its original value.
|
831 |
add_action(
|
832 |
'shutdown',
|
946 |
if ( $feed->error() ) {
|
947 |
return false;
|
948 |
}
|
949 |
+
if ( isset( $_POST['feedzy_meta_data']['import_link_author_admin'] ) && 'yes' === $_POST['feedzy_meta_data']['import_link_author_admin'] ) { //phpcs:ignore WordPress.Security.NonceVerification
|
|
|
950 |
if ( $feed->get_items() ) {
|
951 |
$author = $feed->get_items()[0]->get_author();
|
952 |
if ( empty( $author ) ) {
|
1026 |
*
|
1027 |
* @param array $sc The shorcode attributes array.
|
1028 |
* @param object $feed The feed object.
|
|
|
1029 |
* @param string $feed_url The feed url.
|
1030 |
+
* @param string $content The original content.
|
1031 |
*
|
1032 |
* @return string
|
1033 |
*/
|
1034 |
+
private function render_content( $sc, $feed, $feed_url, $content = '' ) {
|
1035 |
$count = 0;
|
1036 |
$sizes = array(
|
1037 |
'width' => $sc['size'],
|
1204 |
$feed = trim( $feed );
|
1205 |
// scheme-less URLs.
|
1206 |
if ( strpos( $feed, 'http' ) !== 0 ) {
|
1207 |
+
$is_feedzy_category = get_page_by_path( $feed, OBJECT, 'feedzy_categories' );
|
1208 |
+
if ( $is_feedzy_category ) {
|
1209 |
+
$category_feed = get_post_meta( $is_feedzy_category->ID, 'feedzy_category_feed', true );
|
1210 |
+
if ( ! empty( $category_feed ) ) {
|
1211 |
+
$feed = $this->get_feed_url( $category_feed );
|
1212 |
+
}
|
1213 |
+
} else {
|
1214 |
+
$feed = 'http://' . $feed;
|
1215 |
+
}
|
1216 |
}
|
1217 |
+
|
1218 |
+
if ( is_array( $feed ) ) {
|
1219 |
+
foreach ( $feed as $f ) {
|
1220 |
+
if ( FEEDZY_ALLOW_HTTPS ) {
|
1221 |
+
$feed_url[] = $f;
|
1222 |
+
} else {
|
1223 |
+
$feed_url[] = preg_replace( '/^https:/i', 'http:', $f );
|
1224 |
+
}
|
1225 |
+
}
|
1226 |
} else {
|
1227 |
+
if ( FEEDZY_ALLOW_HTTPS ) {
|
1228 |
+
$feed_url[] = $feed;
|
1229 |
+
} else {
|
1230 |
+
$feed_url[] = preg_replace( '/^https:/i', 'http:', $feed );
|
1231 |
+
}
|
1232 |
}
|
1233 |
}
|
1234 |
if ( count( $feed_url ) === 1 ) {
|
1490 |
'item_description' => $content_summary,
|
1491 |
'item_content' => apply_filters( 'feedzy_content', $item_content, $item ),
|
1492 |
'item_source' => $feed_source,
|
1493 |
+
'item_full_description' => $item->get_description(),
|
1494 |
);
|
1495 |
$item_array = apply_filters( 'feedzy_item_filter', $item_array, $item, $sc, $index, $item_index );
|
1496 |
|
1524 |
foreach ( (array) $enclosures as $enclosure ) {
|
1525 |
// Item thumbnail.
|
1526 |
$thumbnail = $enclosure->get_thumbnail();
|
1527 |
+
$medium = $enclosure->get_medium();
|
1528 |
+
if ( in_array( $medium, array( 'video' ), true ) ) {
|
1529 |
+
break;
|
1530 |
+
}
|
1531 |
if ( $thumbnail ) {
|
1532 |
$the_thumbnail = $thumbnail;
|
1533 |
}
|
1696 |
'mrgreen.png',
|
1697 |
'rolleyes.png',
|
1698 |
'simple-smile.png',
|
1699 |
+
'//s.w.org/images/core/emoji/',
|
1700 |
);
|
1701 |
|
1702 |
return apply_filters( 'feedzy_feed_blacklist_images', $blacklist );
|
1796 |
/**
|
1797 |
* Keyword filter in multiple fields.
|
1798 |
*
|
1799 |
+
* @param object $item The feed item.
|
1800 |
* @param string $filter_by Filter by.
|
1801 |
* @param string $keywords Keywords.
|
|
|
1802 |
*
|
1803 |
* @return bool
|
1804 |
*/
|
1805 |
+
public function feedzy_feed_item_keywords_by( $item, $filter_by = '', $keywords = '', $sc = array() ) {
|
1806 |
$is_valid = false;
|
1807 |
|
1808 |
if ( empty( $filter_by ) ) {
|
includes/admin/feedzy-rss-feeds-admin.php
CHANGED
@@ -159,16 +159,18 @@ class Feedzy_Rss_Feeds_Admin extends Feedzy_Rss_Feeds_Admin_Abstract {
|
|
159 |
);
|
160 |
}
|
161 |
|
162 |
-
if ( in_array( $screen->base, array( 'post' ), true ) ) {
|
163 |
-
wp_enqueue_style( $this->plugin_name . '-admin', FEEDZY_ABSURL . 'css/admin.css', array(), $this->version, 'all' );
|
164 |
-
}
|
165 |
-
|
166 |
$upsell_screens = array( 'feedzy-rss_page_feedzy-settings', 'feedzy-rss_page_feedzy-admin-menu-pro-upsell' );
|
|
|
|
|
|
|
|
|
|
|
|
|
167 |
|
168 |
if ( ! in_array( $screen->base, $upsell_screens, true ) && strpos( $screen->id, 'feedzy' ) === false ) {
|
169 |
return;
|
170 |
}
|
171 |
-
wp_enqueue_style( $this->plugin_name . '-settings', FEEDZY_ABSURL . 'css/settings.css',
|
172 |
wp_enqueue_style( $this->plugin_name . '-metabox', FEEDZY_ABSURL . 'css/metabox-settings.css', array( $this->plugin_name . '-settings' ), $this->version );
|
173 |
}
|
174 |
|
@@ -254,25 +256,35 @@ class Feedzy_Rss_Feeds_Admin extends Feedzy_Rss_Feeds_Admin_Abstract {
|
|
254 |
'normal',
|
255 |
'high'
|
256 |
);
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
|
|
|
|
268 |
}
|
269 |
|
270 |
/**
|
271 |
* Render RN upsell metabox.
|
272 |
*/
|
273 |
public function render_upsell_rn() {
|
274 |
-
echo '<
|
275 |
-
echo '<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
276 |
|
277 |
}
|
278 |
|
@@ -295,6 +307,7 @@ class Feedzy_Rss_Feeds_Admin extends Feedzy_Rss_Feeds_Admin_Abstract {
|
|
295 |
<strong>' . sprintf( __( 'Please be aware that multiple feeds, when mashed together, may sometimes not work as expected as explained %1$shere%2$s.', 'feedzy-rss-feeds' ), '<a href="http://simplepie.org/wiki/faq/typical_multifeed_gotchas" target="_blank">', '</a>' ) . '</strong><br/><br/>'
|
296 |
. $invalid
|
297 |
. '<textarea name="feedzy_category_feed" rows="15" class="widefat" placeholder="' . __( 'Place your URL\'s here followed by a comma.', 'feedzy-rss-feeds' ) . '" >' . $feed . '</textarea>
|
|
|
298 |
';
|
299 |
echo wp_kses( $output, apply_filters( 'feedzy_wp_kses_allowed_html', array() ) );
|
300 |
}
|
@@ -763,7 +776,7 @@ class Feedzy_Rss_Feeds_Admin extends Feedzy_Rss_Feeds_Admin_Abstract {
|
|
763 |
*
|
764 |
* @access public
|
765 |
*/
|
766 |
-
public function get_source_validity_error( $message = '', $post, $class = '' ) {
|
767 |
$invalid = $text = null;
|
768 |
switch ( $post->post_type ) {
|
769 |
case 'feedzy_categories':
|
159 |
);
|
160 |
}
|
161 |
|
|
|
|
|
|
|
|
|
162 |
$upsell_screens = array( 'feedzy-rss_page_feedzy-settings', 'feedzy-rss_page_feedzy-admin-menu-pro-upsell' );
|
163 |
+
if ( ( ! defined( 'TI_CYPRESS_TESTING' ) ) && ( 'feedzy_imports' === $screen->post_type && get_option( 'feedzy_import_tour' ) ) ) {
|
164 |
+
wp_enqueue_script( $this->plugin_name . '_react', 'https://unpkg.com/react@18/umd/react.production.min.js', array( 'wp-editor', 'wp-api' ), $this->version, true );
|
165 |
+
wp_enqueue_script( $this->plugin_name . '_react_dom', 'https://unpkg.com/react-dom@18/umd/react-dom.production.min.js', array(), $this->version, true );
|
166 |
+
wp_enqueue_script( $this->plugin_name . '_on_boarding', FEEDZY_ABSURL . 'js/Onboarding/import-onboarding.min.js', array(), $this->version, true );
|
167 |
+
wp_enqueue_style( 'wp-block-editor' );
|
168 |
+
}
|
169 |
|
170 |
if ( ! in_array( $screen->base, $upsell_screens, true ) && strpos( $screen->id, 'feedzy' ) === false ) {
|
171 |
return;
|
172 |
}
|
173 |
+
wp_enqueue_style( $this->plugin_name . '-settings', FEEDZY_ABSURL . 'css/settings.css', array(), $this->version );
|
174 |
wp_enqueue_style( $this->plugin_name . '-metabox', FEEDZY_ABSURL . 'css/metabox-settings.css', array( $this->plugin_name . '-settings' ), $this->version );
|
175 |
}
|
176 |
|
256 |
'normal',
|
257 |
'high'
|
258 |
);
|
259 |
+
if ( ! feedzy_is_pro() ) {
|
260 |
+
add_meta_box(
|
261 |
+
'feedzy_category_feeds_rn',
|
262 |
+
__( 'Extend Feedzy', 'feedzy-rss-feeds' ),
|
263 |
+
array(
|
264 |
+
$this,
|
265 |
+
'render_upsell_rn',
|
266 |
+
),
|
267 |
+
'feedzy_categories',
|
268 |
+
'side',
|
269 |
+
'low'
|
270 |
+
);
|
271 |
+
}
|
272 |
}
|
273 |
|
274 |
/**
|
275 |
* Render RN upsell metabox.
|
276 |
*/
|
277 |
public function render_upsell_rn() {
|
278 |
+
echo '<strong>Get access to more features.</strong>';
|
279 |
+
echo '<ul>
|
280 |
+
<li>- Remove branding label</li>
|
281 |
+
<li>- Auto add referral parameters to links</li>
|
282 |
+
<li>- Full Text Import</li>
|
283 |
+
<li>- Parahrase content</li>
|
284 |
+
<li>- Translate content</li>
|
285 |
+
<li>- Elementor Templates support</li>
|
286 |
+
</ul>';
|
287 |
+
echo '<a class="button button-primary " href="' . esc_url( FEEDZY_UPSELL_LINK ) . '" target="_blank">View more details</a>';
|
288 |
|
289 |
}
|
290 |
|
307 |
<strong>' . sprintf( __( 'Please be aware that multiple feeds, when mashed together, may sometimes not work as expected as explained %1$shere%2$s.', 'feedzy-rss-feeds' ), '<a href="http://simplepie.org/wiki/faq/typical_multifeed_gotchas" target="_blank">', '</a>' ) . '</strong><br/><br/>'
|
308 |
. $invalid
|
309 |
. '<textarea name="feedzy_category_feed" rows="15" class="widefat" placeholder="' . __( 'Place your URL\'s here followed by a comma.', 'feedzy-rss-feeds' ) . '" >' . $feed . '</textarea>
|
310 |
+
<p><a href="https://docs.themeisle.com/article/1119-feedzy-rss-feeds-documentation#categories" target="_blank">' . __( 'Learn how to organize feeds in Categories', 'feedzy-rss-feeds' ) . '</a></p>
|
311 |
';
|
312 |
echo wp_kses( $output, apply_filters( 'feedzy_wp_kses_allowed_html', array() ) );
|
313 |
}
|
776 |
*
|
777 |
* @access public
|
778 |
*/
|
779 |
+
public function get_source_validity_error( $message = '', $post = '', $class = '' ) {
|
780 |
$invalid = $text = null;
|
781 |
switch ( $post->post_type ) {
|
782 |
case 'feedzy_categories':
|
includes/admin/feedzy-rss-feeds-import.php
CHANGED
@@ -61,11 +61,11 @@ class Feedzy_Rss_Feeds_Import {
|
|
61 |
/**
|
62 |
* Initialize the class and set its properties.
|
63 |
*
|
|
|
|
|
|
|
64 |
* @since 1.0.0
|
65 |
* @access public
|
66 |
-
*
|
67 |
-
* @param string $plugin_name The name of this plugin.
|
68 |
-
* @param string $version The version of this plugin.
|
69 |
*/
|
70 |
public function __construct( $plugin_name, $version ) {
|
71 |
$this->plugin_name = $plugin_name;
|
@@ -85,6 +85,7 @@ class Feedzy_Rss_Feeds_Import {
|
|
85 |
if ( ! feedzy_is_pro() ) {
|
86 |
$class = 'only-pro';
|
87 |
}
|
|
|
88 |
return $class;
|
89 |
}
|
90 |
|
@@ -97,18 +98,16 @@ class Feedzy_Rss_Feeds_Import {
|
|
97 |
public function upsell_content( $content ) {
|
98 |
if ( ! feedzy_is_pro() ) {
|
99 |
$content = '
|
100 |
-
<div>
|
101 |
-
<div class="only-pro-
|
102 |
-
<div class="only-pro-
|
103 |
-
|
104 |
-
|
105 |
-
<a target="_blank" href="' . FEEDZY_UPSELL_LINK . '" title="' . __( 'Buy Now', 'feedzy-rss-feeds' ) . '">' . __( 'Click here!', 'feedzy-rss-feeds' ) . '</a>
|
106 |
-
</p>
|
107 |
-
</div>
|
108 |
</div>
|
109 |
</div>
|
110 |
</div>';
|
111 |
}
|
|
|
112 |
return $content;
|
113 |
}
|
114 |
|
@@ -121,9 +120,12 @@ class Feedzy_Rss_Feeds_Import {
|
|
121 |
public function enqueue_styles() {
|
122 |
wp_enqueue_style( $this->plugin_name, FEEDZY_ABSURL . 'css/feedzy-rss-feed-import.css', array(), $this->version, 'all' );
|
123 |
if ( get_current_screen()->post_type === 'feedzy_imports' ) {
|
|
|
124 |
wp_enqueue_style( $this->plugin_name . '_chosen', FEEDZY_ABSURL . 'includes/views/css/chosen.css', array(), $this->version, 'all' );
|
|
|
125 |
wp_enqueue_style( $this->plugin_name . '_metabox_edit', FEEDZY_ABSURL . 'includes/views/css/import-metabox-edit.css', array( 'wp-jquery-ui-dialog' ), $this->version, 'all' );
|
126 |
wp_enqueue_script( $this->plugin_name . '_chosen_script', FEEDZY_ABSURL . 'includes/views/js/chosen.js', array( 'jquery' ), $this->version, true );
|
|
|
127 |
wp_enqueue_script(
|
128 |
$this->plugin_name . '_metabox_edit_script',
|
129 |
FEEDZY_ABSURL . 'includes/views/js/import-metabox-edit.js',
|
@@ -146,8 +148,8 @@ class Feedzy_Rss_Feeds_Import {
|
|
146 |
'importing' => __( 'Importing', 'feedzy-rss-feeds' ) . '...',
|
147 |
'run_now' => __( 'Run Now', 'feedzy-rss-feeds' ),
|
148 |
'dry_run_loading' => '<p class="hide-when-loaded">' . __( 'Processing the source and loading the items that will be imported when it runs', 'feedzy-rss-feeds' ) . '...</p>'
|
149 |
-
|
150 |
-
|
151 |
'dry_run_title' => __( 'Importable Items', 'feedzy-rss-feeds' ),
|
152 |
),
|
153 |
)
|
@@ -158,16 +160,15 @@ class Feedzy_Rss_Feeds_Import {
|
|
158 |
/**
|
159 |
* Add attributes to $itemArray.
|
160 |
*
|
161 |
-
* @
|
162 |
-
* @
|
163 |
-
*
|
164 |
-
* @param
|
165 |
-
* @param
|
166 |
-
* @param array $sc The shorcode attributes array.
|
167 |
-
* @param int $index The item number (may not be the same as the item_index).
|
168 |
-
* @param int $item_index The real index of this items in the feed (maybe be different from $index if filters are used).
|
169 |
*
|
170 |
* @return mixed
|
|
|
|
|
171 |
*/
|
172 |
public function add_data_to_item( $itemArray, $item, $sc = null, $index = null, $item_index = null ) {
|
173 |
$itemArray['item_categories'] = $this->retrieve_categories( null, $item );
|
@@ -178,19 +179,19 @@ class Feedzy_Rss_Feeds_Import {
|
|
178 |
|
179 |
$itemArray['item'] = $item;
|
180 |
$itemArray['item_index'] = $item_index;
|
|
|
181 |
return $itemArray;
|
182 |
}
|
183 |
|
184 |
/**
|
185 |
* Retrieve the categories.
|
186 |
*
|
187 |
-
* @
|
188 |
-
* @
|
189 |
-
*
|
190 |
-
* @param string $dumb The initial categories (only a placeholder argument for the filter).
|
191 |
-
* @param object $item The feed item.
|
192 |
*
|
193 |
* @return string
|
|
|
|
|
194 |
*/
|
195 |
public function retrieve_categories( $dumb, $item ) {
|
196 |
$cats = array();
|
@@ -200,6 +201,7 @@ class Feedzy_Rss_Feeds_Import {
|
|
200 |
$cats[] = $category->get_label();
|
201 |
}
|
202 |
}
|
|
|
203 |
return apply_filters( 'feedzy_categories', implode( ', ', $cats ), $cats, $item );
|
204 |
}
|
205 |
|
@@ -214,8 +216,8 @@ class Feedzy_Rss_Feeds_Import {
|
|
214 |
'name' => __( 'Import Posts', 'feedzy-rss-feeds' ),
|
215 |
'singular_name' => __( 'Import Post', 'feedzy-rss-feeds' ),
|
216 |
'add_new' => __( 'New Import', 'feedzy-rss-feeds' ),
|
217 |
-
'add_new_item' =>
|
218 |
-
'edit_item' =>
|
219 |
'new_item' => __( 'New Import Post', 'feedzy-rss-feeds' ),
|
220 |
'view_item' => __( 'View Import', 'feedzy-rss-feeds' ),
|
221 |
'search_items' => __( 'Search Imports', 'feedzy-rss-feeds' ),
|
@@ -226,21 +228,32 @@ class Feedzy_Rss_Feeds_Import {
|
|
226 |
'title',
|
227 |
);
|
228 |
$args = array(
|
229 |
-
'labels'
|
230 |
-
'supports'
|
231 |
-
'public'
|
232 |
-
'exclude_from_search'
|
233 |
-
'publicly_queryable'
|
234 |
-
'capability_type'
|
235 |
-
'show_in_nav_menus'
|
236 |
-
'rewrite'
|
237 |
'slug' => 'feedzy-import',
|
238 |
),
|
239 |
-
'show_in_menu'
|
240 |
-
'register_meta_box_cb' => array( $this, 'add_feedzy_import_metaboxes' ),
|
241 |
);
|
242 |
$args = apply_filters( 'feedzy_imports_args', $args );
|
243 |
register_post_type( 'feedzy_imports', $args );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
244 |
}
|
245 |
|
246 |
/**
|
@@ -250,7 +263,11 @@ class Feedzy_Rss_Feeds_Import {
|
|
250 |
* @since 1.2.0
|
251 |
* @access public
|
252 |
*/
|
253 |
-
public function add_feedzy_import_metaboxes() {
|
|
|
|
|
|
|
|
|
254 |
add_meta_box(
|
255 |
'feedzy_import_feeds',
|
256 |
__( 'Feed Import Options', 'feedzy-rss-feeds' ),
|
@@ -267,23 +284,29 @@ class Feedzy_Rss_Feeds_Import {
|
|
267 |
/**
|
268 |
* Method to display metabox for import post type.
|
269 |
*
|
|
|
270 |
* @since 1.2.0
|
271 |
* @access public
|
272 |
-
* @return mixed
|
273 |
*/
|
274 |
public function feedzy_import_feed_options() {
|
275 |
global $post, $pagenow;
|
276 |
-
$args
|
277 |
'post_type' => 'feedzy_categories',
|
278 |
'posts_per_page' => 100,
|
279 |
);
|
280 |
-
$feed_categories
|
281 |
-
$post_types
|
282 |
-
$post_types
|
283 |
-
$published_status
|
284 |
$keyword_filter_fields = array( __( 'Title', 'feedzy-rss-feeds' ) );
|
285 |
if ( feedzy_is_pro() ) {
|
286 |
-
$keyword_filter_fields = array_merge(
|
|
|
|
|
|
|
|
|
|
|
|
|
287 |
}
|
288 |
$import_post_type = get_post_meta( $post->ID, 'import_post_type', true );
|
289 |
$import_post_term = get_post_meta( $post->ID, 'import_post_term', true );
|
@@ -293,23 +316,26 @@ class Feedzy_Rss_Feeds_Import {
|
|
293 |
add_post_meta( $post->ID, 'import_post_status', 'publish' );
|
294 |
$import_post_status = get_post_meta( $post->ID, 'import_post_status', true );
|
295 |
}
|
296 |
-
$source
|
297 |
-
$inc_key
|
298 |
-
$exc_key
|
299 |
-
$inc_on
|
300 |
-
$exc_on
|
301 |
-
$import_title
|
302 |
-
$import_date
|
303 |
-
$post_excerpt
|
304 |
-
$import_content
|
305 |
-
$import_item_img_url
|
306 |
-
$import_item_img_url
|
307 |
-
$import_featured_img
|
308 |
-
$import_remove_duplicates
|
309 |
-
$import_remove_duplicates
|
310 |
-
$import_selected_language
|
311 |
-
$from_datetime
|
312 |
-
$to_datetime
|
|
|
|
|
|
|
313 |
// default values so that post is not created empty.
|
314 |
if ( empty( $import_title ) ) {
|
315 |
$import_title = '[#item_title]';
|
@@ -361,6 +387,7 @@ class Feedzy_Rss_Feeds_Import {
|
|
361 |
if ( ! feedzy_is_pro() ) {
|
362 |
$range = range( 10, 10, 10 );
|
363 |
}
|
|
|
364 |
return $range;
|
365 |
}
|
366 |
|
@@ -368,13 +395,12 @@ class Feedzy_Rss_Feeds_Import {
|
|
368 |
* Save method for custom post type
|
369 |
* import feeds.
|
370 |
*
|
371 |
-
* @
|
372 |
-
* @
|
373 |
-
*
|
374 |
-
* @param integer $post_id The post ID.
|
375 |
-
* @param object $post The post object.
|
376 |
*
|
377 |
* @return bool
|
|
|
|
|
378 |
*/
|
379 |
public function save_feedzy_import_feed_meta( $post_id, $post ) {
|
380 |
if ( empty( $_POST ) ) {
|
@@ -423,7 +449,7 @@ class Feedzy_Rss_Feeds_Import {
|
|
423 |
$custom_fields_values[ sanitize_text_field( $key ) ] = esc_html( $val );
|
424 |
}
|
425 |
}
|
426 |
-
$custom_fields
|
427 |
foreach ( $custom_fields_keys as $index => $key_value ) {
|
428 |
$value = '';
|
429 |
if ( isset( $custom_fields_values[ $index ] ) ) {
|
@@ -440,6 +466,8 @@ class Feedzy_Rss_Feeds_Import {
|
|
440 |
$source_is_valid = false;
|
441 |
// Check feeds remove duplicates checkbox checked OR not.
|
442 |
$data_meta['import_remove_duplicates'] = isset( $data_meta['import_remove_duplicates'] ) ? $data_meta['import_remove_duplicates'] : 'no';
|
|
|
|
|
443 |
// Check feeds external image URL checkbox checked OR not.
|
444 |
$data_meta['import_use_external_image'] = isset( $data_meta['import_use_external_image'] ) ? $data_meta['import_use_external_image'] : 'no';
|
445 |
foreach ( $data_meta as $key => $value ) {
|
@@ -477,6 +505,7 @@ class Feedzy_Rss_Feeds_Import {
|
|
477 |
|
478 |
do_action( 'feedzy_save_fields', $post_id, $post );
|
479 |
}
|
|
|
480 |
return true;
|
481 |
}
|
482 |
|
@@ -485,8 +514,8 @@ class Feedzy_Rss_Feeds_Import {
|
|
485 |
*
|
486 |
* @access public
|
487 |
*
|
488 |
-
* @param
|
489 |
-
* @param
|
490 |
*
|
491 |
* @return string
|
492 |
*/
|
@@ -495,24 +524,24 @@ class Feedzy_Rss_Feeds_Import {
|
|
495 |
if ( 'feedzy_imports' === $post->post_type ) {
|
496 |
// if invalid source has been found, redirect back to edit screen
|
497 |
// where errors can be shown
|
498 |
-
$invalid
|
499 |
$invalid_dc_namespace = get_post_meta( $post_id, '__transient_feedzy_invalid_dc_namespace', true );
|
500 |
if ( empty( $invalid ) && empty( $invalid_dc_namespace ) ) {
|
501 |
return admin_url( 'edit.php?post_type=feedzy_imports' );
|
502 |
}
|
503 |
}
|
|
|
504 |
return $location;
|
505 |
}
|
506 |
|
507 |
/**
|
508 |
* Method to add header columns to import feeds table.
|
509 |
*
|
510 |
-
* @
|
511 |
-
* @access public
|
512 |
-
*
|
513 |
-
* @param array $columns The columns array.
|
514 |
*
|
515 |
* @return array|bool
|
|
|
|
|
516 |
*/
|
517 |
public function feedzy_import_columns( $columns ) {
|
518 |
$columns['title'] = __( 'Import Title', 'feedzy-rss-feeds' );
|
@@ -549,15 +578,14 @@ class Feedzy_Rss_Feeds_Import {
|
|
549 |
* Utility method to insert before specific key
|
550 |
* in an associative array.
|
551 |
*
|
552 |
-
* @
|
553 |
-
* @
|
554 |
-
*
|
555 |
-
* @param
|
556 |
-
* @param array $array The array in which to insert the new key.
|
557 |
-
* @param string $new_key The new key name.
|
558 |
-
* @param mixed $new_value The new key value.
|
559 |
*
|
560 |
* @return array|bool
|
|
|
|
|
561 |
*/
|
562 |
protected function array_insert_before( $key, &$array, $new_key, $new_value ) {
|
563 |
if ( array_key_exists( $key, $array ) ) {
|
@@ -578,11 +606,11 @@ class Feedzy_Rss_Feeds_Import {
|
|
578 |
/**
|
579 |
* Method to add a columns in the import feeds table.
|
580 |
*
|
|
|
|
|
|
|
581 |
* @since 1.2.0
|
582 |
* @access public
|
583 |
-
*
|
584 |
-
* @param string $column The current column to check.
|
585 |
-
* @param integer $post_id The post ID.
|
586 |
*/
|
587 |
public function manage_feedzy_import_columns( $column, $post_id ) {
|
588 |
global $post;
|
@@ -631,10 +659,10 @@ class Feedzy_Rss_Feeds_Import {
|
|
631 |
}
|
632 |
|
633 |
$msg .= $this->get_last_run_details( $post_id );
|
634 |
-
echo
|
635 |
|
636 |
if ( 'publish' === $post->post_status ) {
|
637 |
-
|
638 |
}
|
639 |
|
640 |
break;
|
@@ -656,10 +684,10 @@ class Feedzy_Rss_Feeds_Import {
|
|
656 |
/**
|
657 |
* Generate the markup that displays the status.
|
658 |
*
|
|
|
|
|
659 |
* @since ?
|
660 |
* @access private
|
661 |
-
*
|
662 |
-
* @param integer $post_id The post ID.
|
663 |
*/
|
664 |
private function get_last_run_details( $post_id ) {
|
665 |
$msg = '';
|
@@ -910,8 +938,8 @@ class Feedzy_Rss_Feeds_Import {
|
|
910 |
public function ajax() {
|
911 |
check_ajax_referer( FEEDZY_BASEFILE, 'security' );
|
912 |
|
913 |
-
$_POST['feedzy_category_meta_noncename'] = filter_input( INPUT_POST, 'security',
|
914 |
-
$_action = filter_input( INPUT_POST, '_action',
|
915 |
|
916 |
switch ( $_action ) {
|
917 |
case 'import_status':
|
@@ -1020,7 +1048,7 @@ class Feedzy_Rss_Feeds_Import {
|
|
1020 |
$job = get_post( filter_input( INPUT_POST, 'id', FILTER_SANITIZE_NUMBER_INT ) );
|
1021 |
$count = $this->run_job( $job, 100 );
|
1022 |
|
1023 |
-
$msg
|
1024 |
$msg .= ' (' . __( 'Refresh this page for the updated status', 'feedzy-rss-feeds' ) . ')';
|
1025 |
|
1026 |
wp_send_json_success( array( 'msg' => $msg ) );
|
@@ -1042,18 +1070,18 @@ class Feedzy_Rss_Feeds_Import {
|
|
1042 |
|
1043 |
add_filter(
|
1044 |
'feedzy_default_error',
|
1045 |
-
function( $errors, $feed, $url ) {
|
1046 |
$errors .=
|
1047 |
-
|
1048 |
-
|
1049 |
-
|
1050 |
-
|
1051 |
-
|
1052 |
-
|
1053 |
-
|
1054 |
-
|
1055 |
-
|
1056 |
-
|
1057 |
|
1058 |
return $errors;
|
1059 |
},
|
@@ -1113,30 +1141,36 @@ class Feedzy_Rss_Feeds_Import {
|
|
1113 |
/**
|
1114 |
* Runs a specific job.
|
1115 |
*
|
|
|
1116 |
* @since 1.6.1
|
1117 |
* @access private
|
1118 |
-
* @return int
|
1119 |
*/
|
1120 |
private function run_job( $job, $max ) {
|
1121 |
-
$source
|
1122 |
-
$inc_key
|
1123 |
-
$exc_key
|
1124 |
-
$inc_on
|
1125 |
-
$exc_on
|
1126 |
-
$import_title
|
1127 |
-
$
|
1128 |
-
$
|
1129 |
-
$
|
1130 |
-
$
|
1131 |
-
$
|
1132 |
-
$
|
1133 |
-
$
|
1134 |
-
$
|
1135 |
-
$
|
1136 |
-
$
|
1137 |
-
$
|
1138 |
-
$
|
1139 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
1140 |
// Used as a new line character in import content.
|
1141 |
$import_content = str_replace( PHP_EOL, "\r\n", $import_content );
|
1142 |
$import_content = trim( $import_content );
|
@@ -1175,28 +1209,28 @@ class Feedzy_Rss_Feeds_Import {
|
|
1175 |
$options = apply_filters(
|
1176 |
'feedzy_shortcode_options',
|
1177 |
array(
|
1178 |
-
'feeds'
|
1179 |
-
'max'
|
1180 |
-
'feed_title'
|
1181 |
-
'target'
|
1182 |
-
'title'
|
1183 |
-
'meta'
|
1184 |
-
'summary'
|
1185 |
-
'summarylength'
|
1186 |
-
'thumb'
|
1187 |
-
'default'
|
1188 |
-
'size'
|
1189 |
-
'keywords_inc'
|
1190 |
-
'keywords_ban'
|
1191 |
-
'keywords_exc'
|
1192 |
-
'keywords_inc_on'
|
1193 |
-
'keywords_exc_on'
|
1194 |
-
'columns'
|
1195 |
-
'offset'
|
1196 |
-
'multiple_meta'
|
1197 |
-
'refresh'
|
1198 |
-
'from_datetime'
|
1199 |
-
'to_datetime'
|
1200 |
),
|
1201 |
$job
|
1202 |
);
|
@@ -1214,7 +1248,7 @@ class Feedzy_Rss_Feeds_Import {
|
|
1214 |
delete_post_meta( $job->ID, 'import_info' );
|
1215 |
|
1216 |
// let's increase this time in case spinnerchief/wordai is being used.
|
1217 |
-
|
1218 |
|
1219 |
$count = $index = $import_image_errors = $duplicates = 0;
|
1220 |
|
@@ -1222,8 +1256,9 @@ class Feedzy_Rss_Feeds_Import {
|
|
1222 |
$import_errors = array();
|
1223 |
|
1224 |
// the array that captures additional information about the import.
|
1225 |
-
$import_info
|
1226 |
-
$results
|
|
|
1227 |
|
1228 |
$xml_results = '';
|
1229 |
if ( false !== strpos( $import_content, '[#item_full_content]' ) ) {
|
@@ -1234,6 +1269,7 @@ class Feedzy_Rss_Feeds_Import {
|
|
1234 |
$import_errors[] = $results->get_error_message();
|
1235 |
update_post_meta( $job->ID, 'import_errors', $import_errors );
|
1236 |
update_post_meta( $job->ID, 'imported_items_count', 0 );
|
|
|
1237 |
return;
|
1238 |
}
|
1239 |
|
@@ -1256,10 +1292,13 @@ class Feedzy_Rss_Feeds_Import {
|
|
1256 |
|
1257 |
if ( ! $start_import ) {
|
1258 |
update_post_meta( $job->ID, 'import_errors', $import_errors );
|
|
|
1259 |
return 0;
|
1260 |
}
|
1261 |
|
1262 |
-
$
|
|
|
|
|
1263 |
$found_duplicates = array();
|
1264 |
foreach ( $result as $item ) {
|
1265 |
$item_hash = $use_new_hash ? $item['item_id'] : hash( 'sha256', $item['item_url'] . '_' . $item['item_date'] );
|
@@ -1277,7 +1316,7 @@ class Feedzy_Rss_Feeds_Import {
|
|
1277 |
}
|
1278 |
if ( $is_duplicate ) {
|
1279 |
do_action( 'themeisle_log_event', FEEDZY_NAME, sprintf( 'Ignoring %s as it is a duplicate (%s hash).', $item_hash, $use_new_hash ? 'new' : 'old' ), 'warn', __FILE__, __LINE__ );
|
1280 |
-
$index++;
|
1281 |
$duplicates[ $item['item_url'] ] = $item['item_title'];
|
1282 |
continue;
|
1283 |
}
|
@@ -1300,6 +1339,12 @@ class Feedzy_Rss_Feeds_Import {
|
|
1300 |
$item_date = date( get_option( 'date_format' ) . ' at ' . get_option( 'time_format' ), $item['item_date'] );
|
1301 |
$item_date = $item['item_date_formatted'];
|
1302 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1303 |
$post_title = str_replace(
|
1304 |
array(
|
1305 |
'[#item_title]',
|
@@ -1308,6 +1353,7 @@ class Feedzy_Rss_Feeds_Import {
|
|
1308 |
'[#item_date_local]',
|
1309 |
'[#item_date_feed]',
|
1310 |
'[#item_source]',
|
|
|
1311 |
),
|
1312 |
array(
|
1313 |
$item['item_title'],
|
@@ -1316,6 +1362,7 @@ class Feedzy_Rss_Feeds_Import {
|
|
1316 |
$item_date,
|
1317 |
$item_date,
|
1318 |
$item['item_source'],
|
|
|
1319 |
),
|
1320 |
$import_title
|
1321 |
);
|
@@ -1326,11 +1373,41 @@ class Feedzy_Rss_Feeds_Import {
|
|
1326 |
|
1327 |
$post_title = apply_filters( 'feedzy_invoke_services', $post_title, 'title', $item['item_title'], $job );
|
1328 |
|
1329 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1330 |
$image_html = '';
|
1331 |
if ( ! empty( $item['item_img_path'] ) ) {
|
1332 |
$image_html = '<img src="' . $item['item_img_path'] . '" title="' . $item['item_title'] . '" />';
|
1333 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1334 |
$post_content = str_replace(
|
1335 |
array(
|
1336 |
'[#item_description]',
|
@@ -1339,6 +1416,8 @@ class Feedzy_Rss_Feeds_Import {
|
|
1339 |
'[#item_url]',
|
1340 |
'[#item_categories]',
|
1341 |
'[#item_source]',
|
|
|
|
|
1342 |
),
|
1343 |
array(
|
1344 |
$item['item_description'],
|
@@ -1347,6 +1426,8 @@ class Feedzy_Rss_Feeds_Import {
|
|
1347 |
$item_link,
|
1348 |
$item['item_categories'],
|
1349 |
$item['item_source'],
|
|
|
|
|
1350 |
),
|
1351 |
$import_content
|
1352 |
);
|
@@ -1383,6 +1464,24 @@ class Feedzy_Rss_Feeds_Import {
|
|
1383 |
|
1384 |
$post_content = apply_filters( 'feedzy_invoke_services', $post_content, 'content', $item['item_description'], $job );
|
1385 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1386 |
// phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date
|
1387 |
$item_date = date( 'Y-m-d H:i:s', $item['item_date'] );
|
1388 |
// phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date
|
@@ -1411,11 +1510,17 @@ class Feedzy_Rss_Feeds_Import {
|
|
1411 |
'[#item_title]',
|
1412 |
'[#item_content]',
|
1413 |
'[#item_description]',
|
|
|
|
|
|
|
1414 |
),
|
1415 |
array(
|
1416 |
$post_title,
|
1417 |
$post_content,
|
1418 |
$item['item_description'],
|
|
|
|
|
|
|
1419 |
),
|
1420 |
$post_excerpt
|
1421 |
);
|
@@ -1445,7 +1550,7 @@ class Feedzy_Rss_Feeds_Import {
|
|
1445 |
// no point creating a post if either the title or the content is null.
|
1446 |
if ( is_null( $post_title ) || is_null( $post_content ) ) {
|
1447 |
do_action( 'themeisle_log_event', FEEDZY_NAME, sprintf( 'NOT creating a new post as title (%s) or content (%s) is null.', $post_title, $post_content ), 'info', __FILE__, __LINE__ );
|
1448 |
-
$index++;
|
1449 |
$import_errors[] = __( 'Title or Content is empty.', 'feedzy-rss-feeds' );
|
1450 |
continue;
|
1451 |
}
|
@@ -1481,7 +1586,7 @@ class Feedzy_Rss_Feeds_Import {
|
|
1481 |
}
|
1482 |
|
1483 |
if ( ! $img_success ) {
|
1484 |
-
$import_image_errors++;
|
1485 |
}
|
1486 |
} else {
|
1487 |
$new_post_id = wp_insert_post( $new_post, true );
|
@@ -1503,13 +1608,13 @@ class Feedzy_Rss_Feeds_Import {
|
|
1503 |
}
|
1504 |
}
|
1505 |
do_action( 'themeisle_log_event', FEEDZY_NAME, sprintf( 'Unable to create a new post with params %s. Error: %s', print_r( $new_post, true ), $error_reason ), 'error', __FILE__, __LINE__ );
|
1506 |
-
$index++;
|
1507 |
continue;
|
1508 |
}
|
1509 |
do_action( 'themeisle_log_event', FEEDZY_NAME, sprintf( 'created new post with ID %d with post_content %s', $new_post_id, $post_content ), 'debug', __FILE__, __LINE__ );
|
1510 |
if ( ! in_array( $item_hash, $found_duplicates, true ) ) {
|
1511 |
$imported_items[] = $item_hash;
|
1512 |
-
$count++;
|
1513 |
}
|
1514 |
|
1515 |
if ( $import_post_term !== 'none' && strpos( $import_post_term, '_' ) > 0 ) {
|
@@ -1525,7 +1630,15 @@ class Feedzy_Rss_Feeds_Import {
|
|
1525 |
// uncategorized
|
1526 |
// 1. may be the unmodified category ID 1
|
1527 |
// 2. may have been recreated ('uncategorized') and may have a different slug in different languages.
|
1528 |
-
wp_remove_object_terms(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1529 |
|
1530 |
$result = wp_set_object_terms( $new_post_id, intval( $term_id ), $taxonomy, true );
|
1531 |
do_action( 'themeisle_log_event', FEEDZY_NAME, sprintf( 'After creating post in %s/%d, result = %s', $taxonomy, $term_id, print_r( $result, true ) ), 'debug', __FILE__, __LINE__ );
|
@@ -1562,11 +1675,8 @@ class Feedzy_Rss_Feeds_Import {
|
|
1562 |
if ( empty( $image_url ) && defined( 'FEEDZY_PRO_FETCH_ITEM_IMG_URL' ) ) {
|
1563 |
// if license does not exist, use the site url
|
1564 |
// this should obviously never happen unless on dev instances.
|
1565 |
-
$license
|
1566 |
-
|
1567 |
-
if ( ! empty( $license_data ) && isset( $license_data->key ) ) {
|
1568 |
-
$license = $license_data->key;
|
1569 |
-
}
|
1570 |
$response = wp_remote_post(
|
1571 |
FEEDZY_PRO_FETCH_ITEM_IMG_URL,
|
1572 |
apply_filters(
|
@@ -1577,6 +1687,7 @@ class Feedzy_Rss_Feeds_Import {
|
|
1577 |
array(
|
1578 |
'item_url' => $item['item_url'],
|
1579 |
'license' => $license,
|
|
|
1580 |
)
|
1581 |
),
|
1582 |
)
|
@@ -1617,15 +1728,15 @@ class Feedzy_Rss_Feeds_Import {
|
|
1617 |
// Set default thumbnail image.
|
1618 |
if ( ! $img_success && isset( $this->free_settings['general']['default-thumbnail-id'] ) ) {
|
1619 |
$default_thumbnail = $this->free_settings['general']['default-thumbnail-id'];
|
1620 |
-
$img_success
|
1621 |
}
|
1622 |
|
1623 |
if ( ! $img_success ) {
|
1624 |
-
$import_image_errors++;
|
1625 |
}
|
1626 |
}
|
1627 |
|
1628 |
-
$index++;
|
1629 |
|
1630 |
// indicate that this post was imported by feedzy.
|
1631 |
update_post_meta( $new_post_id, 'feedzy', 1 );
|
@@ -1663,14 +1774,13 @@ class Feedzy_Rss_Feeds_Import {
|
|
1663 |
/**
|
1664 |
* Method to return feed items to use on cron job.
|
1665 |
*
|
1666 |
-
* @
|
1667 |
-
* @
|
1668 |
-
*
|
1669 |
-
* @param array $options The options for the job.
|
1670 |
-
* @param string $import_content The import content (along with the magic tags).
|
1671 |
-
* @param bool $raw_feed_also Whether to return the raw SimplePie object as well.
|
1672 |
*
|
1673 |
* @return mixed
|
|
|
|
|
1674 |
*/
|
1675 |
public function get_job_feed( $options, $import_content = null, $raw_feed_also = false ) {
|
1676 |
$admin = Feedzy_Rss_Feeds::instance()->get_admin();
|
@@ -1705,22 +1815,22 @@ class Feedzy_Rss_Feeds_Import {
|
|
1705 |
'feed' => $feed,
|
1706 |
);
|
1707 |
}
|
|
|
1708 |
return $feed_items;
|
1709 |
}
|
1710 |
|
1711 |
/**
|
1712 |
* Downloads and sets a post featured image if possible.
|
1713 |
*
|
1714 |
-
* @
|
1715 |
-
* @
|
1716 |
-
*
|
1717 |
-
* @param
|
1718 |
-
* @param
|
1719 |
-
* @param string $desc Description.
|
1720 |
-
* @param array $import_errors Array of import error messages.
|
1721 |
-
* @param array $import_info Array of import information messages.
|
1722 |
*
|
1723 |
* @return bool
|
|
|
|
|
1724 |
*/
|
1725 |
private function generate_featured_image( $file, $post_id, $desc, &$import_errors, &$import_info, $post_data = array() ) {
|
1726 |
do_action( 'themeisle_log_event', FEEDZY_NAME, sprintf( 'Trying to generate featured image for %s and postID %d', $file, $post_id ), 'debug', __FILE__, __LINE__ );
|
@@ -1733,6 +1843,7 @@ class Feedzy_Rss_Feeds_Import {
|
|
1733 |
$local_file = download_url( $file );
|
1734 |
if ( is_wp_error( $local_file ) ) {
|
1735 |
do_action( 'themeisle_log_event', FEEDZY_NAME, sprintf( 'Unable to download file = %s and postID %d', print_r( $local_file, true ), $post_id ), 'error', __FILE__, __LINE__ );
|
|
|
1736 |
return false;
|
1737 |
}
|
1738 |
|
@@ -1748,6 +1859,7 @@ class Feedzy_Rss_Feeds_Import {
|
|
1748 |
$local_file = $new_local_file;
|
1749 |
} else {
|
1750 |
do_action( 'themeisle_log_event', FEEDZY_NAME, sprintf( 'Unable to rename file for postID %d', $post_id ), 'error', __FILE__, __LINE__ );
|
|
|
1751 |
return false;
|
1752 |
}
|
1753 |
}
|
@@ -1759,6 +1871,7 @@ class Feedzy_Rss_Feeds_Import {
|
|
1759 |
if ( is_wp_error( $id ) ) {
|
1760 |
do_action( 'themeisle_log_event', FEEDZY_NAME, sprintf( 'Unable to attach file for postID %d = %s', $post_id, print_r( $id, true ) ), 'error', __FILE__, __LINE__ );
|
1761 |
unlink( $file_array['tmp_name'] );
|
|
|
1762 |
return false;
|
1763 |
}
|
1764 |
|
@@ -1772,6 +1885,7 @@ class Feedzy_Rss_Feeds_Import {
|
|
1772 |
} else {
|
1773 |
do_action( 'themeisle_log_event', FEEDZY_NAME, sprintf( 'Attached file as featured image for postID %d', $post_id ), 'info', __FILE__, __LINE__ );
|
1774 |
}
|
|
|
1775 |
return $success;
|
1776 |
}
|
1777 |
|
@@ -1814,9 +1928,9 @@ class Feedzy_Rss_Feeds_Import {
|
|
1814 |
* Method to return license status.
|
1815 |
* Used to filter PRO version types.
|
1816 |
*
|
|
|
1817 |
* @since 1.2.0
|
1818 |
* @access public
|
1819 |
-
* @return bool
|
1820 |
*/
|
1821 |
public function feedzy_is_business() {
|
1822 |
return $this->feedzy_is_license_of_type( false, 'business' );
|
@@ -1825,9 +1939,9 @@ class Feedzy_Rss_Feeds_Import {
|
|
1825 |
/**
|
1826 |
* Method to return if licence is agency.
|
1827 |
*
|
|
|
1828 |
* @since 1.3.2
|
1829 |
* @access public
|
1830 |
-
* @return bool
|
1831 |
*/
|
1832 |
public function feedzy_is_agency() {
|
1833 |
return $this->feedzy_is_license_of_type( false, 'agency' );
|
@@ -1847,17 +1961,17 @@ class Feedzy_Rss_Feeds_Import {
|
|
1847 |
return $default;
|
1848 |
}
|
1849 |
}
|
1850 |
-
$plan =
|
1851 |
$plan = intval( $plan );
|
1852 |
-
|
1853 |
switch ( $type ) {
|
1854 |
case 'agency':
|
1855 |
-
return ( $plan
|
1856 |
case 'business':
|
1857 |
-
return ( $plan
|
1858 |
case 'pro':
|
1859 |
return ( $plan > 0 );
|
1860 |
}
|
|
|
1861 |
return $default;
|
1862 |
}
|
1863 |
|
@@ -1886,6 +2000,7 @@ class Feedzy_Rss_Feeds_Import {
|
|
1886 |
'content' => $this->render_view( $tab ),
|
1887 |
'ajax' => false,
|
1888 |
);
|
|
|
1889 |
return $fields;
|
1890 |
}
|
1891 |
|
@@ -1907,6 +2022,11 @@ class Feedzy_Rss_Feeds_Import {
|
|
1907 |
*/
|
1908 |
public function settings_tabs( $tabs ) {
|
1909 |
$tabs['misc'] = __( 'Miscellaneous', 'feedzy-rss-feeds' );
|
|
|
|
|
|
|
|
|
|
|
1910 |
return $tabs;
|
1911 |
}
|
1912 |
|
@@ -1923,18 +2043,18 @@ class Feedzy_Rss_Feeds_Import {
|
|
1923 |
if ( 'misc' === $tab ) {
|
1924 |
$settings['canonical'] = isset( $_POST['canonical'] ) ? filter_input( INPUT_POST, 'canonical', FILTER_SANITIZE_NUMBER_INT ) : 0;
|
1925 |
}
|
|
|
1926 |
return $settings;
|
1927 |
}
|
1928 |
|
1929 |
/**
|
1930 |
* Render a view page.
|
1931 |
*
|
1932 |
-
* @
|
1933 |
-
* @access public
|
1934 |
-
*
|
1935 |
-
* @param string $name The name of the view.
|
1936 |
*
|
1937 |
* @return string
|
|
|
|
|
1938 |
*/
|
1939 |
private function render_view( $name ) {
|
1940 |
$file = null;
|
@@ -1942,6 +2062,14 @@ class Feedzy_Rss_Feeds_Import {
|
|
1942 |
case 'misc':
|
1943 |
$file = FEEDZY_ABSPATH . '/includes/views/' . $name . '-view.php';
|
1944 |
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1945 |
default:
|
1946 |
$file = apply_filters( 'feedzy_render_view', $file, $name );
|
1947 |
break;
|
@@ -1953,6 +2081,7 @@ class Feedzy_Rss_Feeds_Import {
|
|
1953 |
|
1954 |
ob_start();
|
1955 |
include $file;
|
|
|
1956 |
return ob_get_clean();
|
1957 |
}
|
1958 |
|
@@ -1979,16 +2108,17 @@ class Feedzy_Rss_Feeds_Import {
|
|
1979 |
}
|
1980 |
}
|
1981 |
}
|
|
|
1982 |
return $default;
|
1983 |
}
|
1984 |
|
1985 |
/**
|
1986 |
* Renders the tags for the title.
|
1987 |
*
|
|
|
|
|
1988 |
* @since 1.4.2
|
1989 |
* @access public
|
1990 |
-
*
|
1991 |
-
* @param array $default The default tags, empty.
|
1992 |
*/
|
1993 |
public function magic_tags_title( $default ) {
|
1994 |
$default['item_title'] = __( 'Item Title', 'feedzy-rss-feeds' );
|
@@ -2000,33 +2130,40 @@ class Feedzy_Rss_Feeds_Import {
|
|
2000 |
|
2001 |
// disabled tags.
|
2002 |
if ( ! feedzy_is_pro() ) {
|
2003 |
-
$default['title_spinnerchief:disabled'] = __( 'Title from SpinnerChief', 'feedzy-rss-feeds' );
|
2004 |
-
$default['title_wordai:disabled'] = __( 'Title from WordAI', 'feedzy-rss-feeds' );
|
|
|
|
|
|
|
|
|
|
|
2005 |
}
|
|
|
2006 |
return $default;
|
2007 |
}
|
2008 |
|
2009 |
/**
|
2010 |
* Renders the tags for the date.
|
2011 |
*
|
|
|
|
|
2012 |
* @since 1.4.2
|
2013 |
* @access public
|
2014 |
-
*
|
2015 |
-
* @param array $default The default tags, empty.
|
2016 |
*/
|
2017 |
public function magic_tags_date( $default ) {
|
2018 |
$default['item_date'] = __( 'Item Date', 'feedzy-rss-feeds' );
|
2019 |
$default['post_date'] = __( 'Post Date', 'feedzy-rss-feeds' );
|
|
|
2020 |
return $default;
|
2021 |
}
|
2022 |
|
2023 |
/**
|
2024 |
* Renders the tags for the content.
|
2025 |
*
|
|
|
|
|
2026 |
* @since 1.4.2
|
2027 |
* @access public
|
2028 |
-
*
|
2029 |
-
* @param array $default The default tags, empty.
|
2030 |
*/
|
2031 |
public function magic_tags_content( $default ) {
|
2032 |
$default['item_content'] = __( 'Item Content', 'feedzy-rss-feeds' );
|
@@ -2038,25 +2175,35 @@ class Feedzy_Rss_Feeds_Import {
|
|
2038 |
|
2039 |
// disabled tags.
|
2040 |
if ( ! feedzy_is_pro() ) {
|
2041 |
-
$default['item_full_content:disabled'] = __( 'Item Full Content', 'feedzy-rss-feeds' );
|
2042 |
-
$default['content_spinnerchief:disabled'] = __( 'Content from SpinnerChief', 'feedzy-rss-feeds' );
|
2043 |
-
$default['full_content_spinnerchief:disabled'] = __( 'Full content from SpinnerChief', 'feedzy-rss-feeds' );
|
2044 |
-
$default['content_wordai:disabled'] = __( 'Content from WordAI', 'feedzy-rss-feeds' );
|
2045 |
-
$default['full_content_wordai:disabled'] = __( 'Full content from WordAI', 'feedzy-rss-feeds' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2046 |
}
|
|
|
2047 |
return $default;
|
2048 |
}
|
2049 |
|
2050 |
/**
|
2051 |
* Renders the tags for the featured image.
|
2052 |
*
|
|
|
|
|
2053 |
* @since 1.4.2
|
2054 |
* @access public
|
2055 |
-
*
|
2056 |
-
* @param array $default The default tags, empty.
|
2057 |
*/
|
2058 |
public function magic_tags_image( $default ) {
|
2059 |
$default['item_image'] = __( 'Item Image', 'feedzy-rss-feeds' );
|
|
|
2060 |
return $default;
|
2061 |
}
|
2062 |
|
@@ -2107,6 +2254,7 @@ class Feedzy_Rss_Feeds_Import {
|
|
2107 |
$canonical_url = $url;
|
2108 |
}
|
2109 |
}
|
|
|
2110 |
return $canonical_url;
|
2111 |
}
|
2112 |
|
@@ -2132,6 +2280,7 @@ class Feedzy_Rss_Feeds_Import {
|
|
2132 |
$feedzy_job_id = get_post_meta( $post->ID, 'feedzy_job', true );
|
2133 |
$actions['feedzy'] = sprintf( '(%s %s)', __( 'Imported by Feedzy from', 'feedzy-rss-feeds' ), get_the_title( $feedzy_job_id ) );
|
2134 |
}
|
|
|
2135 |
return $actions;
|
2136 |
}
|
2137 |
|
@@ -2167,7 +2316,7 @@ class Feedzy_Rss_Feeds_Import {
|
|
2167 |
*/
|
2168 |
public function pre_get_posts( $query ) {
|
2169 |
|
2170 |
-
if ( ! function_exists( 'wp_verify_nonce' ) || ( ! wp_verify_nonce( filter_input( INPUT_GET, '_nonce',
|
2171 |
return;
|
2172 |
}
|
2173 |
|
@@ -2219,6 +2368,7 @@ class Feedzy_Rss_Feeds_Import {
|
|
2219 |
if ( isset( $tags['span'] ) ) {
|
2220 |
$tags['span']['disabled'] = true;
|
2221 |
}
|
|
|
2222 |
return $tags;
|
2223 |
}
|
2224 |
|
@@ -2229,6 +2379,7 @@ class Feedzy_Rss_Feeds_Import {
|
|
2229 |
* @param string $key Meta Key.
|
2230 |
* @param string $value Meta value.
|
2231 |
* @param string $compare Compare operator.
|
|
|
2232 |
* @return mixed
|
2233 |
*/
|
2234 |
public function is_duplicate_post( $post_type = 'post', $key = '', $value = '', $compare = '=' ) {
|
@@ -2239,11 +2390,11 @@ class Feedzy_Rss_Feeds_Import {
|
|
2239 |
$data = get_posts(
|
2240 |
array(
|
2241 |
'posts_per_page' => 80,
|
2242 |
-
'post_type'
|
2243 |
-
'meta_key'
|
2244 |
-
'meta_value'
|
2245 |
-
'meta_compare'
|
2246 |
-
'fields'
|
2247 |
)
|
2248 |
);
|
2249 |
|
@@ -2265,10 +2416,10 @@ class Feedzy_Rss_Feeds_Import {
|
|
2265 |
|
2266 |
// Update the post language info.
|
2267 |
$language_args = array(
|
2268 |
-
'element_id'
|
2269 |
-
'element_type'
|
2270 |
-
'trid'
|
2271 |
-
'language_code'
|
2272 |
'source_language_code' => null,
|
2273 |
);
|
2274 |
|
@@ -2283,13 +2434,13 @@ class Feedzy_Rss_Feeds_Import {
|
|
2283 |
global $wpdb;
|
2284 |
|
2285 |
// @codingStandardsIgnoreStart
|
2286 |
-
$post_type
|
2287 |
$search_key = isset( $_POST['search_key'] ) ? filter_input( INPUT_POST, 'search_key', FILTER_SANITIZE_STRING ) : '';
|
2288 |
// @codingStandardsIgnoreEnd
|
2289 |
|
2290 |
$like = '';
|
2291 |
if ( ! empty( $search_key ) ) {
|
2292 |
-
$like
|
2293 |
}
|
2294 |
|
2295 |
// phpcs:ignore
|
@@ -2337,12 +2488,142 @@ class Feedzy_Rss_Feeds_Import {
|
|
2337 |
*
|
2338 |
* @access public
|
2339 |
*
|
2340 |
-
* @param
|
2341 |
*/
|
2342 |
public function magic_tags_post_excerpt( $default ) {
|
2343 |
-
$default['item_title']
|
2344 |
$default['item_content'] = __( 'Item Content', 'feedzy-rss-feeds' );
|
2345 |
-
$default['item_description']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2346 |
return $default;
|
2347 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2348 |
}
|
61 |
/**
|
62 |
* Initialize the class and set its properties.
|
63 |
*
|
64 |
+
* @param string $plugin_name The name of this plugin.
|
65 |
+
* @param string $version The version of this plugin.
|
66 |
+
*
|
67 |
* @since 1.0.0
|
68 |
* @access public
|
|
|
|
|
|
|
69 |
*/
|
70 |
public function __construct( $plugin_name, $version ) {
|
71 |
$this->plugin_name = $plugin_name;
|
85 |
if ( ! feedzy_is_pro() ) {
|
86 |
$class = 'only-pro';
|
87 |
}
|
88 |
+
|
89 |
return $class;
|
90 |
}
|
91 |
|
98 |
public function upsell_content( $content ) {
|
99 |
if ( ! feedzy_is_pro() ) {
|
100 |
$content = '
|
101 |
+
<div class="only-pro-content">
|
102 |
+
<div class="only-pro-container">
|
103 |
+
<div class="only-pro-inner upgrade-alert">
|
104 |
+
' . __( 'This feature is available in the Pro version. Unlock more features, by', 'feedzy-rss-feeds' ) . '
|
105 |
+
<a target="_blank" href="' . FEEDZY_UPSELL_LINK . '" title="' . __( 'Buy Now', 'feedzy-rss-feeds' ) . '">' . __( 'upgrading to Feedzy Pro', 'feedzy-rss-feeds' ) . '</a>
|
|
|
|
|
|
|
106 |
</div>
|
107 |
</div>
|
108 |
</div>';
|
109 |
}
|
110 |
+
|
111 |
return $content;
|
112 |
}
|
113 |
|
120 |
public function enqueue_styles() {
|
121 |
wp_enqueue_style( $this->plugin_name, FEEDZY_ABSURL . 'css/feedzy-rss-feed-import.css', array(), $this->version, 'all' );
|
122 |
if ( get_current_screen()->post_type === 'feedzy_imports' ) {
|
123 |
+
|
124 |
wp_enqueue_style( $this->plugin_name . '_chosen', FEEDZY_ABSURL . 'includes/views/css/chosen.css', array(), $this->version, 'all' );
|
125 |
+
wp_enqueue_style( $this->plugin_name . '_tagify', FEEDZY_ABSURL . 'includes/views/css/tagify.css', array(), $this->version, 'all' );
|
126 |
wp_enqueue_style( $this->plugin_name . '_metabox_edit', FEEDZY_ABSURL . 'includes/views/css/import-metabox-edit.css', array( 'wp-jquery-ui-dialog' ), $this->version, 'all' );
|
127 |
wp_enqueue_script( $this->plugin_name . '_chosen_script', FEEDZY_ABSURL . 'includes/views/js/chosen.js', array( 'jquery' ), $this->version, true );
|
128 |
+
wp_enqueue_script( $this->plugin_name . '_tagify_script', FEEDZY_ABSURL . 'includes/views/js/jquery.tagify.min.js', array( 'jquery' ), $this->version, true );
|
129 |
wp_enqueue_script(
|
130 |
$this->plugin_name . '_metabox_edit_script',
|
131 |
FEEDZY_ABSURL . 'includes/views/js/import-metabox-edit.js',
|
148 |
'importing' => __( 'Importing', 'feedzy-rss-feeds' ) . '...',
|
149 |
'run_now' => __( 'Run Now', 'feedzy-rss-feeds' ),
|
150 |
'dry_run_loading' => '<p class="hide-when-loaded">' . __( 'Processing the source and loading the items that will be imported when it runs', 'feedzy-rss-feeds' ) . '...</p>'
|
151 |
+
. '<p><b>' . __( 'Please note that if some of these items have already have been imported in previous runs with the same filters, they may be shown here but will not be imported again.', 'feedzy-rss-feeds' ) . '</b></p>'
|
152 |
+
. '<p class="loading-img hide-when-loaded"><img src="' . includes_url( 'images/wpspin-2x.gif' ) . '"></p><div></div>',
|
153 |
'dry_run_title' => __( 'Importable Items', 'feedzy-rss-feeds' ),
|
154 |
),
|
155 |
)
|
160 |
/**
|
161 |
* Add attributes to $itemArray.
|
162 |
*
|
163 |
+
* @param array $itemArray The item attributes array.
|
164 |
+
* @param object $item The feed item.
|
165 |
+
* @param array $sc The shorcode attributes array.
|
166 |
+
* @param int $index The item number (may not be the same as the item_index).
|
167 |
+
* @param int $item_index The real index of this items in the feed (maybe be different from $index if filters are used).
|
|
|
|
|
|
|
168 |
*
|
169 |
* @return mixed
|
170 |
+
* @since 1.0.0
|
171 |
+
* @access public
|
172 |
*/
|
173 |
public function add_data_to_item( $itemArray, $item, $sc = null, $index = null, $item_index = null ) {
|
174 |
$itemArray['item_categories'] = $this->retrieve_categories( null, $item );
|
179 |
|
180 |
$itemArray['item'] = $item;
|
181 |
$itemArray['item_index'] = $item_index;
|
182 |
+
|
183 |
return $itemArray;
|
184 |
}
|
185 |
|
186 |
/**
|
187 |
* Retrieve the categories.
|
188 |
*
|
189 |
+
* @param string $dumb The initial categories (only a placeholder argument for the filter).
|
190 |
+
* @param object $item The feed item.
|
|
|
|
|
|
|
191 |
*
|
192 |
* @return string
|
193 |
+
* @since ?
|
194 |
+
* @access public
|
195 |
*/
|
196 |
public function retrieve_categories( $dumb, $item ) {
|
197 |
$cats = array();
|
201 |
$cats[] = $category->get_label();
|
202 |
}
|
203 |
}
|
204 |
+
|
205 |
return apply_filters( 'feedzy_categories', implode( ', ', $cats ), $cats, $item );
|
206 |
}
|
207 |
|
216 |
'name' => __( 'Import Posts', 'feedzy-rss-feeds' ),
|
217 |
'singular_name' => __( 'Import Post', 'feedzy-rss-feeds' ),
|
218 |
'add_new' => __( 'New Import', 'feedzy-rss-feeds' ),
|
219 |
+
'add_new_item' => false,
|
220 |
+
'edit_item' => false,
|
221 |
'new_item' => __( 'New Import Post', 'feedzy-rss-feeds' ),
|
222 |
'view_item' => __( 'View Import', 'feedzy-rss-feeds' ),
|
223 |
'search_items' => __( 'Search Imports', 'feedzy-rss-feeds' ),
|
228 |
'title',
|
229 |
);
|
230 |
$args = array(
|
231 |
+
'labels' => $labels,
|
232 |
+
'supports' => false,
|
233 |
+
'public' => true,
|
234 |
+
'exclude_from_search' => true,
|
235 |
+
'publicly_queryable' => false,
|
236 |
+
'capability_type' => 'post',
|
237 |
+
'show_in_nav_menus' => false,
|
238 |
+
'rewrite' => array(
|
239 |
'slug' => 'feedzy-import',
|
240 |
),
|
241 |
+
'show_in_menu' => 'feedzy-admin-menu',
|
|
|
242 |
);
|
243 |
$args = apply_filters( 'feedzy_imports_args', $args );
|
244 |
register_post_type( 'feedzy_imports', $args );
|
245 |
+
|
246 |
+
// Register setting field.
|
247 |
+
register_setting(
|
248 |
+
'feedzy_import_tour_settings',
|
249 |
+
'feedzy_import_tour',
|
250 |
+
array(
|
251 |
+
'type' => 'boolean',
|
252 |
+
'description' => __( 'Show tour for Feedzy.', 'feedzy-rss-feeds' ),
|
253 |
+
'show_in_rest' => true,
|
254 |
+
'default' => true,
|
255 |
+
)
|
256 |
+
);
|
257 |
}
|
258 |
|
259 |
/**
|
263 |
* @since 1.2.0
|
264 |
* @access public
|
265 |
*/
|
266 |
+
public function add_feedzy_import_metaboxes( $post_type, $post ) {
|
267 |
+
if ( 'feedzy_imports' !== $post_type ) {
|
268 |
+
return;
|
269 |
+
}
|
270 |
+
|
271 |
add_meta_box(
|
272 |
'feedzy_import_feeds',
|
273 |
__( 'Feed Import Options', 'feedzy-rss-feeds' ),
|
284 |
/**
|
285 |
* Method to display metabox for import post type.
|
286 |
*
|
287 |
+
* @return mixed
|
288 |
* @since 1.2.0
|
289 |
* @access public
|
|
|
290 |
*/
|
291 |
public function feedzy_import_feed_options() {
|
292 |
global $post, $pagenow;
|
293 |
+
$args = array(
|
294 |
'post_type' => 'feedzy_categories',
|
295 |
'posts_per_page' => 100,
|
296 |
);
|
297 |
+
$feed_categories = get_posts( $args );
|
298 |
+
$post_types = get_post_types( '', 'names' );
|
299 |
+
$post_types = array_diff( $post_types, array( 'feedzy_imports', 'feedzy_categories' ) );
|
300 |
+
$published_status = array( 'publish', 'draft' );
|
301 |
$keyword_filter_fields = array( __( 'Title', 'feedzy-rss-feeds' ) );
|
302 |
if ( feedzy_is_pro() ) {
|
303 |
+
$keyword_filter_fields = array_merge(
|
304 |
+
$keyword_filter_fields, array(
|
305 |
+
__( 'Description', 'feedzy-rss-feeds' ),
|
306 |
+
__( 'Author', 'feedzy-rss-feeds' ),
|
307 |
+
__( 'Full Content', 'feedzy-rss-feeds' ),
|
308 |
+
)
|
309 |
+
);
|
310 |
}
|
311 |
$import_post_type = get_post_meta( $post->ID, 'import_post_type', true );
|
312 |
$import_post_term = get_post_meta( $post->ID, 'import_post_term', true );
|
316 |
add_post_meta( $post->ID, 'import_post_status', 'publish' );
|
317 |
$import_post_status = get_post_meta( $post->ID, 'import_post_status', true );
|
318 |
}
|
319 |
+
$source = get_post_meta( $post->ID, 'source', true );
|
320 |
+
$inc_key = get_post_meta( $post->ID, 'inc_key', true );
|
321 |
+
$exc_key = get_post_meta( $post->ID, 'exc_key', true );
|
322 |
+
$inc_on = get_post_meta( $post->ID, 'inc_on', true );
|
323 |
+
$exc_on = get_post_meta( $post->ID, 'exc_on', true );
|
324 |
+
$import_title = get_post_meta( $post->ID, 'import_post_title', true );
|
325 |
+
$import_date = get_post_meta( $post->ID, 'import_post_date', true );
|
326 |
+
$post_excerpt = get_post_meta( $post->ID, 'import_post_excerpt', true );
|
327 |
+
$import_content = get_post_meta( $post->ID, 'import_post_content', true );
|
328 |
+
$import_item_img_url = get_post_meta( $post->ID, 'import_use_external_image', true );
|
329 |
+
$import_item_img_url = 'yes' === $import_item_img_url ? 'checked' : '';
|
330 |
+
$import_featured_img = get_post_meta( $post->ID, 'import_post_featured_img', true );
|
331 |
+
$import_remove_duplicates = get_post_meta( $post->ID, 'import_remove_duplicates', true );
|
332 |
+
$import_remove_duplicates = 'yes' === $import_remove_duplicates || 'post-new.php' === $pagenow ? 'checked' : '';
|
333 |
+
$import_selected_language = get_post_meta( $post->ID, 'language', true );
|
334 |
+
$from_datetime = get_post_meta( $post->ID, 'from_datetime', true );
|
335 |
+
$to_datetime = get_post_meta( $post->ID, 'to_datetime', true );
|
336 |
+
$import_auto_translation = get_post_meta( $post->ID, 'import_auto_translation', true );
|
337 |
+
$import_auto_translation = 'yes' === $import_auto_translation ? 'checked' : '';
|
338 |
+
$import_translation_lang = get_post_meta( $post->ID, 'import_auto_translation_lang', true );
|
339 |
// default values so that post is not created empty.
|
340 |
if ( empty( $import_title ) ) {
|
341 |
$import_title = '[#item_title]';
|
387 |
if ( ! feedzy_is_pro() ) {
|
388 |
$range = range( 10, 10, 10 );
|
389 |
}
|
390 |
+
|
391 |
return $range;
|
392 |
}
|
393 |
|
395 |
* Save method for custom post type
|
396 |
* import feeds.
|
397 |
*
|
398 |
+
* @param integer $post_id The post ID.
|
399 |
+
* @param object $post The post object.
|
|
|
|
|
|
|
400 |
*
|
401 |
* @return bool
|
402 |
+
* @since 1.2.0
|
403 |
+
* @access public
|
404 |
*/
|
405 |
public function save_feedzy_import_feed_meta( $post_id, $post ) {
|
406 |
if ( empty( $_POST ) ) {
|
449 |
$custom_fields_values[ sanitize_text_field( $key ) ] = esc_html( $val );
|
450 |
}
|
451 |
}
|
452 |
+
$custom_fields = array();
|
453 |
foreach ( $custom_fields_keys as $index => $key_value ) {
|
454 |
$value = '';
|
455 |
if ( isset( $custom_fields_values[ $index ] ) ) {
|
466 |
$source_is_valid = false;
|
467 |
// Check feeds remove duplicates checkbox checked OR not.
|
468 |
$data_meta['import_remove_duplicates'] = isset( $data_meta['import_remove_duplicates'] ) ? $data_meta['import_remove_duplicates'] : 'no';
|
469 |
+
// Check feeds automatically translation checkbox checked OR not.
|
470 |
+
$data_meta['import_auto_translation'] = isset( $data_meta['import_auto_translation'] ) ? $data_meta['import_auto_translation'] : 'no';
|
471 |
// Check feeds external image URL checkbox checked OR not.
|
472 |
$data_meta['import_use_external_image'] = isset( $data_meta['import_use_external_image'] ) ? $data_meta['import_use_external_image'] : 'no';
|
473 |
foreach ( $data_meta as $key => $value ) {
|
505 |
|
506 |
do_action( 'feedzy_save_fields', $post_id, $post );
|
507 |
}
|
508 |
+
|
509 |
return true;
|
510 |
}
|
511 |
|
514 |
*
|
515 |
* @access public
|
516 |
*
|
517 |
+
* @param string $location The url to redirect to.
|
518 |
+
* @param int $post_id The post ID.
|
519 |
*
|
520 |
* @return string
|
521 |
*/
|
524 |
if ( 'feedzy_imports' === $post->post_type ) {
|
525 |
// if invalid source has been found, redirect back to edit screen
|
526 |
// where errors can be shown
|
527 |
+
$invalid = get_post_meta( $post_id, '__transient_feedzy_invalid_source', true );
|
528 |
$invalid_dc_namespace = get_post_meta( $post_id, '__transient_feedzy_invalid_dc_namespace', true );
|
529 |
if ( empty( $invalid ) && empty( $invalid_dc_namespace ) ) {
|
530 |
return admin_url( 'edit.php?post_type=feedzy_imports' );
|
531 |
}
|
532 |
}
|
533 |
+
|
534 |
return $location;
|
535 |
}
|
536 |
|
537 |
/**
|
538 |
* Method to add header columns to import feeds table.
|
539 |
*
|
540 |
+
* @param array $columns The columns array.
|
|
|
|
|
|
|
541 |
*
|
542 |
* @return array|bool
|
543 |
+
* @since 1.2.0
|
544 |
+
* @access public
|
545 |
*/
|
546 |
public function feedzy_import_columns( $columns ) {
|
547 |
$columns['title'] = __( 'Import Title', 'feedzy-rss-feeds' );
|
578 |
* Utility method to insert before specific key
|
579 |
* in an associative array.
|
580 |
*
|
581 |
+
* @param string $key The key before to insert.
|
582 |
+
* @param array $array The array in which to insert the new key.
|
583 |
+
* @param string $new_key The new key name.
|
584 |
+
* @param mixed $new_value The new key value.
|
|
|
|
|
|
|
585 |
*
|
586 |
* @return array|bool
|
587 |
+
* @since 1.2.0
|
588 |
+
* @access public
|
589 |
*/
|
590 |
protected function array_insert_before( $key, &$array, $new_key, $new_value ) {
|
591 |
if ( array_key_exists( $key, $array ) ) {
|
606 |
/**
|
607 |
* Method to add a columns in the import feeds table.
|
608 |
*
|
609 |
+
* @param string $column The current column to check.
|
610 |
+
* @param integer $post_id The post ID.
|
611 |
+
*
|
612 |
* @since 1.2.0
|
613 |
* @access public
|
|
|
|
|
|
|
614 |
*/
|
615 |
public function manage_feedzy_import_columns( $column, $post_id ) {
|
616 |
global $post;
|
659 |
}
|
660 |
|
661 |
$msg .= $this->get_last_run_details( $post_id );
|
662 |
+
echo( $msg ); //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
663 |
|
664 |
if ( 'publish' === $post->post_status ) {
|
665 |
+
echo sprintf( '<p><input type="button" class="button button-primary feedzy-run-now" data-id="%d" value="%s"></p>', esc_attr( $post_id ), esc_attr__( 'Run Now', 'feedzy-rss-feeds' ) );
|
666 |
}
|
667 |
|
668 |
break;
|
684 |
/**
|
685 |
* Generate the markup that displays the status.
|
686 |
*
|
687 |
+
* @param integer $post_id The post ID.
|
688 |
+
*
|
689 |
* @since ?
|
690 |
* @access private
|
|
|
|
|
691 |
*/
|
692 |
private function get_last_run_details( $post_id ) {
|
693 |
$msg = '';
|
938 |
public function ajax() {
|
939 |
check_ajax_referer( FEEDZY_BASEFILE, 'security' );
|
940 |
|
941 |
+
$_POST['feedzy_category_meta_noncename'] = filter_input( INPUT_POST, 'security', FILTER_UNSAFE_RAW );
|
942 |
+
$_action = filter_input( INPUT_POST, '_action', FILTER_UNSAFE_RAW );
|
943 |
|
944 |
switch ( $_action ) {
|
945 |
case 'import_status':
|
1048 |
$job = get_post( filter_input( INPUT_POST, 'id', FILTER_SANITIZE_NUMBER_INT ) );
|
1049 |
$count = $this->run_job( $job, 100 );
|
1050 |
|
1051 |
+
$msg = $count > 0 ? __( 'Successfully run!', 'feedzy-rss-feeds' ) : __( 'Nothing imported!', 'feedzy-rss-feeds' );
|
1052 |
$msg .= ' (' . __( 'Refresh this page for the updated status', 'feedzy-rss-feeds' ) . ')';
|
1053 |
|
1054 |
wp_send_json_success( array( 'msg' => $msg ) );
|
1070 |
|
1071 |
add_filter(
|
1072 |
'feedzy_default_error',
|
1073 |
+
function ( $errors, $feed, $url ) {
|
1074 |
$errors .=
|
1075 |
+
sprintf( __( 'For %1$ssingle feeds%2$s, this could be because of the following reasons:', 'feedzy-rss-feeds' ), '<b>', '</b>' )
|
1076 |
+
. '<ol>'
|
1077 |
+
. '<li>' . sprintf( __( '%1$sSource invalid%2$s: Check that your source is valid by clicking the validate button adjacent to the source box.', 'feedzy-rss-feeds' ), '<b>', '</b>' ) . '</li>'
|
1078 |
+
. '<li>' . sprintf( __( '%1$sSource unavailable%2$s: Copy the source and paste it on the browser to check that it is available. It could be an intermittent issue.', 'feedzy-rss-feeds' ), '<b>', '</b>' ) . '</li>'
|
1079 |
+
. '<li>' . sprintf( __( '%1$sSource inaccessible from server%2$s: Check that your source is accessible from the server (not the browser). It could be an intermittent issue.', 'feedzy-rss-feeds' ), '<b>', '</b>' ) . '</li>'
|
1080 |
+
. '</ol>'
|
1081 |
+
. sprintf( __( 'For %1$smultiple feeds%2$s (comma-separated or in a Feedzy Category), this could be because of the following reasons:', 'feedzy-rss-feeds' ), '<b>', '</b>' )
|
1082 |
+
. '<ol>'
|
1083 |
+
. '<li>' . sprintf( __( '%1$sSource invalid%2$s: One or more feeds may be misbehaving. Check each feed individually as mentioned above to weed out the problematic feed.', 'feedzy-rss-feeds' ), '<b>', '</b>' ) . '</li>'
|
1084 |
+
. '</ol>';
|
1085 |
|
1086 |
return $errors;
|
1087 |
},
|
1141 |
/**
|
1142 |
* Runs a specific job.
|
1143 |
*
|
1144 |
+
* @return int
|
1145 |
* @since 1.6.1
|
1146 |
* @access private
|
|
|
1147 |
*/
|
1148 |
private function run_job( $job, $max ) {
|
1149 |
+
$source = get_post_meta( $job->ID, 'source', true );
|
1150 |
+
$inc_key = get_post_meta( $job->ID, 'inc_key', true );
|
1151 |
+
$exc_key = get_post_meta( $job->ID, 'exc_key', true );
|
1152 |
+
$inc_on = get_post_meta( $job->ID, 'inc_on', true );
|
1153 |
+
$exc_on = get_post_meta( $job->ID, 'exc_on', true );
|
1154 |
+
$import_title = get_post_meta( $job->ID, 'import_post_title', true );
|
1155 |
+
$import_title = $this->feedzy_import_trim_tags( $import_title );
|
1156 |
+
$import_date = get_post_meta( $job->ID, 'import_post_date', true );
|
1157 |
+
$post_excerpt = get_post_meta( $job->ID, 'import_post_excerpt', true );
|
1158 |
+
$post_excerpt = $this->feedzy_import_trim_tags( $post_excerpt );
|
1159 |
+
$import_content = get_post_meta( $job->ID, 'import_post_content', true );
|
1160 |
+
$import_content = str_replace( array( '[[{"value":"', '"}]]' ), '', $import_content );
|
1161 |
+
$import_featured_img = get_post_meta( $job->ID, 'import_post_featured_img', true );
|
1162 |
+
$import_post_type = get_post_meta( $job->ID, 'import_post_type', true );
|
1163 |
+
$import_post_term = get_post_meta( $job->ID, 'import_post_term', true );
|
1164 |
+
$import_feed_limit = get_post_meta( $job->ID, 'import_feed_limit', true );
|
1165 |
+
$import_item_img_url = get_post_meta( $job->ID, 'import_use_external_image', true );
|
1166 |
+
$import_remove_duplicates = get_post_meta( $job->ID, 'import_remove_duplicates', true );
|
1167 |
+
$import_selected_language = get_post_meta( $job->ID, 'language', true );
|
1168 |
+
$from_datetime = get_post_meta( $job->ID, 'from_datetime', true );
|
1169 |
+
$to_datetime = get_post_meta( $job->ID, 'to_datetime', true );
|
1170 |
+
$import_auto_translation = get_post_meta( $job->ID, 'import_auto_translation', true );
|
1171 |
+
$import_auto_translation = $this->feedzy_is_agency() && 'yes' === $import_auto_translation ? true : false;
|
1172 |
+
$import_translation_lang = get_post_meta( $job->ID, 'import_auto_translation_lang', true );
|
1173 |
+
$max = $import_feed_limit;
|
1174 |
// Used as a new line character in import content.
|
1175 |
$import_content = str_replace( PHP_EOL, "\r\n", $import_content );
|
1176 |
$import_content = trim( $import_content );
|
1209 |
$options = apply_filters(
|
1210 |
'feedzy_shortcode_options',
|
1211 |
array(
|
1212 |
+
'feeds' => $source,
|
1213 |
+
'max' => $max,
|
1214 |
+
'feed_title' => 'no',
|
1215 |
+
'target' => '_blank',
|
1216 |
+
'title' => '',
|
1217 |
+
'meta' => $meta,
|
1218 |
+
'summary' => 'yes',
|
1219 |
+
'summarylength' => '',
|
1220 |
+
'thumb' => 'auto',
|
1221 |
+
'default' => '',
|
1222 |
+
'size' => '250',
|
1223 |
+
'keywords_inc' => $inc_key, // this is not keywords_title
|
1224 |
+
'keywords_ban' => $exc_key, // to support old pro that does not support keywords_exc
|
1225 |
+
'keywords_exc' => $exc_key, // this is not keywords_ban
|
1226 |
+
'keywords_inc_on' => $inc_on,
|
1227 |
+
'keywords_exc_on' => $exc_on,
|
1228 |
+
'columns' => 1,
|
1229 |
+
'offset' => 0,
|
1230 |
+
'multiple_meta' => 'no',
|
1231 |
+
'refresh' => '55_mins',
|
1232 |
+
'from_datetime' => $from_datetime,
|
1233 |
+
'to_datetime' => $to_datetime,
|
1234 |
),
|
1235 |
$job
|
1236 |
);
|
1248 |
delete_post_meta( $job->ID, 'import_info' );
|
1249 |
|
1250 |
// let's increase this time in case spinnerchief/wordai is being used.
|
1251 |
+
set_time_limit( apply_filters( 'feedzy_max_execution_time', 500 ) );
|
1252 |
|
1253 |
$count = $index = $import_image_errors = $duplicates = 0;
|
1254 |
|
1256 |
$import_errors = array();
|
1257 |
|
1258 |
// the array that captures additional information about the import.
|
1259 |
+
$import_info = array();
|
1260 |
+
$results = $this->get_job_feed( $options, $import_content, true );
|
1261 |
+
$language_code = $results['feed']->get_language();
|
1262 |
|
1263 |
$xml_results = '';
|
1264 |
if ( false !== strpos( $import_content, '[#item_full_content]' ) ) {
|
1269 |
$import_errors[] = $results->get_error_message();
|
1270 |
update_post_meta( $job->ID, 'import_errors', $import_errors );
|
1271 |
update_post_meta( $job->ID, 'imported_items_count', 0 );
|
1272 |
+
|
1273 |
return;
|
1274 |
}
|
1275 |
|
1292 |
|
1293 |
if ( ! $start_import ) {
|
1294 |
update_post_meta( $job->ID, 'import_errors', $import_errors );
|
1295 |
+
|
1296 |
return 0;
|
1297 |
}
|
1298 |
|
1299 |
+
$rewrite_service_endabled = $this->rewrite_content_service_endabled();
|
1300 |
+
|
1301 |
+
$duplicates = $items_found = array();
|
1302 |
$found_duplicates = array();
|
1303 |
foreach ( $result as $item ) {
|
1304 |
$item_hash = $use_new_hash ? $item['item_id'] : hash( 'sha256', $item['item_url'] . '_' . $item['item_date'] );
|
1316 |
}
|
1317 |
if ( $is_duplicate ) {
|
1318 |
do_action( 'themeisle_log_event', FEEDZY_NAME, sprintf( 'Ignoring %s as it is a duplicate (%s hash).', $item_hash, $use_new_hash ? 'new' : 'old' ), 'warn', __FILE__, __LINE__ );
|
1319 |
+
$index ++;
|
1320 |
$duplicates[ $item['item_url'] ] = $item['item_title'];
|
1321 |
continue;
|
1322 |
}
|
1339 |
$item_date = date( get_option( 'date_format' ) . ' at ' . get_option( 'time_format' ), $item['item_date'] );
|
1340 |
$item_date = $item['item_date_formatted'];
|
1341 |
|
1342 |
+
// Get translated item title.
|
1343 |
+
$translated_title = '';
|
1344 |
+
if ( $import_auto_translation && ( false !== strpos( $import_title, '[#translated_title]' ) || false !== strpos( $post_excerpt, '[#translated_title]' ) ) ) {
|
1345 |
+
$translated_title = apply_filters( 'feedzy_invoke_auto_translate_services', $item['item_title'], '[#translated_title]', $import_translation_lang, $job, $language_code );
|
1346 |
+
}
|
1347 |
+
|
1348 |
$post_title = str_replace(
|
1349 |
array(
|
1350 |
'[#item_title]',
|
1353 |
'[#item_date_local]',
|
1354 |
'[#item_date_feed]',
|
1355 |
'[#item_source]',
|
1356 |
+
'[#translated_title]',
|
1357 |
),
|
1358 |
array(
|
1359 |
$item['item_title'],
|
1362 |
$item_date,
|
1363 |
$item_date,
|
1364 |
$item['item_source'],
|
1365 |
+
$translated_title,
|
1366 |
),
|
1367 |
$import_title
|
1368 |
);
|
1373 |
|
1374 |
$post_title = apply_filters( 'feedzy_invoke_services', $post_title, 'title', $item['item_title'], $job );
|
1375 |
|
1376 |
+
// Get translated item link text.
|
1377 |
+
$item_link_txt = __( 'Read More', 'feedzy-rss-feeds' );
|
1378 |
+
if ( $import_auto_translation && false !== strpos( $import_content, '[#item_url]' ) ) {
|
1379 |
+
$item_link_txt = apply_filters( 'feedzy_invoke_auto_translate_services', $item_link_txt, '[#item_url]', $import_translation_lang, $job, $language_code );
|
1380 |
+
}
|
1381 |
+
|
1382 |
+
$item_link = '<a href="' . $item['item_url'] . '" target="_blank" class="feedzy-rss-link-icon">' . $item_link_txt . '</a>';
|
1383 |
+
|
1384 |
+
// Rewriter item title from feedzy API.
|
1385 |
+
if ( $rewrite_service_endabled && false !== strpos( $post_title, '[#title_feedzy_rewrite]' ) ) {
|
1386 |
+
$title_feedzy_rewrite = apply_filters( 'feedzy_invoke_content_rewrite_services', $item['item_title'], '[#title_feedzy_rewrite]', $job );
|
1387 |
+
$post_title = str_replace( '[#title_feedzy_rewrite]', $title_feedzy_rewrite, $post_title );
|
1388 |
+
}
|
1389 |
+
|
1390 |
+
$item_link = '<a href="' . $item['item_url'] . '" target="_blank" class="feedzy-rss-link-icon">' . __( 'Read More', 'feedzy-rss-feeds' ) . '</a>';
|
1391 |
+
|
1392 |
$image_html = '';
|
1393 |
if ( ! empty( $item['item_img_path'] ) ) {
|
1394 |
$image_html = '<img src="' . $item['item_img_path'] . '" title="' . $item['item_title'] . '" />';
|
1395 |
}
|
1396 |
+
|
1397 |
+
// Get translated item description.
|
1398 |
+
$translated_description = '';
|
1399 |
+
if ( $import_auto_translation && ( false !== strpos( $import_content, '[#translated_description]' ) || false !== strpos( $post_excerpt, '[#translated_description]' ) ) ) {
|
1400 |
+
$translated_description = apply_filters( 'feedzy_invoke_auto_translate_services', $item['item_full_description'], '[#translated_description]', $import_translation_lang, $job, $language_code );
|
1401 |
+
}
|
1402 |
+
|
1403 |
+
// Get translated item content.
|
1404 |
+
$translated_content = '';
|
1405 |
+
if ( $import_auto_translation && ( false !== strpos( $import_content, '[#translated_content]' ) || false !== strpos( $post_excerpt, '[#translated_content]' ) ) ) {
|
1406 |
+
$translated_content = ! empty( $item['item_content'] ) ? $item['item_content'] : $item['item_description'];
|
1407 |
+
$translated_content = apply_filters( 'feedzy_invoke_auto_translate_services', $translated_content, '[#translated_content]', $import_translation_lang, $job, $language_code );
|
1408 |
+
}
|
1409 |
+
|
1410 |
+
// exit;
|
1411 |
$post_content = str_replace(
|
1412 |
array(
|
1413 |
'[#item_description]',
|
1416 |
'[#item_url]',
|
1417 |
'[#item_categories]',
|
1418 |
'[#item_source]',
|
1419 |
+
'[#translated_description]',
|
1420 |
+
'[#translated_content]',
|
1421 |
),
|
1422 |
array(
|
1423 |
$item['item_description'],
|
1426 |
$item_link,
|
1427 |
$item['item_categories'],
|
1428 |
$item['item_source'],
|
1429 |
+
$translated_description,
|
1430 |
+
$translated_content,
|
1431 |
),
|
1432 |
$import_content
|
1433 |
);
|
1464 |
|
1465 |
$post_content = apply_filters( 'feedzy_invoke_services', $post_content, 'content', $item['item_description'], $job );
|
1466 |
|
1467 |
+
// Translate full-content.
|
1468 |
+
if ( $import_auto_translation && false !== strpos( $post_content, '[#translated_full_content]' ) ) {
|
1469 |
+
$translated_full_content = apply_filters( 'feedzy_invoke_auto_translate_services', $item['item_url'], '[#translated_full_content]', $import_translation_lang, $job, $language_code );
|
1470 |
+
$post_content = str_replace( '[#translated_full_content]', rtrim( $translated_full_content, '.' ), $post_content );
|
1471 |
+
}
|
1472 |
+
// Rewriter item content from feedzy API.
|
1473 |
+
if ( $rewrite_service_endabled && false !== strpos( $post_content, '[#content_feedzy_rewrite]' ) ) {
|
1474 |
+
$item_content = ! empty( $item['item_content'] ) ? $item['item_content'] : $item['item_description'];
|
1475 |
+
$content_feedzy_rewrite = apply_filters( 'feedzy_invoke_content_rewrite_services', $item_content, '[#content_feedzy_rewrite]', $job );
|
1476 |
+
$post_content = str_replace( '[#content_feedzy_rewrite]', $content_feedzy_rewrite, $post_content );
|
1477 |
+
}
|
1478 |
+
|
1479 |
+
// Rewriter item full content from feedzy API.
|
1480 |
+
if ( $rewrite_service_endabled && false !== strpos( $post_content, '[#full_content_feedzy_rewrite]' ) ) {
|
1481 |
+
$full_content_feedzy_rewrite = apply_filters( 'feedzy_invoke_content_rewrite_services', $item['item_url'], '[#full_content_feedzy_rewrite]', $job );
|
1482 |
+
$post_content = str_replace( '[#full_content_feedzy_rewrite]', $full_content_feedzy_rewrite, $post_content );
|
1483 |
+
}
|
1484 |
+
|
1485 |
// phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date
|
1486 |
$item_date = date( 'Y-m-d H:i:s', $item['item_date'] );
|
1487 |
// phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date
|
1510 |
'[#item_title]',
|
1511 |
'[#item_content]',
|
1512 |
'[#item_description]',
|
1513 |
+
'[#translated_title]',
|
1514 |
+
'[#translated_content]',
|
1515 |
+
'[#translated_description]',
|
1516 |
),
|
1517 |
array(
|
1518 |
$post_title,
|
1519 |
$post_content,
|
1520 |
$item['item_description'],
|
1521 |
+
$translated_title,
|
1522 |
+
$translated_content,
|
1523 |
+
$translated_description,
|
1524 |
),
|
1525 |
$post_excerpt
|
1526 |
);
|
1550 |
// no point creating a post if either the title or the content is null.
|
1551 |
if ( is_null( $post_title ) || is_null( $post_content ) ) {
|
1552 |
do_action( 'themeisle_log_event', FEEDZY_NAME, sprintf( 'NOT creating a new post as title (%s) or content (%s) is null.', $post_title, $post_content ), 'info', __FILE__, __LINE__ );
|
1553 |
+
$index ++;
|
1554 |
$import_errors[] = __( 'Title or Content is empty.', 'feedzy-rss-feeds' );
|
1555 |
continue;
|
1556 |
}
|
1586 |
}
|
1587 |
|
1588 |
if ( ! $img_success ) {
|
1589 |
+
$import_image_errors ++;
|
1590 |
}
|
1591 |
} else {
|
1592 |
$new_post_id = wp_insert_post( $new_post, true );
|
1608 |
}
|
1609 |
}
|
1610 |
do_action( 'themeisle_log_event', FEEDZY_NAME, sprintf( 'Unable to create a new post with params %s. Error: %s', print_r( $new_post, true ), $error_reason ), 'error', __FILE__, __LINE__ );
|
1611 |
+
$index ++;
|
1612 |
continue;
|
1613 |
}
|
1614 |
do_action( 'themeisle_log_event', FEEDZY_NAME, sprintf( 'created new post with ID %d with post_content %s', $new_post_id, $post_content ), 'debug', __FILE__, __LINE__ );
|
1615 |
if ( ! in_array( $item_hash, $found_duplicates, true ) ) {
|
1616 |
$imported_items[] = $item_hash;
|
1617 |
+
$count ++;
|
1618 |
}
|
1619 |
|
1620 |
if ( $import_post_term !== 'none' && strpos( $import_post_term, '_' ) > 0 ) {
|
1630 |
// uncategorized
|
1631 |
// 1. may be the unmodified category ID 1
|
1632 |
// 2. may have been recreated ('uncategorized') and may have a different slug in different languages.
|
1633 |
+
wp_remove_object_terms(
|
1634 |
+
$new_post_id, apply_filters(
|
1635 |
+
'feedzy_uncategorized', array(
|
1636 |
+
1,
|
1637 |
+
'uncategorized',
|
1638 |
+
$uncategorized->slug,
|
1639 |
+
), $job->ID
|
1640 |
+
), 'category'
|
1641 |
+
);
|
1642 |
|
1643 |
$result = wp_set_object_terms( $new_post_id, intval( $term_id ), $taxonomy, true );
|
1644 |
do_action( 'themeisle_log_event', FEEDZY_NAME, sprintf( 'After creating post in %s/%d, result = %s', $taxonomy, $term_id, print_r( $result, true ) ), 'debug', __FILE__, __LINE__ );
|
1675 |
if ( empty( $image_url ) && defined( 'FEEDZY_PRO_FETCH_ITEM_IMG_URL' ) ) {
|
1676 |
// if license does not exist, use the site url
|
1677 |
// this should obviously never happen unless on dev instances.
|
1678 |
+
$license = apply_filters( 'product_feedzy_license_key', sprintf( 'n/a - %s', get_site_url() ) );
|
1679 |
+
|
|
|
|
|
|
|
1680 |
$response = wp_remote_post(
|
1681 |
FEEDZY_PRO_FETCH_ITEM_IMG_URL,
|
1682 |
apply_filters(
|
1687 |
array(
|
1688 |
'item_url' => $item['item_url'],
|
1689 |
'license' => $license,
|
1690 |
+
'site_url' => get_site_url(),
|
1691 |
)
|
1692 |
),
|
1693 |
)
|
1728 |
// Set default thumbnail image.
|
1729 |
if ( ! $img_success && isset( $this->free_settings['general']['default-thumbnail-id'] ) ) {
|
1730 |
$default_thumbnail = $this->free_settings['general']['default-thumbnail-id'];
|
1731 |
+
$img_success = set_post_thumbnail( $new_post_id, $default_thumbnail );
|
1732 |
}
|
1733 |
|
1734 |
if ( ! $img_success ) {
|
1735 |
+
$import_image_errors ++;
|
1736 |
}
|
1737 |
}
|
1738 |
|
1739 |
+
$index ++;
|
1740 |
|
1741 |
// indicate that this post was imported by feedzy.
|
1742 |
update_post_meta( $new_post_id, 'feedzy', 1 );
|
1774 |
/**
|
1775 |
* Method to return feed items to use on cron job.
|
1776 |
*
|
1777 |
+
* @param array $options The options for the job.
|
1778 |
+
* @param string $import_content The import content (along with the magic tags).
|
1779 |
+
* @param bool $raw_feed_also Whether to return the raw SimplePie object as well.
|
|
|
|
|
|
|
1780 |
*
|
1781 |
* @return mixed
|
1782 |
+
* @since 1.2.0
|
1783 |
+
* @access public
|
1784 |
*/
|
1785 |
public function get_job_feed( $options, $import_content = null, $raw_feed_also = false ) {
|
1786 |
$admin = Feedzy_Rss_Feeds::instance()->get_admin();
|
1815 |
'feed' => $feed,
|
1816 |
);
|
1817 |
}
|
1818 |
+
|
1819 |
return $feed_items;
|
1820 |
}
|
1821 |
|
1822 |
/**
|
1823 |
* Downloads and sets a post featured image if possible.
|
1824 |
*
|
1825 |
+
* @param string $file The file URL.
|
1826 |
+
* @param integer $post_id The post ID.
|
1827 |
+
* @param string $desc Description.
|
1828 |
+
* @param array $import_errors Array of import error messages.
|
1829 |
+
* @param array $import_info Array of import information messages.
|
|
|
|
|
|
|
1830 |
*
|
1831 |
* @return bool
|
1832 |
+
* @since 1.2.0
|
1833 |
+
* @access private
|
1834 |
*/
|
1835 |
private function generate_featured_image( $file, $post_id, $desc, &$import_errors, &$import_info, $post_data = array() ) {
|
1836 |
do_action( 'themeisle_log_event', FEEDZY_NAME, sprintf( 'Trying to generate featured image for %s and postID %d', $file, $post_id ), 'debug', __FILE__, __LINE__ );
|
1843 |
$local_file = download_url( $file );
|
1844 |
if ( is_wp_error( $local_file ) ) {
|
1845 |
do_action( 'themeisle_log_event', FEEDZY_NAME, sprintf( 'Unable to download file = %s and postID %d', print_r( $local_file, true ), $post_id ), 'error', __FILE__, __LINE__ );
|
1846 |
+
|
1847 |
return false;
|
1848 |
}
|
1849 |
|
1859 |
$local_file = $new_local_file;
|
1860 |
} else {
|
1861 |
do_action( 'themeisle_log_event', FEEDZY_NAME, sprintf( 'Unable to rename file for postID %d', $post_id ), 'error', __FILE__, __LINE__ );
|
1862 |
+
|
1863 |
return false;
|
1864 |
}
|
1865 |
}
|
1871 |
if ( is_wp_error( $id ) ) {
|
1872 |
do_action( 'themeisle_log_event', FEEDZY_NAME, sprintf( 'Unable to attach file for postID %d = %s', $post_id, print_r( $id, true ) ), 'error', __FILE__, __LINE__ );
|
1873 |
unlink( $file_array['tmp_name'] );
|
1874 |
+
|
1875 |
return false;
|
1876 |
}
|
1877 |
|
1885 |
} else {
|
1886 |
do_action( 'themeisle_log_event', FEEDZY_NAME, sprintf( 'Attached file as featured image for postID %d', $post_id ), 'info', __FILE__, __LINE__ );
|
1887 |
}
|
1888 |
+
|
1889 |
return $success;
|
1890 |
}
|
1891 |
|
1928 |
* Method to return license status.
|
1929 |
* Used to filter PRO version types.
|
1930 |
*
|
1931 |
+
* @return bool
|
1932 |
* @since 1.2.0
|
1933 |
* @access public
|
|
|
1934 |
*/
|
1935 |
public function feedzy_is_business() {
|
1936 |
return $this->feedzy_is_license_of_type( false, 'business' );
|
1939 |
/**
|
1940 |
* Method to return if licence is agency.
|
1941 |
*
|
1942 |
+
* @return bool
|
1943 |
* @since 1.3.2
|
1944 |
* @access public
|
|
|
1945 |
*/
|
1946 |
public function feedzy_is_agency() {
|
1947 |
return $this->feedzy_is_license_of_type( false, 'agency' );
|
1961 |
return $default;
|
1962 |
}
|
1963 |
}
|
1964 |
+
$plan = apply_filters( 'product_feedzy_license_plan', 0 );
|
1965 |
$plan = intval( $plan );
|
|
|
1966 |
switch ( $type ) {
|
1967 |
case 'agency':
|
1968 |
+
return in_array( $plan, array( 3, 6, 7 ), true );
|
1969 |
case 'business':
|
1970 |
+
return in_array( $plan, array( 2, 3, 5, 6, 7, 8 ), true );
|
1971 |
case 'pro':
|
1972 |
return ( $plan > 0 );
|
1973 |
}
|
1974 |
+
|
1975 |
return $default;
|
1976 |
}
|
1977 |
|
2000 |
'content' => $this->render_view( $tab ),
|
2001 |
'ajax' => false,
|
2002 |
);
|
2003 |
+
|
2004 |
return $fields;
|
2005 |
}
|
2006 |
|
2022 |
*/
|
2023 |
public function settings_tabs( $tabs ) {
|
2024 |
$tabs['misc'] = __( 'Miscellaneous', 'feedzy-rss-feeds' );
|
2025 |
+
if ( ! feedzy_is_pro() ) {
|
2026 |
+
$tabs['wordai'] = sprintf( '%s <span class="pro-label">PRO</span>', __( 'WordAi', 'feedzy-rss-feeds' ) );
|
2027 |
+
$tabs['spinnerchief'] = sprintf( '%s <span class="pro-label">PRO</span>', __( 'SpinnerChief', 'feedzy-rss-feeds' ) );
|
2028 |
+
}
|
2029 |
+
|
2030 |
return $tabs;
|
2031 |
}
|
2032 |
|
2043 |
if ( 'misc' === $tab ) {
|
2044 |
$settings['canonical'] = isset( $_POST['canonical'] ) ? filter_input( INPUT_POST, 'canonical', FILTER_SANITIZE_NUMBER_INT ) : 0;
|
2045 |
}
|
2046 |
+
|
2047 |
return $settings;
|
2048 |
}
|
2049 |
|
2050 |
/**
|
2051 |
* Render a view page.
|
2052 |
*
|
2053 |
+
* @param string $name The name of the view.
|
|
|
|
|
|
|
2054 |
*
|
2055 |
* @return string
|
2056 |
+
* @since 1.3.2
|
2057 |
+
* @access public
|
2058 |
*/
|
2059 |
private function render_view( $name ) {
|
2060 |
$file = null;
|
2062 |
case 'misc':
|
2063 |
$file = FEEDZY_ABSPATH . '/includes/views/' . $name . '-view.php';
|
2064 |
break;
|
2065 |
+
case 'wordai':
|
2066 |
+
case 'spinnerchief':
|
2067 |
+
if ( ! feedzy_is_pro() ) {
|
2068 |
+
$file = FEEDZY_ABSPATH . '/includes/views/' . $name . '-view.php';
|
2069 |
+
} else {
|
2070 |
+
$file = apply_filters( 'feedzy_render_view', $file, $name );
|
2071 |
+
}
|
2072 |
+
break;
|
2073 |
default:
|
2074 |
$file = apply_filters( 'feedzy_render_view', $file, $name );
|
2075 |
break;
|
2081 |
|
2082 |
ob_start();
|
2083 |
include $file;
|
2084 |
+
|
2085 |
return ob_get_clean();
|
2086 |
}
|
2087 |
|
2108 |
}
|
2109 |
}
|
2110 |
}
|
2111 |
+
|
2112 |
return $default;
|
2113 |
}
|
2114 |
|
2115 |
/**
|
2116 |
* Renders the tags for the title.
|
2117 |
*
|
2118 |
+
* @param array $default The default tags, empty.
|
2119 |
+
*
|
2120 |
* @since 1.4.2
|
2121 |
* @access public
|
|
|
|
|
2122 |
*/
|
2123 |
public function magic_tags_title( $default ) {
|
2124 |
$default['item_title'] = __( 'Item Title', 'feedzy-rss-feeds' );
|
2130 |
|
2131 |
// disabled tags.
|
2132 |
if ( ! feedzy_is_pro() ) {
|
2133 |
+
$default['title_spinnerchief:disabled'] = __( '🚫 Title from SpinnerChief', 'feedzy-rss-feeds' );
|
2134 |
+
$default['title_wordai:disabled'] = __( '🚫 Title from WordAI', 'feedzy-rss-feeds' );
|
2135 |
+
|
2136 |
+
$default['translated_title:disabled'] = __( '🚫 Translated Title', 'feedzy-rss-feeds' );
|
2137 |
+
|
2138 |
+
$default['title_feedzy_rewrite:disabled'] = __( '🚫 Paraphrased Title using Feedzy', 'feedzy-rss-feeds' );
|
2139 |
+
|
2140 |
}
|
2141 |
+
|
2142 |
return $default;
|
2143 |
}
|
2144 |
|
2145 |
/**
|
2146 |
* Renders the tags for the date.
|
2147 |
*
|
2148 |
+
* @param array $default The default tags, empty.
|
2149 |
+
*
|
2150 |
* @since 1.4.2
|
2151 |
* @access public
|
|
|
|
|
2152 |
*/
|
2153 |
public function magic_tags_date( $default ) {
|
2154 |
$default['item_date'] = __( 'Item Date', 'feedzy-rss-feeds' );
|
2155 |
$default['post_date'] = __( 'Post Date', 'feedzy-rss-feeds' );
|
2156 |
+
|
2157 |
return $default;
|
2158 |
}
|
2159 |
|
2160 |
/**
|
2161 |
* Renders the tags for the content.
|
2162 |
*
|
2163 |
+
* @param array $default The default tags, empty.
|
2164 |
+
*
|
2165 |
* @since 1.4.2
|
2166 |
* @access public
|
|
|
|
|
2167 |
*/
|
2168 |
public function magic_tags_content( $default ) {
|
2169 |
$default['item_content'] = __( 'Item Content', 'feedzy-rss-feeds' );
|
2175 |
|
2176 |
// disabled tags.
|
2177 |
if ( ! feedzy_is_pro() ) {
|
2178 |
+
$default['item_full_content:disabled'] = __( '🚫 Item Full Content', 'feedzy-rss-feeds' );
|
2179 |
+
$default['content_spinnerchief:disabled'] = __( '🚫 Content from SpinnerChief', 'feedzy-rss-feeds' );
|
2180 |
+
$default['full_content_spinnerchief:disabled'] = __( '🚫 Full content from SpinnerChief', 'feedzy-rss-feeds' );
|
2181 |
+
$default['content_wordai:disabled'] = __( '🚫 Content from WordAI', 'feedzy-rss-feeds' );
|
2182 |
+
$default['full_content_wordai:disabled'] = __( '🚫 Full content from WordAI', 'feedzy-rss-feeds' );
|
2183 |
+
|
2184 |
+
$default['translated_content:disabled'] = __( '🚫 Translated Content', 'feedzy-rss-feeds' );
|
2185 |
+
$default['translated_description:disabled'] = __( '🚫 Translated Description', 'feedzy-rss-feeds' );
|
2186 |
+
$default['translated_full_content:disabled'] = __( '🚫 Translated Full Content', 'feedzy-rss-feeds' );
|
2187 |
+
|
2188 |
+
$default['content_feedzy_rewrite:disabled'] = __( '🚫 Paraphrased content using Feedzy', 'feedzy-rss-feeds' );
|
2189 |
+
$default['full_content_feedzy_rewrite:disabled'] = __( '🚫 Paraphrased Full content using Feedzy', 'feedzy-rss-feeds' );
|
2190 |
+
|
2191 |
}
|
2192 |
+
|
2193 |
return $default;
|
2194 |
}
|
2195 |
|
2196 |
/**
|
2197 |
* Renders the tags for the featured image.
|
2198 |
*
|
2199 |
+
* @param array $default The default tags, empty.
|
2200 |
+
*
|
2201 |
* @since 1.4.2
|
2202 |
* @access public
|
|
|
|
|
2203 |
*/
|
2204 |
public function magic_tags_image( $default ) {
|
2205 |
$default['item_image'] = __( 'Item Image', 'feedzy-rss-feeds' );
|
2206 |
+
|
2207 |
return $default;
|
2208 |
}
|
2209 |
|
2254 |
$canonical_url = $url;
|
2255 |
}
|
2256 |
}
|
2257 |
+
|
2258 |
return $canonical_url;
|
2259 |
}
|
2260 |
|
2280 |
$feedzy_job_id = get_post_meta( $post->ID, 'feedzy_job', true );
|
2281 |
$actions['feedzy'] = sprintf( '(%s %s)', __( 'Imported by Feedzy from', 'feedzy-rss-feeds' ), get_the_title( $feedzy_job_id ) );
|
2282 |
}
|
2283 |
+
|
2284 |
return $actions;
|
2285 |
}
|
2286 |
|
2316 |
*/
|
2317 |
public function pre_get_posts( $query ) {
|
2318 |
|
2319 |
+
if ( ! function_exists( 'wp_verify_nonce' ) || ( ! wp_verify_nonce( filter_input( INPUT_GET, '_nonce', FILTER_UNSAFE_RAW ), 'job_run_linked_posts' ) ) ) {
|
2320 |
return;
|
2321 |
}
|
2322 |
|
2368 |
if ( isset( $tags['span'] ) ) {
|
2369 |
$tags['span']['disabled'] = true;
|
2370 |
}
|
2371 |
+
|
2372 |
return $tags;
|
2373 |
}
|
2374 |
|
2379 |
* @param string $key Meta Key.
|
2380 |
* @param string $value Meta value.
|
2381 |
* @param string $compare Compare operator.
|
2382 |
+
*
|
2383 |
* @return mixed
|
2384 |
*/
|
2385 |
public function is_duplicate_post( $post_type = 'post', $key = '', $value = '', $compare = '=' ) {
|
2390 |
$data = get_posts(
|
2391 |
array(
|
2392 |
'posts_per_page' => 80,
|
2393 |
+
'post_type' => $post_type,
|
2394 |
+
'meta_key' => $key, //phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_key
|
2395 |
+
'meta_value' => $value, //phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_value
|
2396 |
+
'meta_compare' => $compare,
|
2397 |
+
'fields' => 'ids',
|
2398 |
)
|
2399 |
);
|
2400 |
|
2416 |
|
2417 |
// Update the post language info.
|
2418 |
$language_args = array(
|
2419 |
+
'element_id' => $post_id,
|
2420 |
+
'element_type' => 'post_' . $post_type,
|
2421 |
+
'trid' => $trid,
|
2422 |
+
'language_code' => $language_code,
|
2423 |
'source_language_code' => null,
|
2424 |
);
|
2425 |
|
2434 |
global $wpdb;
|
2435 |
|
2436 |
// @codingStandardsIgnoreStart
|
2437 |
+
$post_type = isset( $_POST['post_type'] ) ? filter_input( INPUT_POST, 'post_type', FILTER_SANITIZE_STRING ) : '';
|
2438 |
$search_key = isset( $_POST['search_key'] ) ? filter_input( INPUT_POST, 'search_key', FILTER_SANITIZE_STRING ) : '';
|
2439 |
// @codingStandardsIgnoreEnd
|
2440 |
|
2441 |
$like = '';
|
2442 |
if ( ! empty( $search_key ) ) {
|
2443 |
+
$like = " AND $wpdb->postmeta.meta_key LIKE '%$search_key%'";
|
2444 |
}
|
2445 |
|
2446 |
// phpcs:ignore
|
2488 |
*
|
2489 |
* @access public
|
2490 |
*
|
2491 |
+
* @param array $default The default tags, empty.
|
2492 |
*/
|
2493 |
public function magic_tags_post_excerpt( $default ) {
|
2494 |
+
$default['item_title'] = __( 'Item Title', 'feedzy-rss-feeds' );
|
2495 |
$default['item_content'] = __( 'Item Content', 'feedzy-rss-feeds' );
|
2496 |
+
$default['item_description'] = __( 'Item Description', 'feedzy-rss-feeds' );
|
2497 |
+
// disabled tags.
|
2498 |
+
if ( ! feedzy_is_pro() ) {
|
2499 |
+
$default['translated_title:disabled'] = __( '🚫 Translated Title', 'feedzy-rss-feeds' );
|
2500 |
+
$default['translated_content:disabled'] = __( '🚫 Translated Content', 'feedzy-rss-feeds' );
|
2501 |
+
$default['translated_description:disabled'] = __( '🚫 Translated Description', 'feedzy-rss-feeds' );
|
2502 |
+
}
|
2503 |
+
|
2504 |
return $default;
|
2505 |
}
|
2506 |
+
|
2507 |
+
/**
|
2508 |
+
* Check feedzy rewrite content tool enabled or not.
|
2509 |
+
*
|
2510 |
+
* @return bool
|
2511 |
+
*/
|
2512 |
+
private function rewrite_content_service_endabled() {
|
2513 |
+
// Check license type.
|
2514 |
+
if ( $this->feedzy_is_business() || $this->feedzy_is_agency() ) {
|
2515 |
+
return true;
|
2516 |
+
}
|
2517 |
+
|
2518 |
+
return false;
|
2519 |
+
}
|
2520 |
+
|
2521 |
+
/**
|
2522 |
+
* Clone import job.
|
2523 |
+
*/
|
2524 |
+
public function feedzy_clone_import_job() {
|
2525 |
+
// Check if import job ID has been provided and action.
|
2526 |
+
if ( empty( $_GET['feedzy_job_id'] ) ) {
|
2527 |
+
wp_die( esc_html__( 'No post to duplicate has been provided!', 'feedzy-rss-feeds' ) );
|
2528 |
+
}
|
2529 |
+
|
2530 |
+
// Nonce verification.
|
2531 |
+
if ( ! isset( $_GET['clone_import'] ) || ! wp_verify_nonce( sanitize_key( wp_unslash( $_GET['clone_import'] ) ), FEEDZY_BASENAME ) ) {
|
2532 |
+
return;
|
2533 |
+
}
|
2534 |
+
|
2535 |
+
// Get the original import job ID.
|
2536 |
+
$feedzy_job_id = absint( $_GET['feedzy_job_id'] );
|
2537 |
+
// Get the original import job.
|
2538 |
+
$feedzy_job = get_post( $feedzy_job_id );
|
2539 |
+
|
2540 |
+
if ( $feedzy_job ) {
|
2541 |
+
$current_user = wp_get_current_user();
|
2542 |
+
$new_post_author = $current_user->ID;
|
2543 |
+
|
2544 |
+
// new post data array
|
2545 |
+
$args = array(
|
2546 |
+
'post_author' => $new_post_author,
|
2547 |
+
'post_status' => 'draft',
|
2548 |
+
'post_title' => $feedzy_job->post_title,
|
2549 |
+
'post_type' => $feedzy_job->post_type,
|
2550 |
+
);
|
2551 |
+
|
2552 |
+
// insert the new import job by wp_insert_post() function.
|
2553 |
+
$new_post_id = wp_insert_post( $args );
|
2554 |
+
// Get all post meta.
|
2555 |
+
$post_meta = get_post_meta( $feedzy_job_id );
|
2556 |
+
// Exclude metakey.
|
2557 |
+
$blacklist_metakey = array(
|
2558 |
+
'import_errors',
|
2559 |
+
'import_info',
|
2560 |
+
'_edit_lock',
|
2561 |
+
'last_run_id',
|
2562 |
+
'last_run',
|
2563 |
+
'imported_items_hash',
|
2564 |
+
'imported_items_count',
|
2565 |
+
);
|
2566 |
+
|
2567 |
+
if ( $post_meta ) {
|
2568 |
+
foreach ( $post_meta as $meta_key => $meta_values ) {
|
2569 |
+
if ( in_array( $meta_key, $blacklist_metakey, true ) ) {
|
2570 |
+
continue;
|
2571 |
+
}
|
2572 |
+
foreach ( $meta_values as $meta_value ) {
|
2573 |
+
add_post_meta( $new_post_id, $meta_key, $meta_value );
|
2574 |
+
}
|
2575 |
+
}
|
2576 |
+
}
|
2577 |
+
|
2578 |
+
wp_safe_redirect(
|
2579 |
+
add_query_arg(
|
2580 |
+
array(
|
2581 |
+
'post_type' => ( 'post' !== get_post_type( $feedzy_job ) ? get_post_type( $feedzy_job ) : false ),
|
2582 |
+
'saved' => 'fz_duplicate_import_job_created',
|
2583 |
+
),
|
2584 |
+
admin_url( 'edit.php' )
|
2585 |
+
)
|
2586 |
+
);
|
2587 |
+
exit;
|
2588 |
+
} else {
|
2589 |
+
wp_die( esc_html__( 'Post creation failed, could not find original post.', 'feedzy-rss-feeds' ) );
|
2590 |
+
}
|
2591 |
+
}
|
2592 |
+
|
2593 |
+
/**
|
2594 |
+
* Display import job clone notice.
|
2595 |
+
*/
|
2596 |
+
public function feedzy_import_clone_success_notice() {
|
2597 |
+
// Get the current screen.
|
2598 |
+
$screen = get_current_screen();
|
2599 |
+
|
2600 |
+
if ( 'edit' !== $screen->base ) {
|
2601 |
+
return;
|
2602 |
+
}
|
2603 |
+
|
2604 |
+
// Display success notice if clone succeed.
|
2605 |
+
if ( isset( $_GET['saved'] ) && 'fz_duplicate_import_job_created' === $_GET['saved'] ) { // phpcs:ignore WordPress.Security.NonceVerification
|
2606 |
+
?>
|
2607 |
+
<div class="notice notice-success is-dismissible">
|
2608 |
+
<p><?php esc_html_e( 'Duplicate import job created', 'feedzy-rss-feeds' ); ?></p></div>
|
2609 |
+
<?php
|
2610 |
+
}
|
2611 |
+
}
|
2612 |
+
|
2613 |
+
/**
|
2614 |
+
* Trim tags.
|
2615 |
+
*
|
2616 |
+
* @param string $content Field value.
|
2617 |
+
*
|
2618 |
+
* @return string
|
2619 |
+
*/
|
2620 |
+
public function feedzy_import_trim_tags( $content = '' ) {
|
2621 |
+
if ( ! empty( $content ) && is_string( $content ) ) {
|
2622 |
+
$content = explode( ',', $content );
|
2623 |
+
$content = array_map( 'trim', $content );
|
2624 |
+
$content = implode( ' ', $content );
|
2625 |
+
}
|
2626 |
+
|
2627 |
+
return $content;
|
2628 |
+
}
|
2629 |
}
|
includes/admin/feedzy-rss-feeds-ui.php
CHANGED
@@ -89,7 +89,7 @@ class Feedzy_Rss_Feeds_Ui {
|
|
89 |
$this->loader->add_filter( 'mce_external_languages', $this, 'feedzy_add_tinymce_lang', 10, 1 );
|
90 |
$this->loader->add_action( 'admin_enqueue_scripts', $this, 'enqueue_scripts', 10 );
|
91 |
$this->loader->add_filter( 'tiny_mce_before_init', $this, 'get_strings_for_block', 10, 1 );
|
92 |
-
|
93 |
$this->loader->run();
|
94 |
}
|
95 |
}
|
@@ -173,12 +173,67 @@ class Feedzy_Rss_Feeds_Ui {
|
|
173 |
* Add global style.
|
174 |
*/
|
175 |
public function add_feedzy_global_style() { ?>
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
180 |
}
|
181 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
182 |
<?php
|
183 |
}
|
184 |
}
|
89 |
$this->loader->add_filter( 'mce_external_languages', $this, 'feedzy_add_tinymce_lang', 10, 1 );
|
90 |
$this->loader->add_action( 'admin_enqueue_scripts', $this, 'enqueue_scripts', 10 );
|
91 |
$this->loader->add_filter( 'tiny_mce_before_init', $this, 'get_strings_for_block', 10, 1 );
|
92 |
+
$this->loader->add_action( 'in_admin_header', $this, 'feedzy_post_import_admin_header', 10 );
|
93 |
$this->loader->run();
|
94 |
}
|
95 |
}
|
173 |
* Add global style.
|
174 |
*/
|
175 |
public function add_feedzy_global_style() { ?>
|
176 |
+
<style type="text/css">
|
177 |
+
.feedzy-rss-link-icon:after {
|
178 |
+
content: url("<?php echo esc_url( FEEDZY_ABSURL . 'img/external-link.png' ); ?>");
|
179 |
+
margin-left: 3px;
|
180 |
+
}
|
181 |
+
</style>
|
182 |
+
<?php
|
183 |
+
}
|
184 |
+
|
185 |
+
/**
|
186 |
+
* Feedzy import post screen header.
|
187 |
+
*/
|
188 |
+
public function feedzy_post_import_admin_header() {
|
189 |
+
global $pagenow;
|
190 |
+
if ( 'edit.php' === $pagenow ) {
|
191 |
+
return;
|
192 |
+
}
|
193 |
+
$current_screen = function_exists( 'get_current_screen' ) ? get_current_screen() : false;
|
194 |
+
if ( $current_screen && 'feedzy_imports' === $current_screen->post_type ) {
|
195 |
+
?>
|
196 |
+
<div class="feedzy-header">
|
197 |
+
<div class="feedzy-container">
|
198 |
+
<div class="page-title h1"><?php echo isset( $_GET['action'] ) && 'edit' === $_GET['action'] ? esc_html__( 'Edit Import', 'feedzy-rss-feeds' ) : esc_html__( 'New Import', 'feedzy-rss-feeds' ); // phpcs:ignore WordPress.Security.NonceVerification ?></div>
|
199 |
+
<div class="feedzy-logo">
|
200 |
+
<div class="feedzy-version"><?php echo esc_html( Feedzy_Rss_Feeds::get_version() ); ?></div>
|
201 |
+
<div class="feedzy-logo-icon"><img src="<?php echo esc_url( FEEDZY_ABSURL . 'img/feedzy.svg' ); ?>" width="60" height="60" alt=""></div>
|
202 |
+
</div>
|
203 |
+
</div>
|
204 |
+
</div>
|
205 |
+
<?php
|
206 |
+
add_filter( 'screen_options_show_screen', '__return_false' );
|
207 |
+
remove_all_actions( 'admin_notices' );
|
208 |
+
remove_all_actions( 'all_admin_notices' );
|
209 |
+
add_action( 'admin_notices', array( $this, 'feedzy_import_post_title_section' ) );
|
210 |
}
|
211 |
+
}
|
212 |
+
|
213 |
+
/**
|
214 |
+
* Load feedzy import post screen.
|
215 |
+
*/
|
216 |
+
public function feedzy_import_post_title_section() {
|
217 |
+
global $post;
|
218 |
+
?>
|
219 |
+
<div class="feedzy-wrap">
|
220 |
+
<div class="feedzy-container fz-import-field-item">
|
221 |
+
<?php if ( ! feedzy_is_pro() ) : ?>
|
222 |
+
<div class="upgrade-alert mb-24">
|
223 |
+
<?php
|
224 |
+
echo wp_kses_post( wp_sprintf( __( 'You\'re using Feedzy Lite. Unlock more powerful features, by <a href="%s" target="_blank">upgrading to Feedzy Pro</a>', 'feedzy-rss-feeds' ), FEEDZY_UPSELL_LINK ) );
|
225 |
+
?>
|
226 |
+
<button type="button" class="remove-alert"><span class="dashicons dashicons-no-alt"></span></button>
|
227 |
+
</div>
|
228 |
+
<?php endif; ?>
|
229 |
+
<div class="fz-form-wrap">
|
230 |
+
<div class="fz-form-group pb-30">
|
231 |
+
<label class="form-label"><?php esc_html_e( 'Import Name', 'feedzy-rss-feeds' ); ?></label>
|
232 |
+
<input type="text" class="form-control" id="post_title" value="<?php echo $post ? esc_attr( $post->post_title ) : ''; ?>" placeholder="<?php esc_attr_e( 'Add a name for your import', 'feedzy-rss-feeds' ); ?>">
|
233 |
+
</div>
|
234 |
+
</div>
|
235 |
+
</div>
|
236 |
+
</div>
|
237 |
<?php
|
238 |
}
|
239 |
}
|
includes/elementor/controls/datetime-local.php
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Elementor;
|
3 |
+
|
4 |
+
/**
|
5 |
+
* Elementor date/time control.
|
6 |
+
*
|
7 |
+
* A base control for creating date time control. Displays a date/time picker
|
8 |
+
* based on the Flatpickr library @see https://chmln.github.io/flatpickr/ .
|
9 |
+
*
|
10 |
+
* @since 1.0.0
|
11 |
+
*/
|
12 |
+
class Control_Date_Time_Local extends Base_Data_Control {
|
13 |
+
|
14 |
+
/**
|
15 |
+
* Get date time control type.
|
16 |
+
*
|
17 |
+
* Retrieve the control type, in this case `date_time`.
|
18 |
+
*
|
19 |
+
* @since 1.0.0
|
20 |
+
* @access public
|
21 |
+
*
|
22 |
+
* @return string Control type.
|
23 |
+
*/
|
24 |
+
public function get_type() {
|
25 |
+
return 'date_time_local';
|
26 |
+
}
|
27 |
+
|
28 |
+
/**
|
29 |
+
* Get date time control default settings.
|
30 |
+
*
|
31 |
+
* Retrieve the default settings of the date time control. Used to return the
|
32 |
+
* default settings while initializing the date time control.
|
33 |
+
*
|
34 |
+
* @since 1.8.0
|
35 |
+
* @access protected
|
36 |
+
*
|
37 |
+
* @return array Control default settings.
|
38 |
+
*/
|
39 |
+
protected function get_default_settings() {
|
40 |
+
return array(
|
41 |
+
'label_block' => true,
|
42 |
+
'picker_options' => array(),
|
43 |
+
);
|
44 |
+
}
|
45 |
+
|
46 |
+
/**
|
47 |
+
* Render date time control output in the editor.
|
48 |
+
*
|
49 |
+
* Used to generate the control HTML in the editor using Underscore JS
|
50 |
+
* template. The variables for the class are available using `data` JS
|
51 |
+
* object.
|
52 |
+
*
|
53 |
+
* @since 1.0.0
|
54 |
+
* @access public
|
55 |
+
*/
|
56 |
+
public function content_template() {
|
57 |
+
?>
|
58 |
+
<div class="elementor-control-field">
|
59 |
+
<label for="<?php $this->print_control_uid(); ?>" class="elementor-control-title">{{{ data.label }}}</label>
|
60 |
+
<div class="elementor-control-input-wrapper">
|
61 |
+
<input id="<?php $this->print_control_uid(); ?>" placeholder="{{ view.getControlPlaceholder() }}" class="fz-datetime-local" type="datetime-local" data-setting="{{ data.name }}">
|
62 |
+
</div>
|
63 |
+
</div>
|
64 |
+
<# if ( data.description ) { #>
|
65 |
+
<div class="elementor-control-field-description">{{{ data.description }}}</div>
|
66 |
+
<# } #>
|
67 |
+
<?php
|
68 |
+
}
|
69 |
+
}
|
includes/elementor/controls/template-layout.php
ADDED
@@ -0,0 +1,122 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace Elementor;
|
3 |
+
|
4 |
+
/**
|
5 |
+
* Elementor choose control.
|
6 |
+
*
|
7 |
+
* A base control for creating choose control. Displays radio buttons styled as
|
8 |
+
* groups of buttons with icons for each option.
|
9 |
+
*
|
10 |
+
* @since 1.0.0
|
11 |
+
*/
|
12 |
+
class Control_Template_Layout extends Base_Data_Control {
|
13 |
+
|
14 |
+
/**
|
15 |
+
* Get choose control type.
|
16 |
+
*
|
17 |
+
* Retrieve the control type, in this case `choose`.
|
18 |
+
*
|
19 |
+
* @since 1.0.0
|
20 |
+
* @access public
|
21 |
+
*
|
22 |
+
* @return string Control type.
|
23 |
+
*/
|
24 |
+
public function get_type() {
|
25 |
+
return 'fz-layout-template';
|
26 |
+
}
|
27 |
+
|
28 |
+
/**
|
29 |
+
* Enqueue assets.
|
30 |
+
*/
|
31 |
+
public function enqueue() {
|
32 |
+
wp_register_script( 'feedzy-elementor', FEEDZY_ABSURL . 'js/feedzy-elementor-widget.js', array( 'jquery' ), true, true );
|
33 |
+
wp_enqueue_script( 'feedzy-elementor' );
|
34 |
+
$notice_text = '';
|
35 |
+
if ( ! feedzy_is_pro() ) {
|
36 |
+
$notice_text = '<div class="fz-pro-notice">
|
37 |
+
<div class="fz-logo">
|
38 |
+
<img src="' . FEEDZY_ABSURL . 'img/{{ui_mode}}-feedzy-logo.png">
|
39 |
+
</div>
|
40 |
+
<h3>' . esc_html__( 'Discover Feedzy Pro', 'feedzy-rss-feeds' ) . '</h3>
|
41 |
+
<p>' . esc_html__( 'With Feedzy Pro you get more features, like Custom Templates, Magic Tags, Keywords filters and much more.', 'feedzy-rss-feeds' ) . '</p>
|
42 |
+
<div class="docs-btn">
|
43 |
+
<a href="' . esc_url( 'https://docs.themeisle.com/article/1119-feedzy-rss-feeds-documentation' ) . '" target="_blank">' . esc_html__( 'Learn more', 'feedzy-rss-feeds' ) . '</a>
|
44 |
+
<span>' . esc_html__( 'Open Feedzy docs', 'feedzy-rss-feeds' ) . '</span>
|
45 |
+
</div>
|
46 |
+
</div>';
|
47 |
+
}
|
48 |
+
wp_localize_script(
|
49 |
+
'feedzy-elementor',
|
50 |
+
'FeedzyElementorEditor',
|
51 |
+
array(
|
52 |
+
'notice' => $notice_text,
|
53 |
+
'pro_title_text' => __( 'Unlock this feature with Feedzy Pro', 'feedzy-rss-feeds' ),
|
54 |
+
)
|
55 |
+
);
|
56 |
+
}
|
57 |
+
|
58 |
+
/**
|
59 |
+
* Render choose control output in the editor.
|
60 |
+
*
|
61 |
+
* Used to generate the control HTML in the editor using Underscore JS
|
62 |
+
* template. The variables for the class are available using `data` JS
|
63 |
+
* object.
|
64 |
+
*
|
65 |
+
* @since 1.0.0
|
66 |
+
* @access public
|
67 |
+
*/
|
68 |
+
public function content_template() {
|
69 |
+
$control_uid_input_type = '{{value}}';
|
70 |
+
?>
|
71 |
+
<div class="elementor-control-field">
|
72 |
+
<div class="elementor-control-input-wrapper">
|
73 |
+
<div class="elementor-choices fz-layout-choices">
|
74 |
+
<ul class="fz-layout-list">
|
75 |
+
<# _.each( data.template_options, function( options, value ) {
|
76 |
+
var checked = '';
|
77 |
+
if ( data.controlValue === '' ) {
|
78 |
+
data.controlValue = 'default';
|
79 |
+
}
|
80 |
+
if ( data.controlValue === value ) {
|
81 |
+
checked = ' checked';
|
82 |
+
}
|
83 |
+
#>
|
84 |
+
<li>
|
85 |
+
<input id="<?php $this->print_control_uid( $control_uid_input_type ); ?>" type="radio" name="elementor-choose-{{ data.name }}-{{ data._cid }}" value="{{ value }}"{{checked}}>
|
86 |
+
<label class="elementor-control-unit tooltip-target" for="<?php $this->print_control_uid( $control_uid_input_type ); ?>" data-tooltip="{{ options.title }}" title="{{ options.title }}">
|
87 |
+
<div class="img">
|
88 |
+
<img src="{{{ options.image }}}">
|
89 |
+
</div>
|
90 |
+
<span>{{{ options.title }}}</span>
|
91 |
+
</label>
|
92 |
+
</li>
|
93 |
+
<# } ); #>
|
94 |
+
</ul>
|
95 |
+
</div>
|
96 |
+
</div>
|
97 |
+
</div>
|
98 |
+
|
99 |
+
<# if ( data.description ) { #>
|
100 |
+
<div class="elementor-control-field-description">{{{ data.description }}}</div>
|
101 |
+
<# } #>
|
102 |
+
<?php
|
103 |
+
}
|
104 |
+
|
105 |
+
/**
|
106 |
+
* Get choose control default settings.
|
107 |
+
*
|
108 |
+
* Retrieve the default settings of the choose control. Used to return the
|
109 |
+
* default settings while initializing the choose control.
|
110 |
+
*
|
111 |
+
* @since 1.0.0
|
112 |
+
* @access protected
|
113 |
+
*
|
114 |
+
* @return array Control default settings.
|
115 |
+
*/
|
116 |
+
protected function get_default_settings() {
|
117 |
+
return array(
|
118 |
+
'template_options' => array(),
|
119 |
+
'toggle' => true,
|
120 |
+
);
|
121 |
+
}
|
122 |
+
}
|
includes/elementor/feedzy-rss-feeds-elementor.php
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Register elementor widget.
|
4 |
+
*
|
5 |
+
* @package feedzy-rss-feeds
|
6 |
+
* @subpackage feedzy-rss-feeds/includes/elementor
|
7 |
+
*/
|
8 |
+
|
9 |
+
/**
|
10 |
+
* The Widget functionality of the plugin.
|
11 |
+
*
|
12 |
+
* @package feedzy-rss-feeds
|
13 |
+
* @subpackage feedzy-rss-feeds/includes/elementor
|
14 |
+
* @author Themeisle <friends@themeisle.com>
|
15 |
+
*/
|
16 |
+
class Feedzy_Rss_Feeds_Elementor {
|
17 |
+
|
18 |
+
/**
|
19 |
+
* Enqueue scripts.
|
20 |
+
*/
|
21 |
+
public function feedzy_elementor_widgets_assets() {
|
22 |
+
wp_register_style( 'feedzy-elementor', FEEDZY_ABSURL . 'css/feedzy-elementor-widget.css', array(), true );
|
23 |
+
wp_enqueue_style( 'feedzy-elementor' );
|
24 |
+
}
|
25 |
+
|
26 |
+
/**
|
27 |
+
* Editor frontend before script.
|
28 |
+
*/
|
29 |
+
public function feedzy_elementor_before_enqueue_scripts() {
|
30 |
+
wp_register_style( 'feedzy-rss-feeds-elementor', FEEDZY_ABSURL . 'css/feedzy-rss-feeds.css', array( 'elementor-frontend' ), true, 'all' );
|
31 |
+
wp_enqueue_style( 'feedzy-rss-feeds-elementor' );
|
32 |
+
}
|
33 |
+
|
34 |
+
/**
|
35 |
+
* Register feedzy widget.
|
36 |
+
*
|
37 |
+
* @return void
|
38 |
+
*/
|
39 |
+
public function feedzy_elementor_widgets_registered() {
|
40 |
+
// We check if the Elementor plugin has been installed / activated.
|
41 |
+
if ( defined( 'ELEMENTOR_PATH' ) && class_exists( 'Elementor\Widget_Base' ) ) {
|
42 |
+
require_once FEEDZY_ABSPATH . '/includes/elementor/widgets/register-widget.php';
|
43 |
+
\Elementor\Plugin::instance()->widgets_manager->register( new Feedzy_Register_Widget() );
|
44 |
+
|
45 |
+
add_action( 'elementor/editor/after_enqueue_styles', array( $this, 'feedzy_elementor_widgets_assets' ) );
|
46 |
+
}
|
47 |
+
}
|
48 |
+
|
49 |
+
/**
|
50 |
+
* Register datetime-local control.
|
51 |
+
*
|
52 |
+
* @param \Elementor\Controls_Manager $controls_manager Elementor controls manager.
|
53 |
+
* @return void
|
54 |
+
*/
|
55 |
+
public function feedzy_elementor_register_datetime_local_control( $controls_manager ) {
|
56 |
+
require_once FEEDZY_ABSPATH . '/includes/elementor/controls/datetime-local.php';
|
57 |
+
require_once FEEDZY_ABSPATH . '/includes/elementor/controls/template-layout.php';
|
58 |
+
$controls_manager->register( new \Elementor\Control_Date_Time_Local() );
|
59 |
+
$controls_manager->register( new \Elementor\Control_Template_Layout() );
|
60 |
+
}
|
61 |
+
}
|
includes/elementor/widgets/register-widget.php
ADDED
@@ -0,0 +1,655 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
use Elementor\Controls_Manager;
|
3 |
+
use Elementor\Core\Base\Document;
|
4 |
+
use Elementor\Core\Settings\Manager as SettingsManager;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Register feedzy elementor widget.
|
8 |
+
*
|
9 |
+
* @package feedzy-rss-feeds
|
10 |
+
* @subpackage feedzy-rss-feeds/includes/elementor
|
11 |
+
*/
|
12 |
+
class Feedzy_Register_Widget extends Elementor\Widget_Base {
|
13 |
+
|
14 |
+
/**
|
15 |
+
* Widget name.
|
16 |
+
*/
|
17 |
+
public function get_name() {
|
18 |
+
return 'feedzy-rss-feeds';
|
19 |
+
}
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Widget title.
|
23 |
+
*/
|
24 |
+
public function get_title() {
|
25 |
+
return __( 'Feedzy RSS Feeds', 'feedzy-rss-feeds' );
|
26 |
+
}
|
27 |
+
|
28 |
+
/**
|
29 |
+
* Widget icon.
|
30 |
+
*/
|
31 |
+
public function get_icon() {
|
32 |
+
return 'dashicons dashicons-rss';
|
33 |
+
}
|
34 |
+
|
35 |
+
/**
|
36 |
+
* Widget search keywords.
|
37 |
+
*/
|
38 |
+
public function get_keywords() {
|
39 |
+
return array( 'elementor', 'template', 'feed', 'rss', 'feedzy' );
|
40 |
+
}
|
41 |
+
|
42 |
+
/**
|
43 |
+
* Widget register controls.
|
44 |
+
*/
|
45 |
+
protected function register_controls() { // phpcs:ignore PSR2.Methods.MethodDeclaration.Underscore
|
46 |
+
// Start general setting section.
|
47 |
+
$this->start_controls_section(
|
48 |
+
'fz-general-settings',
|
49 |
+
array(
|
50 |
+
'label' => __( 'General Settings', 'feedzy-rss-feeds' ),
|
51 |
+
)
|
52 |
+
);
|
53 |
+
$this->add_control(
|
54 |
+
'fz-section-title',
|
55 |
+
array(
|
56 |
+
'label' => __( 'Section Title', 'feedzy-rss-feeds' ),
|
57 |
+
'label_block' => true,
|
58 |
+
'type' => Controls_Manager::TEXT,
|
59 |
+
'placeholder' => __( 'Add your title, that will be added in page', 'feedzy-rss-feeds' ),
|
60 |
+
'classes' => 'feedzy-el-feed-source',
|
61 |
+
)
|
62 |
+
);
|
63 |
+
$this->add_control(
|
64 |
+
'fz-intro-text',
|
65 |
+
array(
|
66 |
+
'label_block' => true,
|
67 |
+
'label' => __( 'Intro text', 'feedzy-rss-feeds' ),
|
68 |
+
'type' => Controls_Manager::TEXTAREA,
|
69 |
+
)
|
70 |
+
);
|
71 |
+
$this->end_controls_section(); // End general setting section.
|
72 |
+
|
73 |
+
// Start feed source section.
|
74 |
+
$this->start_controls_section(
|
75 |
+
'fz-feed-source',
|
76 |
+
array(
|
77 |
+
'label' => __( 'Feed Source', 'feedzy-rss-feeds' ),
|
78 |
+
)
|
79 |
+
);
|
80 |
+
$this->add_control(
|
81 |
+
'fz-source',
|
82 |
+
array(
|
83 |
+
'label_block' => true,
|
84 |
+
'label' => __( 'RSS Feed source', 'feedzy-rss-feeds' ),
|
85 |
+
'type' => Controls_Manager::TEXTAREA,
|
86 |
+
'description' => wp_sprintf( __( 'You can add multiple sources at once, by separating them with commas. <a href="%s" class="feedzy-source" target="_blank">Click here</a> to check if the feed is valid. Invalid feeds may not import anything.', 'feedzy-rss-feeds' ), esc_url( 'https://validator.w3.org/feed/' ) ), // phpcs:ignore
|
87 |
+
)
|
88 |
+
);
|
89 |
+
$this->add_control(
|
90 |
+
'fz-max',
|
91 |
+
array(
|
92 |
+
'label_block' => true,
|
93 |
+
'label' => __( 'Number of items to display', 'feedzy-rss-feeds' ),
|
94 |
+
'type' => Controls_Manager::NUMBER,
|
95 |
+
'classes' => 'feedzy-el-full-width',
|
96 |
+
'default' => 5,
|
97 |
+
'min' => 1,
|
98 |
+
)
|
99 |
+
);
|
100 |
+
$this->add_control(
|
101 |
+
'fz-orderby',
|
102 |
+
array(
|
103 |
+
'label_block' => true,
|
104 |
+
'label' => __( 'Order items by', 'feedzy-rss-feeds' ),
|
105 |
+
'type' => Controls_Manager::SELECT,
|
106 |
+
'default' => '',
|
107 |
+
'options' => array(
|
108 |
+
'' => __( 'Default', 'feedzy-rss-feeds' ),
|
109 |
+
'date_desc' => __( 'Date Descending', 'feedzy-rss-feeds' ),
|
110 |
+
'date_asc' => __( 'Date Ascending', 'feedzy-rss-feeds' ),
|
111 |
+
'title_desc' => __( 'Title Descending', 'feedzy-rss-feeds' ),
|
112 |
+
'title_asc' => __( 'Title Ascending', 'feedzy-rss-feeds' ),
|
113 |
+
),
|
114 |
+
)
|
115 |
+
);
|
116 |
+
$this->add_control(
|
117 |
+
'fz-refresh',
|
118 |
+
array(
|
119 |
+
'label_block' => true,
|
120 |
+
'label' => __( 'For how long we will cache the feed results', 'feedzy-rss-feeds' ),
|
121 |
+
'type' => Controls_Manager::SELECT,
|
122 |
+
'default' => '12_hours',
|
123 |
+
'options' => array(
|
124 |
+
'1_hours' => wp_sprintf( __( '%d Hour', 'feedzy-rss-feeds' ), 1 ),
|
125 |
+
'3_hours' => wp_sprintf( __( '%d Hour', 'feedzy-rss-feeds' ), 3 ),
|
126 |
+
'12_hours' => wp_sprintf( __( '%d Hour', 'feedzy-rss-feeds' ), 12 ),
|
127 |
+
'1_days' => wp_sprintf( __( '%d Day', 'feedzy-rss-feeds' ), 12 ),
|
128 |
+
'3_days' => wp_sprintf( __( '%d Days', 'feedzy-rss-feeds' ), 3 ),
|
129 |
+
'15_days' => wp_sprintf( __( '%d Days', 'feedzy-rss-feeds' ), 15 ),
|
130 |
+
),
|
131 |
+
'separator' => 'before',
|
132 |
+
)
|
133 |
+
);
|
134 |
+
$this->add_control(
|
135 |
+
'fz-error-empty',
|
136 |
+
array(
|
137 |
+
'label_block' => true,
|
138 |
+
'label' => __( 'Message to show when feed is empty', 'feedzy-rss-feeds' ),
|
139 |
+
'type' => Controls_Manager::TEXTAREA,
|
140 |
+
)
|
141 |
+
);
|
142 |
+
$this->end_controls_section(); // End feed source section.
|
143 |
+
|
144 |
+
// Start filter items section.
|
145 |
+
$this->start_controls_section(
|
146 |
+
'fz-filter-items',
|
147 |
+
array(
|
148 |
+
'label' => wp_sprintf( __( 'Filter items%s', 'feedzy-rss-feeds' ), $this->upsell_title_label() ),
|
149 |
+
'classes' => $this->upsell_class(),
|
150 |
+
)
|
151 |
+
);
|
152 |
+
$this->add_control(
|
153 |
+
'fz-filter-inc-on',
|
154 |
+
array(
|
155 |
+
'label' => __( 'Display items if', 'feedzy-rss-feeds' ),
|
156 |
+
'type' => Controls_Manager::SELECT,
|
157 |
+
'default' => 'title',
|
158 |
+
'options' => array(
|
159 |
+
'title' => __( 'Title', 'feedzy-rss-feeds' ),
|
160 |
+
'description' => __( 'Description', 'feedzy-rss-feeds' ),
|
161 |
+
'author' => __( 'Author', 'feedzy-rss-feeds' ),
|
162 |
+
'full-content' => __( 'Full Content', 'feedzy-rss-feeds' ),
|
163 |
+
),
|
164 |
+
'classes' => $this->upsell_class(),
|
165 |
+
)
|
166 |
+
);
|
167 |
+
$this->add_control(
|
168 |
+
'fz-filter-inc-key',
|
169 |
+
array(
|
170 |
+
'label_block' => true,
|
171 |
+
'label' => __( 'Contains:', 'feedzy-rss-feeds' ),
|
172 |
+
'type' => Controls_Manager::TEXTAREA,
|
173 |
+
'description' => __( 'You can add multiple keywords at once by separating them with comma (,) or use the plus sign (+) to bind multiple keywords.', 'feedzy-rss-feeds' ),
|
174 |
+
'classes' => $this->upsell_class(),
|
175 |
+
)
|
176 |
+
);
|
177 |
+
$this->add_control(
|
178 |
+
'fz-filter-exc-on',
|
179 |
+
array(
|
180 |
+
'label' => __( 'Exclude items if', 'feedzy-rss-feeds' ),
|
181 |
+
'type' => Controls_Manager::SELECT,
|
182 |
+
'default' => 'title',
|
183 |
+
'options' => array(
|
184 |
+
'title' => __( 'Title', 'feedzy-rss-feeds' ),
|
185 |
+
'description' => __( 'Description', 'feedzy-rss-feeds' ),
|
186 |
+
'author' => __( 'Author', 'feedzy-rss-feeds' ),
|
187 |
+
'full-content' => __( 'Full Content', 'feedzy-rss-feeds' ),
|
188 |
+
),
|
189 |
+
'separator' => 'before',
|
190 |
+
'classes' => $this->upsell_class(),
|
191 |
+
)
|
192 |
+
);
|
193 |
+
$this->add_control(
|
194 |
+
'fz-filter-exc-key',
|
195 |
+
array(
|
196 |
+
'label_block' => true,
|
197 |
+
'label' => __( 'Contains:', 'feedzy-rss-feeds' ),
|
198 |
+
'type' => Controls_Manager::TEXTAREA,
|
199 |
+
'description' => __( 'You can add multiple keywords at once by separating them with comma (,) or use the plus sign (+) to bind multiple keywords.', 'feedzy-rss-feeds' ),
|
200 |
+
'classes' => $this->upsell_class(),
|
201 |
+
)
|
202 |
+
);
|
203 |
+
$this->add_control(
|
204 |
+
'fz-filter-from-dt',
|
205 |
+
array(
|
206 |
+
'label_block' => true,
|
207 |
+
'label' => __( 'Filter items by time range, from: ', 'feedzy-rss-feeds' ),
|
208 |
+
'type' => 'date_time_local',
|
209 |
+
'classes' => $this->upsell_class(),
|
210 |
+
'separator' => 'before',
|
211 |
+
)
|
212 |
+
);
|
213 |
+
$this->add_control(
|
214 |
+
'fz-filter-to-dt',
|
215 |
+
array(
|
216 |
+
'label_block' => true,
|
217 |
+
'label' => __( 'To ', 'feedzy-rss-feeds' ),
|
218 |
+
'type' => 'date_time_local',
|
219 |
+
'classes' => $this->upsell_class(),
|
220 |
+
)
|
221 |
+
);
|
222 |
+
$this->end_controls_section(); // End filter items section.
|
223 |
+
|
224 |
+
// Start item options section.
|
225 |
+
$this->start_controls_section(
|
226 |
+
'fz-item-options',
|
227 |
+
array(
|
228 |
+
'label' => wp_sprintf( __( 'Item Options', 'feedzy-rss-feeds' ) ),
|
229 |
+
)
|
230 |
+
);
|
231 |
+
$this->add_control(
|
232 |
+
'fz-item-target',
|
233 |
+
array(
|
234 |
+
'label_block' => true,
|
235 |
+
'label' => __( 'Links behavior (opened in the same window or a new tab)', 'feedzy-rss-feeds' ),
|
236 |
+
'type' => Controls_Manager::SELECT,
|
237 |
+
'default' => '',
|
238 |
+
'options' => array(
|
239 |
+
'' => __( 'Auto', 'feedzy-rss-feeds' ),
|
240 |
+
'_blank' => __( '_blank', 'feedzy-rss-feeds' ),
|
241 |
+
'_self' => __( '_self', 'feedzy-rss-feeds' ),
|
242 |
+
'_top' => __( '_top', 'feedzy-rss-feeds' ),
|
243 |
+
'framename' => __( 'framename', 'feedzy-rss-feeds' ),
|
244 |
+
),
|
245 |
+
)
|
246 |
+
);
|
247 |
+
$this->add_control(
|
248 |
+
'fz-item-nofollow-link',
|
249 |
+
array(
|
250 |
+
'label' => __( 'Add ”nofollow” tag to links', 'feedzy-rss-feeds' ),
|
251 |
+
'type' => Controls_Manager::SWITCHER,
|
252 |
+
'default' => 'no',
|
253 |
+
'label_on' => esc_html__( 'Yes', 'feedzy-rss-feeds' ),
|
254 |
+
'label_off' => esc_html__( 'No', 'feedzy-rss-feeds' ),
|
255 |
+
'return_value' => 'yes',
|
256 |
+
)
|
257 |
+
);
|
258 |
+
$this->add_control(
|
259 |
+
'fz-item-display-title',
|
260 |
+
array(
|
261 |
+
'label' => __( 'Display item Title', 'feedzy-rss-feeds' ),
|
262 |
+
'type' => Controls_Manager::SWITCHER,
|
263 |
+
'default' => 'yes',
|
264 |
+
'label_on' => esc_html__( 'Yes', 'feedzy-rss-feeds' ),
|
265 |
+
'label_off' => esc_html__( 'No', 'feedzy-rss-feeds' ),
|
266 |
+
'return_value' => 'yes',
|
267 |
+
'separator' => 'before',
|
268 |
+
)
|
269 |
+
);
|
270 |
+
$this->add_control(
|
271 |
+
'fz-item-title-length',
|
272 |
+
array(
|
273 |
+
'label' => __( 'Max Title length (in characters)', 'feedzy-rss-feeds' ),
|
274 |
+
'label_block' => true,
|
275 |
+
'type' => Controls_Manager::NUMBER,
|
276 |
+
'min' => 1,
|
277 |
+
'classes' => 'feedzy-el-full-width',
|
278 |
+
)
|
279 |
+
);
|
280 |
+
$this->add_control(
|
281 |
+
'fz-item-display-desc',
|
282 |
+
array(
|
283 |
+
'label' => __( 'Display item Description', 'feedzy-rss-feeds' ),
|
284 |
+
'type' => Controls_Manager::SWITCHER,
|
285 |
+
'default' => 'yes',
|
286 |
+
'label_on' => esc_html__( 'Yes', 'feedzy-rss-feeds' ),
|
287 |
+
'label_off' => esc_html__( 'No', 'feedzy-rss-feeds' ),
|
288 |
+
'return_value' => 'yes',
|
289 |
+
'separator' => 'before',
|
290 |
+
)
|
291 |
+
);
|
292 |
+
$this->add_control(
|
293 |
+
'fz-item-desc-length',
|
294 |
+
array(
|
295 |
+
'label' => __( 'Max Description length (in characters)', 'feedzy-rss-feeds' ),
|
296 |
+
'label_block' => true,
|
297 |
+
'type' => Controls_Manager::NUMBER,
|
298 |
+
'min' => 1,
|
299 |
+
'classes' => 'feedzy-el-full-width',
|
300 |
+
)
|
301 |
+
);
|
302 |
+
$this->end_controls_section(); // End item options section.
|
303 |
+
|
304 |
+
// Start item thumbnail section.
|
305 |
+
$this->start_controls_section(
|
306 |
+
'fz-item-thumbnail',
|
307 |
+
array(
|
308 |
+
'label' => wp_sprintf( __( 'Item Thumbnail Options', 'feedzy-rss-feeds' ) ),
|
309 |
+
)
|
310 |
+
);
|
311 |
+
$this->add_control(
|
312 |
+
'fz-item-thumb',
|
313 |
+
array(
|
314 |
+
'label_block' => true,
|
315 |
+
'label' => __( 'Display first image, when available', 'feedzy-rss-feeds' ),
|
316 |
+
'type' => Controls_Manager::SELECT,
|
317 |
+
'default' => '',
|
318 |
+
'options' => array(
|
319 |
+
'' => __( 'Yes (without a fallback image)', 'feedzy-rss-feeds' ),
|
320 |
+
'yes' => __( 'Yes (with a fallback image)', 'feedzy-rss-feeds' ),
|
321 |
+
'no' => __( 'No', 'feedzy-rss-feeds' ),
|
322 |
+
),
|
323 |
+
)
|
324 |
+
);
|
325 |
+
$this->add_control(
|
326 |
+
'fz-item-fallback-thumb',
|
327 |
+
array(
|
328 |
+
'label_block' => true,
|
329 |
+
'label' => __( 'Choose the Fallback Image', 'feedzy-rss-feeds' ),
|
330 |
+
'type' => Controls_Manager::MEDIA,
|
331 |
+
'default' => array(
|
332 |
+
'url' => \Elementor\Utils::get_placeholder_image_src(),
|
333 |
+
),
|
334 |
+
)
|
335 |
+
);
|
336 |
+
$this->add_control(
|
337 |
+
'fz-item-thumb-size',
|
338 |
+
array(
|
339 |
+
'label' => __( 'Thumbnails dimensions', 'feedzy-rss-feeds' ),
|
340 |
+
'label_block' => true,
|
341 |
+
'type' => Controls_Manager::TEXT,
|
342 |
+
'placeholder' => esc_attr__( 'Eg. 250', 'feedzy-rss-feeds' ),
|
343 |
+
)
|
344 |
+
);
|
345 |
+
$this->add_control(
|
346 |
+
'fz-item-thumb-http',
|
347 |
+
array(
|
348 |
+
'label_block' => true,
|
349 |
+
'label' => __( 'How should we treat HTTP images?', 'feedzy-rss-feeds' ),
|
350 |
+
'type' => Controls_Manager::SELECT,
|
351 |
+
'default' => '',
|
352 |
+
'options' => array(
|
353 |
+
'' => __( 'Show with HTTP link', 'feedzy-rss-feeds' ),
|
354 |
+
'https' => __( 'Force HTTPS (please verify that the images exist on HTTPS)', 'feedzy-rss-feeds' ),
|
355 |
+
'default' => __( 'Ignore and show the default image instead', 'feedzy-rss-feeds' ),
|
356 |
+
),
|
357 |
+
'separator' => 'before',
|
358 |
+
)
|
359 |
+
);
|
360 |
+
$this->end_controls_section(); // End item thumbnail section.
|
361 |
+
|
362 |
+
// Start layout section.
|
363 |
+
$this->start_controls_section(
|
364 |
+
'fz-layout',
|
365 |
+
array(
|
366 |
+
'label' => wp_sprintf( __( 'Feed Layout%s', 'feedzy-rss-feeds' ), $this->upsell_title_label() ),
|
367 |
+
'classes' => $this->upsell_class(),
|
368 |
+
)
|
369 |
+
);
|
370 |
+
$this->add_control(
|
371 |
+
'fz-layout-columns',
|
372 |
+
array(
|
373 |
+
'label' => esc_html__( 'Columns', 'feedzy-rss-feeds' ),
|
374 |
+
'type' => Controls_Manager::SLIDER,
|
375 |
+
'classes' => $this->upsell_class(),
|
376 |
+
)
|
377 |
+
);
|
378 |
+
|
379 |
+
$this->add_control(
|
380 |
+
'fz-template',
|
381 |
+
array(
|
382 |
+
'label_block' => true,
|
383 |
+
'type' => 'fz-layout-template',
|
384 |
+
'template_options' => array(
|
385 |
+
'default' => array(
|
386 |
+
'title' => esc_html__( 'Default', 'feedzy-rss-feeds' ),
|
387 |
+
'icon' => 'eicon-text-align-left',
|
388 |
+
'image' => FEEDZY_ABSURL . 'img/{{ui_mode}}-mode-default.png',
|
389 |
+
),
|
390 |
+
'style1' => array(
|
391 |
+
'title' => esc_html__( 'Style 1', 'feedzy-rss-feeds' ),
|
392 |
+
'icon' => 'eicon-text-align-center',
|
393 |
+
'image' => FEEDZY_ABSURL . 'img/{{ui_mode}}-mode-style1.png',
|
394 |
+
),
|
395 |
+
'style2' => array(
|
396 |
+
'title' => esc_html__( 'Style 2', 'feedzy-rss-feeds' ),
|
397 |
+
'icon' => 'eicon-text-align-right',
|
398 |
+
'image' => FEEDZY_ABSURL . 'img/{{ui_mode}}-mode-style2.png',
|
399 |
+
),
|
400 |
+
),
|
401 |
+
'default' => 'default',
|
402 |
+
'toggle' => true,
|
403 |
+
'classes' => $this->upsell_class(),
|
404 |
+
)
|
405 |
+
);
|
406 |
+
$this->end_controls_section(); // End layout section.
|
407 |
+
|
408 |
+
// Start custom options section.
|
409 |
+
$this->start_controls_section(
|
410 |
+
'fz-custom-options',
|
411 |
+
array(
|
412 |
+
'label' => __( 'Feed Items Custom Options', 'feedzy-rss-feeds' ),
|
413 |
+
)
|
414 |
+
);
|
415 |
+
$this->add_control(
|
416 |
+
'fz-cus-hide-meta',
|
417 |
+
array(
|
418 |
+
'label' => __( 'Hide items Meta', 'feedzy-rss-feeds' ),
|
419 |
+
'type' => Controls_Manager::SWITCHER,
|
420 |
+
'default' => 'no',
|
421 |
+
'label_on' => esc_html__( 'Yes', 'feedzy-rss-feeds' ),
|
422 |
+
'label_off' => esc_html__( 'No', 'feedzy-rss-feeds' ),
|
423 |
+
'return_value' => 'yes',
|
424 |
+
)
|
425 |
+
);
|
426 |
+
$this->add_control(
|
427 |
+
'fz-cus-meta-fields',
|
428 |
+
array(
|
429 |
+
'label' => __( 'Display additional meta fields (author, date, time or categories)', 'feedzy-rss-feeds' ),
|
430 |
+
'label_block' => true,
|
431 |
+
'type' => Controls_Manager::TEXT,
|
432 |
+
'description' => wp_sprintf(
|
433 |
+
__(
|
434 |
+
'You can add multiple tags at once, by separating them with commas.
|
435 |
+
<a href="%s" target="_blank">View documentation here</a>.', 'feedzy-rss-feeds'
|
436 |
+
), esc_url( 'https://docs.themeisle.com/article/1089-how-to-display-author-date-or-time-from-the-feed' )
|
437 |
+
),
|
438 |
+
)
|
439 |
+
);
|
440 |
+
$this->add_control(
|
441 |
+
'fz-cus-display-price',
|
442 |
+
array(
|
443 |
+
'label' => __( 'Display price if available', 'feedzy-rss-feeds' ),
|
444 |
+
'type' => Controls_Manager::SWITCHER,
|
445 |
+
'default' => 'no',
|
446 |
+
'label_on' => esc_html__( 'Yes', 'feedzy-rss-feeds' ),
|
447 |
+
'label_off' => esc_html__( 'No', 'feedzy-rss-feeds' ),
|
448 |
+
'return_value' => 'yes',
|
449 |
+
'separator' => 'before',
|
450 |
+
'description' => wp_sprintf( __( 'Learn more about this feature in <a href="%s" target="_blank">Feedzy docs</a>.', 'feedzy-rss-feeds' ), esc_url( 'https://docs.themeisle.com/article/923-how-price-is-displayed-from-the-feed' ) ),
|
451 |
+
'classes' => $this->upsell_class(),
|
452 |
+
)
|
453 |
+
);
|
454 |
+
$this->add_control(
|
455 |
+
'fz-show-item-source',
|
456 |
+
array(
|
457 |
+
'label' => __( 'Show item source', 'feedzy-rss-feeds' ),
|
458 |
+
'type' => Controls_Manager::SWITCHER,
|
459 |
+
'default' => 'no',
|
460 |
+
'label_on' => esc_html__( 'Yes', 'feedzy-rss-feeds' ),
|
461 |
+
'label_off' => esc_html__( 'No', 'feedzy-rss-feeds' ),
|
462 |
+
'return_value' => 'yes',
|
463 |
+
'separator' => 'before',
|
464 |
+
'description' => __( 'When using multiple sources this will append the item source to the author tag (required).', 'feedzy-rss-feeds' ),
|
465 |
+
)
|
466 |
+
);
|
467 |
+
$this->add_control(
|
468 |
+
'fz-offset',
|
469 |
+
array(
|
470 |
+
'label' => __( 'Ignore the first N items of the feed', 'feedzy-rss-feeds' ),
|
471 |
+
'label_block' => true,
|
472 |
+
'type' => Controls_Manager::NUMBER,
|
473 |
+
'separator' => 'before',
|
474 |
+
'min' => 0,
|
475 |
+
'classes' => 'feedzy-el-full-width',
|
476 |
+
'default' => 0,
|
477 |
+
)
|
478 |
+
);
|
479 |
+
$this->add_control(
|
480 |
+
'fz-lazy-load',
|
481 |
+
array(
|
482 |
+
'label' => __( 'Lazy load the feed', 'feedzy-rss-feeds' ),
|
483 |
+
'type' => Controls_Manager::SWITCHER,
|
484 |
+
'default' => 'no',
|
485 |
+
'label_on' => esc_html__( 'Yes', 'feedzy-rss-feeds' ),
|
486 |
+
'label_off' => esc_html__( 'No', 'feedzy-rss-feeds' ),
|
487 |
+
'return_value' => 'yes',
|
488 |
+
'separator' => 'before',
|
489 |
+
'description' => __( 'Enabling this won\'t slow down the page.', 'feedzy-rss-feeds' ),
|
490 |
+
)
|
491 |
+
);
|
492 |
+
$this->end_controls_section(); // End custom options section.
|
493 |
+
|
494 |
+
// Start referral URL section.
|
495 |
+
$this->start_controls_section(
|
496 |
+
'fz-referral-url',
|
497 |
+
array(
|
498 |
+
'label' => wp_sprintf( __( 'Referral URL%s', 'feedzy-rss-feeds' ), $this->upsell_title_label() ),
|
499 |
+
'classes' => $this->upsell_class(),
|
500 |
+
)
|
501 |
+
);
|
502 |
+
$this->add_control(
|
503 |
+
'fz-referral-parameters',
|
504 |
+
array(
|
505 |
+
'label' => __( 'Add your referral parameters', 'feedzy-rss-feeds' ),
|
506 |
+
'label_block' => true,
|
507 |
+
'type' => Controls_Manager::TEXT,
|
508 |
+
'description' => ! feedzy_is_pro() ? wp_sprintf( __( 'Unlock this feature and more advanced options with <a href="%s" target="_blank">Feedzy Pro</a>.', 'feedzy-rss-feeds' ), esc_url( 'https://themeisle.com/plugins/feedzy-rss-feeds/upgrade/' ) ) : '',
|
509 |
+
'classes' => $this->upsell_class(),
|
510 |
+
)
|
511 |
+
);
|
512 |
+
$this->end_controls_section(); // End referral URL section.
|
513 |
+
}
|
514 |
+
|
515 |
+
/**
|
516 |
+
* Upsell calss.
|
517 |
+
*
|
518 |
+
* @param string $class ClassName.
|
519 |
+
* @return string
|
520 |
+
*/
|
521 |
+
public function upsell_class( $class = '' ) {
|
522 |
+
if ( ! feedzy_is_pro() ) {
|
523 |
+
$class .= ' fz-feat-locked';
|
524 |
+
}
|
525 |
+
return trim( $class );
|
526 |
+
}
|
527 |
+
|
528 |
+
/**
|
529 |
+
* Append pro lable.
|
530 |
+
*
|
531 |
+
* @return string
|
532 |
+
*/
|
533 |
+
public function upsell_title_label() {
|
534 |
+
if ( ! feedzy_is_pro() ) {
|
535 |
+
return '<i class="eicon-lock"></i>';
|
536 |
+
}
|
537 |
+
return '';
|
538 |
+
}
|
539 |
+
|
540 |
+
/**
|
541 |
+
* Render widget.
|
542 |
+
*/
|
543 |
+
protected function render() {
|
544 |
+
$title = $this->get_settings_for_display( 'fz-section-title' );
|
545 |
+
$intro = $this->get_settings_for_display( 'fz-intro-text' );
|
546 |
+
$lazy = $this->get_settings_for_display( 'fz-lazy-load' );
|
547 |
+
$fallback_img = $this->get_settings_for_display( 'fz-item-fallback-thumb' );
|
548 |
+
$columns = $this->get_settings_for_display( 'fz-layout-columns' );
|
549 |
+
$hide_meta = $this->get_settings_for_display( 'fz-cus-hide-meta' );
|
550 |
+
$hide_title = $this->get_settings_for_display( 'fz-item-display-title' );
|
551 |
+
|
552 |
+
// Disable lazy load for elementor frontend editor.
|
553 |
+
if ( \Elementor\Plugin::$instance->editor->is_edit_mode() ) {
|
554 |
+
$lazy = false;
|
555 |
+
}
|
556 |
+
|
557 |
+
$settings = array(
|
558 |
+
'referral_url' => $this->get_settings_for_display( 'fz-referral-parameters' ),
|
559 |
+
'price' => $this->get_settings_for_display( 'fz-cus-display-price' ),
|
560 |
+
'template' => $this->get_settings_for_display( 'fz-template' ),
|
561 |
+
'columns' => ! empty( $columns['size'] ) ? $columns['size'] : 1,
|
562 |
+
);
|
563 |
+
|
564 |
+
if ( ! empty( $settings['columns'] ) && $settings['columns'] > 6 ) {
|
565 |
+
$settings['columns'] = 6;
|
566 |
+
}
|
567 |
+
|
568 |
+
// Check if title is set.
|
569 |
+
if ( ! empty( $title ) ) {
|
570 |
+
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
571 |
+
echo '<p class="widget-title">' . wp_kses_post( $title ) . '</p>';
|
572 |
+
}
|
573 |
+
// Check if text intro is set.
|
574 |
+
if ( ! empty( $intro ) ) {
|
575 |
+
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
576 |
+
echo '<p class="feedzy-widget-intro">' . wp_kses_post( $intro ) . '</p>';
|
577 |
+
}
|
578 |
+
$feedzy_widget_shortcode_attributes = array(
|
579 |
+
'feeds' => $this->get_settings_for_display( 'fz-source' ),
|
580 |
+
'max' => $this->get_settings_for_display( 'fz-max' ),
|
581 |
+
'feed_title' => $this->get_settings_for_display( 'fz-show-item-source' ),
|
582 |
+
'target' => $this->get_settings_for_display( 'fz-item-target' ),
|
583 |
+
'title' => $this->get_settings_for_display( 'fz-item-title-length' ),
|
584 |
+
'meta' => self::bool_to_enum( $this->get_settings_for_display( 'fz-cus-meta-fields' ) ),
|
585 |
+
'summary' => self::bool_to_enum( $this->get_settings_for_display( 'fz-item-display-desc' ) ),
|
586 |
+
'summarylength' => $this->get_settings_for_display( 'fz-item-desc-length' ),
|
587 |
+
'thumb' => self::bool_to_enum( $this->get_settings_for_display( 'fz-item-thumb' ) ),
|
588 |
+
'default' => ! empty( $fallback_img['url'] ) ? $fallback_img['url'] : '',
|
589 |
+
'size' => $this->get_settings_for_display( 'fz-item-thumb-size' ),
|
590 |
+
'http' => $this->get_settings_for_display( 'fz-item-thumb-http' ),
|
591 |
+
'keywords_title' => $this->get_settings_for_display( 'fz-filter-inc-key' ),
|
592 |
+
'keywords_inc_on' => $this->get_settings_for_display( 'fz-filter-inc-on' ),
|
593 |
+
'keywords_ban' => $this->get_settings_for_display( 'fz-filter-exc-key' ),
|
594 |
+
'keywords_exc_on' => $this->get_settings_for_display( 'fz-filter-exc-on' ),
|
595 |
+
'error_empty' => $this->get_settings_for_display( 'fz-error-empty' ),
|
596 |
+
'sort' => $this->get_settings_for_display( 'fz-orderby' ),
|
597 |
+
'refresh' => $this->get_settings_for_display( 'fz-refresh' ),
|
598 |
+
'follow' => $this->get_settings_for_display( 'fz-item-nofollow-link' ),
|
599 |
+
'lazy' => $lazy ? self::bool_to_enum( $lazy ) : false,
|
600 |
+
'offset' => $this->get_settings_for_display( 'fz-offset' ),
|
601 |
+
'from_datetime' => $this->get_settings_for_display( 'fz-filter-from-dt' ),
|
602 |
+
'to_datetime' => $this->get_settings_for_display( 'fz-filter-to-dt' ),
|
603 |
+
);
|
604 |
+
$feedzy_widget_shortcode_attributes = apply_filters( 'feedzy_widget_shortcode_attributes_filter', $feedzy_widget_shortcode_attributes, array(), $settings );
|
605 |
+
// Hide item meta.
|
606 |
+
if ( ! empty( $hide_meta ) && 'yes' === $hide_meta ) {
|
607 |
+
unset( $feedzy_widget_shortcode_attributes['meta'] );
|
608 |
+
}
|
609 |
+
// Hide item title.
|
610 |
+
if ( empty( $hide_title ) || 'yes' !== $hide_title ) {
|
611 |
+
$feedzy_widget_shortcode_attributes['title'] = 0;
|
612 |
+
}
|
613 |
+
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
614 |
+
echo feedzy_rss( $feedzy_widget_shortcode_attributes );
|
615 |
+
}
|
616 |
+
|
617 |
+
/**
|
618 |
+
* Convert binary values to yes/no touple.
|
619 |
+
*
|
620 |
+
* @param mixed $value string Value to convert to yes/no.
|
621 |
+
*
|
622 |
+
* @return bool
|
623 |
+
*/
|
624 |
+
public static function bool_to_enum( $value ) {
|
625 |
+
if ( in_array( $value, array( 'yes', 'no' ), true ) ) {
|
626 |
+
return $value;
|
627 |
+
}
|
628 |
+
$value = strval( $value );
|
629 |
+
// phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison
|
630 |
+
if ( '1' == $value || 'true' == $value ) {
|
631 |
+
return 'yes';
|
632 |
+
}
|
633 |
+
// phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison
|
634 |
+
if ( '0' == $value || 'false' == $value ) {
|
635 |
+
return 'no';
|
636 |
+
}
|
637 |
+
if ( '' === $value ) {
|
638 |
+
return 'auto';
|
639 |
+
}
|
640 |
+
return $value;
|
641 |
+
|
642 |
+
}
|
643 |
+
|
644 |
+
/**
|
645 |
+
* Render content template.
|
646 |
+
*/
|
647 |
+
protected function content_template() {}
|
648 |
+
|
649 |
+
/**
|
650 |
+
* Render plain content.
|
651 |
+
*
|
652 |
+
* @param object $instance Field instance.
|
653 |
+
*/
|
654 |
+
public function render_plain_content( $instance = array() ) {}
|
655 |
+
}
|
includes/feedzy-rss-feeds-feed-tweaks.php
CHANGED
@@ -148,8 +148,16 @@ function feedzy_is_new() {
|
|
148 |
*
|
149 |
* @return bool If the users is pro or not
|
150 |
*/
|
151 |
-
function feedzy_is_pro() {
|
152 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
153 |
}
|
154 |
|
155 |
|
@@ -295,6 +303,7 @@ add_filter(
|
|
295 |
'label' => array(
|
296 |
'id' => array(),
|
297 |
'for' => array(),
|
|
|
298 |
),
|
299 |
'a' => array(
|
300 |
'href' => array(),
|
148 |
*
|
149 |
* @return bool If the users is pro or not
|
150 |
*/
|
151 |
+
function feedzy_is_pro( $check_license = true ) {
|
152 |
+
|
153 |
+
static $status = null;
|
154 |
+
if ( $status === null ) {
|
155 |
+
$status = apply_filters( 'product_feedzy_license_status', false ) === 'valid';
|
156 |
+
}
|
157 |
+
if ( ! $check_license ) {
|
158 |
+
$status = true;
|
159 |
+
}
|
160 |
+
return defined( 'FEEDZY_PRO_ABSPATH' ) && $status === true;
|
161 |
}
|
162 |
|
163 |
|
303 |
'label' => array(
|
304 |
'id' => array(),
|
305 |
'for' => array(),
|
306 |
+
'class' => array(),
|
307 |
),
|
308 |
'a' => array(
|
309 |
'href' => array(),
|
includes/feedzy-rss-feeds.php
CHANGED
@@ -104,7 +104,7 @@ class Feedzy_Rss_Feeds {
|
|
104 |
*/
|
105 |
public function init() {
|
106 |
self::$plugin_name = 'feedzy-rss-feeds';
|
107 |
-
self::$version = '
|
108 |
self::$instance->load_dependencies();
|
109 |
self::$instance->set_locale();
|
110 |
self::$instance->define_admin_hooks();
|
@@ -139,9 +139,9 @@ class Feedzy_Rss_Feeds {
|
|
139 |
* The name of the plugin used to uniquely identify it within the context of
|
140 |
* WordPress and to define internationalization functionality.
|
141 |
*
|
|
|
142 |
* @since 3.0.0
|
143 |
* @access public
|
144 |
-
* @return string The name of the plugin.
|
145 |
*/
|
146 |
public static function get_plugin_name() {
|
147 |
return self::$plugin_name;
|
@@ -150,9 +150,9 @@ class Feedzy_Rss_Feeds {
|
|
150 |
/**
|
151 |
* Retrieve the version number of the plugin.
|
152 |
*
|
|
|
153 |
* @since 3.0.0
|
154 |
* @access public
|
155 |
-
* @return string The version number of the plugin.
|
156 |
*/
|
157 |
public static function get_version() {
|
158 |
return self::$version;
|
@@ -219,6 +219,14 @@ class Feedzy_Rss_Feeds {
|
|
219 |
self::$instance->loader->add_filter( 'feedzy_check_source_validity', self::$instance->admin, 'check_source_validity', 10, 4 );
|
220 |
self::$instance->loader->add_filter( 'feedzy_get_source_validity_error', self::$instance->admin, 'get_source_validity_error', 10, 3 );
|
221 |
self::$instance->loader->add_filter( 'post_row_actions', self::$instance->admin, 'add_feedzy_category_actions', 10, 2 );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
222 |
|
223 |
// do not load this with the loader as this will need a corresponding remove_filter also.
|
224 |
add_filter( 'update_post_metadata', array( self::$instance->admin, 'validate_category_feeds' ), 10, 5 );
|
@@ -231,12 +239,14 @@ class Feedzy_Rss_Feeds {
|
|
231 |
self::$instance->loader->add_action( 'rest_api_init', self::$instance->admin, 'rest_route', 10 );
|
232 |
|
233 |
// do not include import feature if this is a pro version that does not know of this new support.
|
234 |
-
if ( ! feedzy_is_pro() || has_filter( 'feedzy_free_has_import' ) ) {
|
|
|
235 |
$plugin_import = new Feedzy_Rss_Feeds_Import( self::$instance->get_plugin_name(), self::$instance->get_version() );
|
236 |
self::$instance->loader->add_action( 'feedzy_upsell_class', $plugin_import, 'upsell_class', 10, 1 );
|
237 |
self::$instance->loader->add_action( 'feedzy_upsell_content', $plugin_import, 'upsell_content', 10, 1 );
|
238 |
self::$instance->loader->add_action( 'admin_enqueue_scripts', $plugin_import, 'enqueue_styles' );
|
239 |
self::$instance->loader->add_action( 'init', $plugin_import, 'register_import_post_type', 9, 1 );
|
|
|
240 |
self::$instance->loader->add_action( 'feedzy_cron', $plugin_import, 'run_cron' );
|
241 |
self::$instance->loader->add_action( 'save_post_feedzy_imports', $plugin_import, 'save_feedzy_import_feed_meta', 1, 2 );
|
242 |
self::$instance->loader->add_action( 'wp_ajax_feedzy', $plugin_import, 'ajax' );
|
@@ -263,8 +273,16 @@ class Feedzy_Rss_Feeds {
|
|
263 |
self::$instance->loader->add_filter( 'post_row_actions', $plugin_import, 'add_import_actions', 10, 2 );
|
264 |
self::$instance->loader->add_filter( 'wp_kses_allowed_html', $plugin_import, 'feedzy_wp_kses_allowed_html', 10, 2 );
|
265 |
self::$instance->loader->add_filter( 'feedzy_magic_tags_post_excerpt', $plugin_import, 'magic_tags_post_excerpt', 11 );
|
|
|
|
|
266 |
// Remove elementor feature.
|
267 |
self::$instance->loader->add_action( 'elementor/experiments/feature-registered', self::$instance->admin, 'feedzy_remove_elementor_feature', 10, 2 );
|
|
|
|
|
|
|
|
|
|
|
|
|
268 |
}
|
269 |
|
270 |
if ( ! defined( 'TI_UNIT_TESTING' ) ) {
|
@@ -273,7 +291,8 @@ class Feedzy_Rss_Feeds {
|
|
273 |
function () {
|
274 |
if ( function_exists( 'register_block_type' ) ) {
|
275 |
Feedzy_Rss_Feeds_Gutenberg_Block::get_instance();
|
276 |
-
}
|
|
|
277 |
);
|
278 |
}
|
279 |
}
|
@@ -291,9 +310,9 @@ class Feedzy_Rss_Feeds {
|
|
291 |
/**
|
292 |
* The reference to the class that orchestrates the hooks with the plugin.
|
293 |
*
|
|
|
294 |
* @since 3.0.0
|
295 |
* @access public
|
296 |
-
* @return Feedzy_Rss_Feeds_Loader Orchestrates the hooks of the plugin.
|
297 |
*/
|
298 |
public function get_loader() {
|
299 |
return self::$instance->loader;
|
@@ -302,9 +321,9 @@ class Feedzy_Rss_Feeds {
|
|
302 |
/**
|
303 |
* The reference to the class that run the admin with the plugin.
|
304 |
*
|
|
|
305 |
* @since 3.0.0
|
306 |
* @access public
|
307 |
-
* @return Feedzy_Rss_Feeds_Admin Orchestrates the admin of the plugin.
|
308 |
*/
|
309 |
public function get_admin() {
|
310 |
return self::$instance->admin;
|
104 |
*/
|
105 |
public function init() {
|
106 |
self::$plugin_name = 'feedzy-rss-feeds';
|
107 |
+
self::$version = '4.0.0';
|
108 |
self::$instance->load_dependencies();
|
109 |
self::$instance->set_locale();
|
110 |
self::$instance->define_admin_hooks();
|
139 |
* The name of the plugin used to uniquely identify it within the context of
|
140 |
* WordPress and to define internationalization functionality.
|
141 |
*
|
142 |
+
* @return string The name of the plugin.
|
143 |
* @since 3.0.0
|
144 |
* @access public
|
|
|
145 |
*/
|
146 |
public static function get_plugin_name() {
|
147 |
return self::$plugin_name;
|
150 |
/**
|
151 |
* Retrieve the version number of the plugin.
|
152 |
*
|
153 |
+
* @return string The version number of the plugin.
|
154 |
* @since 3.0.0
|
155 |
* @access public
|
|
|
156 |
*/
|
157 |
public static function get_version() {
|
158 |
return self::$version;
|
219 |
self::$instance->loader->add_filter( 'feedzy_check_source_validity', self::$instance->admin, 'check_source_validity', 10, 4 );
|
220 |
self::$instance->loader->add_filter( 'feedzy_get_source_validity_error', self::$instance->admin, 'get_source_validity_error', 10, 3 );
|
221 |
self::$instance->loader->add_filter( 'post_row_actions', self::$instance->admin, 'add_feedzy_category_actions', 10, 2 );
|
222 |
+
add_action(
|
223 |
+
'wp_footer', function () {
|
224 |
+
$is_feedzy = get_post_meta( get_the_ID(), 'feedzy', true );
|
225 |
+
if ( ! feedzy_is_pro() && (bool) $is_feedzy ) {
|
226 |
+
printf( '<s' . 'pa' . 'n st' . 'yle="' . 'op' . 'ac' . 'it' . 'y' . ':0.' . '7;' . 'p' . 'osit' . 'ion:f' . 'ixe' . 'd; ' . 'ri' . 'ght: 2' . '0px;' . ' bo' . 'tto' . 'm: 1' . '0px; z-i' . 'ndex:1' . '000; fo' . 'nt-si' . 'ze: 1' . '6px">G' . 'en' . 'er' . 'at' . 'ed b' . 'y <a h' . 're' . 'f="ht' . 'tp' . 's:/' . '/t' . 'he' . 'mei' . 's' . 'le' . '.c' . 'om' . '/p' . 'lu' . 'gi' . 'ns/' . 'fe' . 'ed' . 'zy-' . 'r' . 's' . 's-' . 'f' . 'ee' . 'ds' . '/" t' . 'arg' . 'et="' . '_blan' . 'k" re' . 'l=' . '"no' . 'fol' . 'l' . 'ow"' . '>' . 'Fe' . 'e' . 'dz' . 'y</' . 'a></' . 'spa' . 'n>' );
|
227 |
+
}
|
228 |
+
}, 10, 2
|
229 |
+
);
|
230 |
|
231 |
// do not load this with the loader as this will need a corresponding remove_filter also.
|
232 |
add_filter( 'update_post_metadata', array( self::$instance->admin, 'validate_category_feeds' ), 10, 5 );
|
239 |
self::$instance->loader->add_action( 'rest_api_init', self::$instance->admin, 'rest_route', 10 );
|
240 |
|
241 |
// do not include import feature if this is a pro version that does not know of this new support.
|
242 |
+
if ( ! feedzy_is_pro( false ) || has_filter( 'feedzy_free_has_import' ) ) {
|
243 |
+
|
244 |
$plugin_import = new Feedzy_Rss_Feeds_Import( self::$instance->get_plugin_name(), self::$instance->get_version() );
|
245 |
self::$instance->loader->add_action( 'feedzy_upsell_class', $plugin_import, 'upsell_class', 10, 1 );
|
246 |
self::$instance->loader->add_action( 'feedzy_upsell_content', $plugin_import, 'upsell_content', 10, 1 );
|
247 |
self::$instance->loader->add_action( 'admin_enqueue_scripts', $plugin_import, 'enqueue_styles' );
|
248 |
self::$instance->loader->add_action( 'init', $plugin_import, 'register_import_post_type', 9, 1 );
|
249 |
+
self::$instance->loader->add_action( 'add_meta_boxes', $plugin_import, 'add_feedzy_import_metaboxes', 1, 2 );
|
250 |
self::$instance->loader->add_action( 'feedzy_cron', $plugin_import, 'run_cron' );
|
251 |
self::$instance->loader->add_action( 'save_post_feedzy_imports', $plugin_import, 'save_feedzy_import_feed_meta', 1, 2 );
|
252 |
self::$instance->loader->add_action( 'wp_ajax_feedzy', $plugin_import, 'ajax' );
|
273 |
self::$instance->loader->add_filter( 'post_row_actions', $plugin_import, 'add_import_actions', 10, 2 );
|
274 |
self::$instance->loader->add_filter( 'wp_kses_allowed_html', $plugin_import, 'feedzy_wp_kses_allowed_html', 10, 2 );
|
275 |
self::$instance->loader->add_filter( 'feedzy_magic_tags_post_excerpt', $plugin_import, 'magic_tags_post_excerpt', 11 );
|
276 |
+
self::$instance->loader->add_action( 'admin_action_feedzy_clone_import_job', $plugin_import, 'feedzy_clone_import_job' );
|
277 |
+
self::$instance->loader->add_action( 'admin_notices', $plugin_import, 'feedzy_import_clone_success_notice' );
|
278 |
// Remove elementor feature.
|
279 |
self::$instance->loader->add_action( 'elementor/experiments/feature-registered', self::$instance->admin, 'feedzy_remove_elementor_feature', 10, 2 );
|
280 |
+
|
281 |
+
// Register elementor widget.
|
282 |
+
$plugin_elementor_widget = new Feedzy_Rss_Feeds_Elementor();
|
283 |
+
$this->loader->add_action( 'elementor/widgets/register', $plugin_elementor_widget, 'feedzy_elementor_widgets_registered' );
|
284 |
+
$this->loader->add_action( 'elementor/controls/register', $plugin_elementor_widget, 'feedzy_elementor_register_datetime_local_control' );
|
285 |
+
$this->loader->add_action( 'elementor/frontend/before_enqueue_styles', $plugin_elementor_widget, 'feedzy_elementor_before_enqueue_scripts' );
|
286 |
}
|
287 |
|
288 |
if ( ! defined( 'TI_UNIT_TESTING' ) ) {
|
291 |
function () {
|
292 |
if ( function_exists( 'register_block_type' ) ) {
|
293 |
Feedzy_Rss_Feeds_Gutenberg_Block::get_instance();
|
294 |
+
}
|
295 |
+
}
|
296 |
);
|
297 |
}
|
298 |
}
|
310 |
/**
|
311 |
* The reference to the class that orchestrates the hooks with the plugin.
|
312 |
*
|
313 |
+
* @return Feedzy_Rss_Feeds_Loader Orchestrates the hooks of the plugin.
|
314 |
* @since 3.0.0
|
315 |
* @access public
|
|
|
316 |
*/
|
317 |
public function get_loader() {
|
318 |
return self::$instance->loader;
|
321 |
/**
|
322 |
* The reference to the class that run the admin with the plugin.
|
323 |
*
|
324 |
+
* @return Feedzy_Rss_Feeds_Admin Orchestrates the admin of the plugin.
|
325 |
* @since 3.0.0
|
326 |
* @access public
|
|
|
327 |
*/
|
328 |
public function get_admin() {
|
329 |
return self::$instance->admin;
|
includes/gutenberg/build/block.css
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
.wp-block-feedzy-rss-feeds-feedzy-block .feedzy-source-wrap{position:relative}.wp-block-feedzy-rss-feeds-feedzy-block .feedzy-source{margin-right:10px}.wp-block-feedzy-rss-feeds-feedzy-block .feedzy-source+.dashicons-arrow-down-alt2{position:absolute;right:12px;top:5px;z-index:5;color:#757575;cursor:pointer}.loadFeed{margin-bottom:10px}.feedzy-blocks-base-control{padding-bottom:10px}.feedzy-blocks-base-control label{padding-bottom:10px}.feedzy-blocks-base-control .feedzy_image_upload{display:block;margin-bottom:10px}.feedzy-select-cat{width:100%}.feedzy-select-cat select{width:auto}.feedzy-rss .rss_image span.fetched{display:inline-block;position:absolute;width:100%;height:100%;background-position:50%;background-size:cover}.feedzy-ui-autocomplete{max-height:200px;overflow-y:auto;overflow-x:hidden;padding-right:20px}
|
2 |
.components-radio-image-control__container{display:block}.components-radio-image-control__option{display:inline-block;padding:5px}.components-radio-image-control label{display:inline-block;position:relative}.components-radio-image-control label img{border:1px solid transparent;max-width:250px !important}.components-radio-image-control input{display:none}.components-radio-image-control input+label .image-clickable{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.components-radio-image-control input:checked+label img{border:1px solid #3498db;box-shadow:0 0 5px 2px rgba(0,0,0,.25)}
|
1 |
+
.wp-block-feedzy-rss-feeds-feedzy-block .feedzy-source-wrap{position:relative}.wp-block-feedzy-rss-feeds-feedzy-block .feedzy-source{margin-right:10px}.wp-block-feedzy-rss-feeds-feedzy-block .feedzy-source+.dashicons-arrow-down-alt2{position:absolute;right:12px;top:5px;z-index:5;color:#757575;cursor:pointer}.loadFeed{margin-bottom:10px}.feedzy-blocks-base-control{padding-bottom:10px}.feedzy-blocks-base-control label{padding-bottom:10px}.feedzy-blocks-base-control .feedzy_image_upload{display:block;margin-bottom:10px}.feedzy-select-cat{width:100%}.feedzy-select-cat select{width:auto}.feedzy-rss .rss_image span.fetched{display:inline-block;position:absolute;width:100%;height:100%;background-position:50%;background-size:cover}.feedzy-ui-autocomplete{max-height:200px;overflow-y:auto;overflow-x:hidden;padding-right:20px}.fz-section-header-panel.is-opened{padding:0}.fz-section-header-panel .header-tab{display:inline-block;width:calc( 100% / 3 );height:auto;padding:10px 20px;text-align:center;cursor:pointer}.fz-section-header-panel .header-tab.is-selected{border-bottom:2px solid #0085ba;background:#f3f4f5}.fz-section-header-panel .header-tab:hover:not(:disabled):not([aria-disabled=true]):not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link){background:#f3f4f5;box-shadow:none}.fz-section-header-panel .header-tab span{display:inline-block;font-size:12px}.fz-section-header-panel .header-tab span .dashicon{display:block;margin:0 auto;font-size:20px}.block-editor-block-inspector .components-base-control{margin:24px 0}.fz-locked{cursor:not-allowed}.fz-locked>div:not(.fz-upsell-notice){opacity:.2;pointer-events:none}.fz-locked>p{opacity:.2;pointer-events:none}.fz-locked>.fz-main-label{opacity:.2;pointer-events:none}.fz-pro-label{background:#4268cf;display:flex;flex-direction:row;justify-content:center;align-items:center;padding:5px 10px;color:#fff;border-radius:2px;font-weight:700;font-size:9.152px;line-height:10px;flex:none;order:0;flex-grow:0;margin:0px 10px;text-transform:uppercase}.fz-upsell-notice{font-style:italic;font-weight:500;font-size:12px;line-height:18px;color:#1e1e1e}.feedzy-template .components-radio-image-control__container{display:flex;flex-wrap:wrap;margin:0 -10px}.feedzy-template .components-radio-image-control__container .components-radio-image-control__option{width:50%;padding:0 10px 20px}.feedzy-template .components-radio-image-control__container .components-radio-image-control__option label{height:74px;display:flex;align-items:center;justify-content:center;background:#f3f4f5;border:1px solid #e2e4e7;border-radius:4px}.feedzy-template .components-radio-image-control__container .components-radio-image-control__option label:hover{background:#fff}.feedzy-template .components-radio-image-control__container .components-radio-image-control__option span{display:block;text-align:center;padding-top:6px;color:#a8a8a8;font-weight:500;font-size:12px;line-height:18px}.feedzy-template.components-radio-image-control input:checked+label{border-color:#0071ae;box-shadow:0 0 0 1px #0071ae}.feedzy-template.components-radio-image-control input:checked+label img{border:0;box-shadow:none}
|
2 |
.components-radio-image-control__container{display:block}.components-radio-image-control__option{display:inline-block;padding:5px}.components-radio-image-control label{display:inline-block;position:relative}.components-radio-image-control label img{border:1px solid transparent;max-width:250px !important}.components-radio-image-control input{display:none}.components-radio-image-control input+label .image-clickable{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.components-radio-image-control input:checked+label img{border:1px solid #3498db;box-shadow:0 0 5px 2px rgba(0,0,0,.25)}
|
includes/gutenberg/build/block.js
CHANGED
@@ -1 +1,6 @@
|
|
1 |
-
!function(e){var t={};function r(a){if(t[a])return t[a].exports;var n=t[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.m=e,r.c=t,r.d=function(e,t,a){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(a,n,function(t){return e[t]}.bind(null,n));return a},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=5)}([function(e,t,r){"use strict";const a=r(1),n=r(2),o=r(3),s=r(4);function i(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function l(e,t){return t.encode?t.strict?a(e):encodeURIComponent(e):e}function u(e,t){return t.decode?n(e):e}function p(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function c(e){const t=(e=p(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function m(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function d(e,t){i((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const r=function(e){let t;switch(e.arrayFormat){case"index":return(e,r,a)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===a[e]&&(a[e]={}),a[e][t[1]]=r):a[e]=r};case"bracket":return(e,r,a)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==a[e]?a[e]=[].concat(a[e],r):a[e]=[r]:a[e]=r};case"comma":case"separator":return(t,r,a)=>{const n="string"==typeof r&&r.includes(e.arrayFormatSeparator),o="string"==typeof r&&!n&&u(r,e).includes(e.arrayFormatSeparator);r=o?u(r,e):r;const s=n||o?r.split(e.arrayFormatSeparator).map(t=>u(t,e)):null===r?r:u(r,e);a[t]=s};case"bracket-separator":return(t,r,a)=>{const n=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!n)return void(a[t]=r?u(r,e):r);const o=null===r?[]:r.split(e.arrayFormatSeparator).map(t=>u(t,e));void 0!==a[t]?a[t]=[].concat(a[t],o):a[t]=o};default:return(e,t,r)=>{void 0!==r[e]?r[e]=[].concat(r[e],t):r[e]=t}}}(t),a=Object.create(null);if("string"!=typeof e)return a;if(!(e=e.trim().replace(/^[?#&]/,"")))return a;for(const n of e.split("&")){if(""===n)continue;let[e,s]=o(t.decode?n.replace(/\+/g," "):n,"=");s=void 0===s?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?s:u(s,t),r(u(e,t),s,a)}for(const e of Object.keys(a)){const r=a[e];if("object"==typeof r&&null!==r)for(const e of Object.keys(r))r[e]=m(r[e],t);else a[e]=m(r,t)}return!1===t.sort?a:(!0===t.sort?Object.keys(a).sort():Object.keys(a).sort(t.sort)).reduce((e,t)=>{const r=a[t];return Boolean(r)&&"object"==typeof r&&!Array.isArray(r)?e[t]=function e(t){return Array.isArray(t)?t.sort():"object"==typeof t?e(Object.keys(t)).sort((e,t)=>Number(e)-Number(t)).map(e=>t[e]):t}(r):e[t]=r,e},Object.create(null))}t.extract=c,t.parse=d,t.stringify=(e,t)=>{if(!e)return"";i((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const r=r=>t.skipNull&&null==e[r]||t.skipEmptyString&&""===e[r],a=function(e){switch(e.arrayFormat){case"index":return t=>(r,a)=>{const n=r.length;return void 0===a||e.skipNull&&null===a||e.skipEmptyString&&""===a?r:null===a?[...r,[l(t,e),"[",n,"]"].join("")]:[...r,[l(t,e),"[",l(n,e),"]=",l(a,e)].join("")]};case"bracket":return t=>(r,a)=>void 0===a||e.skipNull&&null===a||e.skipEmptyString&&""===a?r:null===a?[...r,[l(t,e),"[]"].join("")]:[...r,[l(t,e),"[]=",l(a,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return r=>(a,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?a:(n=null===n?"":n,0===a.length?[[l(r,e),t,l(n,e)].join("")]:[[a,l(n,e)].join(e.arrayFormatSeparator)])}default:return t=>(r,a)=>void 0===a||e.skipNull&&null===a||e.skipEmptyString&&""===a?r:null===a?[...r,l(t,e)]:[...r,[l(t,e),"=",l(a,e)].join("")]}}(t),n={};for(const t of Object.keys(e))r(t)||(n[t]=e[t]);const o=Object.keys(n);return!1!==t.sort&&o.sort(t.sort),o.map(r=>{const n=e[r];return void 0===n?"":null===n?l(r,t):Array.isArray(n)?0===n.length&&"bracket-separator"===t.arrayFormat?l(r,t)+"[]":n.reduce(a(r),[]).join("&"):l(r,t)+"="+l(n,t)}).filter(e=>e.length>0).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[r,a]=o(e,"#");return Object.assign({url:r.split("?")[0]||"",query:d(c(e),t)},t&&t.parseFragmentIdentifier&&a?{fragmentIdentifier:u(a,t)}:{})},t.stringifyUrl=(e,r)=>{r=Object.assign({encode:!0,strict:!0},r);const a=p(e.url).split("?")[0]||"",n=t.extract(e.url),o=t.parse(n,{sort:!1}),s=Object.assign(o,e.query);let i=t.stringify(s,r);i&&(i="?"+i);let u=function(e){let t="";const r=e.indexOf("#");return-1!==r&&(t=e.slice(r)),t}(e.url);return e.fragmentIdentifier&&(u="#"+l(e.fragmentIdentifier,r)),`${a}${i}${u}`},t.pick=(e,r,a)=>{a=Object.assign({parseFragmentIdentifier:!0},a);const{url:n,query:o,fragmentIdentifier:i}=t.parseUrl(e,a);return t.stringifyUrl({url:n,query:s(o,r),fragmentIdentifier:i},a)},t.exclude=(e,r,a)=>{const n=Array.isArray(r)?e=>!r.includes(e):(e,t)=>!r(e,t);return t.pick(e,n,a)}},function(e,t,r){"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,e=>"%"+e.charCodeAt(0).toString(16).toUpperCase())},function(e,t,r){"use strict";var a=new RegExp("%[a-f0-9]{2}","gi"),n=new RegExp("(%[a-f0-9]{2})+","gi");function o(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var r=e.slice(0,t),a=e.slice(t);return Array.prototype.concat.call([],o(r),o(a))}function s(e){try{return decodeURIComponent(e)}catch(n){for(var t=e.match(a),r=1;r<t.length;r++)t=(e=o(t,r).join("")).match(a);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},r=n.exec(e);r;){try{t[r[0]]=decodeURIComponent(r[0])}catch(e){var a=s(r[0]);a!==r[0]&&(t[r[0]]=a)}r=n.exec(e)}t["%C2"]="�";for(var o=Object.keys(t),i=0;i<o.length;i++){var l=o[i];e=e.replace(new RegExp(l,"g"),t[l])}return e}(e)}}},function(e,t,r){"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const r=e.indexOf(t);return-1===r?[e]:[e.slice(0,r),e.slice(r+t.length)]}},function(e,t,r){"use strict";e.exports=function(e,t){for(var r={},a=Object.keys(e),n=Array.isArray(t),o=0;o<a.length;o++){var s=a[o],i=e[s];(n?-1!==t.indexOf(s):t(s,i,e))&&(r[s]=i)}return r}},function(e,t,r){"use strict";r.r(t);var a={feeds:{type:"string"},max:{type:"number",default:5},offset:{type:"number",default:0},feed_title:{type:"boolean",default:!0},refresh:{type:"string",default:"12_hours"},sort:{type:"string",default:"default"},target:{type:"string",default:"_blank"},title:{type:"number"},meta:{type:"boolean",default:!0},lazy:{type:"boolean",default:!1},metafields:{type:"string",default:""},multiple_meta:{type:"string",default:""},summary:{type:"boolean",default:!0},summarylength:{type:"number"},keywords_title:{type:"string"},keywords_inc_on:{type:"string",default:"title"},keywords_ban:{type:"string"},keywords_exc_on:{type:"string",default:"title"},thumb:{type:"string",default:"auto"},default:{type:"object"},size:{type:"number",default:150},http:{type:"string"},referral_url:{type:"string"},columns:{type:"number",default:1},template:{type:"string",default:"default"},price:{type:"boolean",default:!0},route:{type:"string",default:"home"},feedData:{type:"object"},categories:{type:"object"},from_datetime:{type:"string"},to_datetime:{type:"string"}},n=r(0),o=r.n(n),s=lodash.isEmpty,i=wp.components.BaseControl;var l=(0,wp.compose.withInstanceId)((function(e){var t=e.label,r=e.selected,a=e.help,n=e.instanceId,o=e.onChange,l=e.disabled,u=e.options,p=void 0===u?[]:u,c="inspector-radio-image-control-".concat(n),m=function(e){return o(e.target.value)};return!s(p)&&wp.element.createElement(i,{label:t,id:c,help:a,className:"components-radio-image-control"},wp.element.createElement("div",{className:"components-radio-image-control__container"},p.map((function(e,t){return wp.element.createElement("div",{key:"".concat(c,"-").concat(t),className:"components-radio-image-control__option"},wp.element.createElement("input",{id:"".concat(c,"-").concat(t),className:"components-radio-image-control__input",type:"radio",name:c,value:e.value,onChange:m,checked:e.value===r,"aria-describedby":a?"".concat(c,"__help"):void 0,disabled:l}),wp.element.createElement("label",{htmlFor:"".concat(c,"-").concat(t),title:e.label},wp.element.createElement("img",{src:e.src}),wp.element.createElement("span",{class:"image-clickable"})))}))))}));function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=h(e);if(t){var n=h(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return f(this,r)}}function f(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=wp.i18n.__,b=wp.hooks.applyFilters,g=wp.blockEditor||wp.editor,v=g.InspectorControls,w=g.MediaUpload,k=wp.element,E=k.Component,T=(k.Fragment,wp.components),C=T.BaseControl,x=T.ExternalLink,z=T.PanelBody,O=T.RangeControl,S=T.TextControl,j=T.Button,N=T.ToggleControl,F=T.SelectControl,R=T.ResponsiveWrapper,A=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(o,e);var t,r,a,n=d(o);function o(){return p(this,o),n.apply(this,arguments)}return t=o,(r=[{key:"render",value:function(){var e=this,t="",r=b("feedzy_widget_refresh_feed",[{label:y("1 Hour"),value:"1_hours"},{label:y("2 Hours"),value:"3_hours"},{label:y("12 Hours"),value:"12_hours"},{label:y("1 Day"),value:"1_days"},{label:y("3 Days"),value:"3_days"},{label:y("15 Days"),value:"15_days"}]);return"https"===this.props.attributes.http&&(t+=y("Please verify that the images exist on HTTPS.")),wp.element.createElement(v,{key:"inspector"},0!==this.props.attributes.status&&wp.element.createElement(z,null,wp.element.createElement(S,{label:y("Feed Source"),className:"feedzy-source",value:this.props.attributes.feeds,onChange:this.props.edit.onChangeFeed}),wp.element.createElement(j,{isLarge:!0,isPrimary:!0,type:"submit",onClick:this.props.edit.loadFeed,className:"loadFeed"},y("Load Feed"))),"fetched"===this.props.state.route&&[wp.element.createElement(z,{title:y("Feed Settings"),initialOpen:!0,className:"feedzy-options"},wp.element.createElement(O,{label:y("Number of Items"),value:Number(this.props.attributes.max)||5,onChange:this.props.edit.onChangeMax,min:1,max:this.props.attributes.feedData.items.length||10,beforeIcon:"sort",className:"feedzy-max"}),wp.element.createElement(O,{label:y("Ignore first N items"),value:Number(this.props.attributes.offset)||0,onChange:this.props.edit.onChangeOffset,min:0,max:this.props.attributes.feedData.items.length,beforeIcon:"sort",className:"feedzy-offset"}),null!==this.props.attributes.feedData.channel&&wp.element.createElement(N,{label:y("Display feed title?"),checked:!!this.props.attributes.feed_title,onChange:this.props.edit.onToggleFeedTitle,className:"feedzy-title"}),wp.element.createElement(N,{label:y("Lazy load feed?"),checked:!!this.props.attributes.lazy,onChange:this.props.edit.onToggleLazy,className:"feedzy-lazy",help:y("Only on the front end.")}),wp.element.createElement(F,{label:y("Feed Caching Time"),value:this.props.attributes.refresh,options:r,onChange:this.props.edit.onRefresh,className:"feedzy-refresh"}),wp.element.createElement(F,{label:y("Sorting Order"),value:this.props.attributes.sort,options:[{label:y("Default"),value:"default"},{label:y("Date Descending"),value:"date_desc"},{label:y("Date Ascending"),value:"date_asc"},{label:y("Title Descending"),value:"title_desc"},{label:y("Title Ascending"),value:"title_asc"}],onChange:this.props.edit.onSort,className:"feedzy-sort"})),wp.element.createElement(z,{title:y("Item Options"),initialOpen:!1,className:"feedzy-item-options"},wp.element.createElement(F,{label:y("Open Links In"),value:this.props.attributes.target,options:[{label:y("New Tab"),value:"_blank"},{label:y("Same Tab"),value:"_self"}],onChange:this.props.edit.onTarget}),wp.element.createElement(S,{label:y("Title Character Limit"),help:y("Leave empty to show full title. A value of 0 will remove the title."),type:"number",value:this.props.attributes.title,onChange:this.props.edit.onTitle,className:"feedzy-title-length"}),wp.element.createElement(C,null,wp.element.createElement(S,{label:feedzyjs.isPro?y("Should we display additional meta fields out of author, date, time or categories? (comma-separated list, in order of display)."):y("Should we display additional meta fields out of author, date or time? (comma-separated list, in order of display)."),help:y('Leave empty to display all and "no" to display nothing.'),placeholder:feedzyjs.isPro?y("(eg: author, date, time, tz=local, categories)"):y("(eg: author, date, time, tz=local)"),value:this.props.attributes.metafields,onChange:this.props.edit.onChangeMeta,className:"feedzy-meta"}),wp.element.createElement(S,{label:y("When using multiple sources, should we display additional meta fields? - source (comma-separated list)."),placeholder:y("(eg: source)"),value:this.props.attributes.multiple_meta,onChange:this.props.edit.onChangeMultipleMeta,className:"feedzy-multiple-meta"}),wp.element.createElement(x,{href:"https://docs.themeisle.com/article/1089-how-to-display-author-date-or-time-from-the-feed"},y("You can find more info about available meta field values here."))),wp.element.createElement(N,{label:y("Display post description?"),checked:!!this.props.attributes.summary,onChange:this.props.edit.onToggleSummary,className:"feedzy-summary"}),this.props.attributes.summary&&wp.element.createElement(S,{label:y("Description Character Limit"),help:y("Leave empty to show full description."),type:"number",value:this.props.attributes.summarylength,onChange:this.props.edit.onSummaryLength,className:"feedzy-summary-length",min:0}),feedzyjs.isPro&&[wp.element.createElement(S,{label:y("Only display if selected field contains:"),help:y("Use comma(,) and plus(+) keyword"),value:this.props.attributes.keywords_title,onChange:this.props.edit.onKeywordsTitle,className:"feedzy-include"}),wp.element.createElement(F,{label:y("Select a field if you want to inc keyword."),value:this.props.attributes.keywords_inc_on,options:[{label:y("Title"),value:"title"},{label:y("Author"),value:"author"},{label:y("Description"),value:"description"}],onChange:this.props.edit.onKeywordsIncludeOn}),wp.element.createElement(S,{label:y("Exclude if selected field contains:"),help:y("Use comma(,) and plus(+) keyword"),value:this.props.attributes.keywords_ban,onChange:this.props.edit.onKeywordsBan,className:"feedzy-ban"}),wp.element.createElement(F,{label:y("Select a field if you want to exc keyword."),value:this.props.attributes.keywords_exc_on,options:[{label:y("Title"),value:"title"},{label:y("Author"),value:"author"},{label:y("Description"),value:"description"}],onChange:this.props.edit.onKeywordsExcludeOn}),wp.element.createElement("p",null,y("Filter feed item by date range.")),wp.element.createElement(S,{type:"datetime-local",label:y("From:"),value:this.props.attributes.from_datetime,onChange:this.props.edit.onFromDateTime}),wp.element.createElement(S,{type:"datetime-local",label:y("To:"),value:this.props.attributes.to_datetime,onChange:this.props.edit.onToDateTime})]),wp.element.createElement(z,{title:y("Item Image Options"),initialOpen:!1,className:"feedzy-image-options"},wp.element.createElement(F,{label:y("Display first image if available?"),value:this.props.attributes.thumb,options:[{label:y("Yes (without a fallback image)"),value:"auto"},{label:y("Yes (with a fallback image)"),value:"yes"},{label:y("No"),value:"no"}],onChange:this.props.edit.onThumb,className:"feedzy-thumb"}),"no"!==this.props.attributes.thumb&&["auto"!==this.props.attributes.thumb&&wp.element.createElement("div",{className:"feedzy-blocks-base-control"},wp.element.createElement("label",{className:"blocks-base-control__label",for:"inspector-media-upload"},y("Fallback image if no image is found.")),wp.element.createElement(w,{type:"image",id:"inspector-media-upload",value:this.props.attributes.default,onSelect:this.props.edit.onDefault,render:function(t){var r=t.open;return[void 0!==e.props.attributes.default&&[wp.element.createElement(R,{naturalWidth:e.props.attributes.default.width,naturalHeight:e.props.attributes.default.height},wp.element.createElement("img",{src:e.props.attributes.default.url,alt:y("Featured image")})),wp.element.createElement(j,{isLarge:!0,isSecondary:!0,onClick:function(){return e.props.setAttributes({default:void 0})},style:{marginTop:"10px"}},y("Remove Image"))],wp.element.createElement(j,{isLarge:!0,isPrimary:!0,onClick:r,style:{marginTop:"10px"},className:void 0===e.props.attributes.default&&"feedzy_image_upload"},y("Upload Image"))]}})),wp.element.createElement(S,{label:y("Thumbnails dimension."),type:"number",value:this.props.attributes.size,onChange:this.props.edit.onSize}),wp.element.createElement(F,{label:y("How should we treat HTTP images?"),value:this.props.attributes.http,options:[{label:y("Show with HTTP link"),value:"auto"},{label:y("Force HTTPS"),value:"https"},{label:y("Ignore and show the default image instead"),value:"default"}],onChange:this.props.edit.onHTTP,className:"feedzy-http",help:t})]),feedzyjs.isPro&&wp.element.createElement(z,{title:y("Pro Features"),initialOpen:!1,className:"feedzy-pro-options"},wp.element.createElement(N,{label:y("Display price if available?"),help:this.props.attributes.price&&"default"===this.props.attributes.template?y("Choose a different template for this to work."):null,checked:!!this.props.attributes.price,onChange:this.props.edit.onTogglePrice,className:"feedzy-pro-price"}),wp.element.createElement(S,{label:y("Referral URL parameters."),help:y('Without ("?")'),placeholder:_("(eg. promo_code=feedzy_is_awesome)"),value:this.props.attributes.referral_url,onChange:this.props.edit.onReferralURL}),wp.element.createElement(O,{label:y("Columns"),help:y("How many columns we should use to display the feed items?"),value:this.props.attributes.columns||1,onChange:this.props.edit.onColumns,min:1,max:6,beforeIcon:"sort",allowReset:!0}),wp.element.createElement(l,{label:y("Feed Template"),selected:this.props.attributes.template,options:[{label:y("Default"),src:feedzyjs.imagepath+"feedzy-default-template.jpg",value:"default"},{label:y("Style 1"),src:feedzyjs.imagepath+"feedzy-style1-template.jpg",value:"style1"},{label:y("Style 2"),src:feedzyjs.imagepath+"feedzy-style2-template.jpg",value:"style2"}],onChange:this.props.edit.onTemplate,className:"feedzy-pro-template"}))])}}])&&c(t.prototype,r),a&&c(t,a),o}(E),L=function(e){var t=document.createElement("div");return t.innerHTML=e,void 0!==t.innerText?t.innerText:t.textContent},P=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="",r=[];return""!==e&&e.replace(/[^a-zA-Z]/g,"").length<=500&&(e.split(",").forEach((function(e){""!==(e=e.trim())&&(e=e.split("+").map((function(e){return"(?=.*"+(e=e.trim())+")"})),r.push(e.join("")))})),t="^"+(t=r.join("|"))+".*$",t=new RegExp(t,"i")),t};function D(e){return(D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function I(){return(I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(this,arguments)}function U(e,t,r,a,n,o,s){try{var i=e[o](s),l=i.value}catch(e){return void r(e)}i.done?t(l):Promise.resolve(l).then(a,n)}function M(e){return function(){var t=this,r=arguments;return new Promise((function(a,n){var o=e.apply(t,r);function s(e){U(o,a,n,s,i,"next",e)}function i(e){U(o,a,n,s,i,"throw",e)}s(void 0)}))}}function B(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function H(e,t){return(H=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=q(e);if(t){var n=q(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return Y(this,r)}}function Y(e,t){return!t||"object"!==D(t)&&"function"!=typeof t?V(e):t}function V(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q(e){return(q=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var W=wp.i18n.__,X=wp,Q=(X.apiFetch,X.apiRequest),Z=wp.element,G=Z.Component,J=(Z.Fragment,wp.components),ee=J.ExternalLink,te=J.Placeholder,re=J.TextControl,ae=J.Button,ne=J.Spinner,oe=(wp.date.date,function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&H(e,t)}(l,e);var t,r,a,n,s,i=$(l);function l(){var e;return B(this,l),(e=i.apply(this,arguments)).loadFeed=e.loadFeed.bind(V(e)),e.loadCategories=e.loadCategories.bind(V(e)),e.metaExists=e.metaExists.bind(V(e)),e.multipleMetaExists=e.multipleMetaExists.bind(V(e)),e.getImageURL=e.getImageURL.bind(V(e)),e.getValidateURL=e.getValidateURL.bind(V(e)),e.onChangeFeed=e.onChangeFeed.bind(V(e)),e.onChangeMax=e.onChangeMax.bind(V(e)),e.onChangeOffset=e.onChangeOffset.bind(V(e)),e.onToggleFeedTitle=e.onToggleFeedTitle.bind(V(e)),e.onRefresh=e.onRefresh.bind(V(e)),e.onSort=e.onSort.bind(V(e)),e.onTarget=e.onTarget.bind(V(e)),e.onTitle=e.onTitle.bind(V(e)),e.onChangeMeta=e.onChangeMeta.bind(V(e)),e.onChangeMultipleMeta=e.onChangeMultipleMeta.bind(V(e)),e.onToggleSummary=e.onToggleSummary.bind(V(e)),e.onToggleLazy=e.onToggleLazy.bind(V(e)),e.onSummaryLength=e.onSummaryLength.bind(V(e)),e.onKeywordsTitle=e.onKeywordsTitle.bind(V(e)),e.onKeywordsBan=e.onKeywordsBan.bind(V(e)),e.onThumb=e.onThumb.bind(V(e)),e.onDefault=e.onDefault.bind(V(e)),e.onSize=e.onSize.bind(V(e)),e.onHTTP=e.onHTTP.bind(V(e)),e.onReferralURL=e.onReferralURL.bind(V(e)),e.onColumns=e.onColumns.bind(V(e)),e.onTemplate=e.onTemplate.bind(V(e)),e.onTogglePrice=e.onTogglePrice.bind(V(e)),e.onKeywordsIncludeOn=e.onKeywordsIncludeOn.bind(V(e)),e.onKeywordsExcludeOn=e.onKeywordsExcludeOn.bind(V(e)),e.onFromDateTime=e.onFromDateTime.bind(V(e)),e.onToDateTime=e.onToDateTime.bind(V(e)),e.feedzyCategoriesList=e.feedzyCategoriesList.bind(V(e)),e.state={route:e.props.attributes.route,loading:!1,error:!1},e}return t=l,(r=[{key:"componentDidMount",value:(s=M(regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.loadFeed(),void 0===this.props.attributes.categories&&(this.props.attributes.meta||this.props.setAttributes({meta:!0,metafields:"no"}),setTimeout((function(){t.loadCategories()})));case 2:case"end":return e.stop()}}),e,this)}))),function(){return s.apply(this,arguments)})},{key:"componentDidUpdate",value:(n=M(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:"reload"===this.state.route&&this.loadFeed();case 1:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"loadFeed",value:function(){var e=this,t=this.props.attributes.feeds;if(void 0!==t){if(function(e,t){if(void 0===t)return!1;for(var r=!1,a=0;a<t.length;a++)if(t[a]===e){r=!0;break}return r}(t,this.props.attributes.categories)){var r=t;t=o.a.stringify({category:r},{arrayFormat:"bracket"})}else t=t.replace(/\s/g,"").split(",").filter((function(e){return""!==e})),t=o.a.stringify({url:t},{arrayFormat:"bracket"});this.setState({route:"home",loading:!0}),Q({path:"/feedzy/v1/feed?".concat(t),method:"POST",data:this.props.attributes}).then((function(t){return e.unmounting?t:t.error?(e.setState({route:"home",loading:!1,error:!0}),t):(e.props.setAttributes({feedData:t}),e.setState({route:"fetched",loading:!1}),t)})).fail((function(t){return e.setState({route:"home",loading:!1,error:!0}),t}))}}},{key:"loadCategories",value:function(){var e=this;Q({path:"/wp/v2/feedzy_categories?per_page=100"}).then((function(t){if(e.unmounting)return t;var r=0,a=[];t.forEach((function(e){a[r]=e.slug,r+=1}));var n=e;n.props.setAttributes({categories:a}),jQuery(".feedzy-source input").autocomplete({classes:{"ui-autocomplete":"feedzy-ui-autocomplete"},source:a,minLength:0,select:function(e,t){n.props.setAttributes({feeds:t.item.label})}})})).fail((function(e){return e}))}},{key:"metaExists",value:function(e){return 0<=this.props.attributes.metafields.replace(/\s/g,"").split(",").indexOf(e)||""===this.props.attributes.metafields}},{key:"multipleMetaExists",value:function(e){return 0<=this.props.attributes.multiple_meta.replace(/\s/g,"").split(",").indexOf(e)||""===this.props.attributes.multiple_meta}},{key:"getImageURL",value:function(e,t){var r=e.thumbnail?e.thumbnail:this.props.attributes.default?this.props.attributes.default.url:feedzyjs.imagepath+"feedzy.svg";switch(this.props.attributes.http){case"default":-1===r.indexOf("https")&&0===r.indexOf("http")&&(r=this.props.attributes.default?this.props.attributes.default.url:feedzyjs.imagepath+"feedzy.svg");break;case"https":r=r.replace(/http:/g,"https:")}return t&&(r="url("+r+")"),r}},{key:"onChangeFeed",value:function(e){this.props.setAttributes({feeds:e})}},{key:"onChangeMax",value:function(e){this.props.setAttributes({max:e?Number(e):5})}},{key:"onChangeOffset",value:function(e){this.props.setAttributes({offset:Number(e)})}},{key:"onToggleFeedTitle",value:function(e){this.props.setAttributes({feed_title:!this.props.attributes.feed_title})}},{key:"onRefresh",value:function(e){this.props.setAttributes({refresh:e})}},{key:"onSort",value:function(e){this.props.setAttributes({sort:e})}},{key:"onTarget",value:function(e){this.props.setAttributes({target:e})}},{key:"onTitle",value:function(e){""!==e&&(e=Number(e))<0&&(e=0),this.props.setAttributes({title:e})}},{key:"onChangeMeta",value:function(e){this.props.setAttributes({metafields:e})}},{key:"onChangeMultipleMeta",value:function(e){this.props.setAttributes({multiple_meta:e})}},{key:"onToggleSummary",value:function(e){this.props.setAttributes({summary:!this.props.attributes.summary})}},{key:"onToggleLazy",value:function(e){this.props.setAttributes({lazy:!this.props.attributes.lazy})}},{key:"onSummaryLength",value:function(e){this.props.setAttributes({summarylength:Number(e)})}},{key:"onKeywordsTitle",value:function(e){this.props.setAttributes({keywords_title:e})}},{key:"onKeywordsBan",value:function(e){this.props.setAttributes({keywords_ban:e})}},{key:"onThumb",value:function(e){this.props.setAttributes({thumb:e})}},{key:"onDefault",value:function(e){this.props.setAttributes({default:e}),this.setState({route:"reload"})}},{key:"onSize",value:function(e){this.props.setAttributes({size:e?Number(e):150})}},{key:"onHTTP",value:function(e){this.props.setAttributes({http:e}),this.setState({route:"reload"})}},{key:"onReferralURL",value:function(e){this.props.setAttributes({referral_url:e})}},{key:"onColumns",value:function(e){this.props.setAttributes({columns:e})}},{key:"onTemplate",value:function(e){this.props.setAttributes({template:e})}},{key:"onTogglePrice",value:function(e){this.props.setAttributes({price:!this.props.attributes.price})}},{key:"onKeywordsIncludeOn",value:function(e){this.props.setAttributes({keywords_inc_on:e})}},{key:"onKeywordsExcludeOn",value:function(e){this.props.setAttributes({keywords_exc_on:e})}},{key:"onFromDateTime",value:function(e){this.props.setAttributes({from_datetime:e})}},{key:"onToDateTime",value:function(e){this.props.setAttributes({to_datetime:e})}},{key:"feedzyCategoriesList",value:function(e){jQuery(".feedzy-source input").autocomplete("search","")}},{key:"getValidateURL",value:function(){var e="https://validator.w3.org/feed/";return this.props.attributes.feeds&&(e+="check.cgi?url="+this.props.attributes.feeds),e}},{key:"render",value:function(){var e,t,r,a,n,o,s,i,l,u,p=this;return["fetched"===this.state.route&&wp.element.createElement(A,I({edit:this,state:this.state},this.props)),"home"===this.state.route&&wp.element.createElement("div",{className:this.props.className},wp.element.createElement(te,{key:"placeholder",icon:"rss",label:W("Feedzy RSS Feeds")},this.state.loading?wp.element.createElement("div",{key:"loading",className:"wp-block-embed is-loading"},wp.element.createElement(ne,null),wp.element.createElement("p",null,W("Fetching..."))):[wp.element.createElement("div",{className:"feedzy-source-wrap"},wp.element.createElement(re,{type:"url",className:"feedzy-source",placeholder:W("Enter URL or category of your feed here..."),onChange:this.onChangeFeed,value:this.props.attributes.feeds}),wp.element.createElement("span",{className:"dashicons dashicons-arrow-down-alt2",onClick:this.feedzyCategoriesList})),wp.element.createElement(ae,{isLarge:!0,isPrimary:!0,type:"submit",onClick:this.loadFeed},W("Load Feed")),wp.element.createElement(ee,{href:this.getValidateURL(),title:W("Validate Feed ")},W("Validate ")),this.state.error&&wp.element.createElement("div",null,W("Feed URL is invalid. Invalid feeds will NOT display items.")),wp.element.createElement("p",null,W("Enter the full URL of the feed source you wish to display here, or the name of a category you've created. Also you can add multiple URLs just separate them with a comma. You can manage your categories feed from")," ",wp.element.createElement("a",{href:"edit.php?post_type=feedzy_categories",title:W("feedzy categories "),target:"_blank"},W("here ")))])),!("fetched"!==this.state.route||void 0===this.props.attributes.feedData)&&wp.element.createElement("div",{className:"feedzy-rss"},this.props.attributes.feed_title&&null!==this.props.attributes.feedData.channel&&wp.element.createElement("div",{className:"rss_header"},wp.element.createElement("h2",null,wp.element.createElement("a",{className:"rss_title"},L(this.props.attributes.feedData.channel.title)),wp.element.createElement("span",{className:"rss_description"}," "+L(this.props.attributes.feedData.channel.description)))),wp.element.createElement("ul",{className:"feedzy-".concat(this.props.attributes.template)},(e=this.props.attributes.feedData.items,t=this.props.attributes.sort,r=P(this.props.attributes.keywords_title),a=P(this.props.attributes.keywords_ban),n=this.props.attributes.max,o=this.props.attributes.offset,s=this.props.attributes.keywords_inc_on,i=this.props.attributes.keywords_exc_on,l=this.props.attributes.from_datetime,u=this.props.attributes.to_datetime,s="author"===s?"creator":s,i="author"===i?"creator":i,l=""!==l&&void 0!==l&&moment(l).format("X"),u=""!==u&&void 0!==u&&moment(u).format("X"),e=Array.from(e).sort((function(e,r){var a,n;return"date_desc"===t||"date_asc"===t?(a=e.pubDate,n=r.pubDate):"title_desc"!==t&&"title_asc"!==t||(a=e.title.toUpperCase(),n=r.title.toUpperCase()),a<n?"date_desc"===t||"title_desc"===t?1:-1:a>n?"date_desc"===t||"title_desc"===t?-1:1:0})).filter((function(e){return!r||r.test(e[s])})).filter((function(e){return!a||!a.test(e[i])})).filter((function(e){var t=e.date+" "+e.time;return t=moment(new Date(t)).format("X"),!l||!u||l<=t&&t<=u})).slice(o,n+o)).map((function(e,t){var r=(e.date||"")+" "+(e.time||"")+" UTC +0000",a=L(e.date)||"",n=L(e.time)||"",o=L(e.categories)||"";if(p.metaExists("tz=local")){var s=new Date(r);s=s.toUTCString(),a=moment.utc(s).format("MMMM D, YYYY"),n=moment.utc(s).format("h:mm A")}var i=e.creator&&p.metaExists("author")?e.creator:"";""!==p.props.attributes.multiple_meta&&"no"!==p.props.attributes.multiple_meta&&((p.multipleMetaExists("source")||p.multipleMetaExists("yes"))&&""!==i&&""!==e.source?i=i+" ("+e.source+")":(p.multipleMetaExists("source")||p.multipleMetaExists("yes"))&&""!==e.source&&(i=e.source)),""===e.thumbnail&&"auto"===p.props.attributes.thumb&&(e.thumbnail=e.default_img);var l=new Object;return l.author=W("by")+" "+i,l.date=W("on")+" "+L(a),l.time=W("at")+" "+L(n),l.categories=W("in")+" "+L(o),wp.element.createElement("li",{key:t,style:{padding:"15px 0 25px"},className:"rss_item feedzy-rss-col-".concat(p.props.attributes.columns)},(e.thumbnail&&"auto"===p.props.attributes.thumb||"yes"===p.props.attributes.thumb)&&wp.element.createElement("div",{className:"rss_image",style:{width:p.props.attributes.size+"px",height:p.props.attributes.size+"px"}},wp.element.createElement("a",{title:L(e.title),style:{width:p.props.attributes.size+"px",height:p.props.attributes.size+"px"}},wp.element.createElement("span",{className:"fetched",style:{width:p.props.attributes.size+"px",height:p.props.attributes.size+"px",backgroundImage:p.getImageURL(e,!0)},title:L(e.title)}))),wp.element.createElement("div",{className:"rss_content_wrap"},0!==p.props.attributes.title?wp.element.createElement("span",{className:"title"},wp.element.createElement("a",null,p.props.attributes.title&&L(e.title).length>p.props.attributes.title?L(e.title).substring(0,p.props.attributes.title)+"...":L(e.title))):"",wp.element.createElement("div",{className:"rss_content"},"no"!==p.props.attributes.metafields&&wp.element.createElement("small",{className:"meta"},function(e,t){var r="";""===t&&(t="author, date, time");for(var a=t.replace(/\s/g,"").split(","),n=0;n<a.length;n++)void 0!==e[a[n]]&&(r=r+" "+e[a[n]]);return r}(l,p.props.attributes.metafields)),p.props.attributes.summary&&wp.element.createElement("p",{className:"description"},p.props.attributes.summarylength&&L(e.description).length>p.props.attributes.summarylength?L(e.description).substring(0,p.props.attributes.summarylength)+" [...]":L(e.description)),feedzyjs.isPro&&e.media&&e.media.src&&wp.element.createElement("audio",{controls:!0,controlsList:"nodownload"},wp.element.createElement("source",{src:e.media.src,type:e.media.type}),W("Your browser does not support the audio element. But you can check this for the original link: "),wp.element.createElement("a",{href:e.media.src},e.media.src)),feedzyjs.isPro&&p.props.attributes.price&&e.price&&"default"!==p.props.attributes.template&&wp.element.createElement("div",{className:"price-wrap"},wp.element.createElement("a",null,wp.element.createElement("button",{className:"price"},e.price))))))}))))]}}])&&K(t.prototype,r),a&&K(t,a),l}(G)),se=wp.i18n.__,ie=wp.blocks.registerBlockType;t.default=ie("feedzy-rss-feeds/feedzy-block",{title:se("Feedzy RSS Feeds"),category:"common",icon:"rss",keywords:[se("Feedzy RSS Feeds"),se("RSS"),se("Feeds")],supports:{html:!1},attributes:a,edit:oe,save:function(){return null}})}]);
|
|
|
|
|
|
|
|
|
|
1 |
+
!function(e){var t={};function r(a){if(t[a])return t[a].exports;var n=t[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.m=e,r.c=t,r.d=function(e,t,a){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(a,n,function(t){return e[t]}.bind(null,n));return a},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=228)}({105:function(e,t,r){"use strict";const a=r(180),n=r(181),o=r(182),s=r(183);function i(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function l(e,t){return t.encode?t.strict?a(e):encodeURIComponent(e):e}function p(e,t){return t.decode?n(e):e}function u(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function c(e){const t=(e=u(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function m(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function d(e,t){i((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const r=function(e){let t;switch(e.arrayFormat){case"index":return(e,r,a)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===a[e]&&(a[e]={}),a[e][t[1]]=r):a[e]=r};case"bracket":return(e,r,a)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==a[e]?a[e]=[].concat(a[e],r):a[e]=[r]:a[e]=r};case"comma":case"separator":return(t,r,a)=>{const n="string"==typeof r&&r.includes(e.arrayFormatSeparator),o="string"==typeof r&&!n&&p(r,e).includes(e.arrayFormatSeparator);r=o?p(r,e):r;const s=n||o?r.split(e.arrayFormatSeparator).map(t=>p(t,e)):null===r?r:p(r,e);a[t]=s};case"bracket-separator":return(t,r,a)=>{const n=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!n)return void(a[t]=r?p(r,e):r);const o=null===r?[]:r.split(e.arrayFormatSeparator).map(t=>p(t,e));void 0!==a[t]?a[t]=[].concat(a[t],o):a[t]=o};default:return(e,t,r)=>{void 0!==r[e]?r[e]=[].concat(r[e],t):r[e]=t}}}(t),a=Object.create(null);if("string"!=typeof e)return a;if(!(e=e.trim().replace(/^[?#&]/,"")))return a;for(const n of e.split("&")){if(""===n)continue;let[e,s]=o(t.decode?n.replace(/\+/g," "):n,"=");s=void 0===s?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?s:p(s,t),r(p(e,t),s,a)}for(const e of Object.keys(a)){const r=a[e];if("object"==typeof r&&null!==r)for(const e of Object.keys(r))r[e]=m(r[e],t);else a[e]=m(r,t)}return!1===t.sort?a:(!0===t.sort?Object.keys(a).sort():Object.keys(a).sort(t.sort)).reduce((e,t)=>{const r=a[t];return Boolean(r)&&"object"==typeof r&&!Array.isArray(r)?e[t]=function e(t){return Array.isArray(t)?t.sort():"object"==typeof t?e(Object.keys(t)).sort((e,t)=>Number(e)-Number(t)).map(e=>t[e]):t}(r):e[t]=r,e},Object.create(null))}t.extract=c,t.parse=d,t.stringify=(e,t)=>{if(!e)return"";i((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const r=r=>t.skipNull&&null==e[r]||t.skipEmptyString&&""===e[r],a=function(e){switch(e.arrayFormat){case"index":return t=>(r,a)=>{const n=r.length;return void 0===a||e.skipNull&&null===a||e.skipEmptyString&&""===a?r:null===a?[...r,[l(t,e),"[",n,"]"].join("")]:[...r,[l(t,e),"[",l(n,e),"]=",l(a,e)].join("")]};case"bracket":return t=>(r,a)=>void 0===a||e.skipNull&&null===a||e.skipEmptyString&&""===a?r:null===a?[...r,[l(t,e),"[]"].join("")]:[...r,[l(t,e),"[]=",l(a,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return r=>(a,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?a:(n=null===n?"":n,0===a.length?[[l(r,e),t,l(n,e)].join("")]:[[a,l(n,e)].join(e.arrayFormatSeparator)])}default:return t=>(r,a)=>void 0===a||e.skipNull&&null===a||e.skipEmptyString&&""===a?r:null===a?[...r,l(t,e)]:[...r,[l(t,e),"=",l(a,e)].join("")]}}(t),n={};for(const t of Object.keys(e))r(t)||(n[t]=e[t]);const o=Object.keys(n);return!1!==t.sort&&o.sort(t.sort),o.map(r=>{const n=e[r];return void 0===n?"":null===n?l(r,t):Array.isArray(n)?0===n.length&&"bracket-separator"===t.arrayFormat?l(r,t)+"[]":n.reduce(a(r),[]).join("&"):l(r,t)+"="+l(n,t)}).filter(e=>e.length>0).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[r,a]=o(e,"#");return Object.assign({url:r.split("?")[0]||"",query:d(c(e),t)},t&&t.parseFragmentIdentifier&&a?{fragmentIdentifier:p(a,t)}:{})},t.stringifyUrl=(e,r)=>{r=Object.assign({encode:!0,strict:!0},r);const a=u(e.url).split("?")[0]||"",n=t.extract(e.url),o=t.parse(n,{sort:!1}),s=Object.assign(o,e.query);let i=t.stringify(s,r);i&&(i="?"+i);let p=function(e){let t="";const r=e.indexOf("#");return-1!==r&&(t=e.slice(r)),t}(e.url);return e.fragmentIdentifier&&(p="#"+l(e.fragmentIdentifier,r)),`${a}${i}${p}`},t.pick=(e,r,a)=>{a=Object.assign({parseFragmentIdentifier:!0},a);const{url:n,query:o,fragmentIdentifier:i}=t.parseUrl(e,a);return t.stringifyUrl({url:n,query:s(o,r),fragmentIdentifier:i},a)},t.exclude=(e,r,a)=>{const n=Array.isArray(r)?e=>!r.includes(e):(e,t)=>!r(e,t);return t.pick(e,n,a)}},180:function(e,t,r){"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,e=>"%"+e.charCodeAt(0).toString(16).toUpperCase())},181:function(e,t,r){"use strict";var a=new RegExp("%[a-f0-9]{2}","gi"),n=new RegExp("(%[a-f0-9]{2})+","gi");function o(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var r=e.slice(0,t),a=e.slice(t);return Array.prototype.concat.call([],o(r),o(a))}function s(e){try{return decodeURIComponent(e)}catch(n){for(var t=e.match(a),r=1;r<t.length;r++)t=(e=o(t,r).join("")).match(a);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},r=n.exec(e);r;){try{t[r[0]]=decodeURIComponent(r[0])}catch(e){var a=s(r[0]);a!==r[0]&&(t[r[0]]=a)}r=n.exec(e)}t["%C2"]="�";for(var o=Object.keys(t),i=0;i<o.length;i++){var l=o[i];e=e.replace(new RegExp(l,"g"),t[l])}return e}(e)}}},182:function(e,t,r){"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const r=e.indexOf(t);return-1===r?[e]:[e.slice(0,r),e.slice(r+t.length)]}},183:function(e,t,r){"use strict";e.exports=function(e,t){for(var r={},a=Object.keys(e),n=Array.isArray(t),o=0;o<a.length;o++){var s=a[o],i=e[s];(n?-1!==t.indexOf(s):t(s,i,e))&&(r[s]=i)}return r}},20:function(e,t,r){var a;
|
2 |
+
/*!
|
3 |
+
Copyright (c) 2018 Jed Watson.
|
4 |
+
Licensed under the MIT License (MIT), see
|
5 |
+
http://jedwatson.github.io/classnames
|
6 |
+
*/!function(){"use strict";var r={}.hasOwnProperty;function n(){for(var e=[],t=0;t<arguments.length;t++){var a=arguments[t];if(a){var o=typeof a;if("string"===o||"number"===o)e.push(a);else if(Array.isArray(a)){if(a.length){var s=n.apply(null,a);s&&e.push(s)}}else if("object"===o)if(a.toString===Object.prototype.toString)for(var i in a)r.call(a,i)&&a[i]&&e.push(i);else e.push(a.toString())}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):void 0===(a=function(){return n}.apply(t,[]))||(e.exports=a)}()},228:function(e,t,r){"use strict";r.r(t);var a={feeds:{type:"string"},max:{type:"number",default:5},offset:{type:"number",default:0},feed_title:{type:"boolean",default:!0},refresh:{type:"string",default:"12_hours"},sort:{type:"string",default:"default"},target:{type:"string",default:"_blank"},title:{type:"number"},meta:{type:"boolean",default:!0},lazy:{type:"boolean",default:!1},metafields:{type:"string",default:""},multiple_meta:{type:"string",default:""},summary:{type:"boolean",default:!0},summarylength:{type:"number"},keywords_title:{type:"string"},keywords_inc_on:{type:"string",default:"title"},keywords_ban:{type:"string"},keywords_exc_on:{type:"string",default:"title"},thumb:{type:"string",default:"auto"},default:{type:"object"},size:{type:"number",default:150},http:{type:"string"},referral_url:{type:"string"},columns:{type:"number",default:1},template:{type:"string",default:"default"},price:{type:"boolean",default:!0},route:{type:"string",default:"home"},feedData:{type:"object"},categories:{type:"object"},from_datetime:{type:"string"},to_datetime:{type:"string"},itemTitle:{type:"boolean",default:!0}},n=r(105),o=r.n(n),s=lodash.isEmpty,i=wp.components.BaseControl;var l=(0,wp.compose.withInstanceId)((function(e){var t=e.label,r=e.selected,a=e.help,n=e.instanceId,o=e.onChange,l=e.disabled,p=e.options,u=void 0===p?[]:p,c="inspector-radio-image-control-".concat(n),m=function(e){return o(e.target.value)};return!s(u)&&wp.element.createElement(i,{label:t,id:c,help:a,className:"components-radio-image-control feedzy-template"},wp.element.createElement("div",{className:"components-radio-image-control__container"},u.map((function(e,t){return wp.element.createElement("div",{key:"".concat(c,"-").concat(t),className:"components-radio-image-control__option"},wp.element.createElement("input",{id:"".concat(c,"-").concat(t),className:"components-radio-image-control__input",type:"radio",name:c,value:e.value,onChange:m,checked:e.value===r,"aria-describedby":a?"".concat(c,"__help"):void 0,disabled:l}),wp.element.createElement("label",{htmlFor:"".concat(c,"-").concat(t),title:e.label},wp.element.createElement("img",{src:e.src}),wp.element.createElement("span",{class:"image-clickable"})),wp.element.createElement("span",null,e.label))}))))})),p=r(20),u=r.n(p);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=b(e);if(t){var n=b(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return y(this,r)}}function y(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=wp.i18n.__,w=wp.hooks.applyFilters,v=wp.blockEditor||wp.editor,E=v.InspectorControls,k=v.MediaUpload,z=wp.element,T=z.Component,C=z.Fragment,x=wp.components,N=x.BaseControl,O=x.ExternalLink,S=x.PanelBody,j=x.RangeControl,F=x.TextControl,R=x.Button,P=x.ToggleControl,A=x.SelectControl,L=x.ResponsiveWrapper,D=x.Dashicon,I=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(o,e);var t,r,a,n=h(o);function o(){var e;return m(this,o),(e=n.apply(this,arguments)).state={tab:"content"},e}return t=o,(r=[{key:"render",value:function(){var e=this,t="",r=w("feedzy_widget_refresh_feed",[{label:g("1 Hour"),value:"1_hours"},{label:g("2 Hours"),value:"3_hours"},{label:g("12 Hours"),value:"12_hours"},{label:g("1 Day"),value:"1_days"},{label:g("3 Days"),value:"3_days"},{label:g("15 Days"),value:"15_days"}]);return"https"===this.props.attributes.http&&(t+=g("Please verify that the images exist on HTTPS.")),wp.element.createElement(C,null,wp.element.createElement(E,{key:"inspector"},wp.element.createElement(S,{className:"fz-section-header-panel"},wp.element.createElement(R,{className:u()("header-tab",{"is-selected":"content"===this.state.tab}),onClick:function(){return e.setState({tab:"content"})}},wp.element.createElement("span",null,wp.element.createElement(D,{icon:"editor-table"}),g("Content"))),wp.element.createElement(R,{className:u()("header-tab",{"is-selected":"style"===this.state.tab}),onClick:function(){return e.setState({tab:"style"})}},wp.element.createElement("span",null,wp.element.createElement(D,{icon:"admin-customizer"}),g("Style"))),wp.element.createElement(R,{className:u()("header-tab",{"is-selected":"advanced"===this.state.tab}),onClick:function(){return e.setState({tab:"advanced"})}},wp.element.createElement("span",null,wp.element.createElement(D,{icon:"admin-generic"}),g("Advanced")))),"content"===this.state.tab&&wp.element.createElement(C,null,wp.element.createElement(S,{title:g("Feed Source"),initialOpen:!0},0!==this.props.attributes.status&&[wp.element.createElement(F,{label:g("Feed Source"),className:"feedzy-source",value:this.props.attributes.feeds,onChange:this.props.edit.onChangeFeed}),wp.element.createElement(R,{isLarge:!0,isPrimary:!0,type:"submit",onClick:this.props.edit.loadFeed,className:"loadFeed"},g("Load Feed"))],"fetched"===this.props.state.route&&[wp.element.createElement(j,{label:g("Number of Items"),value:Number(this.props.attributes.max)||5,onChange:this.props.edit.onChangeMax,min:1,max:this.props.attributes.feedData.items.length||10,beforeIcon:"sort",className:"feedzy-max"}),wp.element.createElement(A,{label:g("Sorting Order"),value:this.props.attributes.sort,options:[{label:g("Default"),value:"default"},{label:g("Date Descending"),value:"date_desc"},{label:g("Date Ascending"),value:"date_asc"},{label:g("Title Descending"),value:"title_desc"},{label:g("Title Ascending"),value:"title_asc"}],onChange:this.props.edit.onSort,className:"feedzy-sort"}),wp.element.createElement(A,{label:g("Feed Caching Time"),value:this.props.attributes.refresh,options:r,onChange:this.props.edit.onRefresh,className:"feedzy-refresh"})]),wp.element.createElement(S,{title:g("Item Options"),initialOpen:!1,className:"feedzy-item-options"},wp.element.createElement(A,{label:g("Open Links In"),value:this.props.attributes.target,options:[{label:g("New Tab"),value:"_blank"},{label:g("Same Tab"),value:"_self"}],onChange:this.props.edit.onTarget}),wp.element.createElement(P,{label:g("Display item Title"),checked:!!this.props.attributes.itemTitle,onChange:this.props.edit.onToggleItemTitle,className:"feedzy-summary"}),this.props.attributes.itemTitle&&wp.element.createElement(F,{label:g("Title Character Limit"),help:g("Leave empty to show full title. A value of 0 will remove the title."),type:"number",value:this.props.attributes.title,onChange:this.props.edit.onTitle,className:"feedzy-title-length"}),wp.element.createElement(P,{label:g("Display post description?"),checked:!!this.props.attributes.summary,onChange:this.props.edit.onToggleSummary,className:"feedzy-summary"}),this.props.attributes.summary&&wp.element.createElement(F,{label:g("Description Character Limit"),help:g("Leave empty to show full description."),type:"number",value:this.props.attributes.summarylength,onChange:this.props.edit.onSummaryLength,className:"feedzy-summary-length",min:0})),wp.element.createElement(S,{title:[g("Filter items"),!feedzyjs.isPro&&wp.element.createElement("span",{className:"fz-pro-label"},"Pro")],initialOpen:!1,className:feedzyjs.isPro?"feedzy-item-filter":"feedzy-item-filter fz-locked"},!feedzyjs.isPro&&wp.element.createElement("div",{className:"fz-upsell-notice"},g("Unlock this feature and more advanced options with")," ",wp.element.createElement(O,{href:"https://themeisle.com/plugins/feedzy-rss-feeds/upgrade/"},g("Feedzy Pro"))),wp.element.createElement(F,{label:g("Only display if selected field contains:"),help:g("Use comma(,) and plus(+) keyword"),value:this.props.attributes.keywords_title,onChange:this.props.edit.onKeywordsTitle,className:"feedzy-include"}),wp.element.createElement(A,{label:g("Select a field if you want to inc keyword."),value:this.props.attributes.keywords_inc_on,options:[{label:g("Title"),value:"title"},{label:g("Author"),value:"author"},{label:g("Description"),value:"description"}],onChange:this.props.edit.onKeywordsIncludeOn}),wp.element.createElement(F,{label:g("Exclude if selected field contains:"),help:g("Use comma(,) and plus(+) keyword"),value:this.props.attributes.keywords_ban,onChange:this.props.edit.onKeywordsBan,className:"feedzy-ban"}),wp.element.createElement(A,{label:g("Select a field if you want to exc keyword."),value:this.props.attributes.keywords_exc_on,options:[{label:g("Title"),value:"title"},{label:g("Author"),value:"author"},{label:g("Description"),value:"description"}],onChange:this.props.edit.onKeywordsExcludeOn}),wp.element.createElement("p",{className:"fz-main-label"},g("Filter feed item by date range.")),wp.element.createElement(F,{type:"datetime-local",label:g("From:"),value:this.props.attributes.from_datetime,onChange:this.props.edit.onFromDateTime}),wp.element.createElement(F,{type:"datetime-local",label:g("To:"),value:this.props.attributes.to_datetime,onChange:this.props.edit.onToDateTime}))),"fetched"===this.props.state.route&&"style"===this.state.tab&&[wp.element.createElement(C,null,wp.element.createElement(S,{title:g("Item Image Options"),initialOpen:!1,className:"feedzy-image-options"},wp.element.createElement(A,{label:g("Display first image if available?"),value:this.props.attributes.thumb,options:[{label:g("Yes (without a fallback image)"),value:"auto"},{label:g("Yes (with a fallback image)"),value:"yes"},{label:g("No"),value:"no"}],onChange:this.props.edit.onThumb,className:"feedzy-thumb"}),"no"!==this.props.attributes.thumb&&["auto"!==this.props.attributes.thumb&&wp.element.createElement("div",{className:"feedzy-blocks-base-control"},wp.element.createElement("label",{className:"blocks-base-control__label",for:"inspector-media-upload"},g("Fallback image if no image is found.")),wp.element.createElement(k,{type:"image",id:"inspector-media-upload",value:this.props.attributes.default,onSelect:this.props.edit.onDefault,render:function(t){var r=t.open;return[void 0!==e.props.attributes.default&&[wp.element.createElement(L,{naturalWidth:e.props.attributes.default.width,naturalHeight:e.props.attributes.default.height},wp.element.createElement("img",{src:e.props.attributes.default.url,alt:g("Featured image")})),wp.element.createElement(R,{isLarge:!0,isSecondary:!0,onClick:function(){return e.props.setAttributes({default:void 0})},style:{marginTop:"10px"}},g("Remove Image"))],wp.element.createElement(R,{isLarge:!0,isPrimary:!0,onClick:r,style:{marginTop:"10px"},className:void 0===e.props.attributes.default&&"feedzy_image_upload"},g("Upload Image"))]}})),wp.element.createElement(F,{label:g("Thumbnails dimension."),type:"number",value:this.props.attributes.size,onChange:this.props.edit.onSize}),wp.element.createElement(A,{label:g("How should we treat HTTP images?"),value:this.props.attributes.http,options:[{label:g("Show with HTTP link"),value:"auto"},{label:g("Force HTTPS"),value:"https"},{label:g("Ignore and show the default image instead"),value:"default"}],onChange:this.props.edit.onHTTP,className:"feedzy-http",help:t})]),wp.element.createElement(S,{title:[g("Feed Layout"),!feedzyjs.isPro&&wp.element.createElement("span",{className:"fz-pro-label"},"Pro")],initialOpen:!1,className:feedzyjs.isPro?"feedzy-layout":"feedzy-layout fz-locked"},!feedzyjs.isPro&&wp.element.createElement("div",{className:"fz-upsell-notice"},g("Unlock this feature and more advanced options with")," ",wp.element.createElement(O,{href:"https://themeisle.com/plugins/feedzy-rss-feeds/upgrade/"},g("Feedzy Pro"))),wp.element.createElement(j,{label:g("Columns"),help:g("How many columns we should use to display the feed items?"),value:this.props.attributes.columns||1,onChange:this.props.edit.onColumns,min:1,max:6,beforeIcon:"sort",allowReset:!0}),wp.element.createElement(l,{label:g("Template"),selected:this.props.attributes.template,options:[{label:g("Default"),src:feedzyjs.imagepath+"feedzy-default-template.png",value:"default"},{label:g("Round"),src:feedzyjs.imagepath+"feedzy-style1-template.png",value:"style1"},{label:g("Cards"),src:feedzyjs.imagepath+"feedzy-style2-template.png",value:"style2"}],onChange:this.props.edit.onTemplate})))],"fetched"===this.props.state.route&&"advanced"===this.state.tab&&[wp.element.createElement(C,null,wp.element.createElement(S,{title:g("Feed Items Custom Options"),className:"feedzy-advanced-options",initialOpen:!1},wp.element.createElement(N,null,wp.element.createElement(F,{label:feedzyjs.isPro?g("Should we display additional meta fields out of author, date, time or categories? (comma-separated list, in order of display)."):g("Should we display additional meta fields out of author, date or time? (comma-separated list, in order of display)."),help:g('Leave empty to display all and "no" to display nothing.'),placeholder:feedzyjs.isPro?g("(eg: author, date, time, tz=local, categories)"):g("(eg: author, date, time, tz=local)"),value:this.props.attributes.metafields,onChange:this.props.edit.onChangeMeta,className:"feedzy-meta"}),wp.element.createElement(F,{label:g("When using multiple sources, should we display additional meta fields? - source (comma-separated list)."),placeholder:g("(eg: source)"),value:this.props.attributes.multiple_meta,onChange:this.props.edit.onChangeMultipleMeta,className:"feedzy-multiple-meta"}),wp.element.createElement(O,{href:"https://docs.themeisle.com/article/1089-how-to-display-author-date-or-time-from-the-feed"},g("You can find more info about available meta field values here."))),wp.element.createElement(P,{label:g("Display price if available?"),help:this.props.attributes.price&&"default"===this.props.attributes.template?g("Choose a different template for this to work."):null,checked:!!this.props.attributes.price,onChange:this.props.edit.onTogglePrice,className:feedzyjs.isPro?"feedzy-pro-price":"feedzy-pro-price fz-locked"}),null!==this.props.attributes.feedData.channel&&wp.element.createElement(P,{label:g("Display feed title?"),checked:!!this.props.attributes.feed_title,onChange:this.props.edit.onToggleFeedTitle,className:"feedzy-title"}),wp.element.createElement(j,{label:g("Ignore first N items"),value:Number(this.props.attributes.offset)||0,onChange:this.props.edit.onChangeOffset,min:0,max:this.props.attributes.feedData.items.length,beforeIcon:"sort",className:"feedzy-offset"}),wp.element.createElement(P,{label:g("Lazy load feed?"),checked:!!this.props.attributes.lazy,onChange:this.props.edit.onToggleLazy,className:"feedzy-lazy",help:g("Only on the front end.")})),wp.element.createElement(S,{title:[g("Referral URL"),!feedzyjs.isPro&&wp.element.createElement("span",{className:"fz-pro-label"},"Pro")],initialOpen:!1,className:feedzyjs.isPro?"feedzy-pro-options":"feedzy-pro-options fz-locked"},!feedzyjs.isPro&&wp.element.createElement("div",{className:"fz-upsell-notice"},g("Unlock this feature and more advanced options with")," ",wp.element.createElement(O,{href:"https://themeisle.com/plugins/feedzy-rss-feeds/upgrade/"},g("Feedzy Pro"))),wp.element.createElement(F,{label:g("Referral URL parameters."),help:g('Without ("?")'),placeholder:_("(eg. promo_code=feedzy_is_awesome)"),value:this.props.attributes.referral_url,onChange:this.props.edit.onReferralURL})))]))}}])&&d(t.prototype,r),a&&d(t,a),o}(T),U=function(e){var t=document.createElement("div");return t.innerHTML=e,void 0!==t.innerText?t.innerText:t.textContent},M=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="",r=[];return""!==e&&e.replace(/[^a-zA-Z]/g,"").length<=500&&(e.split(",").forEach((function(e){""!==(e=e.trim())&&(e=e.split("+").map((function(e){return"(?=.*"+(e=e.trim())+")"})),r.push(e.join("")))})),t="^"+(t=r.join("|"))+".*$",t=new RegExp(t,"i")),t};function B(e){return(B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function K(){return(K=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(this,arguments)}function H(e,t,r,a,n,o,s){try{var i=e[o](s),l=i.value}catch(e){return void r(e)}i.done?t(l):Promise.resolve(l).then(a,n)}function $(e){return function(){var t=this,r=arguments;return new Promise((function(a,n){var o=e.apply(t,r);function s(e){H(o,a,n,s,i,"next",e)}function i(e){H(o,a,n,s,i,"throw",e)}s(void 0)}))}}function Y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function q(e,t){return(q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function W(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=Z(e);if(t){var n=Z(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return X(this,r)}}function X(e,t){return!t||"object"!==B(t)&&"function"!=typeof t?Q(e):t}function Q(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z(e){return(Z=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var G=wp.i18n.__,J=wp,ee=(J.apiFetch,J.apiRequest),te=wp.element,re=te.Component,ae=(te.Fragment,wp.components),ne=ae.ExternalLink,oe=ae.Placeholder,se=ae.TextControl,ie=ae.Button,le=ae.Spinner,pe=(wp.date.date,function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&q(e,t)}(l,e);var t,r,a,n,s,i=W(l);function l(){var e;return Y(this,l),(e=i.apply(this,arguments)).loadFeed=e.loadFeed.bind(Q(e)),e.loadCategories=e.loadCategories.bind(Q(e)),e.metaExists=e.metaExists.bind(Q(e)),e.multipleMetaExists=e.multipleMetaExists.bind(Q(e)),e.getImageURL=e.getImageURL.bind(Q(e)),e.getValidateURL=e.getValidateURL.bind(Q(e)),e.onChangeFeed=e.onChangeFeed.bind(Q(e)),e.onChangeMax=e.onChangeMax.bind(Q(e)),e.onChangeOffset=e.onChangeOffset.bind(Q(e)),e.onToggleFeedTitle=e.onToggleFeedTitle.bind(Q(e)),e.onRefresh=e.onRefresh.bind(Q(e)),e.onSort=e.onSort.bind(Q(e)),e.onTarget=e.onTarget.bind(Q(e)),e.onTitle=e.onTitle.bind(Q(e)),e.onChangeMeta=e.onChangeMeta.bind(Q(e)),e.onChangeMultipleMeta=e.onChangeMultipleMeta.bind(Q(e)),e.onToggleSummary=e.onToggleSummary.bind(Q(e)),e.onToggleLazy=e.onToggleLazy.bind(Q(e)),e.onSummaryLength=e.onSummaryLength.bind(Q(e)),e.onKeywordsTitle=e.onKeywordsTitle.bind(Q(e)),e.onKeywordsBan=e.onKeywordsBan.bind(Q(e)),e.onThumb=e.onThumb.bind(Q(e)),e.onDefault=e.onDefault.bind(Q(e)),e.onSize=e.onSize.bind(Q(e)),e.onHTTP=e.onHTTP.bind(Q(e)),e.onReferralURL=e.onReferralURL.bind(Q(e)),e.onColumns=e.onColumns.bind(Q(e)),e.onTemplate=e.onTemplate.bind(Q(e)),e.onTogglePrice=e.onTogglePrice.bind(Q(e)),e.onKeywordsIncludeOn=e.onKeywordsIncludeOn.bind(Q(e)),e.onKeywordsExcludeOn=e.onKeywordsExcludeOn.bind(Q(e)),e.onFromDateTime=e.onFromDateTime.bind(Q(e)),e.onToDateTime=e.onToDateTime.bind(Q(e)),e.feedzyCategoriesList=e.feedzyCategoriesList.bind(Q(e)),e.onToggleItemTitle=e.onToggleItemTitle.bind(Q(e)),e.state={route:e.props.attributes.route,loading:!1,error:!1},e}return t=l,(r=[{key:"componentDidMount",value:(s=$(regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.loadFeed(),void 0===this.props.attributes.categories&&(this.props.attributes.meta||this.props.setAttributes({meta:!0,metafields:"no"}),setTimeout((function(){t.loadCategories()})));case 2:case"end":return e.stop()}}),e,this)}))),function(){return s.apply(this,arguments)})},{key:"componentDidUpdate",value:(n=$(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:"reload"===this.state.route&&this.loadFeed();case 1:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"loadFeed",value:function(){var e=this,t=this.props.attributes.feeds;if(void 0!==t){if(function(e,t){if(void 0===t)return!1;for(var r=!1,a=0;a<t.length;a++)if(t[a]===e){r=!0;break}return r}(t,this.props.attributes.categories)){var r=t;t=o.a.stringify({category:r},{arrayFormat:"bracket"})}else t=t.replace(/\s/g,"").split(",").filter((function(e){return""!==e})),t=o.a.stringify({url:t},{arrayFormat:"bracket"});this.setState({route:"home",loading:!0}),ee({path:"/feedzy/v1/feed?".concat(t),method:"POST",data:this.props.attributes}).then((function(t){return e.unmounting?t:t.error?(e.setState({route:"home",loading:!1,error:!0}),t):(e.props.setAttributes({feedData:t}),e.setState({route:"fetched",loading:!1}),t)})).fail((function(t){return e.setState({route:"home",loading:!1,error:!0}),t}))}}},{key:"loadCategories",value:function(){var e=this;ee({path:"/wp/v2/feedzy_categories?per_page=100"}).then((function(t){if(e.unmounting)return t;var r=0,a=[];t.forEach((function(e){a[r]=e.slug,r+=1}));var n=e;n.props.setAttributes({categories:a}),jQuery(".feedzy-source input").autocomplete({classes:{"ui-autocomplete":"feedzy-ui-autocomplete"},source:a,minLength:0,select:function(e,t){n.props.setAttributes({feeds:t.item.label})}})})).fail((function(e){return e}))}},{key:"metaExists",value:function(e){return 0<=this.props.attributes.metafields.replace(/\s/g,"").split(",").indexOf(e)||""===this.props.attributes.metafields}},{key:"multipleMetaExists",value:function(e){return 0<=this.props.attributes.multiple_meta.replace(/\s/g,"").split(",").indexOf(e)||""===this.props.attributes.multiple_meta}},{key:"getImageURL",value:function(e,t){var r=e.thumbnail?e.thumbnail:this.props.attributes.default?this.props.attributes.default.url:feedzyjs.imagepath+"feedzy.svg";switch(this.props.attributes.http){case"default":-1===r.indexOf("https")&&0===r.indexOf("http")&&(r=this.props.attributes.default?this.props.attributes.default.url:feedzyjs.imagepath+"feedzy.svg");break;case"https":r=r.replace(/http:/g,"https:")}return t&&(r="url("+r+")"),r}},{key:"onChangeFeed",value:function(e){this.props.setAttributes({feeds:e})}},{key:"onChangeMax",value:function(e){this.props.setAttributes({max:e?Number(e):5})}},{key:"onChangeOffset",value:function(e){this.props.setAttributes({offset:Number(e)})}},{key:"onToggleFeedTitle",value:function(e){this.props.setAttributes({feed_title:!this.props.attributes.feed_title})}},{key:"onRefresh",value:function(e){this.props.setAttributes({refresh:e})}},{key:"onSort",value:function(e){this.props.setAttributes({sort:e})}},{key:"onTarget",value:function(e){this.props.setAttributes({target:e})}},{key:"onTitle",value:function(e){""!==e&&(e=Number(e))<0&&(e=0),this.props.setAttributes({title:e})}},{key:"onChangeMeta",value:function(e){this.props.setAttributes({metafields:e})}},{key:"onChangeMultipleMeta",value:function(e){this.props.setAttributes({multiple_meta:e})}},{key:"onToggleSummary",value:function(e){this.props.setAttributes({summary:!this.props.attributes.summary})}},{key:"onToggleLazy",value:function(e){this.props.setAttributes({lazy:!this.props.attributes.lazy})}},{key:"onSummaryLength",value:function(e){this.props.setAttributes({summarylength:Number(e)})}},{key:"onKeywordsTitle",value:function(e){this.props.setAttributes({keywords_title:e})}},{key:"onKeywordsBan",value:function(e){this.props.setAttributes({keywords_ban:e})}},{key:"onThumb",value:function(e){this.props.setAttributes({thumb:e})}},{key:"onDefault",value:function(e){this.props.setAttributes({default:e}),this.setState({route:"reload"})}},{key:"onSize",value:function(e){this.props.setAttributes({size:e?Number(e):150})}},{key:"onHTTP",value:function(e){this.props.setAttributes({http:e}),this.setState({route:"reload"})}},{key:"onReferralURL",value:function(e){this.props.setAttributes({referral_url:e})}},{key:"onColumns",value:function(e){this.props.setAttributes({columns:e})}},{key:"onTemplate",value:function(e){this.props.setAttributes({template:e})}},{key:"onTogglePrice",value:function(e){this.props.setAttributes({price:!this.props.attributes.price})}},{key:"onKeywordsIncludeOn",value:function(e){this.props.setAttributes({keywords_inc_on:e})}},{key:"onKeywordsExcludeOn",value:function(e){this.props.setAttributes({keywords_exc_on:e})}},{key:"onFromDateTime",value:function(e){this.props.setAttributes({from_datetime:e})}},{key:"onToDateTime",value:function(e){this.props.setAttributes({to_datetime:e})}},{key:"feedzyCategoriesList",value:function(e){jQuery(".feedzy-source input").autocomplete("search","")}},{key:"getValidateURL",value:function(){var e="https://validator.w3.org/feed/";return this.props.attributes.feeds&&(e+="check.cgi?url="+this.props.attributes.feeds),e}},{key:"onToggleItemTitle",value:function(e){this.props.setAttributes({itemTitle:!this.props.attributes.itemTitle})}},{key:"render",value:function(){var e,t,r,a,n,o,s,i,l,p,u=this;return["fetched"===this.state.route&&wp.element.createElement(I,K({edit:this,state:this.state},this.props)),"home"===this.state.route&&wp.element.createElement("div",{className:this.props.className},wp.element.createElement(oe,{key:"placeholder",icon:"rss",label:G("Feedzy RSS Feeds")},this.state.loading?wp.element.createElement("div",{key:"loading",className:"wp-block-embed is-loading"},wp.element.createElement(le,null),wp.element.createElement("p",null,G("Fetching..."))):[wp.element.createElement("div",{className:"feedzy-source-wrap"},wp.element.createElement(se,{type:"url",className:"feedzy-source",placeholder:G("Enter URL or category of your feed here..."),onChange:this.onChangeFeed,value:this.props.attributes.feeds}),wp.element.createElement("span",{className:"dashicons dashicons-arrow-down-alt2",onClick:this.feedzyCategoriesList})),wp.element.createElement(ie,{isLarge:!0,isPrimary:!0,type:"submit",onClick:this.loadFeed},G("Load Feed")),wp.element.createElement(ne,{href:this.getValidateURL(),title:G("Validate Feed ")},G("Validate ")),this.state.error&&wp.element.createElement("div",null,G("Feed URL is invalid. Invalid feeds will NOT display items.")),wp.element.createElement("p",null,G("Enter the full URL of the feed source you wish to display here, or the name of a category you've created. Also you can add multiple URLs just separate them with a comma. You can manage your categories feed from")," ",wp.element.createElement("a",{href:"edit.php?post_type=feedzy_categories",title:G("feedzy categories "),target:"_blank"},G("here ")))])),!("fetched"!==this.state.route||void 0===this.props.attributes.feedData)&&wp.element.createElement("div",{className:"feedzy-rss"},this.props.attributes.feed_title&&null!==this.props.attributes.feedData.channel&&wp.element.createElement("div",{className:"rss_header"},wp.element.createElement("h2",null,wp.element.createElement("a",{className:"rss_title"},U(this.props.attributes.feedData.channel.title)),wp.element.createElement("span",{className:"rss_description"}," "+U(this.props.attributes.feedData.channel.description)))),wp.element.createElement("ul",{className:"feedzy-".concat(this.props.attributes.template)},(e=this.props.attributes.feedData.items,t=this.props.attributes.sort,r=M(this.props.attributes.keywords_title),a=M(this.props.attributes.keywords_ban),n=this.props.attributes.max,o=this.props.attributes.offset,s=this.props.attributes.keywords_inc_on,i=this.props.attributes.keywords_exc_on,l=this.props.attributes.from_datetime,p=this.props.attributes.to_datetime,s="author"===s?"creator":s,i="author"===i?"creator":i,l=""!==l&&void 0!==l&&moment(l).format("X"),p=""!==p&&void 0!==p&&moment(p).format("X"),e=Array.from(e).sort((function(e,r){var a,n;return"date_desc"===t||"date_asc"===t?(a=e.pubDate,n=r.pubDate):"title_desc"!==t&&"title_asc"!==t||(a=e.title.toUpperCase(),n=r.title.toUpperCase()),a<n?"date_desc"===t||"title_desc"===t?1:-1:a>n?"date_desc"===t||"title_desc"===t?-1:1:0})).filter((function(e){return!r||r.test(e[s])})).filter((function(e){return!a||!a.test(e[i])})).filter((function(e){var t=e.date+" "+e.time;return t=moment(new Date(t)).format("X"),!l||!p||l<=t&&t<=p})).slice(o,n+o)).map((function(e,t){var r=(e.date||"")+" "+(e.time||"")+" UTC +0000",a=U(e.date)||"",n=U(e.time)||"",o=U(e.categories)||"";if(u.metaExists("tz=local")){var s=new Date(r);s=s.toUTCString(),a=moment.utc(s).format("MMMM D, YYYY"),n=moment.utc(s).format("h:mm A")}var i=e.creator&&u.metaExists("author")?e.creator:"";""!==u.props.attributes.multiple_meta&&"no"!==u.props.attributes.multiple_meta&&((u.multipleMetaExists("source")||u.multipleMetaExists("yes"))&&""!==i&&""!==e.source?i=i+" ("+e.source+")":(u.multipleMetaExists("source")||u.multipleMetaExists("yes"))&&""!==e.source&&(i=e.source)),""===e.thumbnail&&"auto"===u.props.attributes.thumb&&(e.thumbnail=e.default_img);var l=new Object;return l.author=G("by")+" "+i,l.date=G("on")+" "+U(a),l.time=G("at")+" "+U(n),l.categories=G("in")+" "+U(o),wp.element.createElement("li",{key:t,style:{padding:"15px 0 25px"},className:"rss_item feedzy-rss-col-".concat(u.props.attributes.columns)},(e.thumbnail&&"auto"===u.props.attributes.thumb||"yes"===u.props.attributes.thumb)&&wp.element.createElement("div",{className:"rss_image",style:{width:u.props.attributes.size+"px",height:u.props.attributes.size+"px"}},wp.element.createElement("a",{title:U(e.title),style:{width:u.props.attributes.size+"px",height:u.props.attributes.size+"px"}},wp.element.createElement("span",{className:"fetched",style:{width:u.props.attributes.size+"px",height:u.props.attributes.size+"px",backgroundImage:u.getImageURL(e,!0)},title:U(e.title)}))),wp.element.createElement("div",{className:"rss_content_wrap"},u.props.attributes.itemTitle&&0!==u.props.attributes.title?wp.element.createElement("span",{className:"title"},wp.element.createElement("a",null,u.props.attributes.title&&U(e.title).length>u.props.attributes.title?U(e.title).substring(0,u.props.attributes.title)+"...":U(e.title))):"",wp.element.createElement("div",{className:"rss_content"},"no"!==u.props.attributes.metafields&&wp.element.createElement("small",{className:"meta"},function(e,t){var r="";""===t&&(t="author, date, time");for(var a=t.replace(/\s/g,"").split(","),n=0;n<a.length;n++)void 0!==e[a[n]]&&(r=r+" "+e[a[n]]);return r}(l,u.props.attributes.metafields)),u.props.attributes.summary&&wp.element.createElement("p",{className:"description"},u.props.attributes.summarylength&&U(e.description).length>u.props.attributes.summarylength?U(e.description).substring(0,u.props.attributes.summarylength)+" [...]":U(e.description)),feedzyjs.isPro&&e.media&&e.media.src&&wp.element.createElement("audio",{controls:!0,controlsList:"nodownload"},wp.element.createElement("source",{src:e.media.src,type:e.media.type}),G("Your browser does not support the audio element. But you can check this for the original link: "),wp.element.createElement("a",{href:e.media.src},e.media.src)),feedzyjs.isPro&&u.props.attributes.price&&e.price&&"default"!==u.props.attributes.template&&wp.element.createElement("div",{className:"price-wrap"},wp.element.createElement("a",null,wp.element.createElement("button",{className:"price"},e.price))))))}))))]}}])&&V(t.prototype,r),a&&V(t,a),l}(re)),ue=wp.i18n.__,ce=wp.blocks.registerBlockType;t.default=ce("feedzy-rss-feeds/feedzy-block",{title:ue("Feedzy RSS Feeds"),category:"common",icon:"rss",keywords:[ue("Feedzy RSS Feeds"),ue("RSS"),ue("Feeds")],supports:{html:!1},attributes:a,edit:pe,save:function(){return null}})}});
|
includes/gutenberg/feedzy-rss-feeds-gutenberg-block.php
CHANGED
@@ -190,6 +190,10 @@ class Feedzy_Rss_Feeds_Gutenberg_Block {
|
|
190 |
'to_datetime' => array(
|
191 |
'type' => 'string',
|
192 |
),
|
|
|
|
|
|
|
|
|
193 |
),
|
194 |
)
|
195 |
);
|
@@ -224,6 +228,9 @@ class Feedzy_Rss_Feeds_Gutenberg_Block {
|
|
224 |
if ( ! empty( $attr['sort'] ) && 'default' === $attr['sort'] ) {
|
225 |
unset( $attr['sort'] );
|
226 |
}
|
|
|
|
|
|
|
227 |
$params = wp_parse_args( $attr );
|
228 |
return feedzy_rss( $params );
|
229 |
}
|
@@ -259,6 +266,12 @@ class Feedzy_Rss_Feeds_Gutenberg_Block {
|
|
259 |
public function feedzy_rest_route( $data ) {
|
260 |
|
261 |
$feed = $data;
|
|
|
|
|
|
|
|
|
|
|
|
|
262 |
if ( ! empty( $data['url'] ) ) {
|
263 |
$feed = $data['url'];
|
264 |
} elseif ( ! empty( $data['category'] ) ) {
|
190 |
'to_datetime' => array(
|
191 |
'type' => 'string',
|
192 |
),
|
193 |
+
'itemTitle' => array(
|
194 |
+
'type' => 'boolean',
|
195 |
+
'default' => true,
|
196 |
+
),
|
197 |
),
|
198 |
)
|
199 |
);
|
228 |
if ( ! empty( $attr['sort'] ) && 'default' === $attr['sort'] ) {
|
229 |
unset( $attr['sort'] );
|
230 |
}
|
231 |
+
if ( empty( $attr['itemTitle'] ) ) {
|
232 |
+
$attr['title'] = 0;
|
233 |
+
}
|
234 |
$params = wp_parse_args( $attr );
|
235 |
return feedzy_rss( $params );
|
236 |
}
|
266 |
public function feedzy_rest_route( $data ) {
|
267 |
|
268 |
$feed = $data;
|
269 |
+
if ( isset( $data['feeds'] ) ) {
|
270 |
+
$feed_category = $this->feedzy_sanitize_categories( $data['feeds'] );
|
271 |
+
if ( $feed_category ) {
|
272 |
+
$data['url'] = $feed_category;
|
273 |
+
}
|
274 |
+
}
|
275 |
if ( ! empty( $data['url'] ) ) {
|
276 |
$feed = $data['url'];
|
277 |
} elseif ( ! empty( $data['category'] ) ) {
|
includes/layouts/feedzy-documentation.php
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!--
|
2 |
+
Layout For Document Page of Feedzy RSS Feeds
|
3 |
+
|
4 |
+
@since 3.0.12
|
5 |
+
@package feedzy-rss-feeds
|
6 |
+
-->
|
7 |
+
|
8 |
+
<?php
|
9 |
+
$is_pro = feedzy_is_pro();
|
10 |
+
?>
|
11 |
+
|
12 |
+
<div class="fz-document-list">
|
13 |
+
<ul>
|
14 |
+
<li>
|
15 |
+
<div class="fz-document-box">
|
16 |
+
<div class="fz-document-box-img">
|
17 |
+
<img src="<?php echo esc_url( FEEDZY_ABSURL . 'img/feed-to-post.jpg' ); ?>" alt="">
|
18 |
+
</div>
|
19 |
+
<div class="fz-document-box-content">
|
20 |
+
<h3 class="h3">Feed to Post</h3>
|
21 |
+
<p>Learn how to convert feed items into Posts, Pages, or any custom post type.</p>
|
22 |
+
<div class="cta">
|
23 |
+
<a href="https://docs.themeisle.com/article/1154-how-to-use-feed-to-post-feature-in-feedzy" class="btn btn-outline-primary" target="_blank">Learn more</a>
|
24 |
+
</div>
|
25 |
+
</div>
|
26 |
+
</div>
|
27 |
+
</li>
|
28 |
+
<li>
|
29 |
+
<div class="fz-document-box">
|
30 |
+
<div class="fz-document-box-img">
|
31 |
+
<img src="<?php echo esc_url( FEEDZY_ABSURL . 'img/shortcode.jpg' ); ?>" alt="">
|
32 |
+
</div>
|
33 |
+
<div class="fz-document-box-content">
|
34 |
+
<h3 class="h3">Shortcode</h3>
|
35 |
+
<p>Learn how to display feed items using the [feedzy-rss] shortcode in a few easy steps.</p>
|
36 |
+
<div class="cta">
|
37 |
+
<a href="https://docs.themeisle.com/article/1130-how-to-use-feedzy-with-a-shortcode" class="btn btn-outline-primary" target="_blank">Learn more</a>
|
38 |
+
</div>
|
39 |
+
</div>
|
40 |
+
</div>
|
41 |
+
</li>
|
42 |
+
<li>
|
43 |
+
<div class="fz-document-box">
|
44 |
+
<div class="fz-document-box-img">
|
45 |
+
<img src="<?php echo esc_url( FEEDZY_ABSURL . 'img/rephrase-feeds-content.jpg' ); ?>" alt="">
|
46 |
+
</div>
|
47 |
+
<div class="fz-document-box-content">
|
48 |
+
<h3 class="h3">Rephrase Feeds content</h3>
|
49 |
+
<p>Learn how to use WordAi and SpinnerChief to rephrase RSS feeds content.</p>
|
50 |
+
<div class="cta">
|
51 |
+
<a href="https://docs.themeisle.com/article/746-how-to-use-wordai-to-rephrase-rss-content-in-feedzy" class="btn btn-outline-primary" target="_blank">Learn more</a>
|
52 |
+
</div>
|
53 |
+
</div>
|
54 |
+
</div>
|
55 |
+
</li>
|
56 |
+
<li>
|
57 |
+
<div class="fz-document-box">
|
58 |
+
<div class="fz-document-box-img">
|
59 |
+
<img src="<?php echo esc_url( FEEDZY_ABSURL . 'img/validate-RSS-feed.jpg' ); ?>" alt="">
|
60 |
+
</div>
|
61 |
+
<div class="fz-document-box-content">
|
62 |
+
<h3 class="h3">How to validate a RSS feed </h3>
|
63 |
+
<p>Learn how to check if a RSS feed is valid or not in Feedzy.</p>
|
64 |
+
<div class="cta">
|
65 |
+
<a href="https://docs.themeisle.com/article/716-feedzy-how-to-check-whether-the-rss-feed-is-valid-or-not" class="btn btn-outline-primary" target="_blank">Learn more</a>
|
66 |
+
</div>
|
67 |
+
</div>
|
68 |
+
</div>
|
69 |
+
</li>
|
70 |
+
<li>
|
71 |
+
<div class="fz-document-box">
|
72 |
+
<div class="fz-document-box-img">
|
73 |
+
<img src="<?php echo esc_url( FEEDZY_ABSURL . 'img/feedzy-demo.jpg' ); ?>" alt="">
|
74 |
+
</div>
|
75 |
+
<div class="fz-document-box-content">
|
76 |
+
<h3 class="h3">Feedzy Demo</h3>
|
77 |
+
<p>See how Feedzy can integrate with your website by browsing our examples.</p>
|
78 |
+
<div class="cta">
|
79 |
+
<a href="https://demo.themeisle.com/feedzy-rss-feeds/" class="btn btn-outline-primary" target="_blank">Learn more</a>
|
80 |
+
</div>
|
81 |
+
</div>
|
82 |
+
</div>
|
83 |
+
</li>
|
84 |
+
<li>
|
85 |
+
<div class="fz-document-box">
|
86 |
+
<div class="fz-document-box-img">
|
87 |
+
<img src="<?php echo esc_url( FEEDZY_ABSURL . 'img/in-feedzy.jpg' ); ?>" alt="">
|
88 |
+
</div>
|
89 |
+
<div class="fz-document-box-content">
|
90 |
+
<h3 class="h3">In Feedzy how do I...</h3>
|
91 |
+
<p>Learn some of the most popular hooks you can use with the Feedzy plugin.</p>
|
92 |
+
<div class="cta">
|
93 |
+
<a href="https://docs.themeisle.com/article/942-in-feedzy-how-do-i" class="btn btn-outline-primary" target="_blank">Learn more</a>
|
94 |
+
</div>
|
95 |
+
</div>
|
96 |
+
</div>
|
97 |
+
</li>
|
98 |
+
</ul>
|
99 |
+
<div class="cta">
|
100 |
+
<a href="https://docs.themeisle.com/category/712-feedzy" class="btn btn-ghost" target="blank">Open Feedzy Documentation page</a>
|
101 |
+
</div>
|
102 |
+
</div>
|
includes/layouts/feedzy-improve.php
CHANGED
@@ -1,13 +1,17 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
|
|
|
|
|
|
7 |
<p>If your feedback is especially helpful and we choose to do an interview with you to discuss your suggestions, you will even gain a yearly membership for free for your trouble.</p>
|
8 |
-
|
|
|
|
|
9 |
</div>
|
10 |
-
|
11 |
-
</div>
|
12 |
</div>
|
13 |
-
|
1 |
+
<div class="fz-help-improve-wrap">
|
2 |
+
<div class="fz-help-improve-box">
|
3 |
+
<div class="right">
|
4 |
+
<img src="<?php echo esc_url( FEEDZY_ABSURL . 'img/improve-feedzy.png' ); ?>" alt="">
|
5 |
+
</div>
|
6 |
+
<div class="left">
|
7 |
+
<h3 class="h3 pb-16">Answer a few questions to help us improve Feedzy</h3>
|
8 |
+
<p>We're always looking for suggestions to further improve Feedzy. If your feedback is especially helpful, and we choose to do an interview with you to discuss your suggestions, you will even gain a yearly membership for free for your trouble. </p>
|
9 |
+
<?php if ( ! feedzy_is_pro() ) { ?>
|
10 |
<p>If your feedback is especially helpful and we choose to do an interview with you to discuss your suggestions, you will even gain a yearly membership for free for your trouble.</p>
|
11 |
+
<?php } ?>
|
12 |
+
<div class="cta">
|
13 |
+
<a href="<?php echo esc_url( feedzy_is_pro() ? FEEDZY_SURVEY_PRO : FEEDZY_SURVEY_FREE ); ?>" target="_blank" class="btn btn-outline-primary">Take the Survey</a>
|
14 |
</div>
|
15 |
+
</div>
|
|
|
16 |
</div>
|
17 |
+
</div>
|
includes/layouts/feedzy-pro.php
ADDED
@@ -0,0 +1,150 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php // phpcs:disable ?>
|
2 |
+
<div class="fz-pro-features-wrap">
|
3 |
+
<h2 class="h2">Powerful features available only with Feedzy Pro</h2>
|
4 |
+
<div class="fz-pro-features-table mb-30">
|
5 |
+
<div class="fz-pro-features-table-header">
|
6 |
+
<ul class="fz-pro-features-table-row">
|
7 |
+
<li class="features-info"> </li>
|
8 |
+
<li class="free">Free</li>
|
9 |
+
<li class="pro">Pro</li>
|
10 |
+
</ul>
|
11 |
+
</div>
|
12 |
+
<div class="fz-pro-features-table-body">
|
13 |
+
<ul class="fz-pro-features-table-row">
|
14 |
+
<li class="features-info">
|
15 |
+
<h3 class="h3">Import content from RSS feeds</h3>
|
16 |
+
<p>Create unlimited import routines for your RSS feeds and let them run on autopilot.</p>
|
17 |
+
</li>
|
18 |
+
<li class="pro" data-label="Free">
|
19 |
+
<span class="dashicons dashicons-saved"></span>
|
20 |
+
</li>
|
21 |
+
<li class="pro" data-label="Pro">
|
22 |
+
<span class="dashicons dashicons-saved"></span>
|
23 |
+
</li>
|
24 |
+
</ul>
|
25 |
+
<ul class="fz-pro-features-table-row">
|
26 |
+
<li class="features-info">
|
27 |
+
<h3 class="h3">Pagebuilder integration</h3>
|
28 |
+
<p>Filter and display RSS feeds items directly with your favourite page builders.</p>
|
29 |
+
</li>
|
30 |
+
|
31 |
+
<li class="pro" data-label="Free">
|
32 |
+
<span class="dashicons dashicons-saved"></span>
|
33 |
+
</li>
|
34 |
+
<li class="pro" data-label="Pro">
|
35 |
+
<span class="dashicons dashicons-saved"></span>
|
36 |
+
</li>
|
37 |
+
</ul>
|
38 |
+
<ul class="fz-pro-features-table-row">
|
39 |
+
<li class="features-info">
|
40 |
+
<h3 class="h3">Filter by Keyword(s) or Time Range</h3>
|
41 |
+
<p>With this feature you can filter feed items, and Display or Exclude items if the title or content
|
42 |
+
contains
|
43 |
+
specific keyword(s). Additionally you can select a date range to import items within the
|
44 |
+
selected date.</p>
|
45 |
+
</li>
|
46 |
+
<li class="free" data-label="Free">
|
47 |
+
<span class="dashicons dashicons-no-alt"></span>
|
48 |
+
</li>
|
49 |
+
<li class="pro" data-label="Pro">
|
50 |
+
<span class="dashicons dashicons-saved"></span>
|
51 |
+
</li>
|
52 |
+
</ul>
|
53 |
+
<ul class="fz-pro-features-table-row">
|
54 |
+
<li class="features-info">
|
55 |
+
<h3 class="h3">Multiple feed templates</h3>
|
56 |
+
<p>Choose the best template for each feed, such as standard grid layout, blog layout, online shop
|
57 |
+
layout, or
|
58 |
+
audio playback (soundcloud) layout.</p>
|
59 |
+
</li>
|
60 |
+
<li class="free" data-label="Free">
|
61 |
+
<span class="dashicons dashicons-no-alt"></span>
|
62 |
+
</li>
|
63 |
+
<li class="pro" data-label="Pro">
|
64 |
+
<span class="dashicons dashicons-saved"></span>
|
65 |
+
</li>
|
66 |
+
</ul>
|
67 |
+
|
68 |
+
<ul class="fz-pro-features-table-row">
|
69 |
+
<li class="features-info">
|
70 |
+
<h3 class="h3">Referral/Affiliate links </h3>
|
71 |
+
<p>Add referral parameters, and Feedzy will automatically configure affiliate links for each item in
|
72 |
+
the feed.
|
73 |
+
You can even import prices from product sources to create extra value for your readers.</p>
|
74 |
+
</li>
|
75 |
+
<li class="free" data-label="Free">
|
76 |
+
<span class="dashicons dashicons-no-alt"></span>
|
77 |
+
</li>
|
78 |
+
<li class="pro" data-label="Pro">
|
79 |
+
<span class="dashicons dashicons-saved"></span>
|
80 |
+
</li>
|
81 |
+
</ul>
|
82 |
+
|
83 |
+
<ul class="fz-pro-features-table-row">
|
84 |
+
<li class="features-info">
|
85 |
+
<h3 class="h3">Importing the full-text content <span
|
86 |
+
class="pro-label">Developer & Agency plans</span></h3>
|
87 |
+
<p>During the import, Feedzy will visit URLs of all items and parse the content directly from the
|
88 |
+
website,
|
89 |
+
importing ALL the content from a item , compared to #item_content tag which only imports the
|
90 |
+
post excerpts.
|
91 |
+
</p>
|
92 |
+
</li>
|
93 |
+
<li class="free" data-label="Free">
|
94 |
+
<span class="dashicons dashicons-no-alt"></span>
|
95 |
+
</li>
|
96 |
+
<li class="pro" data-label="Pro">
|
97 |
+
<span class="dashicons dashicons-saved"></span>
|
98 |
+
</li>
|
99 |
+
</ul>
|
100 |
+
<ul class="fz-pro-features-table-row">
|
101 |
+
<li class="features-info">
|
102 |
+
<h3 class="h3">Custom Fields <span class="pro-label">Developer & Agency plans</span></h3>
|
103 |
+
<p>Create customizable fields and fetch custom values from the feed such as date updated, rating,
|
104 |
+
etc.
|
105 |
+
</p>
|
106 |
+
</li>
|
107 |
+
<li class="free" data-label="Free">
|
108 |
+
<span class="dashicons dashicons-no-alt"></span>
|
109 |
+
</li>
|
110 |
+
<li class="pro" data-label="Pro">
|
111 |
+
<span class="dashicons dashicons-saved"></span>
|
112 |
+
</li>
|
113 |
+
</ul>
|
114 |
+
<ul class="fz-pro-features-table-row">
|
115 |
+
<li class="features-info">
|
116 |
+
<h3 class="h3">WordAI & SpinnerChief integration <span class="pro-label">Agency plan</span></h3>
|
117 |
+
<p>WordAi and SpinnerChief can be used to rephrase RSS feeds when they are imported as posts in
|
118 |
+
WordPress.
|
119 |
+
</p>
|
120 |
+
</li>
|
121 |
+
<li class="free" data-label="Free">
|
122 |
+
<span class="dashicons dashicons-no-alt"></span>
|
123 |
+
</li>
|
124 |
+
<li class="pro" data-label="Pro">
|
125 |
+
<span class="dashicons dashicons-saved"></span>
|
126 |
+
</li>
|
127 |
+
</ul>
|
128 |
+
|
129 |
+
<ul class="fz-pro-features-table-row">
|
130 |
+
<li class="features-info">
|
131 |
+
<h3 class="h3">Access to Translation and Paraphrasing service <span
|
132 |
+
class="pro-label">Agency plan</span></h3>
|
133 |
+
<p>Paraphrase or translate content before import using the built-in service, no separate
|
134 |
+
subscription required.</p>
|
135 |
+
</li>
|
136 |
+
<li class="free" data-label="Free">
|
137 |
+
<span class="dashicons dashicons-no-alt"></span>
|
138 |
+
</li>
|
139 |
+
<li class="pro" data-label="Pro">
|
140 |
+
<span class="dashicons dashicons-saved"></span>
|
141 |
+
</li>
|
142 |
+
</ul>
|
143 |
+
</div>
|
144 |
+
</div>
|
145 |
+
|
146 |
+
<div class="cta">
|
147 |
+
<a href="<?php echo esc_url( FEEDZY_UPSELL_LINK ); ?>" class="btn btn-block btn-primary btn-lg" target="_blank">View
|
148 |
+
all Premium features</a>
|
149 |
+
</div>
|
150 |
+
</div>
|
includes/layouts/feedzy-support.php
CHANGED
@@ -1,53 +1,106 @@
|
|
1 |
-
<div id="fz-features" class="
|
2 |
|
3 |
<?php load_template( FEEDZY_ABSPATH . '/includes/layouts/header.php' ); ?>
|
4 |
|
5 |
<?php
|
6 |
-
// phpcs:ignore WordPress.Security.NonceVerification
|
7 |
$active_tab = isset( $_REQUEST['tab'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['tab'] ) ) : 'help';
|
8 |
-
$show_more = ! feedzy_is_pro() || false === apply_filters( 'feedzy_is_license_of_type', false, 'agency' );
|
9 |
-
?>
|
10 |
|
11 |
-
|
12 |
-
<a href="<?php echo esc_url( admin_url( 'admin.php?page=feedzy-support&tab=help' ) ); ?>"
|
13 |
-
class="nav-tab <?php echo 'help' === $active_tab ? 'nav-tab-active' : ''; ?>"><?php esc_html_e( 'Support', 'feedzy-rss-feeds' ); ?></a>
|
14 |
-
<?php
|
15 |
-
if ( $show_more ) {
|
16 |
-
?>
|
17 |
-
<a href="<?php echo esc_url( admin_url( 'admin.php?page=feedzy-support&tab=more' ) ); ?>"
|
18 |
-
class="nav-tab <?php echo 'more' === $active_tab ? 'nav-tab-active' : ''; ?>"><?php esc_html_e( 'More Features', 'feedzy-rss-feeds' ); ?></a>
|
19 |
-
<?php
|
20 |
-
}
|
21 |
-
?>
|
22 |
-
<a href="<?php echo esc_url( admin_url( 'admin.php?page=feedzy-support&tab=improve' ) ); ?>"
|
23 |
-
class="nav-tab <?php echo 'improve' === $active_tab ? 'nav-tab-active' : ''; ?>"><?php esc_html_e( 'Help us improve!', 'feedzy-rss-feeds' ); ?></a>
|
24 |
|
25 |
-
|
26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
?>
|
50 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
</div>
|
52 |
-
|
53 |
</div>
|
1 |
+
<div id="fz-features" class="feedzy-wrap">
|
2 |
|
3 |
<?php load_template( FEEDZY_ABSPATH . '/includes/layouts/header.php' ); ?>
|
4 |
|
5 |
<?php
|
6 |
+
// phpcs:ignore WordPress.Security.NonceVerification
|
7 |
$active_tab = isset( $_REQUEST['tab'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['tab'] ) ) : 'help';
|
|
|
|
|
8 |
|
9 |
+
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
|
11 |
+
<div class="feedzy-container">
|
12 |
+
<div class="feedzy-accordion-item mb-30">
|
13 |
+
<div class="feedzy-accordion-item__title">
|
14 |
+
<div class="feedzy-accordion-item__button">
|
15 |
+
<div class="feedzy-accordion__step-title h2">
|
16 |
+
<?php
|
17 |
+
switch ( $active_tab ) {
|
18 |
+
case 'help':
|
19 |
+
esc_html_e( 'Gettting Started', 'feedzy-rss-feeds' );
|
20 |
+
break;
|
21 |
+
case 'docs':
|
22 |
+
esc_html_e( 'Documentation', 'feedzy-rss-feeds' );
|
23 |
+
break;
|
24 |
+
case 'feedzy-pro':
|
25 |
+
esc_html_e( 'Free vs Pro', 'feedzy-rss-feeds' );
|
26 |
+
break;
|
27 |
+
case 'improve':
|
28 |
+
esc_html_e( 'Help us improve!', 'feedzy-rss-feeds' );
|
29 |
+
break;
|
30 |
+
default:
|
31 |
+
echo esc_html( ucwords( str_replace( array( '-', '_' ), ' ', $active_tab ) ) );
|
32 |
+
break;
|
33 |
+
}
|
34 |
+
?>
|
35 |
+
</div>
|
36 |
+
</div>
|
37 |
+
</div>
|
38 |
+
<div class="feedzy-accordion-item__content">
|
39 |
+
<div class="fz-tabs-menu">
|
40 |
+
<ul>
|
41 |
+
<li>
|
42 |
+
<a href="<?php echo esc_url( admin_url( 'admin.php?page=feedzy-support&tab=help' ) ); ?>"
|
43 |
+
class="<?php echo 'help' === $active_tab ? 'active' : ''; ?>"><?php esc_html_e( 'Gettting Started', 'feedzy-rss-feeds' ); ?></a>
|
44 |
+
</li>
|
45 |
+
<li>
|
46 |
+
<a href="<?php echo esc_url( admin_url( 'admin.php?page=feedzy-support&tab=docs' ) ); ?>"
|
47 |
+
class="<?php echo 'docs' === $active_tab ? 'active' : ''; ?>"><?php esc_html_e( 'Documentation', 'feedzy-rss-feeds' ); ?></a>
|
48 |
+
</li>
|
49 |
+
<?php if ( ! feedzy_is_pro() ) : ?>
|
50 |
+
<li>
|
51 |
+
<a href="<?php echo esc_url( admin_url( 'admin.php?page=feedzy-support&tab=feedzy-pro' ) ); ?>"
|
52 |
+
class="<?php echo 'feedzy-pro' === $active_tab ? 'active' : ''; ?>"><?php esc_html_e( 'Free vs Pro', 'feedzy-rss-feeds' ); ?></a>
|
53 |
+
</li>
|
54 |
+
<?php endif; ?>
|
55 |
+
<li>
|
56 |
+
<a href="<?php echo esc_url( admin_url( 'admin.php?page=feedzy-support&tab=improve' ) ); ?>"
|
57 |
+
class="<?php echo 'improve' === $active_tab ? 'active' : ''; ?>"><?php esc_html_e( 'Help us improve!', 'feedzy-rss-feeds' ); ?></a>
|
58 |
+
</li>
|
59 |
+
<?php $support_tab_heading = apply_filters( 'feedzy_support_tab_heading', '', $active_tab ); ?>
|
60 |
+
<?php if ( ! empty( $support_tab_heading ) ) : ?>
|
61 |
+
<li>
|
62 |
+
<?php echo wp_kses_post( $support_tab_heading ); ?>
|
63 |
+
</li>
|
64 |
+
<?php endif; ?>
|
65 |
+
</ul>
|
66 |
+
</div>
|
67 |
|
68 |
+
<?php
|
69 |
+
switch ( $active_tab ) {
|
70 |
+
case 'help':
|
71 |
+
load_template( FEEDZY_ABSPATH . '/includes/layouts/feedzy-tutorial.php' );
|
72 |
+
break;
|
73 |
+
case 'docs':
|
74 |
+
load_template( FEEDZY_ABSPATH . '/includes/layouts/feedzy-documentation.php' );
|
75 |
+
break;
|
76 |
+
case 'feedzy-pro':
|
77 |
+
load_template( FEEDZY_ABSPATH . '/includes/layouts/feedzy-pro.php' );
|
78 |
+
break;
|
79 |
+
case 'improve':
|
80 |
+
load_template( FEEDZY_ABSPATH . '/includes/layouts/feedzy-improve.php' );
|
81 |
+
break;
|
82 |
+
default:
|
83 |
+
$template = apply_filters( 'feedzy_support_tab_content', '', $active_tab );
|
84 |
+
if ( ! empty( $template ) ) {
|
85 |
+
load_template( $template );
|
86 |
+
}
|
87 |
+
}
|
88 |
+
?>
|
|
|
89 |
</div>
|
90 |
+
</div>
|
91 |
+
<?php if ( in_array( $active_tab, array( 'help', 'docs' ), true ) ) : ?>
|
92 |
+
<div class="feedzy-accordion-item need-help-box">
|
93 |
+
<div class="feedzy-accordion-item__content">
|
94 |
+
<h3 class="h3"><?php esc_html_e( 'Need help with Feedzy?', 'feedzy-rss-feeds' ); ?></h3>
|
95 |
+
<?php if ( ! defined( 'FEEDZY_PRO_VERSION' ) ) : ?>
|
96 |
+
<p><?php echo wp_kses_post( wp_sprintf( __( 'If you didn\'t found an answer in our Knowledge Base, you can always ask for help from our community based forum or <a href="%s" target="_blank">get dedicated support with our premium plans.</a>', 'feedzy-rss-feeds' ), esc_url( FEEDZY_UPSELL_LINK ) ) ); ?></p>
|
97 |
+
<a href="https://wordpress.org/support/plugin/feedzy-rss-feeds/" class="btn btn-outline-primary" target="_blank"><?php esc_html_e( 'Community Forum', 'feedzy-rss-feeds' ); ?></a>
|
98 |
+
<?php else : ?>
|
99 |
+
<p><?php echo wp_kses_post( wp_sprintf( __( 'If you didn\'t found an answer in our Knowledge Base, our dedicated support team standby to help you.', 'feedzy-rss-feeds' ) ) ); ?></p>
|
100 |
+
<a href="https://store.themeisle.com/contact" class="btn btn-outline-primary" target="_blank"><?php esc_html_e( 'Contact Support', 'feedzy-rss-feeds' ); ?></a>
|
101 |
+
<?php endif; ?>
|
102 |
+
</div>
|
103 |
+
</div>
|
104 |
+
<?php endif; ?>
|
105 |
</div>
|
|
|
106 |
</div>
|
includes/layouts/feedzy-tutorial.php
CHANGED
@@ -5,143 +5,129 @@ Layout For Tutorial Page of Feedzy RSS Feeds
|
|
5 |
@package feedzy-rss-feeds
|
6 |
-->
|
7 |
<?php
|
8 |
-
|
9 |
?>
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
<
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
<?php } ?>
|
28 |
-
<li>Add affiliate links and referral parameters</li>
|
29 |
-
<li>Automatically delete posts after X days</li>
|
30 |
-
<?php } ?>
|
31 |
-
</ul>
|
32 |
-
|
33 |
-
<?php if ( ! $is_pro ) { ?>
|
34 |
-
<p>We have many more features and offer email & chat support if you purchase our <a href="<?php echo esc_url( FEEDZY_UPSELL_LINK ); ?>" target="_blank">Pro Version</a>.</p>
|
35 |
-
<?php } ?>
|
36 |
-
|
37 |
-
<p>Ready to begin? Let's <a href="<?php echo esc_url( add_query_arg( 'post_type', 'feedzy_imports', admin_url( 'post-new.php' ) ) ); ?>">import a post</a> or <a href="<?php echo esc_url( add_query_arg( 'post_type', 'feedzy_categories', admin_url( 'post-new.php' ) ) ); ?>" target="_blank">create a category</a>!
|
38 |
-
|
39 |
-
</div>
|
40 |
-
<div class="clear"></div>
|
41 |
</div>
|
42 |
-
</
|
43 |
-
<
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
<div class="
|
48 |
-
<
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
<li><a
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
<li><a
|
64 |
-
|
65 |
</ul>
|
66 |
-
<p></p>
|
67 |
</div>
|
68 |
</div>
|
69 |
-
</
|
70 |
-
<
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
<
|
76 |
-
<h2>Shortcode</h2>
|
77 |
-
<p>Show feed items using the <code>[feedzy-rss]</code>shortcode in a few easy steps.</p>
|
78 |
-
<p>You can view our documentation about shortcodes <a href="https://docs.themeisle.com/article/1130-how-to-use-feedzy-with-a-shortcode" target="_blank">here</a></p>
|
79 |
-
|
80 |
-
<?php if ( $is_pro ) : ?>
|
81 |
-
<h3>Shortcode templates to suit your style</h3>
|
82 |
-
<p><a href="https://docs.themeisle.com/article/1119-feedzy-rss-feeds-documentation#examples" target="_blank">Three beautiful templates</a> are available for you to choose the style which best fits your design. We even have support for complex media such as <a href="https://demo.themeisle.com/feedzy-rss-feeds/audio-feed-template/" target="_blank">audio playback</a> and <a href="https://docs.themeisle.com/article/1113-how-to-get-videos-from-youtube-with-feedzy" target="_blank">YouTube videos</a>.</p>
|
83 |
-
<p>If you like to roll your own templates, <a href="https://docs.themeisle.com/article/1162-feedzy-custom-templates" target="_blank">template tags</a> are available to help you do just that!</p>
|
84 |
-
<?php endif; ?>
|
85 |
-
|
86 |
-
</div>
|
87 |
-
<div class="fz-feature-image">
|
88 |
-
<iframe width="600" height="300" src="https://www.youtube.com/embed/GEFAY2IxxEc?start=84" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
89 |
-
</div>
|
90 |
-
<div class="clear"></div>
|
91 |
</div>
|
92 |
-
</
|
93 |
-
<
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
<
|
99 |
-
<h2>Feed to Post</h2>
|
100 |
-
<p>Convert feed items into WordPress Posts, Pages, or any custom post type in a few easy steps.</p>
|
101 |
-
<p>You can view our documentation <a href="https://docs.themeisle.com/article/742-how-to-import-posts-from-feeds-in-feedzy" target="_blank">here</a></p>
|
102 |
-
</div>
|
103 |
-
<div class="fz-feature-image">
|
104 |
-
<iframe width="600" height="300" src="https://www.youtube.com/embed/Fzx5W_PfQsQ" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
105 |
-
</div>
|
106 |
-
<div class="clear"></div>
|
107 |
</div>
|
108 |
-
</
|
109 |
-
<
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
<h2>Integration with SpinnerChief & WordAI</h2>
|
117 |
-
<p>Through WordAI integration, Feedzy will give you unlimited new content. Your SpinnerChief or WordAI subscriptions (not included) integrate seamlessly with Feedzy, so you won't ever have to worry about duplicate content - or Google penalties - again. <a href="https://docs.themeisle.com/article/746-how-to-use-wordai-to-rephrase-rss-content-in-feedzy" target="_blank">Check this out here.</a></p>
|
118 |
-
</div>
|
119 |
-
<div class="fz-feature-image">
|
120 |
-
<img src="<?php echo esc_url( FEEDZY_ABSURL ); ?>/img/feedzy-rss-feeds-wordai.jpg" alt="WordAi integration">
|
121 |
-
</div>
|
122 |
-
<div class="clear"></div>
|
123 |
</div>
|
124 |
-
</
|
125 |
-
<
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
145 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
146 |
</div>
|
147 |
-
|
|
5 |
@package feedzy-rss-feeds
|
6 |
-->
|
7 |
<?php
|
8 |
+
$is_pro = feedzy_is_pro();
|
9 |
?>
|
10 |
+
<div class="support-box-list">
|
11 |
+
<ul>
|
12 |
+
<li>
|
13 |
+
<div class="support-box welcome-box">
|
14 |
+
<h3 class="h3">Welcome to Feedzy!</h3>
|
15 |
+
<p>Collect the Best Content, Automatically Add It to Your WordPress Site. Grow your site with features like: </p>
|
16 |
+
<ul>
|
17 |
+
<li>- Display or Import content from RSS feeds.</li>
|
18 |
+
<li>- Get full content from your RSS feeds.</li>
|
19 |
+
<li>- Paraphrase content before import.</li>
|
20 |
+
<li>- Automatically add referral links.</li>
|
21 |
+
<li>- Pagebuilders integration.</li>
|
22 |
+
<li>- Translate content automatically on import.</li>
|
23 |
+
</ul>
|
24 |
+
<br/>
|
25 |
+
<a href="<?php echo esc_url( add_query_arg( 'post_type', 'feedzy_imports', admin_url( 'post-new.php' ) ) ); ?>"
|
26 |
+
class="btn btn-outline-primary" target="_blank">Import your first feed </a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
</div>
|
28 |
+
</li>
|
29 |
+
<li>
|
30 |
+
<div class="support-box quick-links-box">
|
31 |
+
<h3 class="h3">Quick Links</h3>
|
32 |
+
<p>New here? Learn how to use Feedzy by following our tips and tricks:</p>
|
33 |
+
<div class="quick-link-list">
|
34 |
+
<ul>
|
35 |
+
<li><a href="https://docs.themeisle.com/category/712-feedzy" target="blank">General Guide</a>
|
36 |
+
</li>
|
37 |
+
<li><a href="https://docs.themeisle.com/article/1154-how-to-use-feed-to-post-feature-in-feedzy"
|
38 |
+
target="blank">How to use Feed to post</a></li>
|
39 |
+
<li><a href="https://docs.themeisle.com/article/1119-feedzy-rss-feeds-documentation#widget"
|
40 |
+
target="blank">Feedzy Widget</a></li>
|
41 |
+
</ul>
|
42 |
+
<ul>
|
43 |
+
<li>
|
44 |
+
<a href="https://docs.themeisle.com/article/1119-feedzy-rss-feeds-documentation#troubleshooting"
|
45 |
+
target="blank">Troubleshooting Guide</a></li>
|
46 |
+
<li>
|
47 |
+
<a href="https://docs.themeisle.com/article/540-what-actions-and-filters-are-available-in-feedzy"
|
48 |
+
target="blank">Customizing Feedzy</a></li>
|
49 |
+
<li><a href="https://docs.themeisle.com/article/1119-feedzy-rss-feeds-documentation#categories"
|
50 |
+
target="blank">Organize feeds in Categories</a></li>
|
51 |
</ul>
|
|
|
52 |
</div>
|
53 |
</div>
|
54 |
+
</li>
|
55 |
+
<li>
|
56 |
+
<div class="support-box">
|
57 |
+
<h3 class="h3">Shortcode</h3>
|
58 |
+
<p>Display feed items using [feedzy-rss] shortcode. The advantage of this approach is that it can be
|
59 |
+
used with any WordPress theme or page builder.</p>
|
60 |
+
<a href="https://bit.ly/3IxzOI1" class="btn btn-outline-primary" target="blank">Learn more</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
</div>
|
62 |
+
</li>
|
63 |
+
<li>
|
64 |
+
<div class="support-box">
|
65 |
+
<h3 class="h3">Pagebuilders integration</h3>
|
66 |
+
<p>Feedzy is compatible with most popular page builders, so you can easily configure your feed imports
|
67 |
+
directly in Elementor & Gutenberg.</p>
|
68 |
+
<a href="https://bit.ly/3RuN3gA" class="btn btn-outline-primary" target="blank">Learn more</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
</div>
|
70 |
+
</li>
|
71 |
+
<li>
|
72 |
+
<div class="support-box">
|
73 |
+
<h3 class="h3">Referral Links<?php echo ! $is_pro ? ' <span class="pro-label">PRO</span>' : ''; ?></h3>
|
74 |
+
<p>Automatically add referral parameters, and Feedzy will automatically configure affiliate links for
|
75 |
+
each item in the feed.</p>
|
76 |
+
<a href="https://docs.themeisle.com/article/715-feedzy-how-to-add-affiliate-referrals-to-feed-urls"
|
77 |
+
class="btn btn-outline-primary" target="blank">Learn more</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
</div>
|
79 |
+
</li>
|
80 |
+
<li>
|
81 |
+
<div class="support-box">
|
82 |
+
<h3 class="h3">Full text
|
83 |
+
import<?php echo ! $is_pro ? ' <span class="pro-label">PRO</span>' : ''; ?></h3>
|
84 |
+
<p>Get full content of posts/articles from your RSS feeds.</p>
|
85 |
+
<a href="https://docs.themeisle.com/article/715-feedzy-how-to-add-affiliate-referrals-to-feed-urls"
|
86 |
+
class="btn btn-outline-primary" target="blank">Learn more</a>
|
87 |
+
</div>
|
88 |
+
</li>
|
89 |
+
<li>
|
90 |
+
<div class="support-box">
|
91 |
+
<h3 class="h3">Paraphrase & Translate
|
92 |
+
Content<?php echo ! $is_pro ? ' <span class="pro-label">PRO</span>' : ''; ?></h3>
|
93 |
+
<p>Automatically paraphrase or translate content on import.</p>
|
94 |
+
<a href="https://docs.themeisle.com/article/715-feedzy-how-to-add-affiliate-referrals-to-feed-urls"
|
95 |
+
class="btn btn-outline-primary" target="blank">Learn more</a>
|
96 |
+
</div>
|
97 |
+
</li>
|
98 |
+
<li>
|
99 |
+
<div class="support-box">
|
100 |
+
<h3 class="h3">Referral Links<?php echo ! $is_pro ? ' <span class="pro-label">PRO</span>' : ''; ?></h3>
|
101 |
+
<p>Add referral parameters, and Feedzy will automatically configure affiliate links for each item in the
|
102 |
+
feed.</p>
|
103 |
+
<a href="https://docs.themeisle.com/article/715-feedzy-how-to-add-affiliate-referrals-to-feed-urls"
|
104 |
+
class="btn btn-outline-primary" target="blank">Learn more</a>
|
105 |
+
</div>
|
106 |
+
</li>
|
107 |
+
<li>
|
108 |
+
<div class="support-box">
|
109 |
+
<h3 class="h3">Enhanced Elementor
|
110 |
+
support<?php echo ! $is_pro ? ' <span class="pro-label">PRO</span>' : ''; ?></h3>
|
111 |
+
<p>Advanced Elementor template builder integration to build content areas directly from feeds.</p>
|
112 |
+
<a href="https://docs.themeisle.com/article/1154-how-to-use-feed-to-post-feature-in-feedzy#filters"
|
113 |
+
class="btn btn-outline-primary" target="blank">Learn more</a>
|
114 |
+
</div>
|
115 |
+
</li>
|
116 |
+
<li>
|
117 |
+
<div class="support-box">
|
118 |
+
<h3 class="h3">Keyword
|
119 |
+
Filtering<?php echo ! $is_pro ? ' <span class="pro-label">PRO</span>' : ''; ?></h3>
|
120 |
+
<p>Filter feed items, and Display or Exclude items if the title or content contains specific
|
121 |
+
keyword(s). </p>
|
122 |
+
<a href="https://docs.themeisle.com/article/1154-how-to-use-feed-to-post-feature-in-feedzy#filters"
|
123 |
+
class="btn btn-outline-primary" target="blank">Learn more</a>
|
124 |
</div>
|
125 |
+
</li>
|
126 |
+
</ul>
|
127 |
+
<?php if ( ! $is_pro ) : ?>
|
128 |
+
<div class="cta">
|
129 |
+
<a href="<?php echo esc_url( FEEDZY_UPSELL_LINK ); ?> " class="btn btn-ghost" target="blank">View all Feedzy
|
130 |
+
features</a>
|
131 |
</div>
|
132 |
+
<?php endif; ?>
|
133 |
+
</div>
|
includes/layouts/feedzy-upsell.php
DELETED
@@ -1,167 +0,0 @@
|
|
1 |
-
<!--
|
2 |
-
Layout For Upsell Page of Feedzy RSS Feeds
|
3 |
-
|
4 |
-
@since 3.0.12
|
5 |
-
@package feedzy-rss-feeds
|
6 |
-
-->
|
7 |
-
|
8 |
-
<?php
|
9 |
-
$is_pro = feedzy_is_pro();
|
10 |
-
?>
|
11 |
-
|
12 |
-
<?php if ( ! $is_pro ) { ?>
|
13 |
-
<div class="fz-feature">
|
14 |
-
<div class="fz-feature-inner">
|
15 |
-
<div class="fz-feature-features">
|
16 |
-
<h2>Boost your Business with Pro Content</h2>
|
17 |
-
<h3>Upgrade to Feedzy Pro to experience powerful benefits</h3>
|
18 |
-
<p>Aggregate unlimited RSS feeds in your posts, pages or custom content types</p>
|
19 |
-
<p>Add content on up to 30 of your own websites, automatically build affiliate links, integrate with WordAI and even add live product pricing feeds.</p>
|
20 |
-
</div>
|
21 |
-
<div class="fz-feature-image">
|
22 |
-
<div class="header-btns">
|
23 |
-
<a target="_blank" href="<?php echo esc_url( FEEDZY_UPSELL_LINK ); ?>" class="buy-now"><span class="dashicons dashicons-cart"></span> Upgrade to Feedzy Pro now</a>
|
24 |
-
</div>
|
25 |
-
</div>
|
26 |
-
<div class="clear"></div>
|
27 |
-
</div>
|
28 |
-
</div>
|
29 |
-
<div class="clear"></div>
|
30 |
-
|
31 |
-
<div class="fz-feature">
|
32 |
-
<div class="fz-feature-inner">
|
33 |
-
<div class="fz-feature-features">
|
34 |
-
<h2>Unlimited Content with Feed to Post</h2>
|
35 |
-
<p>Convert feed items into WordPress Posts, Pages, or any custom post type in a few easy steps.</p>
|
36 |
-
<p>With Pro, collect RSS feeds from an unlimited number of sources and bring them to up to all of your own WordPress sites.</p>
|
37 |
-
<p>Feedzy will automatically filter each feed item and place it wherever you want in your site. Easy to install and ready to go.</p>
|
38 |
-
</div>
|
39 |
-
<div class="fz-feature-image">
|
40 |
-
<img src="<?php echo esc_url( FEEDZY_ABSURL ); ?>/img/features-feed-to-post.jpg" alt="Feed to post">
|
41 |
-
</div>
|
42 |
-
<div class="clear"></div>
|
43 |
-
</div>
|
44 |
-
</div>
|
45 |
-
<div class="clear"></div>
|
46 |
-
|
47 |
-
<div class="fz-feature">
|
48 |
-
<div class="fz-feature-inner">
|
49 |
-
<div class="fz-feature-features">
|
50 |
-
<h2>Shortcode templates to suit your style</h2>
|
51 |
-
<p><a href="https://docs.themeisle.com/article/1119-feedzy-rss-feeds-documentation#examples" target="_blank">Three beautiful templates</a> are available for you to choose the style which best fits your design. We even have support for complex media such as <a href="https://demo.themeisle.com/feedzy-rss-feeds/audio-feed-template/" target="_blank">audio playback</a> and <a href="https://docs.themeisle.com/article/1113-how-to-get-videos-from-youtube-with-feedzy" target="_blank">YouTube videos</a>.</p>
|
52 |
-
<p>If you like to roll your own templates, <a href="https://docs.themeisle.com/article/1162-feedzy-custom-templates" target="_blank">template tags</a> are available to help you do just that!</p>
|
53 |
-
</div>
|
54 |
-
<div class="fz-feature-image">
|
55 |
-
<img src="<?php echo esc_url( FEEDZY_ABSURL ); ?>/img/features-templates.jpg" alt="Feed templates">
|
56 |
-
</div>
|
57 |
-
<div class="clear"></div>
|
58 |
-
</div>
|
59 |
-
</div>
|
60 |
-
<div class="clear"></div>
|
61 |
-
|
62 |
-
|
63 |
-
<div class="fz-feature">
|
64 |
-
<div class="fz-feature-inner">
|
65 |
-
<div class="fz-feature-features">
|
66 |
-
<h2>Grow your business</h2>
|
67 |
-
<p>Feature affiliate links on your site with Feedzy. Pro automatically includes your referral/affiliate ID on feed links. You can even import prices from product sources to create extra value for your readers.</p>
|
68 |
-
</div>
|
69 |
-
<div class="fz-feature-image">
|
70 |
-
<img src="<?php echo esc_url( FEEDZY_ABSURL ); ?>/img/features-affiliate-ready.jpg" alt="Protect your Brand">
|
71 |
-
</div>
|
72 |
-
<div class="clear"></div>
|
73 |
-
</div>
|
74 |
-
</div>
|
75 |
-
<div class="clear"></div>
|
76 |
-
|
77 |
-
<div class="fz-feature">
|
78 |
-
<div class="fz-feature-inner">
|
79 |
-
<div class="fz-feature-features">
|
80 |
-
<h2>Protect your Brand</h2>
|
81 |
-
<p>Take control of your content: blacklist specific keywords to show only the content you want to display on your site.</p>
|
82 |
-
</div>
|
83 |
-
<div class="fz-feature-image">
|
84 |
-
<img src="<?php echo esc_url( FEEDZY_ABSURL ); ?>/img/Protect-your-Brand.jpg" alt="Affiliate ready">
|
85 |
-
</div>
|
86 |
-
<div class="clear"></div>
|
87 |
-
</div>
|
88 |
-
</div>
|
89 |
-
<div class="clear"></div>
|
90 |
-
|
91 |
-
<?php } ?>
|
92 |
-
|
93 |
-
<?php if ( $is_pro && false === apply_filters( 'feedzy_is_license_of_type', false, 'business' ) ) { ?>
|
94 |
-
|
95 |
-
<div class="fz-feature">
|
96 |
-
<div class="fz-feature-inner">
|
97 |
-
<div class="fz-feature-features">
|
98 |
-
<h2>Unlimited Content with Feed to Post</h2>
|
99 |
-
<p>Convert feed items into WordPress Posts, Pages, or any custom post type in a few easy steps.</p>
|
100 |
-
<p>With Pro, collect RSS feeds from an unlimited number of sources and bring them to up to all of your own WordPress sites.</p>
|
101 |
-
<p>Feedzy will automatically filter each feed item and place it wherever you want in your site. Easy to install and ready to go.</p>
|
102 |
-
</div>
|
103 |
-
<div class="fz-feature-image">
|
104 |
-
<img src="<?php echo esc_url( FEEDZY_ABSURL ); ?>/img/features-feed-to-post.jpg" alt="Feed to post">
|
105 |
-
</div>
|
106 |
-
<div class="clear"></div>
|
107 |
-
</div>
|
108 |
-
</div>
|
109 |
-
<div class="clear"></div>
|
110 |
-
|
111 |
-
<?php } ?>
|
112 |
-
|
113 |
-
<?php if ( $is_pro && false === apply_filters( 'feedzy_is_license_of_type', false, 'agency' ) ) { ?>
|
114 |
-
|
115 |
-
<div class="fz-feature">
|
116 |
-
<div class="fz-feature-inner">
|
117 |
-
<div class="fz-feature-features">
|
118 |
-
<h2>Integration with SpinnerChief & WordAI</h2>
|
119 |
-
<p>Through WordAI integration, Feedzy will give you unlimited new content. Your SpinnerChief or WordAI subscriptions (not included) integrate seamlessly with Feedzy, so you won't ever have to worry about duplicate content - or Google penalties - again. <a href="https://docs.themeisle.com/article/746-how-to-use-wordai-to-rephrase-rss-content-in-feedzy" target="_blank">Check this out here.</a></p>
|
120 |
-
</div>
|
121 |
-
<div class="fz-feature-image">
|
122 |
-
<img src="<?php echo esc_url( FEEDZY_ABSURL ); ?>/img/feedzy-rss-feeds-wordai.jpg" alt="WordAi integration">
|
123 |
-
</div>
|
124 |
-
<div class="clear"></div>
|
125 |
-
</div>
|
126 |
-
</div>
|
127 |
-
<div class="clear"></div>
|
128 |
-
|
129 |
-
<?php } ?>
|
130 |
-
|
131 |
-
<?php if ( ! $is_pro ) { ?>
|
132 |
-
|
133 |
-
<div class="fz-feature">
|
134 |
-
<div class="fz-feature-inner">
|
135 |
-
<div class="fz-feature-features">
|
136 |
-
<h2>World-class support</h2>
|
137 |
-
<p>We're proud to serve over 10,000 happy customers and provide unlimited support/updates for the duration of your subscription. If you need help, our customer service and developer teams are on-hand to offer personalized, priority assistance to Pro customers.</p>
|
138 |
-
</div>
|
139 |
-
<div class="fz-feature-image">
|
140 |
-
<img src="<?php echo esc_url( FEEDZY_ABSURL ); ?>/img/World-class-support.jpg" alt="World Class Support">
|
141 |
-
</div>
|
142 |
-
<div class="clear"></div>
|
143 |
-
</div>
|
144 |
-
</div>
|
145 |
-
<div class="clear"></div>
|
146 |
-
|
147 |
-
<?php } ?>
|
148 |
-
|
149 |
-
<div class="fz-feature">
|
150 |
-
<div class="fz-feature-inner">
|
151 |
-
<div class="fz-feature-features fz-feature-centered">
|
152 |
-
<h2>Grow your WordPress business with Feedzy today.</h2>
|
153 |
-
<?php
|
154 |
-
if ( $is_pro || false === apply_filters( 'feedzy_is_license_of_type', false, 'agency' ) ) {
|
155 |
-
?>
|
156 |
-
<div class="header-btns">
|
157 |
-
<a href="<?php echo esc_url( FEEDZY_UPSELL_LINK ); ?>" class="buy-now">
|
158 |
-
<span class="dashicons dashicons-cart"></span> Upgrade <?php echo $is_pro ? 'your license to a higher plan' : 'to Feedzy Pro'; ?></a>
|
159 |
-
</div>
|
160 |
-
<?php
|
161 |
-
}
|
162 |
-
?>
|
163 |
-
</div>
|
164 |
-
<div class="clear"></div>
|
165 |
-
</div>
|
166 |
-
</div>
|
167 |
-
<div class="clear"></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/layouts/header.php
CHANGED
@@ -6,9 +6,16 @@
|
|
6 |
* @copyright Copyright (c) 2017, Marius Cristea
|
7 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
8 |
*/
|
|
|
|
|
|
|
9 |
?>
|
10 |
-
<div class="
|
11 |
-
<
|
12 |
-
|
13 |
-
|
14 |
-
|
|
|
|
|
|
|
|
6 |
* @copyright Copyright (c) 2017, Marius Cristea
|
7 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
8 |
*/
|
9 |
+
|
10 |
+
// phpcs:ignore WordPress.Security.NonceVerification
|
11 |
+
$page_title = isset( $_GET['page'] ) && 'feedzy-support' === $_GET['page'] ? __( 'Support', 'feedzy-rss-feeds' ) : __( 'Settings', 'feedzy-rss-feeds' );
|
12 |
?>
|
13 |
+
<div class="feedzy-header">
|
14 |
+
<div class="feedzy-container">
|
15 |
+
<div class="page-title h1"><?php echo esc_html( $page_title ); ?></div>
|
16 |
+
<div class="feedzy-logo">
|
17 |
+
<div class="feedzy-version"><?php echo esc_html( Feedzy_Rss_Feeds::get_version() ); ?></div>
|
18 |
+
<div class="feedzy-logo-icon"><img src="<?php echo esc_url( FEEDZY_ABSURL . 'img/feedzy.svg' ); ?>" width="60" height="60" alt=""></div>
|
19 |
+
</div>
|
20 |
+
</div>
|
21 |
+
</div>
|
includes/layouts/settings.php
CHANGED
@@ -1,33 +1,24 @@
|
|
1 |
-
<div id="fz-features" class="
|
2 |
|
3 |
<?php load_template( FEEDZY_ABSPATH . '/includes/layouts/header.php' ); ?>
|
4 |
|
5 |
<?php
|
6 |
-
|
7 |
-
$active_tab = isset( $_REQUEST['tab'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['tab'] ) ) : 'general';
|
8 |
$show_button = true;
|
9 |
-
?>
|
10 |
-
|
11 |
-
<h2 class="nav-tab-wrapper">
|
12 |
-
<a href="<?php echo esc_url( admin_url( 'admin.php?page=feedzy-settings&tab=general' ) ); ?>"
|
13 |
-
class="nav-tab <?php echo 'general' === $active_tab ? esc_attr( 'nav-tab-active' ) : ''; ?>"><?php esc_html_e( 'General', 'feedzy-rss-feeds' ); ?></a>
|
14 |
-
<a href="<?php echo esc_url( admin_url( 'admin.php?page=feedzy-settings&tab=headers' ) ); ?>"
|
15 |
-
class="nav-tab <?php echo 'headers' === $active_tab ? esc_attr( 'nav-tab-active' ) : ''; ?>"><?php esc_html_e( 'Headers', 'feedzy-rss-feeds' ); ?></a>
|
16 |
-
<a href="<?php echo esc_url( admin_url( 'admin.php?page=feedzy-settings&tab=proxy' ) ); ?>"
|
17 |
-
class="nav-tab <?php echo 'proxy' === $active_tab ? esc_attr( 'nav-tab-active' ) : ''; ?>"><?php esc_html_e( 'Proxy', 'feedzy-rss-feeds' ); ?></a>
|
18 |
-
<?php
|
19 |
-
$_tabs = apply_filters( 'feedzy_settings_tabs', array() );
|
20 |
-
if ( $_tabs ) {
|
21 |
-
foreach ( $_tabs as $_tab => $label ) {
|
22 |
-
?>
|
23 |
-
<a href="<?php echo esc_url( admin_url( 'admin.php?page=feedzy-settings&tab=' . $_tab ) ); ?>"
|
24 |
-
class="nav-tab <?php echo $_tab === $active_tab ? esc_attr( 'nav-tab-active' ) : ''; ?>"><?php echo wp_kses_post( $label ); ?></a>
|
25 |
-
<?php
|
26 |
-
}
|
27 |
-
}
|
28 |
-
?>
|
29 |
-
</h2>
|
30 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
<?php if ( $this->notice ) { ?>
|
32 |
<div class="updated"><p><?php echo wp_kses_post( $this->notice ); ?></p></div>
|
33 |
<?php } ?>
|
@@ -35,15 +26,45 @@
|
|
35 |
<?php if ( $this->error ) { ?>
|
36 |
<div class="error"><p><?php echo wp_kses_post( $this->error ); ?></p></div>
|
37 |
<?php } ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
|
39 |
-
|
40 |
-
<div class="fz-features-content">
|
41 |
-
<div id="feedzy_import_feeds" class="fz-feature-features">
|
42 |
-
<div class="fz-feature">
|
43 |
-
<div class="fz-feature-inner">
|
44 |
-
<div class="fz-feature-features">
|
45 |
-
|
46 |
-
<form method="post" action="">
|
47 |
<?php
|
48 |
$disble_featured_image = '';
|
49 |
if ( isset( $settings['general']['rss-feeds'] ) && 1 === intval( $settings['general']['rss-feeds'] ) ) {
|
@@ -55,84 +76,92 @@
|
|
55 |
switch ( $active_tab ) {
|
56 |
case 'general':
|
57 |
?>
|
58 |
-
<
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
</div>
|
81 |
-
<div class="fz-form-group">
|
82 |
-
<input type="number" min="0" max="9999" id="feedzy_delete_days" name="feedzy-delete-days" class="fz-form-control" value="<?php echo esc_attr( $feedzy_delete_days ); ?>"/>
|
83 |
-
<div>
|
84 |
-
<small><?php esc_html_e( 'Helpful if you want to remove stale or old items automatically. If you choose 0, it will be considered the individual import setting.', 'feedzy-rss-feeds' ); ?></small>
|
85 |
</div>
|
86 |
</div>
|
87 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
<?php
|
89 |
break;
|
90 |
case 'headers':
|
91 |
?>
|
92 |
-
<
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
</div>
|
101 |
<?php
|
102 |
break;
|
103 |
case 'proxy':
|
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 |
</div>
|
137 |
<?php
|
138 |
break;
|
@@ -156,16 +185,21 @@
|
|
156 |
<?php
|
157 |
wp_nonce_field( $active_tab, 'nonce' );
|
158 |
if ( $show_button ) {
|
|
|
159 |
?>
|
160 |
-
<
|
161 |
-
|
|
|
162 |
<?php
|
163 |
}
|
164 |
?>
|
165 |
-
|
166 |
-
|
167 |
-
</div>
|
168 |
</div>
|
169 |
</div>
|
|
|
|
|
|
|
|
|
170 |
</div>
|
171 |
</div>
|
1 |
+
<div id="fz-features" class="feedzy-wrap">
|
2 |
|
3 |
<?php load_template( FEEDZY_ABSPATH . '/includes/layouts/header.php' ); ?>
|
4 |
|
5 |
<?php
|
6 |
+
$active_tab = isset( $_REQUEST['tab'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['tab'] ) ) : 'general';// phpcs:ignore WordPress.Security.NonceVerification
|
|
|
7 |
$show_button = true;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
+
$help_btn_url = 'https://docs.themeisle.com/category/712-feedzy';
|
10 |
+
if ( 'headers' === $active_tab ) {
|
11 |
+
$help_btn_url = 'https://docs.themeisle.com/article/713-how-to-change-user-agent-in-feedzy';
|
12 |
+
} elseif ( 'proxy' === $active_tab ) {
|
13 |
+
$help_btn_url = 'https://docs.themeisle.com/article/714-how-to-use-proxy-settings-in-feezy';
|
14 |
+
} elseif ( 'misc' === $active_tab ) {
|
15 |
+
$help_btn_url = 'https://docs.themeisle.com/article/841-how-to-add-canonical-tags-for-imported-posts';
|
16 |
+
} elseif ( 'wordai' === $active_tab ) {
|
17 |
+
$help_btn_url = 'https://docs.themeisle.com/article/746-how-to-use-wordai-to-rephrase-rss-content-in-feedzy#wordai';
|
18 |
+
} elseif ( 'spinnerchief' === $active_tab ) {
|
19 |
+
$help_btn_url = 'https://docs.themeisle.com/article/746-how-to-use-wordai-to-rephrase-rss-content-in-feedzy#spinner';
|
20 |
+
}
|
21 |
+
?>
|
22 |
<?php if ( $this->notice ) { ?>
|
23 |
<div class="updated"><p><?php echo wp_kses_post( $this->notice ); ?></p></div>
|
24 |
<?php } ?>
|
26 |
<?php if ( $this->error ) { ?>
|
27 |
<div class="error"><p><?php echo wp_kses_post( $this->error ); ?></p></div>
|
28 |
<?php } ?>
|
29 |
+
<div class="feedzy-container">
|
30 |
+
<div class="feedzy-accordion-item">
|
31 |
+
<div class="feedzy-accordion-item__title">
|
32 |
+
<div class="feedzy-accordion-item__button">
|
33 |
+
<div class="feedzy-accordion__step-title h2"><?php esc_html_e( 'General', 'feedzy-rss-feeds' ); ?></div>
|
34 |
+
</div>
|
35 |
+
</div>
|
36 |
+
<div class="feedzy-accordion-item__content">
|
37 |
+
<div class="fz-tabs-menu">
|
38 |
+
<ul>
|
39 |
+
<li>
|
40 |
+
<a href="<?php echo esc_url( admin_url( 'admin.php?page=feedzy-settings&tab=general' ) ); ?>"
|
41 |
+
class="<?php echo 'general' === $active_tab ? esc_attr( 'active' ) : ''; ?>"><?php esc_html_e( 'General', 'feedzy-rss-feeds' ); ?></a>
|
42 |
+
</li>
|
43 |
+
<li>
|
44 |
+
<a href="<?php echo esc_url( admin_url( 'admin.php?page=feedzy-settings&tab=headers' ) ); ?>"
|
45 |
+
class="<?php echo 'headers' === $active_tab ? esc_attr( 'active' ) : ''; ?>"><?php esc_html_e( 'Headers', 'feedzy-rss-feeds' ); ?></a>
|
46 |
+
</li>
|
47 |
+
<li>
|
48 |
+
<a href="<?php echo esc_url( admin_url( 'admin.php?page=feedzy-settings&tab=proxy' ) ); ?>"
|
49 |
+
class="<?php echo 'proxy' === $active_tab ? esc_attr( 'active' ) : ''; ?>"><?php esc_html_e( 'Proxy', 'feedzy-rss-feeds' ); ?></a>
|
50 |
+
</li>
|
51 |
+
<?php
|
52 |
+
$_tabs = apply_filters( 'feedzy_settings_tabs', array() );
|
53 |
+
if ( $_tabs ) {
|
54 |
+
foreach ( $_tabs as $_tab => $label ) {
|
55 |
+
?>
|
56 |
+
<li>
|
57 |
+
<a href="<?php echo esc_url( admin_url( 'admin.php?page=feedzy-settings&tab=' . $_tab ) ); ?>"
|
58 |
+
class="<?php echo $_tab === $active_tab ? esc_attr( 'active' ) : ''; ?>"><?php echo wp_kses_post( $label ); ?></a>
|
59 |
+
</li>
|
60 |
+
<?php
|
61 |
+
}
|
62 |
+
}
|
63 |
+
?>
|
64 |
+
</ul>
|
65 |
+
</div>
|
66 |
|
67 |
+
<form method="post" action="">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
<?php
|
69 |
$disble_featured_image = '';
|
70 |
if ( isset( $settings['general']['rss-feeds'] ) && 1 === intval( $settings['general']['rss-feeds'] ) ) {
|
76 |
switch ( $active_tab ) {
|
77 |
case 'general':
|
78 |
?>
|
79 |
+
<div class="fz-form-wrap">
|
80 |
+
<div class="form-block">
|
81 |
+
<div class="fz-form-group">
|
82 |
+
<div class="fz-form-switch pb-16">
|
83 |
+
<input type="checkbox" id="rss-feeds" class="fz-switch-toggle" name="rss-feeds"
|
84 |
+
value="1" <?php echo esc_html( $disble_featured_image ); ?> />
|
85 |
+
<label for="rss-feeds" class="form-label"><?php echo esc_html_e( 'Do NOT add the featured image to the website\'s RSS feed.', 'feedzy-rss-feeds' ); ?></label>
|
86 |
+
</div>
|
87 |
+
</div>
|
88 |
+
<div class="fz-form-group">
|
89 |
+
<div class="help-text pb-8"><?php esc_html_e( 'Select an image to be the fallback featured image(Feed2Post).', 'feedzy-rss-feeds' ); ?></div>
|
90 |
+
<?php if ( $default_thumbnail_id ) : ?>
|
91 |
+
<div class="fz-form-group feedzy-media-preview">
|
92 |
+
<?php echo wp_get_attachment_image( $default_thumbnail_id, 'thumbnail' ); ?>
|
93 |
+
</div>
|
94 |
+
<?php endif; ?>
|
95 |
+
<div class="fz-cta-group pb-8">
|
96 |
+
<a href="javascript:;" class="feedzy-open-media btn btn-primary"><?php esc_html_e( 'Choose image', 'feedzy-rss-feeds' ); ?></a>
|
97 |
+
<a href="javascript:;" class="feedzy-remove-media btn btn-outline-primary <?php echo $default_thumbnail_id ? esc_attr( 'is-show' ) : ''; ?>"><?php esc_html_e( 'Remove image', 'feedzy-rss-feeds' ); ?></a>
|
98 |
+
<input type="hidden" name="default-thumbnail-id" id="feed-post-default-thumbnail" value="<?php echo esc_attr( $default_thumbnail_id ); ?>">
|
99 |
+
</div>
|
100 |
+
<div class="help-text"><?php esc_html_e( 'This image will be used for the Feed Items that don\'t have one.', 'feedzy-rss-feeds' ); ?></div>
|
|
|
|
|
|
|
|
|
|
|
101 |
</div>
|
102 |
</div>
|
103 |
+
<?php if ( feedzy_is_pro() ) : ?>
|
104 |
+
<div class="form-block">
|
105 |
+
<div class="fz-form-group">
|
106 |
+
<label class="form-label"><?php esc_html_e( 'Delete the posts created from all feeds, after a number of days', 'feedzy-rss-feeds' ); ?></label>
|
107 |
+
<input type="number" min="0" max="9999" id="feedzy_delete_days" name="feedzy-delete-days" class="form-control" value="<?php echo esc_attr( $feedzy_delete_days ); ?>"/>
|
108 |
+
<div class="help-text pt-8"><?php esc_html_e( 'Helpful if you want to remove stale or old items automatically. If you choose 0, it will be considered the individual import setting.', 'feedzy-rss-feeds' ); ?></div>
|
109 |
+
</div>
|
110 |
+
</div>
|
111 |
+
<?php endif; ?>
|
112 |
+
</div>
|
113 |
<?php
|
114 |
break;
|
115 |
case 'headers':
|
116 |
?>
|
117 |
+
<div class="fz-form-wrap">
|
118 |
+
<div class="form-block">
|
119 |
+
<div class="fz-form-group">
|
120 |
+
<label class="form-label"><?php esc_html_e( 'User Agent', 'feedzy-rss-feeds' ); ?></label>
|
121 |
+
<input type="text" class="form-control" name="user-agent" placeholder="Add the user agent string"
|
122 |
+
value="<?php echo isset( $settings['header']['user-agent'] ) ? esc_attr( $settings['header']['user-agent'] ) : ''; ?>">
|
123 |
+
</div>
|
124 |
+
</div>
|
125 |
</div>
|
126 |
<?php
|
127 |
break;
|
128 |
case 'proxy':
|
129 |
?>
|
130 |
+
<div class="fz-form-wrap">
|
131 |
+
<div class="form-block pb-0">
|
132 |
+
<div class="fz-form-row">
|
133 |
+
<div class="fz-form-col-6">
|
134 |
+
<div class="fz-form-group">
|
135 |
+
<label class="form-label"><?php esc_html_e( 'Username', 'feedzy-rss-feeds' ); ?>:</label>
|
136 |
+
<input type="text" class="form-control" name="proxy-user" placeholder="Enter the authorized username"
|
137 |
+
value="<?php echo isset( $settings['proxy']['user'] ) ? esc_attr( $settings['proxy']['user'] ) : ''; ?>">
|
138 |
+
</div>
|
139 |
+
</div>
|
140 |
+
<div class="fz-form-col-6">
|
141 |
+
<div class="fz-form-group">
|
142 |
+
<label class="form-label"><?php esc_html_e( 'Password', 'feedzy-rss-feeds' ); ?>:</label>
|
143 |
+
<input type="password" class="form-control" name="proxy-pass" placeholder="Enter the password for the authorized user"
|
144 |
+
value="<?php echo isset( $settings['proxy']['pass'] ) ? esc_attr( $settings['proxy']['pass'] ) : ''; ?>">
|
145 |
+
</div>
|
146 |
+
</div>
|
147 |
+
<div class="fz-form-col-8">
|
148 |
+
<div class="fz-form-group">
|
149 |
+
<label class="form-label"><?php esc_html_e( 'Host', 'feedzy-rss-feeds' ); ?>:</label>
|
150 |
+
<input type="text" class="form-control" name="proxy-host" placeholder="Enter the IP address or Domain name of the proxy server"
|
151 |
+
value="<?php echo isset( $settings['proxy']['host'] ) ? esc_attr( $settings['proxy']['host'] ) : ''; ?>">
|
152 |
+
<div class="help-text pt-8">Example: 127.0.0.1</div>
|
153 |
+
</div>
|
154 |
+
</div>
|
155 |
+
<div class="fz-form-col-4">
|
156 |
+
<div class="fz-form-group">
|
157 |
+
<label class="form-label"><?php esc_html_e( 'Port', 'feedzy-rss-feeds' ); ?>:</label>
|
158 |
+
<input type="number" min="0" max="65535" class="form-control" name="proxy-port" placeholder="Add the port number"
|
159 |
+
value="<?php echo isset( $settings['proxy']['port'] ) ? esc_attr( (int) $settings['proxy']['port'] ) : ''; ?>">
|
160 |
+
<div class="help-text pt-8">Example: 8080</div>
|
161 |
+
</div>
|
162 |
+
</div>
|
163 |
+
</div>
|
164 |
+
</div>
|
165 |
</div>
|
166 |
<?php
|
167 |
break;
|
185 |
<?php
|
186 |
wp_nonce_field( $active_tab, 'nonce' );
|
187 |
if ( $show_button ) {
|
188 |
+
$disable_button = ! feedzy_is_pro() && in_array( $active_tab, array( 'spinnerchief', 'wordai' ), true ) ? ' disabled' : '';
|
189 |
?>
|
190 |
+
<div class="mb-24">
|
191 |
+
<button type="submit" class="btn btn-primary<?php echo esc_attr( $disable_button ); ?>" id="feedzy-settings-submit" name="feedzy-settings-submit"><?php esc_html_e( 'Save Settings', 'feedzy-rss-feeds' ); ?></button>
|
192 |
+
</div>
|
193 |
<?php
|
194 |
}
|
195 |
?>
|
196 |
+
</form>
|
197 |
+
|
|
|
198 |
</div>
|
199 |
</div>
|
200 |
+
|
201 |
+
<div class="cta pt-30">
|
202 |
+
<a href="<?php echo esc_url( $help_btn_url ); ?>" class="btn btn-ghost" target="_blank"><?php esc_html_e( 'Need help?', 'feedzy-rss-feeds' ); ?></a>
|
203 |
+
</div>
|
204 |
</div>
|
205 |
</div>
|
includes/views/css/import-metabox-edit.css
CHANGED
@@ -4,1943 +4,7 @@
|
|
4 |
* @since 1.2.0
|
5 |
* @package feedzy-rss-feeds-pro
|
6 |
*/
|
7 |
-
.form-control {
|
8 |
-
display: block;
|
9 |
-
width: 100%;
|
10 |
-
height: 34px;
|
11 |
-
padding: 6px 12px;
|
12 |
-
border: 1px solid #ccc;
|
13 |
-
border-radius: 4px;
|
14 |
-
color: #555;
|
15 |
-
background-color: #fff;
|
16 |
-
background-image: none;
|
17 |
-
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
18 |
-
font-size: 14px;
|
19 |
-
line-height: 1.42857143;
|
20 |
-
-webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
|
21 |
-
-webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
|
22 |
-
transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
|
23 |
-
}
|
24 |
-
|
25 |
-
.form-control:focus {
|
26 |
-
border-color: #66afe9;
|
27 |
-
outline: 0;
|
28 |
-
box-shadow: inset 0 1px 1px rgba(0,0,0,0.075), 0 0 8px rgba(102, 175, 233, 0.6);
|
29 |
-
}
|
30 |
-
|
31 |
-
.form-control::-moz-placeholder {
|
32 |
-
opacity: 1;
|
33 |
-
color: #999;
|
34 |
-
}
|
35 |
-
|
36 |
-
.form-control:-ms-input-placeholder {
|
37 |
-
color: #999;
|
38 |
-
}
|
39 |
-
|
40 |
-
.form-control::-webkit-input-placeholder {
|
41 |
-
color: #999;
|
42 |
-
}
|
43 |
-
|
44 |
-
.form-control::-ms-expand {
|
45 |
-
border: 0;
|
46 |
-
background-color: transparent;
|
47 |
-
}
|
48 |
-
|
49 |
-
.form-control[disabled],
|
50 |
-
.form-control[readonly],
|
51 |
-
fieldset[disabled] .form-control {
|
52 |
-
opacity: 1;
|
53 |
-
background-color: #eee;
|
54 |
-
}
|
55 |
-
|
56 |
-
.form-control[disabled],
|
57 |
-
fieldset[disabled] .form-control {
|
58 |
-
cursor: not-allowed;
|
59 |
-
}
|
60 |
-
|
61 |
-
textarea.form-control {
|
62 |
-
height: auto;
|
63 |
-
}
|
64 |
-
|
65 |
-
input[type="search"] {
|
66 |
-
-webkit-appearance: none;
|
67 |
-
}
|
68 |
-
|
69 |
-
@media screen and (-webkit-min-device-pixel-ratio: 0) {
|
70 |
-
input[type="date"].form-control,
|
71 |
-
input[type="time"].form-control,
|
72 |
-
input[type="datetime-local"].form-control,
|
73 |
-
input[type="month"].form-control {
|
74 |
-
line-height: 34px;
|
75 |
-
}
|
76 |
-
|
77 |
-
input[type="date"].input-sm,
|
78 |
-
input[type="time"].input-sm,
|
79 |
-
input[type="datetime-local"].input-sm,
|
80 |
-
input[type="month"].input-sm,
|
81 |
-
.input-group-sm input[type="date"],
|
82 |
-
.input-group-sm input[type="time"],
|
83 |
-
.input-group-sm input[type="datetime-local"],
|
84 |
-
.input-group-sm input[type="month"] {
|
85 |
-
line-height: 30px;
|
86 |
-
}
|
87 |
-
|
88 |
-
input[type="date"].input-lg,
|
89 |
-
input[type="time"].input-lg,
|
90 |
-
input[type="datetime-local"].input-lg,
|
91 |
-
input[type="month"].input-lg,
|
92 |
-
.input-group-lg input[type="date"],
|
93 |
-
.input-group-lg input[type="time"],
|
94 |
-
.input-group-lg input[type="datetime-local"],
|
95 |
-
.input-group-lg input[type="month"] {
|
96 |
-
line-height: 46px;
|
97 |
-
}
|
98 |
-
}
|
99 |
-
|
100 |
-
.form-group {
|
101 |
-
margin-bottom: 15px;
|
102 |
-
}
|
103 |
-
|
104 |
-
.radio,
|
105 |
-
.checkbox {
|
106 |
-
display: block;
|
107 |
-
position: relative;
|
108 |
-
margin-top: 10px;
|
109 |
-
margin-bottom: 10px;
|
110 |
-
}
|
111 |
-
|
112 |
-
.radio label,
|
113 |
-
.checkbox label {
|
114 |
-
min-height: 20px;
|
115 |
-
margin-bottom: 0;
|
116 |
-
padding-left: 20px;
|
117 |
-
font-weight: normal;
|
118 |
-
cursor: pointer;
|
119 |
-
}
|
120 |
-
|
121 |
-
.radio input[type="radio"],
|
122 |
-
.radio-inline input[type="radio"],
|
123 |
-
.checkbox input[type="checkbox"],
|
124 |
-
.checkbox-inline input[type="checkbox"] {
|
125 |
-
position: absolute;
|
126 |
-
margin-top: 4px \9;
|
127 |
-
margin-left: -20px;
|
128 |
-
}
|
129 |
-
|
130 |
-
.radio + .radio,
|
131 |
-
.checkbox + .checkbox {
|
132 |
-
margin-top: -5px;
|
133 |
-
}
|
134 |
-
|
135 |
-
.radio-inline,
|
136 |
-
.checkbox-inline {
|
137 |
-
display: inline-block;
|
138 |
-
position: relative;
|
139 |
-
margin-bottom: 0;
|
140 |
-
padding-left: 20px;
|
141 |
-
font-weight: normal;
|
142 |
-
vertical-align: middle;
|
143 |
-
cursor: pointer;
|
144 |
-
}
|
145 |
-
|
146 |
-
.radio-inline + .radio-inline,
|
147 |
-
.checkbox-inline + .checkbox-inline {
|
148 |
-
margin-top: 0;
|
149 |
-
margin-left: 10px;
|
150 |
-
}
|
151 |
-
|
152 |
-
input[type="radio"][disabled],
|
153 |
-
input[type="checkbox"][disabled],
|
154 |
-
input[type="radio"].disabled,
|
155 |
-
input[type="checkbox"].disabled,
|
156 |
-
fieldset[disabled] input[type="radio"],
|
157 |
-
fieldset[disabled] input[type="checkbox"] {
|
158 |
-
cursor: not-allowed;
|
159 |
-
}
|
160 |
-
|
161 |
-
.radio-inline.disabled,
|
162 |
-
.checkbox-inline.disabled,
|
163 |
-
fieldset[disabled] .radio-inline,
|
164 |
-
fieldset[disabled] .checkbox-inline {
|
165 |
-
cursor: not-allowed;
|
166 |
-
}
|
167 |
-
|
168 |
-
.radio.disabled label,
|
169 |
-
.checkbox.disabled label,
|
170 |
-
fieldset[disabled] .radio label,
|
171 |
-
fieldset[disabled] .checkbox label {
|
172 |
-
cursor: not-allowed;
|
173 |
-
}
|
174 |
-
|
175 |
-
.form-control-static {
|
176 |
-
min-height: 34px;
|
177 |
-
margin-bottom: 0;
|
178 |
-
padding-top: 7px;
|
179 |
-
padding-bottom: 7px;
|
180 |
-
}
|
181 |
-
|
182 |
-
.form-control-static.input-lg,
|
183 |
-
.form-control-static.input-sm {
|
184 |
-
padding-right: 0;
|
185 |
-
padding-left: 0;
|
186 |
-
}
|
187 |
-
|
188 |
-
.input-sm {
|
189 |
-
height: 30px;
|
190 |
-
padding: 5px 10px;
|
191 |
-
border-radius: 3px;
|
192 |
-
font-size: 12px;
|
193 |
-
line-height: 1.5;
|
194 |
-
}
|
195 |
-
|
196 |
-
select.input-sm {
|
197 |
-
height: 30px;
|
198 |
-
line-height: 30px;
|
199 |
-
}
|
200 |
-
|
201 |
-
textarea.input-sm,
|
202 |
-
select[multiple].input-sm {
|
203 |
-
height: auto;
|
204 |
-
}
|
205 |
-
|
206 |
-
.form-group-sm .form-control {
|
207 |
-
height: 30px;
|
208 |
-
padding: 5px 10px;
|
209 |
-
border-radius: 3px;
|
210 |
-
font-size: 12px;
|
211 |
-
line-height: 1.5;
|
212 |
-
}
|
213 |
-
|
214 |
-
.form-group-sm select.form-control {
|
215 |
-
height: 30px;
|
216 |
-
line-height: 30px;
|
217 |
-
}
|
218 |
-
|
219 |
-
.form-group-sm textarea.form-control,
|
220 |
-
.form-group-sm select[multiple].form-control {
|
221 |
-
height: auto;
|
222 |
-
}
|
223 |
-
|
224 |
-
.form-group-sm .form-control-static {
|
225 |
-
height: 30px;
|
226 |
-
min-height: 32px;
|
227 |
-
padding: 6px 10px;
|
228 |
-
font-size: 12px;
|
229 |
-
line-height: 1.5;
|
230 |
-
}
|
231 |
-
|
232 |
-
.input-lg {
|
233 |
-
height: 46px;
|
234 |
-
padding: 10px 16px;
|
235 |
-
border-radius: 6px;
|
236 |
-
font-size: 18px;
|
237 |
-
line-height: 1.3333333;
|
238 |
-
}
|
239 |
-
|
240 |
-
select.input-lg {
|
241 |
-
height: 46px;
|
242 |
-
line-height: 46px;
|
243 |
-
}
|
244 |
-
|
245 |
-
textarea.input-lg,
|
246 |
-
select[multiple].input-lg {
|
247 |
-
height: auto;
|
248 |
-
}
|
249 |
-
|
250 |
-
.form-group-lg .form-control {
|
251 |
-
height: 46px;
|
252 |
-
padding: 10px 16px;
|
253 |
-
border-radius: 6px;
|
254 |
-
font-size: 18px;
|
255 |
-
line-height: 1.3333333;
|
256 |
-
}
|
257 |
-
|
258 |
-
.form-group-lg select.form-control {
|
259 |
-
height: 46px;
|
260 |
-
line-height: 46px;
|
261 |
-
}
|
262 |
-
|
263 |
-
.form-group-lg textarea.form-control,
|
264 |
-
.form-group-lg select[multiple].form-control {
|
265 |
-
height: auto;
|
266 |
-
}
|
267 |
-
|
268 |
-
.form-group-lg .form-control-static {
|
269 |
-
height: 46px;
|
270 |
-
min-height: 38px;
|
271 |
-
padding: 11px 16px;
|
272 |
-
font-size: 18px;
|
273 |
-
line-height: 1.3333333;
|
274 |
-
}
|
275 |
-
|
276 |
-
.has-feedback {
|
277 |
-
position: relative;
|
278 |
-
}
|
279 |
-
|
280 |
-
.has-feedback .form-control {
|
281 |
-
padding-right: 42.5px;
|
282 |
-
}
|
283 |
-
|
284 |
-
.form-control-feedback {
|
285 |
-
display: block;
|
286 |
-
position: absolute;
|
287 |
-
z-index: 2;
|
288 |
-
top: 0;
|
289 |
-
right: 0;
|
290 |
-
width: 34px;
|
291 |
-
height: 34px;
|
292 |
-
line-height: 34px;
|
293 |
-
text-align: center;
|
294 |
-
pointer-events: none;
|
295 |
-
}
|
296 |
-
|
297 |
-
.input-lg + .form-control-feedback,
|
298 |
-
.input-group-lg + .form-control-feedback,
|
299 |
-
.form-group-lg .form-control + .form-control-feedback {
|
300 |
-
width: 46px;
|
301 |
-
height: 46px;
|
302 |
-
line-height: 46px;
|
303 |
-
}
|
304 |
-
|
305 |
-
.input-sm + .form-control-feedback,
|
306 |
-
.input-group-sm + .form-control-feedback,
|
307 |
-
.form-group-sm .form-control + .form-control-feedback {
|
308 |
-
width: 30px;
|
309 |
-
height: 30px;
|
310 |
-
line-height: 30px;
|
311 |
-
}
|
312 |
-
|
313 |
-
.has-success .help-block,
|
314 |
-
.has-success .control-label,
|
315 |
-
.has-success .radio,
|
316 |
-
.has-success .checkbox,
|
317 |
-
.has-success .radio-inline,
|
318 |
-
.has-success .checkbox-inline,
|
319 |
-
.has-success.radio label,
|
320 |
-
.has-success.checkbox label,
|
321 |
-
.has-success.radio-inline label,
|
322 |
-
.has-success.checkbox-inline label {
|
323 |
-
color: #3c763d;
|
324 |
-
}
|
325 |
-
|
326 |
-
.has-success .form-control {
|
327 |
-
border-color: #3c763d;
|
328 |
-
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
329 |
-
}
|
330 |
-
|
331 |
-
.has-success .form-control:focus {
|
332 |
-
border-color: #2b542c;
|
333 |
-
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168;
|
334 |
-
}
|
335 |
-
|
336 |
-
.has-success .input-group-addon {
|
337 |
-
border-color: #3c763d;
|
338 |
-
color: #3c763d;
|
339 |
-
background-color: #dff0d8;
|
340 |
-
}
|
341 |
-
|
342 |
-
.has-success .form-control-feedback {
|
343 |
-
color: #3c763d;
|
344 |
-
}
|
345 |
-
|
346 |
-
.has-warning .help-block,
|
347 |
-
.has-warning .control-label,
|
348 |
-
.has-warning .radio,
|
349 |
-
.has-warning .checkbox,
|
350 |
-
.has-warning .radio-inline,
|
351 |
-
.has-warning .checkbox-inline,
|
352 |
-
.has-warning.radio label,
|
353 |
-
.has-warning.checkbox label,
|
354 |
-
.has-warning.radio-inline label,
|
355 |
-
.has-warning.checkbox-inline label {
|
356 |
-
color: #8a6d3b;
|
357 |
-
}
|
358 |
-
|
359 |
-
.has-warning .form-control {
|
360 |
-
border-color: #8a6d3b;
|
361 |
-
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
362 |
-
}
|
363 |
-
|
364 |
-
.has-warning .form-control:focus {
|
365 |
-
border-color: #66512c;
|
366 |
-
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b;
|
367 |
-
}
|
368 |
-
|
369 |
-
.has-warning .input-group-addon {
|
370 |
-
border-color: #8a6d3b;
|
371 |
-
color: #8a6d3b;
|
372 |
-
background-color: #fcf8e3;
|
373 |
-
}
|
374 |
-
|
375 |
-
.has-warning .form-control-feedback {
|
376 |
-
color: #8a6d3b;
|
377 |
-
}
|
378 |
-
|
379 |
-
.has-error .help-block,
|
380 |
-
.has-error .control-label,
|
381 |
-
.has-error .radio,
|
382 |
-
.has-error .checkbox,
|
383 |
-
.has-error .radio-inline,
|
384 |
-
.has-error .checkbox-inline,
|
385 |
-
.has-error.radio label,
|
386 |
-
.has-error.checkbox label,
|
387 |
-
.has-error.radio-inline label,
|
388 |
-
.has-error.checkbox-inline label {
|
389 |
-
color: #a94442;
|
390 |
-
}
|
391 |
-
|
392 |
-
.has-error .form-control {
|
393 |
-
border-color: #a94442;
|
394 |
-
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
395 |
-
}
|
396 |
-
|
397 |
-
.has-error .form-control:focus {
|
398 |
-
border-color: #843534;
|
399 |
-
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
|
400 |
-
}
|
401 |
-
|
402 |
-
.has-error .input-group-addon {
|
403 |
-
border-color: #a94442;
|
404 |
-
color: #a94442;
|
405 |
-
background-color: #f2dede;
|
406 |
-
}
|
407 |
-
|
408 |
-
.has-error .form-control-feedback {
|
409 |
-
color: #a94442;
|
410 |
-
}
|
411 |
-
|
412 |
-
.has-feedback label ~ .form-control-feedback {
|
413 |
-
top: 25px;
|
414 |
-
}
|
415 |
-
|
416 |
-
.has-feedback label.feedzy-sr-only ~ .form-control-feedback {
|
417 |
-
top: 0;
|
418 |
-
}
|
419 |
-
|
420 |
-
.help-block {
|
421 |
-
display: block;
|
422 |
-
margin-top: 5px;
|
423 |
-
margin-bottom: 10px;
|
424 |
-
color: #737373;
|
425 |
-
}
|
426 |
-
|
427 |
-
@media (min-width: 768px) {
|
428 |
-
.form-inline .form-group {
|
429 |
-
display: inline-block;
|
430 |
-
margin-bottom: 0;
|
431 |
-
vertical-align: middle;
|
432 |
-
}
|
433 |
-
|
434 |
-
.form-inline .form-control {
|
435 |
-
display: inline-block;
|
436 |
-
width: auto;
|
437 |
-
vertical-align: middle;
|
438 |
-
}
|
439 |
-
|
440 |
-
.form-inline .form-control-static {
|
441 |
-
display: inline-block;
|
442 |
-
}
|
443 |
-
|
444 |
-
.form-inline .input-group {
|
445 |
-
display: inline-table;
|
446 |
-
vertical-align: middle;
|
447 |
-
}
|
448 |
-
|
449 |
-
.form-inline .input-group .input-group-addon,
|
450 |
-
.form-inline .input-group .input-group-btn,
|
451 |
-
.form-inline .input-group .form-control {
|
452 |
-
width: auto;
|
453 |
-
}
|
454 |
-
|
455 |
-
.form-inline .input-group > .form-control {
|
456 |
-
width: 100%;
|
457 |
-
}
|
458 |
-
|
459 |
-
.form-inline .control-label {
|
460 |
-
margin-bottom: 0;
|
461 |
-
vertical-align: middle;
|
462 |
-
}
|
463 |
-
|
464 |
-
.form-inline .radio,
|
465 |
-
.form-inline .checkbox {
|
466 |
-
display: inline-block;
|
467 |
-
margin-top: 0;
|
468 |
-
margin-bottom: 0;
|
469 |
-
vertical-align: middle;
|
470 |
-
}
|
471 |
-
|
472 |
-
.form-inline .radio label,
|
473 |
-
.form-inline .checkbox label {
|
474 |
-
padding-left: 0;
|
475 |
-
}
|
476 |
-
|
477 |
-
.form-inline .radio input[type="radio"],
|
478 |
-
.form-inline .checkbox input[type="checkbox"] {
|
479 |
-
position: relative;
|
480 |
-
margin-left: 0;
|
481 |
-
}
|
482 |
-
|
483 |
-
.form-inline .has-feedback .form-control-feedback {
|
484 |
-
top: 0;
|
485 |
-
}
|
486 |
-
}
|
487 |
-
|
488 |
-
.form-horizontal .radio,
|
489 |
-
.form-horizontal .checkbox,
|
490 |
-
.form-horizontal .radio-inline,
|
491 |
-
.form-horizontal .checkbox-inline {
|
492 |
-
margin-top: 0;
|
493 |
-
margin-bottom: 0;
|
494 |
-
padding-top: 7px;
|
495 |
-
}
|
496 |
-
|
497 |
-
.form-horizontal .radio,
|
498 |
-
.form-horizontal .checkbox {
|
499 |
-
min-height: 27px;
|
500 |
-
}
|
501 |
-
|
502 |
-
.form-horizontal .form-group {
|
503 |
-
margin-right: -15px;
|
504 |
-
margin-left: -15px;
|
505 |
-
}
|
506 |
-
|
507 |
-
@media (min-width: 768px) {
|
508 |
-
.form-horizontal .control-label {
|
509 |
-
margin-bottom: 0;
|
510 |
-
padding-top: 7px;
|
511 |
-
text-align: right;
|
512 |
-
}
|
513 |
-
}
|
514 |
-
|
515 |
-
.form-horizontal .has-feedback .form-control-feedback {
|
516 |
-
right: 15px;
|
517 |
-
}
|
518 |
-
|
519 |
-
@media (min-width: 768px) {
|
520 |
-
.form-horizontal .form-group-lg .control-label {
|
521 |
-
padding-top: 11px;
|
522 |
-
font-size: 18px;
|
523 |
-
}
|
524 |
-
}
|
525 |
-
|
526 |
-
@media (min-width: 768px) {
|
527 |
-
.form-horizontal .form-group-sm .control-label {
|
528 |
-
padding-top: 6px;
|
529 |
-
font-size: 12px;
|
530 |
-
}
|
531 |
-
}
|
532 |
-
|
533 |
-
.btn {
|
534 |
-
display: inline-block;
|
535 |
-
margin-bottom: 0;
|
536 |
-
padding: 6px 12px;
|
537 |
-
border: 1px solid transparent;
|
538 |
-
border-radius: 4px;
|
539 |
-
background-image: none;
|
540 |
-
font-size: 14px;
|
541 |
-
font-weight: normal;
|
542 |
-
line-height: 1.42857143;
|
543 |
-
text-align: center;
|
544 |
-
vertical-align: middle;
|
545 |
-
white-space: nowrap;
|
546 |
-
cursor: pointer;
|
547 |
-
-webkit-user-select: none;
|
548 |
-
-moz-user-select: none;
|
549 |
-
-ms-user-select: none;
|
550 |
-
user-select: none;
|
551 |
-
|
552 |
-
-ms-touch-action: manipulation;
|
553 |
-
touch-action: manipulation;
|
554 |
-
}
|
555 |
-
|
556 |
-
.btn:focus,
|
557 |
-
.btn:active:focus,
|
558 |
-
.btn.active:focus,
|
559 |
-
.btn.focus,
|
560 |
-
.btn:active.focus,
|
561 |
-
.btn.active.focus {
|
562 |
-
outline: 5px auto -webkit-focus-ring-color;
|
563 |
-
outline-offset: -2px;
|
564 |
-
}
|
565 |
-
|
566 |
-
.btn:hover,
|
567 |
-
.btn:focus,
|
568 |
-
.btn.focus {
|
569 |
-
color: #333;
|
570 |
-
text-decoration: none;
|
571 |
-
}
|
572 |
-
|
573 |
-
.btn:active,
|
574 |
-
.btn.active {
|
575 |
-
outline: 0;
|
576 |
-
background-image: none;
|
577 |
-
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
578 |
-
}
|
579 |
-
|
580 |
-
.btn.disabled,
|
581 |
-
.btn[disabled],
|
582 |
-
fieldset[disabled] .btn {
|
583 |
-
opacity: 0.65;
|
584 |
-
box-shadow: none;
|
585 |
-
cursor: not-allowed;
|
586 |
-
|
587 |
-
filter: alpha(opacity=65);
|
588 |
-
}
|
589 |
-
|
590 |
-
a.btn.disabled,
|
591 |
-
fieldset[disabled] a.btn {
|
592 |
-
pointer-events: none;
|
593 |
-
}
|
594 |
-
|
595 |
-
.btn-default {
|
596 |
-
border-color: #ccc;
|
597 |
-
color: #333;
|
598 |
-
background-color: #fff;
|
599 |
-
}
|
600 |
-
|
601 |
-
.btn-default:focus,
|
602 |
-
.btn-default.focus {
|
603 |
-
border-color: #8c8c8c;
|
604 |
-
color: #333;
|
605 |
-
background-color: #e6e6e6;
|
606 |
-
}
|
607 |
-
|
608 |
-
.btn-default:hover {
|
609 |
-
border-color: #adadad;
|
610 |
-
color: #333;
|
611 |
-
background-color: #e6e6e6;
|
612 |
-
}
|
613 |
-
|
614 |
-
.btn-default:active,
|
615 |
-
.btn-default.active,
|
616 |
-
.open > .dropdown-toggle.btn-default {
|
617 |
-
border-color: #adadad;
|
618 |
-
color: #333;
|
619 |
-
background-color: #e6e6e6;
|
620 |
-
}
|
621 |
-
|
622 |
-
.btn-default:active:hover,
|
623 |
-
.btn-default.active:hover,
|
624 |
-
.open > .dropdown-toggle.btn-default:hover,
|
625 |
-
.btn-default:active:focus,
|
626 |
-
.btn-default.active:focus,
|
627 |
-
.open > .dropdown-toggle.btn-default:focus,
|
628 |
-
.btn-default:active.focus,
|
629 |
-
.btn-default.active.focus,
|
630 |
-
.open > .dropdown-toggle.btn-default.focus {
|
631 |
-
border-color: #8c8c8c;
|
632 |
-
color: #333;
|
633 |
-
background-color: #d4d4d4;
|
634 |
-
}
|
635 |
-
|
636 |
-
.btn-default:active,
|
637 |
-
.btn-default.active,
|
638 |
-
.open > .dropdown-toggle.btn-default {
|
639 |
-
background-image: none;
|
640 |
-
}
|
641 |
-
|
642 |
-
.btn-default.disabled:hover,
|
643 |
-
.btn-default[disabled]:hover,
|
644 |
-
fieldset[disabled] .btn-default:hover,
|
645 |
-
.btn-default.disabled:focus,
|
646 |
-
.btn-default[disabled]:focus,
|
647 |
-
fieldset[disabled] .btn-default:focus,
|
648 |
-
.btn-default.disabled.focus,
|
649 |
-
.btn-default[disabled].focus,
|
650 |
-
fieldset[disabled] .btn-default.focus {
|
651 |
-
border-color: #ccc;
|
652 |
-
background-color: #fff;
|
653 |
-
}
|
654 |
-
|
655 |
-
.btn-default .badge {
|
656 |
-
color: #fff;
|
657 |
-
background-color: #333;
|
658 |
-
}
|
659 |
-
|
660 |
-
.btn-primary {
|
661 |
-
border-color: #2e6da4;
|
662 |
-
color: #fff;
|
663 |
-
background-color: #337ab7;
|
664 |
-
}
|
665 |
-
|
666 |
-
.btn-primary:focus,
|
667 |
-
.btn-primary.focus {
|
668 |
-
border-color: #122b40;
|
669 |
-
color: #fff;
|
670 |
-
background-color: #286090;
|
671 |
-
}
|
672 |
-
|
673 |
-
.btn-primary:hover {
|
674 |
-
border-color: #204d74;
|
675 |
-
color: #fff;
|
676 |
-
background-color: #286090;
|
677 |
-
}
|
678 |
-
|
679 |
-
.btn-primary:active,
|
680 |
-
.btn-primary.active,
|
681 |
-
.open > .dropdown-toggle.btn-primary {
|
682 |
-
border-color: #204d74;
|
683 |
-
color: #fff;
|
684 |
-
background-color: #286090;
|
685 |
-
}
|
686 |
-
|
687 |
-
.btn-primary:active:hover,
|
688 |
-
.btn-primary.active:hover,
|
689 |
-
.open > .dropdown-toggle.btn-primary:hover,
|
690 |
-
.btn-primary:active:focus,
|
691 |
-
.btn-primary.active:focus,
|
692 |
-
.open > .dropdown-toggle.btn-primary:focus,
|
693 |
-
.btn-primary:active.focus,
|
694 |
-
.btn-primary.active.focus,
|
695 |
-
.open > .dropdown-toggle.btn-primary.focus {
|
696 |
-
border-color: #122b40;
|
697 |
-
color: #fff;
|
698 |
-
background-color: #204d74;
|
699 |
-
}
|
700 |
-
|
701 |
-
.btn-primary:active,
|
702 |
-
.btn-primary.active,
|
703 |
-
.open > .dropdown-toggle.btn-primary {
|
704 |
-
background-image: none;
|
705 |
-
}
|
706 |
-
|
707 |
-
.btn-primary.disabled:hover,
|
708 |
-
.btn-primary[disabled]:hover,
|
709 |
-
fieldset[disabled] .btn-primary:hover,
|
710 |
-
.btn-primary.disabled:focus,
|
711 |
-
.btn-primary[disabled]:focus,
|
712 |
-
fieldset[disabled] .btn-primary:focus,
|
713 |
-
.btn-primary.disabled.focus,
|
714 |
-
.btn-primary[disabled].focus,
|
715 |
-
fieldset[disabled] .btn-primary.focus {
|
716 |
-
border-color: #2e6da4;
|
717 |
-
background-color: #337ab7;
|
718 |
-
}
|
719 |
-
|
720 |
-
.btn-primary .badge {
|
721 |
-
color: #337ab7;
|
722 |
-
background-color: #fff;
|
723 |
-
}
|
724 |
-
|
725 |
-
.btn-success {
|
726 |
-
border-color: #4cae4c;
|
727 |
-
color: #fff;
|
728 |
-
background-color: #5cb85c;
|
729 |
-
}
|
730 |
-
|
731 |
-
.btn-success:focus,
|
732 |
-
.btn-success.focus {
|
733 |
-
border-color: #255625;
|
734 |
-
color: #fff;
|
735 |
-
background-color: #449d44;
|
736 |
-
}
|
737 |
-
|
738 |
-
.btn-success:hover {
|
739 |
-
border-color: #398439;
|
740 |
-
color: #fff;
|
741 |
-
background-color: #449d44;
|
742 |
-
}
|
743 |
-
|
744 |
-
.btn-success:active,
|
745 |
-
.btn-success.active,
|
746 |
-
.open > .dropdown-toggle.btn-success {
|
747 |
-
border-color: #398439;
|
748 |
-
color: #fff;
|
749 |
-
background-color: #449d44;
|
750 |
-
}
|
751 |
-
|
752 |
-
.btn-success:active:hover,
|
753 |
-
.btn-success.active:hover,
|
754 |
-
.open > .dropdown-toggle.btn-success:hover,
|
755 |
-
.btn-success:active:focus,
|
756 |
-
.btn-success.active:focus,
|
757 |
-
.open > .dropdown-toggle.btn-success:focus,
|
758 |
-
.btn-success:active.focus,
|
759 |
-
.btn-success.active.focus,
|
760 |
-
.open > .dropdown-toggle.btn-success.focus {
|
761 |
-
border-color: #255625;
|
762 |
-
color: #fff;
|
763 |
-
background-color: #398439;
|
764 |
-
}
|
765 |
-
|
766 |
-
.btn-success:active,
|
767 |
-
.btn-success.active,
|
768 |
-
.open > .dropdown-toggle.btn-success {
|
769 |
-
background-image: none;
|
770 |
-
}
|
771 |
-
|
772 |
-
.btn-success.disabled:hover,
|
773 |
-
.btn-success[disabled]:hover,
|
774 |
-
fieldset[disabled] .btn-success:hover,
|
775 |
-
.btn-success.disabled:focus,
|
776 |
-
.btn-success[disabled]:focus,
|
777 |
-
fieldset[disabled] .btn-success:focus,
|
778 |
-
.btn-success.disabled.focus,
|
779 |
-
.btn-success[disabled].focus,
|
780 |
-
fieldset[disabled] .btn-success.focus {
|
781 |
-
border-color: #4cae4c;
|
782 |
-
background-color: #5cb85c;
|
783 |
-
}
|
784 |
-
|
785 |
-
.btn-success .badge {
|
786 |
-
color: #5cb85c;
|
787 |
-
background-color: #fff;
|
788 |
-
}
|
789 |
-
|
790 |
-
.btn-info {
|
791 |
-
border-color: #46b8da;
|
792 |
-
color: #fff;
|
793 |
-
background-color: #5bc0de;
|
794 |
-
}
|
795 |
-
|
796 |
-
.btn-info:focus,
|
797 |
-
.btn-info.focus {
|
798 |
-
border-color: #1b6d85;
|
799 |
-
color: #fff;
|
800 |
-
background-color: #31b0d5;
|
801 |
-
}
|
802 |
-
|
803 |
-
.btn-info:hover {
|
804 |
-
border-color: #269abc;
|
805 |
-
color: #fff;
|
806 |
-
background-color: #31b0d5;
|
807 |
-
}
|
808 |
-
|
809 |
-
.btn-info:active,
|
810 |
-
.btn-info.active,
|
811 |
-
.open > .dropdown-toggle.btn-info {
|
812 |
-
border-color: #269abc;
|
813 |
-
color: #fff;
|
814 |
-
background-color: #31b0d5;
|
815 |
-
}
|
816 |
-
|
817 |
-
.btn-info:active:hover,
|
818 |
-
.btn-info.active:hover,
|
819 |
-
.open > .dropdown-toggle.btn-info:hover,
|
820 |
-
.btn-info:active:focus,
|
821 |
-
.btn-info.active:focus,
|
822 |
-
.open > .dropdown-toggle.btn-info:focus,
|
823 |
-
.btn-info:active.focus,
|
824 |
-
.btn-info.active.focus,
|
825 |
-
.open > .dropdown-toggle.btn-info.focus {
|
826 |
-
border-color: #1b6d85;
|
827 |
-
color: #fff;
|
828 |
-
background-color: #269abc;
|
829 |
-
}
|
830 |
-
|
831 |
-
.btn-info:active,
|
832 |
-
.btn-info.active,
|
833 |
-
.open > .dropdown-toggle.btn-info {
|
834 |
-
background-image: none;
|
835 |
-
}
|
836 |
-
|
837 |
-
.btn-info.disabled:hover,
|
838 |
-
.btn-info[disabled]:hover,
|
839 |
-
fieldset[disabled] .btn-info:hover,
|
840 |
-
.btn-info.disabled:focus,
|
841 |
-
.btn-info[disabled]:focus,
|
842 |
-
fieldset[disabled] .btn-info:focus,
|
843 |
-
.btn-info.disabled.focus,
|
844 |
-
.btn-info[disabled].focus,
|
845 |
-
fieldset[disabled] .btn-info.focus {
|
846 |
-
border-color: #46b8da;
|
847 |
-
background-color: #5bc0de;
|
848 |
-
}
|
849 |
-
|
850 |
-
.btn-info .badge {
|
851 |
-
color: #5bc0de;
|
852 |
-
background-color: #fff;
|
853 |
-
}
|
854 |
-
|
855 |
-
.btn-warning {
|
856 |
-
border-color: #eea236;
|
857 |
-
color: #fff;
|
858 |
-
background-color: #f0ad4e;
|
859 |
-
}
|
860 |
-
|
861 |
-
.btn-warning:focus,
|
862 |
-
.btn-warning.focus {
|
863 |
-
border-color: #985f0d;
|
864 |
-
color: #fff;
|
865 |
-
background-color: #ec971f;
|
866 |
-
}
|
867 |
-
|
868 |
-
.btn-warning:hover {
|
869 |
-
border-color: #d58512;
|
870 |
-
color: #fff;
|
871 |
-
background-color: #ec971f;
|
872 |
-
}
|
873 |
-
|
874 |
-
.btn-warning:active,
|
875 |
-
.btn-warning.active,
|
876 |
-
.open > .dropdown-toggle.btn-warning {
|
877 |
-
border-color: #d58512;
|
878 |
-
color: #fff;
|
879 |
-
background-color: #ec971f;
|
880 |
-
}
|
881 |
-
|
882 |
-
.btn-warning:active:hover,
|
883 |
-
.btn-warning.active:hover,
|
884 |
-
.open > .dropdown-toggle.btn-warning:hover,
|
885 |
-
.btn-warning:active:focus,
|
886 |
-
.btn-warning.active:focus,
|
887 |
-
.open > .dropdown-toggle.btn-warning:focus,
|
888 |
-
.btn-warning:active.focus,
|
889 |
-
.btn-warning.active.focus,
|
890 |
-
.open > .dropdown-toggle.btn-warning.focus {
|
891 |
-
border-color: #985f0d;
|
892 |
-
color: #fff;
|
893 |
-
background-color: #d58512;
|
894 |
-
}
|
895 |
-
|
896 |
-
.btn-warning:active,
|
897 |
-
.btn-warning.active,
|
898 |
-
.open > .dropdown-toggle.btn-warning {
|
899 |
-
background-image: none;
|
900 |
-
}
|
901 |
-
|
902 |
-
.btn-warning.disabled:hover,
|
903 |
-
.btn-warning[disabled]:hover,
|
904 |
-
fieldset[disabled] .btn-warning:hover,
|
905 |
-
.btn-warning.disabled:focus,
|
906 |
-
.btn-warning[disabled]:focus,
|
907 |
-
fieldset[disabled] .btn-warning:focus,
|
908 |
-
.btn-warning.disabled.focus,
|
909 |
-
.btn-warning[disabled].focus,
|
910 |
-
fieldset[disabled] .btn-warning.focus {
|
911 |
-
border-color: #eea236;
|
912 |
-
background-color: #f0ad4e;
|
913 |
-
}
|
914 |
-
|
915 |
-
.btn-warning .badge {
|
916 |
-
color: #f0ad4e;
|
917 |
-
background-color: #fff;
|
918 |
-
}
|
919 |
-
|
920 |
-
.btn-danger {
|
921 |
-
border-color: #d43f3a;
|
922 |
-
color: #fff;
|
923 |
-
background-color: #d9534f;
|
924 |
-
}
|
925 |
-
|
926 |
-
.btn-danger:focus,
|
927 |
-
.btn-danger.focus {
|
928 |
-
border-color: #761c19;
|
929 |
-
color: #fff;
|
930 |
-
background-color: #c9302c;
|
931 |
-
}
|
932 |
-
|
933 |
-
.btn-danger:hover {
|
934 |
-
border-color: #ac2925;
|
935 |
-
color: #fff;
|
936 |
-
background-color: #c9302c;
|
937 |
-
}
|
938 |
-
|
939 |
-
.btn-danger:active,
|
940 |
-
.btn-danger.active,
|
941 |
-
.open > .dropdown-toggle.btn-danger {
|
942 |
-
border-color: #ac2925;
|
943 |
-
color: #fff;
|
944 |
-
background-color: #c9302c;
|
945 |
-
}
|
946 |
-
|
947 |
-
.btn-danger:active:hover,
|
948 |
-
.btn-danger.active:hover,
|
949 |
-
.open > .dropdown-toggle.btn-danger:hover,
|
950 |
-
.btn-danger:active:focus,
|
951 |
-
.btn-danger.active:focus,
|
952 |
-
.open > .dropdown-toggle.btn-danger:focus,
|
953 |
-
.btn-danger:active.focus,
|
954 |
-
.btn-danger.active.focus,
|
955 |
-
.open > .dropdown-toggle.btn-danger.focus {
|
956 |
-
border-color: #761c19;
|
957 |
-
color: #fff;
|
958 |
-
background-color: #ac2925;
|
959 |
-
}
|
960 |
-
|
961 |
-
.btn-danger:active,
|
962 |
-
.btn-danger.active,
|
963 |
-
.open > .dropdown-toggle.btn-danger {
|
964 |
-
background-image: none;
|
965 |
-
}
|
966 |
-
|
967 |
-
.btn-danger.disabled:hover,
|
968 |
-
.btn-danger[disabled]:hover,
|
969 |
-
fieldset[disabled] .btn-danger:hover,
|
970 |
-
.btn-danger.disabled:focus,
|
971 |
-
.btn-danger[disabled]:focus,
|
972 |
-
fieldset[disabled] .btn-danger:focus,
|
973 |
-
.btn-danger.disabled.focus,
|
974 |
-
.btn-danger[disabled].focus,
|
975 |
-
fieldset[disabled] .btn-danger.focus {
|
976 |
-
border-color: #d43f3a;
|
977 |
-
background-color: #d9534f;
|
978 |
-
}
|
979 |
-
|
980 |
-
.btn-danger .badge {
|
981 |
-
color: #d9534f;
|
982 |
-
background-color: #fff;
|
983 |
-
}
|
984 |
-
|
985 |
-
.btn-link {
|
986 |
-
border-radius: 0;
|
987 |
-
color: #337ab7;
|
988 |
-
font-weight: normal;
|
989 |
-
}
|
990 |
-
|
991 |
-
.btn-link,
|
992 |
-
.btn-link:active,
|
993 |
-
.btn-link.active,
|
994 |
-
.btn-link[disabled],
|
995 |
-
fieldset[disabled] .btn-link {
|
996 |
-
background-color: transparent;
|
997 |
-
box-shadow: none;
|
998 |
-
}
|
999 |
-
|
1000 |
-
.btn-link,
|
1001 |
-
.btn-link:hover,
|
1002 |
-
.btn-link:focus,
|
1003 |
-
.btn-link:active {
|
1004 |
-
border-color: transparent;
|
1005 |
-
}
|
1006 |
-
|
1007 |
-
.btn-link:hover,
|
1008 |
-
.btn-link:focus {
|
1009 |
-
color: #23527c;
|
1010 |
-
background-color: transparent;
|
1011 |
-
text-decoration: underline;
|
1012 |
-
}
|
1013 |
-
|
1014 |
-
.btn-link[disabled]:hover,
|
1015 |
-
fieldset[disabled] .btn-link:hover,
|
1016 |
-
.btn-link[disabled]:focus,
|
1017 |
-
fieldset[disabled] .btn-link:focus {
|
1018 |
-
color: #777;
|
1019 |
-
text-decoration: none;
|
1020 |
-
}
|
1021 |
-
|
1022 |
-
.btn-lg,
|
1023 |
-
.btn-group-lg > .btn {
|
1024 |
-
padding: 10px 16px;
|
1025 |
-
border-radius: 6px;
|
1026 |
-
font-size: 18px;
|
1027 |
-
line-height: 1.3333333;
|
1028 |
-
}
|
1029 |
-
|
1030 |
-
.btn-sm,
|
1031 |
-
.btn-group-sm > .btn {
|
1032 |
-
padding: 5px 10px;
|
1033 |
-
border-radius: 3px;
|
1034 |
-
font-size: 12px;
|
1035 |
-
line-height: 1.5;
|
1036 |
-
}
|
1037 |
-
|
1038 |
-
.btn-xs,
|
1039 |
-
.btn-group-xs > .btn {
|
1040 |
-
padding: 1px 5px;
|
1041 |
-
border-radius: 3px;
|
1042 |
-
font-size: 12px;
|
1043 |
-
line-height: 1.5;
|
1044 |
-
}
|
1045 |
-
|
1046 |
-
.btn-block {
|
1047 |
-
display: block;
|
1048 |
-
width: 100%;
|
1049 |
-
}
|
1050 |
-
|
1051 |
-
.btn-block + .btn-block {
|
1052 |
-
margin-top: 5px;
|
1053 |
-
}
|
1054 |
-
|
1055 |
-
input[type="submit"].btn-block,
|
1056 |
-
input[type="reset"].btn-block,
|
1057 |
-
input[type="button"].btn-block {
|
1058 |
-
width: 100%;
|
1059 |
-
}
|
1060 |
-
|
1061 |
-
.caret {
|
1062 |
-
display: inline-block;
|
1063 |
-
width: 0;
|
1064 |
-
height: 0;
|
1065 |
-
margin-left: 2px;
|
1066 |
-
border-top: 4px dashed;
|
1067 |
-
border-top: 4px solid \9;
|
1068 |
-
border-right: 4px solid transparent;
|
1069 |
-
border-left: 4px solid transparent;
|
1070 |
-
vertical-align: middle;
|
1071 |
-
}
|
1072 |
-
|
1073 |
-
.dropup,
|
1074 |
-
.dropdown {
|
1075 |
-
position: relative;
|
1076 |
-
}
|
1077 |
-
|
1078 |
-
.dropdown-toggle:focus {
|
1079 |
-
outline: 0;
|
1080 |
-
}
|
1081 |
-
|
1082 |
-
.dropdown-menu {
|
1083 |
-
display: none;
|
1084 |
-
float: left;
|
1085 |
-
position: absolute;
|
1086 |
-
z-index: 1000;
|
1087 |
-
top: 40px;
|
1088 |
-
left: 0;
|
1089 |
-
min-width: 160px;
|
1090 |
-
/* fallback if 100% not supported */
|
1091 |
-
min-width: 100%;
|
1092 |
-
margin: 2px 0 0;
|
1093 |
-
padding: 5px 0;
|
1094 |
-
border: 1px solid #ccc;
|
1095 |
-
border: 1px solid rgba(0, 0, 0, 0.15);
|
1096 |
-
border-radius: 4px;
|
1097 |
-
background-color: #fff;
|
1098 |
-
background-clip: padding-box;
|
1099 |
-
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
1100 |
-
font-size: 14px;
|
1101 |
-
text-align: left;
|
1102 |
-
list-style: none;
|
1103 |
-
}
|
1104 |
-
|
1105 |
-
.dropdown-menu.pull-right {
|
1106 |
-
right: 0;
|
1107 |
-
left: auto;
|
1108 |
-
}
|
1109 |
-
|
1110 |
-
.dropdown-menu .divider {
|
1111 |
-
overflow: hidden;
|
1112 |
-
height: 1px;
|
1113 |
-
margin: 9px 0;
|
1114 |
-
background-color: #e5e5e5;
|
1115 |
-
}
|
1116 |
-
|
1117 |
-
.dropdown-menu > li > a {
|
1118 |
-
display: block;
|
1119 |
-
clear: both;
|
1120 |
-
padding: 3px 20px;
|
1121 |
-
color: #333;
|
1122 |
-
font-weight: normal;
|
1123 |
-
line-height: 1.42857143;
|
1124 |
-
white-space: nowrap;
|
1125 |
-
}
|
1126 |
-
|
1127 |
-
.dropdown-menu > li > a:hover,
|
1128 |
-
.dropdown-menu > li > a:focus {
|
1129 |
-
color: #262626;
|
1130 |
-
background-color: #f5f5f5;
|
1131 |
-
text-decoration: none;
|
1132 |
-
}
|
1133 |
-
|
1134 |
-
.dropdown-menu > .active > a,
|
1135 |
-
.dropdown-menu > .active > a:hover,
|
1136 |
-
.dropdown-menu > .active > a:focus {
|
1137 |
-
outline: 0;
|
1138 |
-
color: #fff;
|
1139 |
-
background-color: #337ab7;
|
1140 |
-
text-decoration: none;
|
1141 |
-
}
|
1142 |
-
|
1143 |
-
.dropdown-menu > .disabled > a,
|
1144 |
-
.dropdown-menu > .disabled > a:hover,
|
1145 |
-
.dropdown-menu > .disabled > a:focus {
|
1146 |
-
color: #777;
|
1147 |
-
}
|
1148 |
-
|
1149 |
-
.dropdown-menu > .disabled > a:hover,
|
1150 |
-
.dropdown-menu > .disabled > a:focus {
|
1151 |
-
background-color: transparent;
|
1152 |
-
background-image: none;
|
1153 |
-
text-decoration: none;
|
1154 |
-
cursor: not-allowed;
|
1155 |
-
|
1156 |
-
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
1157 |
-
}
|
1158 |
-
|
1159 |
-
.open > .dropdown-menu {
|
1160 |
-
display: block;
|
1161 |
-
z-index: 99999999;
|
1162 |
-
}
|
1163 |
-
|
1164 |
-
.open > a {
|
1165 |
-
outline: 0;
|
1166 |
-
}
|
1167 |
-
|
1168 |
-
.dropdown-menu-right {
|
1169 |
-
right: 0;
|
1170 |
-
left: auto;
|
1171 |
-
}
|
1172 |
-
|
1173 |
-
.dropdown-menu-left {
|
1174 |
-
right: auto;
|
1175 |
-
left: 0;
|
1176 |
-
}
|
1177 |
-
|
1178 |
-
.dropdown-header {
|
1179 |
-
display: block;
|
1180 |
-
padding: 3px 20px;
|
1181 |
-
color: #777;
|
1182 |
-
font-size: 12px;
|
1183 |
-
line-height: 1.42857143;
|
1184 |
-
white-space: nowrap;
|
1185 |
-
}
|
1186 |
-
|
1187 |
-
.dropdown-backdrop {
|
1188 |
-
position: fixed;
|
1189 |
-
z-index: 990;
|
1190 |
-
top: 0;
|
1191 |
-
right: 0;
|
1192 |
-
bottom: 0;
|
1193 |
-
left: 0;
|
1194 |
-
}
|
1195 |
-
|
1196 |
-
.pull-right > .dropdown-menu {
|
1197 |
-
right: 0;
|
1198 |
-
left: auto;
|
1199 |
-
}
|
1200 |
-
|
1201 |
-
.dropup .caret,
|
1202 |
-
.navbar-fixed-bottom .dropdown .caret {
|
1203 |
-
border-top: 0;
|
1204 |
-
border-bottom: 4px dashed;
|
1205 |
-
border-bottom: 4px solid \9;
|
1206 |
-
content: "";
|
1207 |
-
}
|
1208 |
-
|
1209 |
-
.dropup .dropdown-menu,
|
1210 |
-
.navbar-fixed-bottom .dropdown .dropdown-menu {
|
1211 |
-
top: auto;
|
1212 |
-
bottom: 100%;
|
1213 |
-
margin-bottom: 2px;
|
1214 |
-
}
|
1215 |
-
|
1216 |
-
@media (min-width: 768px) {
|
1217 |
-
.navbar-right .dropdown-menu {
|
1218 |
-
right: 0;
|
1219 |
-
left: auto;
|
1220 |
-
}
|
1221 |
-
|
1222 |
-
.navbar-right .dropdown-menu-left {
|
1223 |
-
right: auto;
|
1224 |
-
left: 0;
|
1225 |
-
}
|
1226 |
-
}
|
1227 |
-
|
1228 |
-
.btn-group,
|
1229 |
-
.btn-group-vertical {
|
1230 |
-
display: inline-block;
|
1231 |
-
position: relative;
|
1232 |
-
vertical-align: middle;
|
1233 |
-
}
|
1234 |
-
|
1235 |
-
.btn-group > .btn,
|
1236 |
-
.btn-group-vertical > .btn {
|
1237 |
-
float: left;
|
1238 |
-
position: relative;
|
1239 |
-
}
|
1240 |
-
|
1241 |
-
.btn-group > .btn:hover,
|
1242 |
-
.btn-group-vertical > .btn:hover,
|
1243 |
-
.btn-group > .btn:focus,
|
1244 |
-
.btn-group-vertical > .btn:focus,
|
1245 |
-
.btn-group > .btn:active,
|
1246 |
-
.btn-group-vertical > .btn:active,
|
1247 |
-
.btn-group > .btn.active,
|
1248 |
-
.btn-group-vertical > .btn.active {
|
1249 |
-
z-index: 2;
|
1250 |
-
}
|
1251 |
-
|
1252 |
-
.btn-group .btn + .btn,
|
1253 |
-
.btn-group .btn + .btn-group,
|
1254 |
-
.btn-group .btn-group + .btn,
|
1255 |
-
.btn-group .btn-group + .btn-group {
|
1256 |
-
margin-left: -1px;
|
1257 |
-
}
|
1258 |
-
|
1259 |
-
.btn-toolbar {
|
1260 |
-
margin-left: -5px;
|
1261 |
-
}
|
1262 |
-
|
1263 |
-
.btn-toolbar .btn,
|
1264 |
-
.btn-toolbar .btn-group,
|
1265 |
-
.btn-toolbar .input-group {
|
1266 |
-
float: left;
|
1267 |
-
}
|
1268 |
-
|
1269 |
-
.btn-toolbar > .btn,
|
1270 |
-
.btn-toolbar > .btn-group,
|
1271 |
-
.btn-toolbar > .input-group {
|
1272 |
-
margin-left: 5px;
|
1273 |
-
}
|
1274 |
-
|
1275 |
-
.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
|
1276 |
-
border-radius: 0;
|
1277 |
-
}
|
1278 |
-
|
1279 |
-
.btn-group > .btn:first-child {
|
1280 |
-
margin-left: 0;
|
1281 |
-
}
|
1282 |
-
|
1283 |
-
.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
|
1284 |
-
border-top-right-radius: 0;
|
1285 |
-
border-bottom-right-radius: 0;
|
1286 |
-
}
|
1287 |
-
|
1288 |
-
.btn-group > .btn:last-child:not(:first-child),
|
1289 |
-
.btn-group > .dropdown-toggle:not(:first-child) {
|
1290 |
-
border-top-left-radius: 0;
|
1291 |
-
border-bottom-left-radius: 0;
|
1292 |
-
}
|
1293 |
-
|
1294 |
-
.btn-group > .btn-group {
|
1295 |
-
float: left;
|
1296 |
-
}
|
1297 |
-
|
1298 |
-
.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
|
1299 |
-
border-radius: 0;
|
1300 |
-
}
|
1301 |
-
|
1302 |
-
.btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child,
|
1303 |
-
.btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
|
1304 |
-
border-top-right-radius: 0;
|
1305 |
-
border-bottom-right-radius: 0;
|
1306 |
-
}
|
1307 |
-
|
1308 |
-
.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {
|
1309 |
-
border-top-left-radius: 0;
|
1310 |
-
border-bottom-left-radius: 0;
|
1311 |
-
}
|
1312 |
-
|
1313 |
-
.btn-group .dropdown-toggle:active,
|
1314 |
-
.btn-group.open .dropdown-toggle {
|
1315 |
-
outline: 0;
|
1316 |
-
}
|
1317 |
-
|
1318 |
-
.btn-group > .btn + .dropdown-toggle {
|
1319 |
-
padding-right: 8px;
|
1320 |
-
padding-left: 8px;
|
1321 |
-
}
|
1322 |
-
|
1323 |
-
.btn-group > .btn-lg + .dropdown-toggle {
|
1324 |
-
padding-right: 12px;
|
1325 |
-
padding-left: 12px;
|
1326 |
-
}
|
1327 |
-
|
1328 |
-
.btn-group.open .dropdown-toggle {
|
1329 |
-
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
1330 |
-
}
|
1331 |
-
|
1332 |
-
.btn-group.open .dropdown-toggle.btn-link {
|
1333 |
-
box-shadow: none;
|
1334 |
-
}
|
1335 |
-
|
1336 |
-
.btn .caret {
|
1337 |
-
margin-left: 0;
|
1338 |
-
}
|
1339 |
-
|
1340 |
-
.btn-lg .caret {
|
1341 |
-
border-width: 5px 5px 0;
|
1342 |
-
border-bottom-width: 0;
|
1343 |
-
}
|
1344 |
-
|
1345 |
-
.dropup .btn-lg .caret {
|
1346 |
-
border-width: 0 5px 5px;
|
1347 |
-
}
|
1348 |
-
|
1349 |
-
.btn-group-vertical > .btn,
|
1350 |
-
.btn-group-vertical > .btn-group,
|
1351 |
-
.btn-group-vertical > .btn-group > .btn {
|
1352 |
-
display: block;
|
1353 |
-
float: none;
|
1354 |
-
width: 100%;
|
1355 |
-
max-width: 100%;
|
1356 |
-
}
|
1357 |
-
|
1358 |
-
.btn-group-vertical > .btn-group > .btn {
|
1359 |
-
float: none;
|
1360 |
-
}
|
1361 |
-
|
1362 |
-
.btn-group-vertical > .btn + .btn,
|
1363 |
-
.btn-group-vertical > .btn + .btn-group,
|
1364 |
-
.btn-group-vertical > .btn-group + .btn,
|
1365 |
-
.btn-group-vertical > .btn-group + .btn-group {
|
1366 |
-
margin-top: -1px;
|
1367 |
-
margin-left: 0;
|
1368 |
-
}
|
1369 |
-
|
1370 |
-
.btn-group-vertical > .btn:not(:first-child):not(:last-child) {
|
1371 |
-
border-radius: 0;
|
1372 |
-
}
|
1373 |
-
|
1374 |
-
.btn-group-vertical > .btn:first-child:not(:last-child) {
|
1375 |
-
border-top-left-radius: 4px;
|
1376 |
-
border-top-right-radius: 4px;
|
1377 |
-
border-bottom-right-radius: 0;
|
1378 |
-
border-bottom-left-radius: 0;
|
1379 |
-
}
|
1380 |
-
|
1381 |
-
.btn-group-vertical > .btn:last-child:not(:first-child) {
|
1382 |
-
border-top-left-radius: 0;
|
1383 |
-
border-top-right-radius: 0;
|
1384 |
-
border-bottom-right-radius: 4px;
|
1385 |
-
border-bottom-left-radius: 4px;
|
1386 |
-
}
|
1387 |
-
|
1388 |
-
.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
|
1389 |
-
border-radius: 0;
|
1390 |
-
}
|
1391 |
-
|
1392 |
-
.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child,
|
1393 |
-
.btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
|
1394 |
-
border-bottom-right-radius: 0;
|
1395 |
-
border-bottom-left-radius: 0;
|
1396 |
-
}
|
1397 |
-
|
1398 |
-
.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {
|
1399 |
-
border-top-left-radius: 0;
|
1400 |
-
border-top-right-radius: 0;
|
1401 |
-
}
|
1402 |
-
|
1403 |
-
.btn-group-justified {
|
1404 |
-
display: table;
|
1405 |
-
width: 100%;
|
1406 |
-
table-layout: fixed;
|
1407 |
-
border-collapse: separate;
|
1408 |
-
}
|
1409 |
-
|
1410 |
-
.btn-group-justified > .btn,
|
1411 |
-
.btn-group-justified > .btn-group {
|
1412 |
-
display: table-cell;
|
1413 |
-
float: none;
|
1414 |
-
width: 1%;
|
1415 |
-
}
|
1416 |
-
|
1417 |
-
.btn-group-justified > .btn-group .btn {
|
1418 |
-
width: 100%;
|
1419 |
-
}
|
1420 |
-
|
1421 |
-
.btn-group-justified > .btn-group .dropdown-menu {
|
1422 |
-
left: auto;
|
1423 |
-
}
|
1424 |
-
|
1425 |
-
[data-toggle="buttons"] > .btn input[type="radio"],
|
1426 |
-
[data-toggle="buttons"] > .btn-group > .btn input[type="radio"],
|
1427 |
-
[data-toggle="buttons"] > .btn input[type="checkbox"],
|
1428 |
-
[data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] {
|
1429 |
-
clip: rect(0, 0, 0, 0);
|
1430 |
-
position: absolute;
|
1431 |
-
pointer-events: none;
|
1432 |
-
}
|
1433 |
-
|
1434 |
-
.input-group {
|
1435 |
-
display: table;
|
1436 |
-
position: relative;
|
1437 |
-
border-collapse: separate;
|
1438 |
-
}
|
1439 |
-
|
1440 |
-
.input-group[class*="col-"] {
|
1441 |
-
float: none;
|
1442 |
-
padding-right: 0;
|
1443 |
-
padding-left: 0;
|
1444 |
-
}
|
1445 |
-
|
1446 |
-
.input-group .form-control {
|
1447 |
-
float: left;
|
1448 |
-
position: relative;
|
1449 |
-
z-index: 2;
|
1450 |
-
width: 100%;
|
1451 |
-
margin-bottom: 0;
|
1452 |
-
}
|
1453 |
-
|
1454 |
-
.input-group .form-control:focus {
|
1455 |
-
z-index: 3;
|
1456 |
-
}
|
1457 |
-
|
1458 |
-
.input-group-lg > .form-control,
|
1459 |
-
.input-group-lg > .input-group-addon,
|
1460 |
-
.input-group-lg > .input-group-btn > .btn {
|
1461 |
-
height: 46px;
|
1462 |
-
padding: 10px 16px;
|
1463 |
-
border-radius: 6px;
|
1464 |
-
font-size: 18px;
|
1465 |
-
line-height: 1.3333333;
|
1466 |
-
}
|
1467 |
-
|
1468 |
-
select.input-group-lg > .form-control,
|
1469 |
-
select.input-group-lg > .input-group-addon,
|
1470 |
-
select.input-group-lg > .input-group-btn > .btn {
|
1471 |
-
height: 46px;
|
1472 |
-
line-height: 46px;
|
1473 |
-
}
|
1474 |
-
|
1475 |
-
textarea.input-group-lg > .form-control,
|
1476 |
-
textarea.input-group-lg > .input-group-addon,
|
1477 |
-
textarea.input-group-lg > .input-group-btn > .btn,
|
1478 |
-
select[multiple].input-group-lg > .form-control,
|
1479 |
-
select[multiple].input-group-lg > .input-group-addon,
|
1480 |
-
select[multiple].input-group-lg > .input-group-btn > .btn {
|
1481 |
-
height: auto;
|
1482 |
-
}
|
1483 |
-
|
1484 |
-
.input-group-sm > .form-control,
|
1485 |
-
.input-group-sm > .input-group-addon,
|
1486 |
-
.input-group-sm > .input-group-btn > .btn {
|
1487 |
-
height: 30px;
|
1488 |
-
padding: 5px 10px;
|
1489 |
-
border-radius: 3px;
|
1490 |
-
font-size: 12px;
|
1491 |
-
line-height: 1.5;
|
1492 |
-
}
|
1493 |
-
|
1494 |
-
select.input-group-sm > .form-control,
|
1495 |
-
select.input-group-sm > .input-group-addon,
|
1496 |
-
select.input-group-sm > .input-group-btn > .btn {
|
1497 |
-
height: 30px;
|
1498 |
-
line-height: 30px;
|
1499 |
-
}
|
1500 |
-
|
1501 |
-
textarea.input-group-sm > .form-control,
|
1502 |
-
textarea.input-group-sm > .input-group-addon,
|
1503 |
-
textarea.input-group-sm > .input-group-btn > .btn,
|
1504 |
-
select[multiple].input-group-sm > .form-control,
|
1505 |
-
select[multiple].input-group-sm > .input-group-addon,
|
1506 |
-
select[multiple].input-group-sm > .input-group-btn > .btn {
|
1507 |
-
height: auto;
|
1508 |
-
}
|
1509 |
-
|
1510 |
-
.input-group-addon,
|
1511 |
-
.input-group-btn,
|
1512 |
-
.input-group .form-control {
|
1513 |
-
display: table-cell;
|
1514 |
-
}
|
1515 |
-
|
1516 |
-
.input-group-addon:not(:first-child):not(:last-child),
|
1517 |
-
.input-group-btn:not(:first-child):not(:last-child),
|
1518 |
-
.input-group .form-control:not(:first-child):not(:last-child) {
|
1519 |
-
border-radius: 0;
|
1520 |
-
}
|
1521 |
-
|
1522 |
-
.input-group-addon,
|
1523 |
-
.input-group-btn {
|
1524 |
-
width: 1%;
|
1525 |
-
vertical-align: top;
|
1526 |
-
white-space: nowrap;
|
1527 |
-
}
|
1528 |
-
|
1529 |
-
.input-group-addon {
|
1530 |
-
padding: 6px 12px;
|
1531 |
-
border: 1px solid #ccc;
|
1532 |
-
border-radius: 4px;
|
1533 |
-
color: #555;
|
1534 |
-
background-color: #eee;
|
1535 |
-
font-size: 14px;
|
1536 |
-
font-weight: normal;
|
1537 |
-
line-height: 1;
|
1538 |
-
text-align: center;
|
1539 |
-
}
|
1540 |
-
|
1541 |
-
.input-group-addon.input-sm {
|
1542 |
-
padding: 5px 10px;
|
1543 |
-
border-radius: 3px;
|
1544 |
-
font-size: 12px;
|
1545 |
-
}
|
1546 |
-
|
1547 |
-
.input-group-addon.input-lg {
|
1548 |
-
padding: 10px 16px;
|
1549 |
-
border-radius: 6px;
|
1550 |
-
font-size: 18px;
|
1551 |
-
}
|
1552 |
-
|
1553 |
-
.input-group-addon input[type="radio"],
|
1554 |
-
.input-group-addon input[type="checkbox"] {
|
1555 |
-
margin-top: 0;
|
1556 |
-
}
|
1557 |
-
|
1558 |
-
.input-group .form-control:first-child,
|
1559 |
-
.input-group-addon:first-child,
|
1560 |
-
.input-group-btn:first-child > .btn,
|
1561 |
-
.input-group-btn:first-child > .btn-group > .btn,
|
1562 |
-
.input-group-btn:first-child > .dropdown-toggle,
|
1563 |
-
.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
|
1564 |
-
.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
|
1565 |
-
border-top-right-radius: 0;
|
1566 |
-
border-bottom-right-radius: 0;
|
1567 |
-
}
|
1568 |
-
|
1569 |
-
.input-group-addon:first-child {
|
1570 |
-
border-right: 0;
|
1571 |
-
}
|
1572 |
-
|
1573 |
-
.input-group .form-control:last-child,
|
1574 |
-
.input-group-addon:last-child,
|
1575 |
-
.input-group-btn:last-child > .btn,
|
1576 |
-
.input-group-btn:last-child > .btn-group > .btn,
|
1577 |
-
.input-group-btn:last-child > .dropdown-toggle,
|
1578 |
-
.input-group-btn:first-child > .btn:not(:first-child),
|
1579 |
-
.input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
|
1580 |
-
border-top-left-radius: 0;
|
1581 |
-
border-bottom-left-radius: 0;
|
1582 |
-
}
|
1583 |
-
|
1584 |
-
.input-group-addon:last-child {
|
1585 |
-
border-left: 0;
|
1586 |
-
}
|
1587 |
-
|
1588 |
-
.input-group-btn {
|
1589 |
-
position: relative;
|
1590 |
-
font-size: 0;
|
1591 |
-
white-space: nowrap;
|
1592 |
-
}
|
1593 |
-
|
1594 |
-
.input-group-btn > .btn {
|
1595 |
-
position: relative;
|
1596 |
-
}
|
1597 |
-
|
1598 |
-
.input-group-btn > .btn + .btn {
|
1599 |
-
margin-left: -1px;
|
1600 |
-
}
|
1601 |
-
|
1602 |
-
.input-group-btn > .btn:hover,
|
1603 |
-
.input-group-btn > .btn:focus,
|
1604 |
-
.input-group-btn > .btn:active {
|
1605 |
-
z-index: 2;
|
1606 |
-
}
|
1607 |
-
|
1608 |
-
.input-group-btn:first-child > .btn,
|
1609 |
-
.input-group-btn:first-child > .btn-group {
|
1610 |
-
margin-right: -1px;
|
1611 |
-
}
|
1612 |
-
|
1613 |
-
.input-group-btn:last-child > .btn,
|
1614 |
-
.input-group-btn:last-child > .btn-group {
|
1615 |
-
z-index: 2;
|
1616 |
-
margin-left: -1px;
|
1617 |
-
}
|
1618 |
-
|
1619 |
-
|
1620 |
-
.label_description,
|
1621 |
-
.form_item {
|
1622 |
-
margin-top: 8px;
|
1623 |
-
margin-bottom: 8px;
|
1624 |
-
}
|
1625 |
-
|
1626 |
-
.label_description h4 {
|
1627 |
-
text-align: center;
|
1628 |
-
text-transform: uppercase;
|
1629 |
-
}
|
1630 |
-
|
1631 |
-
a.dropdown-item,
|
1632 |
-
span.dropdown-item[disabled] {
|
1633 |
-
display: block;
|
1634 |
-
padding: 5px 8px;
|
1635 |
-
color: #f35b3f;
|
1636 |
-
text-align: center;
|
1637 |
-
text-decoration: none;
|
1638 |
-
}
|
1639 |
-
|
1640 |
-
span.dropdown-item[disabled] {
|
1641 |
-
color: #808080;
|
1642 |
-
}
|
1643 |
-
|
1644 |
-
a:hover.dropdown-item,
|
1645 |
-
a:focus.dropdown-item {
|
1646 |
-
color: #f89c8b;
|
1647 |
-
background-color: #f8f8f8;
|
1648 |
-
}
|
1649 |
-
|
1650 |
-
.btn.btn-add-fields {
|
1651 |
-
background-color: #099bb2;
|
1652 |
-
}
|
1653 |
-
|
1654 |
-
.btn.btn-add-fields:hover {
|
1655 |
-
background-color: #14b2cc;
|
1656 |
-
}
|
1657 |
-
|
1658 |
-
.btn.btn-remove-fields {
|
1659 |
-
color: #f35b3f;
|
1660 |
-
}
|
1661 |
-
|
1662 |
-
.btn.btn-remove-fields:hover {
|
1663 |
-
color: #f89c8b;
|
1664 |
-
}
|
1665 |
-
|
1666 |
-
.btn > span.dashicons {
|
1667 |
-
vertical-align: middle;
|
1668 |
-
}
|
1669 |
-
|
1670 |
-
.f1 {
|
1671 |
-
padding: 30px;
|
1672 |
-
padding-top: 10px;
|
1673 |
-
border-radius: 4px;
|
1674 |
-
background: #fff;
|
1675 |
-
}
|
1676 |
-
|
1677 |
-
.f1 h3 {
|
1678 |
-
margin-top: 0;
|
1679 |
-
margin-bottom: 10px;
|
1680 |
-
text-transform: uppercase;
|
1681 |
-
background-color: #f1f1f1;
|
1682 |
-
padding: 5px;
|
1683 |
-
border-radius: 5px;
|
1684 |
-
text-indent: 1%;
|
1685 |
-
}
|
1686 |
-
|
1687 |
-
.f1 h3:nth-of-type(n+2) {
|
1688 |
-
margin-top: 30px;
|
1689 |
-
}
|
1690 |
-
|
1691 |
-
.f1-steps {
|
1692 |
-
overflow: hidden;
|
1693 |
-
position: relative;
|
1694 |
-
margin-top: 20px;
|
1695 |
-
}
|
1696 |
-
|
1697 |
-
.f1-progress {
|
1698 |
-
position: absolute;
|
1699 |
-
top: 24px;
|
1700 |
-
left: 0;
|
1701 |
-
width: 100%;
|
1702 |
-
height: 1px;
|
1703 |
-
background: #ddd;
|
1704 |
-
}
|
1705 |
-
|
1706 |
-
.f1-progress-line {
|
1707 |
-
position: absolute;
|
1708 |
-
top: 0;
|
1709 |
-
left: 0;
|
1710 |
-
height: 1px;
|
1711 |
-
background: #f35b3f;
|
1712 |
-
}
|
1713 |
-
|
1714 |
-
.f1-step {
|
1715 |
-
display: inline-block;
|
1716 |
-
position: relative;
|
1717 |
-
width: calc(100%/3 - 10px);
|
1718 |
-
width: -webkit-calc(100%/3 - 10px);
|
1719 |
-
text-align: center;
|
1720 |
-
}
|
1721 |
-
|
1722 |
-
.f1-step-icon {
|
1723 |
-
display: inline-block;
|
1724 |
-
width: 40px;
|
1725 |
-
height: 40px;
|
1726 |
-
margin-top: 4px;
|
1727 |
-
border-radius: 50%;
|
1728 |
-
color: #fff;
|
1729 |
-
background: #ddd;
|
1730 |
-
font-size: 16px;
|
1731 |
-
line-height: 40px;
|
1732 |
-
}
|
1733 |
-
|
1734 |
-
.f1-step-icon span {
|
1735 |
-
display: inline-block;
|
1736 |
-
width: 18px;
|
1737 |
-
height: 18px;
|
1738 |
-
padding: 11px;
|
1739 |
-
font-size: 18px;
|
1740 |
-
}
|
1741 |
-
|
1742 |
-
.f1-step.activated .f1-step-icon span {
|
1743 |
-
width: 20px;
|
1744 |
-
height: 20px;
|
1745 |
-
margin-top: -2px;
|
1746 |
-
margin-left: -1px;
|
1747 |
-
padding: 12px;
|
1748 |
-
font-size: 20px;
|
1749 |
-
}
|
1750 |
-
|
1751 |
-
.f1-step.active .f1-step-icon span {
|
1752 |
-
width: 24px;
|
1753 |
-
height: 24px;
|
1754 |
-
padding: 12px;
|
1755 |
-
font-size: 24px;
|
1756 |
-
}
|
1757 |
-
|
1758 |
-
.f1-step.activated .f1-step-icon {
|
1759 |
-
border: 1px solid #f35b3f;
|
1760 |
-
color: #f35b3f;
|
1761 |
-
background: #fff;
|
1762 |
-
line-height: 48px;
|
1763 |
-
}
|
1764 |
-
|
1765 |
-
.f1-step.active .f1-step-icon {
|
1766 |
-
width: 48px;
|
1767 |
-
height: 48px;
|
1768 |
-
margin-top: 0;
|
1769 |
-
background: #f35b3f;
|
1770 |
-
font-size: 22px;
|
1771 |
-
line-height: 48px;
|
1772 |
-
}
|
1773 |
-
|
1774 |
-
.f1-step p {
|
1775 |
-
color: #ccc;
|
1776 |
-
}
|
1777 |
-
|
1778 |
-
.f1-step.activated p {
|
1779 |
-
color: #f35b3f;
|
1780 |
-
}
|
1781 |
-
|
1782 |
-
.f1-step.active p {
|
1783 |
-
color: #f35b3f;
|
1784 |
-
}
|
1785 |
-
|
1786 |
-
.f1 fieldset {
|
1787 |
-
text-align: left;
|
1788 |
-
}
|
1789 |
-
|
1790 |
-
.f1-buttons {
|
1791 |
-
text-align: right;
|
1792 |
-
}
|
1793 |
-
|
1794 |
-
.f1 .input-error {
|
1795 |
-
border-color: #f35b3f;
|
1796 |
-
}
|
1797 |
-
|
1798 |
-
#poststuff input[type="text"],
|
1799 |
-
#poststuff input[type="password"],
|
1800 |
-
#poststuff input[type="number"],
|
1801 |
-
#poststuff input[type="datetime-local"],
|
1802 |
-
#poststuff textarea,
|
1803 |
-
#poststuff textarea.form-control {
|
1804 |
-
width: 100%;
|
1805 |
-
height: 44px;
|
1806 |
-
margin: 0;
|
1807 |
-
padding: 0 20px;
|
1808 |
-
border: 1px solid #ddd;
|
1809 |
-
border-radius: 4px;
|
1810 |
-
color: #888;
|
1811 |
-
background: #fff !important;
|
1812 |
-
box-shadow: none;
|
1813 |
-
font-family: "Roboto", sans-serif;
|
1814 |
-
font-size: 16px;
|
1815 |
-
font-weight: 300;
|
1816 |
-
line-height: 44px;
|
1817 |
-
vertical-align: middle;
|
1818 |
-
-webkit-transition: all 0.3s;
|
1819 |
-
transition: all 0.3s;
|
1820 |
-
}
|
1821 |
-
|
1822 |
-
#poststuff textarea,
|
1823 |
-
#poststuff textarea.form-control {
|
1824 |
-
height: 90px;
|
1825 |
-
}
|
1826 |
-
|
1827 |
-
#poststuff input[type="text"]:focus,
|
1828 |
-
#poststuff input[type="password"]:focus,
|
1829 |
-
#poststuff input[type="number"]:focus,
|
1830 |
-
#poststuff textarea:focus,
|
1831 |
-
#poststuff textarea.form-control:focus {
|
1832 |
-
border: 1px solid #ccc;
|
1833 |
-
outline: 0;
|
1834 |
-
background: #fff;
|
1835 |
-
box-shadow: none;
|
1836 |
-
}
|
1837 |
-
|
1838 |
-
#poststuff input[type="text"]:-moz-placeholder,
|
1839 |
-
#poststuff input[type="password"]:-moz-placeholder,
|
1840 |
-
#poststuff input[type="number"]:-moz-placeholder,
|
1841 |
-
#poststuff textarea:-moz-placeholder,
|
1842 |
-
#poststuff textarea.form-control:-moz-placeholder {
|
1843 |
-
color: #888;
|
1844 |
-
}
|
1845 |
-
|
1846 |
-
#poststuff input[type="text"]:-ms-input-placeholder,
|
1847 |
-
#poststuff input[type="password"]:-ms-input-placeholder,
|
1848 |
-
#poststuff input[type="number"]:-ms-input-placeholder,
|
1849 |
-
#poststuff textarea:-ms-input-placeholder,
|
1850 |
-
#poststuff textarea.form-control:-ms-input-placeholder {
|
1851 |
-
color: #888;
|
1852 |
-
}
|
1853 |
-
|
1854 |
-
#poststuff input[type="text"]::-webkit-input-placeholder,
|
1855 |
-
#poststuff input[type="password"]::-webkit-input-placeholder,
|
1856 |
-
#poststuff input[type="number"]::-webkit-input-placeholder,
|
1857 |
-
#poststuff textarea::-webkit-input-placeholder,
|
1858 |
-
#poststuff textarea.form-control::-webkit-input-placeholder {
|
1859 |
-
color: #888;
|
1860 |
-
}
|
1861 |
-
|
1862 |
-
label {
|
1863 |
-
font-weight: 300;
|
1864 |
-
}
|
1865 |
-
|
1866 |
-
label.feedzy-sr-only {
|
1867 |
-
font-weight: 400;
|
1868 |
-
}
|
1869 |
-
|
1870 |
-
fieldset.feedzy-screen3 label.feedzy-sr-only {
|
1871 |
-
font-size: larger;
|
1872 |
-
}
|
1873 |
-
|
1874 |
-
button.btn {
|
1875 |
-
min-width: 105px;
|
1876 |
-
height: 44px;
|
1877 |
-
margin: 0;
|
1878 |
-
padding: 0 20px;
|
1879 |
-
border: 0;
|
1880 |
-
border-radius: 4px;
|
1881 |
-
color: #fff;
|
1882 |
-
box-shadow: none;
|
1883 |
-
text-shadow: none;
|
1884 |
-
font-family: "Roboto", sans-serif;
|
1885 |
-
font-size: 16px;
|
1886 |
-
font-weight: 300;
|
1887 |
-
line-height: 40px;
|
1888 |
-
vertical-align: middle;
|
1889 |
-
-webkit-transition: all 0.3s;
|
1890 |
-
transition: all 0.3s;
|
1891 |
-
}
|
1892 |
-
|
1893 |
-
button.btn:hover {
|
1894 |
-
opacity: 0.6;
|
1895 |
-
color: #fff;
|
1896 |
-
}
|
1897 |
-
|
1898 |
-
button.btn:active {
|
1899 |
-
outline: 0;
|
1900 |
-
opacity: 0.6;
|
1901 |
-
color: #fff;
|
1902 |
-
box-shadow: none;
|
1903 |
-
}
|
1904 |
-
|
1905 |
-
button.btn:focus,
|
1906 |
-
button.btn:active:focus,
|
1907 |
-
button.btn.active:focus {
|
1908 |
-
outline: 0;
|
1909 |
-
opacity: 0.6;
|
1910 |
-
color: #fff;
|
1911 |
-
}
|
1912 |
-
|
1913 |
-
button.btn.btn-next,
|
1914 |
-
button.btn.btn-next:focus,
|
1915 |
-
button.btn.btn-next:active:focus,
|
1916 |
-
button.btn.btn-next.active:focus {
|
1917 |
-
background: #f35b3f;
|
1918 |
-
}
|
1919 |
-
|
1920 |
-
button.btn.btn-submit,
|
1921 |
-
button.btn.btn-submit:focus,
|
1922 |
-
button.btn.btn-submit:active:focus,
|
1923 |
-
button.btn.btn-submit.active:focus {
|
1924 |
-
background: #f35b3f;
|
1925 |
-
}
|
1926 |
-
|
1927 |
-
button.btn.btn-previous,
|
1928 |
-
button.btn.btn-previous:focus,
|
1929 |
-
button.btn.btn-previous:active:focus,
|
1930 |
-
button.btn.btn-previous.active:focus {
|
1931 |
-
background: #bbb;
|
1932 |
-
}
|
1933 |
-
|
1934 |
-
button.btn.btn-submit.btn-activate,
|
1935 |
-
button.btn.btn-submit.btn-activate:focus,
|
1936 |
-
button.btn.btn-submit.btn-activate:active:focus,
|
1937 |
-
button.btn.btn-submit.btn-activate.active:focus {
|
1938 |
-
background: #8ce196;
|
1939 |
-
}
|
1940 |
|
1941 |
-
/*
|
1942 |
-
Toggle switches
|
1943 |
-
*/
|
1944 |
.feedzy-toggle {
|
1945 |
visibility: hidden;
|
1946 |
position: absolute;
|
@@ -2001,192 +65,39 @@ input.feedzy-toggle-round:checked + label:after {
|
|
2001 |
margin-left: 36px;
|
2002 |
}
|
2003 |
|
2004 |
-
|
2005 |
-
|
2006 |
-
|
2007 |
-
display: inline-block;
|
2008 |
-
width: 10%;
|
2009 |
-
vertical-align: middle;
|
2010 |
-
border-bottom: none !important;
|
2011 |
-
}
|
2012 |
-
|
2013 |
-
div.feedzy-row {
|
2014 |
-
border-bottom: 1px solid #efefef;
|
2015 |
-
min-height: 90px;
|
2016 |
-
}
|
2017 |
-
|
2018 |
-
div.feedzy-separator {
|
2019 |
-
font-size: 30px;
|
2020 |
-
}
|
2021 |
-
|
2022 |
-
div.feedzy-row > div.form_item {
|
2023 |
-
display: inline-table;
|
2024 |
-
}
|
2025 |
-
|
2026 |
-
div.feedzy-row > div.label_description,
|
2027 |
-
div.feedzy-row > div.form_item {
|
2028 |
-
width: 43%;
|
2029 |
-
}
|
2030 |
-
|
2031 |
-
.feedzy-inline {
|
2032 |
-
display: inline-block !important;
|
2033 |
-
}
|
2034 |
-
|
2035 |
-
/*
|
2036 |
-
!!! CAUTION -- Hides Core WordPress Post Elements
|
2037 |
-
*/
|
2038 |
-
|
2039 |
-
#poststuff #post-body.columns-2 {
|
2040 |
-
margin-right: 0;
|
2041 |
-
}
|
2042 |
-
|
2043 |
-
div#side-sortables {
|
2044 |
-
display: none;
|
2045 |
-
}
|
2046 |
-
|
2047 |
-
#titlediv .inside {
|
2048 |
-
display: none;
|
2049 |
-
}
|
2050 |
-
|
2051 |
-
div#advanced-sortables {
|
2052 |
-
display: none;
|
2053 |
-
}
|
2054 |
-
|
2055 |
-
div.feedzy-custom-right {
|
2056 |
-
text-indent: 5%;
|
2057 |
-
}
|
2058 |
-
|
2059 |
-
span.feedzy-spinner {
|
2060 |
-
float: none !important;
|
2061 |
-
}
|
2062 |
-
|
2063 |
-
|
2064 |
-
.only-pro,
|
2065 |
-
.only-pro input,
|
2066 |
-
.only-pro button,
|
2067 |
-
.only-pro textarea,
|
2068 |
-
.only-pro select {
|
2069 |
-
cursor: not-allowed !important;
|
2070 |
-
}
|
2071 |
-
|
2072 |
-
.only-pro .chosen-container,
|
2073 |
-
.only-pro .chosen-single {
|
2074 |
-
pointer-events: none;
|
2075 |
-
}
|
2076 |
-
|
2077 |
-
.only-pro > div {
|
2078 |
-
position: relative;
|
2079 |
}
|
2080 |
|
2081 |
-
.
|
|
|
|
|
2082 |
position: absolute;
|
2083 |
-
top:
|
2084 |
-
bottom:
|
2085 |
-
left:
|
2086 |
-
|
2087 |
-
opacity: 0;
|
2088 |
-
background: rgba(253,253,253,0.9);
|
2089 |
-
transition: 0.5s ease;
|
2090 |
-
z-index: 99999;
|
2091 |
-
}
|
2092 |
-
|
2093 |
-
.only-pro:hover .only-pro-content {
|
2094 |
-
opacity: 1;
|
2095 |
-
}
|
2096 |
-
|
2097 |
-
.only-pro:hover input,
|
2098 |
-
.only-pro:hover label,
|
2099 |
-
.only-pro:hover button,
|
2100 |
-
.only-pro:hover textarea,
|
2101 |
-
.only-pro:hover select,
|
2102 |
-
.only-pro:hover button,
|
2103 |
-
.only-pro:hover ~ button,
|
2104 |
-
.only-pro:hover .chosen-container,
|
2105 |
-
.only-pro:hover .chosen-single,
|
2106 |
-
.only-pro:hover .label_description,
|
2107 |
-
.only-pro:hover select option {
|
2108 |
-
opacity: 0.3;
|
2109 |
-
}
|
2110 |
-
|
2111 |
-
.only-pro-container {
|
2112 |
-
display: table;
|
2113 |
-
width: 100%;
|
2114 |
-
height: 100%;
|
2115 |
-
}
|
2116 |
-
|
2117 |
-
.only-pro-inner {
|
2118 |
-
display: table-cell;
|
2119 |
-
vertical-align: middle;
|
2120 |
-
}
|
2121 |
-
|
2122 |
-
.only-pro-content p {
|
2123 |
-
margin: 0px 15px;
|
2124 |
-
padding: 15px;
|
2125 |
-
font-size: 14px;
|
2126 |
-
font-weight: 700;
|
2127 |
-
}
|
2128 |
-
|
2129 |
-
.only-pro-content a {
|
2130 |
-
display: inline-block;
|
2131 |
-
padding: 7px 12px;
|
2132 |
-
color: #fff;
|
2133 |
-
background: #ff595e;
|
2134 |
-
font-weight: 600;
|
2135 |
-
text-decoration: none;
|
2136 |
-
text-transform: uppercase;
|
2137 |
-
transition: 0.1s ease;
|
2138 |
-
}
|
2139 |
-
|
2140 |
-
.only-pro-content a:hover {
|
2141 |
-
background: #ce484c;
|
2142 |
-
}
|
2143 |
-
|
2144 |
-
.feedzy-highlight {
|
2145 |
-
background-color: #f1f1f1;
|
2146 |
-
padding: 1%;
|
2147 |
-
}
|
2148 |
-
|
2149 |
-
.feedzy-dialog {
|
2150 |
-
display: none;
|
2151 |
-
}
|
2152 |
-
|
2153 |
-
.feedzy-button-inside {
|
2154 |
-
position: relative;
|
2155 |
-
}
|
2156 |
-
|
2157 |
-
.feedzy-button-inside input {
|
2158 |
-
outline: none;
|
2159 |
}
|
2160 |
|
2161 |
-
.feedzy-
|
2162 |
-
|
2163 |
-
|
2164 |
-
position: absolute;
|
2165 |
-
right: 0px;
|
2166 |
-
top: 0px;
|
2167 |
-
border: none;
|
2168 |
-
height: 43px;
|
2169 |
-
width: 43px;
|
2170 |
-
outline: none;
|
2171 |
-
text-align: center;
|
2172 |
-
font-weight: bold;
|
2173 |
-
z-index: 999;
|
2174 |
background-color: #f1f1f1;
|
2175 |
-
|
2176 |
-
|
2177 |
}
|
2178 |
|
2179 |
-
.feedzy-
|
2180 |
-
|
2181 |
-
|
2182 |
-
|
|
|
|
|
2183 |
}
|
2184 |
-
|
2185 |
-
|
2186 |
-
font-size: 15px;
|
2187 |
-
line-height: 1.5;
|
2188 |
}
|
2189 |
-
|
2190 |
#TB_ajaxContent ul {
|
2191 |
list-style: decimal;
|
2192 |
margin-left: 20px;
|
@@ -2196,7 +107,6 @@ span.feedzy-spinner {
|
|
2196 |
padding: 5px !important;
|
2197 |
}
|
2198 |
|
2199 |
-
|
2200 |
#TB_ajaxContent p.loading-img {
|
2201 |
text-align: center;
|
2202 |
}
|
@@ -2215,42 +125,4 @@ span.feedzy-spinner {
|
|
2215 |
|
2216 |
#TB_ajaxContent div.dry_run span i.fail {
|
2217 |
color: #ca4a1f;
|
2218 |
-
}
|
2219 |
-
|
2220 |
-
.custom_fields .ui-autocomplete-loading {
|
2221 |
-
background: url('../../../img/spin_light.gif') right center no-repeat !important;
|
2222 |
-
-webkit-transition: none !important;
|
2223 |
-
transition: none !important;
|
2224 |
-
}
|
2225 |
-
.ui-autocomplete {
|
2226 |
-
max-height: 150px;
|
2227 |
-
overflow-y: auto;
|
2228 |
-
overflow-x: hidden;
|
2229 |
-
border-radius: 0 0 4px 4px;
|
2230 |
-
background-clip: padding-box;
|
2231 |
-
border: 1px solid #ddd;
|
2232 |
-
border-top: 0;
|
2233 |
-
background: #fff;
|
2234 |
-
box-shadow: 0 4px 5px rgb(0 0 0 / 15%);
|
2235 |
-
}
|
2236 |
-
#poststuff input[type="text"].feedzy-keyword-filter {
|
2237 |
-
width: 98%;
|
2238 |
-
}
|
2239 |
-
.form-group .feedzy_from_date {
|
2240 |
-
width: 49%;
|
2241 |
-
float: left;
|
2242 |
-
}
|
2243 |
-
.form-group .feedzy_to_date {
|
2244 |
-
width: 49%;
|
2245 |
-
float: right;
|
2246 |
-
}
|
2247 |
-
.form-group.item-date-filter {
|
2248 |
-
padding-top: 0 !important;
|
2249 |
-
}
|
2250 |
-
.form-group.item-date-filter input {
|
2251 |
-
padding: 0 10px !important;
|
2252 |
-
}
|
2253 |
-
.feedzy-chosen-nosearch + .chosen-container .chosen-search {
|
2254 |
-
clip: rect(0, 0, 0, 0);
|
2255 |
-
position: absolute;
|
2256 |
}
|
4 |
* @since 1.2.0
|
5 |
* @package feedzy-rss-feeds-pro
|
6 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
|
|
|
|
|
|
8 |
.feedzy-toggle {
|
9 |
visibility: hidden;
|
10 |
position: absolute;
|
65 |
margin-left: 36px;
|
66 |
}
|
67 |
|
68 |
+
input.feedzy-toggle-round + label {
|
69 |
+
padding: 2px;
|
70 |
+
background-color: #ddd;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
}
|
72 |
|
73 |
+
input.feedzy-toggle-round + label:before,
|
74 |
+
input.feedzy-toggle-round + label:after {
|
75 |
+
display: block;
|
76 |
position: absolute;
|
77 |
+
top: 1px;
|
78 |
+
bottom: 1px;
|
79 |
+
left: 1px;
|
80 |
+
content: "";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
}
|
82 |
|
83 |
+
input.feedzy-toggle-round + label:before {
|
84 |
+
right: 1px;
|
85 |
+
border-radius: 15px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
background-color: #f1f1f1;
|
87 |
+
-webkit-transition: background 0.4s;
|
88 |
+
transition: background 0.4s;
|
89 |
}
|
90 |
|
91 |
+
input.feedzy-toggle-round + label:after {
|
92 |
+
border-radius: 100%;
|
93 |
+
background-color: #fff;
|
94 |
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
|
95 |
+
-webkit-transition: margin 0.4s;
|
96 |
+
transition: margin 0.4s;
|
97 |
}
|
98 |
+
span.feedzy-spinner {
|
99 |
+
float: none !important;
|
|
|
|
|
100 |
}
|
|
|
101 |
#TB_ajaxContent ul {
|
102 |
list-style: decimal;
|
103 |
margin-left: 20px;
|
107 |
padding: 5px !important;
|
108 |
}
|
109 |
|
|
|
110 |
#TB_ajaxContent p.loading-img {
|
111 |
text-align: center;
|
112 |
}
|
125 |
|
126 |
#TB_ajaxContent div.dry_run span i.fail {
|
127 |
color: #ca4a1f;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
128 |
}
|
includes/views/css/tagify.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
@charset "UTF-8";:root{--tagify-dd-color-primary:rgb(53,149,246);--tagify-dd-bg-color:white}.tagify{--tags-disabled-bg:#F1F1F1;--tags-border-color:#DDD;--tags-hover-border-color:#CCC;--tags-focus-border-color:#3595f6;--tag-bg:#E5E5E5;--tag-hover:#D3E2E2;--tag-text-color:black;--tag-text-color--edit:black;--tag-pad:0.3em 0.5em;--tag-inset-shadow-size:1.1em;--tag-invalid-color:#D39494;--tag-invalid-bg:rgba(211, 148, 148, 0.5);--tag-remove-bg:rgba(211, 148, 148, 0.3);--tag-remove-btn-color:black;--tag-remove-btn-bg:none;--tag-remove-btn-bg--hover:#c77777;--input-color:inherit;--tag--min-width:1ch;--tag--max-width:auto;--tag-hide-transition:0.3s;--placeholder-color:rgba(0, 0, 0, 0.4);--placeholder-color-focus:rgba(0, 0, 0, 0.25);--loader-size:.8em;--readonly-striped:1;display:flex;align-items:flex-start;flex-wrap:wrap;border:1px solid #ddd;border:1px solid var(--tags-border-color);padding:0;line-height:0;cursor:text;outline:0;position:relative;box-sizing:border-box;transition:.1s}@keyframes tags--bump{30%{transform:scale(1.2)}}@keyframes rotateLoader{to{transform:rotate(1turn)}}.tagify:hover{border-color:#ccc;border-color:var(--tags-hover-border-color)}.tagify.tagify--focus{transition:0s;border-color:#3595f6;border-color:var(--tags-focus-border-color)}.tagify[disabled]{background:var(--tags-disabled-bg);filter:saturate(0);opacity:.5;pointer-events:none}.tagify[readonly].tagify--select{pointer-events:none}.tagify[readonly]:not(.tagify--mix):not(.tagify--select){cursor:default}.tagify[readonly]:not(.tagify--mix):not(.tagify--select)>.tagify__input{visibility:hidden;width:0;margin:5px 0}.tagify[readonly]:not(.tagify--mix):not(.tagify--select) .tagify__tag>div{padding:.3em .5em;padding:var(--tag-pad)}.tagify[readonly]:not(.tagify--mix):not(.tagify--select) .tagify__tag>div::before{animation:readonlyStyles 1s calc(-1s * (var(--readonly-striped) - 1)) paused}@keyframes readonlyStyles{0%{background:linear-gradient(45deg,var(--tag-bg) 25%,transparent 25%,transparent 50%,var(--tag-bg) 50%,var(--tag-bg) 75%,transparent 75%,transparent) 0/5px 5px;box-shadow:none;filter:brightness(.95)}}.tagify[readonly] .tagify__tag__removeBtn{display:none}.tagify--loading .tagify__input>br:last-child{display:none}.tagify--loading .tagify__input::before{content:none}.tagify--loading .tagify__input::after{content:"";vertical-align:middle;opacity:1;width:.7em;height:.7em;width:var(--loader-size);height:var(--loader-size);border:3px solid;border-color:#eee #bbb #888 transparent;border-radius:50%;animation:rotateLoader .4s infinite linear;content:""!important;margin:-2px 0 -2px .5em}.tagify--loading .tagify__input:empty::after{margin-left:0}.tagify+input,.tagify+textarea{position:absolute!important;left:-9999em!important;transform:scale(0)!important}.tagify__tag{display:inline-flex;align-items:center;margin:5px 0 5px 5px;position:relative;z-index:1;outline:0;line-height:normal;cursor:default;transition:.13s ease-out}.tagify__tag>div{vertical-align:top;box-sizing:border-box;max-width:100%;padding:.3em .5em;padding:var(--tag-pad,.3em .5em);color:#000;color:var(--tag-text-color,#000);line-height:inherit;border-radius:3px;white-space:nowrap;transition:.13s ease-out}.tagify__tag>div>*{white-space:pre-wrap;overflow:hidden;text-overflow:ellipsis;display:inline-block;vertical-align:top;min-width:1ch;max-width:auto;min-width:var(--tag--min-width,1ch);max-width:var(--tag--max-width,auto);transition:.8s ease,.1s color}.tagify__tag>div>[contenteditable]{outline:0;-webkit-user-select:text;user-select:text;cursor:text;margin:-2px;padding:2px;max-width:350px}.tagify__tag>div::before{content:"";position:absolute;border-radius:inherit;left:0;top:0;right:0;bottom:0;z-index:-1;pointer-events:none;transition:120ms ease;animation:tags--bump .3s ease-out 1;box-shadow:0 0 0 1.1em #e5e5e5 inset;box-shadow:0 0 0 var(--tag-inset-shadow-size,1.1em) var(--tag-bg,#e5e5e5) inset}.tagify__tag:focus div::before,.tagify__tag:hover:not([readonly]) div::before{top:-2px;right:-2px;bottom:-2px;left:-2px;box-shadow:0 0 0 1.1em #d3e2e2 inset;box-shadow:0 0 0 var(--tag-inset-shadow-size,1.1em) var(--tag-hover,#d3e2e2) inset}.tagify__tag--loading{pointer-events:none}.tagify__tag--loading .tagify__tag__removeBtn{display:none}.tagify__tag--loading::after{--loader-size:.4em;content:"";vertical-align:middle;opacity:1;width:.7em;height:.7em;width:var(--loader-size);height:var(--loader-size);border:3px solid;border-color:#eee #bbb #888 transparent;border-radius:50%;animation:rotateLoader .4s infinite linear;margin:0 .5em 0 -.1em}.tagify__tag--flash div::before{animation:none}.tagify__tag--hide{width:0!important;padding-left:0;padding-right:0;margin-left:0;margin-right:0;opacity:0;transform:scale(0);transition:.3s;transition:var(--tag-hide-transition,.3s);pointer-events:none}.tagify__tag--hide>div>*{white-space:nowrap}.tagify__tag.tagify--noAnim>div::before{animation:none}.tagify__tag.tagify--notAllowed:not(.tagify__tag--editable) div>span{opacity:.5}.tagify__tag.tagify--notAllowed:not(.tagify__tag--editable) div::before{box-shadow:0 0 0 1.1em rgba(211,148,148,.5) inset!important;box-shadow:0 0 0 var(--tag-inset-shadow-size,1.1em) var(--tag-invalid-bg,rgba(211,148,148,.5)) inset!important;transition:.2s}.tagify__tag[readonly] .tagify__tag__removeBtn{display:none}.tagify__tag[readonly]>div::before{animation:readonlyStyles 1s calc(-1s * (var(--readonly-striped) - 1)) paused}@keyframes readonlyStyles{0%{background:linear-gradient(45deg,var(--tag-bg) 25%,transparent 25%,transparent 50%,var(--tag-bg) 50%,var(--tag-bg) 75%,transparent 75%,transparent) 0/5px 5px;box-shadow:none;filter:brightness(.95)}}.tagify__tag--editable>div{color:#000;color:var(--tag-text-color--edit,#000)}.tagify__tag--editable>div::before{box-shadow:0 0 0 2px #d3e2e2 inset!important;box-shadow:0 0 0 2px var(--tag-hover,#d3e2e2) inset!important}.tagify__tag--editable>.tagify__tag__removeBtn{pointer-events:none}.tagify__tag--editable>.tagify__tag__removeBtn::after{opacity:0;transform:translateX(100%) translateX(5px)}.tagify__tag--editable.tagify--invalid>div::before{box-shadow:0 0 0 2px #d39494 inset!important;box-shadow:0 0 0 2px var(--tag-invalid-color,#d39494) inset!important}.tagify__tag__removeBtn{order:5;display:inline-flex;align-items:center;justify-content:center;border-radius:50px;cursor:pointer;font:14px/1 Arial;background:0 0;background:var(--tag-remove-btn-bg,none);color:#000;color:var(--tag-remove-btn-color,#000);width:14px;height:14px;margin-right:4.6666666667px;margin-left:auto;overflow:hidden;transition:.2s ease-out}.tagify__tag__removeBtn::after{content:"×";transition:.3s,color 0s}.tagify__tag__removeBtn:hover{color:#fff;background:#c77777;background:var(--tag-remove-btn-bg--hover,#c77777)}.tagify__tag__removeBtn:hover+div>span{opacity:.5}.tagify__tag__removeBtn:hover+div::before{box-shadow:0 0 0 1.1em rgba(211,148,148,.3) inset!important;box-shadow:0 0 0 var(--tag-inset-shadow-size,1.1em) var(--tag-remove-bg,rgba(211,148,148,.3)) inset!important;transition:box-shadow .2s}.tagify:not(.tagify--mix) .tagify__input br{display:none}.tagify:not(.tagify--mix) .tagify__input *{display:inline;white-space:nowrap}.tagify__input{flex-grow:1;display:inline-block;min-width:110px;margin:5px;padding:.3em .5em;padding:var(--tag-pad,.3em .5em);line-height:normal;position:relative;white-space:pre-wrap;color:inherit;color:var(--input-color,inherit);box-sizing:inherit}.tagify__input:focus{outline:0}.tagify__input:focus::before{transition:.2s ease-out;opacity:0;transform:translatex(6px)}@supports (-ms-ime-align:auto){.tagify__input:focus::before{display:none}}.tagify__input:focus:empty::before{transition:.2s ease-out;opacity:1;transform:none;color:rgba(0,0,0,.25);color:var(--placeholder-color-focus)}@-moz-document url-prefix(){.tagify__input:focus:empty::after{display:none}}.tagify__input::before{content:attr(data-placeholder);height:1em;line-height:1em;margin:auto 0;z-index:1;color:rgba(0,0,0,.4);color:var(--placeholder-color);white-space:nowrap;pointer-events:none;opacity:0;position:absolute}.tagify__input::after{content:attr(data-suggest);display:inline-block;white-space:pre;color:#000;opacity:.3;pointer-events:none;max-width:100px}.tagify__input .tagify__tag{margin:0 1px}.tagify--mix{display:block}.tagify--mix .tagify__input{padding:5px;margin:0;width:100%;height:100%;line-height:1.5;display:block}.tagify--mix .tagify__input::before{height:auto;display:none;line-height:inherit}.tagify--mix .tagify__input::after{content:none}.tagify--select::after{content:">";opacity:.5;position:absolute;top:50%;right:0;bottom:0;font:16px monospace;line-height:8px;height:8px;pointer-events:none;transform:translate(-150%,-50%) scaleX(1.2) rotate(90deg);transition:.2s ease-in-out}.tagify--select[aria-expanded=true]::after{transform:translate(-150%,-50%) rotate(270deg) scaleY(1.2)}.tagify--select .tagify__tag{position:absolute;top:0;right:1.8em;bottom:0}.tagify--select .tagify__tag div{display:none}.tagify--select .tagify__input{width:100%}.tagify--empty .tagify__input::before{transition:.2s ease-out;opacity:1;transform:none;display:inline-block;width:auto}.tagify--mix .tagify--empty .tagify__input::before{display:inline-block}.tagify--invalid{--tags-border-color:#D39494}.tagify__dropdown{position:absolute;z-index:9999;transform:translateY(1px);overflow:hidden}.tagify__dropdown[placement=top]{margin-top:0;transform:translateY(-100%)}.tagify__dropdown[placement=top] .tagify__dropdown__wrapper{border-top-width:1.1px;border-bottom-width:0}.tagify__dropdown[position=text]{box-shadow:0 0 0 3px rgba(var(--tagify-dd-color-primary),.1);font-size:.9em}.tagify__dropdown[position=text] .tagify__dropdown__wrapper{border-width:1px}.tagify__dropdown__wrapper{max-height:300px;overflow:auto;background:#fff;background:var(--tagify-dd-bg-color);border:1px solid #3595f6;border-color:var(--tagify-dd-color-primary);border-bottom-width:1.33px;border-top-width:0;box-shadow:0 2px 4px -2px rgba(0,0,0,.2);transition:.25s cubic-bezier(0,1,.5,1)}.tagify__dropdown--initial .tagify__dropdown__wrapper{max-height:20px;transform:translateY(-1em)}.tagify__dropdown--initial[placement=top] .tagify__dropdown__wrapper{transform:translateY(2em)}.tagify__dropdown__item{box-sizing:inherit;padding:.3em .5em;margin:1px;cursor:pointer;border-radius:2px;position:relative;outline:0}.tagify__dropdown__item--active{background:#3595f6;background:var(--tagify-dd-color-primary);color:#fff}.tagify__dropdown__item:active{filter:brightness(105%)}
|
includes/views/import-metabox-edit.php
CHANGED
@@ -5,522 +5,947 @@
|
|
5 |
* @since 1.2.0
|
6 |
* @package feedzy-rss-feeds-pro
|
7 |
*/
|
8 |
-
?>
|
9 |
-
<div class="f1" id="feedzy-import-form">
|
10 |
-
|
11 |
-
<h3><span class="dashicons dashicons-rss"></span> <?php esc_html_e( 'Sources', 'feedzy-rss-feeds' ); ?></h3>
|
12 |
-
|
13 |
-
<div class="form-group">
|
14 |
-
<label class="feedzy-sr-only"><?php esc_html_e( 'RSS Feed sources (comma separated URLs or Feed Categories slug)', 'feedzy-rss-feeds' ); ?></label>
|
15 |
-
</div>
|
16 |
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
<div class="
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
<?php esc_html_e( 'Use Feed Category', 'feedzy-rss-feeds' ); ?> <span class="dashicons dashicons-arrow-down-alt2"></span>
|
33 |
-
</button>
|
34 |
-
<div class="dropdown-menu dropdown-menu-right">
|
35 |
-
<?php
|
36 |
-
foreach ( $feed_categories as $category ) {
|
37 |
-
?>
|
38 |
-
<a class="dropdown-item source" href="#" data-field-name="source" data-field-tag="<?php echo esc_attr( $category->post_name ); ?>"><?php echo wp_kses_post( $category->post_title ); ?></a>
|
39 |
-
<?php
|
40 |
-
}
|
41 |
-
?>
|
42 |
-
</div>
|
43 |
-
<?php
|
44 |
-
} else {
|
45 |
-
?>
|
46 |
-
<button type="button" class=" disabled btn-add-fields btn " >
|
47 |
-
<?php esc_html_e( 'No feed categories available', 'feedzy-rss-feeds' ); ?>
|
48 |
</button>
|
49 |
-
<?php
|
50 |
-
|
51 |
-
}
|
52 |
-
?>
|
53 |
</div>
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
</div>
|
80 |
</div>
|
81 |
</div>
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
<div class="form-group input-group form_item">
|
93 |
-
<input type="text" name="feedzy_meta_data[exc_key]" placeholder="<?php esc_html_e( '(eg. news, stock + market etc.)', 'feedzy-rss-feeds' ); ?>" class="form-control feedzy-keyword-filter" value="<?php echo esc_attr( $exc_key ); ?>"/>
|
94 |
-
<div class="input-group-btn">
|
95 |
-
<select class="form-control feedzy-chosen feedzy-chosen-nosearch" name="feedzy_meta_data[exc_on]">
|
96 |
-
<?php
|
97 |
-
foreach ( $keyword_filter_fields as $field ) :
|
98 |
-
$field_val = sanitize_key( $field );
|
99 |
-
?>
|
100 |
-
<option value="<?php echo esc_attr( $field_val ); ?>"<?php selected( $exc_on, $field_val ); ?>><?php echo esc_html( $field ); ?></option>
|
101 |
-
<?php endforeach; ?>
|
102 |
-
</select>
|
103 |
-
</div>
|
104 |
-
</div>
|
105 |
</div>
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
124 |
</div>
|
125 |
-
</div>
|
126 |
-
</div>
|
127 |
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
133 |
</div>
|
134 |
-
</div>
|
135 |
-
<div class="feedzy-separator"></div>
|
136 |
-
<div class="form-group input-group form_item">
|
137 |
-
<input type="number" min="0" max="9999" id="feedzy_item_limit" name="feedzy_meta_data[import_feed_limit]" class="form-control" value="<?php echo esc_attr( (int) $import_feed_limit ); ?>"/>
|
138 |
-
</div>
|
139 |
-
</div>
|
140 |
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
147 |
</div>
|
148 |
</div>
|
149 |
-
<div class="feedzy-separator"></div>
|
150 |
-
<div class="form-group input-group form_item">
|
151 |
-
<input type="number" min="0" max="9999" id="feedzy_delete_days" name="feedzy_meta_data[import_feed_delete_days]" class="form-control" value="<?php echo esc_attr( (int) $import_feed_delete_days ); ?>"/>
|
152 |
-
</div>
|
153 |
</div>
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
</
|
163 |
-
<div class="feedzy-separator"></div>
|
164 |
-
<div class="form-group input-group form_item">
|
165 |
-
<div>
|
166 |
-
<input id="remove-duplicates" name="feedzy_meta_data[import_remove_duplicates]" class="feedzy-toggle feedzy-toggle-round" type="checkbox" value="yes" <?php echo esc_attr( $import_remove_duplicates ); ?>>
|
167 |
-
<label for="remove-duplicates" class="feedzy-inline"></label>
|
168 |
-
<label class="feedzy-inline" style="margin-left: 10px;" for="import_remove_duplicates"></label>
|
169 |
-
</div>
|
170 |
-
</div>
|
171 |
</div>
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
<label class="feedzy-sr-only"><?php esc_html_e( 'Assign language', 'feedzy-rss-feeds' ); ?></label>
|
176 |
-
<div>
|
177 |
-
<small><?php esc_html_e( 'Select the language the content will have when it will be imported', 'feedzy-rss-feeds' ); ?></small>
|
178 |
-
</div>
|
179 |
-
</div>
|
180 |
-
<div class="feedzy-separator dashicons dashicons-leftright"></div>
|
181 |
-
<div class="form-group input-group form_item">
|
182 |
-
<select id="feedzy_site_language" class="form-control feedzy-chosen" name="feedzy_meta_data[language]">
|
183 |
<?php
|
184 |
-
|
185 |
-
|
186 |
-
$languages = icl_get_languages();
|
187 |
-
foreach ( $languages as $language ) {
|
188 |
-
$selected = '';
|
189 |
-
$code = isset( $language['language_code'] ) ? $language['language_code'] : $language['code'];
|
190 |
-
$name = isset( $language['translated_name'] ) && ! empty( $language['translated_name'] ) ? $language['translated_name'] : $language['native_name'];
|
191 |
-
if ( $code === $import_selected_language ) {
|
192 |
-
$selected = 'selected';
|
193 |
-
}
|
194 |
-
?>
|
195 |
-
<option value="<?php echo esc_attr( $code ); ?>" <?php echo esc_attr( $selected ); ?>><?php echo esc_html( $name ); ?></option>
|
196 |
-
<?php
|
197 |
-
}
|
198 |
?>
|
199 |
-
|
|
|
|
|
|
|
200 |
</div>
|
201 |
-
|
202 |
-
|
203 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
204 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
205 |
|
206 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
207 |
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
213 |
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
<select id="feedzy_post_terms" multiple class="form-control feedzy-chosen" name="feedzy_meta_data[import_post_term][]" >
|
250 |
-
</select>
|
251 |
-
</div>
|
252 |
-
</div>
|
253 |
-
<div class="feedzy-row">
|
254 |
-
<div class="label_description">
|
255 |
-
<label class="feedzy-sr-only" for="f1-post-status"><?php esc_html_e( 'Post Status', 'feedzy-rss-feeds' ); ?></label><br/>
|
256 |
-
<small>
|
257 |
-
<?php
|
258 |
-
esc_html_e( 'The post status you want your posts to have. You can choose Publish if you want to publish your posts right away, or you can use Draft if you want to draft your posts and publish it after reviewing them manually.', 'feedzy-rss-feeds' );
|
259 |
-
?>
|
260 |
-
</small>
|
261 |
-
</div>
|
262 |
-
<div class="feedzy-separator dashicons dashicons-leftright"></div>
|
263 |
-
<div class="form-group input-group form_item">
|
264 |
-
<select id="feedzy_post_status" class="form-control feedzy-chosen" name="feedzy_meta_data[import_post_status]" >
|
265 |
-
<?php
|
266 |
-
foreach ( $published_status as $_status ) {
|
267 |
-
?>
|
268 |
-
<option value="<?php echo esc_attr( $_status ); ?>" <?php selected( $import_post_status, $_status ); ?>><?php echo esc_html( ucfirst( $_status ) ); ?></option>
|
269 |
-
<?php
|
270 |
-
}
|
271 |
-
?>
|
272 |
-
</select>
|
273 |
-
</div>
|
274 |
-
</div>
|
275 |
-
<div class="feedzy-row">
|
276 |
-
<div class="label_description">
|
277 |
-
<label class="feedzy-sr-only" for="f1-post-title"><?php esc_html_e( 'Post Title', 'feedzy-rss-feeds' ); ?></label><br/>
|
278 |
-
<small>
|
279 |
-
<?php
|
280 |
-
$magic_tags = array(
|
281 |
-
'item_title',
|
282 |
-
'item_author',
|
283 |
-
'item_date',
|
284 |
-
);
|
285 |
-
$magic_tags = apply_filters( 'feedzy_get_service_magic_tags', $magic_tags, 'title' );
|
286 |
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
322 |
</div>
|
323 |
</div>
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
}
|
345 |
-
$magic_tags = apply_filters( 'feedzy_get_service_magic_tags', $magic_tags, 'content' );
|
346 |
|
347 |
-
|
348 |
-
|
349 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
350 |
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
360 |
|
361 |
-
</div>
|
362 |
-
<div class="feedzy-separator dashicons dashicons-leftright"></div>
|
363 |
-
<div class="form-group input-group form_item">
|
364 |
-
<textarea name="feedzy_meta_data[import_post_content]" placeholder="<?php esc_html_e( 'Post Content', 'feedzy-rss-feeds' ); ?>" class="form-control"><?php echo esc_html( feedzy_custom_tag_escape( $import_content ) ); ?></textarea>
|
365 |
-
<div class="input-group-btn">
|
366 |
-
<button type="button" class="btn btn-add-fields dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
367 |
-
<?php esc_html_e( 'Insert Tag', 'feedzy-rss-feeds' ); ?> <span class="dashicons dashicons-arrow-down-alt2"></span>
|
368 |
-
</button>
|
369 |
-
<div class="dropdown-menu dropdown-menu-right">
|
370 |
-
<?php echo wp_kses_post( apply_filters( 'feedzy_render_magic_tags', '', apply_filters( 'feedzy_magic_tags_content', array() ), 'import_post_content' ) ); ?>
|
371 |
</div>
|
372 |
</div>
|
373 |
</div>
|
374 |
</div>
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
<
|
381 |
-
<
|
382 |
-
|
383 |
-
esc_attr_e( 'The image url will be 3rd party url, We will not download image to your site.', 'feedzy-rss-feeds' );
|
384 |
-
?>
|
385 |
-
</small>
|
386 |
-
</div>
|
387 |
-
<div class="feedzy-separator dashicons dashicons-leftright"></div>
|
388 |
-
<div class="form-group input-group form_item">
|
389 |
-
<div>
|
390 |
-
<input id="use-external-image" name="feedzy_meta_data[import_use_external_image]" class="feedzy-toggle feedzy-toggle-round" type="checkbox" value="yes" <?php echo esc_attr( $import_item_img_url ); ?>>
|
391 |
-
<label for="use-external-image" class="feedzy-inline"></label>
|
392 |
-
<label class="feedzy-inline" style="margin-left: 10px;" for="import_use_external_image"><?php esc_html_e( 'Use external image URL, Ignore feature post thumbnail', 'feedzy-rss-feeds' ); ?></label>
|
393 |
-
</div>
|
394 |
-
</div>
|
395 |
</div>
|
396 |
-
<div class="feedzy-
|
397 |
-
<div class="
|
398 |
-
<
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
</button>
|
412 |
-
<div class="dropdown-menu dropdown-menu-right">
|
413 |
-
<?php echo wp_kses_post( apply_filters( 'feedzy_render_magic_tags', '', apply_filters( 'feedzy_magic_tags_image', array() ), 'import_post_featured_img' ) ); ?>
|
414 |
</div>
|
415 |
</div>
|
416 |
-
</div>
|
417 |
-
</div>
|
418 |
-
<div class="feedzy-row <?php echo esc_attr( apply_filters( 'feedzy_upsell_class', '' ) ); ?>">
|
419 |
-
<?php echo wp_kses_post( apply_filters( 'feedzy_upsell_content', '' ) ); ?>
|
420 |
-
<div class="label_description">
|
421 |
-
<label class="feedzy-sr-only" for="f1-post-content"><?php esc_html_e( 'Post Author', 'feedzy-rss-feeds' ); ?></label><br/>
|
422 |
-
<small>
|
423 |
-
<?php
|
424 |
-
esc_html_e( 'Show the original author of the source item.', 'feedzy-rss-feeds' );
|
425 |
-
?>
|
426 |
-
</small>
|
427 |
-
</div>
|
428 |
-
<div class="feedzy-separator dashicons dashicons-leftright"></div>
|
429 |
-
<div class="form-group input-group form_item">
|
430 |
-
<div>
|
431 |
-
<input id="feedzy-toggle_author_admin" name="feedzy_meta_data[import_link_author_admin]" class="feedzy-toggle feedzy-toggle-round" type="checkbox" value="yes" <?php echo wp_kses_post( $import_link_author[0] ); ?>>
|
432 |
-
<label for="feedzy-toggle_author_admin" class="feedzy-inline"></label>
|
433 |
-
<label class="feedzy-inline" style="margin-left: 10px;" for="import_link_author_admin"><?php esc_html_e( 'In the backend, on the post listing screen', 'feedzy-rss-feeds' ); ?></label>
|
434 |
-
</div>
|
435 |
-
<div>
|
436 |
-
<input id="feedzy-toggle_author_public" name="feedzy_meta_data[import_link_author_public]" class="feedzy-toggle feedzy-toggle-round" type="checkbox" value="yes" <?php echo wp_kses_post( $import_link_author[1] ); ?>>
|
437 |
-
<label for="feedzy-toggle_author_public" class="feedzy-inline"></label>
|
438 |
-
<label class="feedzy-inline" style="margin-left: 10px;" for="import_link_author_public"><?php esc_html_e( 'In the frontend, link to the original post', 'feedzy-rss-feeds' ); ?></label>
|
439 |
-
</div>
|
440 |
-
</div>
|
441 |
-
</div>
|
442 |
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
</div>
|
461 |
-
<div class="feedzy-separator dashicons dashicons-leftright"></div>
|
462 |
-
<div class="form-group input-group form_item">
|
463 |
-
<input type="text" name="feedzy_meta_data[import_post_excerpt]" placeholder="<?php esc_html_e( 'Post Excerpt', 'feedzy-rss-feeds' ); ?>" class="form-control" value="<?php echo esc_attr( $post_excerpt ); ?>"/>
|
464 |
-
<div class="input-group-btn">
|
465 |
-
<button type="button" class="btn btn-add-fields dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
466 |
-
<?php esc_html_e( 'Insert Tag', 'feedzy-rss-feeds' ); ?> <span class="dashicons dashicons-arrow-down-alt2"></span>
|
467 |
-
</button>
|
468 |
-
<div class="dropdown-menu dropdown-menu-right">
|
469 |
-
<?php echo wp_kses_post( apply_filters( 'feedzy_render_magic_tags', '', apply_filters( 'feedzy_magic_tags_post_excerpt', array() ), 'import_post_excerpt' ) ); ?>
|
470 |
</div>
|
471 |
</div>
|
472 |
-
</div>
|
473 |
-
</div>
|
474 |
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
481 |
?>
|
482 |
-
<div class="
|
483 |
-
<div class="
|
484 |
-
<
|
485 |
-
<
|
486 |
-
|
487 |
-
|
488 |
-
|
489 |
-
|
490 |
-
|
491 |
-
|
492 |
-
|
493 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
494 |
</div>
|
495 |
</div>
|
496 |
</div>
|
497 |
</div>
|
498 |
-
|
499 |
-
|
500 |
-
}
|
501 |
-
?>
|
502 |
</div>
|
503 |
-
|
504 |
-
<button id="new_custom_fields" type="button" class="btn btn-add-fields" style="width: 100%; margin-bottom: 16px; margin-top: 16px;" ><?php esc_html_e( 'Add custom fields', 'feedzy-rss-feeds' ); ?> <span class="dashicons dashicons-plus-alt"></span></button>
|
505 |
</div>
|
|
|
506 |
|
507 |
-
|
508 |
-
|
509 |
-
|
510 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
511 |
<?php
|
512 |
if ( 'publish' === $post_status ) {
|
513 |
?>
|
514 |
-
<button type="submit" name="publish" class="btn btn-
|
515 |
<?php
|
516 |
} else {
|
517 |
?>
|
518 |
-
<button type="submit" name="save" class="btn btn-
|
519 |
-
<button type="submit" name="publish" class="btn btn-
|
520 |
<?php
|
521 |
}
|
522 |
?>
|
|
|
523 |
</div>
|
|
|
524 |
</div>
|
525 |
|
526 |
<script id="empty_select_tpl" type="text/template">
|
@@ -534,4 +959,3 @@
|
|
534 |
<script id="new_field_tpl" type="text/template">
|
535 |
<?php echo wp_kses( apply_filters( 'feedzy_custom_field_template', '' ), apply_filters( 'feedzy_wp_kses_allowed_html', array() ) ); ?>
|
536 |
</script>
|
537 |
-
|
5 |
* @since 1.2.0
|
6 |
* @package feedzy-rss-feeds-pro
|
7 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
+
global $post;
|
10 |
+
?>
|
11 |
+
<?php if ( get_option( 'feedzy_import_tour' ) && ! defined( 'TI_CYPRESS_TESTING' ) ) : ?>
|
12 |
+
<div id="fz-on-boarding"></div>
|
13 |
+
<?php endif; ?>
|
14 |
+
<div class="feedzy-wrap" id="feedzy-import-form">
|
15 |
+
<div class="feedzy-accordion">
|
16 |
+
<!-- <div> -->
|
17 |
+
<!-- Sources configuration Step Start -->
|
18 |
+
<div class="feedzy-accordion-item">
|
19 |
+
<div class="feedzy-accordion-item__title">
|
20 |
+
<button type="button" class="feedzy-accordion-item__button">
|
21 |
+
<div class="feedzy-accordion__step-number help-text"><?php esc_html_e( 'Step 1', 'feedzy-rss-feeds' ); ?></div>
|
22 |
+
<div class="feedzy-accordion__step-title h2"><?php esc_html_e( 'Sources configuration', 'feedzy-rss-feeds' ); ?></div>
|
23 |
+
<div class="feedzy-accordion__icon"><span class="dashicons dashicons-arrow-down-alt2"></span></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
</button>
|
|
|
|
|
|
|
|
|
25 |
</div>
|
26 |
+
<div class="feedzy-accordion-item__content border-top">
|
27 |
+
<div class="fz-form-wrap">
|
28 |
+
<div class="form-block">
|
29 |
+
<label class="form-label"><?php esc_html_e( 'RSS Feed sources ', 'feedzy-rss-feeds' ); ?></label>
|
30 |
+
<?php echo wp_kses_post( $invalid_source_msg ); ?>
|
31 |
+
<input type="hidden" name="post_title" value="<?php echo $post ? esc_attr( $post->post_title ) : ''; ?>">
|
32 |
+
<input type="hidden" id="feedzy_post_nonce" name="feedzy_post_nonce"
|
33 |
+
value="<?php echo esc_attr( wp_create_nonce( 'feedzy_post_nonce' ) ); ?>" />
|
34 |
+
|
35 |
+
<div class="fz-input-group">
|
36 |
+
<div class="fz-input-group-left">
|
37 |
+
<div class="fz-group">
|
38 |
+
<div class="fz-input-icon">
|
39 |
+
<input type="text" id="feedzy-import-source" title="<?php esc_attr_e( 'Make sure you validate the feed by using the validate button on the right', 'feedzy-rss-feeds' ); ?>"
|
40 |
+
placeholder="<?php esc_attr_e( 'Paste your feed URL and click the plus icon to add it in the list', 'feedzy-rss-feeds' ); ?>"
|
41 |
+
class="form-control" />
|
42 |
+
<div class="fz-input-group-append">
|
43 |
+
<button class="fz-plus-btn add-outside-tags" disabled>
|
44 |
+
<span class="dashicons dashicons-plus-alt2"></span>
|
45 |
+
</button>
|
46 |
+
</div>
|
47 |
+
</div>
|
48 |
+
<div class="cta">
|
49 |
+
<a class="btn btn-flate btn-icon" id="feedzy-validate-feed" target="_blank" data-href-base="https://validator.w3.org/feed/check.cgi?url="
|
50 |
+
href="#" title="<?php esc_attr_e( 'Validate Feed', 'feedzy-rss-feeds' ); ?>"><i
|
51 |
+
title="<?php esc_attr_e( 'Validate Feed', 'feedzy-rss-feeds' ); ?>"
|
52 |
+
class="dashicons dashicons-external"></i></a>
|
53 |
+
</div>
|
54 |
+
</div>
|
55 |
+
<div class="help-text">
|
56 |
+
<?php esc_html_e( 'You can add multiple sources at once, by separating them with commas. Make sure to use the validate button. Invalid feeds may not import anything.', 'feedzy-rss-feeds' ); ?>
|
57 |
+
</div>
|
58 |
+
</div>
|
59 |
+
<div class="fz-input-group-right">
|
60 |
+
<div class="dropdown">
|
61 |
+
<button type="button" class="btn btn-outline-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true"
|
62 |
+
aria-expanded="false">
|
63 |
+
<?php esc_html_e( 'Use Feed Category', 'feedzy-rss-feeds' ); ?> <span
|
64 |
+
class="dashicons dashicons-arrow-down-alt2"></span>
|
65 |
+
</button>
|
66 |
+
<div class="dropdown-menu dropdown-menu-right">
|
67 |
+
<?php
|
68 |
+
if ( ! empty( $feed_categories ) ) {
|
69 |
+
foreach ( $feed_categories as $category ) {
|
70 |
+
?>
|
71 |
+
<a class="dropdown-item source" href="#" data-field-name="source" data-field-tag="<?php echo esc_attr( $category->post_name ); ?>"><?php echo wp_kses_post( $category->post_title ); ?></a>
|
72 |
+
<?php
|
73 |
+
}
|
74 |
+
} else {
|
75 |
+
?>
|
76 |
+
<div class="no-data p-8">
|
77 |
+
<div class="help-text"><?php esc_html_e( 'You don’t have any categories, yet.', 'feedzy-rss-feeds' ); ?></div>
|
78 |
+
<div class="cta-text"><a href="<?php echo esc_url( add_query_arg( 'post_type', 'feedzy_categories', admin_url( 'post-new.php' ) ) ); ?>" target="_blank"><?php esc_html_e( 'Add a Category', 'feedzy-rss-feeds' ); ?></a></div>
|
79 |
+
</div>
|
80 |
+
<?php
|
81 |
+
}
|
82 |
+
?>
|
83 |
+
</div>
|
84 |
+
</div>
|
85 |
+
</div>
|
86 |
+
</div>
|
87 |
+
<div class="tag-list<?php echo empty( $source ) ? esc_attr( ' hidden' ) : ''; ?>">
|
88 |
+
<input type="text" id="feedzy-source-tags" name="feedzy_meta_data[source]" class="fz-tagify--outside" value="<?php echo esc_attr( $source ); ?>" />
|
89 |
+
</div>
|
90 |
+
<div class="cta-text pt-8">
|
91 |
+
<a href="<?php echo esc_url( 'https://docs.themeisle.com/article/799-how-to-find-feed-url-for-feedzy-rss-feeds' ); ?>" target="_blank"><?php esc_html_e( 'How do I find an RSS feed URL? ', 'feedzy-rss-feeds' ); ?></a>
|
92 |
+
</div>
|
93 |
</div>
|
94 |
</div>
|
95 |
</div>
|
96 |
+
</div>
|
97 |
+
<!-- Sources configuration Step End -->
|
98 |
+
<!-- Filters Step Start -->
|
99 |
+
<div class="feedzy-accordion-item">
|
100 |
+
<div class="feedzy-accordion-item__title" id="fz-import-filters">
|
101 |
+
<button type="button" class="feedzy-accordion-item__button">
|
102 |
+
<div class="feedzy-accordion__step-number help-text"><?php esc_html_e( 'Step 2', 'feedzy-rss-feeds' ); ?></div>
|
103 |
+
<div class="feedzy-accordion__step-title h2"><?php esc_html_e( 'Filters', 'feedzy-rss-feeds' ); ?></div>
|
104 |
+
<div class="feedzy-accordion__icon"><span class="dashicons dashicons-arrow-down-alt2"></span></div>
|
105 |
+
</button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
</div>
|
107 |
+
<div class="feedzy-accordion-item__content border-top">
|
108 |
+
<div class="fz-form-wrap">
|
109 |
+
<div class="form-block form-block-two-column <?php echo esc_attr( apply_filters( 'feedzy_upsell_class', '' ) ); ?>">
|
110 |
+
<?php echo wp_kses_post( apply_filters( 'feedzy_upsell_content', '' ) ); ?>
|
111 |
+
<div class="left">
|
112 |
+
<h4 class="h4"><?php esc_html_e( 'Filter by Keyword(s)', 'feedzy-rss-feeds' ); ?><?php echo ! feedzy_is_pro() ? ' <span class="pro-label">PRO</span>' : ''; ?></h4>
|
113 |
+
<div class="form-block-pro-text">
|
114 |
+
<?php
|
115 |
+
if ( ! feedzy_is_pro() ) {
|
116 |
+
esc_html_e( 'This feature is only for Pro users.', 'feedzy-rss-feeds' );
|
117 |
+
?>
|
118 |
+
<br>
|
119 |
+
<?php
|
120 |
+
}
|
121 |
+
?>
|
122 |
+
<a href="https://docs.themeisle.com/article/1154-how-to-use-feed-to-post-feature-in-feedzy#filters" target="_blank"><?php esc_html_e( 'Learn More', 'feedzy-rss-feeds' ); ?></a>
|
123 |
+
</div>
|
124 |
+
</div>
|
125 |
+
<div class="right">
|
126 |
+
<div class="fz-form-group">
|
127 |
+
<label class="form-label"><?php esc_html_e( 'Display item only if the selected field contains specific keyword(s)', 'feedzy-rss-feeds' ); ?></label>
|
128 |
+
<div class="fz-input-group">
|
129 |
+
<div class="fz-input-group-left">
|
130 |
+
<div class="fz-group">
|
131 |
+
<div class="fz-input-icon">
|
132 |
+
<input type="text" placeholder="<?php esc_html_e( '(eg. news, stock + market etc.)', 'feedzy-rss-feeds' ); ?>" class="form-control feedzy-keyword-filter"/>
|
133 |
+
<div class="fz-input-group-append">
|
134 |
+
<button class="fz-plus-btn add-outside-tags">
|
135 |
+
<span class="dashicons dashicons-plus-alt2"></span>
|
136 |
+
</button>
|
137 |
+
</div>
|
138 |
+
</div>
|
139 |
+
</div>
|
140 |
+
<div class="help-text">
|
141 |
+
<?php echo wp_kses_post( sprintf( __( 'You can add multiple keywords at once by separating them with %1$s,%2$s or use the %1$s+%2$s sign to bind multiple keywords. Remember, these words are case sensitive .e.g. NEWS, news, stock+market.', 'feedzy-rss-feeds' ), '<code>', '</code>' ) ); ?>
|
142 |
+
</div>
|
143 |
+
</div>
|
144 |
+
<div class="fz-input-group-right">
|
145 |
+
<select class="form-control feedzy-chosen feedzy-chosen-nosearch" name="feedzy_meta_data[inc_on]">
|
146 |
+
<?php
|
147 |
+
foreach ( $keyword_filter_fields as $field ) :
|
148 |
+
$field_val = sanitize_key( $field );
|
149 |
+
?>
|
150 |
+
<option value="<?php echo esc_attr( $field_val ); ?>" <?php selected( $inc_on, $field_val ); ?>>
|
151 |
+
<?php echo esc_html( $field ); ?></option>
|
152 |
+
<?php endforeach; ?>
|
153 |
+
</select>
|
154 |
+
</div>
|
155 |
+
</div>
|
156 |
+
<div class="tag-list<?php echo empty( $inc_key ) ? esc_attr( ' hidden' ) : ''; ?>">
|
157 |
+
<input type="text" name="feedzy_meta_data[inc_key]" class="fz-tagify-outside" value="<?php echo esc_attr( $inc_key ); ?>" />
|
158 |
+
</div>
|
159 |
+
</div>
|
160 |
+
</div>
|
161 |
</div>
|
|
|
|
|
162 |
|
163 |
+
<div class="form-block form-block-two-column <?php echo esc_attr( apply_filters( 'feedzy_upsell_class', '' ) ); ?>">
|
164 |
+
<?php echo wp_kses_post( apply_filters( 'feedzy_upsell_content', '' ) ); ?>
|
165 |
+
<div class="left">
|
166 |
+
<h4 class="h4"><?php esc_html_e( 'Exclude Items', 'feedzy-rss-feeds' ); ?><?php echo ! feedzy_is_pro() ? ' <span class="pro-label">PRO</span>' : ''; ?></h4>
|
167 |
+
</div>
|
168 |
+
<div class="right">
|
169 |
+
<div class="fz-form-group">
|
170 |
+
<label class="form-label"><?php esc_html_e( 'Exclude item if the selected field contains specific keyword(s)', 'feedzy-rss-feeds' ); ?></label>
|
171 |
+
<div class="fz-input-group">
|
172 |
+
<div class="fz-input-group-left">
|
173 |
+
<div class="fz-group">
|
174 |
+
<div class="fz-input-icon">
|
175 |
+
<input type="text" placeholder="<?php esc_html_e( '(eg. news, stock + market etc.)', 'feedzy-rss-feeds' ); ?>" class="form-control feedzy-keyword-filter" />
|
176 |
+
<div class="fz-input-group-append">
|
177 |
+
<button class="fz-plus-btn add-outside-tags">
|
178 |
+
<span class="dashicons dashicons-plus-alt2"></span>
|
179 |
+
</button>
|
180 |
+
</div>
|
181 |
+
</div>
|
182 |
+
</div>
|
183 |
+
<div class="help-text">
|
184 |
+
<?php echo wp_kses_post( sprintf( __( 'You can add multiple keywords at once by separating them with %1$s,%2$s or use the %1$s+%2$s sign to bind multiple keywords.', 'feedzy-rss-feeds' ), '<code>', '</code>' ) ); ?>
|
185 |
+
</div>
|
186 |
+
</div>
|
187 |
+
<div class="fz-input-group-right">
|
188 |
+
<select class="form-control feedzy-chosen feedzy-chosen-nosearch" name="feedzy_meta_data[exc_on]">
|
189 |
+
<?php
|
190 |
+
foreach ( $keyword_filter_fields as $field ) :
|
191 |
+
$field_val = sanitize_key( $field );
|
192 |
+
?>
|
193 |
+
<option value="<?php echo esc_attr( $field_val ); ?>" <?php selected( $exc_on, $field_val ); ?>>
|
194 |
+
<?php echo esc_html( $field ); ?></option>
|
195 |
+
<?php endforeach; ?>
|
196 |
+
</select>
|
197 |
+
</div>
|
198 |
+
</div>
|
199 |
+
<div class="tag-list<?php echo empty( $exc_key ) ? esc_attr( ' hidden' ) : ''; ?>">
|
200 |
+
<input type="text" name="feedzy_meta_data[exc_key]" class="fz-tagify-outside" value="<?php echo esc_attr( $exc_key ); ?>" />
|
201 |
+
</div>
|
202 |
+
</div>
|
203 |
+
</div>
|
204 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
205 |
|
206 |
+
<div class="form-block form-block-two-column <?php echo esc_attr( apply_filters( 'feedzy_upsell_class', '' ) ); ?>">
|
207 |
+
<?php echo wp_kses_post( apply_filters( 'feedzy_upsell_content', '' ) ); ?>
|
208 |
+
<div class="left">
|
209 |
+
<h4 class="h4"><?php esc_html_e( 'Filter by Time Range', 'feedzy-rss-feeds' ); ?><?php echo ! feedzy_is_pro() ? ' <span class="pro-label">PRO</span>' : ''; ?></h4>
|
210 |
+
</div>
|
211 |
+
<div class="right">
|
212 |
+
<div class="date-range-group">
|
213 |
+
<div class="fz-form-group">
|
214 |
+
<label class="form-label"
|
215 |
+
for="import_link_author_admin"><?php esc_html_e( 'From', 'feedzy-rss-feeds' ); ?></label>
|
216 |
+
<input type="datetime-local" name="feedzy_meta_data[from_datetime]"
|
217 |
+
placeholder="<?php esc_html_e( 'From', 'feedzy-rss-feeds' ); ?>" class="form-control"
|
218 |
+
value="<?php echo esc_attr( $from_datetime ); ?>" />
|
219 |
+
</div>
|
220 |
+
<div class="fz-dash"><span class="dashicons dashicons-minus"></span></div>
|
221 |
+
<div class="fz-form-group">
|
222 |
+
<label class="form-label"
|
223 |
+
for="import_link_author_admin"><?php esc_html_e( 'To', 'feedzy-rss-feeds' ); ?></label>
|
224 |
+
<input type="datetime-local" name="feedzy_meta_data[to_datetime]"
|
225 |
+
placeholder="<?php esc_html_e( 'From', 'feedzy-rss-feeds' ); ?>" class="form-control"
|
226 |
+
value="<?php echo esc_attr( $to_datetime ); ?>" />
|
227 |
+
</div>
|
228 |
+
</div>
|
229 |
+
<div class="help-text pt-8">
|
230 |
+
<?php echo wp_kses_post( sprintf( __( 'Select a time range to import items within the selected dates.', 'feedzy-rss-feeds' ), '<code>', '</code>' ) ); ?>
|
231 |
+
</div>
|
232 |
+
</div>
|
233 |
</div>
|
234 |
</div>
|
|
|
|
|
|
|
|
|
235 |
</div>
|
236 |
+
</div>
|
237 |
+
<!-- Filters Step End -->
|
238 |
+
<div class="feedzy-accordion-item">
|
239 |
+
<div class="feedzy-accordion-item__title" id="fz-import-map-content">
|
240 |
+
<button type="button" class="feedzy-accordion-item__button">
|
241 |
+
<div class="feedzy-accordion__step-number help-text"><?php esc_html_e( 'Step 3', 'feedzy-rss-feeds' ); ?></div>
|
242 |
+
<div class="feedzy-accordion__step-title h2"><?php esc_html_e( 'Map content', 'feedzy-rss-feeds' ); ?></div>
|
243 |
+
<div class="feedzy-accordion__icon"><span class="dashicons dashicons-arrow-down-alt2"></span></div>
|
244 |
+
</button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
245 |
</div>
|
246 |
+
<div class="feedzy-accordion-item__content">
|
247 |
+
<div class="fz-content">
|
248 |
+
<p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
249 |
<?php
|
250 |
+
esc_html_e( 'Map content', 'feedzy-rss-feeds' );
|
251 |
+
esc_html_e( 'Using magic tags, specify what part(s) of the source should form part of the imported post.', 'feedzy-rss-feeds' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
252 |
?>
|
253 |
+
<?php if ( false === apply_filters( 'feedzy_is_license_of_type', false, 'agency' ) ) { ?>
|
254 |
+
<?php echo wp_kses_post( sprintf( __( 'The magic tags that are greyed out and disabled, are unavailable for your current license. Unlock all features, by %1$supgrading to Feedzy Pro%2$s', 'feedzy-rss-feeds' ), '<a href="' . esc_url( FEEDZY_UPSELL_LINK ) . '" target="_blank" title="' . __( 'upgrading to Feedzy Pro', 'feedzy-rss-feeds' ) . '">', '</a>' ) ); ?>
|
255 |
+
<?php } ?>
|
256 |
+
</p>
|
257 |
</div>
|
258 |
+
<div class="fz-tabs-menu">
|
259 |
+
<ul>
|
260 |
+
<li>
|
261 |
+
<a href="javascript:;" data-id="fz-general"><?php esc_html_e( 'General', 'feedzy-rss-feeds' ); ?></a>
|
262 |
+
</li>
|
263 |
+
<li>
|
264 |
+
<a href="javascript:;" data-id="fz-advanced-options"><?php esc_html_e( 'Advanced Options', 'feedzy-rss-feeds' ); ?></a>
|
265 |
+
</li>
|
266 |
+
</ul>
|
267 |
+
</div>
|
268 |
+
<div class="fz-tabs-content">
|
269 |
+
<div class="fz-tab-content" id="fz-general">
|
270 |
+
<div class="fz-form-wrap">
|
271 |
+
<div class="form-block form-block-two-column">
|
272 |
+
<div class="left">
|
273 |
+
<h4 class="h4"><?php esc_html_e( 'Post Type', 'feedzy-rss-feeds' ); ?></h4>
|
274 |
+
</div>
|
275 |
+
<div class="right">
|
276 |
+
<div class="fz-form-group">
|
277 |
+
<label class="form-label"><?php esc_html_e( 'The post type you want to use for the generated post.', 'feedzy-rss-feeds' ); ?></label>
|
278 |
+
<div class="mx-320">
|
279 |
+
<select id="feedzy_post_type" class="form-control feedzy-chosen" name="feedzy_meta_data[import_post_type]"
|
280 |
+
data-tax="<?php echo esc_attr( $import_post_term ); ?>">
|
281 |
+
<?php
|
282 |
+
foreach ( $post_types as $_post_type ) {
|
283 |
+
?>
|
284 |
+
<option value="<?php echo esc_attr( $_post_type ); ?>" <?php selected( $import_post_type, $_post_type ); ?>>
|
285 |
+
<?php echo esc_html( $_post_type ); ?></option>
|
286 |
+
<?php
|
287 |
+
}
|
288 |
+
?>
|
289 |
+
</select>
|
290 |
+
</div>
|
291 |
+
</div>
|
292 |
+
</div>
|
293 |
+
</div>
|
294 |
|
295 |
+
<div class="form-block form-block-two-column">
|
296 |
+
<div class="left">
|
297 |
+
<h4 class="h4"><?php esc_html_e( 'Post Taxonomy', 'feedzy-rss-feeds' ); ?></h4>
|
298 |
+
</div>
|
299 |
+
<div class="right">
|
300 |
+
<div class="fz-form-group">
|
301 |
+
<label class="form-label"><?php esc_html_e( 'Assigns the post to a Category', 'feedzy-rss-feeds' ); ?></label>
|
302 |
+
<div class="mx-320">
|
303 |
+
<select id="feedzy_post_terms" multiple class="form-control feedzy-chosen"
|
304 |
+
name="feedzy_meta_data[import_post_term][]">
|
305 |
+
</select>
|
306 |
+
</div>
|
307 |
+
<div class="help-text pt-8">
|
308 |
+
<?php esc_html_e( 'The imported post will be assigned to a taxonomy (eg. "Post Category", "Post Tag" etc.). Leave blank, if unsure.', 'feedzy-rss-feeds' ); ?>
|
309 |
+
</div>
|
310 |
+
</div>
|
311 |
+
</div>
|
312 |
+
</div>
|
313 |
|
314 |
+
<div class="form-block form-block-two-column">
|
315 |
+
<div class="left">
|
316 |
+
<h4 class="h4"><?php esc_html_e( 'Post Status', 'feedzy-rss-feeds' ); ?></h4>
|
317 |
+
</div>
|
318 |
+
<div class="right">
|
319 |
+
<div class="fz-form-group">
|
320 |
+
<label class="form-label"><?php esc_html_e( 'The post status for the imported posts.', 'feedzy-rss-feeds' ); ?></label>
|
321 |
+
<div class="mx-320">
|
322 |
+
<select id="feedzy_post_status" class="form-control feedzy-chosen" name="feedzy_meta_data[import_post_status]">
|
323 |
+
<?php
|
324 |
+
foreach ( $published_status as $_status ) {
|
325 |
+
?>
|
326 |
+
<option value="<?php echo esc_attr( $_status ); ?>" <?php selected( $import_post_status, $_status ); ?>>
|
327 |
+
<?php echo esc_html( ucfirst( $_status ) ); ?></option>
|
328 |
+
<?php
|
329 |
+
}
|
330 |
+
?>
|
331 |
+
</select>
|
332 |
+
</div>
|
333 |
+
<div class="help-text pt-8">
|
334 |
+
<?php
|
335 |
+
esc_html_e( 'Choose Published if you want to publish your posts right away, or you can use Draft if you want to draft your posts and publish them after reviewing them manually.', 'feedzy-rss-feeds' );
|
336 |
+
?>
|
337 |
+
</div>
|
338 |
+
</div>
|
339 |
+
</div>
|
340 |
+
</div>
|
341 |
|
342 |
+
<div class="form-block form-block-two-column">
|
343 |
+
<div class="left">
|
344 |
+
<h4 class="h4"><?php esc_html_e( 'Post Title', 'feedzy-rss-feeds' ); ?></h4>
|
345 |
+
</div>
|
346 |
+
<div class="right">
|
347 |
+
<div class="fz-form-group">
|
348 |
+
<label class="form-label"><?php esc_html_e( 'The title for the generated post.', 'feedzy-rss-feeds' ); ?></label>
|
349 |
+
<div class="fz-input-group">
|
350 |
+
<div class="fz-input-group-left">
|
351 |
+
<div class="fz-group">
|
352 |
+
<input type="text" name="feedzy_meta_data[import_post_title]"
|
353 |
+
placeholder="<?php esc_html_e( 'Post Title', 'feedzy-rss-feeds' ); ?>" class="form-control fz-input-tagify"
|
354 |
+
value="<?php echo esc_attr( $import_title ); ?>" />
|
355 |
+
</div>
|
356 |
+
<div class="help-text">
|
357 |
+
<?php
|
358 |
+
$magic_tags = array(
|
359 |
+
'item_title',
|
360 |
+
'item_author',
|
361 |
+
'item_date',
|
362 |
+
);
|
363 |
+
$magic_tags = apply_filters( 'feedzy_get_service_magic_tags', $magic_tags, 'title' );
|
364 |
+
|
365 |
+
esc_html_e( 'You can add multiple items. Keep in mind that this field is mandatory - without it, a post will not be created.', 'feedzy-rss-feeds' );
|
366 |
+
?>
|
367 |
+
</div>
|
368 |
+
</div>
|
369 |
+
<div class="fz-input-group-right">
|
370 |
+
<div class="dropdown">
|
371 |
+
<button type="button" class="btn btn-outline-primary btn-add-fields dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
372 |
+
<?php esc_html_e( 'Insert Tag', 'feedzy-rss-feeds' ); ?> <span class="dashicons dashicons-plus-alt2"></span>
|
373 |
+
</button>
|
374 |
+
<div class="dropdown-menu dropdown-menu-right">
|
375 |
+
<?php echo wp_kses_post( apply_filters( 'feedzy_render_magic_tags', '', apply_filters( 'feedzy_magic_tags_title', array() ), 'import_post_title' ) ); ?>
|
376 |
+
</div>
|
377 |
+
</div>
|
378 |
+
</div>
|
379 |
+
</div>
|
380 |
+
</div>
|
381 |
+
</div>
|
382 |
+
</div>
|
383 |
|
384 |
+
<div class="form-block form-block-two-column">
|
385 |
+
<div class="left">
|
386 |
+
<h4 class="h4"><?php esc_html_e( 'Post Date', 'feedzy-rss-feeds' ); ?></h4>
|
387 |
+
</div>
|
388 |
+
<div class="right">
|
389 |
+
<div class="fz-form-group">
|
390 |
+
<label class="form-label"><?php esc_html_e( 'The date for the generated post. ', 'feedzy-rss-feeds' ); ?></label>
|
391 |
+
<div class="fz-input-group">
|
392 |
+
<div class="fz-input-group-left">
|
393 |
+
<div class="fz-group">
|
394 |
+
<input type="text" name="feedzy_meta_data[import_post_date]"
|
395 |
+
placeholder="<?php esc_html_e( 'Post Date', 'feedzy-rss-feeds' ); ?>" class="form-control fz-input-tagify"
|
396 |
+
value="<?php echo esc_attr( $import_date ); ?>" />
|
397 |
+
</div>
|
398 |
+
<div class="help-text">
|
399 |
+
<?php
|
400 |
+
esc_html_e( 'Leave blank, if unsure.', 'feedzy-rss-feeds' );
|
401 |
+
?>
|
402 |
+
</div>
|
403 |
+
</div>
|
404 |
+
<div class="fz-input-group-right">
|
405 |
+
<div class="dropdown">
|
406 |
+
<button type="button" class="btn btn-outline-primary btn-add-fields dropdown-toggle" data-toggle="dropdown" aria-haspopup="true"
|
407 |
+
aria-expanded="false">
|
408 |
+
<?php esc_html_e( 'Insert Tag', 'feedzy-rss-feeds' ); ?> <span class="dashicons dashicons-plus-alt2"></span>
|
409 |
+
</button>
|
410 |
+
<div class="dropdown-menu dropdown-menu-right">
|
411 |
+
<?php echo wp_kses_post( apply_filters( 'feedzy_render_magic_tags', '', apply_filters( 'feedzy_magic_tags_date', array() ), 'import_post_date' ) ); ?>
|
412 |
+
</div>
|
413 |
+
</div>
|
414 |
+
</div>
|
415 |
+
</div>
|
416 |
+
</div>
|
417 |
+
</div>
|
418 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
419 |
|
420 |
+
<div class="form-block form-block-two-column">
|
421 |
+
<div class="left">
|
422 |
+
<h4 class="h4"><?php esc_html_e( 'Content', 'feedzy-rss-feeds' ); ?></h4>
|
423 |
+
</div>
|
424 |
+
<div class="right">
|
425 |
+
<div class="fz-form-group">
|
426 |
+
<label class="form-label"><?php esc_html_e( 'The content for the generated post', 'feedzy-rss-feeds' ); ?></label>
|
427 |
+
<div class="fz-input-group">
|
428 |
+
<div class="fz-input-group-left">
|
429 |
+
<div class="fz-group">
|
430 |
+
<textarea name="feedzy_meta_data[import_post_content]"
|
431 |
+
placeholder="<?php esc_html_e( 'Post Content', 'feedzy-rss-feeds' ); ?>"
|
432 |
+
class="form-control fz-textarea-tagify"><?php echo esc_html( feedzy_custom_tag_escape( $import_content ) ); ?></textarea>
|
433 |
+
</div>
|
434 |
+
<div class="help-text">
|
435 |
+
<?php
|
436 |
+
$magic_tags = array(
|
437 |
+
'item_description',
|
438 |
+
'item_content',
|
439 |
+
'item_image',
|
440 |
+
);
|
441 |
+
if ( apply_filters( 'feedzy_is_license_of_type', false, 'business' ) ) {
|
442 |
+
$magic_tags = array_merge(
|
443 |
+
$magic_tags,
|
444 |
+
array(
|
445 |
+
'item_full_content',
|
446 |
+
)
|
447 |
+
);
|
448 |
+
$magic_tags = apply_filters( 'feedzy_get_service_magic_tags', $magic_tags, 'full_content' );
|
449 |
+
}
|
450 |
+
$magic_tags = apply_filters( 'feedzy_get_service_magic_tags', $magic_tags, 'content' );
|
451 |
+
|
452 |
+
esc_html_e( 'You can add more tags and other things that will be added in the Single Post layout. This field is mandatory.', 'feedzy-rss-feeds' );
|
453 |
+
?>
|
454 |
+
</div>
|
455 |
+
</div>
|
456 |
+
<div class="fz-input-group-right">
|
457 |
+
<div class="dropdown">
|
458 |
+
<button type="button" class="btn btn-outline-primary btn-add-fields dropdown-toggle" data-toggle="dropdown" aria-haspopup="true"
|
459 |
+
aria-expanded="false">
|
460 |
+
<?php esc_html_e( 'Insert Tag', 'feedzy-rss-feeds' ); ?> <span class="dashicons dashicons-plus-alt2"></span>
|
461 |
+
</button>
|
462 |
+
<div class="dropdown-menu dropdown-menu-right">
|
463 |
+
<?php echo wp_kses_post( apply_filters( 'feedzy_render_magic_tags', '', apply_filters( 'feedzy_magic_tags_content', array() ), 'import_post_content' ) ); ?>
|
464 |
+
</div>
|
465 |
+
</div>
|
466 |
+
</div>
|
467 |
+
</div>
|
468 |
+
</div>
|
469 |
+
<?php if ( ! feedzy_is_pro() ) : ?>
|
470 |
+
<div class="upgrade-alert">
|
471 |
+
<?php
|
472 |
+
echo wp_kses_post( sprintf( __( 'Add more advanced tags, like item price, rating and many more, by %1$supgrading to Feedzy Pro%2$s', 'feedzy-rss-feeds' ), '<a href="' . FEEDZY_UPSELL_LINK . '" target="_blank">', '</a><button type="button" class="remove-alert"><span class="dashicons dashicons-no-alt"></span></button>' ) );
|
473 |
+
?>
|
474 |
+
</div>
|
475 |
+
<?php endif; ?>
|
476 |
+
</div>
|
477 |
+
</div>
|
478 |
+
|
479 |
+
<div class="form-block form-block-two-column">
|
480 |
+
<div class="left">
|
481 |
+
<h4 class="h4"><?php esc_html_e( 'Featured image', 'feedzy-rss-feeds' ); ?></h4>
|
482 |
+
</div>
|
483 |
+
<div class="right">
|
484 |
+
<div class="fz-form-group">
|
485 |
+
<label class="form-label"><?php esc_html_e( 'The Featured image for the generated post.', 'feedzy-rss-feeds' ); ?></label>
|
486 |
+
<div class="fz-input-group">
|
487 |
+
<div class="fz-input-group-left">
|
488 |
+
<div class="fz-group">
|
489 |
+
<input type="text" name="feedzy_meta_data[import_post_featured_img]"
|
490 |
+
placeholder="<?php esc_html_e( 'Add a tag for the featured image', 'feedzy-rss-feeds' ); ?>" class="form-control fz-input-tagify"
|
491 |
+
value="<?php echo esc_attr( $import_featured_img ); ?>" />
|
492 |
+
</div>
|
493 |
+
<div class="help-text">
|
494 |
+
<?php
|
495 |
+
esc_html_e( 'You can use the magic tags, your own URL or leave it empty.', 'feedzy-rss-feeds' );
|
496 |
+
?>
|
497 |
+
</div>
|
498 |
+
</div>
|
499 |
+
<div class="fz-input-group-right">
|
500 |
+
<div class="dropdown">
|
501 |
+
<button type="button" class="btn btn-outline-primary btn-add-fields dropdown-toggle" data-toggle="dropdown" aria-haspopup="true"
|
502 |
+
aria-expanded="false">
|
503 |
+
<?php esc_html_e( 'Insert Tag', 'feedzy-rss-feeds' ); ?> <span class="dashicons dashicons-plus-alt2"></span>
|
504 |
+
</button>
|
505 |
+
<div class="dropdown-menu dropdown-menu-right">
|
506 |
+
<?php echo wp_kses_post( apply_filters( 'feedzy_render_magic_tags', '', apply_filters( 'feedzy_magic_tags_image', array() ), 'import_post_featured_img' ) ); ?>
|
507 |
+
</div>
|
508 |
+
</div>
|
509 |
+
</div>
|
510 |
+
</div>
|
511 |
+
</div>
|
512 |
+
</div>
|
513 |
+
</div>
|
514 |
</div>
|
515 |
</div>
|
516 |
+
<div class="fz-tab-content" id="fz-advanced-options">
|
517 |
+
<div class="fz-form-wrap">
|
518 |
+
<div class="form-block form-block-two-column">
|
519 |
+
<div class="left">
|
520 |
+
<h4 class="h4"><?php esc_html_e( 'External image', 'feedzy-rss-feeds' ); ?></h4>
|
521 |
+
</div>
|
522 |
+
<div class="right">
|
523 |
+
<div class="fz-form-group">
|
524 |
+
<div class="fz-form-switch">
|
525 |
+
<input id="use-external-image" name="feedzy_meta_data[import_use_external_image]"
|
526 |
+
class="fz-switch-toggle" type="checkbox" value="yes"
|
527 |
+
<?php echo esc_attr( $import_item_img_url ); ?>>
|
528 |
+
<label class="feedzy-inline form-label" for="use-external-image"><?php esc_html_e( 'Use external image URL, Ignore feature post thumbnail', 'feedzy-rss-feeds' ); ?></label>
|
529 |
+
</div>
|
530 |
+
</div>
|
531 |
+
<div class="help-text">
|
532 |
+
<?php esc_html_e( 'This will use the external featured image of the imported article and won\'t save the image to the Media Library on your website.', 'feedzy-rss-feeds' ); ?>
|
533 |
+
</div>
|
534 |
+
</div>
|
535 |
+
</div>
|
|
|
|
|
536 |
|
537 |
+
<div class="form-block form-block-two-column <?php echo esc_attr( apply_filters( 'feedzy_upsell_class', '' ) ); ?>">
|
538 |
+
<?php echo wp_kses_post( apply_filters( 'feedzy_upsell_content', '' ) ); ?>
|
539 |
+
<div class="left">
|
540 |
+
<h4 class="h4"><?php esc_html_e( 'Post Author', 'feedzy-rss-feeds' ); ?> <?php echo ! feedzy_is_pro() ? ' <span class="pro-label">PRO</span>' : ''; ?></h4>
|
541 |
+
</div>
|
542 |
+
<div class="right">
|
543 |
+
<div class="fz-form-group">
|
544 |
+
<div class="fz-form-switch">
|
545 |
+
<input id="feedzy-toggle_author_admin" name="feedzy_meta_data[import_link_author_admin]"
|
546 |
+
class="fz-switch-toggle" type="checkbox" value="yes"
|
547 |
+
<?php echo wp_kses_post( $import_link_author[0] ); ?>>
|
548 |
+
<label class="form-label" for="feedzy-toggle_author_admin"><?php esc_html_e( 'Save it in Backend', 'feedzy-rss-feeds' ); ?></label>
|
549 |
+
</div>
|
550 |
+
<div class="help-text">
|
551 |
+
<?php
|
552 |
+
esc_html_e( 'The source author will appear in the Dashboard', 'feedzy-rss-feeds' );
|
553 |
+
?>
|
554 |
+
</div>
|
555 |
+
</div>
|
556 |
+
<div class="fz-form-group pt-12">
|
557 |
+
<div class="fz-form-switch">
|
558 |
+
<input id="feedzy-toggle_author_public" name="feedzy_meta_data[import_link_author_public]"
|
559 |
+
class="fz-switch-toggle" type="checkbox" value="yes"
|
560 |
+
<?php echo wp_kses_post( $import_link_author[1] ); ?>>
|
561 |
+
<label for="feedzy-toggle_author_public" class="feedzy-inline"></label>
|
562 |
+
<label class="form-label" for="feedzy-toggle_author_public"><?php esc_html_e( 'Save it in Frontend', 'feedzy-rss-feeds' ); ?></label>
|
563 |
+
</div>
|
564 |
+
<div class="help-text">
|
565 |
+
<?php
|
566 |
+
esc_html_e( 'The source author will appear in Archive Pages', 'feedzy-rss-feeds' );
|
567 |
+
?>
|
568 |
+
</div>
|
569 |
+
</div>
|
570 |
+
</div>
|
571 |
+
</div>
|
572 |
|
573 |
+
<div class="form-block form-block-two-column">
|
574 |
+
<div class="left">
|
575 |
+
<h4 class="h4"><?php esc_html_e( 'Post Excerpt', 'feedzy-rss-feeds' ); ?></h4>
|
576 |
+
</div>
|
577 |
+
<div class="right">
|
578 |
+
<div class="fz-form-group">
|
579 |
+
<label class="form-label"><?php esc_html_e( 'The Post Excerpt for the generated post', 'feedzy-rss-feeds' ); ?></label>
|
580 |
+
<div class="fz-input-group">
|
581 |
+
<div class="fz-input-group-left">
|
582 |
+
<div class="fz-group">
|
583 |
+
<input type="text" name="feedzy_meta_data[import_post_excerpt]"
|
584 |
+
placeholder="<?php esc_html_e( 'Post Excerpt', 'feedzy-rss-feeds' ); ?>" class="form-control fz-input-tagify"
|
585 |
+
value="<?php echo esc_attr( $post_excerpt ); ?>" />
|
586 |
+
</div>
|
587 |
+
<div class="help-text">
|
588 |
+
<?php
|
589 |
+
esc_html_e( 'Add magic tags to extract custom elements from your feed. This will work only for single-feeds, not feed categories.', 'feedzy-rss-feeds' );
|
590 |
+
?>
|
591 |
+
</div>
|
592 |
+
</div>
|
593 |
+
<div class="fz-input-group-right">
|
594 |
+
<div class="dropdown">
|
595 |
+
<button type="button" class="btn btn-outline-primary btn-add-fields dropdown-toggle" data-toggle="dropdown" aria-haspopup="true"
|
596 |
+
aria-expanded="false">
|
597 |
+
<?php esc_html_e( 'Insert Tag', 'feedzy-rss-feeds' ); ?> <span class="dashicons dashicons-plus-alt2"></span>
|
598 |
+
</button>
|
599 |
+
<div class="dropdown-menu dropdown-menu-right">
|
600 |
+
<?php echo wp_kses_post( apply_filters( 'feedzy_render_magic_tags', '', apply_filters( 'feedzy_magic_tags_post_excerpt', array() ), 'import_post_excerpt' ) ); ?>
|
601 |
+
</div>
|
602 |
+
</div>
|
603 |
+
</div>
|
604 |
+
</div>
|
605 |
+
</div>
|
606 |
+
<?php if ( ! feedzy_is_pro() ) : ?>
|
607 |
+
<div class="upgrade-alert">
|
608 |
+
<?php
|
609 |
+
echo wp_kses_post( sprintf( __( 'Add more advanced tags, like item price, rating and many more, by %1$supgrading to Feedzy Pro%2$s', 'feedzy-rss-feeds' ), '<a href="' . FEEDZY_UPSELL_LINK . '" target="_blank">', '</a><button type="button" class="remove-alert"><span class="dashicons dashicons-no-alt"></span></button>' ) );
|
610 |
+
?>
|
611 |
+
</div>
|
612 |
+
<?php endif; ?>
|
613 |
+
</div>
|
614 |
+
</div>
|
615 |
+
|
616 |
+
<div class="form-block form-block-two-column <?php echo esc_attr( apply_filters( 'feedzy_upsell_class', '' ) ); ?>">
|
617 |
+
<?php echo wp_kses_post( apply_filters( 'feedzy_upsell_content', '' ) ); ?>
|
618 |
+
<div class="left">
|
619 |
+
<h4 class="h4"><?php esc_html_e( 'Custom Fields', 'feedzy-rss-feeds' ); ?> <?php echo ! feedzy_is_pro() ? ' <span class="pro-label">PRO</span>' : ''; ?></h4>
|
620 |
+
<div class="form-block-pro-text">
|
621 |
+
<?php esc_html_e( 'This feature is only for Pro users.', 'feedzy-rss-feeds' ); ?><br>
|
622 |
+
<a href="https://docs.themeisle.com/article/977-how-do-i-extract-values-from-custom-tags-in-feedzy" target="_blank"><?php esc_html_e( 'Learn More', 'feedzy-rss-feeds' ); ?></a>
|
623 |
+
</div>
|
624 |
+
</div>
|
625 |
+
<div class="right">
|
626 |
+
<div class="fz-form-group">
|
627 |
+
<label class="form-label pb-16"><?php esc_html_e( 'Customizable fields to fetch custom values such as date updated, rating, etc.', 'feedzy-rss-feeds' ); ?></label>
|
628 |
+
<div class="custom_fields">
|
629 |
+
<?php
|
630 |
+
if ( isset( $import_custom_fields ) && ! empty( $import_custom_fields ) ) {
|
631 |
+
foreach ( $import_custom_fields as $custom_field_key => $custom_field_value ) {
|
632 |
+
?>
|
633 |
+
<div class="key-value-item">
|
634 |
+
<div class="fz-form-group">
|
635 |
+
<input type="text" name="custom_vars_key[]"
|
636 |
+
placeholder="<?php esc_html_e( 'Key Name', 'feedzy-rss-feeds' ); ?>" class="form-control"
|
637 |
+
value="<?php echo esc_attr( $custom_field_key ); ?>" />
|
638 |
+
</div>
|
639 |
+
<div class="key-value-arrow">
|
640 |
+
<span class="dashicons dashicons-arrow-right-alt"></span>
|
641 |
+
</div>
|
642 |
+
<div class="fz-form-group">
|
643 |
+
<input type="text" name="custom_vars_value[]" placeholder="<?php esc_html_e( 'Value', 'feedzy-rss-feeds' ); ?>" class="form-control" value="<?php echo esc_attr( $custom_field_value ); ?>" />
|
644 |
+
</div>
|
645 |
+
<div class="remove-group">
|
646 |
+
<button type="button" class="btn-remove-fields">
|
647 |
+
</button>
|
648 |
+
</div>
|
649 |
+
</div>
|
650 |
+
<?php
|
651 |
+
}
|
652 |
+
}
|
653 |
+
?>
|
654 |
+
</div>
|
655 |
+
</div>
|
656 |
+
<div class="cta">
|
657 |
+
<button id="new_custom_fields" type="button" class="btn btn-outline-primary btn-block btn-add-fields"><?php esc_html_e( 'Add Custom Field', 'feedzy-rss-feeds' ); ?>
|
658 |
+
<span class="dashicons dashicons-plus-alt2"></span>
|
659 |
+
</button>
|
660 |
+
</div>
|
661 |
+
<div class="help-text pt-8">
|
662 |
+
<?php
|
663 |
+
echo wp_kses_post( sprintf( __( 'Check the %1$sDocumentation%2$s for more details.', 'feedzy-rss-feeds' ), '<a href="https://docs.themeisle.com/article/977-how-do-i-extract-values-from-custom-tags-in-feedzy" target="_blank">', '</a>' ) );
|
664 |
+
?>
|
665 |
+
</div>
|
666 |
+
</div>
|
667 |
+
</div>
|
668 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
669 |
</div>
|
670 |
</div>
|
671 |
</div>
|
672 |
</div>
|
673 |
+
</div>
|
674 |
+
<div class="feedzy-accordion-item">
|
675 |
+
<div class="feedzy-accordion-item__title" id="fz-import-general-settings">
|
676 |
+
<button type="button" class="feedzy-accordion-item__button">
|
677 |
+
<div class="feedzy-accordion__step-number help-text"><?php esc_html_e( 'Step 4', 'feedzy-rss-feeds' ); ?></div>
|
678 |
+
<div class="feedzy-accordion__step-title h2"><?php esc_html_e( 'General feed settings', 'feedzy-rss-feeds' ); ?></div>
|
679 |
+
<div class="feedzy-accordion__icon"><span class="dashicons dashicons-arrow-down-alt2"></span></div>
|
680 |
+
</button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
681 |
</div>
|
682 |
+
<div class="feedzy-accordion-item__content border-top">
|
683 |
+
<div class="fz-form-wrap">
|
684 |
+
<div class="form-block form-block-two-column <?php echo esc_attr( apply_filters( 'feedzy_upsell_class', '' ) ); ?>">
|
685 |
+
<?php echo wp_kses_post( apply_filters( 'feedzy_upsell_content', '' ) ); ?>
|
686 |
+
<div class="left">
|
687 |
+
<h4 class="h4"><?php esc_html_e( 'Auto-Delete', 'feedzy-rss-feeds' ); ?> <?php echo ! feedzy_is_pro() ? ' <span class="pro-label">PRO</span>' : ''; ?></h4>
|
688 |
+
</div>
|
689 |
+
<div class="right">
|
690 |
+
<div class="fz-form-group">
|
691 |
+
<label class="form-label"><?php esc_html_e( 'Delete the posts created for this import after a number of days', 'feedzy-rss-feeds' ); ?></label>
|
692 |
+
<input type="number" min="0" max="9999" id="feedzy_delete_days" name="feedzy_meta_data[import_feed_delete_days]" class="form-control" value="<?php echo esc_attr( (int) $import_feed_delete_days ); ?>" />
|
693 |
+
<div class="help-text pt-8">
|
694 |
+
<?php esc_html_e( 'Helpful if you want to remove stale or old items automatically. Choose 0, and the imported items will not be automatically deleted.', 'feedzy-rss-feeds' ); ?>
|
695 |
+
</div>
|
696 |
+
</div>
|
|
|
|
|
|
|
697 |
</div>
|
698 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
699 |
|
700 |
+
<div class="form-block form-block-two-column">
|
701 |
+
<div class="left">
|
702 |
+
<h4 class="h4"><?php esc_html_e( 'Remove Duplicates', 'feedzy-rss-feeds' ); ?></h4>
|
703 |
+
</div>
|
704 |
+
<div class="right">
|
705 |
+
<div class="fz-form-group">
|
706 |
+
<div class="fz-form-switch">
|
707 |
+
<input id="remove-duplicates" name="feedzy_meta_data[import_remove_duplicates]"
|
708 |
+
class="fz-switch-toggle" type="checkbox" value="yes"
|
709 |
+
<?php echo esc_attr( $import_remove_duplicates ); ?>>
|
710 |
+
<label class="feedzy-inline form-label" for="remove-duplicates"><?php esc_html_e( 'Remove Duplicate Items', 'feedzy-rss-feeds' ); ?></label>
|
711 |
+
</div>
|
712 |
+
</div>
|
713 |
+
<div class="help-text">
|
714 |
+
<?php echo wp_sprintf( esc_html__( 'To understand how duplicates will be removed, check out our', 'feedzy-rss-feeds' ) ); ?>
|
715 |
+
<a href="<?php echo esc_url( 'https://docs.themeisle.com/article/638-how-to-eliminate-duplicate-feed-item' ); ?>" target="_blank"><?php esc_html_e( 'Documentation.', 'feedzy-rss-feeds' ); ?></a>
|
716 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
717 |
</div>
|
718 |
</div>
|
|
|
|
|
719 |
|
720 |
+
<div class="form-block form-block-two-column">
|
721 |
+
<div class="left">
|
722 |
+
<h4 class="h4"><?php esc_html_e( 'Items Count', 'feedzy-rss-feeds' ); ?></h4>
|
723 |
+
</div>
|
724 |
+
<div class="right">
|
725 |
+
<div class="fz-form-group">
|
726 |
+
<label class="form-label"><?php esc_html_e( 'How many feed items to import from the source?', 'feedzy-rss-feeds' ); ?></label>
|
727 |
+
<input type="number" min="0" max="9999" id="feedzy_item_limit" name="feedzy_meta_data[import_feed_limit]" class="form-control" value="<?php echo esc_attr( (int) $import_feed_limit ); ?>" />
|
728 |
+
<div class="help-text pt-8">
|
729 |
+
<?php echo wp_kses_post( sprintf( __( 'If you choose a high number, please check that your configuration can support it or your imports may fail.', 'feedzy-rss-feeds' ), '<b>', '</b>' ) ); ?>
|
730 |
+
</div>
|
731 |
+
</div>
|
732 |
+
</div>
|
733 |
+
</div>
|
734 |
+
<?php if ( function_exists( 'icl_get_languages' ) ) : ?>
|
735 |
+
<div class="form-block form-block-two-column">
|
736 |
+
<div class="left">
|
737 |
+
<h4 class="h4"><?php esc_html_e( 'Assign Language', 'feedzy-rss-feeds' ); ?><?php echo ! feedzy_is_pro() ? ' <span class="pro-label">PRO</span>' : ''; ?></h4>
|
738 |
+
<?php if ( ! feedzy_is_pro() ) : ?>
|
739 |
+
<div class="form-block-pro-text">
|
740 |
+
<?php esc_html_e( 'This feature is only for Pro users.', 'feedzy-rss-feeds' ); ?><br>
|
741 |
+
<a href="https://docs.themeisle.com/category/712-feedzy" target="_blank"><?php esc_html_e( 'Learn More', 'feedzy-rss-feeds' ); ?></a>
|
742 |
+
</div>
|
743 |
+
<?php endif; ?>
|
744 |
+
</div>
|
745 |
+
<div class="right">
|
746 |
+
<div class="fz-form-group">
|
747 |
+
<label class="form-label"><?php esc_html_e( 'Content Language after import', 'feedzy-rss-feeds' ); ?></label>
|
748 |
+
<div class="mx-320">
|
749 |
+
<select id="feedzy_site_language" class="form-control feedzy-chosen" name="feedzy_meta_data[language]">
|
750 |
+
<?php
|
751 |
+
$current_language = defined( 'ICL_LANGUAGE_CODE' ) ? ICL_LANGUAGE_CODE : '';
|
752 |
+
$import_selected_language = ! empty( $import_selected_language ) ? $import_selected_language : $current_language;
|
753 |
+
$languages = icl_get_languages();
|
754 |
+
foreach ( $languages as $language ) {
|
755 |
+
$selected = '';
|
756 |
+
$code = isset( $language['language_code'] ) ? $language['language_code'] : $language['code'];
|
757 |
+
$name = isset( $language['translated_name'] ) && ! empty( $language['translated_name'] ) ? $language['translated_name'] : $language['native_name'];
|
758 |
+
if ( $code === $import_selected_language ) {
|
759 |
+
$selected = 'selected';
|
760 |
+
}
|
761 |
+
?>
|
762 |
+
<option value="<?php echo esc_attr( $code ); ?>" <?php echo esc_attr( $selected ); ?>>
|
763 |
+
<?php echo esc_html( $name ); ?></option>
|
764 |
+
<?php
|
765 |
+
}
|
766 |
+
?>
|
767 |
+
</select>
|
768 |
+
</div>
|
769 |
+
<div class="help-text">
|
770 |
+
<?php esc_html_e( 'Select the language the content will have when it will be imported.', 'feedzy-rss-feeds' ); ?>
|
771 |
+
</div>
|
772 |
+
</div>
|
773 |
+
</div>
|
774 |
+
</div>
|
775 |
+
<?php endif; ?>
|
776 |
+
|
777 |
+
<?php
|
778 |
+
if ( $this->feedzy_is_agency() ) :
|
779 |
+
$target_lang = array(
|
780 |
+
'en' => __( 'English', 'feedzy-rss-feeds' ),
|
781 |
+
'af' => __( 'Afrikaans', 'feedzy-rss-feeds' ),
|
782 |
+
'am' => __( 'Amharic', 'feedzy-rss-feeds' ),
|
783 |
+
'ar' => __( 'Arabic', 'feedzy-rss-feeds' ),
|
784 |
+
'ast' => __( 'Asturian', 'feedzy-rss-feeds' ),
|
785 |
+
'az' => __( 'Azerbaijani', 'feedzy-rss-feeds' ),
|
786 |
+
'ba' => __( 'Bashkir', 'feedzy-rss-feeds' ),
|
787 |
+
'be' => __( 'Belarusian', 'feedzy-rss-feeds' ),
|
788 |
+
'bg' => __( 'Bulgarian', 'feedzy-rss-feeds' ),
|
789 |
+
'bn' => __( 'Bengali', 'feedzy-rss-feeds' ),
|
790 |
+
'br' => __( 'Breton', 'feedzy-rss-feeds' ),
|
791 |
+
'bs' => __( 'Bosnian', 'feedzy-rss-feeds' ),
|
792 |
+
'ca' => __( 'Catalan', 'feedzy-rss-feeds' ),
|
793 |
+
'ceb' => __( 'Cebuano', 'feedzy-rss-feeds' ),
|
794 |
+
'cs' => __( 'Czech', 'feedzy-rss-feeds' ),
|
795 |
+
'cy' => __( 'Welsh', 'feedzy-rss-feeds' ),
|
796 |
+
'da' => __( 'Danish', 'feedzy-rss-feeds' ),
|
797 |
+
'de' => __( 'German', 'feedzy-rss-feeds' ),
|
798 |
+
'el' => __( 'Greeek', 'feedzy-rss-feeds' ),
|
799 |
+
'es' => __( 'Spanish', 'feedzy-rss-feeds' ),
|
800 |
+
'et' => __( 'Estonian', 'feedzy-rss-feeds' ),
|
801 |
+
'fa' => __( 'Persian', 'feedzy-rss-feeds' ),
|
802 |
+
'ff' => __( 'Fulah', 'feedzy-rss-feeds' ),
|
803 |
+
'fi' => __( 'Finnish', 'feedzy-rss-feeds' ),
|
804 |
+
'fr' => __( 'French', 'feedzy-rss-feeds' ),
|
805 |
+
'fy' => __( 'Western Frisian', 'feedzy-rss-feeds' ),
|
806 |
+
'ga' => __( 'Irish', 'feedzy-rss-feeds' ),
|
807 |
+
'gd' => __( 'Gaelic', 'feedzy-rss-feeds' ),
|
808 |
+
'gl' => __( 'Galician', 'feedzy-rss-feeds' ),
|
809 |
+
'gu' => __( 'Gujarati', 'feedzy-rss-feeds' ),
|
810 |
+
'ha' => __( 'Hausa', 'feedzy-rss-feeds' ),
|
811 |
+
'he' => __( 'Hebrew', 'feedzy-rss-feeds' ),
|
812 |
+
'hi' => __( 'Hindi', 'feedzy-rss-feeds' ),
|
813 |
+
'hr' => __( 'Croatian', 'feedzy-rss-feeds' ),
|
814 |
+
'ht' => __( 'Haitian', 'feedzy-rss-feeds' ),
|
815 |
+
'hu' => __( 'Hungarian', 'feedzy-rss-feeds' ),
|
816 |
+
'hy' => __( 'Armenian', 'feedzy-rss-feeds' ),
|
817 |
+
'id' => __( 'Indonesian', 'feedzy-rss-feeds' ),
|
818 |
+
'ig' => __( 'Igbo', 'feedzy-rss-feeds' ),
|
819 |
+
'ilo' => __( 'Iloko', 'feedzy-rss-feeds' ),
|
820 |
+
'is' => __( 'Icelandic', 'feedzy-rss-feeds' ),
|
821 |
+
'it' => __( 'Italian', 'feedzy-rss-feeds' ),
|
822 |
+
'ja' => __( 'Japanese', 'feedzy-rss-feeds' ),
|
823 |
+
'jv' => __( 'Javanese', 'feedzy-rss-feeds' ),
|
824 |
+
'ka' => __( 'Georgian', 'feedzy-rss-feeds' ),
|
825 |
+
'kk' => __( 'Kazakh', 'feedzy-rss-feeds' ),
|
826 |
+
'km' => __( 'Central Khmer', 'feedzy-rss-feeds' ),
|
827 |
+
'kn' => __( 'Kannada', 'feedzy-rss-feeds' ),
|
828 |
+
'ko' => __( 'Korean', 'feedzy-rss-feeds' ),
|
829 |
+
'lb' => __( 'Luxembourgish', 'feedzy-rss-feeds' ),
|
830 |
+
'lg' => __( 'Ganda', 'feedzy-rss-feeds' ),
|
831 |
+
'ln' => __( 'Lingala', 'feedzy-rss-feeds' ),
|
832 |
+
'lo' => __( 'Lao', 'feedzy-rss-feeds' ),
|
833 |
+
'lt' => __( 'Lithuanian', 'feedzy-rss-feeds' ),
|
834 |
+
'lv' => __( 'Latvian', 'feedzy-rss-feeds' ),
|
835 |
+
'mg' => __( 'Malagasy', 'feedzy-rss-feeds' ),
|
836 |
+
'mk' => __( 'Macedonian', 'feedzy-rss-feeds' ),
|
837 |
+
'ml' => __( 'Malayalam', 'feedzy-rss-feeds' ),
|
838 |
+
'mn' => __( 'Mongolian', 'feedzy-rss-feeds' ),
|
839 |
+
'mr' => __( 'Marathi', 'feedzy-rss-feeds' ),
|
840 |
+
'ms' => __( 'Malay', 'feedzy-rss-feeds' ),
|
841 |
+
'my' => __( 'Burmese', 'feedzy-rss-feeds' ),
|
842 |
+
'ne' => __( 'Nepali', 'feedzy-rss-feeds' ),
|
843 |
+
'nl' => __( 'Dutch', 'feedzy-rss-feeds' ),
|
844 |
+
'no' => __( 'Norwegian', 'feedzy-rss-feeds' ),
|
845 |
+
'ns' => __( 'Northern Sotho', 'feedzy-rss-feeds' ),
|
846 |
+
'oc' => __( 'Occitan (post 1500)', 'feedzy-rss-feeds' ),
|
847 |
+
'or' => __( 'Oriya', 'feedzy-rss-feeds' ),
|
848 |
+
'pa' => __( 'Punjabi', 'feedzy-rss-feeds' ),
|
849 |
+
'pl' => __( 'Polish', 'feedzy-rss-feeds' ),
|
850 |
+
'ps' => __( 'Pushto', 'feedzy-rss-feeds' ),
|
851 |
+
'pt' => __( 'Portuguese', 'feedzy-rss-feeds' ),
|
852 |
+
'ro' => __( 'Romanian', 'feedzy-rss-feeds' ),
|
853 |
+
'ru' => __( 'Russian', 'feedzy-rss-feeds' ),
|
854 |
+
'sd' => __( 'Sindhi', 'feedzy-rss-feeds' ),
|
855 |
+
'si' => __( 'Sinhala', 'feedzy-rss-feeds' ),
|
856 |
+
'sk' => __( 'Slovak', 'feedzy-rss-feeds' ),
|
857 |
+
'sl' => __( 'Slovenian', 'feedzy-rss-feeds' ),
|
858 |
+
'so' => __( 'Somali', 'feedzy-rss-feeds' ),
|
859 |
+
'sq' => __( 'Albanian', 'feedzy-rss-feeds' ),
|
860 |
+
'sr' => __( 'Serbian', 'feedzy-rss-feeds' ),
|
861 |
+
'ss' => __( 'Swati', 'feedzy-rss-feeds' ),
|
862 |
+
'su' => __( 'Sundanese', 'feedzy-rss-feeds' ),
|
863 |
+
'sv' => __( 'Swedish', 'feedzy-rss-feeds' ),
|
864 |
+
'sw' => __( 'Swahili', 'feedzy-rss-feeds' ),
|
865 |
+
'ta' => __( 'Tamil', 'feedzy-rss-feeds' ),
|
866 |
+
'th' => __( 'Thai', 'feedzy-rss-feeds' ),
|
867 |
+
'tl' => __( 'Tagalog', 'feedzy-rss-feeds' ),
|
868 |
+
'tn' => __( 'Tswana', 'feedzy-rss-feeds' ),
|
869 |
+
'tr' => __( 'Turkish', 'feedzy-rss-feeds' ),
|
870 |
+
'uk' => __( 'Ukrainian', 'feedzy-rss-feeds' ),
|
871 |
+
'ur' => __( 'Urdu', 'feedzy-rss-feeds' ),
|
872 |
+
'uz' => __( 'Uzbek', 'feedzy-rss-feeds' ),
|
873 |
+
'vi' => __( 'Vietnamese', 'feedzy-rss-feeds' ),
|
874 |
+
'wo' => __( 'Wolof', 'feedzy-rss-feeds' ),
|
875 |
+
'xh' => __( 'Xhosa', 'feedzy-rss-feeds' ),
|
876 |
+
'yi' => __( 'Yiddish', 'feedzy-rss-feeds' ),
|
877 |
+
'yo' => __( 'Yoruba', 'feedzy-rss-feeds' ),
|
878 |
+
'zh' => __( 'Chinese', 'feedzy-rss-feeds' ),
|
879 |
+
'zu' => __( 'Zulu', 'feedzy-rss-feeds' ),
|
880 |
+
);
|
881 |
+
$target_lang = apply_filters( 'feedzy_available_automatically_translation_language', $target_lang );
|
882 |
?>
|
883 |
+
<div class="form-block form-block-two-column">
|
884 |
+
<div class="left">
|
885 |
+
<h4 class="h4"><?php esc_html_e( 'Enable automatic translation?', 'feedzy-rss-feeds' ); ?></h4>
|
886 |
+
<div class="form-block-pro-text">
|
887 |
+
<?php esc_html_e( 'Enable and select the language to translate the text automatically. Enable this only if you used the Translate magic tags. The default is English', 'feedzy-rss-feeds' ); ?>
|
888 |
+
</div>
|
889 |
+
</div>
|
890 |
+
<div class="right">
|
891 |
+
<div class="fz-form-group">
|
892 |
+
<div style="margin-bottom: 5px;">
|
893 |
+
<input id="feedzy-auto-translation" name="feedzy_meta_data[import_auto_translation]" class="fz-switch-toggle" type="checkbox" value="yes" <?php echo esc_attr( $import_auto_translation ); ?>>
|
894 |
+
<label for="feedzy-auto-translation" class="feedzy-inline"></label>
|
895 |
+
<label class="feedzy-inline" style="margin-left: 10px;" for="import_auto_translation"></label>
|
896 |
+
</div>
|
897 |
+
<div>
|
898 |
+
<select id="feedzy_auto_translation_lang" class="form-control feedzy-chosen" name="feedzy_meta_data[import_auto_translation_lang]"<?php echo empty( $import_auto_translation ) ? ' disabled' : ''; ?>>
|
899 |
+
<?php foreach ( $target_lang as $code => $lang ) : ?>
|
900 |
+
<option value="<?php echo esc_attr( $code ); ?>"<?php echo $import_translation_lang === $code ? ' selected' : ''; ?>><?php echo esc_html( $lang ); ?></option>
|
901 |
+
<?php endforeach; ?>
|
902 |
+
</select>
|
903 |
</div>
|
904 |
</div>
|
905 |
</div>
|
906 |
</div>
|
907 |
+
<?php endif; ?>
|
908 |
+
</div>
|
|
|
|
|
909 |
</div>
|
|
|
|
|
910 |
</div>
|
911 |
+
</div>
|
912 |
|
913 |
+
<input type="hidden" id="custom_post_status" name="custom_post_status" value="draft" />
|
914 |
+
<div class="fz-form-action">
|
915 |
+
<div class="left">
|
916 |
+
<?php
|
917 |
+
$clone_url = wp_nonce_url(
|
918 |
+
add_query_arg(
|
919 |
+
array(
|
920 |
+
'action' => 'feedzy_clone_import_job',
|
921 |
+
'feedzy_job_id' => $post->ID,
|
922 |
+
),
|
923 |
+
'admin.php'
|
924 |
+
),
|
925 |
+
FEEDZY_BASENAME,
|
926 |
+
'clone_import'
|
927 |
+
);
|
928 |
+
?>
|
929 |
+
<a href="<?php echo esc_url( $clone_url ); ?>" class="btn btn-ghost"><?php esc_html_e( 'Clone Import', 'feedzy-rss-feeds' ); ?></a>
|
930 |
+
</div>
|
931 |
+
<div class="right">
|
932 |
+
<button type="button" id="preflight" name="check" class="btn btn-ghost" value="Check"
|
933 |
+
title="<?php esc_html_e( 'Click to see what items will be imported from the source, according to the filters specified', 'feedzy-rss-feeds' ); ?>"><?php esc_html_e( 'Preview Import', 'feedzy-rss-feeds' ); ?></button>
|
934 |
<?php
|
935 |
if ( 'publish' === $post_status ) {
|
936 |
?>
|
937 |
+
<button type="submit" name="publish" class="btn btn-outline-primary" value="Publish"><?php esc_html_e( 'Save', 'feedzy-rss-feeds' ); ?></button>
|
938 |
<?php
|
939 |
} else {
|
940 |
?>
|
941 |
+
<button type="submit" name="save" class="btn btn-outline-primary" value="Save Draft" style="float: none;"><?php esc_html_e( 'Save', 'feedzy-rss-feeds' ); ?></button>
|
942 |
+
<button type="submit" name="publish" class="btn btn-primary" value="Publish"><?php esc_html_e( 'Save & Activate importing', 'feedzy-rss-feeds' ); ?></button>
|
943 |
<?php
|
944 |
}
|
945 |
?>
|
946 |
+
|
947 |
</div>
|
948 |
+
</div>
|
949 |
</div>
|
950 |
|
951 |
<script id="empty_select_tpl" type="text/template">
|
959 |
<script id="new_field_tpl" type="text/template">
|
960 |
<?php echo wp_kses( apply_filters( 'feedzy_custom_field_template', '' ), apply_filters( 'feedzy_wp_kses_allowed_html', array() ) ); ?>
|
961 |
</script>
|
|
includes/views/js/import-metabox-edit.js
CHANGED
@@ -6,410 +6,675 @@
|
|
6 |
* @package feedzy-rss-feeds-pro
|
7 |
*/
|
8 |
/* global jQuery, ajaxurl, feedzy, tb_show */
|
9 |
-
(function($){
|
10 |
function scroll_to_class(element_class, removed_height) {
|
11 |
-
var scroll_to = $(
|
12 |
-
if ($(
|
13 |
-
$(
|
14 |
}
|
15 |
}
|
16 |
|
17 |
function bar_progress(progress_line_object, direction) {
|
18 |
-
var number_of_steps = progress_line_object.data(
|
19 |
-
var now_value = progress_line_object.data(
|
20 |
var new_value = 0;
|
21 |
-
if (direction ===
|
22 |
-
new_value = now_value +
|
23 |
-
} else if (direction ===
|
24 |
-
new_value = now_value -
|
25 |
}
|
26 |
-
progress_line_object
|
|
|
|
|
27 |
}
|
28 |
|
29 |
function add_source() {
|
30 |
-
var field_name = $(
|
31 |
-
var field_tag = $(
|
32 |
-
$(
|
33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
return false;
|
35 |
}
|
36 |
|
37 |
function append_tag() {
|
38 |
-
|
39 |
-
var field_tag = $(
|
40 |
-
if (
|
41 |
-
$(
|
|
|
|
|
|
|
42 |
} else {
|
43 |
-
|
44 |
-
|
|
|
45 |
}
|
46 |
-
$(
|
47 |
-
$(
|
48 |
return false;
|
49 |
}
|
50 |
|
51 |
function remove_row() {
|
52 |
-
$(
|
53 |
-
|
54 |
}
|
55 |
|
56 |
function new_row() {
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
$(
|
61 |
initCustomFieldAutoComplete();
|
62 |
-
|
63 |
}
|
64 |
|
65 |
function update_status() {
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
|
70 |
var data = {
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
};
|
77 |
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
return true;
|
95 |
}
|
96 |
|
97 |
function toggle_dropdown() {
|
98 |
-
$(
|
|
|
99 |
}
|
100 |
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
|
113 |
function update_taxonomy() {
|
114 |
-
var selected = $(
|
115 |
-
var tax_selected = $(
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
|
122 |
var data = {
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
};
|
128 |
|
129 |
-
|
|
|
|
|
130 |
|
131 |
-
$.post(
|
132 |
-
var taxonomies = JSON.parse(
|
133 |
var show_terms = true;
|
134 |
|
135 |
-
var options =
|
136 |
-
if (
|
137 |
-
$.each(taxonomies, function (
|
138 |
-
if (
|
139 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
$.each(terms, function (i, term) {
|
141 |
-
var sel_option =
|
142 |
-
if (
|
143 |
-
sel_option =
|
144 |
}
|
145 |
-
options +=
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
146 |
});
|
147 |
-
options +=
|
148 |
}
|
149 |
});
|
150 |
} else {
|
151 |
show_terms = false;
|
152 |
-
options = $(
|
153 |
}
|
154 |
|
155 |
-
$(
|
156 |
});
|
157 |
return true;
|
158 |
}
|
159 |
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
164 |
});
|
165 |
|
166 |
-
|
167 |
-
$(
|
168 |
-
$(
|
169 |
-
$(
|
170 |
e.preventDefault();
|
171 |
-
$(
|
172 |
return false;
|
173 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
174 |
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
|
|
|
|
|
|
179 |
|
180 |
-
$(
|
181 |
-
$(
|
182 |
-
|
183 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
184 |
}
|
185 |
-
$(
|
186 |
-
$(
|
187 |
-
$(
|
188 |
-
$(
|
189 |
|
190 |
/*
|
191 |
Form
|
192 |
*/
|
193 |
-
$(
|
194 |
|
195 |
// next step
|
196 |
-
$(
|
197 |
-
var parent_fieldset = $(
|
198 |
var next_step = true;
|
199 |
// navigation steps / progress steps
|
200 |
-
var current_active_step = $(
|
201 |
-
var progress_line = $(
|
202 |
|
203 |
// fields validation
|
204 |
-
if (
|
205 |
-
parent_fieldset.fadeOut(400, function() {
|
206 |
// change icons
|
207 |
-
current_active_step
|
|
|
|
|
|
|
|
|
208 |
// progress bar
|
209 |
-
bar_progress(
|
210 |
// show next step
|
211 |
-
$(
|
212 |
// scroll window to beginning of the form
|
213 |
-
scroll_to_class(
|
214 |
});
|
215 |
}
|
216 |
-
|
217 |
});
|
218 |
|
219 |
// previous step
|
220 |
-
$(
|
221 |
// navigation steps / progress steps
|
222 |
-
var current_active_step = $(
|
223 |
-
var progress_line = $(
|
224 |
-
|
225 |
-
$(
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
235 |
});
|
236 |
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
});
|
253 |
-
tb_show( feedzy.i10n.dry_run_title, 'TB_inline?' );
|
254 |
-
$('#TB_ajaxContent').html(feedzy.i10n.dry_run_loading);
|
255 |
-
$.ajax({
|
256 |
-
url : ajaxurl,
|
257 |
-
method : 'post',
|
258 |
-
data : {
|
259 |
-
security : feedzy.ajax.security,
|
260 |
-
fields : $.param($fields),
|
261 |
-
action : 'feedzy',
|
262 |
-
_action : 'dry_run'
|
263 |
-
},
|
264 |
-
success: function(data){
|
265 |
-
$('#TB_ajaxContent').addClass('loaded');
|
266 |
-
$('#TB_ajaxContent div').html(data.data.output);
|
267 |
-
}
|
268 |
-
});
|
269 |
-
});
|
270 |
-
|
271 |
-
// Click on pro/upgrade button.
|
272 |
-
$( document ).on( 'click', '.only-pro-inner a', function( e ) {
|
273 |
-
if ( $( this ).parents( '.only-pro-content' ).css( 'opacity' ) == 0 ) {
|
274 |
-
e.preventDefault();
|
275 |
-
}
|
276 |
-
} );
|
277 |
-
}
|
278 |
-
|
279 |
-
function initSummary() {
|
280 |
-
$('tr.type-feedzy_imports').each(function(i, e){
|
281 |
-
var $lastRunData = $(e).find('script.feedzy-last-run-data').html();
|
282 |
-
$($lastRunData).insertAfter(e);
|
283 |
-
});
|
284 |
-
|
285 |
-
// pop-ups for informational text
|
286 |
-
$( '.feedzy-dialog' ).dialog({
|
287 |
-
modal: true,
|
288 |
-
autoOpen: false,
|
289 |
-
height: 400,
|
290 |
-
width: 500,
|
291 |
-
buttons: {
|
292 |
-
Ok: function() {
|
293 |
-
$( this ).dialog( 'close' );
|
294 |
-
}
|
295 |
-
}
|
296 |
-
});
|
297 |
-
|
298 |
-
$( '.feedzy-dialog-open' ).on('click', function(e){
|
299 |
-
e.preventDefault();
|
300 |
-
var dialog = $(this).attr('data-dialog');
|
301 |
-
$('.' + dialog).dialog( 'open' );
|
302 |
-
});
|
303 |
-
|
304 |
-
// run now.
|
305 |
-
$('.feedzy-run-now').on('click', function(e){
|
306 |
-
e.preventDefault();
|
307 |
-
var button = $(this);
|
308 |
-
button.val(feedzy.i10n.importing);
|
309 |
-
|
310 |
-
var numberRow = button.parents('tr').find('~ tr.feedzy-import-status-row:first').find('td tr:first');
|
311 |
-
numberRow.find('td').hide();
|
312 |
-
numberRow.find('td:first').addClass('feedzy_run_now_msg').attr('colspan', 5).html(feedzy.i10n.importing).show();
|
313 |
-
|
314 |
-
$.ajax({
|
315 |
-
url : ajaxurl,
|
316 |
-
method : 'post',
|
317 |
-
data : {
|
318 |
-
security : feedzy.ajax.security,
|
319 |
-
id : $(this).attr('data-id'),
|
320 |
-
action : 'feedzy',
|
321 |
-
_action : 'run_now'
|
322 |
-
},
|
323 |
-
success: function(data){
|
324 |
-
numberRow.find('td:first').html(data.data.msg);
|
325 |
-
},
|
326 |
-
complete: function(){
|
327 |
-
button.val(feedzy.i10n.run_now);
|
328 |
-
}
|
329 |
-
});
|
330 |
-
});
|
331 |
-
|
332 |
-
// toggle the errors div to expand/collapse
|
333 |
-
$('td.column-feedzy-last_run .feedzy-api-error').on('click', function(){
|
334 |
-
if($(this).hasClass('expand')){
|
335 |
-
$(this).removeClass('expand');
|
336 |
-
}else{
|
337 |
-
$(this).addClass('expand');
|
338 |
-
}
|
339 |
-
});
|
340 |
-
|
341 |
-
// purge data ajax call
|
342 |
-
$('.feedzy_purge').on('click', function(e){
|
343 |
-
e.preventDefault();
|
344 |
-
var element = $(this);
|
345 |
-
showSpinner(element);
|
346 |
-
|
347 |
-
$.ajax({
|
348 |
-
url : ajaxurl,
|
349 |
-
method : 'post',
|
350 |
-
data : {
|
351 |
-
security : feedzy.ajax.security,
|
352 |
-
id : $(this).find('a').attr('data-id'),
|
353 |
-
action : 'feedzy',
|
354 |
-
_action : 'purge'
|
355 |
-
},
|
356 |
-
success: function(){
|
357 |
-
location.reload();
|
358 |
-
},
|
359 |
-
complete: function(){
|
360 |
-
hideSpinner(element);
|
361 |
-
}
|
362 |
-
});
|
363 |
-
});
|
364 |
-
}
|
365 |
-
|
366 |
-
function initCustomFieldAutoComplete() {
|
367 |
-
$('input[name="custom_vars_key[]"]').autocomplete( {
|
368 |
-
minLength: 0,
|
369 |
-
source: function (request, response) {
|
370 |
-
jQuery.post(ajaxurl, {
|
371 |
-
security: feedzy.ajax.security,
|
372 |
-
'action': 'feedzy',
|
373 |
-
'_action': 'fetch_custom_fields',
|
374 |
-
post_type: $('#feedzy_post_type').val(),
|
375 |
-
search_key: request.term
|
376 |
-
}, function (res) {
|
377 |
-
if (res.success) {
|
378 |
-
response(res.data);
|
379 |
-
} else {
|
380 |
-
response(
|
381 |
-
[
|
382 |
-
{
|
383 |
-
label: res.data.not_found_msg,
|
384 |
-
value: 'not_found_msg'
|
385 |
-
}
|
386 |
-
]
|
387 |
-
);
|
388 |
}
|
|
|
389 |
});
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
396 |
}
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
403 |
}
|
404 |
-
} ).on( 'click', function() {
|
405 |
-
$( this ).keydown();
|
406 |
} );
|
407 |
}
|
408 |
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
415 |
})(jQuery, feedzy);
|
6 |
* @package feedzy-rss-feeds-pro
|
7 |
*/
|
8 |
/* global jQuery, ajaxurl, feedzy, tb_show */
|
9 |
+
(function ($) {
|
10 |
function scroll_to_class(element_class, removed_height) {
|
11 |
+
var scroll_to = $(element_class).offset().top - removed_height;
|
12 |
+
if ($(window).scrollTop() !== scroll_to) {
|
13 |
+
$("html, body").stop().animate({ scrollTop: scroll_to }, 0);
|
14 |
}
|
15 |
}
|
16 |
|
17 |
function bar_progress(progress_line_object, direction) {
|
18 |
+
var number_of_steps = progress_line_object.data("number-of-steps");
|
19 |
+
var now_value = progress_line_object.data("now-value");
|
20 |
var new_value = 0;
|
21 |
+
if (direction === "right") {
|
22 |
+
new_value = now_value + 100 / number_of_steps;
|
23 |
+
} else if (direction === "left") {
|
24 |
+
new_value = now_value - 100 / number_of_steps;
|
25 |
}
|
26 |
+
progress_line_object
|
27 |
+
.attr("style", "width: " + new_value + "%;")
|
28 |
+
.data("now-value", new_value);
|
29 |
}
|
30 |
|
31 |
function add_source() {
|
32 |
+
var field_name = $(this).data("field-name");
|
33 |
+
var field_tag = $(this).data("field-tag");
|
34 |
+
$('[name="feedzy_meta_data[' + field_name + ']"]').data('tagify')
|
35 |
+
.addTags(field_tag);
|
36 |
+
$('[data-toggle="dropdown"]').parent().removeClass("open");
|
37 |
+
$('[name="feedzy_meta_data[' + field_name + ']"]').focus();
|
38 |
+
return false;
|
39 |
+
}
|
40 |
+
|
41 |
+
function append_outside_tag() {
|
42 |
+
var outsideWrap = $( this ).parents( '.fz-form-group, .fz-input-group' );
|
43 |
+
var tags = outsideWrap.find( '.form-control' ).val();
|
44 |
+
|
45 |
+
if ( '' === tags ) {
|
46 |
+
return false;
|
47 |
+
}
|
48 |
+
|
49 |
+
outsideWrap.find( '.form-control' ).val('');
|
50 |
+
if ( outsideWrap.next( '.tag-list' ).length > 0 ) {
|
51 |
+
outsideWrap.
|
52 |
+
next( '.tag-list' )
|
53 |
+
.find( 'input.fz-tagify-outside, input.fz-tagify--outside' )
|
54 |
+
.data('tagify')
|
55 |
+
.addTags( tags );
|
56 |
+
} else {
|
57 |
+
outsideWrap.find( 'input.fz-tagify-outside, input.fz-tagify--outside' )
|
58 |
+
.data('tagify')
|
59 |
+
.addTags( tags );
|
60 |
+
}
|
61 |
return false;
|
62 |
}
|
63 |
|
64 |
function append_tag() {
|
65 |
+
var field_name = $(this).data("field-name");
|
66 |
+
var field_tag = $(this).data("field-tag");
|
67 |
+
if (field_name === "import_post_date" || field_name === "import_post_featured_img") {
|
68 |
+
$('[name="feedzy_meta_data[' + field_name + ']"]').data('tagify').removeAllTags();
|
69 |
+
$('[name="feedzy_meta_data[' + field_name + ']"]').data('tagify').addTags(
|
70 |
+
"[#" + field_tag + "]"
|
71 |
+
);
|
72 |
} else {
|
73 |
+
$('[name="feedzy_meta_data[' + field_name + ']"]').data('tagify').addTags(
|
74 |
+
"[#" + field_tag + "]"
|
75 |
+
);
|
76 |
}
|
77 |
+
$('[data-toggle="dropdown"]').parent().removeClass("open");
|
78 |
+
$('[name="feedzy_meta_data[' + field_name + ']"]').focus();
|
79 |
return false;
|
80 |
}
|
81 |
|
82 |
function remove_row() {
|
83 |
+
$(this).closest(".key-value-item").remove();
|
84 |
+
return false;
|
85 |
}
|
86 |
|
87 |
function new_row() {
|
88 |
+
var html_row = "";
|
89 |
+
html_row = $("#new_field_tpl").html();
|
90 |
+
$(".custom_fields").append(html_row);
|
91 |
+
$(".btn.btn-remove-fields").on("click", remove_row);
|
92 |
initCustomFieldAutoComplete();
|
93 |
+
return false;
|
94 |
}
|
95 |
|
96 |
function update_status() {
|
97 |
+
var toggle = $(this);
|
98 |
+
var post_id = $(this).val();
|
99 |
+
var status = $(this).is(":checked");
|
100 |
|
101 |
var data = {
|
102 |
+
security: feedzy.ajax.security,
|
103 |
+
action: "feedzy",
|
104 |
+
_action: "import_status",
|
105 |
+
id: post_id,
|
106 |
+
status: status,
|
107 |
};
|
108 |
|
109 |
+
showSpinner(toggle);
|
110 |
+
$.ajax({
|
111 |
+
url: ajaxurl,
|
112 |
+
data: data,
|
113 |
+
method: "POST",
|
114 |
+
success: function (data) {
|
115 |
+
if (!data.success && status) {
|
116 |
+
toggle
|
117 |
+
.parents("tr")
|
118 |
+
.find("td.feedzy-source")
|
119 |
+
.find(".feedzy-error-critical")
|
120 |
+
.remove();
|
121 |
+
toggle
|
122 |
+
.parents("tr")
|
123 |
+
.find("td.feedzy-source")
|
124 |
+
.append($(data.data.msg));
|
125 |
+
toggle.prop("checked", false);
|
126 |
+
}
|
127 |
+
},
|
128 |
+
complete: function () {
|
129 |
+
hideSpinner(toggle);
|
130 |
+
},
|
131 |
+
});
|
132 |
return true;
|
133 |
}
|
134 |
|
135 |
function toggle_dropdown() {
|
136 |
+
$( '.dropdown.open' ).not( $(this).parent() ).removeClass( 'open' );
|
137 |
+
$(this).parent().toggleClass("open");
|
138 |
}
|
139 |
|
140 |
+
function in_array($key, $array) {
|
141 |
+
if (typeof $array === "undefined" || $array.length === 0 || $key === "") {
|
142 |
+
return false;
|
143 |
+
}
|
144 |
+
for (var i = 0; i < $array.length; i++) {
|
145 |
+
if ($array[i] === $key) {
|
146 |
+
return true;
|
147 |
+
}
|
148 |
+
}
|
149 |
+
return false;
|
150 |
+
}
|
151 |
|
152 |
function update_taxonomy() {
|
153 |
+
var selected = $(this).val();
|
154 |
+
var tax_selected = $(this).data("tax");
|
155 |
+
if (typeof tax_selected !== "undefined") {
|
156 |
+
tax_selected = tax_selected.split(",");
|
157 |
+
} else {
|
158 |
+
tax_selected = "";
|
159 |
+
}
|
160 |
|
161 |
var data = {
|
162 |
+
security: feedzy.ajax.security,
|
163 |
+
action: "feedzy",
|
164 |
+
_action: "get_taxonomies",
|
165 |
+
post_type: selected,
|
166 |
};
|
167 |
|
168 |
+
$("#feedzy_post_terms")
|
169 |
+
.html($("#loading_select_tpl").html())
|
170 |
+
.trigger("chosen:updated");
|
171 |
|
172 |
+
$.post(ajaxurl, data, function (response) {
|
173 |
+
var taxonomies = JSON.parse(response);
|
174 |
var show_terms = true;
|
175 |
|
176 |
+
var options = "";
|
177 |
+
if (taxonomies.length !== 0) {
|
178 |
+
$.each(taxonomies, function (index, terms) {
|
179 |
+
if (terms.length !== 0) {
|
180 |
+
var groupName = index;
|
181 |
+
if ( 'category' === groupName ) {
|
182 |
+
groupName = 'Category';
|
183 |
+
} else if( 'post_tag' === groupName ) {
|
184 |
+
groupName = 'Tag';
|
185 |
+
}
|
186 |
+
options += '<optgroup label="' + groupName + '">';
|
187 |
$.each(terms, function (i, term) {
|
188 |
+
var sel_option = "";
|
189 |
+
if (in_array(index + "_" + term.term_id, tax_selected)) {
|
190 |
+
sel_option = "selected";
|
191 |
}
|
192 |
+
options +=
|
193 |
+
'<option value="' +
|
194 |
+
index +
|
195 |
+
"_" +
|
196 |
+
term.term_id +
|
197 |
+
'" ' +
|
198 |
+
sel_option +
|
199 |
+
">" +
|
200 |
+
term.name +
|
201 |
+
"</option>";
|
202 |
});
|
203 |
+
options += "</optgroup>";
|
204 |
}
|
205 |
});
|
206 |
} else {
|
207 |
show_terms = false;
|
208 |
+
options = $("#empty_select_tpl").html();
|
209 |
}
|
210 |
|
211 |
+
$("#feedzy_post_terms").html(options).trigger("chosen:updated");
|
212 |
});
|
213 |
return true;
|
214 |
}
|
215 |
|
216 |
+
function htmlEntities(str) {
|
217 |
+
return String(str).replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>');
|
218 |
+
}
|
219 |
+
|
220 |
+
$(document).ready(function () {
|
221 |
+
initImportScreen();
|
222 |
+
initSummary();
|
223 |
+
initCustomFieldAutoComplete();
|
224 |
+
feedzyAccordion();
|
225 |
+
feedzyTab();
|
226 |
});
|
227 |
|
228 |
+
function initImportScreen() {
|
229 |
+
$("button.btn-submit").on("click", function (e) {
|
230 |
+
$(window).unbind("beforeunload");
|
231 |
+
$("#custom_post_status").val($(this).val());
|
232 |
e.preventDefault();
|
233 |
+
$("#post").submit();
|
234 |
return false;
|
235 |
+
});
|
236 |
+
|
237 |
+
$( '.feedzy-keyword-filter, #feedzy-import-source' ).on('keyup keypress', function(e) {
|
238 |
+
var keyCode = e.keyCode || e.which;
|
239 |
+
var addTagBtn = $( this ).parents( '.fz-input-icon' ).find( '.add-outside-tags' );
|
240 |
+
|
241 |
+
if ( '' === $( this ).val() ) {
|
242 |
+
addTagBtn.attr( 'disabled', true );
|
243 |
+
} else if ( addTagBtn.hasClass( 'fz-plus-btn' ) ) {
|
244 |
+
addTagBtn.removeAttr( 'disabled' );
|
245 |
+
}
|
246 |
|
247 |
+
if ( keyCode === 13 ) {
|
248 |
+
e.preventDefault();
|
249 |
+
addTagBtn.trigger( 'click' );
|
250 |
+
$( this ).val('');
|
251 |
+
return false;
|
252 |
+
}
|
253 |
+
} );
|
254 |
|
255 |
+
$("a.dropdown-item:not(.source)").on("click", append_tag);
|
256 |
+
$(".add-outside-tags").on("click", append_outside_tag);
|
257 |
+
$("a.dropdown-item.source").on("click", add_source);
|
258 |
+
$( document ).on( 'click', '.btn-remove-fields', remove_row );
|
259 |
+
$("#new_custom_fields").on("click", new_row);
|
260 |
+
|
261 |
+
$(".feedzy-toggle").on("click", update_status);
|
262 |
+
$(".dropdown-toggle").on("click", toggle_dropdown);
|
263 |
+
if ($("#toplevel_page_feedzy-admin-menu li").hasClass("current")) {
|
264 |
+
$("#toplevel_page_feedzy-admin-menu")
|
265 |
+
.removeClass("wp-not-current-submenu")
|
266 |
+
.addClass("wp-has-current-submenu");
|
267 |
}
|
268 |
+
$(".feedzy-chosen").chosen({ width: "100%" });
|
269 |
+
$("#feedzy_post_type").on("change", update_taxonomy);
|
270 |
+
$("#feedzy_post_type").trigger("change");
|
271 |
+
$("#feedzy_post_status").trigger("change");
|
272 |
|
273 |
/*
|
274 |
Form
|
275 |
*/
|
276 |
+
$(".f1 fieldset:first").fadeIn("slow");
|
277 |
|
278 |
// next step
|
279 |
+
$(".f1 .btn-next").on("click", function () {
|
280 |
+
var parent_fieldset = $(this).parents("fieldset");
|
281 |
var next_step = true;
|
282 |
// navigation steps / progress steps
|
283 |
+
var current_active_step = $(this).parents(".f1").find(".f1-step.active");
|
284 |
+
var progress_line = $(this).parents(".f1").find(".f1-progress-line");
|
285 |
|
286 |
// fields validation
|
287 |
+
if (next_step) {
|
288 |
+
parent_fieldset.fadeOut(400, function () {
|
289 |
// change icons
|
290 |
+
current_active_step
|
291 |
+
.removeClass("active")
|
292 |
+
.addClass("activated")
|
293 |
+
.next()
|
294 |
+
.addClass("active");
|
295 |
// progress bar
|
296 |
+
bar_progress(progress_line, "right");
|
297 |
// show next step
|
298 |
+
$(this).next().fadeIn();
|
299 |
// scroll window to beginning of the form
|
300 |
+
scroll_to_class($(".f1"), 20);
|
301 |
});
|
302 |
}
|
|
|
303 |
});
|
304 |
|
305 |
// previous step
|
306 |
+
$(".f1 .btn-previous").on("click", function () {
|
307 |
// navigation steps / progress steps
|
308 |
+
var current_active_step = $(this).parents(".f1").find(".f1-step.active");
|
309 |
+
var progress_line = $(this).parents(".f1").find(".f1-progress-line");
|
310 |
+
|
311 |
+
$(this)
|
312 |
+
.parents("fieldset")
|
313 |
+
.fadeOut(400, function () {
|
314 |
+
// change icons
|
315 |
+
current_active_step
|
316 |
+
.removeClass("active")
|
317 |
+
.prev()
|
318 |
+
.removeClass("activated")
|
319 |
+
.addClass("active");
|
320 |
+
// progress bar
|
321 |
+
bar_progress(progress_line, "left");
|
322 |
+
// show previous step
|
323 |
+
$(this).prev().fadeIn();
|
324 |
+
// scroll window to beginning of the form
|
325 |
+
scroll_to_class($(".f1"), 20);
|
326 |
+
});
|
327 |
});
|
328 |
|
329 |
+
$("#feedzy-validate-feed").on("click", function (e) {
|
330 |
+
let $url = $("#feedzy-source-tags").val();
|
331 |
+
let $anchor = $(this);
|
332 |
+
$anchor.attr("href", $anchor.attr("data-href-base") + $url);
|
333 |
+
});
|
334 |
+
|
335 |
+
$("#preflight").on("click", function (e) {
|
336 |
+
e.preventDefault();
|
337 |
+
var $fields = {};
|
338 |
+
// collect all elements.
|
339 |
+
$("#feedzy-import-form")
|
340 |
+
.find(":input")
|
341 |
+
.each(function (index, element) {
|
342 |
+
if ("undefined" === typeof $(element).attr("name")) {
|
343 |
+
return;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
344 |
}
|
345 |
+
$fields[$(element).attr("name")] = $(element).val();
|
346 |
});
|
347 |
+
tb_show(feedzy.i10n.dry_run_title, "TB_inline?");
|
348 |
+
$("#TB_ajaxContent").html(feedzy.i10n.dry_run_loading);
|
349 |
+
$.ajax({
|
350 |
+
url: ajaxurl,
|
351 |
+
method: "post",
|
352 |
+
data: {
|
353 |
+
security: feedzy.ajax.security,
|
354 |
+
fields: $.param($fields),
|
355 |
+
action: "feedzy",
|
356 |
+
_action: "dry_run",
|
357 |
+
},
|
358 |
+
success: function (data) {
|
359 |
+
$("#TB_ajaxContent").addClass("loaded");
|
360 |
+
$("#TB_ajaxContent div").html(data.data.output);
|
361 |
+
},
|
362 |
+
});
|
363 |
+
});
|
364 |
+
|
365 |
+
// Click on pro/upgrade button.
|
366 |
+
$(document).on("click", ".only-pro-inner a", function (e) {
|
367 |
+
if ($(this).parents(".only-pro-content").css("opacity") == 0) {
|
368 |
+
e.preventDefault();
|
369 |
+
}
|
370 |
+
});
|
371 |
+
|
372 |
+
// Enable/Disable auto translation.
|
373 |
+
$( document ).on( 'change', '#feedzy-auto-translation', function() {
|
374 |
+
$( '#feedzy_auto_translation_lang' ).attr( 'disabled', ! $( this ).is( ':checked' ) ).trigger( 'chosen:updated' );
|
375 |
+
} );
|
376 |
+
|
377 |
+
// Click to hide upsell notice.
|
378 |
+
$(document).on("click", ".remove-alert", function (e) {
|
379 |
+
var upSellNotice = $(this).parents( '.upgrade-alert' );
|
380 |
+
upSellNotice.fadeOut( 500,
|
381 |
+
function() {
|
382 |
+
upSellNotice.remove();
|
383 |
}
|
384 |
+
);
|
385 |
+
});
|
386 |
+
|
387 |
+
// Save/Update Post Title.
|
388 |
+
$(document).on('input', "#post_title", function (e) {
|
389 |
+
jQuery( '.fz-form-wrap input[name="post_title"]' ).val( $(this).val() );
|
390 |
+
});
|
391 |
+
|
392 |
+
// Close dropdown when user click on document.
|
393 |
+
$( 'body' ).on( 'click', function( e ) {
|
394 |
+
if ( $( e.target ).parent( '.dropdown-item' ).length > 0 ) {
|
395 |
+
return;
|
396 |
+
}
|
397 |
+
if ( $( e.target ).attr( 'disabled' ) ) {
|
398 |
+
return;
|
399 |
+
}
|
400 |
+
if ( $( e.target ).hasClass( 'dashicons-arrow-down-alt2' ) ) {
|
401 |
+
return;
|
402 |
+
}
|
403 |
+
if ( $( e.target ).hasClass( 'dashicons-plus-alt2' ) ) {
|
404 |
+
return;
|
405 |
+
}
|
406 |
+
if ( $( e.target ).hasClass( 'dropdown-toggle' ) ) {
|
407 |
+
return;
|
408 |
+
}
|
409 |
+
$( '.dropdown.open' ).removeClass( 'open' );
|
410 |
+
} );
|
411 |
+
|
412 |
+
// Tagify for normal textbox.
|
413 |
+
$( '.fz-input-tagify' ).tagify( {
|
414 |
+
editTags: false,
|
415 |
+
originalInputValueFormat: function( valuesArr ) {
|
416 |
+
return valuesArr.map( function( item ) {
|
417 |
+
return item.value;
|
418 |
+
} )
|
419 |
+
.join( ', ' );
|
420 |
+
}
|
421 |
+
} );
|
422 |
+
|
423 |
+
// Tagify for normal mix content field.
|
424 |
+
var mixContent = $( '.fz-textarea-tagify' ).tagify( {
|
425 |
+
mode: 'mix',
|
426 |
+
editTags: false,
|
427 |
+
originalInputValueFormat: function( valuesArr ) {
|
428 |
+
return valuesArr.map( function( item ) {
|
429 |
+
return item.value;
|
430 |
+
} )
|
431 |
+
.join( ', ' );
|
432 |
+
}
|
433 |
+
} );
|
434 |
+
|
435 |
+
if ( mixContent.length ) {
|
436 |
+
mixContent.data('tagify').removeAllTags();
|
437 |
+
mixContent.data('tagify').parseMixTags( htmlEntities( mixContent.text() ) );
|
438 |
+
}
|
439 |
+
|
440 |
+
// Tagify for outside tags with allowed duplicates.
|
441 |
+
$( '.fz-tagify-outside' ).tagify( {
|
442 |
+
editTags: true,
|
443 |
+
duplicates: true,
|
444 |
+
userInput: false,
|
445 |
+
originalInputValueFormat: function( valuesArr ) {
|
446 |
+
return valuesArr.map( function( item ) {
|
447 |
+
return item.value;
|
448 |
+
} )
|
449 |
+
.join( ', ' );
|
450 |
+
}
|
451 |
+
} )
|
452 |
+
.on( 'add', function( e ) {
|
453 |
+
var target = $( e.target );
|
454 |
+
target.parents( '.tag-list' ).removeClass( 'hidden' );
|
455 |
+
} )
|
456 |
+
.on( 'removeTag', function( e, tagData ) {
|
457 |
+
var target = $( e.target );
|
458 |
+
if ( tagData.index <= 0 ) {
|
459 |
+
target.parents( '.tag-list' ).addClass( 'hidden' );
|
460 |
+
}
|
461 |
+
} );
|
462 |
+
|
463 |
+
// Tagify for outside tags with not allowed duplicates.
|
464 |
+
$( '.fz-tagify--outside' ).tagify( {
|
465 |
+
editTags: true,
|
466 |
+
userInput: false,
|
467 |
+
originalInputValueFormat: function( valuesArr ) {
|
468 |
+
return valuesArr.map( function( item ) {
|
469 |
+
return item.value;
|
470 |
+
} )
|
471 |
+
.join( ', ' );
|
472 |
+
}
|
473 |
+
} )
|
474 |
+
.on( 'add', function( e ) {
|
475 |
+
var target = $( e.target );
|
476 |
+
target.parents( '.tag-list' ).removeClass( 'hidden' );
|
477 |
+
} )
|
478 |
+
.on( 'removeTag', function( e, tagData ) {
|
479 |
+
var target = $( e.target );
|
480 |
+
var tagList = target.parents( '.tag-list' );
|
481 |
+
if ( tagList.find( '.tagify__tag' ).length === 0 ) {
|
482 |
+
tagList.addClass( 'hidden' );
|
483 |
+
tagList.find( 'input:text' ).val( '' );
|
484 |
}
|
|
|
|
|
485 |
} );
|
486 |
}
|
487 |
|
488 |
+
function initSummary() {
|
489 |
+
$("tr.type-feedzy_imports").each(function (i, e) {
|
490 |
+
var $lastRunData = $(e).find("script.feedzy-last-run-data").html();
|
491 |
+
$($lastRunData).insertAfter(e);
|
492 |
+
});
|
493 |
+
|
494 |
+
// pop-ups for informational text
|
495 |
+
$(".feedzy-dialog").dialog({
|
496 |
+
modal: true,
|
497 |
+
autoOpen: false,
|
498 |
+
height: 400,
|
499 |
+
width: 500,
|
500 |
+
buttons: {
|
501 |
+
Ok: function () {
|
502 |
+
$(this).dialog("close");
|
503 |
+
},
|
504 |
+
},
|
505 |
+
});
|
506 |
+
|
507 |
+
$(".feedzy-dialog-open").on("click", function (e) {
|
508 |
+
e.preventDefault();
|
509 |
+
var dialog = $(this).attr("data-dialog");
|
510 |
+
$("." + dialog).dialog("open");
|
511 |
+
});
|
512 |
+
|
513 |
+
// run now.
|
514 |
+
$(".feedzy-run-now").on("click", function (e) {
|
515 |
+
e.preventDefault();
|
516 |
+
var button = $(this);
|
517 |
+
button.val(feedzy.i10n.importing);
|
518 |
+
|
519 |
+
var numberRow = button
|
520 |
+
.parents("tr")
|
521 |
+
.find("~ tr.feedzy-import-status-row:first")
|
522 |
+
.find("td tr:first");
|
523 |
+
numberRow.find("td").hide();
|
524 |
+
numberRow
|
525 |
+
.find("td:first")
|
526 |
+
.addClass("feedzy_run_now_msg")
|
527 |
+
.attr("colspan", 5)
|
528 |
+
.html(feedzy.i10n.importing)
|
529 |
+
.show();
|
530 |
+
|
531 |
+
$.ajax({
|
532 |
+
url: ajaxurl,
|
533 |
+
method: "post",
|
534 |
+
data: {
|
535 |
+
security: feedzy.ajax.security,
|
536 |
+
id: $(this).attr("data-id"),
|
537 |
+
action: "feedzy",
|
538 |
+
_action: "run_now",
|
539 |
+
},
|
540 |
+
success: function (data) {
|
541 |
+
numberRow.find("td:first").html(data.data.msg);
|
542 |
+
},
|
543 |
+
complete: function () {
|
544 |
+
button.val(feedzy.i10n.run_now);
|
545 |
+
},
|
546 |
+
});
|
547 |
+
});
|
548 |
+
|
549 |
+
// toggle the errors div to expand/collapse
|
550 |
+
$("td.column-feedzy-last_run .feedzy-api-error").on("click", function () {
|
551 |
+
if ($(this).hasClass("expand")) {
|
552 |
+
$(this).removeClass("expand");
|
553 |
+
} else {
|
554 |
+
$(this).addClass("expand");
|
555 |
+
}
|
556 |
+
});
|
557 |
+
|
558 |
+
// purge data ajax call
|
559 |
+
$(".feedzy_purge").on("click", function (e) {
|
560 |
+
e.preventDefault();
|
561 |
+
var element = $(this);
|
562 |
+
showSpinner(element);
|
563 |
+
|
564 |
+
$.ajax({
|
565 |
+
url: ajaxurl,
|
566 |
+
method: "post",
|
567 |
+
data: {
|
568 |
+
security: feedzy.ajax.security,
|
569 |
+
id: $(this).find("a").attr("data-id"),
|
570 |
+
action: "feedzy",
|
571 |
+
_action: "purge",
|
572 |
+
},
|
573 |
+
success: function () {
|
574 |
+
location.reload();
|
575 |
+
},
|
576 |
+
complete: function () {
|
577 |
+
hideSpinner(element);
|
578 |
+
},
|
579 |
+
});
|
580 |
+
});
|
581 |
+
}
|
582 |
+
|
583 |
+
function initCustomFieldAutoComplete() {
|
584 |
+
$('input[name="custom_vars_key[]"]')
|
585 |
+
.autocomplete({
|
586 |
+
minLength: 0,
|
587 |
+
source: function (request, response) {
|
588 |
+
jQuery.post(
|
589 |
+
ajaxurl,
|
590 |
+
{
|
591 |
+
security: feedzy.ajax.security,
|
592 |
+
action: "feedzy",
|
593 |
+
_action: "fetch_custom_fields",
|
594 |
+
post_type: $("#feedzy_post_type").val(),
|
595 |
+
search_key: request.term,
|
596 |
+
},
|
597 |
+
function (res) {
|
598 |
+
if (res.success) {
|
599 |
+
response(res.data);
|
600 |
+
} else {
|
601 |
+
response([
|
602 |
+
{
|
603 |
+
label: res.data.not_found_msg,
|
604 |
+
value: "not_found_msg",
|
605 |
+
},
|
606 |
+
]);
|
607 |
+
}
|
608 |
+
}
|
609 |
+
);
|
610 |
+
},
|
611 |
+
select: function (event, ui) {
|
612 |
+
if ("not_found_msg" === ui.item.value) {
|
613 |
+
setTimeout(function () {
|
614 |
+
$(event.target).val("");
|
615 |
+
});
|
616 |
+
}
|
617 |
+
},
|
618 |
+
focus: function () {
|
619 |
+
if ($(this).autocomplete("widget").is(":visible")) {
|
620 |
+
return;
|
621 |
+
}
|
622 |
+
$(this).autocomplete("search", $(this).val());
|
623 |
+
},
|
624 |
+
})
|
625 |
+
.on("click", function () {
|
626 |
+
$(this).keydown();
|
627 |
+
});
|
628 |
+
}
|
629 |
+
|
630 |
+
function showSpinner(el) {
|
631 |
+
el.parent().find(".feedzy-spinner").addClass("is-active");
|
632 |
+
}
|
633 |
+
function hideSpinner(el) {
|
634 |
+
el.parent().find(".feedzy-spinner").removeClass("is-active");
|
635 |
+
}
|
636 |
+
|
637 |
+
function feedzyAccordion() {
|
638 |
+
$(
|
639 |
+
".feedzy-accordion .feedzy-accordion-item .feedzy-accordion-item__button"
|
640 |
+
).on("click", function () {
|
641 |
+
var current_item = $(this).parents();
|
642 |
+
$(
|
643 |
+
".feedzy-accordion .feedzy-accordion-item .feedzy-accordion-item__content"
|
644 |
+
).each(function (i, el) {
|
645 |
+
if ($(el).parent().is(current_item)) {
|
646 |
+
$(el).prev().toggleClass("is-active");
|
647 |
+
$(el).slideToggle();
|
648 |
+
$(this).toggleClass("is-active");
|
649 |
+
} else {
|
650 |
+
$(el).prev().removeClass("is-active");
|
651 |
+
$(el).slideUp();
|
652 |
+
$(this).removeClass("is-active");
|
653 |
+
}
|
654 |
+
});
|
655 |
+
});
|
656 |
+
$(".feedzy-accordion .feedzy-accordion-item .feedzy-accordion-item__button")
|
657 |
+
.first()
|
658 |
+
.parent()
|
659 |
+
.addClass("is-active");
|
660 |
+
$(
|
661 |
+
".feedzy-accordion .feedzy-accordion-item > .feedzy-accordion-item__content"
|
662 |
+
)
|
663 |
+
.first()
|
664 |
+
.show()
|
665 |
+
.addClass("is-active");
|
666 |
+
}
|
667 |
+
|
668 |
+
function feedzyTab() {
|
669 |
+
$(".fz-tabs-menu a").click(function () {
|
670 |
+
$(".fz-tabs-menu a").removeClass("active");
|
671 |
+
$(this).addClass("active");
|
672 |
+
var tagid = $(this).data("id");
|
673 |
+
$(".fz-tab-content").hide();
|
674 |
+
$("#" + tagid).show();
|
675 |
+
});
|
676 |
+
$(".fz-tabs-content .fz-tab-content").hide();
|
677 |
+
$(".fz-tabs-menu a").first().addClass("active");
|
678 |
+
$(".fz-tabs-content .fz-tab-content").first().show();
|
679 |
+
}
|
680 |
})(jQuery, feedzy);
|
includes/views/js/jquery.tagify.min.js
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Tagify (v 4.9.8) - tags input component
|
3 |
+
* By Yair Even-Or
|
4 |
+
* Don't sell this code. (c)
|
5 |
+
* https://github.com/yairEO/tagify
|
6 |
+
*/
|
7 |
+
|
8 |
+
;(function($){
|
9 |
+
// just a jQuery wrapper for the vanilla version of this component
|
10 |
+
$.fn.tagify = function(settings = {}){
|
11 |
+
return this.each(function() {
|
12 |
+
var $input = $(this),
|
13 |
+
tagify;
|
14 |
+
|
15 |
+
if( $input.data("tagify") ) // don't continue if already "tagified"
|
16 |
+
return this;
|
17 |
+
|
18 |
+
settings.isJQueryPlugin = true;
|
19 |
+
tagify = new Tagify($input[0], settings);
|
20 |
+
$input.data("tagify", tagify);
|
21 |
+
});
|
22 |
+
}
|
23 |
+
|
24 |
+
/**
|
25 |
+
* Tagify (v 4.9.8) - tags input component
|
26 |
+
* By Yair Even-Or
|
27 |
+
* Don't sell this code. (c)
|
28 |
+
* https://github.com/yairEO/tagify
|
29 |
+
*/
|
30 |
+
|
31 |
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).Tagify=e()}(this,(function(){"use strict";function t(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,s)}return i}function e(e){for(var s=1;s<arguments.length;s++){var a=null!=arguments[s]?arguments[s]:{};s%2?t(Object(a),!0).forEach((function(t){i(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):t(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function i(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}const s=(t,e,i,s)=>(t=""+t,e=""+e,s&&(t=t.trim(),e=e.trim()),i?t==e:t.toLowerCase()==e.toLowerCase());function a(t,e){var i,s={};for(i in t)e.indexOf(i)<0&&(s[i]=t[i]);return s}function n(t){var e=document.createElement("div");return t.replace(/\&#?[0-9a-z]+;/gi,(function(t){return e.innerHTML=t,e.innerText}))}function o(t,e){for(e=e||"previous";t=t[e+"Sibling"];)if(3==t.nodeType)return t}function r(t){return"string"==typeof t?t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/`|'/g,"'"):t}function l(t){var e=Object.prototype.toString.call(t).split(" ")[1].slice(0,-1);return t===Object(t)&&"Array"!=e&&"Function"!=e&&"RegExp"!=e&&"HTMLUnknownElement"!=e}function d(t,e,i){function s(t,e){for(var i in e)if(e.hasOwnProperty(i)){if(l(e[i])){l(t[i])?s(t[i],e[i]):t[i]=Object.assign({},e[i]);continue}if(Array.isArray(e[i])){t[i]=Object.assign([],e[i]);continue}t[i]=e[i]}}return t instanceof Object||(t={}),s(t,e),i&&s(t,i),t}function h(t){return String.prototype.normalize?"string"==typeof t?t.normalize("NFD").replace(/[\u0300-\u036f]/g,""):void 0:t}var g=()=>/(?=.*chrome)(?=.*android)/i.test(navigator.userAgent);function c(t){return t&&t.classList&&t.classList.contains(this.settings.classNames.tag)}var p={delimiters:",",pattern:null,tagTextProp:"value",maxTags:1/0,callbacks:{},addTagOnBlur:!0,duplicates:!1,whitelist:[],blacklist:[],enforceWhitelist:!1,userInput:!0,keepInvalidTags:!1,mixTagsAllowedAfter:/,|\.|\:|\s/,mixTagsInterpolator:["[[","]]"],backspace:!0,skipInvalid:!1,pasteAsTags:!0,editTags:{clicks:2,keepInvalid:!0},transformTag:()=>{},trim:!0,a11y:{focusableTags:!1},mixMode:{insertAfterTag:" "},autoComplete:{enabled:!0,rightKey:!1},classNames:{namespace:"tagify",mixMode:"tagify--mix",selectMode:"tagify--select",input:"tagify__input",focus:"tagify--focus",tagNoAnimation:"tagify--noAnim",tagInvalid:"tagify--invalid",tagNotAllowed:"tagify--notAllowed",scopeLoading:"tagify--loading",hasMaxTags:"tagify--hasMaxTags",hasNoTags:"tagify--noTags",empty:"tagify--empty",inputInvalid:"tagify__input--invalid",dropdown:"tagify__dropdown",dropdownWrapper:"tagify__dropdown__wrapper",dropdownItem:"tagify__dropdown__item",dropdownItemActive:"tagify__dropdown__item--active",dropdownInital:"tagify__dropdown--initial",tag:"tagify__tag",tagText:"tagify__tag-text",tagX:"tagify__tag__removeBtn",tagLoading:"tagify__tag--loading",tagEditing:"tagify__tag--editable",tagFlash:"tagify__tag--flash",tagHide:"tagify__tag--hide"},dropdown:{classname:"",enabled:2,maxItems:10,searchKeys:["value","searchBy"],fuzzySearch:!0,caseSensitive:!1,accentedSearch:!0,highlightFirst:!1,closeOnSelect:!0,clearOnSelect:!0,position:"all",appendTarget:null},hooks:{beforeRemoveTag:()=>Promise.resolve(),beforePaste:()=>Promise.resolve(),suggestionClick:()=>Promise.resolve()}};function u(){this.dropdown={};for(let t in this._dropdown)this.dropdown[t]="function"==typeof this._dropdown[t]?this._dropdown[t].bind(this):this._dropdown[t];this.dropdown.refs()}var m={refs(){this.DOM.dropdown=this.parseTemplate("dropdown",[this.settings]),this.DOM.dropdown.content=this.DOM.dropdown.querySelector(this.settings.classNames.dropdownWrapperSelector)},show(t){var e,i,a,n=this.settings,o="mix"==n.mode&&!n.enforceWhitelist,r=!n.whitelist||!n.whitelist.length,d="manual"==n.dropdown.position;if(t=void 0===t?this.state.inputText:t,(!r||o||n.templates.dropdownItemNoMatch)&&!1!==n.dropdown.enable&&!this.state.isLoading){if(clearTimeout(this.dropdownHide__bindEventsTimeout),this.suggestedListItems=this.dropdown.filterListItems(t),t&&!this.suggestedListItems.length&&(this.trigger("dropdown:noMatch",t),n.templates.dropdownItemNoMatch&&(a=n.templates.dropdownItemNoMatch.call(this,{value:t}))),!a){if(this.suggestedListItems.length)t&&o&&!this.state.editing.scope&&!s(this.suggestedListItems[0].value,t)&&this.suggestedListItems.unshift({value:t});else{if(!t||!o||this.state.editing.scope)return this.input.autocomplete.suggest.call(this),void this.dropdown.hide();this.suggestedListItems=[{value:t}]}i=""+(l(e=this.suggestedListItems[0])?e.value:e),n.autoComplete&&i&&0==i.indexOf(t)&&this.input.autocomplete.suggest.call(this,e)}this.dropdown.fill(a),n.dropdown.highlightFirst&&this.dropdown.highlightOption(this.DOM.dropdown.content.children[0]),this.state.dropdown.visible||setTimeout(this.dropdown.events.binding.bind(this)),this.state.dropdown.visible=t||!0,this.state.dropdown.query=t,this.setStateSelection(),d||setTimeout((()=>{this.dropdown.position(),this.dropdown.render()})),setTimeout((()=>{this.trigger("dropdown:show",this.DOM.dropdown)}))}},hide(t){var e=this.DOM,i=e.scope,s=e.dropdown,a="manual"==this.settings.dropdown.position&&!t;if(s&&document.body.contains(s)&&!a)return window.removeEventListener("resize",this.dropdown.position),this.dropdown.events.binding.call(this,!1),i.setAttribute("aria-expanded",!1),s.parentNode.removeChild(s),setTimeout((()=>{this.state.dropdown.visible=!1}),100),this.state.dropdown.query=this.state.ddItemData=this.state.ddItemElm=this.state.selection=null,this.state.tag&&this.state.tag.value.length&&(this.state.flaggedTags[this.state.tag.baseOffset]=this.state.tag),this.trigger("dropdown:hide",s),this},toggle(t){this.dropdown[this.state.dropdown.visible&&!t?"hide":"show"]()},render(){var t,e,i,s=(t=this.DOM.dropdown,(i=t.cloneNode(!0)).style.cssText="position:fixed; top:-9999px; opacity:0",document.body.appendChild(i),e=i.clientHeight,i.parentNode.removeChild(i),e),a=this.settings;return"number"==typeof a.dropdown.enabled&&a.dropdown.enabled>=0?(this.DOM.scope.setAttribute("aria-expanded",!0),document.body.contains(this.DOM.dropdown)||(this.DOM.dropdown.classList.add(a.classNames.dropdownInital),this.dropdown.position(s),a.dropdown.appendTarget.appendChild(this.DOM.dropdown),setTimeout((()=>this.DOM.dropdown.classList.remove(a.classNames.dropdownInital)))),this):this},fill(t){var e;t="string"==typeof t?t:this.dropdown.createListHTML(t||this.suggestedListItems),this.DOM.dropdown.content.innerHTML=(e=t)?e.replace(/\>[\r\n ]+\</g,"><").replace(/(<.*?>)|\s+/g,((t,e)=>e||" ")):""},refilter(t){t=t||this.state.dropdown.query||"",this.suggestedListItems=this.dropdown.filterListItems(t),this.dropdown.fill(),this.suggestedListItems.length||this.dropdown.hide(),this.trigger("dropdown:updated",this.DOM.dropdown)},position(t){var e=this.settings.dropdown;if("manual"!=e.position){var i,s,a,n,o,r,l=this.DOM.dropdown,d=e.placeAbove,h=document.documentElement.clientHeight,g=Math.max(document.documentElement.clientWidth||0,window.innerWidth||0)>480?e.position:"all",c=this.DOM["input"==g?"input":"scope"];t=t||l.clientHeight,this.state.dropdown.visible&&("text"==g?(a=(i=this.getCaretGlobalPosition()).bottom,s=i.top,n=i.left,o="auto"):(r=function(t){for(var e=0,i=0;t;)e+=t.offsetLeft||0,i+=t.offsetTop||0,t=t.parentNode;return{left:e,top:i}}(this.settings.dropdown.appendTarget),s=(i=c.getBoundingClientRect()).top-r.top,a=i.bottom-1-r.top,n=i.left-r.left,o=i.width+"px"),s=Math.floor(s),a=Math.ceil(a),d=void 0===d?h-i.bottom<t:d,l.style.cssText="left:"+(n+window.pageXOffset)+"px; width:"+o+";"+(d?"top: "+(s+window.pageYOffset)+"px":"top: "+(a+window.pageYOffset)+"px"),l.setAttribute("placement",d?"top":"bottom"),l.setAttribute("position",g))}},events:{binding(t=!0){var e=this.dropdown.events.callbacks,i=this.listeners.dropdown=this.listeners.dropdown||{position:this.dropdown.position.bind(this),onKeyDown:e.onKeyDown.bind(this),onMouseOver:e.onMouseOver.bind(this),onMouseLeave:e.onMouseLeave.bind(this),onClick:e.onClick.bind(this),onScroll:e.onScroll.bind(this)},s=t?"addEventListener":"removeEventListener";"manual"!=this.settings.dropdown.position&&(window[s]("resize",i.position),window[s]("keydown",i.onKeyDown)),this.DOM.dropdown[s]("mouseover",i.onMouseOver),this.DOM.dropdown[s]("mouseleave",i.onMouseLeave),this.DOM.dropdown[s]("mousedown",i.onClick),this.DOM.dropdown.content[s]("scroll",i.onScroll)},callbacks:{onKeyDown(t){var e=this.DOM.dropdown.querySelector(this.settings.classNames.dropdownItemActiveSelector),i=this.dropdown.getSuggestionDataByNode(e);switch(t.key){case"ArrowDown":case"ArrowUp":case"Down":case"Up":var s;t.preventDefault(),e&&(e=e[("ArrowUp"==t.key||"Up"==t.key?"previous":"next")+"ElementSibling"]),e||(s=this.DOM.dropdown.content.children,e=s["ArrowUp"==t.key||"Up"==t.key?s.length-1:0]),i=this.dropdown.getSuggestionDataByNode(e),this.dropdown.highlightOption(e,!0);break;case"Escape":case"Esc":this.dropdown.hide();break;case"ArrowRight":if(this.state.actions.ArrowLeft)return;case"Tab":if("mix"!=this.settings.mode&&e&&!this.settings.autoComplete.rightKey&&!this.state.editing){t.preventDefault();var a=this.dropdown.getMappedValue(i);return this.input.autocomplete.set.call(this,a),!1}return!0;case"Enter":t.preventDefault(),this.settings.hooks.suggestionClick(t,{tagify:this,tagData:i,suggestionElm:e}).then((()=>{if(e)return this.dropdown.selectOption(e);this.dropdown.hide(),"mix"!=this.settings.mode&&this.addTags(this.state.inputText.trim(),!0)})).catch((t=>t));break;case"Backspace":{if("mix"==this.settings.mode||this.state.editing.scope)return;const t=this.input.raw.call(this);""!=t&&8203!=t.charCodeAt(0)||(!0===this.settings.backspace?this.removeTags():"edit"==this.settings.backspace&&setTimeout(this.editTag.bind(this),0))}}},onMouseOver(t){var e=t.target.closest(this.settings.classNames.dropdownItemSelector);e&&this.dropdown.highlightOption(e)},onMouseLeave(t){this.dropdown.highlightOption()},onClick(t){if(0==t.button&&t.target!=this.DOM.dropdown&&t.target!=this.DOM.dropdown.content){var e=t.target.closest(this.settings.classNames.dropdownItemSelector),i=this.dropdown.getSuggestionDataByNode(e);this.state.actions.selectOption=!0,setTimeout((()=>this.state.actions.selectOption=!1),50),this.settings.hooks.suggestionClick(t,{tagify:this,tagData:i,suggestionElm:e}).then((()=>{e?this.dropdown.selectOption(e):this.dropdown.hide()})).catch((t=>console.warn(t)))}},onScroll(t){var e=t.target,i=e.scrollTop/(e.scrollHeight-e.parentNode.clientHeight)*100;this.trigger("dropdown:scroll",{percentage:Math.round(i)})}}},getSuggestionDataByNode(t){var e=t?+t.getAttribute("tagifySuggestionIdx"):-1;return this.suggestedListItems[e]||null},highlightOption(t,e){var i,s=this.settings.classNames.dropdownItemActive;if(this.state.ddItemElm&&(this.state.ddItemElm.classList.remove(s),this.state.ddItemElm.removeAttribute("aria-selected")),!t)return this.state.ddItemData=null,this.state.ddItemElm=null,void this.input.autocomplete.suggest.call(this);i=this.suggestedListItems[this.getNodeIndex(t)],this.state.ddItemData=i,this.state.ddItemElm=t,t.classList.add(s),t.setAttribute("aria-selected",!0),e&&(t.parentNode.scrollTop=t.clientHeight+t.offsetTop-t.parentNode.clientHeight),this.settings.autoComplete&&(this.input.autocomplete.suggest.call(this,i),this.dropdown.position())},selectOption(t){var e=this.settings.dropdown,i=e.clearOnSelect,s=e.closeOnSelect;if(!t)return this.addTags(this.state.inputText,!0),void(s&&this.dropdown.hide());var a=t.getAttribute("tagifySuggestionIdx"),n=this.suggestedListItems[+a];this.trigger("dropdown:select",{data:n,elm:t}),a&&n?(this.state.editing?this.onEditTagDone(null,d({__isValid:!0},this.normalizeTags([n])[0])):this["mix"==this.settings.mode?"addMixTags":"addTags"]([n],i),this.DOM.input.parentNode&&(setTimeout((()=>{this.DOM.input.focus(),this.toggleFocusClass(!0)})),s?setTimeout(this.dropdown.hide.bind(this)):this.dropdown.refilter())):this.dropdown.hide()},selectAll(){return this.suggestedListItems.length=0,this.dropdown.hide(),this.addTags(this.dropdown.filterListItems(""),!0),this},filterListItems(t,e){var i,s,a,n,o,r=this.settings,d=r.dropdown,g=(e=e||{},t="select"==r.mode&&this.value.length&&this.value[0][r.tagTextProp]==t?"":t,[]),c=[],p=r.whitelist,u=d.maxItems||1/0,m=d.searchKeys,v=0;if(!t||!m.length)return(r.duplicates?p:p.filter((t=>!this.isTagDuplicate(l(t)?t.value:t)))).slice(0,u);function f(t,e){return e.toLowerCase().split(" ").every((e=>t.includes(e.toLowerCase())))}for(o=d.caseSensitive?""+t:(""+t).toLowerCase();v<p.length;v++){let t,u;i=p[v]instanceof Object?p[v]:{value:p[v]};let T=!Object.keys(i).some((t=>m.includes(t)))?["value"]:m;d.fuzzySearch&&!e.exact?(a=T.reduce(((t,e)=>t+" "+(i[e]||"")),"").toLowerCase().trim(),d.accentedSearch&&(a=h(a),o=h(o)),t=0==a.indexOf(o),u=a===o,s=f(a,o)):(t=!0,s=T.some((t=>{var s=""+(i[t]||"");return d.accentedSearch&&(s=h(s),o=h(o)),d.caseSensitive||(s=s.toLowerCase()),u=s===o,e.exact?s===o:0==s.indexOf(o)}))),n=!r.duplicates&&this.isTagDuplicate(l(i)?i.value:i),s&&!n&&(u&&t?c.push(i):"startsWith"==d.sortby&&t?g.unshift(i):g.push(i))}return"function"==typeof d.sortby?d.sortby(c.concat(g),o):c.concat(g).slice(0,u)},getMappedValue(t){var e=this.settings.dropdown.mapValueTo;return e?"function"==typeof e?e(t):t[e]||t.value:t.value},createListHTML(t){return d([],t).map(((t,e)=>{"string"!=typeof t&&"number"!=typeof t||(t={value:t});var i=this.dropdown.getMappedValue(t);t.value=i&&"string"==typeof i?r(i):i;var s=this.settings.templates.dropdownItem.apply(this,[t,this]);return s=s.replace(/\s*tagifySuggestionIdx=(["'])(.*?)\1/gim,"").replace(">",` tagifySuggestionIdx="${e}">`)})).join("")}};const v="@yaireo/tagify/";var f,T={empty:"empty",exceed:"number of tags exceeded",pattern:"pattern mismatch",duplicate:"already exists",notAllowed:"not allowed"},w={wrapper:(t,e)=>`<tags class="${e.classNames.namespace} ${e.mode?`${e.classNames[e.mode+"Mode"]}`:""} ${t.className}"\n ${e.readonly?"readonly":""}\n ${e.disabled?"disabled":""}\n ${e.required?"required":""}\n tabIndex="-1">\n <span ${!e.readonly&&e.userInput?"contenteditable":""} tabIndex="0" data-placeholder="${e.placeholder||"​"}" aria-placeholder="${e.placeholder||""}"\n class="${e.classNames.input}"\n role="textbox"\n aria-autocomplete="both"\n aria-multiline="${"mix"==e.mode}"></span>\n ​\n </tags>`,tag(t,e){var i=this.settings;return`<tag title="${t.title||t.value}"\n contenteditable='false'\n spellcheck='false'\n tabIndex="${i.a11y.focusableTags?0:-1}"\n class="${i.classNames.tag} ${t.class||""}"\n ${this.getAttributes(t)}>\n <x title='' class="${i.classNames.tagX}" role='button' aria-label='remove tag'></x>\n <div>\n <span class="${i.classNames.tagText}">${t[i.tagTextProp]||t.value}</span>\n </div>\n </tag>`},dropdown(t){var e=t.dropdown,i="manual"==e.position,s=`${t.classNames.dropdown}`;return`<div class="${i?"":s} ${e.classname}" role="listbox" aria-labelledby="dropdown">\n <div class="${t.classNames.dropdownWrapper}"></div>\n </div>`},dropdownItem(t,e){return`<div ${this.getAttributes(t)}\n class='${this.settings.classNames.dropdownItem} ${t.class?t.class:""}'\n tabindex="0"\n role="option">${t.value}</div>`},dropdownItemNoMatch:null};var b={customBinding(){this.customEventsList.forEach((t=>{this.on(t,this.settings.callbacks[t])}))},binding(t=!0){var e,i=this.events.callbacks,s=t?"addEventListener":"removeEventListener";if(!this.state.mainEvents||!t){for(var a in this.state.mainEvents=t,t&&!this.listeners.main&&(this.events.bindGlobal.call(this),this.settings.isJQueryPlugin&&jQuery(this.DOM.originalInput).on("tagify.removeAllTags",this.removeAllTags.bind(this))),e=this.listeners.main=this.listeners.main||{focus:["input",i.onFocusBlur.bind(this)],keydown:["input",i.onKeydown.bind(this)],click:["scope",i.onClickScope.bind(this)],dblclick:["scope",i.onDoubleClickScope.bind(this)],paste:["input",i.onPaste.bind(this)],drop:["input",i.onDrop.bind(this)]})this.DOM[e[a][0]][s](a,e[a][1]);clearInterval(this.listeners.main.originalInputValueObserverInterval),this.listeners.main.originalInputValueObserverInterval=setInterval(i.observeOriginalInputValue.bind(this),500);var n=this.listeners.main.inputMutationObserver||new MutationObserver(i.onInputDOMChange.bind(this));n&&n.disconnect(),"mix"==this.settings.mode&&n.observe(this.DOM.input,{childList:!0})}},bindGlobal(t){var e,i=this.events.callbacks,s=t?"removeEventListener":"addEventListener";if(t||!this.listeners.global)for(e of(this.listeners.global=this.listeners&&this.listeners.global||[{type:this.isIE?"keydown":"input",target:this.DOM.input,cb:i[this.isIE?"onInputIE":"onInput"].bind(this)},{type:"keydown",target:window,cb:i.onWindowKeyDown.bind(this)},{type:"blur",target:this.DOM.input,cb:i.onFocusBlur.bind(this)}],this.listeners.global))e.target[s](e.type,e.cb)},unbindGlobal(){this.events.bindGlobal.call(this,!0)},callbacks:{onFocusBlur(t){var e=t.target?this.trim(t.target.textContent):"",i=this.settings,s=t.type,a=i.dropdown.enabled>=0,n={relatedTarget:t.relatedTarget},o=this.state.actions.selectOption&&(a||!i.dropdown.closeOnSelect),r=this.state.actions.addNew&&a,l=t.relatedTarget&&c.call(this,t.relatedTarget)&&this.DOM.scope.contains(t.relatedTarget);if("blur"==s){if(t.relatedTarget===this.DOM.scope)return this.dropdown.hide(),void this.DOM.input.focus();this.postUpdate(),this.triggerChangeEvent()}if(!o&&!r)if(this.state.hasFocus="focus"==s&&+new Date,this.toggleFocusClass(this.state.hasFocus),"mix"!=i.mode){if("focus"==s)return this.trigger("focus",n),void(0!==i.dropdown.enabled&&i.userInput||this.dropdown.show(this.value.length?"":void 0));"blur"==s&&(this.trigger("blur",n),this.loading(!1),"select"==this.settings.mode&&l&&(e=""),("select"==this.settings.mode&&e?!this.value.length||this.value[0].value!=e:e&&!this.state.actions.selectOption&&i.addTagOnBlur)&&this.addTags(e,!0),"select"!=this.settings.mode||e||this.removeTags()),this.DOM.input.removeAttribute("style"),this.dropdown.hide()}else"focus"==s?this.trigger("focus",n):"blur"==t.type&&(this.trigger("blur",n),this.loading(!1),this.dropdown.hide(),this.state.dropdown.visible=void 0,this.setStateSelection())},onWindowKeyDown(t){var e,i=document.activeElement;if(c.call(this,i)&&this.DOM.scope.contains(document.activeElement))switch(e=i.nextElementSibling,t.key){case"Backspace":this.settings.readonly||(this.removeTags(i),(e||this.DOM.input).focus());break;case"Enter":setTimeout(this.editTag.bind(this),0,i)}},onKeydown(t){var e=this.settings;"select"==e.mode&&e.enforceWhitelist&&this.value.length&&"Tab"!=t.key&&t.preventDefault();var i=this.trim(t.target.textContent);if(this.trigger("keydown",{originalEvent:this.cloneEvent(t)}),"mix"==e.mode){switch(t.key){case"Left":case"ArrowLeft":this.state.actions.ArrowLeft=!0;break;case"Delete":case"Backspace":if(this.state.editing)return;var s,a,r,l=document.getSelection(),d="Delete"==t.key&&l.anchorOffset==(l.anchorNode.length||0),h=l.anchorNode.previousSibling,p=1==l.anchorNode.nodeType||!l.anchorOffset&&h&&1==h.nodeType&&l.anchorNode.previousSibling,u=n(this.DOM.input.innerHTML),m=this.getTagElms();if("edit"==e.backspace&&p)return s=1==l.anchorNode.nodeType?null:l.anchorNode.previousElementSibling,setTimeout(this.editTag.bind(this),0,s),void t.preventDefault();if(g()&&p)return r=o(p),p.hasAttribute("readonly")||p.remove(),this.DOM.input.focus(),void setTimeout((()=>{this.placeCaretAfterNode(r),this.DOM.input.click()}));if("BR"==l.anchorNode.nodeName)return;if((d||p)&&1==l.anchorNode.nodeType?a=0==l.anchorOffset?d?m[0]:null:m[l.anchorOffset-1]:d?a=l.anchorNode.nextElementSibling:p&&(a=p),3==l.anchorNode.nodeType&&!l.anchorNode.nodeValue&&l.anchorNode.previousElementSibling&&t.preventDefault(),(p||d)&&!e.backspace)return void t.preventDefault();if("Range"!=l.type&&!l.anchorOffset&&l.anchorNode==this.DOM.input&&"Delete"!=t.key)return void t.preventDefault();if("Range"!=l.type&&a&&a.hasAttribute("readonly"))return void this.placeCaretAfterNode(o(a));clearTimeout(f),f=setTimeout((()=>{var t=document.getSelection(),e=n(this.DOM.input.innerHTML),i=!d&&t.anchorNode.previousSibling;if(e.length>=u.length&&i)if(c.call(this,i)&&!i.hasAttribute("readonly")){if(this.removeTags(i),this.fixFirefoxLastTagNoCaret(),2==this.DOM.input.children.length&&"BR"==this.DOM.input.children[1].tagName)return this.DOM.input.innerHTML="",this.value.length=0,!0}else i.remove();this.value=[].map.call(m,((t,e)=>{var i=this.tagData(t);if(t.parentNode||i.readonly)return i;this.trigger("remove",{tag:t,index:e,data:i})})).filter((t=>t))}),20)}return!0}switch(t.key){case"Backspace":"select"==e.mode&&e.enforceWhitelist&&this.value.length?this.removeTags():this.state.dropdown.visible&&"manual"!=e.dropdown.position||""!=t.target.textContent&&8203!=i.charCodeAt(0)||(!0===e.backspace?this.removeTags():"edit"==e.backspace&&setTimeout(this.editTag.bind(this),0));break;case"Esc":case"Escape":if(this.state.dropdown.visible)return;t.target.blur();break;case"Down":case"ArrowDown":this.state.dropdown.visible||this.dropdown.show();break;case"ArrowRight":{let t=this.state.inputSuggestion||this.state.ddItemData;if(t&&e.autoComplete.rightKey)return void this.addTags([t],!0);break}case"Tab":{let s="select"==e.mode;if(!i||s)return!0;t.preventDefault()}case"Enter":if(this.state.dropdown.visible||229==t.keyCode)return;t.preventDefault(),setTimeout((()=>{this.state.actions.selectOption||this.addTags(i,!0)}))}},onInput(t){if(this.postUpdate(),"mix"==this.settings.mode)return this.events.callbacks.onMixTagsInput.call(this,t);var e=this.input.normalize.call(this),i=e.length>=this.settings.dropdown.enabled,s={value:e,inputElm:this.DOM.input};s.isValid=this.validateTag({value:e}),this.state.inputText!=e&&(this.input.set.call(this,e,!1),-1!=e.search(this.settings.delimiters)?this.addTags(e)&&this.input.set.call(this):this.settings.dropdown.enabled>=0&&this.dropdown[i?"show":"hide"](e),this.trigger("input",s))},onMixTagsInput(t){var e,i,s,a,n,o,r,l,h=this.settings,c=this.value.length,p=this.getTagElms(),u=document.createDocumentFragment(),m=window.getSelection().getRangeAt(0),v=[].map.call(p,(t=>this.tagData(t).value));if("deleteContentBackward"==t.inputType&&g()&&this.events.callbacks.onKeydown.call(this,{target:t.target,key:"Backspace"}),this.value.slice().forEach((t=>{t.readonly&&!v.includes(t.value)&&u.appendChild(this.createTagElem(t))})),u.childNodes.length&&(m.insertNode(u),this.setRangeAtStartEnd(!1,u.lastChild)),p.length!=c)return this.value=[].map.call(this.getTagElms(),(t=>this.tagData(t))),void this.update({withoutChangeEvent:!0});if(this.hasMaxTags())return!0;if(window.getSelection&&(o=window.getSelection()).rangeCount>0&&3==o.anchorNode.nodeType){if((m=o.getRangeAt(0).cloneRange()).collapse(!0),m.setStart(o.focusNode,0),s=(e=m.toString().slice(0,m.endOffset)).split(h.pattern).length-1,(i=e.match(h.pattern))&&(a=e.slice(e.lastIndexOf(i[i.length-1]))),a){if(this.state.actions.ArrowLeft=!1,this.state.tag={prefix:a.match(h.pattern)[0],value:a.replace(h.pattern,"")},this.state.tag.baseOffset=o.baseOffset-this.state.tag.value.length,l=this.state.tag.value.match(h.delimiters))return this.state.tag.value=this.state.tag.value.replace(h.delimiters,""),this.state.tag.delimiters=l[0],this.addTags(this.state.tag.value,h.dropdown.clearOnSelect),void this.dropdown.hide();n=this.state.tag.value.length>=h.dropdown.enabled;try{r=(r=this.state.flaggedTags[this.state.tag.baseOffset]).prefix==this.state.tag.prefix&&r.value[0]==this.state.tag.value[0],this.state.flaggedTags[this.state.tag.baseOffset]&&!this.state.tag.value&&delete this.state.flaggedTags[this.state.tag.baseOffset]}catch(t){}(r||s<this.state.mixMode.matchedPatternCount)&&(n=!1)}else this.state.flaggedTags={};this.state.mixMode.matchedPatternCount=s}setTimeout((()=>{this.update({withoutChangeEvent:!0}),this.trigger("input",d({},this.state.tag,{textContent:this.DOM.input.textContent})),this.state.tag&&this.dropdown[n?"show":"hide"](this.state.tag.value)}),10)},onInputIE(t){var e=this;setTimeout((function(){e.events.callbacks.onInput.call(e,t)}))},observeOriginalInputValue(){this.DOM.originalInput.value!=this.DOM.originalInput.tagifyValue&&this.loadOriginalValues()},onClickScope(t){var e=this.settings,i=t.target.closest("."+e.classNames.tag),s=+new Date-this.state.hasFocus;if(t.target!=this.DOM.scope){if(!t.target.classList.contains(e.classNames.tagX))return i?(this.trigger("click",{tag:i,index:this.getNodeIndex(i),data:this.tagData(i),originalEvent:this.cloneEvent(t)}),void(1!==e.editTags&&1!==e.editTags.clicks||this.events.callbacks.onDoubleClickScope.call(this,t))):void(t.target==this.DOM.input&&("mix"==e.mode&&this.fixFirefoxLastTagNoCaret(),s>500)?this.state.dropdown.visible?this.dropdown.hide():0===e.dropdown.enabled&&"mix"!=e.mode&&this.dropdown.show(this.value.length?"":void 0):"select"==e.mode&&!this.state.dropdown.visible&&this.dropdown.show());this.removeTags(t.target.parentNode)}else this.state.hasFocus||this.DOM.input.focus()},onPaste(t){t.preventDefault();var e,i,s=this.settings;if("select"==s.mode&&s.enforceWhitelist||!s.userInput)return!1;s.readonly||(e=t.clipboardData||window.clipboardData,i=e.getData("Text"),s.hooks.beforePaste(t,{tagify:this,pastedText:i,clipboardData:e}).then((e=>{void 0===e&&(e=i),e&&(this.injectAtCaret(e,window.getSelection().getRangeAt(0)),"mix"==this.settings.mode?this.events.callbacks.onMixTagsInput.call(this,t):this.settings.pasteAsTags?this.addTags(this.state.inputText+e,!0):this.state.inputText=e)})).catch((t=>t)))},onDrop(t){t.preventDefault()},onEditTagInput(t,e){var i=t.closest("."+this.settings.classNames.tag),s=this.getNodeIndex(i),a=this.tagData(i),n=this.input.normalize.call(this,t),o=i.innerHTML!=i.__tagifyTagData.__originalHTML,r=this.validateTag({[this.settings.tagTextProp]:n});o||!0!==t.originalIsValid||(r=!0),i.classList.toggle(this.settings.classNames.tagInvalid,!0!==r),a.__isValid=r,i.title=!0===r?a.title||a.value:r,n.length>=this.settings.dropdown.enabled&&(this.state.editing&&(this.state.editing.value=n),this.dropdown.show(n)),this.trigger("edit:input",{tag:i,index:s,data:d({},this.value[s],{newValue:n}),originalEvent:this.cloneEvent(e)})},onEditTagFocus(t){this.state.editing={scope:t,input:t.querySelector("[contenteditable]")}},onEditTagBlur(t){if(this.state.hasFocus||this.toggleFocusClass(),this.DOM.scope.contains(t)){var e,i,s=this.settings,a=t.closest("."+s.classNames.tag),n=this.input.normalize.call(this,t),o=this.tagData(a).__originalData,r=a.innerHTML!=a.__tagifyTagData.__originalHTML,l=this.validateTag({[s.tagTextProp]:n});if(n)if(r){if(e=this.hasMaxTags(),i=this.getWhitelistItem(n)||d({},o,{[s.tagTextProp]:n,value:n,__isValid:l}),s.transformTag.call(this,i,o),!0!==(l=(!e||!0===o.__isValid)&&this.validateTag({[s.tagTextProp]:i[s.tagTextProp]}))){if(this.trigger("invalid",{data:i,tag:a,message:l}),s.editTags.keepInvalid)return;s.keepInvalidTags?i.__isValid=l:i=o}else s.keepInvalidTags&&(delete i.title,delete i["aria-invalid"],delete i.class);this.onEditTagDone(a,i)}else this.onEditTagDone(a,o);else this.onEditTagDone(a)}},onEditTagkeydown(t,e){switch(this.trigger("edit:keydown",{originalEvent:this.cloneEvent(t)}),t.key){case"Esc":case"Escape":e.innerHTML=e.__tagifyTagData.__originalHTML;case"Enter":case"Tab":t.preventDefault(),t.target.blur()}},onDoubleClickScope(t){var e,i,s=t.target.closest("."+this.settings.classNames.tag),a=this.settings;s&&a.userInput&&(e=s.classList.contains(this.settings.classNames.tagEditing),i=s.hasAttribute("readonly"),"select"==a.mode||a.readonly||e||i||!this.settings.editTags||this.editTag(s),this.toggleFocusClass(!0),this.trigger("dblclick",{tag:s,index:this.getNodeIndex(s),data:this.tagData(s)}))},onInputDOMChange(t){t.forEach((t=>{t.addedNodes.forEach((t=>{if(t)if("<div><br></div>"==t.outerHTML)t.replaceWith(document.createElement("br"));else if(1==t.nodeType&&t.querySelector(this.settings.classNames.tagSelector)){let e=document.createTextNode("");3==t.childNodes[0].nodeType&&"BR"!=t.previousSibling.nodeName&&(e=document.createTextNode("\n")),t.replaceWith(e,...[...t.childNodes].slice(0,-1)),this.placeCaretAfterNode(e.previousSibling)}else c.call(this,t)&&t.previousSibling&&"BR"==t.previousSibling.nodeName&&(t.previousSibling.replaceWith("\n"),this.placeCaretAfterNode(t.previousSibling.previousSibling))})),t.removedNodes.forEach((t=>{t&&"BR"==t.nodeName&&c.call(this,e)&&(this.removeTags(e),this.fixFirefoxLastTagNoCaret())}))}));var e=this.DOM.input.lastChild;e&&""==e.nodeValue&&e.remove(),e&&"BR"==e.nodeName||this.DOM.input.appendChild(document.createElement("br"))}}};function y(t,e){if(!t){console.warn("Tagify:","input element not found",t);const e=new Proxy(this,{get:()=>()=>e});return e}if(t.previousElementSibling&&t.previousElementSibling.classList.contains("tagify"))return console.warn("Tagify: ","input element is already Tagified",t),this;var i;d(this,function(t){var e=document.createTextNode("");function i(t,i,s){s&&i.split(/\s+/g).forEach((i=>e[t+"EventListener"].call(e,i,s)))}return{off(t,e){return i("remove",t,e),this},on(t,e){return e&&"function"==typeof e&&i("add",t,e),this},trigger(i,s,a){var n;if(a=a||{cloneData:!0},i)if(t.settings.isJQueryPlugin)"remove"==i&&(i="removeTag"),jQuery(t.DOM.originalInput).triggerHandler(i,[s]);else{try{var o="object"==typeof s?s:{value:s};if((o=a.cloneData?d({},o):o).tagify=this,s instanceof Object)for(var r in s)s[r]instanceof HTMLElement&&(o[r]=s[r]);n=new CustomEvent(i,{detail:o})}catch(t){console.warn(t)}e.dispatchEvent(n)}}}}(this)),this.isFirefox="undefined"!=typeof InstallTrigger,this.isIE=window.document.documentMode,e=e||{},this.getPersistedData=(i=e.id,t=>{let e,s="/"+t;if(1==localStorage.getItem(v+i+"/v",1))try{e=JSON.parse(localStorage[v+i+s])}catch(t){}return e}),this.setPersistedData=(t=>t?(localStorage.setItem(v+t+"/v",1),(e,i)=>{let s="/"+i,a=JSON.stringify(e);e&&i&&(localStorage.setItem(v+t+s,a),dispatchEvent(new Event("storage")))}):()=>{})(e.id),this.clearPersistedData=(t=>e=>{const i=v+"/"+t+"/";if(e)localStorage.removeItem(i+e);else for(let t in localStorage)t.includes(i)&&localStorage.removeItem(t)})(e.id),this.applySettings(t,e),this.state={inputText:"",editing:!1,actions:{},mixMode:{},dropdown:{},flaggedTags:{}},this.value=[],this.listeners={},this.DOM={},this.build(t),u.call(this),this.getCSSVars(),this.loadOriginalValues(),this.events.customBinding.call(this),this.events.binding.call(this),t.autofocus&&this.DOM.input.focus()}return y.prototype={_dropdown:m,customEventsList:["change","add","remove","invalid","input","click","keydown","focus","blur","edit:input","edit:beforeUpdate","edit:updated","edit:start","edit:keydown","dropdown:show","dropdown:hide","dropdown:select","dropdown:updated","dropdown:noMatch","dropdown:scroll"],dataProps:["__isValid","__removed","__originalData","__originalHTML","__tagId"],trim(t){return this.settings.trim&&t&&"string"==typeof t?t.trim():t},parseHTML:function(t){return(new DOMParser).parseFromString(t.trim(),"text/html").body.firstElementChild},templates:w,parseTemplate(t,e){return t=this.settings.templates[t]||t,this.parseHTML(t.apply(this,e))},set whitelist(t){const e=t&&Array.isArray(t);this.settings.whitelist=e?t:[],this.setPersistedData(e?t:[],"whitelist")},get whitelist(){return this.settings.whitelist},applySettings(t,i){p.templates=this.templates;var s=this.settings=d({},p,i);s.disabled=t.hasAttribute("disabled"),s.readonly=s.readonly||t.hasAttribute("readonly"),s.placeholder=r(t.getAttribute("placeholder")||s.placeholder||""),s.required=t.hasAttribute("required");for(let t in s.classNames)Object.defineProperty(s.classNames,t+"Selector",{get(){return"."+this[t].split(" ")[0]}});if(this.isIE&&(s.autoComplete=!1),["whitelist","blacklist"].forEach((e=>{var i=t.getAttribute("data-"+e);i&&(i=i.split(s.delimiters))instanceof Array&&(s[e]=i)})),"autoComplete"in i&&!l(i.autoComplete)&&(s.autoComplete=p.autoComplete,s.autoComplete.enabled=i.autoComplete),"mix"==s.mode&&(s.autoComplete.rightKey=!0,s.delimiters=i.delimiters||null,s.tagTextProp&&!s.dropdown.searchKeys.includes(s.tagTextProp)&&s.dropdown.searchKeys.push(s.tagTextProp)),t.pattern)try{s.pattern=new RegExp(t.pattern)}catch(t){}if(this.settings.delimiters)try{s.delimiters=new RegExp(this.settings.delimiters,"g")}catch(t){}s.disabled&&(s.userInput=!1),this.TEXTS=e(e({},T),s.texts||{}),"select"!=s.mode&&s.userInput||(s.dropdown.enabled=0),s.dropdown.appendTarget=i.dropdown&&i.dropdown.appendTarget?i.dropdown.appendTarget:document.body;let a=this.getPersistedData("whitelist");Array.isArray(a)&&(this.whitelist=Array.isArray(s.whitelist)?function(){const t=[],e={};for(let i of arguments)for(let s of i)l(s)?e[s.value]||(t.push(s),e[s.value]=1):t.includes(s)||t.push(s);return t}(s.whitelist,a):a)},getAttributes(t){var e,i=this.getCustomAttributes(t),s="";for(e in i)s+=" "+e+(void 0!==t[e]?`="${i[e]}"`:"");return s},getCustomAttributes(t){if(!l(t))return"";var e,i={};for(e in t)"__"!=e.slice(0,2)&&"class"!=e&&t.hasOwnProperty(e)&&void 0!==t[e]&&(i[e]=r(t[e]));return i},setStateSelection(){var t=window.getSelection(),e={anchorOffset:t.anchorOffset,anchorNode:t.anchorNode,range:t.getRangeAt&&t.rangeCount&&t.getRangeAt(0)};return this.state.selection=e,e},getCaretGlobalPosition(){const t=document.getSelection();if(t.rangeCount){const e=t.getRangeAt(0),i=e.startContainer,s=e.startOffset;let a,n;if(s>0)return n=document.createRange(),n.setStart(i,s-1),n.setEnd(i,s),a=n.getBoundingClientRect(),{left:a.right,top:a.top,bottom:a.bottom};if(i.getBoundingClientRect)return i.getBoundingClientRect()}return{left:-9999,top:-9999}},getCSSVars(){var t=getComputedStyle(this.DOM.scope,null);var e;this.CSSVars={tagHideTransition:(({value:t,unit:e})=>"s"==e?1e3*t:t)(function(t){if(!t)return{};var e=(t=t.trim().split(" ")[0]).split(/\d+/g).filter((t=>t)).pop().trim();return{value:+t.split(e).filter((t=>t))[0].trim(),unit:e}}((e="tag-hide-transition",t.getPropertyValue("--"+e))))}},build(t){var e=this.DOM;this.settings.mixMode.integrated?(e.originalInput=null,e.scope=t,e.input=t):(e.originalInput=t,e.scope=this.parseTemplate("wrapper",[t,this.settings]),e.input=e.scope.querySelector(this.settings.classNames.inputSelector),t.parentNode.insertBefore(e.scope,t))},destroy(){this.events.unbindGlobal.call(this),this.DOM.scope.parentNode.removeChild(this.DOM.scope),this.dropdown.hide(!0),clearTimeout(this.dropdownHide__bindEventsTimeout)},loadOriginalValues(t){var e,i=this.settings;if(this.state.blockChangeEvent=!0,void 0===t){const e=this.getPersistedData("value");t=e&&!this.DOM.originalInput.value?e:i.mixMode.integrated?this.DOM.input.textContent:this.DOM.originalInput.value}if(this.removeAllTags(),t)if("mix"==i.mode)this.parseMixTags(this.trim(t)),(e=this.DOM.input.lastChild)&&"BR"==e.tagName||this.DOM.input.insertAdjacentHTML("beforeend","<br>");else{try{JSON.parse(t)instanceof Array&&(t=JSON.parse(t))}catch(t){}this.addTags(t).forEach((t=>t&&t.classList.add(i.classNames.tagNoAnimation)))}else this.postUpdate();this.state.lastOriginalValueReported=i.mixMode.integrated?"":this.DOM.originalInput.value,this.state.blockChangeEvent=!1},cloneEvent(t){var e={};for(var i in t)e[i]=t[i];return e},loading(t){return this.state.isLoading=t,this.DOM.scope.classList[t?"add":"remove"](this.settings.classNames.scopeLoading),this},tagLoading(t,e){return t&&t.classList[e?"add":"remove"](this.settings.classNames.tagLoading),this},toggleClass(t,e){"string"==typeof t&&this.DOM.scope.classList.toggle(t,e)},toggleFocusClass(t){this.toggleClass(this.settings.classNames.focus,!!t)},triggerChangeEvent:function(){if(!this.settings.mixMode.integrated){var t=this.DOM.originalInput,e=this.state.lastOriginalValueReported!==t.value,i=new CustomEvent("change",{bubbles:!0});e&&(this.state.lastOriginalValueReported=t.value,i.simulated=!0,t._valueTracker&&t._valueTracker.setValue(Math.random()),t.dispatchEvent(i),this.trigger("change",this.state.lastOriginalValueReported),t.value=this.state.lastOriginalValueReported)}},events:b,fixFirefoxLastTagNoCaret(){},placeCaretAfterNode(t){if(t&&t.parentNode){var e=t.nextSibling,i=window.getSelection(),s=i.getRangeAt(0);i.rangeCount&&(s.setStartAfter(e||t),s.collapse(!0),i.removeAllRanges(),i.addRange(s))}},insertAfterTag(t,e){if(e=e||this.settings.mixMode.insertAfterTag,t&&t.parentNode&&e)return e="string"==typeof e?document.createTextNode(e):e,t.parentNode.insertBefore(e,t.nextSibling),e},editTag(t,e){t=t||this.getLastTag(),e=e||{},this.dropdown.hide();var i=this.settings;function s(){return t.querySelector(i.classNames.tagTextSelector)}var a=s(),n=this.getNodeIndex(t),o=this.tagData(t),r=this.events.callbacks,l=this,h=!0;if(a){if(!(o instanceof Object&&"editable"in o)||o.editable)return a.setAttribute("contenteditable",!0),t.classList.add(i.classNames.tagEditing),this.tagData(t,{__originalData:d({},o),__originalHTML:t.innerHTML}),a.addEventListener("focus",r.onEditTagFocus.bind(this,t)),a.addEventListener("blur",(function(){setTimeout((()=>r.onEditTagBlur.call(l,s())))})),a.addEventListener("input",r.onEditTagInput.bind(this,a)),a.addEventListener("keydown",(e=>r.onEditTagkeydown.call(this,e,t))),a.focus(),this.setRangeAtStartEnd(!1,a),e.skipValidation||(h=this.editTagToggleValidity(t)),a.originalIsValid=h,this.trigger("edit:start",{tag:t,index:n,data:o,isValid:h}),this}else console.warn("Cannot find element in Tag template: .",i.classNames.tagTextSelector)},editTagToggleValidity(t,e){var i;if(e=e||this.tagData(t))return(i=!("__isValid"in e)||!0===e.__isValid)||this.removeTagsFromValue(t),this.update(),t.classList.toggle(this.settings.classNames.tagNotAllowed,!i),e.__isValid;console.warn("tag has no data: ",t,e)},onEditTagDone(t,e){e=e||{};var i={tag:t=t||this.state.editing.scope,index:this.getNodeIndex(t),previousData:this.tagData(t),data:e};this.trigger("edit:beforeUpdate",i,{cloneData:!1}),this.state.editing=!1,delete e.__originalData,delete e.__originalHTML,t&&e[this.settings.tagTextProp]?(t=this.replaceTag(t,e),this.editTagToggleValidity(t,e),this.settings.a11y.focusableTags?t.focus():this.placeCaretAfterNode(t.previousSibling)):t&&this.removeTags(t),this.trigger("edit:updated",i),this.dropdown.hide(),this.settings.keepInvalidTags&&this.reCheckInvalidTags()},replaceTag(t,e){e&&e.value||(e=t.__tagifyTagData),e.__isValid&&1!=e.__isValid&&d(e,this.getInvalidTagAttrs(e,e.__isValid));var i=this.createTagElem(e);return t.parentNode.replaceChild(i,t),this.updateValueByDOMTags(),i},updateValueByDOMTags(){this.value.length=0,[].forEach.call(this.getTagElms(),(t=>{t.classList.contains(this.settings.classNames.tagNotAllowed.split(" ")[0])||this.value.push(this.tagData(t))})),this.update()},setRangeAtStartEnd(t,e){t="number"==typeof t?t:!!t,e=(e=e||this.DOM.input).lastChild||e;var i=document.getSelection();try{i.rangeCount>=1&&["Start","End"].forEach((s=>i.getRangeAt(0)["set"+s](e,t||e.length)))}catch(t){}},injectAtCaret(t,e){if(e=e||this.state.selection.range)return"string"==typeof t&&(t=document.createTextNode(t)),e.deleteContents(),e.insertNode(t),this.setRangeAtStartEnd(!1,t),this.updateValueByDOMTags(),this.update(),this},input:{set(t="",e=!0){var i=this.settings.dropdown.closeOnSelect;this.state.inputText=t,e&&(this.DOM.input.innerHTML=r(""+t)),!t&&i&&this.dropdown.hide.bind(this),this.input.autocomplete.suggest.call(this),this.input.validate.call(this)},raw(){return this.DOM.input.textContent},validate(){var t=!this.state.inputText||!0===this.validateTag({value:this.state.inputText});return this.DOM.input.classList.toggle(this.settings.classNames.inputInvalid,!t),t},normalize(t){var e=t||this.DOM.input,i=[];e.childNodes.forEach((t=>3==t.nodeType&&i.push(t.nodeValue))),i=i.join("\n");try{i=i.replace(/(?:\r\n|\r|\n)/g,this.settings.delimiters.source.charAt(0))}catch(t){}return i=i.replace(/\s/g," "),this.settings.trim&&(i=i.replace(/^\s+/,"")),i},autocomplete:{suggest(t){if(this.settings.autoComplete.enabled){"string"==typeof(t=t||{})&&(t={value:t});var e=t.value?""+t.value:"",i=e.substr(0,this.state.inputText.length).toLowerCase(),s=e.substring(this.state.inputText.length);e&&this.state.inputText&&i==this.state.inputText.toLowerCase()?(this.DOM.input.setAttribute("data-suggest",s),this.state.inputSuggestion=t):(this.DOM.input.removeAttribute("data-suggest"),delete this.state.inputSuggestion)}},set(t){var e=this.DOM.input.getAttribute("data-suggest"),i=t||(e?this.state.inputText+e:null);return!!i&&("mix"==this.settings.mode?this.replaceTextWithNode(document.createTextNode(this.state.tag.prefix+i)):(this.input.set.call(this,i),this.setRangeAtStartEnd()),this.input.autocomplete.suggest.call(this),this.dropdown.hide(),!0)}}},getTagIdx(t){return this.value.findIndex((e=>e.__tagId==(t||{}).__tagId))},getNodeIndex(t){var e=0;if(t)for(;t=t.previousElementSibling;)e++;return e},getTagElms(...t){var e="."+[...this.settings.classNames.tag.split(" "),...t].join(".");return[].slice.call(this.DOM.scope.querySelectorAll(e))},getLastTag(){var t=this.DOM.scope.querySelectorAll(`${this.settings.classNames.tagSelector}:not(.${this.settings.classNames.tagHide}):not([readonly])`);return t[t.length-1]},tagData:(t,e,i)=>t?(e&&(t.__tagifyTagData=i?e:d({},t.__tagifyTagData||{},e)),t.__tagifyTagData):(console.warn("tag element doesn't exist",t,e),e),isTagDuplicate(t,e){var i=this.settings;return"select"!=i.mode&&this.value.reduce(((a,n)=>s(this.trim(""+t),n.value,e||i.dropdown.caseSensitive)?a+1:a),0)},getTagIndexByValue(t){var e=[];return this.getTagElms().forEach(((i,a)=>{s(this.trim(i.textContent),t,this.settings.dropdown.caseSensitive)&&e.push(a)})),e},getTagElmByValue(t){var e=this.getTagIndexByValue(t)[0];return this.getTagElms()[e]},flashTag(t){t&&(t.classList.add(this.settings.classNames.tagFlash),setTimeout((()=>{t.classList.remove(this.settings.classNames.tagFlash)}),100))},isTagBlacklisted(t){return t=this.trim(t.toLowerCase()),this.settings.blacklist.filter((e=>(""+e).toLowerCase()==t)).length},isTagWhitelisted(t){return!!this.getWhitelistItem(t)},getWhitelistItem(t,e,i){e=e||"value";var a,n=this.settings;return(i=i||n.whitelist).some((i=>{var o="string"==typeof i?i:i[e]||i.value;if(s(o,t,n.dropdown.caseSensitive,n.trim))return a="string"==typeof i?{value:i}:i,!0})),a||"value"!=e||"value"==n.tagTextProp||(a=this.getWhitelistItem(t,n.tagTextProp,i)),a},validateTag(t){var e=this.settings,i="value"in t?"value":e.tagTextProp,s=this.trim(t[i]+"");return(t[i]+"").trim()?e.pattern&&e.pattern instanceof RegExp&&!e.pattern.test(s)?this.TEXTS.pattern:!e.duplicates&&this.isTagDuplicate(s,this.state.editing)?this.TEXTS.duplicate:this.isTagBlacklisted(s)||e.enforceWhitelist&&!this.isTagWhitelisted(s)?this.TEXTS.notAllowed:!e.validate||e.validate(t):this.TEXTS.empty},getInvalidTagAttrs(t,e){return{"aria-invalid":!0,class:`${t.class||""} ${this.settings.classNames.tagNotAllowed}`.trim(),title:e}},hasMaxTags(){return this.value.length>=this.settings.maxTags&&this.TEXTS.exceed},setReadonly(t,e){var i=this.settings;document.activeElement.blur(),i[e||"readonly"]=t,this.DOM.scope[(t?"set":"remove")+"Attribute"](e||"readonly",!0),"mix"==i.mode&&this.setContentEditable(!t)},setContentEditable(t){!this.settings.readonly&&this.settings.userInput&&(this.DOM.input.contentEditable=t)},setDisabled(t){this.setReadonly(t,"disabled")},normalizeTags(t){var e=this.settings,i=e.whitelist,s=e.delimiters,a=e.mode,n=e.tagTextProp;e.enforceWhitelist;var o=[],r=!!i&&i[0]instanceof Object,l=t instanceof Array,d=t=>(t+"").split(s).filter((t=>t)).map((t=>({[n]:this.trim(t),value:this.trim(t)})));if("number"==typeof t&&(t=t.toString()),"string"==typeof t){if(!t.trim())return[];t=d(t)}else l&&(t=[].concat(...t.map((t=>t.value?t:d(t)))));return r&&(t.forEach((t=>{var e=o.map((t=>t.value)),i=this.dropdown.filterListItems.call(this,t[n],{exact:!0});this.settings.duplicates||(i=i.filter((t=>!e.includes(t.value))));var s=i.length>1?this.getWhitelistItem(t[n],n,i):i[0];s&&s instanceof Object?o.push(s):"mix"!=a&&(null==t.value&&(t.value=t[n]),o.push(t))})),o.length&&(t=o)),t},parseMixTags(t){var e=this.settings,i=e.mixTagsInterpolator,s=e.duplicates,a=e.transformTag,n=e.enforceWhitelist,o=e.maxTags,r=e.tagTextProp,l=[];return t=t.split(i[0]).map(((t,e)=>{var d,h,g,c=t.split(i[1]),p=c[0],u=l.length==o;try{if(p==+p)throw Error;h=JSON.parse(p)}catch(t){h=this.normalizeTags(p)[0]||{value:p}}if(a.call(this,h),u||!(c.length>1)||n&&!this.isTagWhitelisted(h.value)||!s&&this.isTagDuplicate(h.value)){if(t)return e?i[0]+t:t}else h[d=h[r]?r:"value"]=this.trim(h[d]),g=this.createTagElem(h),l.push(h),g.classList.add(this.settings.classNames.tagNoAnimation),c[0]=g.outerHTML,this.value.push(h);return c.join("")})).join(""),this.DOM.input.innerHTML=t,this.DOM.input.appendChild(document.createTextNode("")),this.DOM.input.normalize(),this.getTagElms().forEach(((t,e)=>this.tagData(t,l[e]))),this.update({withoutChangeEvent:!0}),t},replaceTextWithNode(t,e){if(this.state.tag||e){e=e||this.state.tag.prefix+this.state.tag.value;var i,s,a=window.getSelection(),n=a.anchorNode,o=this.state.tag.delimiters?this.state.tag.delimiters.length:0;return n.splitText(a.anchorOffset-o),-1==(i=n.nodeValue.lastIndexOf(e))?!0:(s=n.splitText(i),t&&n.parentNode.replaceChild(t,s),!0)}},selectTag(t,e){var i=this.settings;if(!i.enforceWhitelist||this.isTagWhitelisted(e.value)){this.input.set.call(this,e[i.tagTextProp]||e.value,!0),this.state.actions.selectOption&&setTimeout(this.setRangeAtStartEnd.bind(this));var s=this.getLastTag();return s?this.replaceTag(s,e):this.appendTag(t),i.enforceWhitelist&&this.setContentEditable(!1),this.value[0]=e,this.update(),this.trigger("add",{tag:t,data:e}),[t]}},addEmptyTag(t){var e=d({value:""},t||{}),i=this.createTagElem(e);this.tagData(i,e),this.appendTag(i),this.editTag(i,{skipValidation:!0})},addTags(t,e,i){var s=[],a=this.settings,n=document.createDocumentFragment();return i=i||a.skipInvalid,t&&0!=t.length?(t=this.normalizeTags(t),"mix"==a.mode?this.addMixTags(t):("select"==a.mode&&(e=!1),this.DOM.input.removeAttribute("style"),t.forEach((t=>{var e,o={},r=Object.assign({},t,{value:t.value+""});if(t=Object.assign({},r),a.transformTag.call(this,t),t.__isValid=this.hasMaxTags()||this.validateTag(t),!0!==t.__isValid){if(i)return;d(o,this.getInvalidTagAttrs(t,t.__isValid),{__preInvalidData:r}),t.__isValid==this.TEXTS.duplicate&&this.flashTag(this.getTagElmByValue(t.value))}if("readonly"in t&&(t.readonly?o["aria-readonly"]=!0:delete t.readonly),e=this.createTagElem(t,o),s.push(e),"select"==a.mode)return this.selectTag(e,t);n.appendChild(e),t.__isValid&&!0===t.__isValid?(this.value.push(t),this.trigger("add",{tag:e,index:this.value.length-1,data:t})):(this.trigger("invalid",{data:t,index:this.value.length,tag:e,message:t.__isValid}),a.keepInvalidTags||setTimeout((()=>this.removeTags(e,!0)),1e3)),this.dropdown.position()})),this.appendTag(n),this.update(),t.length&&e&&this.input.set.call(this),this.dropdown.refilter(),s)):("select"==a.mode&&this.removeAllTags(),s)},addMixTags(t){if((t=this.normalizeTags(t))[0].prefix||this.state.tag)return this.prefixedTextToTag(t[0]);"string"==typeof t&&(t=[{value:t}]);var e=!!this.state.selection,i=document.createDocumentFragment();return t.forEach((t=>{var e=this.createTagElem(t);i.appendChild(e),this.insertAfterTag(e)})),e?this.injectAtCaret(i):(this.DOM.input.focus(),(e=this.setStateSelection()).range.setStart(this.DOM.input,e.range.endOffset),e.range.setEnd(this.DOM.input,e.range.endOffset),this.DOM.input.appendChild(i),this.updateValueByDOMTags(),this.update()),i},prefixedTextToTag(t){var e,i=this.settings,s=this.state.tag.delimiters;if(i.transformTag.call(this,t),t.prefix=t.prefix||this.state.tag?this.state.tag.prefix:(i.pattern.source||i.pattern)[0],e=this.createTagElem(t),this.replaceTextWithNode(e)||this.DOM.input.appendChild(e),setTimeout((()=>e.classList.add(this.settings.classNames.tagNoAnimation)),300),this.value.push(t),this.update(),!s){var a=this.insertAfterTag(e)||e;this.placeCaretAfterNode(a)}return this.state.tag=null,this.trigger("add",d({},{tag:e},{data:t})),e},appendTag(t){var e=this.DOM,i=e.scope.lastElementChild;i===e.input?e.scope.insertBefore(t,i):e.scope.appendChild(t)},createTagElem(t,i){t.__tagId=([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(t=>(t^crypto.getRandomValues(new Uint8Array(1))[0]&15>>t/4).toString(16)));var s,a=d({},t,e({value:r(t.value+"")},i));return function(t){for(var e,i=document.createNodeIterator(t,NodeFilter.SHOW_TEXT,null,!1);e=i.nextNode();)e.textContent.trim()||e.parentNode.removeChild(e)}(s=this.parseTemplate("tag",[a])),this.tagData(s,t),s},reCheckInvalidTags(){var t=this.settings;this.getTagElms(t.classNames.tagNotAllowed).forEach(((t,e)=>{var i=this.tagData(t),s=this.hasMaxTags(),a=this.validateTag(i);if(!0===a&&!s)return i=i.__preInvalidData?i.__preInvalidData:{value:i.value},this.replaceTag(t,i);t.title=s||a}))},removeTags(t,e,i){var s;if(t=t&&t instanceof HTMLElement?[t]:t instanceof Array?t:t?[t]:[this.getLastTag()],s=t.reduce(((t,e)=>{e&&"string"==typeof e&&(e=this.getTagElmByValue(e));var i=this.tagData(e);return e&&i&&!i.readonly&&t.push({node:e,idx:this.getTagIdx(i),data:this.tagData(e,{__removed:!0})}),t}),[]),i="number"==typeof i?i:this.CSSVars.tagHideTransition,"select"==this.settings.mode&&(i=0,this.input.set.call(this)),1==s.length&&s[0].node.classList.contains(this.settings.classNames.tagNotAllowed)&&(e=!0),s.length)return this.settings.hooks.beforeRemoveTag(s,{tagify:this}).then((()=>{function t(t){t.node.parentNode&&(t.node.parentNode.removeChild(t.node),e?this.settings.keepInvalidTags&&this.trigger("remove",{tag:t.node,index:t.idx}):(this.trigger("remove",{tag:t.node,index:t.idx,data:t.data}),this.dropdown.refilter(),this.dropdown.position(),this.DOM.input.normalize(),this.settings.keepInvalidTags&&this.reCheckInvalidTags()))}i&&i>10&&1==s.length?function(e){e.node.style.width=parseFloat(window.getComputedStyle(e.node).width)+"px",document.body.clientTop,e.node.classList.add(this.settings.classNames.tagHide),setTimeout(t.bind(this),i,e)}.call(this,s[0]):s.forEach(t.bind(this)),e||(this.removeTagsFromValue(s.map((t=>t.node))),this.update(),"select"==this.settings.mode&&this.setContentEditable(!0))})).catch((t=>{}))},removeTagsFromDOM(){[].slice.call(this.getTagElms()).forEach((t=>t.parentNode.removeChild(t)))},removeTagsFromValue(t){(t=Array.isArray(t)?t:[t]).forEach((t=>{var e=this.tagData(t),i=this.getTagIdx(e);i>-1&&this.value.splice(i,1)}))},removeAllTags(t){t=t||{},this.value=[],"mix"==this.settings.mode?this.DOM.input.innerHTML="":this.removeTagsFromDOM(),this.dropdown.position(),"select"==this.settings.mode&&(this.input.set.call(this),this.setContentEditable(!0)),this.update(t)},postUpdate(){var t=this.settings.classNames,e="mix"==this.settings.mode?this.settings.mixMode.integrated?this.DOM.input.textContent:this.DOM.originalInput.value.trim():this.value.length+this.input.raw.call(this).length;this.toggleClass(t.hasMaxTags,this.value.length>=this.settings.maxTags),this.toggleClass(t.hasNoTags,!this.value.length),this.toggleClass(t.empty,!e)},setOriginalInputValue(t){var e=this.DOM.originalInput;this.settings.mixMode.integrated||(e.value=t,e.tagifyValue=e.value,this.setPersistedData(t,"value"))},update(t){var e=this.getInputValue();this.setOriginalInputValue(e),this.postUpdate(),(t||{}).withoutChangeEvent||this.state.blockChangeEvent||this.triggerChangeEvent()},getInputValue(){var t=this.getCleanValue();return"mix"==this.settings.mode?this.getMixedTagsAsString(t):t.length?this.settings.originalInputValueFormat?this.settings.originalInputValueFormat(t):JSON.stringify(t):""},getCleanValue(t){return e=t||this.value,i=this.dataProps,e&&Array.isArray(e)&&e.map((t=>a(t,i)));var e,i},getMixedTagsAsString(){var t="",e=this,i=this.settings.mixTagsInterpolator;return function s(n){n.childNodes.forEach((n=>{if(1==n.nodeType){const o=e.tagData(n);if("BR"==n.tagName&&(t+="\r\n"),"DIV"==n.tagName||"P"==n.tagName)t+="\r\n",s(n);else if(c.call(e,n)&&o){if(o.__removed)return;t+=i[0]+JSON.stringify(a(o,e.dataProps))+i[1]}}else t+=n.textContent}))}(this.DOM.input),t}},y.prototype.removeTag=y.prototype.removeTags,y}));
|
32 |
+
})(jQuery);
|
includes/views/misc-view.php
CHANGED
@@ -1,8 +1,19 @@
|
|
1 |
-
<h2><?php esc_html_e( 'Import Posts', 'feedzy-rss-feeds' ); ?></h2>
|
2 |
-
|
3 |
-
<div class="
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
</div>
|
1 |
+
<h2><?php // esc_html_e( 'Import Posts', 'feedzy-rss-feeds' ); ?></h2>
|
2 |
+
<div class="fz-form-wrap">
|
3 |
+
<div class="form-block">
|
4 |
+
<?php $canonical = isset( $this->free_settings['canonical'] ) ? $this->free_settings['canonical'] : 0; ?>
|
5 |
+
<div class="fz-form-group">
|
6 |
+
<div class="fz-form-switch">
|
7 |
+
<input type="checkbox" id="canonical" class="fz-switch-toggle" name="canonical"
|
8 |
+
value="1" <?php checked( 1, intval( $canonical ) ); ?> />
|
9 |
+
<label class="form-label" for="canonical"><?php esc_html_e( 'Add canonical URL to imported posts from RSS feeds.', 'feedzy-rss-feeds' ); ?></label>
|
10 |
+
</div>
|
11 |
+
<div class="help-text">
|
12 |
+
<?php
|
13 |
+
// translators: %s to help URL.
|
14 |
+
echo wp_kses_post( sprintf( __( 'Check the <a href="%s" target="_blank">Documentation</a> for more details.', 'feedzy-rss-feeds' ), esc_url( 'https://docs.themeisle.com/article/841-how-to-add-canonical-tags-for-imported-posts' ) ) );
|
15 |
+
?>
|
16 |
+
</div>
|
17 |
+
</div>
|
18 |
+
</div>
|
19 |
</div>
|
includes/views/spinnerchief-view.php
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div class="fz-form-wrap">
|
2 |
+
<div class="form-block">
|
3 |
+
<div class="upgrade-alert mb-24">
|
4 |
+
<?php
|
5 |
+
echo wp_kses_post( wp_sprintf( __( 'You\'re using Feedzy Lite. Unlock more powerful features, by <a href="%s" target="_blank">upgrading to Feedzy Pro</a>', 'feedzy-rss-feeds' ), FEEDZY_UPSELL_LINK ) );
|
6 |
+
?>
|
7 |
+
</div>
|
8 |
+
<div class="locked-form-block">
|
9 |
+
<div class="fz-form-row">
|
10 |
+
<div class="fz-form-col-6">
|
11 |
+
<div class="fz-form-group">
|
12 |
+
<label class="form-label"><?php esc_html_e( 'The SpinnerChief username:', 'feedzy-rss-feeds' ); ?></label>
|
13 |
+
<input type="text" class="form-control" placeholder="<?php echo esc_html_x( 'SpinnerChief Username', 'Username for SpinnerChief service', 'feedzy-rss-feeds' ); ?>"/>
|
14 |
+
</div>
|
15 |
+
</div>
|
16 |
+
<div class="fz-form-col-6">
|
17 |
+
<div class="fz-form-group">
|
18 |
+
<label class="form-label"><?php echo esc_html_x( 'The SpinnerChief password:', 'Password for SpinnerChief service', 'feedzy-rss-feeds' ); ?></label>
|
19 |
+
<input type="password" class="form-control" placeholder="<?php echo esc_html_x( 'SpinnerChief Password', 'Password for SpinnerChief service', 'feedzy-rss-feeds' ); ?>"/>
|
20 |
+
</div>
|
21 |
+
</div>
|
22 |
+
</div>
|
23 |
+
<div class="fz-form-group">
|
24 |
+
<label class="form-label"><?php esc_html_e( 'SpinnerChief API key', 'feedzy-rss-feeds' ); ?></label>
|
25 |
+
<div class="fz-input-group">
|
26 |
+
<div class="fz-input-group-left">
|
27 |
+
<input type="password" id="spinnerchief_key" class="form-control" placeholder="<?php esc_attr_e( 'SpinnerChief API Key', 'feedzy-rss-feeds' ); ?>"/>
|
28 |
+
<div class="help-text"><?php esc_html_e( 'API Status: Invalid | Last check: Never', 'feedzy-rss-feeds' ); ?></div>
|
29 |
+
</div>
|
30 |
+
<div class="fz-input-group-right">
|
31 |
+
<button id="check_spinnerchief_api" type="button" class="btn btn-outline-primary disabled" ><?php echo esc_html_x( 'Validate connection', 'Check and save action button', 'feedzy-rss-feeds' ); ?></button>
|
32 |
+
</div>
|
33 |
+
</div>
|
34 |
+
</div>
|
35 |
+
</div>
|
36 |
+
</div>
|
37 |
+
</div>
|
includes/views/wordai-view.php
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div class="fz-form-wrap">
|
2 |
+
<div class="form-block">
|
3 |
+
<div class="upgrade-alert mb-24">
|
4 |
+
<?php
|
5 |
+
echo wp_kses_post( wp_sprintf( __( 'You\'re using Feedzy Lite. Unlock more powerful features, by <a href="%s" target="_blank">upgrading to Feedzy Pro</a>', 'feedzy-rss-feeds' ), FEEDZY_UPSELL_LINK ) );
|
6 |
+
?>
|
7 |
+
</div>
|
8 |
+
<div class="locked-form-block">
|
9 |
+
<div class="fz-form-group mb-24">
|
10 |
+
<label class="form-label"><?php esc_html_e( 'The WordAi account email:', 'feedzy-rss-feeds' ); ?></label>
|
11 |
+
<input type="text" class="form-control" placeholder="<?php echo esc_attr( __( 'WordAi Email', 'feedzy-rss-feeds' ) ); ?>"/>
|
12 |
+
</div>
|
13 |
+
<div class="fz-form-group">
|
14 |
+
<label class="form-label"><?php esc_html_e( 'The WordAi account API key:', 'feedzy-rss-feeds' ); ?></label>
|
15 |
+
<div class="fz-input-group">
|
16 |
+
<div class="fz-input-group-left">
|
17 |
+
<input type="password" id="wordai_pass" class="form-control" placeholder="<?php echo esc_attr( __( 'WordAI API key', 'feedzy-rss-feeds' ) ); ?>"/>
|
18 |
+
<div class="help-text"><?php esc_html_e( 'API Status: Invalid | Last check: Never', 'feedzy-rss-feeds' ); ?></div>
|
19 |
+
</div>
|
20 |
+
<div class="fz-input-group-right">
|
21 |
+
<div class="fz-input-group-btn">
|
22 |
+
<button id="check_wordai_api" type="button" class="btn btn-outline-primary disabled"><?php esc_html_e( 'Validate connection', 'feedzy-rss-feeds' ); ?></button>
|
23 |
+
</div>
|
24 |
+
</div>
|
25 |
+
</div>
|
26 |
+
</div>
|
27 |
+
</div>
|
28 |
+
</div>
|
29 |
+
</div>
|
js/Onboarding/import-onboarding.js
ADDED
@@ -0,0 +1,140 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import React from 'react';
|
2 |
+
import ReactDOM from 'react-dom';
|
3 |
+
import Joyride from 'react-joyride';
|
4 |
+
|
5 |
+
/**
|
6 |
+
* WordPress dependencies.
|
7 |
+
*/
|
8 |
+
import { debounce } from 'lodash';
|
9 |
+
|
10 |
+
import { __ } from '@wordpress/i18n';
|
11 |
+
|
12 |
+
import {
|
13 |
+
Button,
|
14 |
+
Modal
|
15 |
+
} from '@wordpress/components';
|
16 |
+
|
17 |
+
import {
|
18 |
+
Fragment,
|
19 |
+
useEffect,
|
20 |
+
useRef,
|
21 |
+
useState
|
22 |
+
} from '@wordpress/element';
|
23 |
+
|
24 |
+
|
25 |
+
const Onboarding = () => {
|
26 |
+
const [ isOpen, setOpen ] = useState( true );
|
27 |
+
const [ runTour, setRunTour ] = useState( false );
|
28 |
+
|
29 |
+
const settingsRef = useRef( null );
|
30 |
+
|
31 |
+
useEffect( () => {
|
32 |
+
window.wp.api.loadPromise.then( () => {
|
33 |
+
settingsRef.current = new window.wp.api.models.Settings();
|
34 |
+
});
|
35 |
+
}, []);
|
36 |
+
|
37 |
+
const steps = [
|
38 |
+
{
|
39 |
+
target: '#post_title',
|
40 |
+
content: __( 'Choose a descriptive name for your importing schedule to help you easily find it later.', 'feedzy-rss-feeds' ),
|
41 |
+
},
|
42 |
+
{
|
43 |
+
target: '.fz-input-group-left .fz-input-icon',
|
44 |
+
content: __( 'Add here your RSS feed URL which Feedzy will use to fetch the content from. You can use Feedzy\'s Feed categories too.', 'feedzy-rss-feeds' ),
|
45 |
+
},
|
46 |
+
{
|
47 |
+
target: '#fz-import-filters',
|
48 |
+
content: __( 'Choose the data which you want to import from the feed. Filter by time or keywords.', 'feedzy-rss-feeds' ),
|
49 |
+
},
|
50 |
+
{
|
51 |
+
target: '#fz-import-map-content',
|
52 |
+
content: __( 'Choose how you would like to import the data into your site. Map the Feed content to a specific post type and customize the imported posts. Extend to PRO to import full content from feed articles, paraphrase the content before import or translate automatically.', 'feedzy-rss-feeds' ),
|
53 |
+
},
|
54 |
+
{
|
55 |
+
target: '#fz-import-general-settings',
|
56 |
+
content: __( 'Customize the importing schedule by cleaning up old imports, remove duplicates or number of imported items per run.', 'feedzy-rss-feeds' ),
|
57 |
+
}
|
58 |
+
];
|
59 |
+
|
60 |
+
const skipTour = debounce( status => {
|
61 |
+
if ( isOpen ) {
|
62 |
+
setOpen( false );
|
63 |
+
}
|
64 |
+
|
65 |
+
if ( 'ready' !== status && 'finished' !== status && 'skipped' !== status ) {
|
66 |
+
return;
|
67 |
+
}
|
68 |
+
|
69 |
+
const model = new window.wp.api.models.Settings({
|
70 |
+
// eslint-disable-next-line camelcase
|
71 |
+
feedzy_import_tour: false
|
72 |
+
});
|
73 |
+
|
74 |
+
const save = model.save();
|
75 |
+
|
76 |
+
save.success( () => {
|
77 |
+
settingsRef.current.fetch();
|
78 |
+
});
|
79 |
+
|
80 |
+
save.error( ( response ) => {
|
81 |
+
console.warning( response.responseJSON.message );
|
82 |
+
});
|
83 |
+
}, 1000 );
|
84 |
+
|
85 |
+
return (
|
86 |
+
<Fragment>
|
87 |
+
{ isOpen && (
|
88 |
+
<Modal
|
89 |
+
title={ __( 'Welcome to Feedzy!', 'feedzy-rss-feeds' ) }
|
90 |
+
isDismissible={ false }
|
91 |
+
className="feedzy-onboarding-modal"
|
92 |
+
>
|
93 |
+
<div className="feedzy-onboarding-modal-content">
|
94 |
+
{ __( 'Would you like to start the onboarding wizard which will help you explore the plugin features?', 'feedzy-rss-feeds' ) }
|
95 |
+
</div>
|
96 |
+
|
97 |
+
<div className="feedzy-onboarding-modal-action">
|
98 |
+
<Button
|
99 |
+
isPrimary
|
100 |
+
onClick={ () => {
|
101 |
+
setOpen( false );
|
102 |
+
setRunTour( true );
|
103 |
+
} }
|
104 |
+
>
|
105 |
+
{ __( 'Start', 'feedzy-rss-feeds' ) }
|
106 |
+
</Button>
|
107 |
+
|
108 |
+
<Button
|
109 |
+
isSecondary
|
110 |
+
onClick={ () => skipTour( 'skipped' ) }
|
111 |
+
>
|
112 |
+
{ __( 'Skip', 'feedzy-rss-feeds' ) }
|
113 |
+
</Button>
|
114 |
+
</div>
|
115 |
+
</Modal>
|
116 |
+
) }
|
117 |
+
|
118 |
+
<Joyride
|
119 |
+
continuous={ true }
|
120 |
+
run={ runTour }
|
121 |
+
steps={ steps }
|
122 |
+
scrollToFirstStep
|
123 |
+
showSkipButton
|
124 |
+
locale={ {
|
125 |
+
back: __( 'Back', 'feedzy-rss-feeds' ),
|
126 |
+
close: __( 'Close', 'feedzy-rss-feeds' ),
|
127 |
+
last: __( 'Finish', 'feedzy-rss-feeds' ),
|
128 |
+
next: __( 'Next', 'feedzy-rss-feeds' ),
|
129 |
+
skip: __( 'Skip', 'feedzy-rss-feeds' )
|
130 |
+
} }
|
131 |
+
callback={ data => skipTour( data.status ) }
|
132 |
+
/>
|
133 |
+
</Fragment>
|
134 |
+
);
|
135 |
+
}
|
136 |
+
|
137 |
+
ReactDOM.render(
|
138 |
+
<Onboarding />,
|
139 |
+
document.querySelector('#fz-on-boarding')
|
140 |
+
);
|
js/Onboarding/import-onboarding.min.js
ADDED
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=227)}([function(e,t,n){"use strict";e.exports=n(184)},function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return s})),n.d(t,"f",(function(){return f})),n.d(t,"g",(function(){return d})),n.d(t,"h",(function(){return p})),n.d(t,"b",(function(){return h})),n.d(t,"e",(function(){return b}));var r=n(10),o=n(55),i=n(49),a=n(2),u=n(13),c={baseStyles:{},config:{},darkModeConfig:{},highContrastModeConfig:{},darkHighContrastModeConfig:{},compilerOptions:void 0};function l(e){return u.j+"-"+Object(a.kebabCase)(e)}function s(e){return"var("+l(e.toString())+")"}function f(e){void 0===e&&(e={});for(var t={},n=0,o=Object.entries(e);n<o.length;n++){var i=o[n],a=Object(r.a)(i,2),u=a[0],c=a[1],s="var("+l(u)+", "+c+")";t[u]=s}return t}function d(e){void 0===e&&(e={});for(var t={},n=0,o=Object.entries(e);n<o.length;n++){var i=o[n],a=Object(r.a)(i,2),u=a[0],c=a[1];t[""+l(u)]=null==c?void 0:c.toString()}return t}function p(e,t,n){void 0===e&&(e=":root"),void 0===t&&(t={}),void 0===n&&(n=!0);var o=d(t),a=[],u=!1;n?(a.push(e+" {"),u=!0):":root"!==e&&(a.push("&"+e+" {"),u=!0);for(var c=0,l=Object.entries(o);c<l.length;c++){var s=l[c],f=Object(r.a)(s,2),p=f[0],h=f[1];i.a.defined(h)&&!i.a.boolean(h)&&a.push(p+": "+h+";")}return u&&a.push("}"),a.join("")}function h(e,t){return e.map((function(e){return(n=e)&&void 0!==n[u.h]?"."+e[u.h]:"function"==typeof e?e(t):e;var n}))}function b(e){return"string"==typeof e?"ic-"+Object(o.a)(e):""}},function(e,t,n){(function(e,r){var o;
|
2 |
+
/**
|
3 |
+
* @license
|
4 |
+
* Lodash <https://lodash.com/>
|
5 |
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
6 |
+
* Released under MIT license <https://lodash.com/license>
|
7 |
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
8 |
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
9 |
+
*/(function(){var i="Expected a function",a="__lodash_placeholder__",u=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],c="[object Arguments]",l="[object Array]",s="[object Boolean]",f="[object Date]",d="[object Error]",p="[object Function]",h="[object GeneratorFunction]",b="[object Map]",v="[object Number]",g="[object Object]",m="[object RegExp]",y="[object Set]",O="[object String]",w="[object Symbol]",j="[object WeakMap]",x="[object ArrayBuffer]",k="[object DataView]",_="[object Float32Array]",S="[object Float64Array]",E="[object Int8Array]",C="[object Int16Array]",P="[object Int32Array]",T="[object Uint8Array]",A="[object Uint16Array]",R="[object Uint32Array]",I=/\b__p \+= '';/g,N=/\b(__p \+=) '' \+/g,M=/(__e\(.*?\)|\b__t\)) \+\n'';/g,L=/&(?:amp|lt|gt|quot|#39);/g,D=/[&<>"']/g,B=RegExp(L.source),F=RegExp(D.source),z=/<%-([\s\S]+?)%>/g,U=/<%([\s\S]+?)%>/g,H=/<%=([\s\S]+?)%>/g,W=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,$=/^\w*$/,V=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,G=/[\\^$.*+?()[\]{}|]/g,q=RegExp(G.source),Y=/^\s+/,X=/\s/,K=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Q=/\{\n\/\* \[wrapped with (.+)\] \*/,J=/,? & /,Z=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ee=/[()=,{}\[\]\/\s]/,te=/\\(\\)?/g,ne=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,re=/\w*$/,oe=/^[-+]0x[0-9a-f]+$/i,ie=/^0b[01]+$/i,ae=/^\[object .+?Constructor\]$/,ue=/^0o[0-7]+$/i,ce=/^(?:0|[1-9]\d*)$/,le=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,se=/($^)/,fe=/['\n\r\u2028\u2029\\]/g,de="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",pe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",he="[\\ud800-\\udfff]",be="["+pe+"]",ve="["+de+"]",ge="\\d+",me="[\\u2700-\\u27bf]",ye="[a-z\\xdf-\\xf6\\xf8-\\xff]",Oe="[^\\ud800-\\udfff"+pe+ge+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",we="\\ud83c[\\udffb-\\udfff]",je="[^\\ud800-\\udfff]",xe="(?:\\ud83c[\\udde6-\\uddff]){2}",ke="[\\ud800-\\udbff][\\udc00-\\udfff]",_e="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Se="(?:"+ye+"|"+Oe+")",Ee="(?:"+_e+"|"+Oe+")",Ce="(?:"+ve+"|"+we+")"+"?",Pe="[\\ufe0e\\ufe0f]?"+Ce+("(?:\\u200d(?:"+[je,xe,ke].join("|")+")[\\ufe0e\\ufe0f]?"+Ce+")*"),Te="(?:"+[me,xe,ke].join("|")+")"+Pe,Ae="(?:"+[je+ve+"?",ve,xe,ke,he].join("|")+")",Re=RegExp("['’]","g"),Ie=RegExp(ve,"g"),Ne=RegExp(we+"(?="+we+")|"+Ae+Pe,"g"),Me=RegExp([_e+"?"+ye+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[be,_e,"$"].join("|")+")",Ee+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[be,_e+Se,"$"].join("|")+")",_e+"?"+Se+"+(?:['’](?:d|ll|m|re|s|t|ve))?",_e+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ge,Te].join("|"),"g"),Le=RegExp("[\\u200d\\ud800-\\udfff"+de+"\\ufe0e\\ufe0f]"),De=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Be=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Fe=-1,ze={};ze[_]=ze[S]=ze[E]=ze[C]=ze[P]=ze[T]=ze["[object Uint8ClampedArray]"]=ze[A]=ze[R]=!0,ze[c]=ze[l]=ze[x]=ze[s]=ze[k]=ze[f]=ze[d]=ze[p]=ze[b]=ze[v]=ze[g]=ze[m]=ze[y]=ze[O]=ze[j]=!1;var Ue={};Ue[c]=Ue[l]=Ue[x]=Ue[k]=Ue[s]=Ue[f]=Ue[_]=Ue[S]=Ue[E]=Ue[C]=Ue[P]=Ue[b]=Ue[v]=Ue[g]=Ue[m]=Ue[y]=Ue[O]=Ue[w]=Ue[T]=Ue["[object Uint8ClampedArray]"]=Ue[A]=Ue[R]=!0,Ue[d]=Ue[p]=Ue[j]=!1;var He={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},We=parseFloat,$e=parseInt,Ve="object"==typeof e&&e&&e.Object===Object&&e,Ge="object"==typeof self&&self&&self.Object===Object&&self,qe=Ve||Ge||Function("return this")(),Ye=t&&!t.nodeType&&t,Xe=Ye&&"object"==typeof r&&r&&!r.nodeType&&r,Ke=Xe&&Xe.exports===Ye,Qe=Ke&&Ve.process,Je=function(){try{var e=Xe&&Xe.require&&Xe.require("util").types;return e||Qe&&Qe.binding&&Qe.binding("util")}catch(e){}}(),Ze=Je&&Je.isArrayBuffer,et=Je&&Je.isDate,tt=Je&&Je.isMap,nt=Je&&Je.isRegExp,rt=Je&&Je.isSet,ot=Je&&Je.isTypedArray;function it(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function at(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function ut(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function ct(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function lt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function st(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function ft(e,t){return!!(null==e?0:e.length)&&wt(e,t,0)>-1}function dt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function pt(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function ht(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function bt(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function vt(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function gt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var mt=_t("length");function yt(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function Ot(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function wt(e,t,n){return t==t?function(e,t,n){var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):Ot(e,xt,n)}function jt(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function xt(e){return e!=e}function kt(e,t){var n=null==e?0:e.length;return n?Ct(e,t)/n:NaN}function _t(e){return function(t){return null==t?void 0:t[e]}}function St(e){return function(t){return null==e?void 0:e[t]}}function Et(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function Ct(e,t){for(var n,r=-1,o=e.length;++r<o;){var i=t(e[r]);void 0!==i&&(n=void 0===n?i:n+i)}return n}function Pt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Tt(e){return e?e.slice(0,Yt(e)+1).replace(Y,""):e}function At(e){return function(t){return e(t)}}function Rt(e,t){return pt(t,(function(t){return e[t]}))}function It(e,t){return e.has(t)}function Nt(e,t){for(var n=-1,r=e.length;++n<r&&wt(t,e[n],0)>-1;);return n}function Mt(e,t){for(var n=e.length;n--&&wt(t,e[n],0)>-1;);return n}function Lt(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var Dt=St({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Bt=St({"&":"&","<":"<",">":">",'"':""","'":"'"});function Ft(e){return"\\"+He[e]}function zt(e){return Le.test(e)}function Ut(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Ht(e,t){return function(n){return e(t(n))}}function Wt(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var u=e[n];u!==t&&u!==a||(e[n]=a,i[o++]=n)}return i}function $t(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function Vt(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function Gt(e){return zt(e)?function(e){var t=Ne.lastIndex=0;for(;Ne.test(e);)++t;return t}(e):mt(e)}function qt(e){return zt(e)?function(e){return e.match(Ne)||[]}(e):function(e){return e.split("")}(e)}function Yt(e){for(var t=e.length;t--&&X.test(e.charAt(t)););return t}var Xt=St({"&":"&","<":"<",">":">",""":'"',"'":"'"});var Kt=function e(t){var n,r=(t=null==t?qe:Kt.defaults(qe.Object(),t,Kt.pick(qe,Be))).Array,o=t.Date,X=t.Error,de=t.Function,pe=t.Math,he=t.Object,be=t.RegExp,ve=t.String,ge=t.TypeError,me=r.prototype,ye=de.prototype,Oe=he.prototype,we=t["__core-js_shared__"],je=ye.toString,xe=Oe.hasOwnProperty,ke=0,_e=(n=/[^.]+$/.exec(we&&we.keys&&we.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Se=Oe.toString,Ee=je.call(he),Ce=qe._,Pe=be("^"+je.call(xe).replace(G,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Te=Ke?t.Buffer:void 0,Ae=t.Symbol,Ne=t.Uint8Array,Le=Te?Te.allocUnsafe:void 0,He=Ht(he.getPrototypeOf,he),Ve=he.create,Ge=Oe.propertyIsEnumerable,Ye=me.splice,Xe=Ae?Ae.isConcatSpreadable:void 0,Qe=Ae?Ae.iterator:void 0,Je=Ae?Ae.toStringTag:void 0,mt=function(){try{var e=ti(he,"defineProperty");return e({},"",{}),e}catch(e){}}(),St=t.clearTimeout!==qe.clearTimeout&&t.clearTimeout,Qt=o&&o.now!==qe.Date.now&&o.now,Jt=t.setTimeout!==qe.setTimeout&&t.setTimeout,Zt=pe.ceil,en=pe.floor,tn=he.getOwnPropertySymbols,nn=Te?Te.isBuffer:void 0,rn=t.isFinite,on=me.join,an=Ht(he.keys,he),un=pe.max,cn=pe.min,ln=o.now,sn=t.parseInt,fn=pe.random,dn=me.reverse,pn=ti(t,"DataView"),hn=ti(t,"Map"),bn=ti(t,"Promise"),vn=ti(t,"Set"),gn=ti(t,"WeakMap"),mn=ti(he,"create"),yn=gn&&new gn,On={},wn=Ci(pn),jn=Ci(hn),xn=Ci(bn),kn=Ci(vn),_n=Ci(gn),Sn=Ae?Ae.prototype:void 0,En=Sn?Sn.valueOf:void 0,Cn=Sn?Sn.toString:void 0;function Pn(e){if(Va(e)&&!Na(e)&&!(e instanceof In)){if(e instanceof Rn)return e;if(xe.call(e,"__wrapped__"))return Pi(e)}return new Rn(e)}var Tn=function(){function e(){}return function(t){if(!$a(t))return{};if(Ve)return Ve(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function An(){}function Rn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function In(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Nn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Mn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ln(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Dn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Ln;++t<n;)this.add(e[t])}function Bn(e){var t=this.__data__=new Mn(e);this.size=t.size}function Fn(e,t){var n=Na(e),r=!n&&Ia(e),o=!n&&!r&&Ba(e),i=!n&&!r&&!o&&Za(e),a=n||r||o||i,u=a?Pt(e.length,ve):[],c=u.length;for(var l in e)!t&&!xe.call(e,l)||a&&("length"==l||o&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||ci(l,c))||u.push(l);return u}function zn(e){var t=e.length;return t?e[Dr(0,t-1)]:void 0}function Un(e,t){return _i(yo(e),Kn(t,0,e.length))}function Hn(e){return _i(yo(e))}function Wn(e,t,n){(void 0!==n&&!Ta(e[t],n)||void 0===n&&!(t in e))&&Yn(e,t,n)}function $n(e,t,n){var r=e[t];xe.call(e,t)&&Ta(r,n)&&(void 0!==n||t in e)||Yn(e,t,n)}function Vn(e,t){for(var n=e.length;n--;)if(Ta(e[n][0],t))return n;return-1}function Gn(e,t,n,r){return tr(e,(function(e,o,i){t(r,e,n(e),i)})),r}function qn(e,t){return e&&Oo(t,wu(t),e)}function Yn(e,t,n){"__proto__"==t&&mt?mt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Xn(e,t){for(var n=-1,o=t.length,i=r(o),a=null==e;++n<o;)i[n]=a?void 0:vu(e,t[n]);return i}function Kn(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}function Qn(e,t,n,r,o,i){var a,u=1&t,l=2&t,d=4&t;if(n&&(a=o?n(e,r,o,i):n(e)),void 0!==a)return a;if(!$a(e))return e;var j=Na(e);if(j){if(a=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&xe.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!u)return yo(e,a)}else{var I=oi(e),N=I==p||I==h;if(Ba(e))return po(e,u);if(I==g||I==c||N&&!o){if(a=l||N?{}:ai(e),!u)return l?function(e,t){return Oo(e,ri(e),t)}(e,function(e,t){return e&&Oo(t,ju(t),e)}(a,e)):function(e,t){return Oo(e,ni(e),t)}(e,qn(a,e))}else{if(!Ue[I])return o?e:{};a=function(e,t,n){var r=e.constructor;switch(t){case x:return ho(e);case s:case f:return new r(+e);case k:return function(e,t){var n=t?ho(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case _:case S:case E:case C:case P:case T:case"[object Uint8ClampedArray]":case A:case R:return bo(e,n);case b:return new r;case v:case O:return new r(e);case m:return function(e){var t=new e.constructor(e.source,re.exec(e));return t.lastIndex=e.lastIndex,t}(e);case y:return new r;case w:return o=e,En?he(En.call(o)):{}}var o}(e,I,u)}}i||(i=new Bn);var M=i.get(e);if(M)return M;i.set(e,a),Ka(e)?e.forEach((function(r){a.add(Qn(r,t,n,r,e,i))})):Ga(e)&&e.forEach((function(r,o){a.set(o,Qn(r,t,n,o,e,i))}));var L=j?void 0:(d?l?Yo:qo:l?ju:wu)(e);return ut(L||e,(function(r,o){L&&(r=e[o=r]),$n(a,o,Qn(r,t,n,o,e,i))})),a}function Jn(e,t,n){var r=n.length;if(null==e)return!r;for(e=he(e);r--;){var o=n[r],i=t[o],a=e[o];if(void 0===a&&!(o in e)||!i(a))return!1}return!0}function Zn(e,t,n){if("function"!=typeof e)throw new ge(i);return wi((function(){e.apply(void 0,n)}),t)}function er(e,t,n,r){var o=-1,i=ft,a=!0,u=e.length,c=[],l=t.length;if(!u)return c;n&&(t=pt(t,At(n))),r?(i=dt,a=!1):t.length>=200&&(i=It,a=!1,t=new Dn(t));e:for(;++o<u;){var s=e[o],f=null==n?s:n(s);if(s=r||0!==s?s:0,a&&f==f){for(var d=l;d--;)if(t[d]===f)continue e;c.push(s)}else i(t,f,r)||c.push(s)}return c}Pn.templateSettings={escape:z,evaluate:U,interpolate:H,variable:"",imports:{_:Pn}},Pn.prototype=An.prototype,Pn.prototype.constructor=Pn,Rn.prototype=Tn(An.prototype),Rn.prototype.constructor=Rn,In.prototype=Tn(An.prototype),In.prototype.constructor=In,Nn.prototype.clear=function(){this.__data__=mn?mn(null):{},this.size=0},Nn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Nn.prototype.get=function(e){var t=this.__data__;if(mn){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return xe.call(t,e)?t[e]:void 0},Nn.prototype.has=function(e){var t=this.__data__;return mn?void 0!==t[e]:xe.call(t,e)},Nn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=mn&&void 0===t?"__lodash_hash_undefined__":t,this},Mn.prototype.clear=function(){this.__data__=[],this.size=0},Mn.prototype.delete=function(e){var t=this.__data__,n=Vn(t,e);return!(n<0)&&(n==t.length-1?t.pop():Ye.call(t,n,1),--this.size,!0)},Mn.prototype.get=function(e){var t=this.__data__,n=Vn(t,e);return n<0?void 0:t[n][1]},Mn.prototype.has=function(e){return Vn(this.__data__,e)>-1},Mn.prototype.set=function(e,t){var n=this.__data__,r=Vn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Ln.prototype.clear=function(){this.size=0,this.__data__={hash:new Nn,map:new(hn||Mn),string:new Nn}},Ln.prototype.delete=function(e){var t=Zo(this,e).delete(e);return this.size-=t?1:0,t},Ln.prototype.get=function(e){return Zo(this,e).get(e)},Ln.prototype.has=function(e){return Zo(this,e).has(e)},Ln.prototype.set=function(e,t){var n=Zo(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Dn.prototype.add=Dn.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Dn.prototype.has=function(e){return this.__data__.has(e)},Bn.prototype.clear=function(){this.__data__=new Mn,this.size=0},Bn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Bn.prototype.get=function(e){return this.__data__.get(e)},Bn.prototype.has=function(e){return this.__data__.has(e)},Bn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Mn){var r=n.__data__;if(!hn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Ln(r)}return n.set(e,t),this.size=n.size,this};var tr=xo(lr),nr=xo(sr,!0);function rr(e,t){var n=!0;return tr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function or(e,t,n){for(var r=-1,o=e.length;++r<o;){var i=e[r],a=t(i);if(null!=a&&(void 0===u?a==a&&!Ja(a):n(a,u)))var u=a,c=i}return c}function ir(e,t){var n=[];return tr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function ar(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=ui),o||(o=[]);++i<a;){var u=e[i];t>0&&n(u)?t>1?ar(u,t-1,n,r,o):ht(o,u):r||(o[o.length]=u)}return o}var ur=ko(),cr=ko(!0);function lr(e,t){return e&&ur(e,t,wu)}function sr(e,t){return e&&cr(e,t,wu)}function fr(e,t){return st(t,(function(t){return Ua(e[t])}))}function dr(e,t){for(var n=0,r=(t=co(t,e)).length;null!=e&&n<r;)e=e[Ei(t[n++])];return n&&n==r?e:void 0}function pr(e,t,n){var r=t(e);return Na(e)?r:ht(r,n(e))}function hr(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Je&&Je in he(e)?function(e){var t=xe.call(e,Je),n=e[Je];try{e[Je]=void 0;var r=!0}catch(e){}var o=Se.call(e);r&&(t?e[Je]=n:delete e[Je]);return o}(e):function(e){return Se.call(e)}(e)}function br(e,t){return e>t}function vr(e,t){return null!=e&&xe.call(e,t)}function gr(e,t){return null!=e&&t in he(e)}function mr(e,t,n){for(var o=n?dt:ft,i=e[0].length,a=e.length,u=a,c=r(a),l=1/0,s=[];u--;){var f=e[u];u&&t&&(f=pt(f,At(t))),l=cn(f.length,l),c[u]=!n&&(t||i>=120&&f.length>=120)?new Dn(u&&f):void 0}f=e[0];var d=-1,p=c[0];e:for(;++d<i&&s.length<l;){var h=f[d],b=t?t(h):h;if(h=n||0!==h?h:0,!(p?It(p,b):o(s,b,n))){for(u=a;--u;){var v=c[u];if(!(v?It(v,b):o(e[u],b,n)))continue e}p&&p.push(b),s.push(h)}}return s}function yr(e,t,n){var r=null==(e=gi(e,t=co(t,e)))?e:e[Ei(zi(t))];return null==r?void 0:it(r,e,n)}function Or(e){return Va(e)&&hr(e)==c}function wr(e,t,n,r,o){return e===t||(null==e||null==t||!Va(e)&&!Va(t)?e!=e&&t!=t:function(e,t,n,r,o,i){var a=Na(e),u=Na(t),p=a?l:oi(e),h=u?l:oi(t),j=(p=p==c?g:p)==g,_=(h=h==c?g:h)==g,S=p==h;if(S&&Ba(e)){if(!Ba(t))return!1;a=!0,j=!1}if(S&&!j)return i||(i=new Bn),a||Za(e)?Vo(e,t,n,r,o,i):function(e,t,n,r,o,i,a){switch(n){case k:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case x:return!(e.byteLength!=t.byteLength||!i(new Ne(e),new Ne(t)));case s:case f:case v:return Ta(+e,+t);case d:return e.name==t.name&&e.message==t.message;case m:case O:return e==t+"";case b:var u=Ut;case y:var c=1&r;if(u||(u=$t),e.size!=t.size&&!c)return!1;var l=a.get(e);if(l)return l==t;r|=2,a.set(e,t);var p=Vo(u(e),u(t),r,o,i,a);return a.delete(e),p;case w:if(En)return En.call(e)==En.call(t)}return!1}(e,t,p,n,r,o,i);if(!(1&n)){var E=j&&xe.call(e,"__wrapped__"),C=_&&xe.call(t,"__wrapped__");if(E||C){var P=E?e.value():e,T=C?t.value():t;return i||(i=new Bn),o(P,T,n,r,i)}}if(!S)return!1;return i||(i=new Bn),function(e,t,n,r,o,i){var a=1&n,u=qo(e),c=u.length,l=qo(t).length;if(c!=l&&!a)return!1;var s=c;for(;s--;){var f=u[s];if(!(a?f in t:xe.call(t,f)))return!1}var d=i.get(e),p=i.get(t);if(d&&p)return d==t&&p==e;var h=!0;i.set(e,t),i.set(t,e);var b=a;for(;++s<c;){f=u[s];var v=e[f],g=t[f];if(r)var m=a?r(g,v,f,t,e,i):r(v,g,f,e,t,i);if(!(void 0===m?v===g||o(v,g,n,r,i):m)){h=!1;break}b||(b="constructor"==f)}if(h&&!b){var y=e.constructor,O=t.constructor;y==O||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof O&&O instanceof O||(h=!1)}return i.delete(e),i.delete(t),h}(e,t,n,r,o,i)}(e,t,n,r,wr,o))}function jr(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=he(e);o--;){var u=n[o];if(a&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++o<i;){var c=(u=n[o])[0],l=e[c],s=u[1];if(a&&u[2]){if(void 0===l&&!(c in e))return!1}else{var f=new Bn;if(r)var d=r(l,s,c,e,t,f);if(!(void 0===d?wr(s,l,3,r,f):d))return!1}}return!0}function xr(e){return!(!$a(e)||(t=e,_e&&_e in t))&&(Ua(e)?Pe:ae).test(Ci(e));var t}function kr(e){return"function"==typeof e?e:null==e?qu:"object"==typeof e?Na(e)?Tr(e[0],e[1]):Pr(e):nc(e)}function _r(e){if(!pi(e))return an(e);var t=[];for(var n in he(e))xe.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Sr(e){if(!$a(e))return function(e){var t=[];if(null!=e)for(var n in he(e))t.push(n);return t}(e);var t=pi(e),n=[];for(var r in e)("constructor"!=r||!t&&xe.call(e,r))&&n.push(r);return n}function Er(e,t){return e<t}function Cr(e,t){var n=-1,o=La(e)?r(e.length):[];return tr(e,(function(e,r,i){o[++n]=t(e,r,i)})),o}function Pr(e){var t=ei(e);return 1==t.length&&t[0][2]?bi(t[0][0],t[0][1]):function(n){return n===e||jr(n,e,t)}}function Tr(e,t){return si(e)&&hi(t)?bi(Ei(e),t):function(n){var r=vu(n,e);return void 0===r&&r===t?gu(n,e):wr(t,r,3)}}function Ar(e,t,n,r,o){e!==t&&ur(t,(function(i,a){if(o||(o=new Bn),$a(i))!function(e,t,n,r,o,i,a){var u=yi(e,n),c=yi(t,n),l=a.get(c);if(l)return void Wn(e,n,l);var s=i?i(u,c,n+"",e,t,a):void 0,f=void 0===s;if(f){var d=Na(c),p=!d&&Ba(c),h=!d&&!p&&Za(c);s=c,d||p||h?Na(u)?s=u:Da(u)?s=yo(u):p?(f=!1,s=po(c,!0)):h?(f=!1,s=bo(c,!0)):s=[]:Ya(c)||Ia(c)?(s=u,Ia(u)?s=uu(u):$a(u)&&!Ua(u)||(s=ai(c))):f=!1}f&&(a.set(c,s),o(s,c,r,i,a),a.delete(c));Wn(e,n,s)}(e,t,a,n,Ar,r,o);else{var u=r?r(yi(e,a),i,a+"",e,t,o):void 0;void 0===u&&(u=i),Wn(e,a,u)}}),ju)}function Rr(e,t){var n=e.length;if(n)return ci(t+=t<0?n:0,n)?e[t]:void 0}function Ir(e,t,n){t=t.length?pt(t,(function(e){return Na(e)?function(t){return dr(t,1===e.length?e[0]:e)}:e})):[qu];var r=-1;return t=pt(t,At(Jo())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(Cr(e,(function(e,n,o){return{criteria:pt(t,(function(t){return t(e)})),index:++r,value:e}})),(function(e,t){return function(e,t,n){var r=-1,o=e.criteria,i=t.criteria,a=o.length,u=n.length;for(;++r<a;){var c=vo(o[r],i[r]);if(c){if(r>=u)return c;var l=n[r];return c*("desc"==l?-1:1)}}return e.index-t.index}(e,t,n)}))}function Nr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],u=dr(e,a);n(u,a)&&Hr(i,co(a,e),u)}return i}function Mr(e,t,n,r){var o=r?jt:wt,i=-1,a=t.length,u=e;for(e===t&&(t=yo(t)),n&&(u=pt(e,At(n)));++i<a;)for(var c=0,l=t[i],s=n?n(l):l;(c=o(u,s,c,r))>-1;)u!==e&&Ye.call(u,c,1),Ye.call(e,c,1);return e}function Lr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;ci(o)?Ye.call(e,o,1):eo(e,o)}}return e}function Dr(e,t){return e+en(fn()*(t-e+1))}function Br(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do{t%2&&(n+=e),(t=en(t/2))&&(e+=e)}while(t);return n}function Fr(e,t){return ji(vi(e,t,qu),e+"")}function zr(e){return zn(Tu(e))}function Ur(e,t){var n=Tu(e);return _i(n,Kn(t,0,n.length))}function Hr(e,t,n,r){if(!$a(e))return e;for(var o=-1,i=(t=co(t,e)).length,a=i-1,u=e;null!=u&&++o<i;){var c=Ei(t[o]),l=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(o!=a){var s=u[c];void 0===(l=r?r(s,c,u):void 0)&&(l=$a(s)?s:ci(t[o+1])?[]:{})}$n(u,c,l),u=u[c]}return e}var Wr=yn?function(e,t){return yn.set(e,t),e}:qu,$r=mt?function(e,t){return mt(e,"toString",{configurable:!0,enumerable:!1,value:$u(t),writable:!0})}:qu;function Vr(e){return _i(Tu(e))}function Gr(e,t,n){var o=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=r(i);++o<i;)a[o]=e[o+t];return a}function qr(e,t){var n;return tr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function Yr(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!Ja(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return Xr(e,t,qu,n)}function Xr(e,t,n,r){var o=0,i=null==e?0:e.length;if(0===i)return 0;for(var a=(t=n(t))!=t,u=null===t,c=Ja(t),l=void 0===t;o<i;){var s=en((o+i)/2),f=n(e[s]),d=void 0!==f,p=null===f,h=f==f,b=Ja(f);if(a)var v=r||h;else v=l?h&&(r||d):u?h&&d&&(r||!p):c?h&&d&&!p&&(r||!b):!p&&!b&&(r?f<=t:f<t);v?o=s+1:i=s}return cn(i,4294967294)}function Kr(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],u=t?t(a):a;if(!n||!Ta(u,c)){var c=u;i[o++]=0===a?0:a}}return i}function Qr(e){return"number"==typeof e?e:Ja(e)?NaN:+e}function Jr(e){if("string"==typeof e)return e;if(Na(e))return pt(e,Jr)+"";if(Ja(e))return Cn?Cn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Zr(e,t,n){var r=-1,o=ft,i=e.length,a=!0,u=[],c=u;if(n)a=!1,o=dt;else if(i>=200){var l=t?null:Fo(e);if(l)return $t(l);a=!1,o=It,c=new Dn}else c=t?[]:u;e:for(;++r<i;){var s=e[r],f=t?t(s):s;if(s=n||0!==s?s:0,a&&f==f){for(var d=c.length;d--;)if(c[d]===f)continue e;t&&c.push(f),u.push(s)}else o(c,f,n)||(c!==u&&c.push(f),u.push(s))}return u}function eo(e,t){return null==(e=gi(e,t=co(t,e)))||delete e[Ei(zi(t))]}function to(e,t,n,r){return Hr(e,t,n(dr(e,t)),r)}function no(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?Gr(e,r?0:i,r?i+1:o):Gr(e,r?i+1:0,r?o:i)}function ro(e,t){var n=e;return n instanceof In&&(n=n.value()),bt(t,(function(e,t){return t.func.apply(t.thisArg,ht([e],t.args))}),n)}function oo(e,t,n){var o=e.length;if(o<2)return o?Zr(e[0]):[];for(var i=-1,a=r(o);++i<o;)for(var u=e[i],c=-1;++c<o;)c!=i&&(a[i]=er(a[i]||u,e[c],t,n));return Zr(ar(a,1),t,n)}function io(e,t,n){for(var r=-1,o=e.length,i=t.length,a={};++r<o;){var u=r<i?t[r]:void 0;n(a,e[r],u)}return a}function ao(e){return Da(e)?e:[]}function uo(e){return"function"==typeof e?e:qu}function co(e,t){return Na(e)?e:si(e,t)?[e]:Si(cu(e))}var lo=Fr;function so(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:Gr(e,t,n)}var fo=St||function(e){return qe.clearTimeout(e)};function po(e,t){if(t)return e.slice();var n=e.length,r=Le?Le(n):new e.constructor(n);return e.copy(r),r}function ho(e){var t=new e.constructor(e.byteLength);return new Ne(t).set(new Ne(e)),t}function bo(e,t){var n=t?ho(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function vo(e,t){if(e!==t){var n=void 0!==e,r=null===e,o=e==e,i=Ja(e),a=void 0!==t,u=null===t,c=t==t,l=Ja(t);if(!u&&!l&&!i&&e>t||i&&a&&c&&!u&&!l||r&&a&&c||!n&&c||!o)return 1;if(!r&&!i&&!l&&e<t||l&&n&&o&&!r&&!i||u&&n&&o||!a&&o||!c)return-1}return 0}function go(e,t,n,o){for(var i=-1,a=e.length,u=n.length,c=-1,l=t.length,s=un(a-u,0),f=r(l+s),d=!o;++c<l;)f[c]=t[c];for(;++i<u;)(d||i<a)&&(f[n[i]]=e[i]);for(;s--;)f[c++]=e[i++];return f}function mo(e,t,n,o){for(var i=-1,a=e.length,u=-1,c=n.length,l=-1,s=t.length,f=un(a-c,0),d=r(f+s),p=!o;++i<f;)d[i]=e[i];for(var h=i;++l<s;)d[h+l]=t[l];for(;++u<c;)(p||i<a)&&(d[h+n[u]]=e[i++]);return d}function yo(e,t){var n=-1,o=e.length;for(t||(t=r(o));++n<o;)t[n]=e[n];return t}function Oo(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var u=t[i],c=r?r(n[u],e[u],u,n,e):void 0;void 0===c&&(c=e[u]),o?Yn(n,u,c):$n(n,u,c)}return n}function wo(e,t){return function(n,r){var o=Na(n)?at:Gn,i=t?t():{};return o(n,e,Jo(r,2),i)}}function jo(e){return Fr((function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&li(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=he(t);++r<o;){var u=n[r];u&&e(t,u,r,i)}return t}))}function xo(e,t){return function(n,r){if(null==n)return n;if(!La(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=he(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function ko(e){return function(t,n,r){for(var o=-1,i=he(t),a=r(t),u=a.length;u--;){var c=a[e?u:++o];if(!1===n(i[c],c,i))break}return t}}function _o(e){return function(t){var n=zt(t=cu(t))?qt(t):void 0,r=n?n[0]:t.charAt(0),o=n?so(n,1).join(""):t.slice(1);return r[e]()+o}}function So(e){return function(t){return bt(Uu(Iu(t).replace(Re,"")),e,"")}}function Eo(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Tn(e.prototype),r=e.apply(n,t);return $a(r)?r:n}}function Co(e){return function(t,n,r){var o=he(t);if(!La(t)){var i=Jo(n,3);t=wu(t),n=function(e){return i(o[e],e,o)}}var a=e(t,n,r);return a>-1?o[i?t[a]:a]:void 0}}function Po(e){return Go((function(t){var n=t.length,r=n,o=Rn.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new ge(i);if(o&&!u&&"wrapper"==Ko(a))var u=new Rn([],!0)}for(r=u?r:n;++r<n;){var c=Ko(a=t[r]),l="wrapper"==c?Xo(a):void 0;u=l&&fi(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?u[Ko(l[0])].apply(u,l[3]):1==a.length&&fi(a)?u[c]():u.thru(a)}return function(){var e=arguments,r=e[0];if(u&&1==e.length&&Na(r))return u.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}}))}function To(e,t,n,o,i,a,u,c,l,s){var f=128&t,d=1&t,p=2&t,h=24&t,b=512&t,v=p?void 0:Eo(e);return function g(){for(var m=arguments.length,y=r(m),O=m;O--;)y[O]=arguments[O];if(h)var w=Qo(g),j=Lt(y,w);if(o&&(y=go(y,o,i,h)),a&&(y=mo(y,a,u,h)),m-=j,h&&m<s){var x=Wt(y,w);return Do(e,t,To,g.placeholder,n,y,x,c,l,s-m)}var k=d?n:this,_=p?k[e]:e;return m=y.length,c?y=mi(y,c):b&&m>1&&y.reverse(),f&&l<m&&(y.length=l),this&&this!==qe&&this instanceof g&&(_=v||Eo(_)),_.apply(k,y)}}function Ao(e,t){return function(n,r){return function(e,t,n,r){return lr(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function Ro(e,t){return function(n,r){var o;if(void 0===n&&void 0===r)return t;if(void 0!==n&&(o=n),void 0!==r){if(void 0===o)return r;"string"==typeof n||"string"==typeof r?(n=Jr(n),r=Jr(r)):(n=Qr(n),r=Qr(r)),o=e(n,r)}return o}}function Io(e){return Go((function(t){return t=pt(t,At(Jo())),Fr((function(n){var r=this;return e(t,(function(e){return it(e,r,n)}))}))}))}function No(e,t){var n=(t=void 0===t?" ":Jr(t)).length;if(n<2)return n?Br(t,e):t;var r=Br(t,Zt(e/Gt(t)));return zt(t)?so(qt(r),0,e).join(""):r.slice(0,e)}function Mo(e){return function(t,n,o){return o&&"number"!=typeof o&&li(t,n,o)&&(n=o=void 0),t=ru(t),void 0===n?(n=t,t=0):n=ru(n),function(e,t,n,o){for(var i=-1,a=un(Zt((t-e)/(n||1)),0),u=r(a);a--;)u[o?a:++i]=e,e+=n;return u}(t,n,o=void 0===o?t<n?1:-1:ru(o),e)}}function Lo(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=au(t),n=au(n)),e(t,n)}}function Do(e,t,n,r,o,i,a,u,c,l){var s=8&t;t|=s?32:64,4&(t&=~(s?64:32))||(t&=-4);var f=[e,t,o,s?i:void 0,s?a:void 0,s?void 0:i,s?void 0:a,u,c,l],d=n.apply(void 0,f);return fi(e)&&Oi(d,f),d.placeholder=r,xi(d,e,t)}function Bo(e){var t=pe[e];return function(e,n){if(e=au(e),(n=null==n?0:cn(ou(n),292))&&rn(e)){var r=(cu(e)+"e").split("e");return+((r=(cu(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Fo=vn&&1/$t(new vn([,-0]))[1]==1/0?function(e){return new vn(e)}:Ju;function zo(e){return function(t){var n=oi(t);return n==b?Ut(t):n==y?Vt(t):function(e,t){return pt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Uo(e,t,n,o,u,c,l,s){var f=2&t;if(!f&&"function"!=typeof e)throw new ge(i);var d=o?o.length:0;if(d||(t&=-97,o=u=void 0),l=void 0===l?l:un(ou(l),0),s=void 0===s?s:ou(s),d-=u?u.length:0,64&t){var p=o,h=u;o=u=void 0}var b=f?void 0:Xo(e),v=[e,t,n,o,u,p,h,c,l,s];if(b&&function(e,t){var n=e[1],r=t[1],o=n|r,i=o<131,u=128==r&&8==n||128==r&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!i&&!u)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var c=t[3];if(c){var l=e[3];e[3]=l?go(l,c,t[4]):c,e[4]=l?Wt(e[3],a):t[4]}(c=t[5])&&(l=e[5],e[5]=l?mo(l,c,t[6]):c,e[6]=l?Wt(e[5],a):t[6]);(c=t[7])&&(e[7]=c);128&r&&(e[8]=null==e[8]?t[8]:cn(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=o}(v,b),e=v[0],t=v[1],n=v[2],o=v[3],u=v[4],!(s=v[9]=void 0===v[9]?f?0:e.length:un(v[9]-d,0))&&24&t&&(t&=-25),t&&1!=t)g=8==t||16==t?function(e,t,n){var o=Eo(e);return function i(){for(var a=arguments.length,u=r(a),c=a,l=Qo(i);c--;)u[c]=arguments[c];var s=a<3&&u[0]!==l&&u[a-1]!==l?[]:Wt(u,l);if((a-=s.length)<n)return Do(e,t,To,i.placeholder,void 0,u,s,void 0,void 0,n-a);var f=this&&this!==qe&&this instanceof i?o:e;return it(f,this,u)}}(e,t,s):32!=t&&33!=t||u.length?To.apply(void 0,v):function(e,t,n,o){var i=1&t,a=Eo(e);return function t(){for(var u=-1,c=arguments.length,l=-1,s=o.length,f=r(s+c),d=this&&this!==qe&&this instanceof t?a:e;++l<s;)f[l]=o[l];for(;c--;)f[l++]=arguments[++u];return it(d,i?n:this,f)}}(e,t,n,o);else var g=function(e,t,n){var r=1&t,o=Eo(e);return function t(){var i=this&&this!==qe&&this instanceof t?o:e;return i.apply(r?n:this,arguments)}}(e,t,n);return xi((b?Wr:Oi)(g,v),e,t)}function Ho(e,t,n,r){return void 0===e||Ta(e,Oe[n])&&!xe.call(r,n)?t:e}function Wo(e,t,n,r,o,i){return $a(e)&&$a(t)&&(i.set(t,e),Ar(e,t,void 0,Wo,i),i.delete(t)),e}function $o(e){return Ya(e)?void 0:e}function Vo(e,t,n,r,o,i){var a=1&n,u=e.length,c=t.length;if(u!=c&&!(a&&c>u))return!1;var l=i.get(e),s=i.get(t);if(l&&s)return l==t&&s==e;var f=-1,d=!0,p=2&n?new Dn:void 0;for(i.set(e,t),i.set(t,e);++f<u;){var h=e[f],b=t[f];if(r)var v=a?r(b,h,f,t,e,i):r(h,b,f,e,t,i);if(void 0!==v){if(v)continue;d=!1;break}if(p){if(!gt(t,(function(e,t){if(!It(p,t)&&(h===e||o(h,e,n,r,i)))return p.push(t)}))){d=!1;break}}else if(h!==b&&!o(h,b,n,r,i)){d=!1;break}}return i.delete(e),i.delete(t),d}function Go(e){return ji(vi(e,void 0,Mi),e+"")}function qo(e){return pr(e,wu,ni)}function Yo(e){return pr(e,ju,ri)}var Xo=yn?function(e){return yn.get(e)}:Ju;function Ko(e){for(var t=e.name+"",n=On[t],r=xe.call(On,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function Qo(e){return(xe.call(Pn,"placeholder")?Pn:e).placeholder}function Jo(){var e=Pn.iteratee||Yu;return e=e===Yu?kr:e,arguments.length?e(arguments[0],arguments[1]):e}function Zo(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function ei(e){for(var t=wu(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,hi(o)]}return t}function ti(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return xr(n)?n:void 0}var ni=tn?function(e){return null==e?[]:(e=he(e),st(tn(e),(function(t){return Ge.call(e,t)})))}:ic,ri=tn?function(e){for(var t=[];e;)ht(t,ni(e)),e=He(e);return t}:ic,oi=hr;function ii(e,t,n){for(var r=-1,o=(t=co(t,e)).length,i=!1;++r<o;){var a=Ei(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&Wa(o)&&ci(a,o)&&(Na(e)||Ia(e))}function ai(e){return"function"!=typeof e.constructor||pi(e)?{}:Tn(He(e))}function ui(e){return Na(e)||Ia(e)||!!(Xe&&e&&e[Xe])}function ci(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&ce.test(e))&&e>-1&&e%1==0&&e<t}function li(e,t,n){if(!$a(n))return!1;var r=typeof t;return!!("number"==r?La(n)&&ci(t,n.length):"string"==r&&t in n)&&Ta(n[t],e)}function si(e,t){if(Na(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Ja(e))||($.test(e)||!W.test(e)||null!=t&&e in he(t))}function fi(e){var t=Ko(e),n=Pn[t];if("function"!=typeof n||!(t in In.prototype))return!1;if(e===n)return!0;var r=Xo(n);return!!r&&e===r[0]}(pn&&oi(new pn(new ArrayBuffer(1)))!=k||hn&&oi(new hn)!=b||bn&&"[object Promise]"!=oi(bn.resolve())||vn&&oi(new vn)!=y||gn&&oi(new gn)!=j)&&(oi=function(e){var t=hr(e),n=t==g?e.constructor:void 0,r=n?Ci(n):"";if(r)switch(r){case wn:return k;case jn:return b;case xn:return"[object Promise]";case kn:return y;case _n:return j}return t});var di=we?Ua:ac;function pi(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Oe)}function hi(e){return e==e&&!$a(e)}function bi(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in he(n)))}}function vi(e,t,n){return t=un(void 0===t?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=un(o.length-t,0),u=r(a);++i<a;)u[i]=o[t+i];i=-1;for(var c=r(t+1);++i<t;)c[i]=o[i];return c[t]=n(u),it(e,this,c)}}function gi(e,t){return t.length<2?e:dr(e,Gr(t,0,-1))}function mi(e,t){for(var n=e.length,r=cn(t.length,n),o=yo(e);r--;){var i=t[r];e[r]=ci(i,n)?o[i]:void 0}return e}function yi(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Oi=ki(Wr),wi=Jt||function(e,t){return qe.setTimeout(e,t)},ji=ki($r);function xi(e,t,n){var r=t+"";return ji(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(K,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return ut(u,(function(n){var r="_."+n[0];t&n[1]&&!ft(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(Q);return t?t[1].split(J):[]}(r),n)))}function ki(e){var t=0,n=0;return function(){var r=ln(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function _i(e,t){var n=-1,r=e.length,o=r-1;for(t=void 0===t?r:t;++n<t;){var i=Dr(n,o),a=e[i];e[i]=e[n],e[n]=a}return e.length=t,e}var Si=function(e){var t=ka(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(V,(function(e,n,r,o){t.push(r?o.replace(te,"$1"):n||e)})),t}));function Ei(e){if("string"==typeof e||Ja(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Ci(e){if(null!=e){try{return je.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Pi(e){if(e instanceof In)return e.clone();var t=new Rn(e.__wrapped__,e.__chain__);return t.__actions__=yo(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Ti=Fr((function(e,t){return Da(e)?er(e,ar(t,1,Da,!0)):[]})),Ai=Fr((function(e,t){var n=zi(t);return Da(n)&&(n=void 0),Da(e)?er(e,ar(t,1,Da,!0),Jo(n,2)):[]})),Ri=Fr((function(e,t){var n=zi(t);return Da(n)&&(n=void 0),Da(e)?er(e,ar(t,1,Da,!0),void 0,n):[]}));function Ii(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ou(n);return o<0&&(o=un(r+o,0)),Ot(e,Jo(t,3),o)}function Ni(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r-1;return void 0!==n&&(o=ou(n),o=n<0?un(r+o,0):cn(o,r-1)),Ot(e,Jo(t,3),o,!0)}function Mi(e){return(null==e?0:e.length)?ar(e,1):[]}function Li(e){return e&&e.length?e[0]:void 0}var Di=Fr((function(e){var t=pt(e,ao);return t.length&&t[0]===e[0]?mr(t):[]})),Bi=Fr((function(e){var t=zi(e),n=pt(e,ao);return t===zi(n)?t=void 0:n.pop(),n.length&&n[0]===e[0]?mr(n,Jo(t,2)):[]})),Fi=Fr((function(e){var t=zi(e),n=pt(e,ao);return(t="function"==typeof t?t:void 0)&&n.pop(),n.length&&n[0]===e[0]?mr(n,void 0,t):[]}));function zi(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var Ui=Fr(Hi);function Hi(e,t){return e&&e.length&&t&&t.length?Mr(e,t):e}var Wi=Go((function(e,t){var n=null==e?0:e.length,r=Xn(e,t);return Lr(e,pt(t,(function(e){return ci(e,n)?+e:e})).sort(vo)),r}));function $i(e){return null==e?e:dn.call(e)}var Vi=Fr((function(e){return Zr(ar(e,1,Da,!0))})),Gi=Fr((function(e){var t=zi(e);return Da(t)&&(t=void 0),Zr(ar(e,1,Da,!0),Jo(t,2))})),qi=Fr((function(e){var t=zi(e);return t="function"==typeof t?t:void 0,Zr(ar(e,1,Da,!0),void 0,t)}));function Yi(e){if(!e||!e.length)return[];var t=0;return e=st(e,(function(e){if(Da(e))return t=un(e.length,t),!0})),Pt(t,(function(t){return pt(e,_t(t))}))}function Xi(e,t){if(!e||!e.length)return[];var n=Yi(e);return null==t?n:pt(n,(function(e){return it(t,void 0,e)}))}var Ki=Fr((function(e,t){return Da(e)?er(e,t):[]})),Qi=Fr((function(e){return oo(st(e,Da))})),Ji=Fr((function(e){var t=zi(e);return Da(t)&&(t=void 0),oo(st(e,Da),Jo(t,2))})),Zi=Fr((function(e){var t=zi(e);return t="function"==typeof t?t:void 0,oo(st(e,Da),void 0,t)})),ea=Fr(Yi);var ta=Fr((function(e){var t=e.length,n=t>1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,Xi(e,n)}));function na(e){var t=Pn(e);return t.__chain__=!0,t}function ra(e,t){return t(e)}var oa=Go((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return Xn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof In&&ci(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ra,args:[o],thisArg:void 0}),new Rn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(o)}));var ia=wo((function(e,t,n){xe.call(e,n)?++e[n]:Yn(e,n,1)}));var aa=Co(Ii),ua=Co(Ni);function ca(e,t){return(Na(e)?ut:tr)(e,Jo(t,3))}function la(e,t){return(Na(e)?ct:nr)(e,Jo(t,3))}var sa=wo((function(e,t,n){xe.call(e,n)?e[n].push(t):Yn(e,n,[t])}));var fa=Fr((function(e,t,n){var o=-1,i="function"==typeof t,a=La(e)?r(e.length):[];return tr(e,(function(e){a[++o]=i?it(t,e,n):yr(e,t,n)})),a})),da=wo((function(e,t,n){Yn(e,n,t)}));function pa(e,t){return(Na(e)?pt:Cr)(e,Jo(t,3))}var ha=wo((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var ba=Fr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&li(e,t[0],t[1])?t=[]:n>2&&li(t[0],t[1],t[2])&&(t=[t[0]]),Ir(e,ar(t,1),[])})),va=Qt||function(){return qe.Date.now()};function ga(e,t,n){return t=n?void 0:t,Uo(e,128,void 0,void 0,void 0,void 0,t=e&&null==t?e.length:t)}function ma(e,t){var n;if("function"!=typeof t)throw new ge(i);return e=ou(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var ya=Fr((function(e,t,n){var r=1;if(n.length){var o=Wt(n,Qo(ya));r|=32}return Uo(e,r,t,n,o)})),Oa=Fr((function(e,t,n){var r=3;if(n.length){var o=Wt(n,Qo(Oa));r|=32}return Uo(t,r,e,n,o)}));function wa(e,t,n){var r,o,a,u,c,l,s=0,f=!1,d=!1,p=!0;if("function"!=typeof e)throw new ge(i);function h(t){var n=r,i=o;return r=o=void 0,s=t,u=e.apply(i,n)}function b(e){return s=e,c=wi(g,t),f?h(e):u}function v(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-s>=a}function g(){var e=va();if(v(e))return m(e);c=wi(g,function(e){var n=t-(e-l);return d?cn(n,a-(e-s)):n}(e))}function m(e){return c=void 0,p&&r?h(e):(r=o=void 0,u)}function y(){var e=va(),n=v(e);if(r=arguments,o=this,l=e,n){if(void 0===c)return b(l);if(d)return fo(c),c=wi(g,t),h(l)}return void 0===c&&(c=wi(g,t)),u}return t=au(t)||0,$a(n)&&(f=!!n.leading,a=(d="maxWait"in n)?un(au(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p),y.cancel=function(){void 0!==c&&fo(c),s=0,r=l=o=c=void 0},y.flush=function(){return void 0===c?u:m(va())},y}var ja=Fr((function(e,t){return Zn(e,1,t)})),xa=Fr((function(e,t,n){return Zn(e,au(t)||0,n)}));function ka(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ge(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(ka.Cache||Ln),n}function _a(e){if("function"!=typeof e)throw new ge(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}ka.Cache=Ln;var Sa=lo((function(e,t){var n=(t=1==t.length&&Na(t[0])?pt(t[0],At(Jo())):pt(ar(t,1),At(Jo()))).length;return Fr((function(r){for(var o=-1,i=cn(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return it(e,this,r)}))})),Ea=Fr((function(e,t){return Uo(e,32,void 0,t,Wt(t,Qo(Ea)))})),Ca=Fr((function(e,t){return Uo(e,64,void 0,t,Wt(t,Qo(Ca)))})),Pa=Go((function(e,t){return Uo(e,256,void 0,void 0,void 0,t)}));function Ta(e,t){return e===t||e!=e&&t!=t}var Aa=Lo(br),Ra=Lo((function(e,t){return e>=t})),Ia=Or(function(){return arguments}())?Or:function(e){return Va(e)&&xe.call(e,"callee")&&!Ge.call(e,"callee")},Na=r.isArray,Ma=Ze?At(Ze):function(e){return Va(e)&&hr(e)==x};function La(e){return null!=e&&Wa(e.length)&&!Ua(e)}function Da(e){return Va(e)&&La(e)}var Ba=nn||ac,Fa=et?At(et):function(e){return Va(e)&&hr(e)==f};function za(e){if(!Va(e))return!1;var t=hr(e);return t==d||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Ya(e)}function Ua(e){if(!$a(e))return!1;var t=hr(e);return t==p||t==h||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ha(e){return"number"==typeof e&&e==ou(e)}function Wa(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function $a(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Va(e){return null!=e&&"object"==typeof e}var Ga=tt?At(tt):function(e){return Va(e)&&oi(e)==b};function qa(e){return"number"==typeof e||Va(e)&&hr(e)==v}function Ya(e){if(!Va(e)||hr(e)!=g)return!1;var t=He(e);if(null===t)return!0;var n=xe.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&je.call(n)==Ee}var Xa=nt?At(nt):function(e){return Va(e)&&hr(e)==m};var Ka=rt?At(rt):function(e){return Va(e)&&oi(e)==y};function Qa(e){return"string"==typeof e||!Na(e)&&Va(e)&&hr(e)==O}function Ja(e){return"symbol"==typeof e||Va(e)&&hr(e)==w}var Za=ot?At(ot):function(e){return Va(e)&&Wa(e.length)&&!!ze[hr(e)]};var eu=Lo(Er),tu=Lo((function(e,t){return e<=t}));function nu(e){if(!e)return[];if(La(e))return Qa(e)?qt(e):yo(e);if(Qe&&e[Qe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Qe]());var t=oi(e);return(t==b?Ut:t==y?$t:Tu)(e)}function ru(e){return e?(e=au(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ou(e){var t=ru(e),n=t%1;return t==t?n?t-n:t:0}function iu(e){return e?Kn(ou(e),0,4294967295):0}function au(e){if("number"==typeof e)return e;if(Ja(e))return NaN;if($a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=$a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Tt(e);var n=ie.test(e);return n||ue.test(e)?$e(e.slice(2),n?2:8):oe.test(e)?NaN:+e}function uu(e){return Oo(e,ju(e))}function cu(e){return null==e?"":Jr(e)}var lu=jo((function(e,t){if(pi(t)||La(t))Oo(t,wu(t),e);else for(var n in t)xe.call(t,n)&&$n(e,n,t[n])})),su=jo((function(e,t){Oo(t,ju(t),e)})),fu=jo((function(e,t,n,r){Oo(t,ju(t),e,r)})),du=jo((function(e,t,n,r){Oo(t,wu(t),e,r)})),pu=Go(Xn);var hu=Fr((function(e,t){e=he(e);var n=-1,r=t.length,o=r>2?t[2]:void 0;for(o&&li(t[0],t[1],o)&&(r=1);++n<r;)for(var i=t[n],a=ju(i),u=-1,c=a.length;++u<c;){var l=a[u],s=e[l];(void 0===s||Ta(s,Oe[l])&&!xe.call(e,l))&&(e[l]=i[l])}return e})),bu=Fr((function(e){return e.push(void 0,Wo),it(ku,void 0,e)}));function vu(e,t,n){var r=null==e?void 0:dr(e,t);return void 0===r?n:r}function gu(e,t){return null!=e&&ii(e,t,gr)}var mu=Ao((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Se.call(t)),e[t]=n}),$u(qu)),yu=Ao((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Se.call(t)),xe.call(e,t)?e[t].push(n):e[t]=[n]}),Jo),Ou=Fr(yr);function wu(e){return La(e)?Fn(e):_r(e)}function ju(e){return La(e)?Fn(e,!0):Sr(e)}var xu=jo((function(e,t,n){Ar(e,t,n)})),ku=jo((function(e,t,n,r){Ar(e,t,n,r)})),_u=Go((function(e,t){var n={};if(null==e)return n;var r=!1;t=pt(t,(function(t){return t=co(t,e),r||(r=t.length>1),t})),Oo(e,Yo(e),n),r&&(n=Qn(n,7,$o));for(var o=t.length;o--;)eo(n,t[o]);return n}));var Su=Go((function(e,t){return null==e?{}:function(e,t){return Nr(e,t,(function(t,n){return gu(e,n)}))}(e,t)}));function Eu(e,t){if(null==e)return{};var n=pt(Yo(e),(function(e){return[e]}));return t=Jo(t),Nr(e,n,(function(e,n){return t(e,n[0])}))}var Cu=zo(wu),Pu=zo(ju);function Tu(e){return null==e?[]:Rt(e,wu(e))}var Au=So((function(e,t,n){return t=t.toLowerCase(),e+(n?Ru(t):t)}));function Ru(e){return zu(cu(e).toLowerCase())}function Iu(e){return(e=cu(e))&&e.replace(le,Dt).replace(Ie,"")}var Nu=So((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Mu=So((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Lu=_o("toLowerCase");var Du=So((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Bu=So((function(e,t,n){return e+(n?" ":"")+zu(t)}));var Fu=So((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),zu=_o("toUpperCase");function Uu(e,t,n){return e=cu(e),void 0===(t=n?void 0:t)?function(e){return De.test(e)}(e)?function(e){return e.match(Me)||[]}(e):function(e){return e.match(Z)||[]}(e):e.match(t)||[]}var Hu=Fr((function(e,t){try{return it(e,void 0,t)}catch(e){return za(e)?e:new X(e)}})),Wu=Go((function(e,t){return ut(t,(function(t){t=Ei(t),Yn(e,t,ya(e[t],e))})),e}));function $u(e){return function(){return e}}var Vu=Po(),Gu=Po(!0);function qu(e){return e}function Yu(e){return kr("function"==typeof e?e:Qn(e,1))}var Xu=Fr((function(e,t){return function(n){return yr(n,e,t)}})),Ku=Fr((function(e,t){return function(n){return yr(e,n,t)}}));function Qu(e,t,n){var r=wu(t),o=fr(t,r);null!=n||$a(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=fr(t,wu(t)));var i=!($a(n)&&"chain"in n&&!n.chain),a=Ua(e);return ut(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=yo(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,ht([this.value()],arguments))})})),e}function Ju(){}var Zu=Io(pt),ec=Io(lt),tc=Io(gt);function nc(e){return si(e)?_t(Ei(e)):function(e){return function(t){return dr(t,e)}}(e)}var rc=Mo(),oc=Mo(!0);function ic(){return[]}function ac(){return!1}var uc=Ro((function(e,t){return e+t}),0),cc=Bo("ceil"),lc=Ro((function(e,t){return e/t}),1),sc=Bo("floor");var fc,dc=Ro((function(e,t){return e*t}),1),pc=Bo("round"),hc=Ro((function(e,t){return e-t}),0);return Pn.after=function(e,t){if("function"!=typeof t)throw new ge(i);return e=ou(e),function(){if(--e<1)return t.apply(this,arguments)}},Pn.ary=ga,Pn.assign=lu,Pn.assignIn=su,Pn.assignInWith=fu,Pn.assignWith=du,Pn.at=pu,Pn.before=ma,Pn.bind=ya,Pn.bindAll=Wu,Pn.bindKey=Oa,Pn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Na(e)?e:[e]},Pn.chain=na,Pn.chunk=function(e,t,n){t=(n?li(e,t,n):void 0===t)?1:un(ou(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var i=0,a=0,u=r(Zt(o/t));i<o;)u[a++]=Gr(e,i,i+=t);return u},Pn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},Pn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],o=e;o--;)t[o-1]=arguments[o];return ht(Na(n)?yo(n):[n],ar(t,1))},Pn.cond=function(e){var t=null==e?0:e.length,n=Jo();return e=t?pt(e,(function(e){if("function"!=typeof e[1])throw new ge(i);return[n(e[0]),e[1]]})):[],Fr((function(n){for(var r=-1;++r<t;){var o=e[r];if(it(o[0],this,n))return it(o[1],this,n)}}))},Pn.conforms=function(e){return function(e){var t=wu(e);return function(n){return Jn(n,e,t)}}(Qn(e,1))},Pn.constant=$u,Pn.countBy=ia,Pn.create=function(e,t){var n=Tn(e);return null==t?n:qn(n,t)},Pn.curry=function e(t,n,r){var o=Uo(t,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return o.placeholder=e.placeholder,o},Pn.curryRight=function e(t,n,r){var o=Uo(t,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return o.placeholder=e.placeholder,o},Pn.debounce=wa,Pn.defaults=hu,Pn.defaultsDeep=bu,Pn.defer=ja,Pn.delay=xa,Pn.difference=Ti,Pn.differenceBy=Ai,Pn.differenceWith=Ri,Pn.drop=function(e,t,n){var r=null==e?0:e.length;return r?Gr(e,(t=n||void 0===t?1:ou(t))<0?0:t,r):[]},Pn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?Gr(e,0,(t=r-(t=n||void 0===t?1:ou(t)))<0?0:t):[]},Pn.dropRightWhile=function(e,t){return e&&e.length?no(e,Jo(t,3),!0,!0):[]},Pn.dropWhile=function(e,t){return e&&e.length?no(e,Jo(t,3),!0):[]},Pn.fill=function(e,t,n,r){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&li(e,t,n)&&(n=0,r=o),function(e,t,n,r){var o=e.length;for((n=ou(n))<0&&(n=-n>o?0:o+n),(r=void 0===r||r>o?o:ou(r))<0&&(r+=o),r=n>r?0:iu(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},Pn.filter=function(e,t){return(Na(e)?st:ir)(e,Jo(t,3))},Pn.flatMap=function(e,t){return ar(pa(e,t),1)},Pn.flatMapDeep=function(e,t){return ar(pa(e,t),1/0)},Pn.flatMapDepth=function(e,t,n){return n=void 0===n?1:ou(n),ar(pa(e,t),n)},Pn.flatten=Mi,Pn.flattenDeep=function(e){return(null==e?0:e.length)?ar(e,1/0):[]},Pn.flattenDepth=function(e,t){return(null==e?0:e.length)?ar(e,t=void 0===t?1:ou(t)):[]},Pn.flip=function(e){return Uo(e,512)},Pn.flow=Vu,Pn.flowRight=Gu,Pn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},Pn.functions=function(e){return null==e?[]:fr(e,wu(e))},Pn.functionsIn=function(e){return null==e?[]:fr(e,ju(e))},Pn.groupBy=sa,Pn.initial=function(e){return(null==e?0:e.length)?Gr(e,0,-1):[]},Pn.intersection=Di,Pn.intersectionBy=Bi,Pn.intersectionWith=Fi,Pn.invert=mu,Pn.invertBy=yu,Pn.invokeMap=fa,Pn.iteratee=Yu,Pn.keyBy=da,Pn.keys=wu,Pn.keysIn=ju,Pn.map=pa,Pn.mapKeys=function(e,t){var n={};return t=Jo(t,3),lr(e,(function(e,r,o){Yn(n,t(e,r,o),e)})),n},Pn.mapValues=function(e,t){var n={};return t=Jo(t,3),lr(e,(function(e,r,o){Yn(n,r,t(e,r,o))})),n},Pn.matches=function(e){return Pr(Qn(e,1))},Pn.matchesProperty=function(e,t){return Tr(e,Qn(t,1))},Pn.memoize=ka,Pn.merge=xu,Pn.mergeWith=ku,Pn.method=Xu,Pn.methodOf=Ku,Pn.mixin=Qu,Pn.negate=_a,Pn.nthArg=function(e){return e=ou(e),Fr((function(t){return Rr(t,e)}))},Pn.omit=_u,Pn.omitBy=function(e,t){return Eu(e,_a(Jo(t)))},Pn.once=function(e){return ma(2,e)},Pn.orderBy=function(e,t,n,r){return null==e?[]:(Na(t)||(t=null==t?[]:[t]),Na(n=r?void 0:n)||(n=null==n?[]:[n]),Ir(e,t,n))},Pn.over=Zu,Pn.overArgs=Sa,Pn.overEvery=ec,Pn.overSome=tc,Pn.partial=Ea,Pn.partialRight=Ca,Pn.partition=ha,Pn.pick=Su,Pn.pickBy=Eu,Pn.property=nc,Pn.propertyOf=function(e){return function(t){return null==e?void 0:dr(e,t)}},Pn.pull=Ui,Pn.pullAll=Hi,Pn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Mr(e,t,Jo(n,2)):e},Pn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Mr(e,t,void 0,n):e},Pn.pullAt=Wi,Pn.range=rc,Pn.rangeRight=oc,Pn.rearg=Pa,Pn.reject=function(e,t){return(Na(e)?st:ir)(e,_a(Jo(t,3)))},Pn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=Jo(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return Lr(e,o),n},Pn.rest=function(e,t){if("function"!=typeof e)throw new ge(i);return Fr(e,t=void 0===t?t:ou(t))},Pn.reverse=$i,Pn.sampleSize=function(e,t,n){return t=(n?li(e,t,n):void 0===t)?1:ou(t),(Na(e)?Un:Ur)(e,t)},Pn.set=function(e,t,n){return null==e?e:Hr(e,t,n)},Pn.setWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:Hr(e,t,n,r)},Pn.shuffle=function(e){return(Na(e)?Hn:Vr)(e)},Pn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&li(e,t,n)?(t=0,n=r):(t=null==t?0:ou(t),n=void 0===n?r:ou(n)),Gr(e,t,n)):[]},Pn.sortBy=ba,Pn.sortedUniq=function(e){return e&&e.length?Kr(e):[]},Pn.sortedUniqBy=function(e,t){return e&&e.length?Kr(e,Jo(t,2)):[]},Pn.split=function(e,t,n){return n&&"number"!=typeof n&&li(e,t,n)&&(t=n=void 0),(n=void 0===n?4294967295:n>>>0)?(e=cu(e))&&("string"==typeof t||null!=t&&!Xa(t))&&!(t=Jr(t))&&zt(e)?so(qt(e),0,n):e.split(t,n):[]},Pn.spread=function(e,t){if("function"!=typeof e)throw new ge(i);return t=null==t?0:un(ou(t),0),Fr((function(n){var r=n[t],o=so(n,0,t);return r&&ht(o,r),it(e,this,o)}))},Pn.tail=function(e){var t=null==e?0:e.length;return t?Gr(e,1,t):[]},Pn.take=function(e,t,n){return e&&e.length?Gr(e,0,(t=n||void 0===t?1:ou(t))<0?0:t):[]},Pn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Gr(e,(t=r-(t=n||void 0===t?1:ou(t)))<0?0:t,r):[]},Pn.takeRightWhile=function(e,t){return e&&e.length?no(e,Jo(t,3),!1,!0):[]},Pn.takeWhile=function(e,t){return e&&e.length?no(e,Jo(t,3)):[]},Pn.tap=function(e,t){return t(e),e},Pn.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new ge(i);return $a(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),wa(e,t,{leading:r,maxWait:t,trailing:o})},Pn.thru=ra,Pn.toArray=nu,Pn.toPairs=Cu,Pn.toPairsIn=Pu,Pn.toPath=function(e){return Na(e)?pt(e,Ei):Ja(e)?[e]:yo(Si(cu(e)))},Pn.toPlainObject=uu,Pn.transform=function(e,t,n){var r=Na(e),o=r||Ba(e)||Za(e);if(t=Jo(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:$a(e)&&Ua(i)?Tn(He(e)):{}}return(o?ut:lr)(e,(function(e,r,o){return t(n,e,r,o)})),n},Pn.unary=function(e){return ga(e,1)},Pn.union=Vi,Pn.unionBy=Gi,Pn.unionWith=qi,Pn.uniq=function(e){return e&&e.length?Zr(e):[]},Pn.uniqBy=function(e,t){return e&&e.length?Zr(e,Jo(t,2)):[]},Pn.uniqWith=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?Zr(e,void 0,t):[]},Pn.unset=function(e,t){return null==e||eo(e,t)},Pn.unzip=Yi,Pn.unzipWith=Xi,Pn.update=function(e,t,n){return null==e?e:to(e,t,uo(n))},Pn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:to(e,t,uo(n),r)},Pn.values=Tu,Pn.valuesIn=function(e){return null==e?[]:Rt(e,ju(e))},Pn.without=Ki,Pn.words=Uu,Pn.wrap=function(e,t){return Ea(uo(t),e)},Pn.xor=Qi,Pn.xorBy=Ji,Pn.xorWith=Zi,Pn.zip=ea,Pn.zipObject=function(e,t){return io(e||[],t||[],$n)},Pn.zipObjectDeep=function(e,t){return io(e||[],t||[],Hr)},Pn.zipWith=ta,Pn.entries=Cu,Pn.entriesIn=Pu,Pn.extend=su,Pn.extendWith=fu,Qu(Pn,Pn),Pn.add=uc,Pn.attempt=Hu,Pn.camelCase=Au,Pn.capitalize=Ru,Pn.ceil=cc,Pn.clamp=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=au(n))==n?n:0),void 0!==t&&(t=(t=au(t))==t?t:0),Kn(au(e),t,n)},Pn.clone=function(e){return Qn(e,4)},Pn.cloneDeep=function(e){return Qn(e,5)},Pn.cloneDeepWith=function(e,t){return Qn(e,5,t="function"==typeof t?t:void 0)},Pn.cloneWith=function(e,t){return Qn(e,4,t="function"==typeof t?t:void 0)},Pn.conformsTo=function(e,t){return null==t||Jn(e,t,wu(t))},Pn.deburr=Iu,Pn.defaultTo=function(e,t){return null==e||e!=e?t:e},Pn.divide=lc,Pn.endsWith=function(e,t,n){e=cu(e),t=Jr(t);var r=e.length,o=n=void 0===n?r:Kn(ou(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},Pn.eq=Ta,Pn.escape=function(e){return(e=cu(e))&&F.test(e)?e.replace(D,Bt):e},Pn.escapeRegExp=function(e){return(e=cu(e))&&q.test(e)?e.replace(G,"\\$&"):e},Pn.every=function(e,t,n){var r=Na(e)?lt:rr;return n&&li(e,t,n)&&(t=void 0),r(e,Jo(t,3))},Pn.find=aa,Pn.findIndex=Ii,Pn.findKey=function(e,t){return yt(e,Jo(t,3),lr)},Pn.findLast=ua,Pn.findLastIndex=Ni,Pn.findLastKey=function(e,t){return yt(e,Jo(t,3),sr)},Pn.floor=sc,Pn.forEach=ca,Pn.forEachRight=la,Pn.forIn=function(e,t){return null==e?e:ur(e,Jo(t,3),ju)},Pn.forInRight=function(e,t){return null==e?e:cr(e,Jo(t,3),ju)},Pn.forOwn=function(e,t){return e&&lr(e,Jo(t,3))},Pn.forOwnRight=function(e,t){return e&&sr(e,Jo(t,3))},Pn.get=vu,Pn.gt=Aa,Pn.gte=Ra,Pn.has=function(e,t){return null!=e&&ii(e,t,vr)},Pn.hasIn=gu,Pn.head=Li,Pn.identity=qu,Pn.includes=function(e,t,n,r){e=La(e)?e:Tu(e),n=n&&!r?ou(n):0;var o=e.length;return n<0&&(n=un(o+n,0)),Qa(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&wt(e,t,n)>-1},Pn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ou(n);return o<0&&(o=un(r+o,0)),wt(e,t,o)},Pn.inRange=function(e,t,n){return t=ru(t),void 0===n?(n=t,t=0):n=ru(n),function(e,t,n){return e>=cn(t,n)&&e<un(t,n)}(e=au(e),t,n)},Pn.invoke=Ou,Pn.isArguments=Ia,Pn.isArray=Na,Pn.isArrayBuffer=Ma,Pn.isArrayLike=La,Pn.isArrayLikeObject=Da,Pn.isBoolean=function(e){return!0===e||!1===e||Va(e)&&hr(e)==s},Pn.isBuffer=Ba,Pn.isDate=Fa,Pn.isElement=function(e){return Va(e)&&1===e.nodeType&&!Ya(e)},Pn.isEmpty=function(e){if(null==e)return!0;if(La(e)&&(Na(e)||"string"==typeof e||"function"==typeof e.splice||Ba(e)||Za(e)||Ia(e)))return!e.length;var t=oi(e);if(t==b||t==y)return!e.size;if(pi(e))return!_r(e).length;for(var n in e)if(xe.call(e,n))return!1;return!0},Pn.isEqual=function(e,t){return wr(e,t)},Pn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:void 0)?n(e,t):void 0;return void 0===r?wr(e,t,void 0,n):!!r},Pn.isError=za,Pn.isFinite=function(e){return"number"==typeof e&&rn(e)},Pn.isFunction=Ua,Pn.isInteger=Ha,Pn.isLength=Wa,Pn.isMap=Ga,Pn.isMatch=function(e,t){return e===t||jr(e,t,ei(t))},Pn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:void 0,jr(e,t,ei(t),n)},Pn.isNaN=function(e){return qa(e)&&e!=+e},Pn.isNative=function(e){if(di(e))throw new X("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return xr(e)},Pn.isNil=function(e){return null==e},Pn.isNull=function(e){return null===e},Pn.isNumber=qa,Pn.isObject=$a,Pn.isObjectLike=Va,Pn.isPlainObject=Ya,Pn.isRegExp=Xa,Pn.isSafeInteger=function(e){return Ha(e)&&e>=-9007199254740991&&e<=9007199254740991},Pn.isSet=Ka,Pn.isString=Qa,Pn.isSymbol=Ja,Pn.isTypedArray=Za,Pn.isUndefined=function(e){return void 0===e},Pn.isWeakMap=function(e){return Va(e)&&oi(e)==j},Pn.isWeakSet=function(e){return Va(e)&&"[object WeakSet]"==hr(e)},Pn.join=function(e,t){return null==e?"":on.call(e,t)},Pn.kebabCase=Nu,Pn.last=zi,Pn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return void 0!==n&&(o=(o=ou(n))<0?un(r+o,0):cn(o,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):Ot(e,xt,o,!0)},Pn.lowerCase=Mu,Pn.lowerFirst=Lu,Pn.lt=eu,Pn.lte=tu,Pn.max=function(e){return e&&e.length?or(e,qu,br):void 0},Pn.maxBy=function(e,t){return e&&e.length?or(e,Jo(t,2),br):void 0},Pn.mean=function(e){return kt(e,qu)},Pn.meanBy=function(e,t){return kt(e,Jo(t,2))},Pn.min=function(e){return e&&e.length?or(e,qu,Er):void 0},Pn.minBy=function(e,t){return e&&e.length?or(e,Jo(t,2),Er):void 0},Pn.stubArray=ic,Pn.stubFalse=ac,Pn.stubObject=function(){return{}},Pn.stubString=function(){return""},Pn.stubTrue=function(){return!0},Pn.multiply=dc,Pn.nth=function(e,t){return e&&e.length?Rr(e,ou(t)):void 0},Pn.noConflict=function(){return qe._===this&&(qe._=Ce),this},Pn.noop=Ju,Pn.now=va,Pn.pad=function(e,t,n){e=cu(e);var r=(t=ou(t))?Gt(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return No(en(o),n)+e+No(Zt(o),n)},Pn.padEnd=function(e,t,n){e=cu(e);var r=(t=ou(t))?Gt(e):0;return t&&r<t?e+No(t-r,n):e},Pn.padStart=function(e,t,n){e=cu(e);var r=(t=ou(t))?Gt(e):0;return t&&r<t?No(t-r,n)+e:e},Pn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),sn(cu(e).replace(Y,""),t||0)},Pn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&li(e,t,n)&&(t=n=void 0),void 0===n&&("boolean"==typeof t?(n=t,t=void 0):"boolean"==typeof e&&(n=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=ru(e),void 0===t?(t=e,e=0):t=ru(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=fn();return cn(e+o*(t-e+We("1e-"+((o+"").length-1))),t)}return Dr(e,t)},Pn.reduce=function(e,t,n){var r=Na(e)?bt:Et,o=arguments.length<3;return r(e,Jo(t,4),n,o,tr)},Pn.reduceRight=function(e,t,n){var r=Na(e)?vt:Et,o=arguments.length<3;return r(e,Jo(t,4),n,o,nr)},Pn.repeat=function(e,t,n){return t=(n?li(e,t,n):void 0===t)?1:ou(t),Br(cu(e),t)},Pn.replace=function(){var e=arguments,t=cu(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Pn.result=function(e,t,n){var r=-1,o=(t=co(t,e)).length;for(o||(o=1,e=void 0);++r<o;){var i=null==e?void 0:e[Ei(t[r])];void 0===i&&(r=o,i=n),e=Ua(i)?i.call(e):i}return e},Pn.round=pc,Pn.runInContext=e,Pn.sample=function(e){return(Na(e)?zn:zr)(e)},Pn.size=function(e){if(null==e)return 0;if(La(e))return Qa(e)?Gt(e):e.length;var t=oi(e);return t==b||t==y?e.size:_r(e).length},Pn.snakeCase=Du,Pn.some=function(e,t,n){var r=Na(e)?gt:qr;return n&&li(e,t,n)&&(t=void 0),r(e,Jo(t,3))},Pn.sortedIndex=function(e,t){return Yr(e,t)},Pn.sortedIndexBy=function(e,t,n){return Xr(e,t,Jo(n,2))},Pn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=Yr(e,t);if(r<n&&Ta(e[r],t))return r}return-1},Pn.sortedLastIndex=function(e,t){return Yr(e,t,!0)},Pn.sortedLastIndexBy=function(e,t,n){return Xr(e,t,Jo(n,2),!0)},Pn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=Yr(e,t,!0)-1;if(Ta(e[n],t))return n}return-1},Pn.startCase=Bu,Pn.startsWith=function(e,t,n){return e=cu(e),n=null==n?0:Kn(ou(n),0,e.length),t=Jr(t),e.slice(n,n+t.length)==t},Pn.subtract=hc,Pn.sum=function(e){return e&&e.length?Ct(e,qu):0},Pn.sumBy=function(e,t){return e&&e.length?Ct(e,Jo(t,2)):0},Pn.template=function(e,t,n){var r=Pn.templateSettings;n&&li(e,t,n)&&(t=void 0),e=cu(e),t=fu({},t,r,Ho);var o,i,a=fu({},t.imports,r.imports,Ho),u=wu(a),c=Rt(a,u),l=0,s=t.interpolate||se,f="__p += '",d=be((t.escape||se).source+"|"+s.source+"|"+(s===H?ne:se).source+"|"+(t.evaluate||se).source+"|$","g"),p="//# sourceURL="+(xe.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Fe+"]")+"\n";e.replace(d,(function(t,n,r,a,u,c){return r||(r=a),f+=e.slice(l,c).replace(fe,Ft),n&&(o=!0,f+="' +\n__e("+n+") +\n'"),u&&(i=!0,f+="';\n"+u+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=c+t.length,t})),f+="';\n";var h=xe.call(t,"variable")&&t.variable;if(h){if(ee.test(h))throw new X("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(i?f.replace(I,""):f).replace(N,"$1").replace(M,"$1;"),f="function("+(h||"obj")+") {\n"+(h?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var b=Hu((function(){return de(u,p+"return "+f).apply(void 0,c)}));if(b.source=f,za(b))throw b;return b},Pn.times=function(e,t){if((e=ou(e))<1||e>9007199254740991)return[];var n=4294967295,r=cn(e,4294967295);e-=4294967295;for(var o=Pt(r,t=Jo(t));++n<e;)t(n);return o},Pn.toFinite=ru,Pn.toInteger=ou,Pn.toLength=iu,Pn.toLower=function(e){return cu(e).toLowerCase()},Pn.toNumber=au,Pn.toSafeInteger=function(e){return e?Kn(ou(e),-9007199254740991,9007199254740991):0===e?e:0},Pn.toString=cu,Pn.toUpper=function(e){return cu(e).toUpperCase()},Pn.trim=function(e,t,n){if((e=cu(e))&&(n||void 0===t))return Tt(e);if(!e||!(t=Jr(t)))return e;var r=qt(e),o=qt(t);return so(r,Nt(r,o),Mt(r,o)+1).join("")},Pn.trimEnd=function(e,t,n){if((e=cu(e))&&(n||void 0===t))return e.slice(0,Yt(e)+1);if(!e||!(t=Jr(t)))return e;var r=qt(e);return so(r,0,Mt(r,qt(t))+1).join("")},Pn.trimStart=function(e,t,n){if((e=cu(e))&&(n||void 0===t))return e.replace(Y,"");if(!e||!(t=Jr(t)))return e;var r=qt(e);return so(r,Nt(r,qt(t))).join("")},Pn.truncate=function(e,t){var n=30,r="...";if($a(t)){var o="separator"in t?t.separator:o;n="length"in t?ou(t.length):n,r="omission"in t?Jr(t.omission):r}var i=(e=cu(e)).length;if(zt(e)){var a=qt(e);i=a.length}if(n>=i)return e;var u=n-Gt(r);if(u<1)return r;var c=a?so(a,0,u).join(""):e.slice(0,u);if(void 0===o)return c+r;if(a&&(u+=c.length-u),Xa(o)){if(e.slice(u).search(o)){var l,s=c;for(o.global||(o=be(o.source,cu(re.exec(o))+"g")),o.lastIndex=0;l=o.exec(s);)var f=l.index;c=c.slice(0,void 0===f?u:f)}}else if(e.indexOf(Jr(o),u)!=u){var d=c.lastIndexOf(o);d>-1&&(c=c.slice(0,d))}return c+r},Pn.unescape=function(e){return(e=cu(e))&&B.test(e)?e.replace(L,Xt):e},Pn.uniqueId=function(e){var t=++ke;return cu(e)+t},Pn.upperCase=Fu,Pn.upperFirst=zu,Pn.each=ca,Pn.eachRight=la,Pn.first=Li,Qu(Pn,(fc={},lr(Pn,(function(e,t){xe.call(Pn.prototype,t)||(fc[t]=e)})),fc),{chain:!1}),Pn.VERSION="4.17.21",ut(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Pn[e].placeholder=Pn})),ut(["drop","take"],(function(e,t){In.prototype[e]=function(n){n=void 0===n?1:un(ou(n),0);var r=this.__filtered__&&!t?new In(this):this.clone();return r.__filtered__?r.__takeCount__=cn(n,r.__takeCount__):r.__views__.push({size:cn(n,4294967295),type:e+(r.__dir__<0?"Right":"")}),r},In.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),ut(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;In.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Jo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),ut(["head","last"],(function(e,t){var n="take"+(t?"Right":"");In.prototype[e]=function(){return this[n](1).value()[0]}})),ut(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");In.prototype[e]=function(){return this.__filtered__?new In(this):this[n](1)}})),In.prototype.compact=function(){return this.filter(qu)},In.prototype.find=function(e){return this.filter(e).head()},In.prototype.findLast=function(e){return this.reverse().find(e)},In.prototype.invokeMap=Fr((function(e,t){return"function"==typeof e?new In(this):this.map((function(n){return yr(n,e,t)}))})),In.prototype.reject=function(e){return this.filter(_a(Jo(e)))},In.prototype.slice=function(e,t){e=ou(e);var n=this;return n.__filtered__&&(e>0||t<0)?new In(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(n=(t=ou(t))<0?n.dropRight(-t):n.take(t-e)),n)},In.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},In.prototype.toArray=function(){return this.take(4294967295)},lr(In.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=Pn[r?"take"+("last"==t?"Right":""):t],i=r||/^find/.test(t);o&&(Pn.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,u=t instanceof In,c=a[0],l=u||Na(t),s=function(e){var t=o.apply(Pn,ht([e],a));return r&&f?t[0]:t};l&&n&&"function"==typeof c&&1!=c.length&&(u=l=!1);var f=this.__chain__,d=!!this.__actions__.length,p=i&&!f,h=u&&!d;if(!i&&l){t=h?t:new In(this);var b=e.apply(t,a);return b.__actions__.push({func:ra,args:[s],thisArg:void 0}),new Rn(b,f)}return p&&h?e.apply(this,a):(b=this.thru(s),p?r?b.value()[0]:b.value():b)})})),ut(["pop","push","shift","sort","splice","unshift"],(function(e){var t=me[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Pn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Na(o)?o:[],e)}return this[n]((function(n){return t.apply(Na(n)?n:[],e)}))}})),lr(In.prototype,(function(e,t){var n=Pn[t];if(n){var r=n.name+"";xe.call(On,r)||(On[r]=[]),On[r].push({name:t,func:n})}})),On[To(void 0,2).name]=[{name:"wrapper",func:void 0}],In.prototype.clone=function(){var e=new In(this.__wrapped__);return e.__actions__=yo(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=yo(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=yo(this.__views__),e},In.prototype.reverse=function(){if(this.__filtered__){var e=new In(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},In.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Na(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=cn(t,e+a);break;case"takeRight":e=un(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,u=i.end,c=u-a,l=r?u:a-1,s=this.__iteratees__,f=s.length,d=0,p=cn(c,this.__takeCount__);if(!n||!r&&o==c&&p==c)return ro(e,this.__actions__);var h=[];e:for(;c--&&d<p;){for(var b=-1,v=e[l+=t];++b<f;){var g=s[b],m=g.iteratee,y=g.type,O=m(v);if(2==y)v=O;else if(!O){if(1==y)continue e;break e}}h[d++]=v}return h},Pn.prototype.at=oa,Pn.prototype.chain=function(){return na(this)},Pn.prototype.commit=function(){return new Rn(this.value(),this.__chain__)},Pn.prototype.next=function(){void 0===this.__values__&&(this.__values__=nu(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}},Pn.prototype.plant=function(e){for(var t,n=this;n instanceof An;){var r=Pi(n);r.__index__=0,r.__values__=void 0,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t},Pn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof In){var t=e;return this.__actions__.length&&(t=new In(this)),(t=t.reverse()).__actions__.push({func:ra,args:[$i],thisArg:void 0}),new Rn(t,this.__chain__)}return this.thru($i)},Pn.prototype.toJSON=Pn.prototype.valueOf=Pn.prototype.value=function(){return ro(this.__wrapped__,this.__actions__)},Pn.prototype.first=Pn.prototype.head,Qe&&(Pn.prototype[Qe]=function(){return this}),Pn}();qe._=Kt,void 0===(o=function(){return Kt}.call(t,n,t,r))||(r.exports=o)}).call(this)}).call(this,n(69),n(193)(e))},function(e,t,n){"use strict";function r(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,"a",(function(){return r}))},function(e,t,n){e.exports=n(188)()},function(e,t,n){"use strict";var r=["innerHTML","ownerDocument","style","attributes","nodeValue"],o=["Array","ArrayBuffer","AsyncFunction","AsyncGenerator","AsyncGeneratorFunction","Date","Error","Function","Generator","GeneratorFunction","HTMLElement","Map","Object","Promise","RegExp","Set","WeakMap","WeakSet"],i=["bigint","boolean","null","number","string","symbol","undefined"];function a(e){var t,n=Object.prototype.toString.call(e).slice(8,-1);return/HTML\w+Element/.test(n)?"HTMLElement":(t=n,o.includes(t)?n:void 0)}function u(e){return function(t){return a(t)===e}}function c(e){return function(t){return typeof t===e}}function l(e){if(null===e)return"null";switch(typeof e){case"bigint":return"bigint";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";case"undefined":return"undefined"}if(l.array(e))return"Array";if(l.plainFunction(e))return"Function";var t=a(e);return t||"Object"}l.array=Array.isArray,l.arrayOf=function(e,t){return!(!l.array(e)&&!l.function(t))&&e.every((function(e){return t(e)}))},l.asyncGeneratorFunction=function(e){return"AsyncGeneratorFunction"===a(e)},l.asyncFunction=u("AsyncFunction"),l.bigint=c("bigint"),l.boolean=function(e){return!0===e||!1===e},l.date=u("Date"),l.defined=function(e){return!l.undefined(e)},l.domElement=function(e){return l.object(e)&&!l.plainObject(e)&&1===e.nodeType&&l.string(e.nodeName)&&r.every((function(t){return t in e}))},l.empty=function(e){return l.string(e)&&0===e.length||l.array(e)&&0===e.length||l.object(e)&&!l.map(e)&&!l.set(e)&&0===Object.keys(e).length||l.set(e)&&0===e.size||l.map(e)&&0===e.size},l.error=u("Error"),l.function=c("function"),l.generator=function(e){return l.iterable(e)&&l.function(e.next)&&l.function(e.throw)},l.generatorFunction=u("GeneratorFunction"),l.instanceOf=function(e,t){return!(!e||!t)&&Object.getPrototypeOf(e)===t.prototype},l.iterable=function(e){return!l.nullOrUndefined(e)&&l.function(e[Symbol.iterator])},l.map=u("Map"),l.nan=function(e){return Number.isNaN(e)},l.null=function(e){return null===e},l.nullOrUndefined=function(e){return l.null(e)||l.undefined(e)},l.number=function(e){return c("number")(e)&&!l.nan(e)},l.numericString=function(e){return l.string(e)&&e.length>0&&!Number.isNaN(Number(e))},l.object=function(e){return!l.nullOrUndefined(e)&&(l.function(e)||"object"==typeof e)},l.oneOf=function(e,t){return!!l.array(e)&&e.indexOf(t)>-1},l.plainFunction=u("Function"),l.plainObject=function(e){if("Object"!==a(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.getPrototypeOf({})},l.primitive=function(e){return l.null(e)||(t=typeof e,i.includes(t));var t},l.promise=u("Promise"),l.propertyOf=function(e,t,n){if(!l.object(e)||!t)return!1;var r=e[t];return l.function(n)?n(r):l.defined(r)},l.regexp=u("RegExp"),l.set=u("Set"),l.string=c("string"),l.symbol=c("symbol"),l.undefined=c("undefined"),l.weakMap=u("WeakMap"),l.weakSet=u("WeakSet"),t.a=l},,function(e,t,n){"use strict";function r(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}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(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?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(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}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return c}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(83);var o=n(54),i=n(84);function a(e,t){return Object(r.a)(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(e,t)||Object(o.a)(e,t)||Object(i.a)()}},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"e",(function(){return u})),n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return l})),n.d(t,"c",(function(){return f})),n.d(t,"d",(function(){return d}));var r=n(10),o=n(1),i=(n(13),n(46)),a=n.n(i);function u(e){return"number"==typeof e?"calc("+Object(o.d)("gridBase")+" * "+e+")":e}function c(e){for(var t={},n=Object.entries(e),o=n[0][1],i=a()(o).lighten(15).toHexString(),u=n[n.length-1][1],c=a()(u).darken(15).toHexString(),l=0,s=n;l<s.length;l++){var f=s[l],d=Object(r.a)(f,2),p=d[0],h=d[1];t[p+"Text"]=a.a.mostReadable(h,[i,o,u,c]).toHexString()}return t}function l(e,t){void 0===t&&(t=!1);var n={},o=Object.entries(e),i=Object(r.a)(o[2],2),u=i[0],c=i[1],l=u.split(/\d+/),s=Object(r.a)(l,1)[0],f=t?"#000":"#fff",d=t?"#fff":"#000",p=t?"darken":"lighten";return[10,20,30,40,50,60,70,80,90].forEach((function(e,t){var r=c;r=a()(r).setAlpha(e/100).toRgbString();var o=a.a.mix(c,f,t).toRgbString();a.a.isReadable(o,d,{})||(r=a()(r)[p](20).toRgbString()),n[s+"Rgba"+e]=r})),n}function s(e,t){var n,r=((n={})[e]=t,n);return[10,20,30,40,50,60,70,80,90].forEach((function(n){r[e+"Rgba"+n]=a()(t).setAlpha(n/100).toRgbString()})),r}function f(e){return s("colorAdmin",e)}function d(e){return s("colorDestructive",e)}},function(e,t,n){"use strict";n.d(t,"j",(function(){return r})),n.d(t,"e",(function(){return o})),n.d(t,"f",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"l",(function(){return u})),n.d(t,"d",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"a",(function(){return s})),n.d(t,"k",(function(){return f})),n.d(t,"c",(function(){return d})),n.d(t,"i",(function(){return p})),n.d(t,"h",(function(){return h}));var r="--wp-g2",o="data-system-ui-mode",i="data-system-ui-contrast-mode",a="data-system-ui-color-blind-mode",u="data-system-ui-reduced-motion-mode",c="["+o+'="dark"]',l="["+i+'="high"]',s="["+a+'="true"]',f="["+u+'="true"]',d=""+c+l,p=3,h="__interpolationClassName__"},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),o=n(27);function i(e){var t=Object(r.useRef)(e);return Object(o.a)((function(){t.current=e})),t}},function(e,t,n){"use strict";n.d(t,"a",(function(){return y})),n.d(t,"b",(function(){return O}));var r=n(148),o=n.n(r);n(109),o()(console.error);var i,a,u,c,l=n(3);i={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},a=["(","?"],u={")":["("],":":["?","?:"]},c=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var s={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}};function f(e){var t=function(e){for(var t,n,r,o,l=[],s=[];t=e.match(c);){for(n=t[0],(r=e.substr(0,t.index).trim())&&l.push(r);o=s.pop();){if(u[n]){if(u[n][0]===o){n=u[n][1]||n;break}}else if(a.indexOf(o)>=0||i[o]<i[n]){s.push(o);break}l.push(o)}u[n]||s.push(n),e=e.substr(t.index+n.length)}return(e=e.trim())&&l.push(e),l.concat(s.reverse())}(e);return function(e){return function(e,t){var n,r,o,i,a,u,c=[];for(n=0;n<e.length;n++){if(a=e[n],i=s[a]){for(r=i.length,o=Array(r);r--;)o[r]=c.pop();try{u=i.apply(null,o)}catch(e){return e}}else u=t.hasOwnProperty(a)?t[a]:+a;c.push(u)}return c[0]}(t,e)}}var d={contextDelimiter:"",onMissingKey:null};function p(e,t){var n;for(n in this.data=e,this.pluralForms={},this.options={},d)this.options[n]=void 0!==t&&n in t?t[n]:d[n]}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 b(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){Object(l.a)(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}p.prototype.getPluralForm=function(e,t){var n,r,o,i,a=this.pluralForms[e];return a||("function"!=typeof(o=(n=this.data[e][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(r=function(e){var t,n,r;for(t=e.split(";"),n=0;n<t.length;n++)if(0===(r=t[n].trim()).indexOf("plural="))return r.substr(7)}(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),i=f(r),o=function(e){return+i({n:e})}),a=this.pluralForms[e]=o),a(t)},p.prototype.dcnpgettext=function(e,t,n,r,o){var i,a,u;return i=void 0===o?0:this.getPluralForm(e,o),a=n,t&&(a=t+this.options.contextDelimiter+n),(u=this.data[e][a])&&u[i]?u[i]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===i?n:r)};var v={"":{plural_forms:function(e){return 1===e?0:1}}},g=/^i18n\.(n?gettext|has_translation)(_|$)/,m=function(e,t,n){var r=new p({}),o=new Set,i=function(){o.forEach((function(e){return e()}))},a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";r.data[t]=b(b(b({},v),r.data[t]),e),r.data[t][""]=b(b({},v[""]),r.data[t][""])},u=function(e,t){a(e,t),i()},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;return r.data[e]||a(void 0,e),r.dcnpgettext(e,t,n,o,i)},l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return e},s=function(e,t,r){var o=c(r,t,e);return n?(o=n.applyFilters("i18n.gettext_with_context",o,e,t,r),n.applyFilters("i18n.gettext_with_context_"+l(r),o,e,t,r)):o};if(e&&u(e,t),n){var f=function(e){g.test(e)&&i()};n.addAction("hookAdded","core/i18n",f),n.addAction("hookRemoved","core/i18n",f)}return{getLocaleData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return r.data[e]},setLocaleData:u,resetLocaleData:function(e,t){r.data={},r.pluralForms={},u(e,t)},subscribe:function(e){return o.add(e),function(){return o.delete(e)}},__:function(e,t){var r=c(t,void 0,e);return n?(r=n.applyFilters("i18n.gettext",r,e,t),n.applyFilters("i18n.gettext_"+l(t),r,e,t)):r},_x:s,_n:function(e,t,r,o){var i=c(o,void 0,e,t,r);return n?(i=n.applyFilters("i18n.ngettext",i,e,t,r,o),n.applyFilters("i18n.ngettext_"+l(o),i,e,t,r,o)):i},_nx:function(e,t,r,o,i){var a=c(i,o,e,t,r);return n?(a=n.applyFilters("i18n.ngettext_with_context",a,e,t,r,o,i),n.applyFilters("i18n.ngettext_with_context_"+l(i),a,e,t,r,o,i)):a},isRTL:function(){return"rtl"===s("ltr","text direction")},hasTranslation:function(e,t,o){var i,a,u=t?t+""+e:e,c=!(null===(i=r.data)||void 0===i||null===(a=i[null!=o?o:"default"])||void 0===a||!a[u]);return n&&(c=n.applyFilters("i18n.has_translation",c,e,t,o),c=n.applyFilters("i18n.has_translation_"+l(o),c,e,t,o)),c}}}(void 0,void 0,n(89).a),y=(m.getLocaleData.bind(m),m.setLocaleData.bind(m),m.resetLocaleData.bind(m),m.subscribe.bind(m),m.__.bind(m)),O=(m._x.bind(m),m._n.bind(m),m._nx.bind(m),m.isRTL.bind(m));m.hasTranslation.bind(m)},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(28);function o(e){return"number"==typeof e?"calc("+Object(r.d)("gridBase")+" * "+e+")":e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i}));var r=n(28),o=r.a.breakpoints,i=(r.a.cache,r.a.cx);r.a.flush,r.a.getRegisteredStyles,r.a.hydrate,r.a.injectGlobal,r.a.keyframes,r.a.merge,r.a.sheet},function(e,t,n){"use strict";function r(e,t){return t||(t=e.slice(0)),e.raw=t,e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e){return e?e.ownerDocument||e:document}n.d(t,"a",(function(){return r}))},function(e,t,n){var r;
|
10 |
+
/*!
|
11 |
+
Copyright (c) 2018 Jed Watson.
|
12 |
+
Licensed under the MIT License (MIT), see
|
13 |
+
http://jedwatson.github.io/classnames
|
14 |
+
*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)){if(r.length){var a=o.apply(null,r);a&&e.push(a)}}else if("object"===i)if(r.toString===Object.prototype.toString)for(var u in r)n.call(r,u)&&r[u]&&e.push(u);else e.push(r.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var r=n(0),o=n(30),i=n(48);var a=function(e,t,n){void 0===n&&(n=t.children);var a=Object(r.useContext)(i.a);if(a.useCreateElement)return a.useCreateElement(e,t,n);if("string"==typeof e&&function(e){return"function"==typeof e}(n)){t.children;return n(Object(o.b)(t,["children"]))}return Object(r.createElement)(e,t,n)};function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(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){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s=n(51);function f(e){var t;if(!Object(s.a)(e))return!1;var n=Object.getPrototypeOf(e);return null==n||(null===(t=n.constructor)||void 0===t?void 0:t.toString())===Object.toString()}function d(e,t){for(var n={},r={},o=0,i=Object.keys(e);o<i.length;o++){var a=i[o];t.indexOf(a)>=0?n[a]=e[a]:r[a]=e[a]}return[n,r]}function p(e,t){if(void 0===t&&(t=[]),!f(e.state))return d(e,t);var n=d(e,[].concat(t,["state"])),r=n[0],o=n[1],i=r.state,a=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}(r,["state"]);return[l(l({},i),a),o]}var h=n(25);function b(e){return"normalizePropsAreEqualInner"===e.name?e:function(t,n){return f(t.state)&&f(n.state)?e(l(l({},t.state),t),l(l({},n.state),n)):e(t,n)}}function v(e){var t,n=e.as,i=e.useHook,u=e.memo,c=e.propsAreEqual,l=void 0===c?null==i?void 0:i.unstable_propsAreEqual:c,s=e.keys,f=void 0===s?(null==i?void 0:i.__keys)||[]:s,d=e.useCreateElement,v=void 0===d?a:d,g=function(e,t){var r=e.as,a=void 0===r?n:r,u=Object(o.b)(e,["as"]);if(i){var c,l=p(u,f),s=l[0],d=l[1],h=i(s,Object(o.a)({ref:t},d)),b=h.wrapElement,g=Object(o.b)(h,["wrapElement"]),m=(null===(c=a.render)||void 0===c?void 0:c.__keys)||a.__keys,y=m&&p(u,m)[0],O=y?Object(o.a)(Object(o.a)({},g),y):g,w=v(a,O);return b?b(w):w}return v(a,Object(o.a)({ref:t},u))};return t=g,g=Object(r.forwardRef)(t),u&&(g=function(e,t){return Object(r.memo)(e,t)}(g,l&&b(l))),g.__keys=f,g.unstable_propsAreEqual=b(l||h.a),g}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(0),o=n(48);function i(e,t){Object(r.useDebugValue)(e);var n=Object(r.useContext)(o.a);return null!=n[e]?n[e]:t}var a=n(30);var u=n(25);function c(e){var t,n,o,c=(o=e.compose,Array.isArray(o)?o:void 0!==o?[o]:[]),l=function(t,n){if(e.useOptions&&(t=e.useOptions(t,n)),e.name&&(t=function(e,t,n){void 0===t&&(t={}),void 0===n&&(n={});var o="use"+e+"Options";Object(r.useDebugValue)(o);var u=i(o);return u?Object(a.a)(Object(a.a)({},t),u(t,n)):t}(e.name,t,n)),e.compose)for(var o,u=Object(a.c)(c);!(o=u()).done;){t=o.value.__useOptions(t,n)}return t},s=function(t,n,o){if(void 0===t&&(t={}),void 0===n&&(n={}),void 0===o&&(o=!1),o||(t=l(t,n)),e.useProps&&(n=e.useProps(t,n)),e.name&&(n=function(e,t,n){void 0===t&&(t={}),void 0===n&&(n={});var o="use"+e+"Props";Object(r.useDebugValue)(o);var a=i(o);return a?a(t,n):n}(e.name,t,n)),e.compose)if(e.useComposeOptions&&(t=e.useComposeOptions(t,n)),e.useComposeProps)n=e.useComposeProps(t,n);else for(var u,s=Object(a.c)(c);!(u=s()).done;){n=(0,u.value)(t,n,!0)}var f={},d=n||{};for(var p in d)void 0!==d[p]&&(f[p]=d[p]);return f};s.__useOptions=l;var f=c.reduce((function(e,t){return e.push.apply(e,t.__keys||[]),e}),[]);return s.__keys=[].concat(f,(null===(t=e.useState)||void 0===t?void 0:t.__keys)||[],e.keys||[]),s.unstable_propsAreEqual=e.propsAreEqual||(null===(n=c[0])||void 0===n?void 0:n.unstable_propsAreEqual)||u.a,s}},function(e,t,n){"use strict";function r(e,t){if(e===t)return!0;if(!e)return!1;if(!t)return!1;if("object"!=typeof e)return!1;if("object"!=typeof t)return!1;var n=Object.keys(e),r=Object.keys(t),o=n.length;if(r.length!==o)return!1;for(var i=0,a=n;i<a.length;i++){var u=a[i];if(e[u]!==t[u])return!1}return!0}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(64);var o=n(82),i=n(54);function a(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||Object(o.a)(e)||Object(i.a)(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(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),o=n(44).a?r.useLayoutEffect:r.useEffect},function(e,t,n){"use strict";n.d(t,"a",(function(){return ut})),n.d(t,"b",(function(){return ct})),n.d(t,"c",(function(){return lt})),n.d(t,"d",(function(){return st})),n.d(t,"e",(function(){return ft}));var r=n(1),o=n(3),i=n(0),a=n.n(i),u=n(18),c=n(7);var l=function(e){return function(t){e.forEach((function(e){"function"==typeof e?e(t):null!=e&&(e.current=t)}))}},s=n(2),f=n(13);function d(){var e=Object(u.a)(["\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t"]);return d=function(){return e},e}var p={didInjectGlobal:!1};function h(e){var t=e.globalStyles,n=e.injectGlobal;if(!p.didInjectGlobal){var r=t.darkHighContrastModeCSSVariables,o=t.darkModeCSSVariables,i=t.globalCSSVariables,a=t.highContrastModeCSSVariables;n&&(n(d(),i,o,a,r),p.didInjectGlobal=!0)}}var b=n(10),v=n(49);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var m=Object(i.createContext)({isDark:null,isColorBlind:null,isReducedMotion:null,isHighContrast:null});function y(e){void 0===e&&(e={});for(var t=Object(i.useContext)(m),n=Object(i.useRef)(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){Object(o.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t)).current,r=0,a=Object.entries(e);r<a.length;r++){var u=a[r],c=Object(b.a)(u,2),l=c[0],s=c[1];v.a.defined(s)&&(n[l]=s)}return n}var O=n(78),w=n(256),j=n(144),x=n(226),k=n(104);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){Object(o.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var E={isReducedMotion:!1};Object(k.a)("g2/is-reduced-motion",{reducer:function(e,t){switch(void 0===e&&(e=E),t.type){case"SET_IS_REDUCED_MOTION":return S(S({},e),{},{isReducedMotion:t.isReducedMotion});default:return e}},actions:{setIsReducedMotion:function(e){return{type:"SET_IS_REDUCED_MOTION",isReducedMotion:e}}},selectors:{getIsReducedMotion:function(e){return e.isReducedMotion}}});var C="g2/is-reduced-motion";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 T(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){Object(o.a)(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}var A=function(e,t){switch(t.type){case"SET_THEME":return T(T({},e),{},{theme:t.theme});default:return e}},R=function(e){return void 0===e&&(e=""),Object(i.useReducer)(A,{theme:e})};function I(){var e=Object(u.a)(["",""]);return I=function(){return e},e}function N(e){var t=e.isGlobal,n=void 0===t||t,r=e.isReducedMotion,o=e.ref,a=[Object(j.a)((function(e){return e(C).getIsReducedMotion()})),Object(x.a)(C).setIsReducedMotion],u=Object(b.a)(a,2)[1];Object(i.useEffect)((function(){n&&u(!!r)}),[n,r,u]),Object(i.useEffect)((function(){if(v.a.defined(r)){var e=document.documentElement;!n&&o.current&&(e=o.current),r?e.setAttribute("data-system-ui-reduced-motion-mode","true"):e.setAttribute("data-system-ui-reduced-motion-mode","false")}}),[n,r,o])}function M(e){var t=e.injectGlobal,n=e.isGlobal,o=void 0===n||n,a=e.theme,u=void 0===a?{}:a,c=e.selector,l=void 0===c?":root":c,s=R(),f=Object(b.a)(s,2),d=f[0].theme,p=f[1],h=Object(i.useRef)(),v=Object(i.useRef)(!1);if(!v.current&&o&&u){if("function"==typeof t)try{var g=Object(r.h)(l,u,o);t(I(),g)}catch(e){}v.current=!0}return Object(w.a)((function(){if(!(h.current&&u&&Object(O.a)(h.current,u))){h.current=u;var e=function(){var e="StyleSystemThemeProviderStyleNode",t=document.getElementById(e);if(t)return t;(t=document.createElement("style")).id=e,t.setAttribute("data-g2-theme-provider","theme");var n=document.querySelector("head");n&&n.appendChild(t);return t}(),t=Object(r.h)(l,u,o);o?e&&(e.innerHTML=t):p(function(e){return{type:"SET_THEME",theme:e}}(t))}}),[t,o,p,u]),d}function L(){var e=Object(u.a)(["\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t"]);return L=function(){return e},e}function D(e,t){var n=e.children,r=e.compiler,o=e.className,u=e.isGlobal,d=void 0!==u&&u,p=e.globalStyles,b=e.isDark,g=void 0!==b&&b,O=e.isColorBlind,w=void 0!==O&&O,j=e.isReducedMotion,x=void 0!==j&&j,k=e.isHighContrast,_=void 0!==k&&k,S=e.theme,E=void 0===S?{}:S,C=e.darkTheme,P=void 0===C?{}:C,T=e.highContrastTheme,A=void 0===T?{}:T,R=e.darkHighContrastTheme,I=void 0===R?{}:R,D=Object(c.a)(e,["children","compiler","className","isGlobal","globalStyles","isDark","isColorBlind","isReducedMotion","isHighContrast","theme","darkTheme","highContrastTheme","darkHighContrastTheme"]),B=r.css,F=r.cx,z=r.injectGlobal;h({injectGlobal:z,globalStyles:p});var U=Object(i.useRef)(),H=M({injectGlobal:z,isGlobal:d,theme:E,selector:":root"}),W=M({injectGlobal:z,isGlobal:d,theme:P,selector:Object(s.repeat)(f.d,f.i)}),$=M({injectGlobal:z,isGlobal:d,theme:A,selector:Object(s.repeat)(f.g,f.i)}),V=M({injectGlobal:z,isGlobal:d,theme:I,selector:Object(s.repeat)(f.c,f.i)});!function(e){var t=e.isColorBlind,n=e.isGlobal,r=void 0===n||n,o=e.ref;Object(i.useEffect)((function(){if(v.a.defined(t)){var e=document.documentElement;!r&&o.current&&(e=o.current),t?e.setAttribute("data-system-ui-color-blind-mode","true"):e.setAttribute("data-system-ui-color-blind-mode","false")}}),[r,t,o])}({isColorBlind:w,isGlobal:d,ref:U}),function(e){var t=e.isDark,n=e.isGlobal,r=void 0===n||n,o=e.ref;Object(i.useEffect)((function(){if(v.a.defined(t)){var e=document.documentElement;!r&&o.current&&(e=o.current),t?e.setAttribute("data-system-ui-mode","dark"):e.setAttribute("data-system-ui-mode","light")}}),[r,t,o])}({isDark:g,isGlobal:d,ref:U}),function(e){var t=e.isGlobal,n=void 0===t||t,r=e.isHighContrast,o=e.ref;Object(i.useEffect)((function(){if(v.a.defined(r)){var e=document.documentElement;!n&&o.current&&(e=o.current),r?e.setAttribute("data-system-ui-contrast-mode","high"):e.setAttribute("data-system-ui-contrast-mode","normal")}}),[n,r,o])}({isGlobal:d,isHighContrast:_,ref:U}),N({isGlobal:d,isReducedMotion:x,ref:U});var G=y({isDark:g,isReducedMotion:x,isColorBlind:w,isHighContrast:_}),q=function(e){void 0===e&&(e={});var t=e,n=t.isColorBlind,r=t.isDark,o=t.isHighContrast,i=t.isReducedMotion,a={};return r&&(a[f.e]="dark"),o&&(a[f.f]=!0),n&&(a[f.b]=!0),i&&(a[f.l]=!0),a}(G),Y=F(o,B(L(),H,W,$,V));return a.a.createElement("div",Object.assign({},D,q,{className:Y,"data-system-theme-provider":!0,ref:l([t,U])}),a.a.createElement(m.Provider,{value:G},n))}var B=a.a.memo(a.a.forwardRef(D)),F=n(161),z=n(92),U=n(90);function H(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function W(e,t,n){var r=[],o=Object(U.a)(e,r,n);return r.length<2?n:o+t(r)}var $=function e(t){for(var n="",r=0;r<t.length;r++){var o=t[r];if(null!=o){var i=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))i=e(o);else for(var a in i="",o)o[a]&&a&&(i&&(i+=" "),i+=a);break;default:i=o}i&&(n&&(n+=" "),n+=i)}}return n},V=function(e){var t=Object(F.a)(e);t.sheet.speedy=function(e){this.isSpeedy=e},t.compat=!0;var n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=Object(z.a)(n,t.registered,void 0);return Object(U.b)(t,o,!1),t.key+"-"+o.name};return{css:n,cx:function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return W(t.registered,n,$(r))},injectGlobal:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=Object(z.a)(n,t.registered);H(t,o)},keyframes:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=Object(z.a)(n,t.registered),i="animation-"+o.name;return H(t,{name:o.name,styles:"@keyframes "+i+"{"+o.styles+"}"}),i},hydrate:function(e){e.forEach((function(e){t.inserted[e]=!0}))},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:U.a.bind(null,t.registered),merge:W.bind(null,t.registered,n)}},G=n(83),q=n(82),Y=n(54),X=n(84);var K=new RegExp(/var\(.*?\)[ ) ]*/,"g");function Q(e){return null==e||null==e.includes?void 0:e.includes("var(")}function J(e){var t,n,r,o,i=(null==(t=e.match(/\(/g))?void 0:t.length)||0,a=(null==(n=e.match(/\)/g))?void 0:n.length)||0;if(i>a){o=""+e+Object(s.repeat)(")",i-a)}else{var u=new RegExp("((\\)){"+(a-i)+"})$","gi");o=e.replace(u,"")}return null==(r=o)?void 0:r.trim()}function Z(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return ee(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 ee(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function ee(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function te(e,t){var n,r,o=!1,i=e.split(/:/),a=Object(b.a)(i,2);n=a[0],r=a[1],n=n.trim();for(var u,c,l=Z(r.match(K)||[]);!(u=l()).done;)for(var s,f=u.value,d=Z((f=f.trim()).replace(/ /g,"").split("var(").filter(Boolean));!(s=d()).done;){var p=J(s.value).split(","),h=(c=p,Object(G.a)(c)||Object(q.a)(c)||Object(Y.a)(c)||Object(X.a)()),v=h[0],g=h.slice(1).join(","),m=t&&t.get(v)||g;m&&(o=!0,r=r.replace(f,m))}return[n,r=o?J(r):void 0]}function ne(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return re(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 re(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function re(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function oe(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 ie(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(n),!0).forEach((function(t){Object(o.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ae=function(e){var t=this;void 0===e&&(e={}),this.state={},this.get=function(e){return t.state[e]},this.getState=function(){return t.state},this.setState=function(e){return void 0===e&&(e={}),t._updateState(e),t._resolveVariablesInStateValue(),t.state},this._updateState=function(e){void 0===e&&(e={}),t.state=Object.freeze(ie(ie({},t.state),e))},this._resolveVariablesInStateValue=function(){for(var e,n={},r=Object.entries(t.state).filter((function(e){var t=Object(b.a)(e,2);t[0];return Q(t[1])})),o=ne(r);!(e=o()).done;){var i=e.value,a=Object(b.a)(i,2),u=a[0],c=te("resolve: "+a[1],t),l=Object(b.a)(c,2)[1];l&&(n[u]=l)}t._updateState(n),r.length&&t._resolveVariablesInStateValue()},this.setState(e)};function ue(e){return void 0===e&&(e={}),new ae(e)}var ce=n(66);var le=n(153),se=n.n(le),fe=n(148);var de,pe,he=n.n(fe)()((function(e,t){var n=e.split(";").filter(Boolean),r=!1,o=n.reduce((function(e,n){if(!Q(n))return[].concat(e,[n]);var o=function(e,t){if(Q(e)||function(e){return 0===e.indexOf("--")}(e)){var n=te(e,t),r=Object(b.a)(n,2),o=r[0],i=r[1];return i?[o,i].join(":"):void 0}}(n,t);return o?(r=!0,[].concat(e,[o,n])):[].concat(e,[n])}),[]).join(";").concat(";");return r?o:void 0})),be=-1,ve=2,ge=107;function me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ye(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?me(Object(n),!0).forEach((function(t){Object(o.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Oe="undefined"!=typeof window&&(null==(de=window)||null==(pe=de.CSS)||null==pe.supports?void 0:pe.supports("(--a: 0)")),we={rootStore:ue(),skipSupportedBrowsers:!0};var je=function(e){void 0===e&&(e={});var t=ye(ye({},we),e),n=t.rootStore,r=t.skipSupportedBrowsers;return function(e,t,o,i,a,u,c,l){if((!r||!Oe)&&(e===ve&&l!==ge&&Q(t)))return he(t,n)}};function xe(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 ke(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xe(Object(n),!0).forEach((function(t){Object(o.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _e=new WeakSet,Se=new Set,Ee={key:"wp-css",level:7};var Ce=function(e){void 0===e&&(e=Ee);var t=ke(ke({},Ee),e),n=t.key,r=t.level,o=Object(s.clamp)(r,0,20);return function(e,t,r){if(!_e.has(r)){_e.add(r);for(var i=new RegExp("."+n+"-[\\w|\\d]*","g"),a=0;a<r.length;a++){var u=r[a],c=u.match(i)||[],l=Object(b.a)(c,1)[0];if(l){if(Se.has(l))return;Se.add(l),u=u.replace(new RegExp(l,"g"),l).replace(l,Object(s.repeat)(l,o)),r[a]=u}}}}},Pe=n(154),Te=n.n(Pe);var Ae=be;var Re=function(e,t){if(e===Ae)return function(){var e,t;return"undefined"!=typeof window&&"rtl"===(null==(e=window)||null==(t=e.document)?void 0:t.dir)}()?Te.a.process(t,void 0,void 0,void 0):void 0};var Ie=n(65);function Ne(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 Me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ne(Object(n),!0).forEach((function(t){Object(o.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ne(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Le={key:"css",specificityLevel:7,rootStore:new ae};function De(e){var t=Me(Me({},Le),e),n=t.key,r=t.rootStore,o=function(e){var t=e.specificityLevel,n=void 0===t?7:t,r=e.key,o=void 0===r?"css":r,i=e.rootStore,a=e.skipSupportedBrowsers;return[Re,je({skipSupportedBrowsers:void 0===a||a,rootStore:i}),Ce({level:n,key:o}),se.a]}({key:n,specificityLevel:t.specificityLevel,rootStore:r});e.stylisPlugins?Array.isArray(e.stylisPlugins)?t.stylisPlugins=[].concat(o,e.stylisPlugins):v.a.defined(e.stylisPlugins)?t.stylisPlugins=[].concat(o,[e.stylisPlugins]):t.stylisPlugins=o:t.stylisPlugins=o;var i,a,u=Me(Me({},V(t)),{},{breakpoints:Ie.a,__events:{all:i=i||new Map,on:function(e,t){var n=i.get(e);n&&n.push(t)||i.set(e,[t])},off:function(e,t){var n=i.get(e);n&&n.splice(n.indexOf(t)>>>0,1)},emit:function(e,t){(i.get(e)||[]).slice().map((function(e){e(t)})),(i.get("*")||[]).slice().map((function(n){n(e,t)}))}},generateInterpolationName:Ie.b}),c=u.css;u.css=(a=c,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],o=t.slice(1);if(v.a.objectInterpolation(r))return a(Object(ce.a)(r));if(Array.isArray(r)){for(var i=0,u=r.length;i<u;i++){var c=r[i];v.a.objectInterpolation(c)&&(r[i]=Object(ce.a)(c))}return a.apply(void 0,[r].concat(o))}return a.apply(void 0,t)});var l=u.sheet.insert;return u.sheet.insert=function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];l.apply(u.sheet,[].concat(n)),(e=u.__events).emit.apply(e,["sheet.insert"].concat(n))},u}function Be(){var e=Object(u.a)(["\n\t\t\t@media (prefers-reduced-motion) {\n\t\t\t\ttransition: none !important;\n\t\t\t}\n\t\t\t"," & {\n\t\t\t\ttransition: none !important;\n\t\t\t}\n\t\t"]);return Be=function(){return e},e}function Fe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fe(Object(n),!0).forEach((function(t){Object(o.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ue=n(155).a,He=r.a,We=function(e,t){var n=ze(ze({},He),t),o=n.baseStyles,u=n.compiler,s=n.globalStyles,d=u.css,p=u.cx,b=u.injectGlobal,v={Base:d({boxSizing:"border-box"}),reduceMotion:d(Be(),f.k)},g=d(o),m=Object(r.e)(e),y=Object(i.forwardRef)((function(t,n){var r=t.css,o=t.as,i=t.children,u=t.className,f=t.forwardedRef,y=Object(c.a)(t,["css","as","children","className","forwardedRef"]);h({globalStyles:s,injectGlobal:b});var O=o||e,w="string"!=typeof u?p(u):u,j=p(v.Base,v.reduceMotion,g,w,r&&d(r),m),x={};for(var k in y)"string"==typeof O?Ue(k)&&(x[k]=y[k]):x[k]=y[k];var _=a.a.useMemo((function(){return f?l([f,n]):n}),[f,n]);return a.a.createElement(O,ze({className:j,ref:_},x),i)}));return y[f.h]=m,y},$e=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"];function Ve(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Ge(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 Ge(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function Ge(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 qe=n(141),Ye=n.n(qe);function Xe(e){return"string"==typeof e?e:e.displayName||e.name||"Component"}function Ke(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 Qe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ke(Object(n),!0).forEach((function(t){Object(o.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ke(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Je(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 Ze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Je(Object(n),!0).forEach((function(t){Object(o.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Je(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var et=r.a;function tt(e){void 0===e&&(e=et);var t=Ze(Ze({},et),e),n=t.baseStyles,o=t.compilerOptions,i=function(e){var t=e.config,n=void 0===t?{}:t,o=e.darkModeConfig,i=void 0===o?{}:o,a=e.highContrastModeConfig,u=void 0===a?{}:a,c=e.darkHighContrastModeConfig,l=void 0===c?{}:c;return{theme:Object(r.f)(n),globalVariables:Object(r.g)(n),globalCSSVariables:Object(r.h)(":root",n),darkModeCSSVariables:Object(r.h)(Object(s.repeat)(f.d,f.i),i),highContrastModeCSSVariables:Object(r.h)(Object(s.repeat)(f.g,f.i),u),darkHighContrastModeCSSVariables:Object(r.h)(Object(s.repeat)(f.c,f.i),l)}}({config:t.config,darkHighContrastModeConfig:t.darkHighContrastModeConfig,darkModeConfig:t.darkModeConfig,highContrastModeConfig:t.highContrastModeConfig}),u=ue(i.globalVariables);u.setState(i.globalVariables);var l=De(Ze(Ze({},o),{},{rootStore:u})),d=l.css,p=l.cx,h=function(e){for(var t,n=e.baseStyles,r=e.compiler,o=e.globalStyles,i={},a=function(e){return We(e,{baseStyles:n,compiler:r,globalStyles:o})},u=Ve($e);!(t=u()).done;){var c=t.value;i[c]=a(c)}return i}({baseStyles:n,compiler:l,globalStyles:i}),b=function(e){var t=e.compiler,n=e.core,o=t.css,i=t.cx,u=t.generateInterpolationName,l=n.div;function s(e,t){void 0===t&&(t={});var n=t.props;return function(){for(var d=arguments.length,p=new Array(d),h=0;h<d;h++)p[h]=arguments[h];var b=Object(r.e)(u()),g=a.a.forwardRef((function(t,u){var s=t.as,f=t.className,d=Object(c.a)(t,["as","className"]),h=Qe(Qe(Qe({},n),d),{},{ref:u}),v=Object(r.b)(p,d),g=i(o.apply(void 0,v),f,b);return a.a.createElement(l,Object.assign({as:s||e},h,{className:g}))}));return g.displayName="string"==typeof e?"Styled("+Xe(e)+")":v.a.defined(null==e?void 0:e.displayName)?e.displayName:"Styled("+Xe(e)+")",g.withComponent=function(e,n){return s(e,void 0!==n?Qe(Qe({},t||{}),n):t).apply(void 0,p)},g[f.h]=b,"string"!=typeof e?Ye()(g,e):g}}var d=s.bind(void 0);return $e.forEach((function(e){d[e]=s(e)})),d}({compiler:l,core:h}),g=h.div;return{compiler:l,core:h,createCoreElement:function(e){return We(e,{baseStyles:n,compiler:l,globalStyles:i})},createToken:r.c,css:d,cx:p,get:function(e){return"var("+Object(r.c)(e.toString())+")"},styled:b,View:g,ThemeProvider:function(e){return a.a.createElement(B,Object.assign({},e,{compiler:l,globalStyles:i}))},rootStore:u}}var nt=n(74),rt=n(122),ot=n(123),it=n(124),at=tt({baseStyles:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontFamily:Object(r.d)("fontFamily"),fontSize:Object(r.d)("fontSize"),fontWeight:Object(r.d)("fontWeight"),margin:0},config:nt.b,darkModeConfig:rt.a,highContrastModeConfig:ot.a,darkHighContrastModeConfig:it.a}),ut=(at.ThemeProvider,at.compiler),ct=at.core,lt=(at.createCoreElement,at.createToken),st=at.get,ft=at.styled},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=n(185)},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(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?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(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}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return c}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(49);function o(e){return r.a.numeric(e)?e+"px":e}},function(e,t,n){"use strict";function r(){for(var e=[],t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];for(var i=0,a=n;i<a.length;i++){var u=a[i];"number"!=typeof u&&"string"!=typeof u||e.push(u),Array.isArray(u)&&e.push(r.apply(void 0,u),",")}return e.join(" ").trim().replace(/,$/,"")}n.d(t,"a",(function(){return o}));var o=r;o.calc=function(){return"calc("+r.apply(void 0,arguments)+")"}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(44);function o(e){return!!r.a&&-1!==window.navigator.userAgent.indexOf(e)}},,function(e,t,n){"use strict";var r=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===o}(e)}(e)};var o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function i(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function a(e,t,n){return e.concat(t).map((function(e){return i(e,n)}))}function u(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function c(e,t){try{return t in e}catch(e){return!1}}function l(e,t,n){var r={};return n.isMergeableObject(e)&&u(e).forEach((function(t){r[t]=i(e[t],n)})),u(t).forEach((function(o){(function(e,t){return c(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,o)||(c(e,o)&&n.isMergeableObject(t[o])?r[o]=function(e,t){if(!t.customMerge)return s;var n=t.customMerge(e);return"function"==typeof n?n:s}(o,n)(e[o],t[o],n):r[o]=i(t[o],n))})),r}function s(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||a,n.isMergeableObject=n.isMergeableObject||r,n.cloneUnlessOtherwiseSpecified=i;var o=Array.isArray(t);return o===Array.isArray(e)?o?n.arrayMerge(e,t,n):l(e,t,n):i(t,n)}s.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return s(e,n,t)}),{})};var f=s;e.exports=f},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0);function o(e,t){void 0===t&&(t=null),e&&("function"==typeof e?e(t):e.current=t)}function i(e,t){return Object(r.useMemo)((function(){return null==e&&null==t?null:function(n){o(e,n),o(t,n)}}),[e,t])}},function(e,t,n){"use strict";var r=n(80);t.a=Object(r.a)()},,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0);function o(e){return void 0===e&&(e="id"),(e?e+"-":"")+Math.random().toString(32).substr(2,6)}var i=Object(r.createContext)(o)},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(9),o=n(23),i=n(24),a=n(25),u=Object(i.a)({name:"Role",keys:["unstable_system"],propsAreEqual:function(e,t){var n=e.unstable_system,o=Object(r.a)(e,["unstable_system"]),i=t.unstable_system,u=Object(r.a)(t,["unstable_system"]);return!(n!==i&&!Object(a.a)(n,i))&&Object(a.a)(o,u)}});Object(o.a)({as:"div",useHook:u})},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e){return e.target===e.currentTarget}n.d(t,"a",(function(){return r}))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(61);var o,i=(o=Object(r.a)(),Boolean(void 0!==o&&o.document&&o.document.createElement))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="data-g2-c16t",o="__contextSystemKey__"},function(e,t,n){var r;!function(o){var i=/^\s+/,a=/\s+$/,u=0,c=o.round,l=o.min,s=o.max,f=o.random;function d(e,t){if(t=t||{},(e=e||"")instanceof d)return e;if(!(this instanceof d))return new d(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,u=null,c=null,f=!1,d=!1;"string"==typeof e&&(e=function(e){e=e.replace(i,"").replace(a,"").toLowerCase();var t,n=!1;if(T[e])e=T[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=W.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=W.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=W.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=W.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=W.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=W.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=W.hex8.exec(e))return{r:M(t[1]),g:M(t[2]),b:M(t[3]),a:F(t[4]),format:n?"name":"hex8"};if(t=W.hex6.exec(e))return{r:M(t[1]),g:M(t[2]),b:M(t[3]),format:n?"name":"hex"};if(t=W.hex4.exec(e))return{r:M(t[1]+""+t[1]),g:M(t[2]+""+t[2]),b:M(t[3]+""+t[3]),a:F(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=W.hex3.exec(e))return{r:M(t[1]+""+t[1]),g:M(t[2]+""+t[2]),b:M(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&($(e.r)&&$(e.g)&&$(e.b)?(p=e.r,h=e.g,b=e.b,t={r:255*I(p,255),g:255*I(h,255),b:255*I(b,255)},f=!0,d="%"===String(e.r).substr(-1)?"prgb":"rgb"):$(e.h)&&$(e.s)&&$(e.v)?(r=D(e.s),u=D(e.v),t=function(e,t,n){e=6*I(e,360),t=I(t,100),n=I(n,100);var r=o.floor(e),i=e-r,a=n*(1-t),u=n*(1-i*t),c=n*(1-(1-i)*t),l=r%6;return{r:255*[n,u,a,a,c,n][l],g:255*[c,n,n,u,a,a][l],b:255*[a,a,c,n,n,u][l]}}(e.h,r,u),f=!0,d="hsv"):$(e.h)&&$(e.s)&&$(e.l)&&(r=D(e.s),c=D(e.l),t=function(e,t,n){var r,o,i;function a(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=I(e,360),t=I(t,100),n=I(n,100),0===t)r=o=i=n;else{var u=n<.5?n*(1+t):n+t-n*t,c=2*n-u;r=a(c,u,e+1/3),o=a(c,u,e),i=a(c,u,e-1/3)}return{r:255*r,g:255*o,b:255*i}}(e.h,r,c),f=!0,d="hsl"),e.hasOwnProperty("a")&&(n=e.a));var p,h,b;return n=R(n),{ok:f,format:e.format||d,r:l(255,s(t.r,0)),g:l(255,s(t.g,0)),b:l(255,s(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=c(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=c(this._r)),this._g<1&&(this._g=c(this._g)),this._b<1&&(this._b=c(this._b)),this._ok=n.ok,this._tc_id=u++}function p(e,t,n){e=I(e,255),t=I(t,255),n=I(n,255);var r,o,i=s(e,t,n),a=l(e,t,n),u=(i+a)/2;if(i==a)r=o=0;else{var c=i-a;switch(o=u>.5?c/(2-i-a):c/(i+a),i){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:o,l:u}}function h(e,t,n){e=I(e,255),t=I(t,255),n=I(n,255);var r,o,i=s(e,t,n),a=l(e,t,n),u=i,c=i-a;if(o=0===i?0:c/i,i==a)r=0;else{switch(i){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:o,v:u}}function b(e,t,n,r){var o=[L(c(e).toString(16)),L(c(t).toString(16)),L(c(n).toString(16))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function v(e,t,n,r){return[L(B(r)),L(c(e).toString(16)),L(c(t).toString(16)),L(c(n).toString(16))].join("")}function g(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.s-=t/100,n.s=N(n.s),d(n)}function m(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.s+=t/100,n.s=N(n.s),d(n)}function y(e){return d(e).desaturate(100)}function O(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.l+=t/100,n.l=N(n.l),d(n)}function w(e,t){t=0===t?0:t||10;var n=d(e).toRgb();return n.r=s(0,l(255,n.r-c(-t/100*255))),n.g=s(0,l(255,n.g-c(-t/100*255))),n.b=s(0,l(255,n.b-c(-t/100*255))),d(n)}function j(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.l-=t/100,n.l=N(n.l),d(n)}function x(e,t){var n=d(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,d(n)}function k(e){var t=d(e).toHsl();return t.h=(t.h+180)%360,d(t)}function _(e){var t=d(e).toHsl(),n=t.h;return[d(e),d({h:(n+120)%360,s:t.s,l:t.l}),d({h:(n+240)%360,s:t.s,l:t.l})]}function S(e){var t=d(e).toHsl(),n=t.h;return[d(e),d({h:(n+90)%360,s:t.s,l:t.l}),d({h:(n+180)%360,s:t.s,l:t.l}),d({h:(n+270)%360,s:t.s,l:t.l})]}function E(e){var t=d(e).toHsl(),n=t.h;return[d(e),d({h:(n+72)%360,s:t.s,l:t.l}),d({h:(n+216)%360,s:t.s,l:t.l})]}function C(e,t,n){t=t||6,n=n||30;var r=d(e).toHsl(),o=360/n,i=[d(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(d(r));return i}function P(e,t){t=t||6;for(var n=d(e).toHsv(),r=n.h,o=n.s,i=n.v,a=[],u=1/t;t--;)a.push(d({h:r,s:o,v:i})),i=(i+u)%1;return a}d.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=R(e),this._roundA=c(100*this._a)/100,this},toHsv:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=h(this._r,this._g,this._b),t=c(360*e.h),n=c(100*e.s),r=c(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=p(this._r,this._g,this._b),t=c(360*e.h),n=c(100*e.s),r=c(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return b(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var i=[L(c(e).toString(16)),L(c(t).toString(16)),L(c(n).toString(16)),L(B(r))];if(o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:c(this._r),g:c(this._g),b:c(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+c(this._r)+", "+c(this._g)+", "+c(this._b)+")":"rgba("+c(this._r)+", "+c(this._g)+", "+c(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:c(100*I(this._r,255))+"%",g:c(100*I(this._g,255))+"%",b:c(100*I(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+c(100*I(this._r,255))+"%, "+c(100*I(this._g,255))+"%, "+c(100*I(this._b,255))+"%)":"rgba("+c(100*I(this._r,255))+"%, "+c(100*I(this._g,255))+"%, "+c(100*I(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(A[b(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+v(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=d(e);n="#"+v(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return d(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(O,arguments)},brighten:function(){return this._applyModification(w,arguments)},darken:function(){return this._applyModification(j,arguments)},desaturate:function(){return this._applyModification(g,arguments)},saturate:function(){return this._applyModification(m,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(x,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(C,arguments)},complement:function(){return this._applyCombination(k,arguments)},monochromatic:function(){return this._applyCombination(P,arguments)},splitcomplement:function(){return this._applyCombination(E,arguments)},triad:function(){return this._applyCombination(_,arguments)},tetrad:function(){return this._applyCombination(S,arguments)}},d.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:D(e[r]));e=n}return d(e,t)},d.equals=function(e,t){return!(!e||!t)&&d(e).toRgbString()==d(t).toRgbString()},d.random=function(){return d.fromRatio({r:f(),g:f(),b:f()})},d.mix=function(e,t,n){n=0===n?0:n||50;var r=d(e).toRgb(),o=d(t).toRgb(),i=n/100;return d({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},d.readability=function(e,t){var n=d(e),r=d(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},d.isReadable=function(e,t,n){var r,o,i=d.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},d.mostReadable=function(e,t,n){var r,o,i,a,u=null,c=0;o=(n=n||{}).includeFallbackColors,i=n.level,a=n.size;for(var l=0;l<t.length;l++)(r=d.readability(e,t[l]))>c&&(c=r,u=d(t[l]));return d.isReadable(e,u,{level:i,size:a})||!o?u:(n.includeFallbackColors=!1,d.mostReadable(e,["#fff","#000"],n))};var T=d.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},A=d.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(T);function R(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function I(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=l(t,s(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function N(e){return l(1,s(0,e))}function M(e){return parseInt(e,16)}function L(e){return 1==e.length?"0"+e:""+e}function D(e){return e<=1&&(e=100*e+"%"),e}function B(e){return o.round(255*parseFloat(e)).toString(16)}function F(e){return M(e)/255}var z,U,H,W=(U="[\\s|\\(]+("+(z="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+z+")[,|\\s]+("+z+")\\s*\\)?",H="[\\s|\\(]+("+z+")[,|\\s]+("+z+")[,|\\s]+("+z+")[,|\\s]+("+z+")\\s*\\)?",{CSS_UNIT:new RegExp(z),rgb:new RegExp("rgb"+U),rgba:new RegExp("rgba"+H),hsl:new RegExp("hsl"+U),hsla:new RegExp("hsla"+H),hsv:new RegExp("hsv"+U),hsva:new RegExp("hsva"+H),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function $(e){return!!W.CSS_UNIT.exec(e)}e.exports?e.exports=d:void 0===(r=function(){return d}.call(t,n,t,e))||(e.exports=r)}(Math)},function(e,t,n){"use strict";n(73),n(0),n(51)},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),o=Object(r.createContext)({})},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2),o=n.n(r);var i={blob:function(e){return e instanceof Blob},defined:function(e){return!o.a.isNil(e)},file:function(e){return e instanceof File},numeric:function(e){var t="string"==typeof e?e.replace(/,/g,""):e;return!isNaN(parseFloat(t))&&!isNaN(Number(t))&&isFinite(t)&&"[object array]"!==Object.prototype.toString.call(t).toLowerCase()},numericZero:function(e){return 0===e||"0"===e},valueEmpty:function(e){return!i.defined(e)||""===e},objectInterpolation:function(e){return o.a.isPlainObject(e)},array:o.a.isArray,boolean:o.a.isBoolean,date:o.a.isDate,empty:o.a.isEmpty,function:o.a.isFunction,map:o.a.isMap,nan:isNaN,nil:o.a.isNil,number:o.a.isNumber,null:o.a.isNull,object:o.a.isObject,objectLike:o.a.isObjectLike,plainObject:o.a.isPlainObject,regExp:o.a.isRegExp,set:o.a.isSet,string:o.a.isString,symbol:o.a.isSymbol,undefined:o.a.isUndefined,weakSet:o.a.isWeakSet,weakMap:o.a.isWeakMap}},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var c,l=[],s=!1,f=-1;function d(){s&&c&&(s=!1,c.length?l=c.concat(l):f=-1,l.length&&p())}function p(){if(!s){var e=u(d);s=!0;for(var t=l.length;t;){for(c=l,l=[];++f<t;)c&&c[f].run();f=-1,t=l.length}c=null,s=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function b(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new h(e,t)),1!==l.length||s||u(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=b,o.addListener=b,o.once=b,o.off=b,o.removeListener=b,o.removeAllListeners=b,o.emit=b,o.prependListener=b,o.prependOnceListener=b,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){"use strict";function r(e){return"object"==typeof e&&null!=e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e){return e.isRegistryControl=!0,e}n.d(t,"a",(function(){return r}))},function(e,t,n){e.exports=n(220)},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(64);function o(e,t){if(e){if("string"==typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},function(e,t,n){"use strict";t.a=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}},function(e,t,n){"use strict";(function(e){var r=n(0),o=(n(157),Object(r.createContext)({slots:{},fills:{},registerSlot:function(){void 0!==e&&e.env},updateSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){}}));t.a=o}).call(this,n(50))},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(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 i(e,t){var n=e._map,r=e._arrayTreeMap,o=e._objectTreeMap;if(n.has(t))return n.get(t);for(var i=Object.keys(t).sort(),a=Array.isArray(t)?r:o,u=0;u<i.length;u++){var c=i[u];if(void 0===(a=a.get(c)))return;var l=t[c];if(void 0===(a=a.get(l)))return}var s=a.get("_ekm_value");return s?(n.delete(s[0]),s[0]=t,a.set("_ekm_value",s),n.set(t,s),s):void 0}var a=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.clear(),t instanceof e){var n=[];t.forEach((function(e,t){n.push([t,e])})),t=n}if(null!=t)for(var r=0;r<t.length;r++)this.set(t[r][0],t[r][1])}var t,n,a;return t=e,(n=[{key:"set",value:function(t,n){if(null===t||"object"!==r(t))return this._map.set(t,n),this;for(var o=Object.keys(t).sort(),i=[t,n],a=Array.isArray(t)?this._arrayTreeMap:this._objectTreeMap,u=0;u<o.length;u++){var c=o[u];a.has(c)||a.set(c,new e),a=a.get(c);var l=t[c];a.has(l)||a.set(l,new e),a=a.get(l)}var s=a.get("_ekm_value");return s&&this._map.delete(s[0]),a.set("_ekm_value",i),this._map.set(t,i),this}},{key:"get",value:function(e){if(null===e||"object"!==r(e))return this._map.get(e);var t=i(this,e);return t?t[1]:void 0}},{key:"has",value:function(e){return null===e||"object"!==r(e)?this._map.has(e):void 0!==i(this,e)}},{key:"delete",value:function(e){return!!this.has(e)&&(this.set(e,void 0),!0)}},{key:"forEach",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach((function(o,i){null!==i&&"object"===r(i)&&(o=o[1]),e.call(n,o,i,t)}))}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&o(t.prototype,n),a&&o(t,a),e}();e.exports=a},function(e,t,n){"use strict";e.exports=n(190)},,function(e,t){t.getArg=function(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')};var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function o(e){var t=e.match(n);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function i(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function a(e){var n=e,r=o(e);if(r){if(!r.path)return e;n=r.path}for(var a,u=t.isAbsolute(n),c=n.split(/\/+/),l=0,s=c.length-1;s>=0;s--)"."===(a=c[s])?c.splice(s,1):".."===a?l++:l>0&&(""===a?(c.splice(s+1,l),l=0):(c.splice(s,2),l--));return""===(n=c.join("/"))&&(n=u?"/":"."),r?(r.path=n,i(r)):n}function u(e,t){""===e&&(e="."),""===t&&(t=".");var n=o(t),u=o(e);if(u&&(e=u.path||"/"),n&&!n.scheme)return u&&(n.scheme=u.scheme),i(n);if(n||t.match(r))return t;if(u&&!u.host&&!u.path)return u.host=t,i(u);var c="/"===t.charAt(0)?t:a(e.replace(/\/+$/,"")+"/"+t);return u?(u.path=c,i(u)):c}t.urlParse=o,t.urlGenerate=i,t.normalize=a,t.join=u,t.isAbsolute=function(e){return"/"===e.charAt(0)||n.test(e)},t.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)};var c=!("__proto__"in Object.create(null));function l(e){return e}function s(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function f(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}t.toSetString=c?l:function(e){return s(e)?"$"+e:e},t.fromSetString=c?l:function(e){return s(e)?e.slice(1):e},t.compareByOriginalPositions=function(e,t,n){var r=f(e.source,t.source);return 0!==r||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||n||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:f(e.name,t.name)},t.compareByGeneratedPositionsDeflated=function(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r||0!==(r=e.generatedColumn-t.generatedColumn)||n||0!==(r=f(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:f(e.name,t.name)},t.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n||0!==(n=e.generatedColumn-t.generatedColumn)||0!==(n=f(e.source,t.source))||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)?n:f(e.name,t.name)},t.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},t.computeSourceURL=function(e,t,n){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),n){var r=o(n);if(!r)throw new Error("sourceMapURL could not be parsed");if(r.path){var c=r.path.lastIndexOf("/");c>=0&&(r.path=r.path.substring(0,c+1))}t=u(i(r),t)}return a(t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r,o=n(19);try{r=window}catch(e){}function i(e){return e&&Object(o.a)(e).defaultView||r}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),o=n(75);function i(){return Object(r.useContext)(o.a)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(78);function o(e,t){if(e&&t){if(e.constructor===Object&&t.constructor===Object)return Object(r.a)(e,t);if(Array.isArray(e)&&Array.isArray(t))return function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(var n=0,r=e.length;n<r;n++)if(e[n]!==t[n])return!1;return!0}(e,t)}return e===t}},function(e,t,n){"use strict";function r(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}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r=["40em","52em","64em"],o=0,i=function(){return"interpolatable-component-"+o++}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(65),o=function(e,t){void 0===e&&(e={}),void 0===t&&(t=function(e,t){return t});var n={},o=[null].concat(r.a.map((function(e){return"@media screen and (min-width: "+e+")"})));for(var i in e){var a=i,u=e[a];if(null!==u)if(Array.isArray(u))for(var c=0;c<u.slice(0,o.length).length;c++){var l=o[c];l?(n[l]=n[l]||{},null!==u[c]&&(n[l][a]=t(a,u[c]))):n[a]=t(a,u[c])}else n[a]=u}return n}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o}));var r="--wp-g2",o="__interpolationClassName__"},function(e,t,n){"use strict";n.d(t,"e",(function(){return k})),n.d(t,"d",(function(){return _})),n.d(t,"a",(function(){return S})),n.d(t,"b",(function(){return E})),n.d(t,"c",(function(){return C}));var r=n(3),o=n(1),i=n(12);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 u(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){Object(r.a)(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}var c={purple100:"#f3f1f8",purple300:"#B4A8D2",purple500:"#826eb4",purple700:"#4e426c",purple900:"#342c48"},l={darkGray100:"#8F98A1",darkGray300:"#6C7781",darkGray500:"#555D66",darkGray700:"#32373C",darkGray900:"#191E23"},s={lightGray100:"#fbfbfc",lightGray300:"#edeff0",lightGray500:"#e2e4e7",lightGray700:"#ccd0d4",lightGray900:"#a2aab2"},f={red100:"#fcebeb",red300:"#ea8484",red500:"#dc3232",red700:"#b02828",red900:"#841e1e"},d={orange100:"#fef1ea",orange300:"#f9a87e",orange500:"#F56E28",orange700:"#ca4a1f",orange900:"#aa3e1a"},p={yellow100:"#fff8e6",yellow300:"#ffd566",yellow500:"#ffb900",yellow700:"#ee8e0d",yellow900:"#dd631a"},h={green100:"#edf8ee",green300:"#90d296",green500:"#46b450",green700:"#328540",green900:"#25612f"},b={blue100:"#e6f6fb",blue300:"#66c6e4",blue500:"#00a0d2",blue700:"#0085ba",blue900:"#0072A8"},v=u(u(u({},l),Object(i.b)(l)),Object(i.a)(l)),g=u(u(u({},s),Object(i.b)(s)),Object(i.a)(s)),m=u(u(u({},f),Object(i.b)(f)),Object(i.a)(f)),y=u(u(u({},d),Object(i.b)(d)),Object(i.a)(d)),O=u(u(u({},p),Object(i.b)(p)),Object(i.a)(p)),w=u(u(u({},h),Object(i.b)(h)),Object(i.a)(h)),j=u(u(u({},c),Object(i.b)(c)),Object(i.a)(c)),x=u(u(u({},b),Object(i.b)(b)),Object(i.a)(b)),k=u(u(u(u(u(u(u(u({},v),g),m),y),O),w),j),x),_={black:"#000000",blueberry:"#3858E9",blueberryDark:"#1D35B4",greens:"#33F078",grey:"#40464D",greyBlack:"#1E1E1E",lightBlue:"#33F078",lightGrey:"#40464D",lighterGrey:"#dddddd",pomegrade:"#E26F56",wordpressBlue:"#007cba",white:"#ffffff"},S={colorBackgroundBlue:Object(o.d)("blueRgba10"),colorBackgroundBlueText:Object(o.d)("blue900"),colorBackgroundDarkGray:Object(o.d)("darkGrayRgba10"),colorBackgroundDarkGrayText:Object(o.d)("darkGray900"),colorBackgroundGreen:Object(o.d)("greenRgba10"),colorBackgroundGreenText:Object(o.d)("green900"),colorBackgroundLightGray:Object(o.d)("lightGrayRgba10"),colorBackgroundLightGrayText:Object(o.d)("lightGray900"),colorBackgroundOrange:Object(o.d)("orangeRgba10"),colorBackgroundOrangeText:Object(o.d)("orange900"),colorBackgroundPurple:Object(o.d)("purpleRgba10"),colorBackgroundPurpleText:Object(o.d)("purple900"),colorBackgroundRed:Object(o.d)("redRgba10"),colorBackgroundRedText:Object(o.d)("red900"),colorBackgroundYellow:Object(o.d)("yellowRgba10"),colorBackgroundYellowText:Object(o.d)("yellow900")},E={colorBackgroundBlue:Object(o.d)("blueRgba20"),colorBackgroundBlueText:Object(o.d)("blue300"),colorBackgroundDarkGray:Object(o.d)("darkGrayRgba20"),colorBackgroundDarkGrayText:Object(o.d)("white"),colorBackgroundGreen:Object(o.d)("greenRgba20"),colorBackgroundGreenText:Object(o.d)("green300"),colorBackgroundLightGray:Object(o.d)("lightGrayRgba20"),colorBackgroundLightGrayText:Object(o.d)("white"),colorBackgroundOrange:Object(o.d)("orangeRgba20"),colorBackgroundOrangeText:Object(o.d)("orange300"),colorBackgroundPurple:Object(o.d)("purpleRgba20"),colorBackgroundPurpleText:Object(o.d)("purple300"),colorBackgroundRed:Object(o.d)("redRgba20"),colorBackgroundRedText:Object(o.d)("red300"),colorBackgroundYellow:Object(o.d)("yellowRgba20"),colorBackgroundYellowText:Object(o.d)("yellow300")},C=u(u(u(u(u(u(u(u({},Object(i.a)(b,!0)),Object(i.a)(h,!0)),Object(i.a)(d,!0)),Object(i.a)(c,!0)),Object(i.a)(f,!0)),Object(i.a)(p,!0)),Object(i.a)(l,!0)),Object(i.a)(s,!0))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(101);var i=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n));return r.type="atrule",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),t.prototype.append=function(){var t;this.nodes||(this.nodes=[]);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.prototype.append).call.apply(t,[this].concat(r))},t.prototype.prepend=function(){var t;this.nodes||(this.nodes=[]);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.prototype.prepend).call.apply(t,[this].concat(r))},t}(((r=o)&&r.__esModule?r:{default:r}).default);t.default=i,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=a(n(101)),i=a(n(138));function a(e){return e&&e.__esModule?e:{default:e}}var u=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n));return r.type="rule",r.nodes||(r.nodes=[]),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),r(t,[{key:"selectors",get:function(){return i.default.comma(this.selector)},set:function(e){var t=this.selector?this.selector.match(/,\s*/):null,n=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}}]),t}(o.default);t.default=u,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},i=n(143),a=(r=i)&&r.__esModule?r:{default:r};var u={obj:function(e){return"object"===(void 0===e?"undefined":o(e))&&!!e},all:function(e){return u.obj(e)&&e.type===a.default.all},error:function(e){return u.obj(e)&&e.type===a.default.error},array:Array.isArray,func:function(e){return"function"==typeof e},promise:function(e){return e&&u.func(e.then)},iterator:function(e){return e&&u.func(e.next)&&u.func(e.throw)},fork:function(e){return u.obj(e)&&e.type===a.default.fork},join:function(e){return u.obj(e)&&e.type===a.default.join},race:function(e){return u.obj(e)&&e.type===a.default.race},call:function(e){return u.obj(e)&&e.type===a.default.call},cps:function(e){return u.obj(e)&&e.type===a.default.cps},subscribe:function(e){return u.obj(e)&&e.type===a.default.subscribe},channel:function(e){return u.obj(e)&&u.func(e.subscribe)}};t.default=u},function(e,t,n){"use strict"},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return _}));var r=n(3),o=n(1),i=n(32),a=n(68),u=n(12);function c(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){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s=["blue","red","purple","green","yellow","orange","darkGray","lightGray"],f=l(l(l(l({},a.e),a.a),{},{colorAdmin:"#007cba",colorDestructive:"#D94F4F",colorBodyBackground:Object(o.d)("white"),colorDivider:"rgba(0, 0, 0, 0.1)",colorPositive:Object(o.d)("greens"),colorScrollbarThumb:"rgba(0, 0, 0, 0.2)",colorScrollbarThumbHover:"rgba(0, 0, 0, 0.5)",colorScrollbarTrack:"rgba(0, 0, 0, 0.04)",colorText:"#1e1e1e",colorTextInverted:Object(o.d)("white"),colorTextHeading:"#050505",colorTextMuted:"#717171"},Object(u.c)("#007cba")),Object(u.d)("#D94F4F")),d={fontFamily:'Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",sans-serif',fontFamilyMono:"SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace",fontSize:"13px",fontSizeH1:"calc(2.44 * "+Object(o.d)("fontSize")+")",fontSizeH2:"calc(1.95 * "+Object(o.d)("fontSize")+")",fontSizeH3:"calc(1.56 * "+Object(o.d)("fontSize")+")",fontSizeH4:"calc(1.25 * "+Object(o.d)("fontSize")+")",fontSizeH5:"calc(1 * "+Object(o.d)("fontSize")+")",fontSizeH6:"calc(0.8 * "+Object(o.d)("fontSize")+")",fontSizeInputMobile:"16px",fontSizeMobile:"15px",fontSizeSmall:"calc(0.92 * "+Object(o.d)("fontSize")+")",fontSizeXSmall:"calc(0.75 * "+Object(o.d)("fontSize")+")",fontLineHeightBase:"1.2",fontWeight:"normal",fontWeightHeading:"600"},p={surfaceBackgroundColor:Object(o.d)("surfaceColor"),surfaceBackgroundSubtleColor:"#F3F3F3",surfaceBackgroundTintColor:"#F5F5F5",surfaceBorderColor:"rgba(0, 0, 0, 0.1)",surfaceBorderBoldColor:"rgba(0, 0, 0, 0.15)",surfaceBorderSubtleColor:"rgba(0, 0, 0, 0.05)",surfaceBackgroundTertiaryColor:"#ffffff",surfaceColor:Object(o.d)("white")},h={controlBackgroundColor:Object(o.d)("white"),controlBackgroundColorHover:"rgba(0, 0, 0, 0.05)",controlBackgroundColorActive:"rgba(0, 0, 0, 0.05)",controlBackgroundDimColor:"rgba(0, 0, 0, 0.1)",controlBackgroundBrightColor:"rgba(0, 0, 0, 0.03)",controlBorderColor:"#757575",controlBorderColorHover:Object(o.d)("controlBorderColor"),controlBorderColorSubtle:"transparent",controlBorderRadius:"2px",controlBorderSubtleColor:"rgba(0, 0, 0, 0.2)",controlBoxShadowFocusSize:"0.5px",controlBoxShadow:"transparent",controlBoxShadowFocus:Object(i.a)("0 0 0",Object(o.d)("controlBoxShadowFocusSize"),Object(o.d)("colorAdmin")),controlPseudoBoxShadowFocusWidth:"2px",controlPseudoBoxShadowFocusRingSize:i.a.calc(Object(o.d)("controlPseudoBoxShadowFocusWidth"),"+ 1px +",Object(o.d)("controlBoxShadowFocusSize")),controlPseudoBoxShadowFocusRingSizeSmall:i.a.calc(Object(o.d)("controlPseudoBoxShadowFocusWidth"),"+ 1px"),controlPseudoBoxShadowFocus:Object(i.a)(["0 0 0",Object(o.d)("controlPseudoBoxShadowFocusWidth"),Object(o.d)("surfaceBackgroundColor")],["0 0 0",Object(o.d)("controlPseudoBoxShadowFocusRingSize"),Object(o.d)("colorAdmin")]),controlPseudoBoxShadowFocusSmall:Object(i.a)(["0 0 0",Object(o.d)("controlPseudoBoxShadowFocusWidth"),Object(o.d)("surfaceBackgroundColor")],["0 0 0",Object(o.d)("controlPseudoBoxShadowFocusRingSizeSmall"),Object(o.d)("colorAdmin")]),controlDestructivePseudoBoxShadowFocus:Object(i.a)(["0 0 0",Object(o.d)("controlPseudoBoxShadowFocusWidth"),Object(o.d)("surfaceBackgroundColor")],["0 0 0",Object(o.d)("controlPseudoBoxShadowFocusRingSize"),Object(o.d)("colorDestructive")]),controlDestructivePseudoBoxShadowFocusSmall:Object(i.a)(["0 0 0",Object(o.d)("controlPseudoBoxShadowFocusWidth"),Object(o.d)("surfaceBackgroundColor")],["0 0 0",Object(o.d)("controlPseudoBoxShadowFocusRingSizeSmall"),Object(o.d)("colorDestructive")]),controlDestructiveBorderColor:Object(o.d)("colorDestructive"),controlDestructiveBorderColorFocus:Object(o.d)("controlDestructiveBorderColor"),controlDestructiveBoxShadowFocus:Object(i.a)("0 0 0",Object(o.d)("controlBoxShadowFocusSize"),Object(o.d)("colorDestructive")),controlHeight:"30px",controlHeightLarge:"calc("+Object(o.d)("controlHeight")+" * 1.2)",controlHeightSmall:"calc("+Object(o.d)("controlHeight")+" * 0.8)",controlHeightXLarge:"calc("+Object(o.d)("controlHeight")+" * 1.4)",controlHeightXSmall:"calc("+Object(o.d)("controlHeight")+" * 0.67)",controlHeightXXSmall:"calc("+Object(o.d)("controlHeight")+" * 0.4)",controlPaddingX:"12px",controlPaddingXLarge:"calc("+Object(o.d)("controlPaddingX")+" * 1.3334)",controlPaddingXSmall:"calc("+Object(o.d)("controlPaddingX")+" / 1.3334)",controlPrimaryTextColorActive:Object(o.d)("white"),controlPrimaryTextColor:Object(o.d)("white"),controlSurfaceBoxShadow:Object(i.a)(["0 1px 1px rgba(0, 0, 0, 0.2)"],["0 1px 2px rgba(0, 0, 0, 0.2)"]),controlSurfaceColor:Object(o.d)("white"),controlTextActiveColor:Object(o.d)("colorAdmin"),controlInnerControltextColor:Object(o.d)("colorAdmin")},b={buttonPaddingXRatio:"calc(4/3)",buttonPaddingX:i.a.calc(Object(o.d)("controlPaddingX"),"*",Object(o.d)("buttonPaddingXRatio")),buttonTextColor:Object(o.d)("colorAdmin"),buttonTextColorActive:Object(o.d)("buttonTextColor"),buttonPrimaryColor:Object(o.d)("colorAdmin"),buttonPrimaryColorHover:Object(o.d)("buttonPrimaryColor"),buttonPrimaryColorActive:Object(o.d)("colorText"),buttonPrimaryColorFocus:Object(o.d)("buttonPrimaryColor"),buttonPrimaryBorderColor:Object(o.d)("buttonPrimaryColor"),buttonPrimaryBorderColorHover:Object(o.d)("buttonPrimaryColor"),buttonPrimaryBorderColorFocus:Object(o.d)("buttonPrimaryColor"),buttonPrimaryBorderColorActive:Object(o.d)("buttonPrimaryColor"),buttonPrimaryTextColor:Object(o.d)("controlPrimaryTextColor"),buttonPrimaryTextColorHover:Object(o.d)("controlPrimaryTextColor"),buttonPrimaryTextColorActive:Object(o.d)("controlPrimaryTextColor"),buttonPrimaryTextColorFocus:Object(o.d)("controlPrimaryTextColor"),buttonSecondaryColor:"transparent",buttonSecondaryColorHover:Object(o.d)("buttonSecondaryColor"),buttonSecondaryColorActive:"rgba(0, 0, 0, 0.05)",buttonSecondaryColorFocus:Object(o.d)("buttonSecondaryColor"),buttonSecondaryBorderColor:Object(o.d)("buttonPrimaryColor"),buttonSecondaryTextColor:Object(o.d)("buttonPrimaryColor"),buttonSecondaryTextColorFocus:Object(o.d)("buttonPrimaryColor"),buttonSecondaryTextColorActive:Object(o.d)("buttonPrimaryColor"),buttonSecondaryBorderColorHover:Object(o.d)("buttonPrimaryColor"),buttonSecondaryBorderColorActive:Object(o.d)("buttonPrimaryColor"),buttonSecondaryBorderColorFocus:Object(o.d)("buttonPrimaryColor"),buttonTertiaryColor:"transparent",buttonTertiaryColorHover:Object(o.d)("buttonTertiaryColor"),buttonTertiaryColorActive:"rgba(0, 0, 0, 0.05)",buttonTertiaryColorFocus:Object(o.d)("buttonTertiaryColor"),buttonTertiaryBorderColor:"transparent",buttonTertiaryTextColor:Object(o.d)("buttonPrimaryColor"),buttonTertiaryTextColorFocus:Object(o.d)("buttonPrimaryColor"),buttonTertiaryTextColorActive:Object(o.d)("buttonPrimaryColor"),buttonTertiaryBorderColorHover:Object(o.d)("buttonPrimaryColor"),buttonTertiaryBorderColorActive:Object(o.d)("buttonPrimaryColor"),buttonTertiaryBorderColorFocus:Object(o.d)("buttonPrimaryColor"),buttonControlActiveStateColor:Object(o.d)("colorText"),buttonControlActiveStateColorHover:Object(o.d)("buttonControlActiveStateColor"),buttonControlActiveStateColorActive:Object(o.d)("buttonControlActiveStateColor"),buttonControlActiveStateColorFocus:Object(o.d)("buttonControlActiveStateColor"),buttonControlActiveStateTextColor:Object(o.d)("buttonPrimaryTextColor"),buttonControlActiveStateBorderColorFocus:Object(o.d)("buttonPrimaryColor"),buttonControlActiveStateBoxShadowFocus:Object(i.a)(["0 0 0",Object(o.d)("controlBoxShadowFocusSize"),Object(o.d)("colorAdmin")],["0 0 0",Object(o.d)("controlPseudoBoxShadowFocusWidth"),Object(o.d)("buttonControlActiveStateTextColor"),"inset"])},v={cardBorderRadius:"2px",cardPaddingX:Object(u.e)(3),cardPaddingY:Object(u.e)(3),cardPadding:Object(i.a)(Object(o.d)("cardPaddingX"),Object(o.d)("cardPaddingY")),cardHeaderFooterPaddingY:Object(u.e)(1),cardHeaderHeight:"44px"},g={flexGap:Object(u.e)(2),flexItemMarginRight:Object(o.d)("flexGap")},m={linkColor:Object(o.d)("colorAdmin"),linkColorHover:Object(o.d)("colorAdmin"),linkColorActive:Object(o.d)("colorAdmin"),linkColorFocus:Object(o.d)("colorAdmin")},y={menuItemBorderWidth:"1px",menuItemFocusBackgroundColor:"transparent",menuItemFocusBorderColor:Object(o.d)("colorAdmin"),menuItemFocusTextColor:Object(o.d)("menuItemFocusBorderColor"),menuItemFocusBoxShadow:Object(o.d)("controlBorderSubtleColor"),menuItemActiveBackgroundColor:Object(o.d)("controlBackgroundColor"),menuItemActiveBorderColor:Object(o.d)("menuItemFocusBorderColor"),menuItemActiveTextColor:Object(o.d)("colorText"),menuItemActiveBoxShadow:Object(o.d)("controlBorderSubtleColor"),menuItemHeight:"30px",menuItemHeightLarge:"calc("+Object(o.d)("menuItemHeight")+" * 1.2)",menuItemHeightSmall:"calc("+Object(o.d)("menuItemHeight")+" * 0.8)",menuItemHeightXLarge:"calc("+Object(o.d)("menuItemHeight")+" * 1.4)",menuItemHeightXSmall:"calc("+Object(o.d)("menuItemHeight")+" * 0.67)",menuItemHeightXXSmall:"calc("+Object(o.d)("menuItemHeight")+" * 0.4)"},O={panelHeaderPadding:Object(u.e)(3)+" "+Object(u.e)(4),panelBodyPadding:Object(u.e)(2)+" "+Object(u.e)(4)+" "+Object(u.e)(3)},w={radioBoxShadow:Object(o.d)("checkboxBoxShadow"),radioSize:Object(o.d)("checkboxSize"),radioDotSize:"10px"},j={segmentedControlFontSize:"12px",segmentedControlBackgroundColor:Object(o.d)("controlBackgroundColor"),segmentedControlBorderColor:Object(o.d)("controlBorderColor"),segmentedControlBackdropBackgroundColor:Object(o.d)("controlSurfaceColor"),segmentedControlBackdropBorderColor:Object(o.d)("controlBorderColor"),segmentedControlBackdropBoxShadow:"transparent",segmentedControlButtonColorActive:Object(o.d)("controlBackgroundColor")},x={sliderThumbBorderColor:"transparent",sliderThumbBoxShadow:"none",sliderThumbBoxShadowSizeFocus:"3px",sliderThumbBoxShadowColorFocus:Object(o.d)("colorAdminRgba20"),sliderThumbBackgroundColor:Object(o.d)("colorAdmin")},k={switchBackdropBackgroundColor:Object(o.d)("lightGray900"),switchBackdropBackgroundColorActive:Object(o.d)("colorAdmin"),switchBackdropBorderColor:Object(o.d)("lightGray900"),switchBackdropBorderColorActive:Object(o.d)("colorAdmin"),switchBackdropBorderColorFocus:Object(o.d)("white"),switchToggleBackgroundColor:Object(o.d)("colorTextInverted"),switchToggleBackgroundColorActive:Object(o.d)("colorTextInverted"),switchToggleBoxShadow:"none",switchPaddingOffset:"6px"},_=l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l(l({},a.d),f),v),h),{elevationIntensity:1}),g),d),p),{transitionDuration:"200ms",transitionDurationFast:"160ms",transitionDurationFaster:"120ms",transitionDurationFastest:"100ms",transitionTimingFunction:"cubic-bezier(0.08, 0.52, 0.52, 1)",transitionTimingFunctionControl:"cubic-bezier(0.12, 0.8, 0.32, 1)"}),b),{checkboxBoxShadow:"none",checkboxSize:"16px"}),{gridBase:"4px"}),m),y),O),w),j),x),k)},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),o=n(37),i=Object(r.createContext)(o.a);i.Consumer,i.Provider},function(e,t){e.exports=function(e){var t,n=Object.keys(e);return t=function(){var e,t,r;for(e="return {",t=0;t<n.length;t++)e+=(r=JSON.stringify(n[t]))+":r["+r+"](s["+r+"],a),";return e+="}",new Function("r,s,a",e)}(),function(r,o){var i,a,u;if(void 0===r)return t(e,{},o);for(i=t(e,r,o),a=n.length;a--;)if(r[u=n[a]]!==i[u])return i;return r}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r,o=n(3),i=n(26),a=n(52),u="@@data/SELECT";var c=(r={},Object(o.a)(r,u,Object(a.a)((function(e){return function(t){var n,r=t.storeKey,o=t.selectorName,a=t.args;return(n=e.select(r))[o].apply(n,Object(i.a)(a))}}))),Object(o.a)(r,"@@data/RESOLVE_SELECT",Object(a.a)((function(e){return function(t){var n,r=t.storeKey,o=t.selectorName,a=t.args,u=e.select(r)[o].hasResolver?"resolveSelect":"select";return(n=e[u](r))[o].apply(n,Object(i.a)(a))}}))),Object(o.a)(r,"@@data/DISPATCH",Object(a.a)((function(e){return function(t){var n,r=t.storeKey,o=t.actionName,a=t.args;return(n=e.dispatch(r))[o].apply(n,Object(i.a)(a))}}))),r)},function(e,t,n){"use strict";function r(e,t){if(e===t)return!0;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;){var i=n[o],a=e[i];if(void 0===a&&!t.hasOwnProperty(i)||a!==t[i])return!1;o++}return!0}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return te}));var r={};n.r(r),n.d(r,"getIsResolving",(function(){return W})),n.d(r,"hasStartedResolution",(function(){return $})),n.d(r,"hasFinishedResolution",(function(){return V})),n.d(r,"isResolving",(function(){return G})),n.d(r,"getCachedResolvers",(function(){return q}));var o={};function i(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.done?t(c):Promise.resolve(c).then(r,o)}function a(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function u(e){i(a,r,o,u,c,"next",e)}function c(e){i(a,r,o,u,c,"throw",e)}u(void 0)}))}}n.r(o),n.d(o,"startResolution",(function(){return Y})),n.d(o,"finishResolution",(function(){return X})),n.d(o,"invalidateResolution",(function(){return K})),n.d(o,"invalidateResolutionForStore",(function(){return Q})),n.d(o,"invalidateResolutionForStoreSelector",(function(){return J}));var u=n(3),c=n(53),l=n.n(c);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){Object(u.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var p="function"==typeof Symbol&&Symbol.observable||"@@observable",h=function(){return Math.random().toString(36).substring(7).split("").join(".")},b={INIT:"@@redux/INIT"+h(),REPLACE:"@@redux/REPLACE"+h(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+h()}};function v(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function g(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(d(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(d(1));return n(g)(e,t)}if("function"!=typeof e)throw new Error(d(2));var o=e,i=t,a=[],u=a,c=!1;function l(){u===a&&(u=a.slice())}function s(){if(c)throw new Error(d(3));return i}function f(e){if("function"!=typeof e)throw new Error(d(4));if(c)throw new Error(d(5));var t=!0;return l(),u.push(e),function(){if(t){if(c)throw new Error(d(6));t=!1,l();var n=u.indexOf(e);u.splice(n,1),a=null}}}function h(e){if(!v(e))throw new Error(d(7));if(void 0===e.type)throw new Error(d(8));if(c)throw new Error(d(9));try{c=!0,i=o(i,e)}finally{c=!1}for(var t=a=u,n=0;n<t.length;n++){(0,t[n])()}return e}function m(e){if("function"!=typeof e)throw new Error(d(10));o=e,h({type:b.REPLACE})}function y(){var e,t=f;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(d(11));function n(){e.next&&e.next(s())}return n(),{unsubscribe:t(n)}}})[p]=function(){return this},e}return h({type:b.INIT}),(r={dispatch:h,subscribe:f,getState:s,replaceReducer:m})[p]=y,r}function m(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function y(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(d(15))},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return r=m.apply(void 0,i)(n.dispatch),f(f({},n),{},{dispatch:r})}}}var O=n(2),w=n(76),j=n.n(w),x=n(57),k=n.n(x);function _(e){return!!e&&"function"==typeof e[Symbol.iterator]&&"function"==typeof e.next}var S=n(156),E=n(86),C=n.n(E);function P(e){return Object(O.isPlainObject)(e)&&Object(O.isString)(e.type)}function T(e,t){return P(e)&&e.type===t}function A(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=Object(O.map)(e,(function(e,t){return function(n,r,o,i,a){if(!T(n,t))return!1;var u=e(n);return C()(u)?u.then(i,a):i(u),!0}})),r=function(e,n){return!!P(e)&&(t(e),n(),!0)};n.push(r);var o=Object(S.create)(n);return function(e){return new Promise((function(n,r){return o(e,(function(e){P(e)&&t(e),n(e)}),r)}))}}function R(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var n=A(e,t.dispatch);return function(e){return function(t){return _(t)?n(t):e(t)}}}}var I=n(77),N=function(){return function(e){return function(t){return C()(t)?t.then((function(t){if(t)return e(t)})):e(t)}}},M=n(26),L=n(10),D=function(e,t){return function(){return function(n){return function(r){var o=e.select("core/data").getCachedResolvers(t);return Object.entries(o).forEach((function(n){var o=Object(L.a)(n,2),i=o[0],a=o[1],u=Object(O.get)(e.stores,[t,"resolvers",i]);u&&u.shouldInvalidate&&a.forEach((function(n,o){!1===n&&u.shouldInvalidate.apply(u,[r].concat(Object(M.a)(o)))&&e.dispatch("core/data").invalidateResolution(t,i,o)}))})),n(r)}}}};function B(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?B(Object(n),!0).forEach((function(t){Object(u.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):B(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var z,U=(z="selectorName",function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r=n[z];if(void 0===r)return t;var o=e(t[r],n);return o===t[r]?t:F(F({},t),{},Object(u.a)({},r,o))}})((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new k.a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":var n="START_RESOLUTION"===t.type,r=new k.a(e);return r.set(t.args,n),r;case"INVALIDATE_RESOLUTION":var o=new k.a(e);return o.delete(t.args),o}return e})),H=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return Object(O.has)(e,[t.selectorName])?Object(O.omit)(e,[t.selectorName]):e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"INVALIDATE_RESOLUTION":return U(e,t)}return e};function W(e,t,n){var r=Object(O.get)(e,[t]);if(r)return r.get(n)}function $(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return void 0!==W(e,t,n)}function V(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!1===W(e,t,n)}function G(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!0===W(e,t,n)}function q(e){return e}function Y(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function X(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function K(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function Q(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function J(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}function Z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ee(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Z(Object(n),!0).forEach((function(t){Object(u.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function te(e,t){return{name:e,instantiate:function(n){var i,u,c=t.reducer,s=function(e,t,n,r){var o=ee(ee({},t.controls),I.a),i=Object(O.mapValues)(o,(function(e){return e.isRegistryControl?e(n):e})),a=[D(n,e),N,R(i)];t.__experimentalUseThunks&&a.push((u=r,function(){return function(e){return function(t){return"function"==typeof t?t(u):e(t)}}}));var u;var c=[y.apply(void 0,a)];"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&c.push(window.__REDUX_DEVTOOLS_EXTENSION__({name:e,instanceId:e}));var l=t.reducer,s=t.initialState;return g(j()({metadata:H,root:l}),{root:s},Object(O.flowRight)(c))}(e,t,n,{registry:n,get dispatch(){return Object.assign((function(e){return s.dispatch(e)}),m())},get select(){return Object.assign((function(e){return e(s.__unstableOriginalGetState())}),v())},get resolveSelect(){return w()}}),f=(i={},{isRunning:function(e,t){return i[e]&&i[e].get(t)},clear:function(e,t){i[e]&&i[e].delete(t)},markAsRunning:function(e,t){i[e]||(i[e]=new k.a),i[e].set(t,!0)}}),d=function(e,t){return Object(O.mapValues)(e,(function(e){return function(){return Promise.resolve(t.dispatch(e.apply(void 0,arguments)))}}))}(ee(ee({},o),t.actions),s),p=function(e,t){return Object(O.mapValues)(e,(function(e){var n=function(){var n=arguments.length,r=new Array(n+1);r[0]=t.__unstableOriginalGetState();for(var o=0;o<n;o++)r[o+1]=arguments[o];return e.apply(void 0,r)};return n.hasResolver=!1,n}))}(ee(ee({},Object(O.mapValues)(r,(function(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.metadata].concat(r))}}))),Object(O.mapValues)(t.selectors,(function(e){return e.isRegistrySelector&&(e.registry=n),function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.root].concat(r))}}))),s);if(t.resolvers){var h=function(e,t,n,r){var o=Object(O.mapValues)(e,(function(e){return e.fulfill?e:ee(ee({},e),{},{fulfill:e})}));return{resolvers:o,selectors:Object(O.mapValues)(t,(function(t,i){var u=e[i];if(!u)return t.hasResolver=!1,t;var c=function(){for(var e=arguments.length,c=new Array(e),s=0;s<e;s++)c[s]=arguments[s];function f(){return d.apply(this,arguments)}function d(){return(d=a(l.a.mark((function e(){var t,s;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.getState(),!(r.isRunning(i,c)||"function"==typeof u.isFulfilled&&u.isFulfilled.apply(u,[t].concat(c)))){e.next=3;break}return e.abrupt("return");case 3:if(s=n.__unstableOriginalGetState(),!$(s.metadata,i,c)){e.next=6;break}return e.abrupt("return");case 6:r.markAsRunning(i,c),setTimeout(a(l.a.mark((function e(){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r.clear(i,c),n.dispatch(Y(i,c)),e.next=4,ne.apply(void 0,[n,o,i].concat(c));case 4:n.dispatch(X(i,c));case 5:case"end":return e.stop()}}),e)}))));case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return f.apply(void 0,c),t.apply(void 0,c)};return c.hasResolver=!0,c}))}}(t.resolvers,p,s,f);u=h.resolvers,p=h.selectors}var b=function(e,t){return Object(O.mapValues)(Object(O.omit)(e,["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"]),(function(n,r){return function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return new Promise((function(o){var a=function(){return e.hasFinishedResolution(r,i)},u=function(){return n.apply(null,i)},c=u();if(a())return o(c);var l=t.subscribe((function(){a()&&(l(),o(u()))}))}))}}))}(p,s),v=function(){return p},m=function(){return d},w=function(){return b};s.__unstableOriginalGetState=s.getState,s.getState=function(){return s.__unstableOriginalGetState().root};var x=s&&function(e){var t=s.__unstableOriginalGetState();return s.subscribe((function(){var n=s.__unstableOriginalGetState(),r=n!==t;t=n,r&&e()}))};return{reducer:c,store:s,actions:d,selectors:p,resolvers:u,getSelectors:v,getResolveSelectors:w,getActions:m,subscribe:x}}}}function ne(e,t,n){return re.apply(this,arguments)}function re(){return(re=a(l.a.mark((function e(t,n,r){var o,i,a,u,c,s=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=Object(O.get)(n,[r])){e.next=3;break}return e.abrupt("return");case 3:for(i=s.length,a=new Array(i>3?i-3:0),u=3;u<i;u++)a[u-3]=s[u];if(!(c=o.fulfill.apply(o,a))){e.next=8;break}return e.next=8,t.dispatch(c);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(10),o=n(3),i=n(2),a=n(79);function u(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 c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){Object(o.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l=function(e){return{getSelectors:function(){return["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"].reduce((function(t,n){return c(c({},t),{},Object(o.a)({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.select(n))[t].apply(r,i)}}(n)))}),{})},getActions:function(){return["startResolution","finishResolution","invalidateResolution","invalidateResolutionForStore","invalidateResolutionForStoreSelector"].reduce((function(t,n){return c(c({},t),{},Object(o.a)({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.dispatch(n))[t].apply(r,i)}}(n)))}),{})},subscribe:function(){return function(){}}}};function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){Object(o.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n={},o=[],u=new Set;function c(){o.forEach((function(e){return e()}))}var s=function(e){return o.push(e),function(){o=Object(i.without)(o,e)}};function d(e){var r=Object(i.isObject)(e)?e.name:e;u.add(r);var o=n[r];return o?o.getSelectors():t&&t.select(r)}function p(e,t){u.clear();var n=e.call(this);return t.current=Array.from(u),n}function h(e){var r=Object(i.isObject)(e)?e.name:e;u.add(r);var o=n[r];return o?o.getResolveSelectors():t&&t.resolveSelect(r)}function b(e){var r=Object(i.isObject)(e)?e.name:e,o=n[r];return o?o.getActions():t&&t.dispatch(r)}function v(e){return Object(i.mapValues)(e,(function(e,t){return"function"!=typeof e?e:function(){return O[t].apply(null,arguments)}}))}function g(e,t){if("function"!=typeof t.getSelectors)throw new TypeError("config.getSelectors must be a function");if("function"!=typeof t.getActions)throw new TypeError("config.getActions must be a function");if("function"!=typeof t.subscribe)throw new TypeError("config.subscribe must be a function");n[e]=t,t.subscribe(c)}function m(e){g(e.name,e.instantiate(O))}function y(e,r){return e in n?n[e].subscribe(r):t?t.__experimentalSubscribeStore(e,r):s(r)}var O={registerGenericStore:g,stores:n,namespaces:n,subscribe:s,select:d,resolveSelect:h,dispatch:b,use:w,register:m,__experimentalMarkListeningStores:p,__experimentalSubscribeStore:y};function w(e,t){return O=f(f({},O),e(O,t))}return O.registerStore=function(e,t){if(!t.reducer)throw new TypeError("Must specify store reducer");var n=Object(a.a)(e,t).instantiate(O);return g(e,n),n.store},g("core/data",l(O)),Object.entries(e).forEach((function(e){var t=Object(r.a)(e,2),n=t[0],o=t[1];return O.registerStore(n,o)})),t&&t.subscribe(c),v(O)}},function(e,t,n){var r;
|
15 |
+
/*!
|
16 |
+
Copyright (c) 2015 Jed Watson.
|
17 |
+
Based on code that is Copyright 2013-2015, Facebook, Inc.
|
18 |
+
All rights reserved.
|
19 |
+
*/!function(){"use strict";var o=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};void 0===(r=function(){return i}.call(t,n,t,e))||(e.exports=r)}()},function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";t.a=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}},function(e,t){function n(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}e.exports=n,e.exports.default=n},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0);function o(e,t){var n=Object(r.useState)((function(){return{inputs:t,result:e()}}))[0],o=Object(r.useRef)(!0),i=Object(r.useRef)(n),a=o.current||Boolean(t&&i.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,i.current.inputs))?i.current:{inputs:t,result:e()};return Object(r.useEffect)((function(){o.current=!1,i.current=a}),[a]),a.result}},function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(13),o=n(66),i=n(49),a=n(16),u=n(28).a.css,c={gridGap:"space",gridColumnGap:"space",gridRowGap:"space",gap:"space",columnGap:"space",rowGap:"space"},l={space:a.a};function s(e,t){var n=c[e],r=t;n&&(l&&(r=(0,l[n])(t)));return r}function f(e){void 0===e&&(e={});var t={};for(var n in e)t[n]=s(n,e[n]);return t}function d(e){return e&&void 0!==e[r.h]}function p(e){if(i.a.objectInterpolation(e))return u(f(Object(o.a)(e,s)));for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];if(Array.isArray(e)){for(var c=0,l=e.length;c<l;c++){var p=e[c];i.a.objectInterpolation(p)&&(e[c]=f(Object(o.a)(p,s)))}var h=n.map((function(e){return e&&d(e)?"."+e[r.h]:e}));return u.apply(void 0,[e].concat(h))}return u.apply(void 0,[e].concat(n))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return b}));var r=n(41);var o=function(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)};var i=function(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)};var a=function(e,t){return function(n,r,a){var u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10,c=e[t];if(i(n)&&o(r))if("function"==typeof a)if("number"==typeof u){var l={callback:a,priority:u,namespace:r};if(c[n]){var s,f=c[n].handlers;for(s=f.length;s>0&&!(u>=f[s-1].priority);s--);s===f.length?f[s]=l:f.splice(s,0,l),c.__current.forEach((function(e){e.name===n&&e.currentIndex>=s&&e.currentIndex++}))}else c[n]={handlers:[l],runs:0};"hookAdded"!==n&&e.doAction("hookAdded",n,r,a,u)}else console.error("If specified, the hook priority must be a number.");else console.error("The hook callback must be a function.")}};var u=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(r,a){var u=e[t];if(i(r)&&(n||o(a))){if(!u[r])return 0;var c=0;if(n)c=u[r].handlers.length,u[r]={runs:u[r].runs,handlers:[]};else for(var l=u[r].handlers,s=function(e){l[e].namespace===a&&(l.splice(e,1),c++,u.__current.forEach((function(t){t.name===r&&t.currentIndex>=e&&t.currentIndex--})))},f=l.length-1;f>=0;f--)s(f);return"hookRemoved"!==r&&e.doAction("hookRemoved",r,a),c}}};var c=function(e,t){return function(n,r){var o=e[t];return void 0!==r?n in o&&o[n].handlers.some((function(e){return e.namespace===r})):n in o}};n(26);var l=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(r){var o=e[t];o[r]||(o[r]={handlers:[],runs:0}),o[r].runs++;var i=o[r].handlers;for(var a=arguments.length,u=new Array(a>1?a-1:0),c=1;c<a;c++)u[c-1]=arguments[c];if(!i||!i.length)return n?u[0]:void 0;var l={name:r,currentIndex:0};for(o.__current.push(l);l.currentIndex<i.length;){var s=i[l.currentIndex],f=s.callback.apply(null,u);n&&(u[0]=f),l.currentIndex++}return o.__current.pop(),n?u[0]:void 0}};var s=function(e,t){return function(){var n,r,o=e[t];return null!==(n=null===(r=o.__current[o.__current.length-1])||void 0===r?void 0:r.name)&&void 0!==n?n:null}};var f=function(e,t){return function(n){var r=e[t];return void 0===n?void 0!==r.__current[0]:!!r.__current[0]&&n===r.__current[0].name}};var d=function(e,t){return function(n){var r=e[t];if(i(n))return r[n]&&r[n].runs?r[n].runs:0}},p=function e(){Object(r.a)(this,e),this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=a(this,"actions"),this.addFilter=a(this,"filters"),this.removeAction=u(this,"actions"),this.removeFilter=u(this,"filters"),this.hasAction=c(this,"actions"),this.hasFilter=c(this,"filters"),this.removeAllActions=u(this,"actions",!0),this.removeAllFilters=u(this,"filters",!0),this.doAction=l(this,"actions"),this.applyFilters=l(this,"filters",!0),this.currentAction=s(this,"actions"),this.currentFilter=s(this,"filters"),this.doingAction=f(this,"actions"),this.doingFilter=f(this,"filters"),this.didAction=d(this,"actions"),this.didFilter=d(this,"filters")};var h=function(){return new p}(),b=(h.addAction,h.addFilter,h.removeAction,h.removeFilter,h.hasAction,h.hasFilter,h.removeAllActions,h.removeAllFilters,h.doAction);h.applyFilters,h.currentAction,h.currentFilter,h.doingAction,h.doingFilter,h.didAction,h.didFilter,h.actions,h.filters},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(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)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="data-g2-component";function o(e){var t;return(t={})[r]=e,t}},function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var r=n(55),o={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},i=n(85),a=/[A-Z]|^ms/g,u=/_EMO_([^_]+?)_([^]*?)_EMO_/g,c=function(e){return 45===e.charCodeAt(1)},l=function(e){return null!=e&&"boolean"!=typeof e},s=Object(i.a)((function(e){return c(e)?e:e.replace(a,"-$&").toLowerCase()})),f=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(u,(function(e,t,n){return p={name:t,styles:n,next:p},t}))}return 1===o[e]||c(e)||"number"!=typeof t||0===t?t:t+"px"};function d(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+=d(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]+"}":l(a)&&(r+=s(i)+":"+f(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var u=d(e,t,a,!1);switch(i){case"animation":case"animationName":r+=s(i)+":"+u+";";break;default:r+=i+"{"+u+"}"}}else for(var c=0;c<a.length;c++)l(a[c])&&(r+=s(i)+":"+f(i,a[c])+";")}return r}(e,t,n);case"function":if(void 0!==e){var i=p,a=n(e);return p=i,d(e,t,a,r)}break;case"string":}if(null==t)return n;var u=t[n];return void 0===u||r?n:u}var p,h=/label:\s*([^\s;\n{]+)\s*;/g;var b=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+=d(n,t,a,!1)):i+=a[0];for(var u=1;u<e.length;u++)i+=d(n,t,e[u],46===i.charCodeAt(i.length-1)),o&&(i+=a[u]);h.lastIndex=0;for(var c,l="";null!==(c=h.exec(i));)l+="-"+c[1];return{name:Object(r.a)(i)+l,styles:i,next:p}}},,,function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(96);var i=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n));return r.type="decl",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),t}(((r=o)&&r.__esModule?r:{default:r}).default);t.default=i,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=c(n(125)),i=c(n(134)),a=c(n(98)),u=c(n(135));function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var s=function e(t,n){var o=new t.constructor;for(var i in t)if(t.hasOwnProperty(i)){var a=t[i],u=void 0===a?"undefined":r(a);"parent"===i&&"object"===u?n&&(o[i]=n):"source"===i?o[i]=a:a instanceof Array?o[i]=a.map((function(t){return e(t,o)})):("object"===u&&null!==a&&(a=e(a)),o[i]=a)}return o},f=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(l(this,e),this.raws={},"object"!==(void 0===t?"undefined":r(t))&&void 0!==t)throw new Error("PostCSS nodes constructor accepts object, not "+JSON.stringify(t));for(var n in t)this[n]=t[n]}return e.prototype.error=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.source){var n=this.positionBy(t);return this.source.input.error(e,n.line,n.column,t)}return new o.default(e)},e.prototype.warn=function(e,t,n){var r={node:this};for(var o in n)r[o]=n[o];return e.warn(t,r)},e.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},e.prototype.toString=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.default;e.stringify&&(e=e.stringify);var t="";return e(this,(function(e){t+=e})),t},e.prototype.clone=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=s(this);for(var n in e)t[n]=e[n];return t},e.prototype.cloneBefore=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.clone(e);return this.parent.insertBefore(this,t),t},e.prototype.cloneAfter=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.clone(e);return this.parent.insertAfter(this,t),t},e.prototype.replaceWith=function(){if(this.parent){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t,o=Array.isArray(r),i=0;for(r=o?r:r[Symbol.iterator]();;){var a;if(o){if(i>=r.length)break;a=r[i++]}else{if((i=r.next()).done)break;a=i.value}var u=a;this.parent.insertBefore(this,u)}this.remove()}return this},e.prototype.moveTo=function(e){return(0,u.default)("Node#moveTo was deprecated. Use Container#append."),this.cleanRaws(this.root()===e.root()),this.remove(),e.append(this),this},e.prototype.moveBefore=function(e){return(0,u.default)("Node#moveBefore was deprecated. Use Node#before."),this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertBefore(e,this),this},e.prototype.moveAfter=function(e){return(0,u.default)("Node#moveAfter was deprecated. Use Node#after."),this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertAfter(e,this),this},e.prototype.next=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e+1]}},e.prototype.prev=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e-1]}},e.prototype.before=function(e){return this.parent.insertBefore(this,e),this},e.prototype.after=function(e){return this.parent.insertAfter(this,e),this},e.prototype.toJSON=function(){var e={};for(var t in this)if(this.hasOwnProperty(t)&&"parent"!==t){var n=this[t];n instanceof Array?e[t]=n.map((function(e){return"object"===(void 0===e?"undefined":r(e))&&e.toJSON?e.toJSON():e})):"object"===(void 0===n?"undefined":r(n))&&n.toJSON?e[t]=n.toJSON():e[t]=n}return e},e.prototype.raw=function(e,t){return(new i.default).raw(this,e,t)},e.prototype.root=function(){for(var e=this;e.parent;)e=e.parent;return e},e.prototype.cleanRaws=function(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between},e.prototype.positionInside=function(e){for(var t=this.toString(),n=this.source.start.column,r=this.source.start.line,o=0;o<e;o++)"\n"===t[o]?(n=1,r+=1):n+=1;return{line:r,column:n}},e.prototype.positionBy=function(e){var t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){var n=this.toString().indexOf(e.word);-1!==n&&(t=this.positionInside(n))}return t},e}();t.default=f,e.exports=t.default},function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}t.resolve=function(){for(var t="",o=!1,i=arguments.length-1;i>=-1&&!o;i--){var a=i>=0?arguments[i]:e.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,o="/"===a.charAt(0))}return(o?"/":"")+(t=n(r(t.split("/"),(function(e){return!!e})),!o).join("/"))||"."},t.normalize=function(e){var i=t.isAbsolute(e),a="/"===o(e,-1);return(e=n(r(e.split("/"),(function(e){return!!e})),!i).join("/"))||i||(e="."),e&&a&&(e+="/"),(i?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(r(e,(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var o=r(e.split("/")),i=r(n.split("/")),a=Math.min(o.length,i.length),u=a,c=0;c<a;c++)if(o[c]!==i[c]){u=c;break}var l=[];for(c=u;c<o.length;c++)l.push("..");return(l=l.concat(i.slice(u))).join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!=typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,o=!0,i=e.length-1;i>=1;--i)if(47===(t=e.charCodeAt(i))){if(!o){r=i;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=function(e){"string"!=typeof e&&(e+="");var t,n=0,r=-1,o=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){n=t+1;break}}else-1===r&&(o=!1,r=t+1);return-1===r?"":e.slice(n,r)}(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!=typeof e&&(e+="");for(var t=-1,n=0,r=-1,o=!0,i=0,a=e.length-1;a>=0;--a){var u=e.charCodeAt(a);if(47!==u)-1===r&&(o=!1,r=a+1),46===u?-1===t?t=a:1!==i&&(i=1):-1!==t&&(i=-1);else if(!o){n=a+1;break}}return-1===t||-1===r||0===i||1===i&&t===r-1&&t===n+1?"":e.slice(t,r)};var o="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n(50))},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){new i.default(t).stringify(e)};var r,o=n(134),i=(r=o)&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(t&&t.safe)throw new Error('Option safe was removed. Use parser: require("postcss-safe-parser")');var n=new o.default(e,t),i=new r.default(n);try{i.parse()}catch(e){throw"CssSyntaxError"===e.name&&t&&t.from&&(/\.scss$/i.test(t.from)?e.message+="\nYou tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser":/\.sass/i.test(t.from)?e.message+="\nYou tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser":/\.less$/i.test(t.from)&&(e.message+="\nYou tried to parse Less with the standard CSS parser; try again with the postcss-less parser")),e}return i.root};var r=i(n(213)),o=i(n(128));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(96);var i=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n));return r.type="comment",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),t}(((r=o)&&r.__esModule?r:{default:r}).default);t.default=i,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=a(n(95)),i=a(n(100));function a(e){return e&&e.__esModule?e:{default:e}}function u(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 l=function(e){function t(){return u(this,t),c(this,e.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),t.prototype.push=function(e){return e.parent=this,this.nodes.push(e),this},t.prototype.each=function(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var t=this.lastEach;if(this.indexes[t]=0,this.nodes){for(var n=void 0,r=void 0;this.indexes[t]<this.nodes.length&&(n=this.indexes[t],!1!==(r=e(this.nodes[n],n)));)this.indexes[t]+=1;return delete this.indexes[t],r}},t.prototype.walk=function(e){return this.each((function(t,n){var r=e(t,n);return!1!==r&&t.walk&&(r=t.walk(e)),r}))},t.prototype.walkDecls=function(e,t){return t?e instanceof RegExp?this.walk((function(n,r){if("decl"===n.type&&e.test(n.prop))return t(n,r)})):this.walk((function(n,r){if("decl"===n.type&&n.prop===e)return t(n,r)})):(t=e,this.walk((function(e,n){if("decl"===e.type)return t(e,n)})))},t.prototype.walkRules=function(e,t){return t?e instanceof RegExp?this.walk((function(n,r){if("rule"===n.type&&e.test(n.selector))return t(n,r)})):this.walk((function(n,r){if("rule"===n.type&&n.selector===e)return t(n,r)})):(t=e,this.walk((function(e,n){if("rule"===e.type)return t(e,n)})))},t.prototype.walkAtRules=function(e,t){return t?e instanceof RegExp?this.walk((function(n,r){if("atrule"===n.type&&e.test(n.name))return t(n,r)})):this.walk((function(n,r){if("atrule"===n.type&&n.name===e)return t(n,r)})):(t=e,this.walk((function(e,n){if("atrule"===e.type)return t(e,n)})))},t.prototype.walkComments=function(e){return this.walk((function(t,n){if("comment"===t.type)return e(t,n)}))},t.prototype.append=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t,o=Array.isArray(r),i=0;for(r=o?r:r[Symbol.iterator]();;){var a;if(o){if(i>=r.length)break;a=r[i++]}else{if((i=r.next()).done)break;a=i.value}var u=a,c=this.normalize(u,this.last),l=c,s=Array.isArray(l),f=0;for(l=s?l:l[Symbol.iterator]();;){var d;if(s){if(f>=l.length)break;d=l[f++]}else{if((f=l.next()).done)break;d=f.value}var p=d;this.nodes.push(p)}}return this},t.prototype.prepend=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t=t.reverse(),o=Array.isArray(r),i=0;for(r=o?r:r[Symbol.iterator]();;){var a;if(o){if(i>=r.length)break;a=r[i++]}else{if((i=r.next()).done)break;a=i.value}var u=a,c=this.normalize(u,this.first,"prepend").reverse(),l=c,s=Array.isArray(l),f=0;for(l=s?l:l[Symbol.iterator]();;){var d;if(s){if(f>=l.length)break;d=l[f++]}else{if((f=l.next()).done)break;d=f.value}var p=d;this.nodes.unshift(p)}for(var h in this.indexes)this.indexes[h]=this.indexes[h]+c.length}return this},t.prototype.cleanRaws=function(t){if(e.prototype.cleanRaws.call(this,t),this.nodes){var n=this.nodes,r=Array.isArray(n),o=0;for(n=r?n:n[Symbol.iterator]();;){var i;if(r){if(o>=n.length)break;i=n[o++]}else{if((o=n.next()).done)break;i=o.value}i.cleanRaws(t)}}},t.prototype.insertBefore=function(e,t){var n=0===(e=this.index(e))&&"prepend",r=this.normalize(t,this.nodes[e],n).reverse(),o=r,i=Array.isArray(o),a=0;for(o=i?o:o[Symbol.iterator]();;){var u;if(i){if(a>=o.length)break;u=o[a++]}else{if((a=o.next()).done)break;u=a.value}var c=u;this.nodes.splice(e,0,c)}var l=void 0;for(var s in this.indexes)e<=(l=this.indexes[s])&&(this.indexes[s]=l+r.length);return this},t.prototype.insertAfter=function(e,t){e=this.index(e);var n=this.normalize(t,this.nodes[e]).reverse(),r=n,o=Array.isArray(r),i=0;for(r=o?r:r[Symbol.iterator]();;){var a;if(o){if(i>=r.length)break;a=r[i++]}else{if((i=r.next()).done)break;a=i.value}var u=a;this.nodes.splice(e+1,0,u)}var c=void 0;for(var l in this.indexes)e<(c=this.indexes[l])&&(this.indexes[l]=c+n.length);return this},t.prototype.removeChild=function(e){e=this.index(e),this.nodes[e].parent=void 0,this.nodes.splice(e,1);var t=void 0;for(var n in this.indexes)(t=this.indexes[n])>=e&&(this.indexes[n]=t-1);return this},t.prototype.removeAll=function(){var e=this.nodes,t=Array.isArray(e),n=0;for(e=t?e:e[Symbol.iterator]();;){var r;if(t){if(n>=e.length)break;r=e[n++]}else{if((n=e.next()).done)break;r=n.value}r.parent=void 0}return this.nodes=[],this},t.prototype.replaceValues=function(e,t,n){return n||(n=t,t={}),this.walkDecls((function(r){t.props&&-1===t.props.indexOf(r.prop)||t.fast&&-1===r.value.indexOf(t.fast)||(r.value=r.value.replace(e,n))})),this},t.prototype.every=function(e){return this.nodes.every(e)},t.prototype.some=function(e){return this.nodes.some(e)},t.prototype.index=function(e){return"number"==typeof e?e:this.nodes.indexOf(e)},t.prototype.normalize=function(e,t){var r=this;if("string"==typeof e)e=function e(t){return t.map((function(t){return t.nodes&&(t.nodes=e(t.nodes)),delete t.source,t}))}(n(99)(e).nodes);else if(Array.isArray(e)){var a=e=e.slice(0),u=Array.isArray(a),c=0;for(a=u?a:a[Symbol.iterator]();;){var l;if(u){if(c>=a.length)break;l=a[c++]}else{if((c=a.next()).done)break;l=c.value}var s=l;s.parent&&s.parent.removeChild(s,"ignore")}}else if("root"===e.type){var f=e=e.nodes.slice(0),d=Array.isArray(f),p=0;for(f=d?f:f[Symbol.iterator]();;){var h;if(d){if(p>=f.length)break;h=f[p++]}else{if((p=f.next()).done)break;h=p.value}var b=h;b.parent&&b.parent.removeChild(b,"ignore")}}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new o.default(e)]}else if(e.selector){e=[new(n(71))(e)]}else if(e.name){e=[new(n(70))(e)]}else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new i.default(e)]}return e.map((function(e){return"function"!=typeof e.before&&(e=r.rebuild(e)),e.parent&&e.parent.removeChild(e),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/[^\s]/g,"")),e.parent=r,e}))},t.prototype.rebuild=function(e,t){var r=this,a=void 0;if("root"===e.type){var u=n(102);a=new u}else if("atrule"===e.type){var c=n(70);a=new c}else if("rule"===e.type){var l=n(71);a=new l}else"decl"===e.type?a=new o.default:"comment"===e.type&&(a=new i.default);for(var s in e)"nodes"===s?a.nodes=e.nodes.map((function(e){return r.rebuild(e,a)})):"parent"===s&&t?a.parent=t:e.hasOwnProperty(s)&&(a[s]=e[s]);return a},r(t,[{key:"first",get:function(){if(this.nodes)return this.nodes[0]}},{key:"last",get:function(){if(this.nodes)return this.nodes[this.nodes.length-1]}}]),t}(a(n(96)).default);t.default=l,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(101);var i=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n));return r.type="root",r.nodes||(r.nodes=[]),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),t.prototype.removeChild=function(t,n){var r=this.index(t);return!n&&0===r&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),e.prototype.removeChild.call(this,t)},t.prototype.normalize=function(t,n,r){var o=e.prototype.normalize.call(this,t);if(n)if("prepend"===r)this.nodes.length>1?n.raws.before=this.nodes[1].raws.before:delete n.raws.before;else if(this.first!==n){var i=o,a=Array.isArray(i),u=0;for(i=a?i:i[Symbol.iterator]();;){var c;if(a){if(u>=i.length)break;c=i[u++]}else{if((u=i.next()).done)break;c=u.value}c.raws.before=n.raws.before}}return o},t.prototype.toResult=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n(137),r=n(136),o=new t(new r,this,e);return o.stringify()},t}(((r=o)&&r.__esModule?r:{default:r}).default);t.default=i,e.exports=t.default},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),o=Object(r.createContext)(!1);o.Consumer,o.Provider},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));n(76);var r=n(37),o=(r.a.select,r.a.resolveSelect,r.a.dispatch,r.a.subscribe,r.a.registerGenericStore,r.a.registerStore);r.a.use,r.a.register},,function(e,t,n){var r,o,i;o=[],void 0===(i="function"==typeof(r=function(){var e=/(auto|scroll)/,t=function(e,n){return null===e.parentNode?n:t(e.parentNode,n.concat([e]))},n=function(e,t){return getComputedStyle(e,null).getPropertyValue(t)},r=function(t){return e.test(function(e){return n(e,"overflow")+n(e,"overflow-y")+n(e,"overflow-x")}(t))};return function(e){if(e instanceof HTMLElement||e instanceof SVGElement){for(var n=t(e.parentNode,[]),o=0;o<n.length;o+=1)if(r(n[o]))return n[o];return document.scrollingElement||document.documentElement}}})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t,n,r){return"boolean"==typeof e?e:"function"==typeof e?e(t,n,r):!(!0!=!!e||!e)},o=function(e,t){return Object.hasOwnProperty.call(e,t)},i=function(e,t,n,r){return r?new Error(r):new Error("Required "+e[t]+" `"+t+"` was not specified in `"+n+"`.")};t.default=function(e,t,n){return function(e,t){if("function"!=typeof e)throw new TypeError("The typeValidator argument must be a function with the signature function(props, propName, componentName).");if(t&&"string"!=typeof t)throw new TypeError("The error message is optional, but must be a string if provided.")}(e,n),function(a,u,c){for(var l=arguments.length,s=Array(3<l?l-3:0),f=3;f<l;f++)s[f-3]=arguments[f];return r(t,a,u,c)?o(a,u)?e.apply(void 0,[a,u,c].concat(s)):i(a,u,c,n):e.apply(void 0,[a,u,c].concat(s))}}},function(e,t,n){"use strict";(function(e){
|
20 |
+
/**!
|
21 |
+
* @fileOverview Kickass library to create and place poppers near their reference elements.
|
22 |
+
* @version 1.16.1
|
23 |
+
* @license
|
24 |
+
* Copyright (c) 2016 Federico Zivolo and contributors
|
25 |
+
*
|
26 |
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
27 |
+
* of this software and associated documentation files (the "Software"), to deal
|
28 |
+
* in the Software without restriction, including without limitation the rights
|
29 |
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
30 |
+
* copies of the Software, and to permit persons to whom the Software is
|
31 |
+
* furnished to do so, subject to the following conditions:
|
32 |
+
*
|
33 |
+
* The above copyright notice and this permission notice shall be included in all
|
34 |
+
* copies or substantial portions of the Software.
|
35 |
+
*
|
36 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
37 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
38 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
39 |
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
40 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
41 |
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
42 |
+
* SOFTWARE.
|
43 |
+
*/
|
44 |
+
var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,r=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(n&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var o=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),r))}};function i(e){return e&&"[object Function]"==={}.toString.call(e)}function a(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function u(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function c(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=a(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:c(u(e))}function l(e){return e&&e.referenceNode?e.referenceNode:e}var s=n&&!(!window.MSInputMethodContext||!document.documentMode),f=n&&/MSIE 10/.test(navigator.userAgent);function d(e){return 11===e?s:10===e?f:s||f}function p(e){if(!e)return document.documentElement;for(var t=d(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?p(n):n:e?e.ownerDocument.documentElement:document.documentElement}function h(e){return null!==e.parentNode?h(e.parentNode):e}function b(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a,u,c=i.commonAncestorContainer;if(e!==c&&t!==c||r.contains(o))return"BODY"===(u=(a=c).nodeName)||"HTML"!==u&&p(a.firstElementChild)!==a?p(c):c;var l=h(e);return l.host?b(l.host,t):b(e,h(t).host)}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var o=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||o;return i[n]}return e[n]}function g(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=v(t,"top"),o=v(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=o*i,e.right+=o*i,e}function m(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function y(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],d(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function O(e){var t=e.body,n=e.documentElement,r=d(10)&&getComputedStyle(n);return{height:y("Height",t,n,r),width:y("Width",t,n,r)}}var w=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},j=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),x=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function _(e){return k({},e,{right:e.left+e.width,bottom:e.top+e.height})}function S(e){var t={};try{if(d(10)){t=e.getBoundingClientRect();var n=v(e,"top"),r=v(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?O(e.ownerDocument):{},u=i.width||e.clientWidth||o.width,c=i.height||e.clientHeight||o.height,l=e.offsetWidth-u,s=e.offsetHeight-c;if(l||s){var f=a(e);l-=m(f,"x"),s-=m(f,"y"),o.width-=l,o.height-=s}return _(o)}function E(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=d(10),o="HTML"===t.nodeName,i=S(e),u=S(t),l=c(e),s=a(t),f=parseFloat(s.borderTopWidth),p=parseFloat(s.borderLeftWidth);n&&o&&(u.top=Math.max(u.top,0),u.left=Math.max(u.left,0));var h=_({top:i.top-u.top-f,left:i.left-u.left-p,width:i.width,height:i.height});if(h.marginTop=0,h.marginLeft=0,!r&&o){var b=parseFloat(s.marginTop),v=parseFloat(s.marginLeft);h.top-=f-b,h.bottom-=f-b,h.left-=p-v,h.right-=p-v,h.marginTop=b,h.marginLeft=v}return(r&&!n?t.contains(l):t===l&&"BODY"!==l.nodeName)&&(h=g(h,t)),h}function C(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=E(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:v(n),u=t?0:v(n,"left"),c={top:a-r.top+r.marginTop,left:u-r.left+r.marginLeft,width:o,height:i};return _(c)}function P(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===a(e,"position"))return!0;var n=u(e);return!!n&&P(n)}function T(e){if(!e||!e.parentElement||d())return document.documentElement;for(var t=e.parentElement;t&&"none"===a(t,"transform");)t=t.parentElement;return t||document.documentElement}function A(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?T(e):b(e,l(t));if("viewport"===r)i=C(a,o);else{var s=void 0;"scrollParent"===r?"BODY"===(s=c(u(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===r?e.ownerDocument.documentElement:r;var f=E(s,a,o);if("HTML"!==s.nodeName||P(a))i=f;else{var d=O(e.ownerDocument),p=d.height,h=d.width;i.top+=f.top-f.marginTop,i.bottom=p+f.top,i.left+=f.left-f.marginLeft,i.right=h+f.left}}var v="number"==typeof(n=n||0);return i.left+=v?n:n.left||0,i.top+=v?n:n.top||0,i.right-=v?n:n.right||0,i.bottom-=v?n:n.bottom||0,i}function R(e){return e.width*e.height}function I(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=A(n,r,i,o),u={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},c=Object.keys(u).map((function(e){return k({key:e},u[e],{area:R(u[e])})})).sort((function(e,t){return t.area-e.area})),l=c.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),s=l.length>0?l[0].key:c[0].key,f=e.split("-")[1];return s+(f?"-"+f:"")}function N(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=r?T(t):b(t,l(n));return E(n,o,r)}function M(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function L(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function D(e,t,n){n=n.split("-")[0];var r=M(e),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",u=i?"left":"top",c=i?"height":"width",l=i?"width":"height";return o[a]=t[a]+t[c]/2-r[c]/2,o[u]=n===u?t[u]-r[l]:t[L(u)],o}function B(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function F(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=B(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&i(n)&&(t.offsets.popper=_(t.offsets.popper),t.offsets.reference=_(t.offsets.reference),t=n(t,e))})),t}function z(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=N(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=I(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=D(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=F(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function U(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function H(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var o=t[r],i=o?""+o+n:e;if(void 0!==document.body.style[i])return i}return null}function W(){return this.state.isDestroyed=!0,U(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[H("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function $(e){var t=e.ownerDocument;return t?t.defaultView:window}function V(e,t,n,r){n.updateBound=r,$(e).addEventListener("resize",n.updateBound,{passive:!0});var o=c(e);return function e(t,n,r,o){var i="BODY"===t.nodeName,a=i?t.ownerDocument.defaultView:t;a.addEventListener(n,r,{passive:!0}),i||e(c(a.parentNode),n,r,o),o.push(a)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function G(){this.state.eventsEnabled||(this.state=V(this.reference,this.options,this.state,this.scheduleUpdate))}function q(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,$(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function Y(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function X(e,t){Object.keys(t).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&Y(t[n])&&(r="px"),e.style[n]=t[n]+r}))}var K=n&&/Firefox/i.test(navigator.userAgent);function Q(e,t,n){var r=B(e,(function(e){return e.name===t})),o=!!r&&e.some((function(e){return e.name===n&&e.enabled&&e.order<r.order}));if(!o){var i="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var J=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Z=J.slice(3);function ee(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Z.indexOf(e),r=Z.slice(n+1).concat(Z.slice(0,n));return t?r.reverse():r}var te="flip",ne="clockwise",re="counterclockwise";function oe(e,t,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),u=a.indexOf(B(a,(function(e){return-1!==e.search(/,|\s/)})));a[u]&&-1===a[u].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var c=/\s*,\s*|\s+/,l=-1!==u?[a.slice(0,u).concat([a[u].split(c)[0]]),[a[u].split(c)[1]].concat(a.slice(u+1))]:[a];return(l=l.map((function(e,r){var o=(1===r?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return e;if(0===a.indexOf("%")){var u=void 0;switch(a){case"%p":u=n;break;case"%":case"%r":default:u=r}return _(u)[t]/100*i}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i}return i}(e,o,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,r){Y(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))}))})),o}var ie={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,i=o.reference,a=o.popper,u=-1!==["bottom","top"].indexOf(n),c=u?"left":"top",l=u?"width":"height",s={start:x({},c,i[c]),end:x({},c,i[c]+i[l]-a[l])};e.offsets.popper=k({},a,s[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,o=e.offsets,i=o.popper,a=o.reference,u=r.split("-")[0],c=void 0;return c=Y(+n)?[+n,0]:oe(n,i,a,u),"left"===u?(i.top+=c[0],i.left-=c[1]):"right"===u?(i.top+=c[0],i.left+=c[1]):"top"===u?(i.left+=c[0],i.top-=c[1]):"bottom"===u&&(i.left+=c[0],i.top+=c[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||p(e.instance.popper);e.instance.reference===n&&(n=p(n));var r=H("transform"),o=e.instance.popper.style,i=o.top,a=o.left,u=o[r];o.top="",o.left="",o[r]="";var c=A(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=i,o.left=a,o[r]=u,t.boundaries=c;var l=t.priority,s=e.offsets.popper,f={primary:function(e){var n=s[e];return s[e]<c[e]&&!t.escapeWithReference&&(n=Math.max(s[e],c[e])),x({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=s[n];return s[e]>c[e]&&!t.escapeWithReference&&(r=Math.min(s[n],c[e]-("right"===e?s.width:s.height))),x({},n,r)}};return l.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";s=k({},s,f[t](e))})),e.offsets.popper=s,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),u=a?"right":"bottom",c=a?"left":"top",l=a?"width":"height";return n[u]<i(r[c])&&(e.offsets.popper[c]=i(r[c])-n[l]),n[c]>i(r[u])&&(e.offsets.popper[c]=i(r[u])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!Q(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],i=e.offsets,u=i.popper,c=i.reference,l=-1!==["left","right"].indexOf(o),s=l?"height":"width",f=l?"Top":"Left",d=f.toLowerCase(),p=l?"left":"top",h=l?"bottom":"right",b=M(r)[s];c[h]-b<u[d]&&(e.offsets.popper[d]-=u[d]-(c[h]-b)),c[d]+b>u[h]&&(e.offsets.popper[d]+=c[d]+b-u[h]),e.offsets.popper=_(e.offsets.popper);var v=c[d]+c[s]/2-b/2,g=a(e.instance.popper),m=parseFloat(g["margin"+f]),y=parseFloat(g["border"+f+"Width"]),O=v-e.offsets.popper[d]-m-y;return O=Math.max(Math.min(u[s]-b,O),0),e.arrowElement=r,e.offsets.arrow=(x(n={},d,Math.round(O)),x(n,p,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(U(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=A(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=L(r),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case te:a=[r,o];break;case ne:a=ee(r);break;case re:a=ee(r,!0);break;default:a=t.behavior}return a.forEach((function(u,c){if(r!==u||a.length===c+1)return e;r=e.placement.split("-")[0],o=L(r);var l=e.offsets.popper,s=e.offsets.reference,f=Math.floor,d="left"===r&&f(l.right)>f(s.left)||"right"===r&&f(l.left)<f(s.right)||"top"===r&&f(l.bottom)>f(s.top)||"bottom"===r&&f(l.top)<f(s.bottom),p=f(l.left)<f(n.left),h=f(l.right)>f(n.right),b=f(l.top)<f(n.top),v=f(l.bottom)>f(n.bottom),g="left"===r&&p||"right"===r&&h||"top"===r&&b||"bottom"===r&&v,m=-1!==["top","bottom"].indexOf(r),y=!!t.flipVariations&&(m&&"start"===i&&p||m&&"end"===i&&h||!m&&"start"===i&&b||!m&&"end"===i&&v),O=!!t.flipVariationsByContent&&(m&&"start"===i&&h||m&&"end"===i&&p||!m&&"start"===i&&v||!m&&"end"===i&&b),w=y||O;(d||g||w)&&(e.flipped=!0,(d||g)&&(r=a[c+1]),w&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=k({},e.offsets.popper,D(e.instance.popper,e.offsets.reference,e.placement)),e=F(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),u=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(u?o[a?"width":"height"]:0),e.placement=L(t),e.offsets.popper=_(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!Q(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=B(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,r=t.y,o=e.offsets.popper,i=B(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==i?i:t.gpuAcceleration,u=p(e.instance.popper),c=S(u),l={position:o.position},s=function(e,t){var n=e.offsets,r=n.popper,o=n.reference,i=Math.round,a=Math.floor,u=function(e){return e},c=i(o.width),l=i(r.width),s=-1!==["left","right"].indexOf(e.placement),f=-1!==e.placement.indexOf("-"),d=t?s||f||c%2==l%2?i:a:u,p=t?i:u;return{left:d(c%2==1&&l%2==1&&!f&&t?r.left-1:r.left),top:p(r.top),bottom:p(r.bottom),right:d(r.right)}}(e,window.devicePixelRatio<2||!K),f="bottom"===n?"top":"bottom",d="right"===r?"left":"right",h=H("transform"),b=void 0,v=void 0;if(v="bottom"===f?"HTML"===u.nodeName?-u.clientHeight+s.bottom:-c.height+s.bottom:s.top,b="right"===d?"HTML"===u.nodeName?-u.clientWidth+s.right:-c.width+s.right:s.left,a&&h)l[h]="translate3d("+b+"px, "+v+"px, 0)",l[f]=0,l[d]=0,l.willChange="transform";else{var g="bottom"===f?-1:1,m="right"===d?-1:1;l[f]=v*g,l[d]=b*m,l.willChange=f+", "+d}var y={"x-placement":e.placement};return e.attributes=k({},y,e.attributes),e.styles=k({},l,e.styles),e.arrowStyles=k({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return X(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&X(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,o){var i=N(o,t,e,n.positionFixed),a=I(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),X(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},ae=function(){function e(t,n){var r=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};w(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=o(this.update.bind(this)),this.options=k({},e.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(k({},e.Defaults.modifiers,a.modifiers)).forEach((function(t){r.options.modifiers[t]=k({},e.Defaults.modifiers[t]||{},a.modifiers?a.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return k({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&i(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var u=this.options.eventsEnabled;u&&this.enableEventListeners(),this.state.eventsEnabled=u}return j(e,[{key:"update",value:function(){return z.call(this)}},{key:"destroy",value:function(){return W.call(this)}},{key:"enableEventListeners",value:function(){return G.call(this)}},{key:"disableEventListeners",value:function(){return q.call(this)}}]),e}();ae.Utils=("undefined"!=typeof window?window:e).PopperUtils,ae.placements=J,ae.Defaults=ie,t.a=ae}).call(this,n(69))},function(e,t,n){var r;!function(){"use strict";var o={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function i(e){return u(l(e),arguments)}function a(e,t){return i.apply(null,[e].concat(t||[]))}function u(e,t){var n,r,a,u,c,l,s,f,d,p=1,h=e.length,b="";for(r=0;r<h;r++)if("string"==typeof e[r])b+=e[r];else if("object"==typeof e[r]){if((u=e[r]).keys)for(n=t[p],a=0;a<u.keys.length;a++){if(null==n)throw new Error(i('[sprintf] Cannot access property "%s" of undefined value "%s"',u.keys[a],u.keys[a-1]));n=n[u.keys[a]]}else n=u.param_no?t[u.param_no]:t[p++];if(o.not_type.test(u.type)&&o.not_primitive.test(u.type)&&n instanceof Function&&(n=n()),o.numeric_arg.test(u.type)&&"number"!=typeof n&&isNaN(n))throw new TypeError(i("[sprintf] expecting number but found %T",n));switch(o.number.test(u.type)&&(f=n>=0),u.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,u.width?parseInt(u.width):0);break;case"e":n=u.precision?parseFloat(n).toExponential(u.precision):parseFloat(n).toExponential();break;case"f":n=u.precision?parseFloat(n).toFixed(u.precision):parseFloat(n);break;case"g":n=u.precision?String(Number(n.toPrecision(u.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=u.precision?n.substring(0,u.precision):n;break;case"t":n=String(!!n),n=u.precision?n.substring(0,u.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=u.precision?n.substring(0,u.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=u.precision?n.substring(0,u.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}o.json.test(u.type)?b+=n:(!o.number.test(u.type)||f&&!u.sign?d="":(d=f?"+":"-",n=n.toString().replace(o.sign,"")),l=u.pad_char?"0"===u.pad_char?"0":u.pad_char.charAt(1):" ",s=u.width-(d+n).length,c=u.width&&s>0?l.repeat(s):"",b+=u.align?d+n+c:"0"===l?d+c+n:c+d+n)}return b}var c=Object.create(null);function l(e){if(c[e])return c[e];for(var t,n=e,r=[],i=0;n;){if(null!==(t=o.text.exec(n)))r.push(t[0]);else if(null!==(t=o.modulo.exec(n)))r.push("%");else{if(null===(t=o.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){i|=1;var a=[],u=t[2],l=[];if(null===(l=o.key.exec(u)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(a.push(l[1]);""!==(u=u.substring(l[0].length));)if(null!==(l=o.key_access.exec(u)))a.push(l[1]);else{if(null===(l=o.index_access.exec(u)))throw new SyntaxError("[sprintf] failed to parse named argument key");a.push(l[1])}t[2]=a}else i|=2;if(3===i)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}n=n.substring(t[0].length)}return c[e]=r}t.sprintf=i,t.vsprintf=a,"undefined"!=typeof window&&(window.sprintf=i,window.vsprintf=a,void 0===(r=function(){return{sprintf:i,vsprintf:a}}.call(t,n,t,e))||(e.exports=r))}()},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return c}));var r=n(11),o=n(7),i=n(0),a=n(233),u=n(162);function c(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return null},c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Component",l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(e){return e};if(1===e.env.COMPONENT_SYSTEM_PHASE){var s=function(e,u){var s=Object(a.a)(e,c),f=s.__unstableVersion,d=Object(o.a)(s,["__unstableVersion"]);if("next"===f){var p=l(d);return Object(i.createElement)(n,Object(r.a)({},p,{ref:u}))}return Object(i.createElement)(t,Object(r.a)({},e,{ref:u}))};return Object(u.a)(s,c)}return t}}).call(this,n(50))},,,,,,,,,,,function(e,t,n){"use strict";
|
45 |
+
/*
|
46 |
+
object-assign
|
47 |
+
(c) Sindre Sorhus
|
48 |
+
@license MIT
|
49 |
+
*/var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,u,c=a(e),l=1;l<arguments.length;l++){for(var s in n=Object(arguments[l]))o.call(n,s)&&(c[s]=n[s]);if(r){u=r(n);for(var f=0;f<u.length;f++)i.call(n,u[f])&&(c[u[f]]=n[u[f]])}}return c}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(3),o=n(1),i=n(68);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 u(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){Object(r.a)(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}var c=u(u(u({},i.b),i.c),{},{buttonPrimaryTextColorActive:Object(o.d)("controlPrimaryTextColorActive"),buttonControlActiveStateTextColor:Object(o.d)("colorTextInverted"),colorBodyBackground:"#18191A",colorDivider:"rgba(255, 255, 255, 0.1)",colorScrollbarThumb:"rgba(255, 255, 255, 0.2)",colorScrollbarThumbHover:"rgba(255, 255, 255, 0.5)",colorScrollbarTrack:"rgba(0, 0, 0, 0.04)",colorText:"#E4E6EB",colorTextMuted:"#7a7a7a",colorTextInverted:"#050505",colorTextHeading:"#ffffff",controlBackgroundColor:Object(o.d)("colorBodyBackground"),controlBackgroundColorHover:"rgba(255, 255, 255, 0.3)",controlBackgroundBrightColor:"rgba(255, 255, 255, 0.08)",controlBackgroundDimColor:"rgba(255, 255, 255, 0.2)",controlBorderSubtleColor:"rgba(255, 255, 255, 0.5)",controlPrimaryTextColorActive:Object(o.d)("black"),controlPrimaryTextColor:Object(o.d)("white"),controlSurfaceColor:"rgba(255, 255, 255, 0.3)",controlTextActiveColor:Object(o.d)("white"),surfaceBackgroundColor:Object(o.d)("colorBodyBackground"),surfaceBackgroundSubtleColor:"#151515",surfaceBackgroundTintColor:"#252525",surfaceBackgroundTertiaryColor:"#000",surfaceBorderColor:"rgba(255, 255, 255, 0.1)",surfaceBorderBoldColor:"rgba(255, 255, 255, 0.15)",surfaceBorderSubtleColor:"rgba(255, 255, 255, 0.05)",surfaceColor:"#292929"}),l=u({},c)},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={colorDivider:"#444",controlBorderColor:"#444",controlBorderColorHover:"#444",controlBorderColorSubtle:"#444",surfaceBorderColor:"#444"}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={colorDivider:"#eee",controlBorderColor:"#eee",controlBorderColorHover:"#eee",controlBorderColorSubtle:"#eee",surfaceBorderColor:"#eee"}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(197)),o=a(n(126)),i=a(n(198));function a(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(t,n,r,o,i,a){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.name="CssSyntaxError",this.reason=t,i&&(this.file=i),o&&(this.source=o),a&&(this.plugin=a),void 0!==n&&void 0!==r&&(this.line=n,this.column=r),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,e)}return e.prototype.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},e.prototype.showSourceCode=function(e){var t=this;if(!this.source)return"";var n=this.source;void 0===e&&(e=r.default.stdout),e&&(n=(0,i.default)(n));var a=n.split(/\r?\n/),u=Math.max(this.line-3,0),c=Math.min(this.line+2,a.length),l=String(c).length;function s(t){return e&&o.default.red?o.default.red.bold(t):t}function f(t){return e&&o.default.gray?o.default.gray(t):t}return a.slice(u,c).map((function(e,n){var r=u+1+n,o=" "+(" "+r).slice(-l)+" | ";if(r===t.line){var i=f(o.replace(/\d/g," "))+e.slice(0,t.column-1).replace(/[^\t]/g," ");return s(">")+f(o)+e+"\n "+i+s("^")}return" "+f(o)+e})).join("\n")},e.prototype.toString=function(){var e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e},e}();t.default=u,e.exports=t.default},function(e,t){},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.css.valueOf(),u=t.ignoreErrors,c=void 0,l=void 0,s=void 0,f=void 0,d=void 0,p=void 0,h=void 0,b=void 0,v=void 0,g=void 0,m=void 0,y=void 0,O=void 0,w=void 0,j=n.length,x=-1,k=1,_=0,S=[],E=[];function C(t){throw e.error("Unclosed "+t,k,_-x)}function P(){return 0===E.length&&_>=j}function T(){if(E.length)return E.pop();if(!(_>=j)){switch((10===(c=n.charCodeAt(_))||12===c||13===c&&10!==n.charCodeAt(_+1))&&(x=_,k+=1),c){case 10:case 32:case 9:case 13:case 12:l=_;do{l+=1,10===(c=n.charCodeAt(l))&&(x=l,k+=1)}while(32===c||10===c||9===c||13===c||12===c);w=["space",n.slice(_,l)],_=l-1;break;case 91:w=["[","[",k,_-x];break;case 93:w=["]","]",k,_-x];break;case 123:w=["{","{",k,_-x];break;case 125:w=["}","}",k,_-x];break;case 58:w=[":",":",k,_-x];break;case 59:w=[";",";",k,_-x];break;case 40:if(y=S.length?S.pop()[1]:"",O=n.charCodeAt(_+1),"url"===y&&39!==O&&34!==O&&32!==O&&10!==O&&9!==O&&12!==O&&13!==O){l=_;do{if(g=!1,-1===(l=n.indexOf(")",l+1))){if(u){l=_;break}C("bracket")}for(m=l;92===n.charCodeAt(m-1);)m-=1,g=!g}while(g);w=["brackets",n.slice(_,l+1),k,_-x,k,l-x],_=l}else l=n.indexOf(")",_+1),p=n.slice(_,l+1),-1===l||i.test(p)?w=["(","(",k,_-x]:(w=["brackets",p,k,_-x,k,l-x],_=l);break;case 41:w=[")",")",k,_-x];break;case 39:case 34:s=39===c?"'":'"',l=_;do{if(g=!1,-1===(l=n.indexOf(s,l+1))){if(u){l=_+1;break}C("string")}for(m=l;92===n.charCodeAt(m-1);)m-=1,g=!g}while(g);p=n.slice(_,l+1),f=p.split("\n"),(d=f.length-1)>0?(b=k+d,v=l-f[d].length):(b=k,v=x),w=["string",n.slice(_,l+1),k,_-x,b,l-v],x=v,k=b,_=l;break;case 64:r.lastIndex=_+1,r.test(n),l=0===r.lastIndex?n.length-1:r.lastIndex-2,w=["at-word",n.slice(_,l+1),k,_-x,k,l-x],_=l;break;case 92:for(l=_,h=!0;92===n.charCodeAt(l+1);)l+=1,h=!h;if(c=n.charCodeAt(l+1),h&&47!==c&&32!==c&&10!==c&&9!==c&&13!==c&&12!==c&&(l+=1,a.test(n.charAt(l)))){for(;a.test(n.charAt(l+1));)l+=1;32===n.charCodeAt(l+1)&&(l+=1)}w=["word",n.slice(_,l+1),k,_-x,k,l-x],_=l;break;default:47===c&&42===n.charCodeAt(_+1)?(0===(l=n.indexOf("*/",_+2)+1)&&(u?l=n.length:C("comment")),p=n.slice(_,l+1),f=p.split("\n"),(d=f.length-1)>0?(b=k+d,v=l-f[d].length):(b=k,v=x),w=["comment",p,k,_-x,b,l-v],x=v,k=b,_=l):(o.lastIndex=_+1,o.test(n),l=0===o.lastIndex?n.length-1:o.lastIndex-2,w=["word",n.slice(_,l+1),k,_-x,k,l-x],S.push(w),_=l)}return _++,w}}function A(e){E.push(e)}return{back:A,nextToken:T,endOfFile:P}};var r=/[ \n\t\r\f\{\}\(\)'"\\;/\[\]#]/g,o=/[ \n\t\r\f\(\)\{\}:;@!'"\\\]\[#]|\/(?=\*)/g,i=/.[\\\/\("'\n]/,a=/[a-f0-9]/i;e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=c(n(125)),a=c(n(199)),u=c(n(97));function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var s=0,f=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(l(this,e),null===t||"object"===(void 0===t?"undefined":r(t))&&!t.toString)throw new Error("PostCSS received "+t+" instead of CSS string");this.css=t.toString(),"\ufeff"!==this.css[0]&&""!==this.css[0]||(this.css=this.css.slice(1)),n.from&&(/^\w+:\/\//.test(n.from)?this.file=n.from:this.file=u.default.resolve(n.from));var o=new a.default(this.css,n);if(o.text){this.map=o;var i=o.consumer().file;!this.file&&i&&(this.file=this.mapResolve(i))}this.file||(s+=1,this.id="<input css "+s+">"),this.map&&(this.map.file=this.from)}return e.prototype.error=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0,a=this.origin(t,n);return(o=a?new i.default(e,a.line,a.column,a.source,a.file,r.plugin):new i.default(e,t,n,this.css,this.file,r.plugin)).input={line:t,column:n,source:this.css},this.file&&(o.input.file=this.file),o},e.prototype.origin=function(e,t){if(!this.map)return!1;var n=this.map.consumer(),r=n.originalPositionFor({line:e,column:t});if(!r.source)return!1;var o={file:this.mapResolve(r.source),line:r.line,column:r.column},i=n.sourceContentFor(r.source);return i&&(o.source=i),o},e.prototype.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:u.default.resolve(this.map.consumer().sourceRoot||".",e)},o(e,[{key:"from",get:function(){return this.file||this.id}}]),e}();t.default=f,e.exports=t.default},function(e,t,n){"use strict";(function(e){
|
50 |
+
/*!
|
51 |
+
* The buffer module from node.js, for the browser.
|
52 |
+
*
|
53 |
+
* @author Feross Aboukhadijeh <http://feross.org>
|
54 |
+
* @license MIT
|
55 |
+
*/
|
56 |
+
var r=n(200),o=n(201),i=n(202);function a(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function u(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=c.prototype:(null===e&&(e=new c(t)),e.length=t),e}function c(e,t,n){if(!(c.TYPED_ARRAY_SUPPORT||this instanceof c))return new c(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return f(this,e)}return l(this,e,t,n)}function l(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);c.TYPED_ARRAY_SUPPORT?(e=t).__proto__=c.prototype:e=d(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!c.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|h(t,n),o=(e=u(e,r)).write(t,n);o!==r&&(e=e.slice(0,o));return e}(e,t,n):function(e,t){if(c.isBuffer(t)){var n=0|p(t.length);return 0===(e=u(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?u(e,0):d(e,t);if("Buffer"===t.type&&i(t.data))return d(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function s(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function f(e,t){if(s(t),e=u(e,t<0?0:0|p(t)),!c.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function d(e,t){var n=t.length<0?0:0|p(t.length);e=u(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function p(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function h(e,t){if(c.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return U(e).length;default:if(r)return z(e).length;t=(""+t).toLowerCase(),r=!0}}function b(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return P(this,t,n);case"utf8":case"utf-8":return S(this,t,n);case"ascii":return E(this,t,n);case"latin1":case"binary":return C(this,t,n);case"base64":return _(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function v(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function g(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=c.from(t,r)),c.isBuffer(t))return 0===t.length?-1:m(e,t,n,r,o);if("number"==typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):m(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function m(e,t,n,r,o){var i,a=1,u=e.length,c=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,u/=2,c/=2,n/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var s=-1;for(i=n;i<u;i++)if(l(e,i)===l(t,-1===s?0:i-s)){if(-1===s&&(s=i),i-s+1===c)return s*a}else-1!==s&&(i-=i-s),s=-1}else for(n+c>u&&(n=u-c),i=n;i>=0;i--){for(var f=!0,d=0;d<c;d++)if(l(e,i+d)!==l(t,d)){f=!1;break}if(f)return i}return-1}function y(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var a=0;a<r;++a){var u=parseInt(t.substr(2*a,2),16);if(isNaN(u))return a;e[n+a]=u}return a}function O(e,t,n,r){return H(z(t,e.length-n),e,n,r)}function w(e,t,n,r){return H(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function j(e,t,n,r){return w(e,t,n,r)}function x(e,t,n,r){return H(U(t),e,n,r)}function k(e,t,n,r){return H(function(e,t){for(var n,r,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function _(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function S(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var i,a,u,c,l=e[o],s=null,f=l>239?4:l>223?3:l>191?2:1;if(o+f<=n)switch(f){case 1:l<128&&(s=l);break;case 2:128==(192&(i=e[o+1]))&&(c=(31&l)<<6|63&i)>127&&(s=c);break;case 3:i=e[o+1],a=e[o+2],128==(192&i)&&128==(192&a)&&(c=(15&l)<<12|(63&i)<<6|63&a)>2047&&(c<55296||c>57343)&&(s=c);break;case 4:i=e[o+1],a=e[o+2],u=e[o+3],128==(192&i)&&128==(192&a)&&128==(192&u)&&(c=(15&l)<<18|(63&i)<<12|(63&a)<<6|63&u)>65535&&c<1114112&&(s=c)}null===s?(s=65533,f=1):s>65535&&(s-=65536,r.push(s>>>10&1023|55296),s=56320|1023&s),r.push(s),o+=f}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=4096));return n}(r)}t.Buffer=c,t.SlowBuffer=function(e){+e!=e&&(e=0);return c.alloc(+e)},t.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=a(),c.poolSize=8192,c._augment=function(e){return e.__proto__=c.prototype,e},c.from=function(e,t,n){return l(null,e,t,n)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(e,t,n){return function(e,t,n,r){return s(t),t<=0?u(e,t):void 0!==n?"string"==typeof r?u(e,t).fill(n,r):u(e,t).fill(n):u(e,t)}(null,e,t,n)},c.allocUnsafe=function(e){return f(null,e)},c.allocUnsafeSlow=function(e){return f(null,e)},c.isBuffer=function(e){return!(null==e||!e._isBuffer)},c.compare=function(e,t){if(!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(e,t){if(!i(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=c.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var a=e[n];if(!c.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,o),o+=a.length}return r},c.byteLength=h,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)v(this,t,t+1);return this},c.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)v(this,t,t+3),v(this,t+1,t+2);return this},c.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)v(this,t,t+7),v(this,t+1,t+6),v(this,t+2,t+5),v(this,t+3,t+4);return this},c.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?S(this,0,e):b.apply(this,arguments)},c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},c.prototype.compare=function(e,t,n,r,o){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),u=Math.min(i,a),l=this.slice(r,o),s=e.slice(t,n),f=0;f<u;++f)if(l[f]!==s[f]){i=l[f],a=s[f];break}return i<a?-1:a<i?1:0},c.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},c.prototype.indexOf=function(e,t,n){return g(this,e,t,n,!0)},c.prototype.lastIndexOf=function(e,t,n){return g(this,e,t,n,!1)},c.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return y(this,e,t,n);case"utf8":case"utf-8":return O(this,e,t,n);case"ascii":return w(this,e,t,n);case"latin1":case"binary":return j(this,e,t,n);case"base64":return x(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function E(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function C(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function P(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i<n;++i)o+=F(e[i]);return o}function T(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function A(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function R(e,t,n,r,o,i){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function I(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);o<i;++o)e[n+o]=(t&255<<8*(r?o:1-o))>>>8*(r?o:1-o)}function N(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);o<i;++o)e[n+o]=t>>>8*(r?o:3-o)&255}function M(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function L(e,t,n,r,i){return i||M(e,0,n,4),o.write(e,t,n,r,23,4),n+4}function D(e,t,n,r,i){return i||M(e,0,n,8),o.write(e,t,n,r,52,8),n+8}c.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),c.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=c.prototype;else{var o=t-e;n=new c(o,void 0);for(var i=0;i<o;++i)n[i]=this[i+e]}return n},c.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||A(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},c.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||A(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},c.prototype.readUInt8=function(e,t){return t||A(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||A(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||A(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||A(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return t||A(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||A(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r},c.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||A(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},c.prototype.readInt8=function(e,t){return t||A(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||A(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(e,t){t||A(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(e,t){return t||A(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return t||A(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return t||A(e,4,this.length),o.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||A(e,4,this.length),o.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||A(e,8,this.length),o.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||A(e,8,this.length),o.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||R(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},c.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||R(this,e,t,n,Math.pow(2,8*n)-1,0);var o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},c.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):N(this,e,t,!0),t+4},c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},c.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);R(this,e,t,n,o-1,-o)}var i=0,a=1,u=0;for(this[t]=255&e;++i<n&&(a*=256);)e<0&&0===u&&0!==this[t+i-1]&&(u=1),this[t+i]=(e/a>>0)-u&255;return t+n},c.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);R(this,e,t,n,o-1,-o)}var i=n-1,a=1,u=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===u&&0!==this[t+i+1]&&(u=1),this[t+i]=(e/a>>0)-u&255;return t+n},c.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):N(this,e,t,!0),t+4},c.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},c.prototype.writeFloatLE=function(e,t,n){return L(this,e,t,!0,n)},c.prototype.writeFloatBE=function(e,t,n){return L(this,e,t,!1,n)},c.prototype.writeDoubleLE=function(e,t,n){return D(this,e,t,!0,n)},c.prototype.writeDoubleBE=function(e,t,n){return D(this,e,t,!1,n)},c.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var o,i=r-n;if(this===e&&n<t&&t<r)for(o=i-1;o>=0;--o)e[o+t]=this[o+n];else if(i<1e3||!c.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+i),t);return i},c.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!c.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{var a=c.isBuffer(e)?e:z(new c(e,r).toString()),u=a.length;for(i=0;i<n-t;++i)this[i+t]=a[i%u]}return this};var B=/[^+\/0-9A-Za-z-_]/g;function F(e){return e<16?"0"+e.toString(16):e.toString(16)}function z(e,t){var n;t=t||1/0;for(var r=e.length,o=null,i=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function U(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(B,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function H(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}}).call(this,n(69))},function(e,t,n){t.SourceMapGenerator=n(131).SourceMapGenerator,t.SourceMapConsumer=n(205).SourceMapConsumer,t.SourceNode=n(208).SourceNode},function(e,t,n){var r=n(132),o=n(60),i=n(133).ArraySet,a=n(204).MappingList;function u(e){e||(e={}),this._file=o.getArg(e,"file",null),this._sourceRoot=o.getArg(e,"sourceRoot",null),this._skipValidation=o.getArg(e,"skipValidation",!1),this._sources=new i,this._names=new i,this._mappings=new a,this._sourcesContents=null}u.prototype._version=3,u.fromSourceMap=function(e){var t=e.sourceRoot,n=new u({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(r.source=e.source,null!=t&&(r.source=o.relative(t,r.source)),r.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(r.name=e.name)),n.addMapping(r)})),e.sources.forEach((function(r){var i=r;null!==t&&(i=o.relative(t,r)),n._sources.has(i)||n._sources.add(i);var a=e.sourceContentFor(r);null!=a&&n.setSourceContent(r,a)})),n},u.prototype.addMapping=function(e){var t=o.getArg(e,"generated"),n=o.getArg(e,"original",null),r=o.getArg(e,"source",null),i=o.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,n,r,i),null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r)),null!=i&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:r,name:i})},u.prototype.setSourceContent=function(e,t){var n=e;null!=this._sourceRoot&&(n=o.relative(this._sourceRoot,n)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[o.toSetString(n)]=t):this._sourcesContents&&(delete this._sourcesContents[o.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},u.prototype.applySourceMap=function(e,t,n){var r=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');r=e.file}var a=this._sourceRoot;null!=a&&(r=o.relative(a,r));var u=new i,c=new i;this._mappings.unsortedForEach((function(t){if(t.source===r&&null!=t.originalLine){var i=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=i.source&&(t.source=i.source,null!=n&&(t.source=o.join(n,t.source)),null!=a&&(t.source=o.relative(a,t.source)),t.originalLine=i.line,t.originalColumn=i.column,null!=i.name&&(t.name=i.name))}var l=t.source;null==l||u.has(l)||u.add(l);var s=t.name;null==s||c.has(s)||c.add(s)}),this),this._sources=u,this._names=c,e.sources.forEach((function(t){var r=e.sourceContentFor(t);null!=r&&(null!=n&&(t=o.join(n,t)),null!=a&&(t=o.relative(a,t)),this.setSourceContent(t,r))}),this)},u.prototype._validateMapping=function(e,t,n,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||n||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},u.prototype._serializeMappings=function(){for(var e,t,n,i,a=0,u=1,c=0,l=0,s=0,f=0,d="",p=this._mappings.toArray(),h=0,b=p.length;h<b;h++){if(e="",(t=p[h]).generatedLine!==u)for(a=0;t.generatedLine!==u;)e+=";",u++;else if(h>0){if(!o.compareByGeneratedPositionsInflated(t,p[h-1]))continue;e+=","}e+=r.encode(t.generatedColumn-a),a=t.generatedColumn,null!=t.source&&(i=this._sources.indexOf(t.source),e+=r.encode(i-f),f=i,e+=r.encode(t.originalLine-1-l),l=t.originalLine-1,e+=r.encode(t.originalColumn-c),c=t.originalColumn,null!=t.name&&(n=this._names.indexOf(t.name),e+=r.encode(n-s),s=n)),d+=e}return d},u.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=o.relative(t,e));var n=o.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null}),this)},u.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},u.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.SourceMapGenerator=u},function(e,t,n){var r=n(203);t.encode=function(e){var t,n="",o=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&o,(o>>>=5)>0&&(t|=32),n+=r.encode(t)}while(o>0);return n},t.decode=function(e,t,n){var o,i,a,u,c=e.length,l=0,s=0;do{if(t>=c)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(i=r.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));o=!!(32&i),l+=(i&=31)<<s,s+=5}while(o);n.value=(u=(a=l)>>1,1==(1&a)?-u:u),n.rest=t}},function(e,t,n){var r=n(60),o=Object.prototype.hasOwnProperty,i="undefined"!=typeof Map;function a(){this._array=[],this._set=i?new Map:Object.create(null)}a.fromArray=function(e,t){for(var n=new a,r=0,o=e.length;r<o;r++)n.add(e[r],t);return n},a.prototype.size=function(){return i?this._set.size:Object.getOwnPropertyNames(this._set).length},a.prototype.add=function(e,t){var n=i?e:r.toSetString(e),a=i?this.has(e):o.call(this._set,n),u=this._array.length;a&&!t||this._array.push(e),a||(i?this._set.set(e,u):this._set[n]=u)},a.prototype.has=function(e){if(i)return this._set.has(e);var t=r.toSetString(e);return o.call(this._set,t)},a.prototype.indexOf=function(e){if(i){var t=this._set.get(e);if(t>=0)return t}else{var n=r.toSetString(e);if(o.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')},a.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},a.prototype.toArray=function(){return this._array.slice()},t.ArraySet=a},function(e,t,n){"use strict";t.__esModule=!0;var r={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" "};var o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.builder=t}return e.prototype.stringify=function(e,t){this[e.type](e,t)},e.prototype.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},e.prototype.comment=function(e){var t=this.raw(e,"left","commentLeft"),n=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+n+"*/",e)},e.prototype.decl=function(e,t){var n=this.raw(e,"between","colon"),r=e.prop+n+this.rawValue(e,"value");e.important&&(r+=e.raws.important||" !important"),t&&(r+=";"),this.builder(r,e)},e.prototype.rule=function(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")},e.prototype.atrule=function(e,t){var n="@"+e.name,r=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?n+=e.raws.afterName:r&&(n+=" "),e.nodes)this.block(e,n+r);else{var o=(e.raws.between||"")+(t?";":"");this.builder(n+r+o,e)}},e.prototype.body=function(e){for(var t=e.nodes.length-1;t>0&&"comment"===e.nodes[t].type;)t-=1;for(var n=this.raw(e,"semicolon"),r=0;r<e.nodes.length;r++){var o=e.nodes[r],i=this.raw(o,"before");i&&this.builder(i),this.stringify(o,t!==r||n)}},e.prototype.block=function(e,t){var n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start");var r=void 0;e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")},e.prototype.raw=function(e,t,n){var o=void 0;if(n||(n=t),t&&void 0!==(o=e.raws[t]))return o;var i=e.parent;if("before"===n&&(!i||"root"===i.type&&i.first===e))return"";if(!i)return r[n];var a=e.root();if(a.rawCache||(a.rawCache={}),void 0!==a.rawCache[n])return a.rawCache[n];if("before"===n||"after"===n)return this.beforeAfter(e,n);var u,c="raw"+((u=n)[0].toUpperCase()+u.slice(1));return this[c]?o=this[c](a,e):a.walk((function(e){if(void 0!==(o=e.raws[t]))return!1})),void 0===o&&(o=r[n]),a.rawCache[n]=o,o},e.prototype.rawSemicolon=function(e){var t=void 0;return e.walk((function(e){if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&void 0!==(t=e.raws.semicolon))return!1})),t},e.prototype.rawEmptyBody=function(e){var t=void 0;return e.walk((function(e){if(e.nodes&&0===e.nodes.length&&void 0!==(t=e.raws.after))return!1})),t},e.prototype.rawIndent=function(e){if(e.raws.indent)return e.raws.indent;var t=void 0;return e.walk((function(n){var r=n.parent;if(r&&r!==e&&r.parent&&r.parent===e&&void 0!==n.raws.before){var o=n.raws.before.split("\n");return t=(t=o[o.length-1]).replace(/[^\s]/g,""),!1}})),t},e.prototype.rawBeforeComment=function(e,t){var n=void 0;return e.walkComments((function(e){if(void 0!==e.raws.before)return-1!==(n=e.raws.before).indexOf("\n")&&(n=n.replace(/[^\n]+$/,"")),!1})),void 0===n?n=this.raw(t,null,"beforeDecl"):n&&(n=n.replace(/[^\s]/g,"")),n},e.prototype.rawBeforeDecl=function(e,t){var n=void 0;return e.walkDecls((function(e){if(void 0!==e.raws.before)return-1!==(n=e.raws.before).indexOf("\n")&&(n=n.replace(/[^\n]+$/,"")),!1})),void 0===n?n=this.raw(t,null,"beforeRule"):n&&(n=n.replace(/[^\s]/g,"")),n},e.prototype.rawBeforeRule=function(e){var t=void 0;return e.walk((function(n){if(n.nodes&&(n.parent!==e||e.first!==n)&&void 0!==n.raws.before)return-1!==(t=n.raws.before).indexOf("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/[^\s]/g,"")),t},e.prototype.rawBeforeClose=function(e){var t=void 0;return e.walk((function(e){if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return-1!==(t=e.raws.after).indexOf("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/[^\s]/g,"")),t},e.prototype.rawBeforeOpen=function(e){var t=void 0;return e.walk((function(e){if("decl"!==e.type&&void 0!==(t=e.raws.between))return!1})),t},e.prototype.rawColon=function(e){var t=void 0;return e.walkDecls((function(e){if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t},e.prototype.beforeAfter=function(e,t){var n=void 0;n="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");for(var r=e.parent,o=0;r&&"root"!==r.type;)o+=1,r=r.parent;if(-1!==n.indexOf("\n")){var i=this.raw(e,null,"indent");if(i.length)for(var a=0;a<o;a++)n+=i}return n},e.prototype.rawValue=function(e,t){var n=e[t],r=e.raws[t];return r&&r.value===n?r.raw:n},e}();t.default=o,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){if(r[e])return;r[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e)};var r={};e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=n(137),a=(r=i)&&r.__esModule?r:{default:r};function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];u(this,e),this.version="6.0.23",this.plugins=this.normalize(t)}return e.prototype.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},e.prototype.process=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new a.default(this,e,t)},e.prototype.normalize=function(e){var t=[],n=e,r=Array.isArray(n),i=0;for(n=r?n:n[Symbol.iterator]();;){var a;if(r){if(i>=n.length)break;a=n[i++]}else{if((i=n.next()).done)break;a=i.value}var u=a;if(u.postcss&&(u=u.postcss),"object"===(void 0===u?"undefined":o(u))&&Array.isArray(u.plugins))t=t.concat(u.plugins);else{if("function"!=typeof u)throw"object"===(void 0===u?"undefined":o(u))&&(u.parse||u.stringify)?new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation."):new Error(u+" is not a PostCSS plugin");t.push(u)}}return t},e}();t.default=c,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=s(n(210)),a=s(n(98)),u=s(n(135)),c=s(n(211)),l=s(n(99));function s(e){return e&&e.__esModule?e:{default:e}}function f(e){return"object"===(void 0===e?"undefined":o(e))&&"function"==typeof e.then}var d=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.stringified=!1,this.processed=!1;var i=void 0;if("object"===(void 0===n?"undefined":o(n))&&null!==n&&"root"===n.type)i=n;else if(n instanceof e||n instanceof c.default)i=n.root,n.map&&(void 0===r.map&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=n.map);else{var a=l.default;r.syntax&&(a=r.syntax.parse),r.parser&&(a=r.parser),a.parse&&(a=a.parse);try{i=a(n,r)}catch(e){this.error=e}}this.result=new c.default(t,i,r)}return e.prototype.warnings=function(){return this.sync().warnings()},e.prototype.toString=function(){return this.css},e.prototype.then=function(e,t){return"from"in this.opts||(0,u.default)("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning."),this.async().then(e,t)},e.prototype.catch=function(e){return this.async().catch(e)},e.prototype.handleError=function(e,t){try{if(this.error=e,"CssSyntaxError"!==e.name||e.plugin){if(t.postcssVersion){var n=t.postcssPlugin,r=t.postcssVersion,o=this.result.processor.version,i=r.split("."),a=o.split(".");(i[0]!==a[0]||parseInt(i[1])>parseInt(a[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+o+", but "+n+" uses "+r+". Perhaps this is the source of the error below.")}}else e.plugin=t.postcssPlugin,e.setMessage()}catch(e){console&&console.error&&console.error(e)}},e.prototype.asyncTick=function(e,t){var n=this;if(this.plugin>=this.processor.plugins.length)return this.processed=!0,e();try{var r=this.processor.plugins[this.plugin],o=this.run(r);this.plugin+=1,f(o)?o.then((function(){n.asyncTick(e,t)})).catch((function(e){n.handleError(e,r),n.processed=!0,t(e)})):this.asyncTick(e,t)}catch(e){this.processed=!0,t(e)}},e.prototype.async=function(){var e=this;return this.processed?new Promise((function(t,n){e.error?n(e.error):t(e.stringify())})):(this.processing||(this.processing=new Promise((function(t,n){if(e.error)return n(e.error);e.plugin=0,e.asyncTick(t,n)})).then((function(){return e.processed=!0,e.stringify()}))),this.processing)},e.prototype.sync=function(){if(this.processed)return this.result;if(this.processed=!0,this.processing)throw new Error("Use process(css).then(cb) to work with async plugins");if(this.error)throw this.error;var e=this.result.processor.plugins,t=Array.isArray(e),n=0;for(e=t?e:e[Symbol.iterator]();;){var r;if(t){if(n>=e.length)break;r=e[n++]}else{if((n=e.next()).done)break;r=n.value}var o=r;if(f(this.run(o)))throw new Error("Use process(css).then(cb) to work with async plugins")}return this.result},e.prototype.run=function(e){this.result.lastPlugin=e;try{return e(this.result.root,this.result)}catch(t){throw this.handleError(t,e),t}},e.prototype.stringify=function(){if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,t=a.default;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var n=new i.default(t,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result},r(e,[{key:"processor",get:function(){return this.result.processor}},{key:"opts",get:function(){return this.result.opts}},{key:"css",get:function(){return this.stringify().css}},{key:"content",get:function(){return this.stringify().content}},{key:"map",get:function(){return this.stringify().map}},{key:"root",get:function(){return this.sync().root}},{key:"messages",get:function(){return this.sync().messages}}]),e}();t.default=d,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r={split:function(e,t,n){for(var r=[],o="",i=!1,a=0,u=!1,c=!1,l=0;l<e.length;l++){var s=e[l];u?c?c=!1:"\\"===s?c=!0:s===u&&(u=!1):'"'===s||"'"===s?u=s:"("===s?a+=1:")"===s?a>0&&(a-=1):0===a&&-1!==t.indexOf(s)&&(i=!0),i?(""!==o&&r.push(o.trim()),o="",i=!1):o+=s}return(n||""!==o)&&r.push(o.trim()),r},space:function(e){return r.split(e,[" ","\n","\t"])},comma:function(e){return r.split(e,[","],!0)}};t.default=r,e.exports=t.default},function(e,t,n){"use strict";var r,o={},i=n(217);function a(e,t){o[e]=function(e,t){return e in r?r[e]:t}(e,t)}e.exports.configure=function(e,t,n){if(r=e||{},n=n||{},a("autoRename",!1),a("autoRenameStrict",!1),a("blacklist",{}),a("clean",!0),a("greedy",!1),a("processUrls",!1),a("stringMap",[]),a("useCalc",!1),Array.isArray(o.stringMap)){for(var u,c,l=0;l<o.stringMap.length;l++){var s=o.stringMap[l];if(u&&c)break;"left-right"===s.name?u=!0:"ltr-rtl"===s.name&&(c=!0)}u||o.stringMap.push({name:"left-right",priority:100,exclusive:!1,search:["left","Left","LEFT"],replace:["right","Right","RIGHT"],options:{scope:"*",ignoreCase:!1}}),c||o.stringMap.push({name:"ltr-rtl",priority:100,exclusive:!1,search:["ltr","Ltr","LTR"],replace:["rtl","Rtl","RTL"],options:{scope:"*",ignoreCase:!1}}),o.stringMap.sort((function(e,t){return e.priority-t.priority}))}return o.plugins=[],Array.isArray(t)?(t.some((function(e){return"rtlcss"===e.name}))||o.plugins.push(i),o.plugins=o.plugins.concat(t)):t&&"rtlcss"===t.name||o.plugins.push(i),o.plugins.sort((function(e,t){return e.priority-t.priority})),o.hooks={pre:function(){},post:function(){}},"function"==typeof n.pre&&(o.hooks.pre=n.pre),"function"==typeof n.post&&(o.hooks.post=n.post),o}},function(e,t,n){"use strict";var r,o=new RegExp("�","ig"),i=new RegExp("¤","ig"),a=/\/\*[^]*?\*\//gim,u=/\/\*\s*(?:!)?\s*rtl:[^]*?\*\//gim,c=/[.*+?^${}()|[\]\\]/g,l=/\([^\(\)]+\)/i,s=/#[a-f0-9]{3,6}/gi,f=/calc/,d=new RegExp("«\\d+:\\d+»","ig"),p=new RegExp("\\w*?«\\d+:\\d+»","ig"),h=new RegExp("(calc¤)|(\\-?(\\d*?\\.\\d+|\\d+))(?!d\\()","i"),b=new RegExp("(calc¤)|(\\-?(\\d*?\\.\\d+|\\d+))(?!d\\()","ig"),v=new RegExp("(calc¤)|(\\-?(\\d*?\\.\\d+|\\d+))(?!d\\()","i"),g={scope:"*",ignoreCase:!0},m=0;function y(e){return e.replace(c,"\\$&")}e.exports={extend:function(e,t){for(var n in void 0!==e&&"object"==typeof e||(e={}),t)e.hasOwnProperty(n)||(e[n]=t[n]);return e},swap:function(e,t,n,o){var i=y(t)+"|"+y(n);((o=o||g).hasOwnProperty("greedy")?o.greedy:r.greedy)||(i="\\b("+i+")\\b");var a=o.ignoreCase?"img":"mg";return e.replace(new RegExp(i,a),(function(e){return r=e,i=t,(o.ignoreCase?r.toLowerCase()===i.toLowerCase():r===i)?n:t;var r,i}))},swapLeftRight:function(e){return this.swap(e,"left","right")},swapLtrRtl:function(e){return this.swap(e,"ltr","rtl")},applyStringMap:function(e,t){for(var n=e,o=0;o<r.stringMap.length;o++){var i=r.stringMap[o],a=this.extend(i.options,g);if("*"===a.scope||t&&"url"===a.scope||!t&&"selector"===a.scope){if(Array.isArray(i.search)&&Array.isArray(i.replace))for(var u=0;u<i.search.length;u++)n=this.swap(n,i.search[u],i.replace[u%i.search.length],a);else n=this.swap(n,i.search,i.replace,a);if(!0===i.exclusive)break}}return n},negate:function(e){var t=this.saveTokens(e);return t.value=t.value.replace(v,(function(e){return i.test(e)?e.replace(i,(function(e){return"(-1*"+e+")"})):-1*parseFloat(e,10)})),this.restoreTokens(t)},negateAll:function(e){var t=this.saveTokens(e);return t.value=t.value.replace(b,(function(e){return i.test(e)?e.replace(i,(function(e){return"(-1*"+e+")"})):-1*parseFloat(e,10)})),this.restoreTokens(t)},complement:function(e){var t=this.saveTokens(e);return t.value=t.value.replace(h,(function(e){return i.test(e)?e.replace(i,(function(e){return"(100% - "+e+")"})):100-parseFloat(e,10)})),this.restoreTokens(t)},flipLength:function(e){return r.useCalc?"calc(100% - "+e+")":e},save:function(e,t,n,r,o){var i={value:t,store:[],replacement:n,restorer:r};return i.value=i.value.replace(e,(function(e){return o&&e.match(o)?e:(i.store.push(e),i.replacement)})),i},restore:function(e){var t=0,n=e.value.replace(e.restorer,(function(){return e.store[t++]}));return e.store.length=0,n},saveComments:function(e){return this.save(a,e,"�",o)},restoreComments:function(e){return this.restore(e)},saveTokens:function(e,t){return!0===t?this.save(p,e,"¤",i,f):this.save(d,e,"¤",i)},restoreTokens:function(e){return this.restore(e)},guard:function(e,t,n){var r={value:t,store:[],offset:m++,token:"«"+m,indexed:!0===n};if(!0===r.indexed)for(;e.test(r.value);)r.value=r.value.replace(e,(function(e){return r.store.push(e),r.token+":"+r.store.length+"»"}));else r.value=r.value.replace(e,(function(e){return r.store.push(e),r.token+"»"}));return r},unguard:function(e,t){if(!0===e.indexed){for(var n=new RegExp("(\\w*?)"+e.token+":(\\d+)»","i");n.test(e.value);)e.value=e.value.replace(n,(function(n,r,o){var i=e.store[o-1];return"function"==typeof t?r+t(i,r):r+i}));return e.value}return e.value.replace(new RegExp("(\\w*?)"+e.token+"»","i"),(function(n,r){var o=e.store.shift();return"function"==typeof t?r+t(o,r):r+o}))},guardHexColors:function(e){return this.guard(s,e,!0)},unguardHexColors:function(e,t){return this.unguard(e,t)},guardFunctions:function(e){return this.guard(l,e,!0)},unguardFunctions:function(e,t){return this.unguard(e,t)},trimDirective:function(e){return e.replace(u,"")},regexCache:{},regexDirective:function(e){return this.regexCache[e]=this.regexCache[e]||new RegExp("(?:\\/\\*\\s*(?:!)?\\s*rtl:"+(e?y(e)+"(?::)?":"")+")([^]*?)(?:\\*\\/)","img"),this.regexCache[e]},regex:function(e,t){e=e||[];for(var n="",r=0;r<e.length;r++)switch(e[r]){case"percent":n+="|(\\-?(\\d*?\\.\\d+|\\d+)%)";break;case"length":n+="|(\\-?(\\d*?\\.\\d+|\\d+))(?:ex|ch|r?em|vh|vw|vmin|vmax|px|mm|cm|in|pt|pc)?";break;case"number":n+="|(\\-?(\\d*?\\.\\d+|\\d+))";break;case"position":n+="|(left|center|right|top|bottom)";break;case"calc":n+="|(calc«\\d+:\\d+»)"}return new RegExp(n.slice(1),t)},isLastOfType:function(e){for(var t=!0,n=e.next();n;){if(n&&n.type===e.type){t=!1;break}n=n.next()}return t},each:function(e,t){for(var n=0;n<e.length;n++)if(!1===t(e[n]))return!1;return!0}},e.exports.configure=function(e){return r=e,this}},function(e,t,n){"use strict";var r=n(218),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function c(e){return r.isMemo(e)?a:u[e.$$typeof]||o}u[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},u[r.Memo]=a;var l=Object.defineProperty,s=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=s(n);f&&(a=a.concat(f(n)));for(var u=c(t),b=c(n),v=0;v<a.length;++v){var g=a[v];if(!(i[g]||r&&r[g]||b&&b[g]||u&&u[g])){var m=d(n,g);try{l(t,g,m)}catch(e){}}}}return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createChannel=t.subscribe=t.cps=t.apply=t.call=t.invoke=t.delay=t.race=t.join=t.fork=t.error=t.all=void 0;var r,o=n(143),i=(r=o)&&r.__esModule?r:{default:r};t.all=function(e){return{type:i.default.all,value:e}},t.error=function(e){return{type:i.default.error,error:e}},t.fork=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:i.default.fork,iterator:e,args:n}},t.join=function(e){return{type:i.default.join,task:e}},t.race=function(e){return{type:i.default.race,competitors:e}},t.delay=function(e){return new Promise((function(t){setTimeout((function(){return t(!0)}),e)}))},t.invoke=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:i.default.call,func:e,context:null,args:n}},t.call=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return{type:i.default.call,func:e,context:t,args:r}},t.apply=function(e,t,n){return{type:i.default.call,func:e,context:t,args:n}},t.cps=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:i.default.cps,func:e,args:n}},t.subscribe=function(e){return{type:i.default.subscribe,channel:e}},t.createChannel=function(e){var t=[];return e((function(e){return t.forEach((function(t){return t(e)}))})),{subscribe:function(e){return t.push(e),function(){return t.splice(t.indexOf(e),1)}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={all:Symbol("all"),error:Symbol("error"),fork:Symbol("fork"),join:Symbol("join"),race:Symbol("race"),call:Symbol("call"),cps:Symbol("cps"),subscribe:Symbol("subscribe")};t.default=r},function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var r=n(10),o=n(87);var i="undefined"==typeof window?function(e){setTimeout((function(){return e(Date.now())}),0)}:window.requestIdleCallback||window.requestAnimationFrame,a=n(0),u=n(63),c="undefined"!=typeof window?a.useLayoutEffect:a.useEffect,l=n(62),s=n(103);var f,d,p,h,b=(f=[],d=new WeakMap,p=!1,h=function e(t){var n="number"==typeof t?function(){return!1}:function(){return t.timeRemaining()>0};do{if(0===f.length)return void(p=!1);var r=f.shift();d.get(r)(),d.delete(r)}while(n());i(e)},{add:function(e,t){d.has(e)||f.push(e),d.set(e,t),p||(p=!0,i(h))},flush:function(e){if(!d.has(e))return!1;var t=f.indexOf(e);f.splice(t,1);var n=d.get(e);return d.delete(e),n(),!0},reset:function(){f=[],d=new WeakMap,p=!1}});function v(e,t){var n="function"!=typeof e;n&&(t=[]);var i,f=Object(a.useCallback)(e,t),d=Object(l.a)(),p=Object(a.useContext)(s.a),h=Object(o.a)((function(){return{queue:!0}}),[d]),v=Object(a.useReducer)((function(e){return e+1}),0),g=Object(r.a)(v,2)[1],m=Object(a.useRef)(),y=Object(a.useRef)(p),O=Object(a.useRef)(),w=Object(a.useRef)(),j=Object(a.useRef)(),x=Object(a.useRef)([]),k=Object(a.useCallback)((function(e){return d.__experimentalMarkListeningStores(e,x)}),[d]),_=Object(a.useMemo)((function(){return{}}),t||[]);if(!n)try{i=m.current!==f||w.current?k((function(){return f(d.select,d)})):O.current}catch(e){var S="An error occurred while running 'mapSelect': ".concat(e.message);if(w.current)throw S+="\nThe error may be correlated with this previous error:\n",S+="".concat(w.current.stack,"\n\n"),S+="Original stack trace:",new Error(S);console.error(S)}return c((function(){n||(m.current=f,O.current=i,w.current=void 0,j.current=!0,y.current!==p&&(y.current=p,b.flush(h)))})),c((function(){if(!n){var e=function(){if(j.current){try{var e=k((function(){return m.current(d.select,d)}));if(Object(u.a)(O.current,e))return;O.current=e}catch(e){w.current=e}g()}};y.current?b.add(h,e):e();var t=function(){y.current?b.add(h,e):e()},r=x.current.map((function(e){return d.__experimentalSubscribeStore(e,t)}));return function(){j.current=!1,r.forEach((function(e){return null==e?void 0:e()})),b.flush(h)}}}),[d,k,_,n]),n?d.select(e):i}},function(e,t){var n=new Error("Element already at target scroll position"),r=new Error("Scroll cancelled"),o=Math.min,i=Date.now;function a(e){return function(t,a,l,s){"function"==typeof(l=l||{})&&(s=l,l={}),"function"!=typeof s&&(s=c);var f=i(),d=t[e],p=l.ease||u,h=isNaN(l.duration)?350:+l.duration,b=!1;return d===a?s(n,t[e]):requestAnimationFrame((function n(u){if(b)return s(r,t[e]);var c=i(),l=o(1,(c-f)/h),v=p(l);t[e]=v*(a-d)+d,l<1?requestAnimationFrame(n):requestAnimationFrame((function(){s(null,t[e])}))})),function(){b=!0}}}function u(e){return.5*(1-Math.cos(Math.PI*e))}function c(){}e.exports={left:a("scrollLeft"),top:a("scrollTop")}},function(e,t,n){"use strict";(function(e){var r=n(0),o=n.n(r),i=n(4),a=n.n(i),u=n(107),c=n.n(u),l=n(108),s=n(35),f=n.n(s),d=n(5),p=n(147),h=n.n(p),b=n(29),v=n.n(b),g=n(81);function m(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 y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){x(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function O(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(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 j(e,t,n){return t&&w(e.prototype,t),n&&w(e,n),e}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function k(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&&S(e,t)}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(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 C(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?C(e):t}function T(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_(e);if(t){var o=_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return P(this,n)}}var A={flip:{padding:20},preventOverflow:{padding:10}},R={INIT:"init",IDLE:"idle",OPENING:"opening",OPEN:"open",CLOSING:"closing",ERROR:"error"},I=n.n(g).a.canUseDOM,N=void 0!==v.a.createPortal;function M(){return"ontouchstart"in window&&/Mobi/.test(navigator.userAgent)}function L(e){var t=e.title,n=e.data,r=e.warn,o=void 0!==r&&r,i=e.debug,a=void 0!==i&&i,u=o?console.warn||console.error:console.log;a&&t&&n&&(console.groupCollapsed("%creact-floater: ".concat(t),"color: #9b00ff; font-weight: bold; font-size: 12px;"),Array.isArray(n)?n.forEach((function(e){d.a.plainObject(e)&&e.key?u.apply(console,[e.key,e.value]):u.apply(console,[e])})):u.apply(console,[n]),console.groupEnd())}function D(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.addEventListener(t,n,r)}function B(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.removeEventListener(t,n,r)}function F(){}var z=function(e){k(n,e);var t=T(n);function n(e){var r;return O(this,n),r=t.call(this,e),I?(r.node=document.createElement("div"),e.id&&(r.node.id=e.id),e.zIndex&&(r.node.style.zIndex=e.zIndex),document.body.appendChild(r.node),r):P(r)}return j(n,[{key:"componentDidMount",value:function(){I&&(N||this.renderPortal())}},{key:"componentDidUpdate",value:function(){I&&(N||this.renderPortal())}},{key:"componentWillUnmount",value:function(){I&&this.node&&(N||v.a.unmountComponentAtNode(this.node),document.body.removeChild(this.node))}},{key:"renderPortal",value:function(){if(!I)return null;var e=this.props,t=e.children,n=e.setRef;return N?v.a.createPortal(t,this.node):(n(v.a.unstable_renderSubtreeIntoContainer(this,t.length>1?o.a.createElement("div",null,t):t[0],this.node)),null)}},{key:"renderReact16",value:function(){var e=this.props,t=e.hasChildren,n=e.placement,r=e.target;return t||r||"center"===n?this.renderPortal():null}},{key:"render",value:function(){return N?this.renderReact16():null}}]),n}(o.a.Component);x(z,"propTypes",{children:a.a.oneOfType([a.a.element,a.a.array]),hasChildren:a.a.bool,id:a.a.oneOfType([a.a.string,a.a.number]),placement:a.a.string,setRef:a.a.func.isRequired,target:a.a.oneOfType([a.a.object,a.a.string]),zIndex:a.a.number});var U=function(e){k(n,e);var t=T(n);function n(){return O(this,n),t.apply(this,arguments)}return j(n,[{key:"parentStyle",get:function(){var e=this.props,t=e.placement,n=e.styles.arrow.length,r={pointerEvents:"none",position:"absolute",width:"100%"};return t.startsWith("top")?(r.bottom=0,r.left=0,r.right=0,r.height=n):t.startsWith("bottom")?(r.left=0,r.right=0,r.top=0,r.height=n):t.startsWith("left")?(r.right=0,r.top=0,r.bottom=0):t.startsWith("right")&&(r.left=0,r.top=0),r}},{key:"render",value:function(){var e,t=this.props,n=t.placement,r=t.setArrowRef,i=t.styles.arrow,a=i.color,u=i.display,c=i.length,l=i.margin,s=i.position,f=i.spread,d={display:u,position:s},p=f,h=c;return n.startsWith("top")?(e="0,0 ".concat(p/2,",").concat(h," ").concat(p,",0"),d.bottom=0,d.marginLeft=l,d.marginRight=l):n.startsWith("bottom")?(e="".concat(p,",").concat(h," ").concat(p/2,",0 0,").concat(h),d.top=0,d.marginLeft=l,d.marginRight=l):n.startsWith("left")?(h=f,e="0,0 ".concat(p=c,",").concat(h/2," 0,").concat(h),d.right=0,d.marginTop=l,d.marginBottom=l):n.startsWith("right")&&(h=f,e="".concat(p=c,",").concat(h," ").concat(p,",0 0,").concat(h/2),d.left=0,d.marginTop=l,d.marginBottom=l),o.a.createElement("div",{className:"__floater__arrow",style:this.parentStyle},o.a.createElement("span",{ref:r,style:d},o.a.createElement("svg",{width:p,height:h,version:"1.1",xmlns:"http://www.w3.org/2000/svg"},o.a.createElement("polygon",{points:e,fill:a}))))}}]),n}(o.a.Component);x(U,"propTypes",{placement:a.a.string.isRequired,setArrowRef:a.a.func.isRequired,styles:a.a.object.isRequired});var H=["color","height","width"],W=function(e){var t=e.handleClick,n=e.styles,r=n.color,i=n.height,a=n.width,u=E(n,H);return o.a.createElement("button",{"aria-label":"close",onClick:t,style:u,type:"button"},o.a.createElement("svg",{width:"".concat(a,"px"),height:"".concat(i,"px"),viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},o.a.createElement("g",null,o.a.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:r}))))};W.propTypes={handleClick:a.a.func.isRequired,styles:a.a.object.isRequired};var $=function(e){var t=e.content,n=e.footer,r=e.handleClick,i=e.open,a=e.positionWrapper,u=e.showCloseButton,c=e.title,l=e.styles,s={content:o.a.isValidElement(t)?t:o.a.createElement("div",{className:"__floater__content",style:l.content},t)};return c&&(s.title=o.a.isValidElement(c)?c:o.a.createElement("div",{className:"__floater__title",style:l.title},c)),n&&(s.footer=o.a.isValidElement(n)?n:o.a.createElement("div",{className:"__floater__footer",style:l.footer},n)),!u&&!a||d.a.boolean(i)||(s.close=o.a.createElement(W,{styles:l.close,handleClick:r})),o.a.createElement("div",{className:"__floater__container",style:l.container},s.close,s.title,s.content,s.footer)};$.propTypes={content:a.a.node.isRequired,footer:a.a.node,handleClick:a.a.func.isRequired,open:a.a.bool,positionWrapper:a.a.bool.isRequired,showCloseButton:a.a.bool.isRequired,styles:a.a.object.isRequired,title:a.a.node};var V=function(e){k(n,e);var t=T(n);function n(){return O(this,n),t.apply(this,arguments)}return j(n,[{key:"style",get:function(){var e=this.props,t=e.disableAnimation,n=e.component,r=e.placement,o=e.hideArrow,i=e.status,a=e.styles,u=a.arrow.length,c=a.floater,l=a.floaterCentered,s=a.floaterClosing,f=a.floaterOpening,d=a.floaterWithAnimation,p=a.floaterWithComponent,h={};return o||(r.startsWith("top")?h.padding="0 0 ".concat(u,"px"):r.startsWith("bottom")?h.padding="".concat(u,"px 0 0"):r.startsWith("left")?h.padding="0 ".concat(u,"px 0 0"):r.startsWith("right")&&(h.padding="0 0 0 ".concat(u,"px"))),-1!==[R.OPENING,R.OPEN].indexOf(i)&&(h=y(y({},h),f)),i===R.CLOSING&&(h=y(y({},h),s)),i!==R.OPEN||t||(h=y(y({},h),d)),"center"===r&&(h=y(y({},h),l)),n&&(h=y(y({},h),p)),y(y({},c),h)}},{key:"render",value:function(){var e=this.props,t=e.component,n=e.handleClick,r=e.hideArrow,i=e.setFloaterRef,a=e.status,u={},c=["__floater"];return u.content=t?o.a.isValidElement(t)?o.a.cloneElement(t,{closeFn:n}):t({closeFn:n}):o.a.createElement($,this.props),a===R.OPEN&&c.push("__floater__open"),r||(u.arrow=o.a.createElement(U,this.props)),o.a.createElement("div",{ref:i,className:c.join(" "),style:this.style},o.a.createElement("div",{className:"__floater__body"},u.content,u.arrow))}}]),n}(o.a.Component);x(V,"propTypes",{component:a.a.oneOfType([a.a.func,a.a.element]),content:a.a.node,disableAnimation:a.a.bool.isRequired,footer:a.a.node,handleClick:a.a.func.isRequired,hideArrow:a.a.bool.isRequired,open:a.a.bool,placement:a.a.string.isRequired,positionWrapper:a.a.bool.isRequired,setArrowRef:a.a.func.isRequired,setFloaterRef:a.a.func.isRequired,showCloseButton:a.a.bool,status:a.a.string.isRequired,styles:a.a.object.isRequired,title:a.a.node});var G=function(e){k(n,e);var t=T(n);function n(){return O(this,n),t.apply(this,arguments)}return j(n,[{key:"render",value:function(){var e,t=this.props,n=t.children,r=t.handleClick,i=t.handleMouseEnter,a=t.handleMouseLeave,u=t.setChildRef,c=t.setWrapperRef,l=t.style,s=t.styles;if(n)if(1===o.a.Children.count(n))if(o.a.isValidElement(n)){var f=d.a.function(n.type)?"innerRef":"ref";e=o.a.cloneElement(o.a.Children.only(n),x({},f,u))}else e=o.a.createElement("span",null,n);else e=n;return e?o.a.createElement("span",{ref:c,style:y(y({},s),l),onClick:r,onMouseEnter:i,onMouseLeave:a},e):null}}]),n}(o.a.Component);x(G,"propTypes",{children:a.a.node,handleClick:a.a.func.isRequired,handleMouseEnter:a.a.func.isRequired,handleMouseLeave:a.a.func.isRequired,setChildRef:a.a.func.isRequired,setWrapperRef:a.a.func.isRequired,style:a.a.object,styles:a.a.object.isRequired});var q={zIndex:100};var Y=["arrow","flip","offset"],X=["position","top","right","bottom","left"],K=function(t){k(r,t);var n=T(r);function r(e){var t;return O(this,r),x(C(t=n.call(this,e)),"setArrowRef",(function(e){t.arrowRef=e})),x(C(t),"setChildRef",(function(e){t.childRef=e})),x(C(t),"setFloaterRef",(function(e){t.floaterRef||(t.floaterRef=e)})),x(C(t),"setWrapperRef",(function(e){t.wrapperRef=e})),x(C(t),"handleTransitionEnd",(function(){var e=t.state.status,n=t.props.callback;t.wrapperPopper&&t.wrapperPopper.instance.update(),t.setState({status:e===R.OPENING?R.OPEN:R.IDLE},(function(){var e=t.state.status;n(e===R.OPEN?"open":"close",t.props)}))})),x(C(t),"handleClick",(function(){var e=t.props,n=e.event,r=e.open;if(!d.a.boolean(r)){var o=t.state,i=o.positionWrapper,a=o.status;("click"===t.event||"hover"===t.event&&i)&&(L({title:"click",data:[{event:n,status:a===R.OPEN?"closing":"opening"}],debug:t.debug}),t.toggle())}})),x(C(t),"handleMouseEnter",(function(){var e=t.props,n=e.event,r=e.open;if(!d.a.boolean(r)&&!M()){var o=t.state.status;"hover"===t.event&&o===R.IDLE&&(L({title:"mouseEnter",data:[{key:"originalEvent",value:n}],debug:t.debug}),clearTimeout(t.eventDelayTimeout),t.toggle())}})),x(C(t),"handleMouseLeave",(function(){var e=t.props,n=e.event,r=e.eventDelay,o=e.open;if(!d.a.boolean(o)&&!M()){var i=t.state,a=i.status,u=i.positionWrapper;"hover"===t.event&&(L({title:"mouseLeave",data:[{key:"originalEvent",value:n}],debug:t.debug}),r?-1===[R.OPENING,R.OPEN].indexOf(a)||u||t.eventDelayTimeout||(t.eventDelayTimeout=setTimeout((function(){delete t.eventDelayTimeout,t.toggle()}),1e3*r)):t.toggle(R.IDLE))}})),t.state={currentPlacement:e.placement,positionWrapper:e.wrapperOptions.position&&!!e.target,status:R.INIT,statusWrapper:R.INIT},t._isMounted=!1,I&&window.addEventListener("load",(function(){t.popper&&t.popper.instance.update(),t.wrapperPopper&&t.wrapperPopper.instance.update()})),t}return j(r,[{key:"componentDidMount",value:function(){if(I){var e=this.state.positionWrapper,t=this.props,n=t.children,r=t.open,o=t.target;this._isMounted=!0,L({title:"init",data:{hasChildren:!!n,hasTarget:!!o,isControlled:d.a.boolean(r),positionWrapper:e,target:this.target,floater:this.floaterRef},debug:this.debug}),this.initPopper(),!n&&o&&d.a.boolean(r)}}},{key:"componentDidUpdate",value:function(e,t){if(I){var n,r=this.props,o=r.autoOpen,i=r.open,a=r.target,u=r.wrapperOptions,c=h()(t,this.state),l=c.changedFrom,s=c.changedTo;if(e.open!==i)d.a.boolean(i)&&(n=i?R.OPENING:R.CLOSING),this.toggle(n);e.wrapperOptions.position===u.position&&e.target===a||this.changeWrapperPosition(this.props),(s("status",R.IDLE)&&i||l("status",R.INIT,R.IDLE)&&o)&&this.toggle(R.OPEN),this.popper&&s("status",R.OPENING)&&this.popper.instance.update(),this.floaterRef&&(s("status",R.OPENING)||s("status",R.CLOSING))&&function(e,t,n){var r,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];D(e,t,r=function(o){n(o),B(e,t,r)},o)}(this.floaterRef,"transitionend",this.handleTransitionEnd)}}},{key:"componentWillUnmount",value:function(){I&&(this._isMounted=!1,this.popper&&this.popper.instance.destroy(),this.wrapperPopper&&this.wrapperPopper.instance.destroy())}},{key:"initPopper",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.target,n=this.state.positionWrapper,r=this.props,o=r.disableFlip,i=r.getPopper,a=r.hideArrow,u=r.offset,c=r.placement,s=r.wrapperOptions,f="top"===c||"bottom"===c?"flip":["right","bottom-end","top-end","left","top-start","bottom-start"];if("center"===c)this.setState({status:R.IDLE});else if(t&&this.floaterRef){var p=this.options,h=p.arrow,b=p.flip,v=p.offset,g=E(p,Y);new l.a(t,this.floaterRef,{placement:c,modifiers:y({arrow:y({enabled:!a,element:this.arrowRef},h),flip:y({enabled:!o,behavior:f},b),offset:y({offset:"0, ".concat(u,"px")},v)},g),onCreate:function(t){e.popper=t,i(t,"floater"),e._isMounted&&e.setState({currentPlacement:t.placement,status:R.IDLE}),c!==t.placement&&setTimeout((function(){t.instance.update()}),1)},onUpdate:function(t){e.popper=t;var n=e.state.currentPlacement;e._isMounted&&t.placement!==n&&e.setState({currentPlacement:t.placement})}})}if(n){var m=d.a.undefined(s.offset)?0:s.offset;new l.a(this.target,this.wrapperRef,{placement:s.placement||c,modifiers:{arrow:{enabled:!1},offset:{offset:"0, ".concat(m,"px")},flip:{enabled:!1}},onCreate:function(t){e.wrapperPopper=t,e._isMounted&&e.setState({statusWrapper:R.IDLE}),i(t,"wrapper"),c!==t.placement&&setTimeout((function(){t.instance.update()}),1)}})}}},{key:"changeWrapperPosition",value:function(e){var t=e.target,n=e.wrapperOptions;this.setState({positionWrapper:n.position&&!!t})}},{key:"toggle",value:function(e){var t=this.state.status===R.OPEN?R.CLOSING:R.OPENING;d.a.undefined(e)||(t=e),this.setState({status:t})}},{key:"debug",get:function(){return this.props.debug||!!e.ReactFloaterDebug}},{key:"event",get:function(){var e=this.props,t=e.disableHoverToClick,n=e.event;return"hover"===n&&M()&&!t?"click":n}},{key:"options",get:function(){var e=this.props.options;return f()(A,e||{})}},{key:"styles",get:function(){var e,t=this,n=this.state,r=n.status,o=n.positionWrapper,i=n.statusWrapper,a=this.props.styles,u=f()(function(e){var t=f()(q,e.options||{});return{wrapper:{cursor:"help",display:"inline-flex",flexDirection:"column",zIndex:t.zIndex},wrapperPosition:{left:-1e3,position:"absolute",top:-1e3,visibility:"hidden"},floater:{display:"inline-block",filter:"drop-shadow(0 0 3px rgba(0, 0, 0, 0.3))",maxWidth:300,opacity:0,position:"relative",transition:"opacity 0.3s",visibility:"hidden",zIndex:t.zIndex},floaterOpening:{opacity:1,visibility:"visible"},floaterWithAnimation:{opacity:1,transition:"opacity 0.3s, transform 0.2s",visibility:"visible"},floaterWithComponent:{maxWidth:"100%"},floaterClosing:{opacity:0,visibility:"visible"},floaterCentered:{left:"50%",position:"fixed",top:"50%",transform:"translate(-50%, -50%)"},container:{backgroundColor:"#fff",color:"#666",minHeight:60,minWidth:200,padding:20,position:"relative",zIndex:10},title:{borderBottom:"1px solid #555",color:"#555",fontSize:18,marginBottom:5,paddingBottom:6,paddingRight:18},content:{fontSize:15},close:{backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",fontSize:0,height:15,outline:"none",padding:10,position:"absolute",right:0,top:0,width:15,WebkitAppearance:"none"},footer:{borderTop:"1px solid #ccc",fontSize:13,marginTop:10,paddingTop:5},arrow:{color:"#fff",display:"inline-flex",length:16,margin:8,position:"absolute",spread:32},options:t}}(a),a);o&&(e=-1===[R.IDLE].indexOf(r)||-1===[R.IDLE].indexOf(i)?u.wrapperPosition:this.wrapperPopper.styles,u.wrapper=y(y({},u.wrapper),e));if(this.target){var c=window.getComputedStyle(this.target);this.wrapperStyles?u.wrapper=y(y({},u.wrapper),this.wrapperStyles):-1===["relative","static"].indexOf(c.position)&&(this.wrapperStyles={},o||(X.forEach((function(e){t.wrapperStyles[e]=c[e]})),u.wrapper=y(y({},u.wrapper),this.wrapperStyles),this.target.style.position="relative",this.target.style.top="auto",this.target.style.right="auto",this.target.style.bottom="auto",this.target.style.left="auto"))}return u}},{key:"target",get:function(){if(!I)return null;var e=this.props.target;return e?d.a.domElement(e)?e:document.querySelector(e):this.childRef||this.wrapperRef}},{key:"render",value:function(){var e=this.state,t=e.currentPlacement,n=e.positionWrapper,r=e.status,i=this.props,a=i.children,u=i.component,c=i.content,l=i.disableAnimation,s=i.footer,f=i.hideArrow,d=i.id,p=i.open,h=i.showCloseButton,b=i.style,v=i.target,g=i.title,m=o.a.createElement(G,{handleClick:this.handleClick,handleMouseEnter:this.handleMouseEnter,handleMouseLeave:this.handleMouseLeave,setChildRef:this.setChildRef,setWrapperRef:this.setWrapperRef,style:b,styles:this.styles.wrapper},a),y={};return n?y.wrapperInPortal=m:y.wrapperAsChildren=m,o.a.createElement("span",null,o.a.createElement(z,{hasChildren:!!a,id:d,placement:t,setRef:this.setFloaterRef,target:v,zIndex:this.styles.options.zIndex},o.a.createElement(V,{component:u,content:c,disableAnimation:l,footer:s,handleClick:this.handleClick,hideArrow:f||"center"===t,open:p,placement:t,positionWrapper:n,setArrowRef:this.setArrowRef,setFloaterRef:this.setFloaterRef,showCloseButton:h,status:r,styles:this.styles,title:g}),y.wrapperInPortal),y.wrapperAsChildren)}}]),r}(o.a.Component);x(K,"propTypes",{autoOpen:a.a.bool,callback:a.a.func,children:a.a.node,component:c()(a.a.oneOfType([a.a.func,a.a.element]),(function(e){return!e.content})),content:c()(a.a.node,(function(e){return!e.component})),debug:a.a.bool,disableAnimation:a.a.bool,disableFlip:a.a.bool,disableHoverToClick:a.a.bool,event:a.a.oneOf(["hover","click"]),eventDelay:a.a.number,footer:a.a.node,getPopper:a.a.func,hideArrow:a.a.bool,id:a.a.oneOfType([a.a.string,a.a.number]),offset:a.a.number,open:a.a.bool,options:a.a.object,placement:a.a.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto","center"]),showCloseButton:a.a.bool,style:a.a.object,styles:a.a.object,target:a.a.oneOfType([a.a.object,a.a.string]),title:a.a.node,wrapperOptions:a.a.shape({offset:a.a.number,placement:a.a.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto"]),position:a.a.bool})}),x(K,"defaultProps",{autoOpen:!1,callback:F,debug:!1,disableAnimation:!1,disableFlip:!1,disableHoverToClick:!1,event:"click",eventDelay:.4,getPopper:F,hideArrow:!1,offset:15,placement:"bottom",showCloseButton:!1,styles:{},target:null,wrapperOptions:{position:!1}}),t.a=K}).call(this,n(69))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(191),o=n(192);function i(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.every((function(e){return"number"==typeof e}))}t.default=function(e,t){if(!e||!t)throw new Error("Missing required parameters");return{changed:function(n){var i=o.get(e,n),a=o.get(t,n);return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.every(Array.isArray)}(i,a)||function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.every((function(e){if(!e)return!1;var t=Object.getPrototypeOf(e);return"Object"===Object.prototype.toString.call(e).slice(8,-1)&&(null===t||t===Object.getPrototypeOf({}))}))}(i,a)?!!r.diff(i,a):i!==a},changedFrom:function(n,r,i){if(void 0===n)throw new Error("Key parameter is required");var a=void 0!==r&&void 0!==i,u=o.get(e,n),c=o.get(t,n),l=Array.isArray(r)?r.indexOf(u)>=0:u===r,s=Array.isArray(i)?i.indexOf(c)>=0:c===i;return l&&(a?s:!a)},changedTo:function(n,r){if(void 0===n)throw new Error("Key parameter is required");var i=o.get(e,n),a=o.get(t,n),u=Array.isArray(r)?r.indexOf(i)<0:i!==r,c=Array.isArray(r)?r.indexOf(a)>=0:a===r;return u&&c},increased:function(n){if(void 0===n)throw new Error("Key parameter is required");return i(o.get(e,n),o.get(t,n))&&o.get(e,n)<o.get(t,n)},decreased:function(n){if(void 0===n)throw new Error("Key parameter is required");return i(o.get(e,n),o.get(t,n))&&o.get(e,n)>o.get(t,n)}}}},function(e,t,n){e.exports=function(e,t){var n,r,o=0;function i(){var i,a,u=n,c=arguments.length;e:for(;u;){if(u.args.length===arguments.length){for(a=0;a<c;a++)if(u.args[a]!==arguments[a]){u=u.next;continue e}return u!==n&&(u===r&&(r=u.prev),u.prev.next=u.next,u.next&&(u.next.prev=u.prev),u.next=n,u.prev=null,n.prev=u,n=u),u.val}u=u.next}for(i=new Array(c),a=0;a<c;a++)i[a]=arguments[a];return u={args:i,val:e.apply(null,i)},n?(n.prev=u,u.next=n):r=u,o===t.maxSize?(r=r.prev).next=null:o++,n=u,u.val}return t=t||{},i.clear=function(){n=null,r=null,o=0},i}},function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,"a",(function(){return r}))},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=n=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u}));var r=n(232),o=n(110),i=1===e.env.COMPONENT_SYSTEM_PHASE?r.a:void 0,a=function(e){return e};function u(e){return Object(o.a)(e,i,"WPComponentsVisuallyHidden",a)}}).call(this,n(50))},function(e,t,n){"use strict";n.d(t,"a",(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(e){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}()},function(e,t,n){"use strict";e.exports=n(195)},function(e,t,n){"use strict";var r=n(196),o=n(215),i=n(139),a=n(140);e.exports=r.plugin("rtlcss",(function(e,t,n){var u=i.configure(e,t,n),c={postcss:r,config:u,util:a.configure(u)};return function(e,t){var n=0,i={};c.config.hooks.pre(e,r),e.walk((function(e){var r=!1;if(o.walk((function(t){!t.metadata.blacklist&&t.directive.expect[e.type]&&(t.directive.begin(e,t.metadata,c)&&(r=!0),t.metadata.end&&t.directive.end(e,t.metadata,c)&&o.pop(t))})),!1===r)switch(e.type){case"atrule":if(!0===c.config.processUrls||!0===c.config.processUrls.atrule){var a=c.util.applyStringMap(e.params,!0);e.params=a}break;case"comment":o.parse(e,t,(function(n){var r=!0;return null===n.directive&&(n.preserve=!c.config.clean,c.util.each(c.config.plugins,(function(e){var o=c.config.blacklist[e.name];return o&&!0===o[n.metadata.name]?(n.metadata.blacklist=!0,n.metadata.end&&(r=!1),n.metadata.begin&&t.warn('directive "'+e.name+"."+n.metadata.name+'" is blacklisted.',{node:n.source}),!1):(n.directive=e.directives.control[n.metadata.name],!n.directive&&void 0)}))),n.directive?!n.metadata.begin&&n.metadata.end?(n.directive.end(e,n.metadata,c)&&o.pop(n),r=!1):n.directive.expect.self&&n.directive.begin(e,n.metadata,c)&&n.metadata.end&&n.directive.end(e,n.metadata,c)&&(r=!1):n.metadata.blacklist||(r=!1,t.warn('unsupported directive "'+n.metadata.name+'".',{node:n.source})),r}));break;case"decl":if(!c.util.each(c.config.plugins,(function(t){return c.util.each(t.directives.value,(function(t){if(e.raws.value&&e.raws.value.raw){var r=c.util.regexDirective(t.name);if(r.test(e.raws.value.raw)&&(r.lastIndex=0,t.action(e,r,c)))return c.config.clean&&(e.value=e.raws.value.raw=c.util.trimDirective(e.raws.value.raw)),n++,!1}}))})))break;if(c.util.each(c.config.plugins,(function(t){return c.util.each(t.processors,(function(t){if(e.prop.match(t.expr)){var r=e.raws.value&&e.raws.value.raw?e.raws.value.raw:e.value,o=c.util.saveComments(r),i=t.action(e.prop,o.value,c);return o.value=i.value,i.value=c.util.restoreComments(o),i.prop===e.prop&&i.value===r||(n++,e.prop=i.prop,e.value=i.value),!1}}))})),c.config.autoRename&&!n&&"rule"===e.parent.type&&c.util.isLastOfType(e)){var u=c.util.applyStringMap(e.parent.selector);if(!0===c.config.autoRenameStrict){var l=i[u];l?(l.selector=e.parent.selector,e.parent.selector=u):i[e.parent.selector]=e.parent}else e.parent.selector=u}break;case"rule":n=0}})),o.walk((function(e){t.warn('unclosed directive "'+e.metadata.name+'".',{node:e.source})})),Object.keys(i).forEach((function(e){t.warn("renaming skipped due to lack of a matching pair.",{node:i[e]})})),c.config.hooks.post(e,r)}})),e.exports.process=function(e,t,n,o){return r([this(t,n,o)]).process(e).css},e.exports.configure=function(e){return r([this((e=e||{}).options,e.plugins,e.hooks)])}},function(e,t,n){"use strict";var r=n(85),o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|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|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|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|scale|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|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=Object(r.a)((function(e){return o.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));t.a=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapControls=t.asyncControls=t.create=void 0;var r=n(142);Object.keys(r).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})}));var o=u(n(221)),i=u(n(223)),a=u(n(225));function u(e){return e&&e.__esModule?e:{default:e}}t.create=o.default,t.asyncControls=i.default,t.wrapControls=a.default},function(e,t,n){"use strict";(function(e){function r(t){void 0!==e&&e.env}n.d(t,"a",(function(){return r}))}).call(this,n(50))},function(e,t,n){var r=n(0),o={display:"block",opacity:0,position:"absolute",top:0,left:0,height:"100%",width:"100%",overflow:"hidden",pointerEvents:"none",zIndex:-1},i=function(e){var t=e.onResize,n=r.useRef();return function(e,t){var n=function(){return e.current&&e.current.contentDocument&&e.current.contentDocument.defaultView};function o(){t();var e=n();e&&e.addEventListener("resize",t)}r.useEffect((function(){return n()?o():e.current&&e.current.addEventListener&&e.current.addEventListener("load",o),function(){var e=n();e&&"function"==typeof e.removeEventListener&&e.removeEventListener("resize",t)}}),[])}(n,(function(){return t(n)})),r.createElement("iframe",{style:o,src:"about:blank",ref:n,"aria-hidden":!0,tabIndex:-1,frameBorder:0})},a=function(e){return{width:null!=e?e.offsetWidth:null,height:null!=e?e.offsetHeight:null}};e.exports=function(e){void 0===e&&(e=a);var t=r.useState(e(null)),n=t[0],o=t[1],u=r.useCallback((function(t){return o(e(t.current))}),[e]);return[r.useMemo((function(){return r.createElement(i,{onResize:u})}),[u]),n]}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return f}));var r=n(3),o=n(7),i=n(110),a=n(230);function u(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 c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l=1===e.env.COMPONENT_SYSTEM_PHASE?a.a:void 0,s=function(e){var t=e.text;return c(c({},Object(o.a)(e,["text"])),{},{content:t})};function f(e){return Object(i.a)(e,l,"WPComponentsTooltip",s)}}).call(this,n(50))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d}));var r=n(3),o=n(7),i=n(110),a=n(231);function u(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 c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l=1===e.env.COMPONENT_SYSTEM_PHASE?a.a:void 0,s=function(e){var t=e.isPrimary,n=e.isTertiary,r=e.isSecondary,o=e.isLink,i=e.isDefault;return t?"primary":n?"tertiary":r?"secondary":i?"plain":o?"link":"plain"},f=function(e){var t=e.isPrimary,n=e.isTertiary,r=e.isSecondary,i=e.isLink,a=e.isDefault,u=e.isSmall,l=e.isBusy,f=e.label,d=e["aria-label"],p=e.describedBy,h=e.shortcut,b=e.tooltipPosition,v=e.text;return c(c({},Object(o.a)(e,["isPrimary","isTertiary","isSecondary","isLink","isDefault","isSmall","isBusy","label","aria-label","describedBy","shortcut","tooltipPosition","text"])),{},{describedBy:p,variant:s({isPrimary:t,isTertiary:n,isSecondary:r,isLink:i,isDefault:a}),isActive:l,isLoading:l,size:u?"small":void 0,"aria-label":d||f,pre:v,tooltip:{content:p||(d||f),position:b,shortcut:h}})};function d(e){return Object(i.a)(e,l,"WPComponentsButton",f)}}).call(this,n(50))},function(e,t,n){"use strict";var r=n(152);var o=function(e){function t(e,t,r){var o=t.trim().split(h);t=o;var i=o.length,a=e.length;switch(a){case 0:case 1:var u=0;for(e=0===a?"":e[0]+" ";u<i;++u)t[u]=n(e,t[u],r).trim();break;default:var c=u=0;for(t=[];u<i;++u)for(var l=0;l<a;++l)t[c++]=n(e[l]+" ",o[u],r).trim()}return t}function n(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(b,"$1"+e.trim());case 58:return e.trim()+t.replace(b,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(b,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function r(e,t,n,i){var a=e+";",u=2*t+3*n+4*i;if(944===u){e=a.indexOf(":",9)+1;var c=a.substring(e,a.length-1).trim();return c=a.substring(0,e).trim()+c+";",1===P||2===P&&o(c,1)?"-webkit-"+c+c:c}if(0===P||2===P&&!o(a,1))return a;switch(u){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(_,"$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"+(c=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+c+a;case 1005:return d.test(a)?a.replace(f,":-webkit-")+a.replace(f,":-moz-")+a:a;case 1e3:switch(t=(c=a.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(t)){case 226:c=a.replace(y,"tb");break;case 232:c=a.replace(y,"tb-rl");break;case 220:c=a.replace(y,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+c+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,u=(c=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(111>c.charCodeAt(8))break;case 115:a=a.replace(c,"-webkit-"+c)+";"+a;break;case 207:case 102:a=a.replace(c,"-webkit-"+(102<u?"inline-":"")+"box")+";"+a.replace(c,"-webkit-"+c)+";"+a.replace(c,"-ms-"+c+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return c=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+c+"-ms-flex-"+c+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(j,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(j,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===k.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?r(e.replace("stretch","fill-available"),t,n,i).replace(":fill-available",":stretch"):a.replace(c,"-webkit-"+c)+a.replace(c,"-moz-"+c.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+i&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(p,"$1-webkit-$2")+a}return a}function o(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),I(2!==t?r:r.replace(x,"$1"),n,t)}function i(e,t){var n=r(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(w," or ($1)").substring(4):"("+t+")"}function a(e,t,n,r,o,i,a,u,l,s){for(var f,d=0,p=t;d<R;++d)switch(f=A[d].call(c,e,p,n,r,o,i,a,u,l,s)){case void 0:case!1:case!0:case null:break;default:p=f}if(p!==t)return p}function u(e){return void 0!==(e=e.prefix)&&(I=null,e?"function"!=typeof e?P=1:(P=2,I=e):P=0),u}function c(e,n){var u=e;if(33>u.charCodeAt(0)&&(u=u.trim()),u=[u],0<R){var c=a(-1,n,u,u,E,S,0,0,0,0);void 0!==c&&"string"==typeof c&&(n=c)}var f=function e(n,u,c,f,d){for(var p,h,b,y,w,j=0,x=0,k=0,_=0,A=0,I=0,M=b=p=0,L=0,D=0,B=0,F=0,z=c.length,U=z-1,H="",W="",$="",V="";L<z;){if(h=c.charCodeAt(L),L===U&&0!==x+_+k+j&&(0!==x&&(h=47===x?10:47),_=k=j=0,z++,U++),0===x+_+k+j){if(L===U&&(0<D&&(H=H.replace(s,"")),0<H.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:H+=c.charAt(L)}h=59}switch(h){case 123:for(p=(H=H.trim()).charCodeAt(0),b=1,F=++L;L<z;){switch(h=c.charCodeAt(L)){case 123:b++;break;case 125:b--;break;case 47:switch(h=c.charCodeAt(L+1)){case 42:case 47:e:{for(M=L+1;M<U;++M)switch(c.charCodeAt(M)){case 47:if(42===h&&42===c.charCodeAt(M-1)&&L+2!==M){L=M+1;break e}break;case 10:if(47===h){L=M+1;break e}}L=M}}break;case 91:h++;case 40:h++;case 34:case 39:for(;L++<U&&c.charCodeAt(L)!==h;);}if(0===b)break;L++}switch(b=c.substring(F,L),0===p&&(p=(H=H.replace(l,"").trim()).charCodeAt(0)),p){case 64:switch(0<D&&(H=H.replace(s,"")),h=H.charCodeAt(1)){case 100:case 109:case 115:case 45:D=u;break;default:D=T}if(F=(b=e(u,D,b,h,d+1)).length,0<R&&(w=a(3,b,D=t(T,H,B),u,E,S,F,h,d,f),H=D.join(""),void 0!==w&&0===(F=(b=w.trim()).length)&&(h=0,b="")),0<F)switch(h){case 115:H=H.replace(O,i);case 100:case 109:case 45:b=H+"{"+b+"}";break;case 107:b=(H=H.replace(v,"$1 $2"))+"{"+b+"}",b=1===P||2===P&&o("@"+b,3)?"@-webkit-"+b+"@"+b:"@"+b;break;default:b=H+b,112===f&&(W+=b,b="")}else b="";break;default:b=e(u,t(u,H,B),b,f,d+1)}$+=b,b=B=D=M=p=0,H="",h=c.charCodeAt(++L);break;case 125:case 59:if(1<(F=(H=(0<D?H.replace(s,""):H).trim()).length))switch(0===M&&(p=H.charCodeAt(0),45===p||96<p&&123>p)&&(F=(H=H.replace(" ",":")).length),0<R&&void 0!==(w=a(1,H,u,n,E,S,W.length,f,d,f))&&0===(F=(H=w.trim()).length)&&(H="\0\0"),p=H.charCodeAt(0),h=H.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){V+=H+c.charAt(L);break}default:58!==H.charCodeAt(F-1)&&(W+=r(H,p,h,H.charCodeAt(2)))}B=D=M=p=0,H="",h=c.charCodeAt(++L)}}switch(h){case 13:case 10:47===x?x=0:0===1+p&&107!==f&&0<H.length&&(D=1,H+="\0"),0<R*N&&a(0,H,u,n,E,S,W.length,f,d,f),S=1,E++;break;case 59:case 125:if(0===x+_+k+j){S++;break}default:switch(S++,y=c.charAt(L),h){case 9:case 32:if(0===_+j+x)switch(A){case 44:case 58:case 9:case 32:y="";break;default:32!==h&&(y=" ")}break;case 0:y="\\0";break;case 12:y="\\f";break;case 11:y="\\v";break;case 38:0===_+x+j&&(D=B=1,y="\f"+y);break;case 108:if(0===_+x+j+C&&0<M)switch(L-M){case 2:112===A&&58===c.charCodeAt(L-3)&&(C=A);case 8:111===I&&(C=I)}break;case 58:0===_+x+j&&(M=L);break;case 44:0===x+k+_+j&&(D=1,y+="\r");break;case 34:case 39:0===x&&(_=_===h?0:0===_?h:_);break;case 91:0===_+x+k&&j++;break;case 93:0===_+x+k&&j--;break;case 41:0===_+x+j&&k--;break;case 40:if(0===_+x+j){if(0===p)switch(2*A+3*I){case 533:break;default:p=1}k++}break;case 64:0===x+k+_+j+M+b&&(b=1);break;case 42:case 47:if(!(0<_+j+k))switch(x){case 0:switch(2*h+3*c.charCodeAt(L+1)){case 235:x=47;break;case 220:F=L,x=42}break;case 42:47===h&&42===A&&F+2!==L&&(33===c.charCodeAt(F+2)&&(W+=c.substring(F,L+1)),y="",x=0)}}0===x&&(H+=y)}I=A,A=h,L++}if(0<(F=W.length)){if(D=u,0<R&&(void 0!==(w=a(2,W,D,n,E,S,F,f,d,f))&&0===(W=w).length))return V+W+$;if(W=D.join(",")+"{"+W+"}",0!=P*C){switch(2!==P||o(W,2)||(C=0),C){case 111:W=W.replace(m,":-moz-$1")+W;break;case 112:W=W.replace(g,"::-webkit-input-$1")+W.replace(g,"::-moz-$1")+W.replace(g,":-ms-input-$1")+W}C=0}}return V+W+$}(T,u,n,0,0);return 0<R&&(void 0!==(c=a(-2,f,u,u,E,S,f.length,0,0,0))&&(f=c)),"",C=0,S=E=1,f}var l=/^\0+/g,s=/[\0\r\f]/g,f=/: */g,d=/zoo|gra/,p=/([,: ])(transform)/g,h=/,\r+?/g,b=/([\t\r\n ])*\f?&/g,v=/@(k\w+)\s*(\S*)\s*/,g=/::(place)/g,m=/:(read-only)/g,y=/[svh]\w+-[tblr]{2}/,O=/\(\s*(.*)\s*\)/g,w=/([\s\S]*?);/g,j=/-self|flex-/g,x=/[^]*?(:[rp][el]a[\w-]+)[^]*/,k=/stretch|:\s*\w+\-(?:conte|avail)/,_=/([^-])(image-set\()/,S=1,E=1,C=0,P=1,T=[],A=[],R=0,I=null,N=0;return c.use=function e(t){switch(t){case void 0:case null:R=A.length=0;break;default:if("function"==typeof t)A[R++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else N=0|!!t}return e},c.set=u,void 0!==e&&u(e),c};n(194);function i(e){e&&a.current.insert(e+"}")}var a={current:null},u=function(e,t,n,r,o,u,c,l,s,f){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return a.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===l)return t+"/*|*/";break;case 3:switch(l){case 102:case 112:return a.current.insert(n[0]+t),"";default:return t+(0===f?"/*|*/":"")}case-2:t.split("/*|*/}").forEach(i)}};t.a=function(e){void 0===e&&(e={});var t,n=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var i=new o(t);var c,l={};c=e.container||document.head;var s,f=document.querySelectorAll("style[data-emotion-"+n+"]");Array.prototype.forEach.call(f,(function(e){e.getAttribute("data-emotion-"+n).split(" ").forEach((function(e){l[e]=!0})),e.parentNode!==c&&c.appendChild(e)})),i.use(e.stylisPlugins)(u),s=function(e,t,n,r){var o=t.name;a.current=n,i(e,t.styles),r&&(d.inserted[o]=!0)};var d={key:n,sheet:new r.a({key:n,container:c,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:l,registered:{},insert:s};return d}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(67),o=n(229),i=n(2),a=n(0),u=n.n(a),c=n(45);function l(e,t,n){void 0===n&&(n={});var l=n.memo,s=void 0===l||l,f=Object(a.forwardRef)(e);s&&(f=u.a.memo(f));var d=Array.isArray(t)?t[0]:t||f.name;var p=f[c.b]||[d];return Array.isArray(t)&&(p=[].concat(p,t)),"string"==typeof t&&(p=[].concat(p,[t])),f.displayName=d,f[c.b]=Object(i.uniq)(p),f[r.a]=Object(o.a)(d),f}},,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";
|
57 |
+
/** @license React v16.14.0
|
58 |
+
* react.production.min.js
|
59 |
+
*
|
60 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
61 |
+
*
|
62 |
+
* This source code is licensed under the MIT license found in the
|
63 |
+
* LICENSE file in the root directory of this source tree.
|
64 |
+
*/var r=n(121),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,u=o?Symbol.for("react.fragment"):60107,c=o?Symbol.for("react.strict_mode"):60108,l=o?Symbol.for("react.profiler"):60114,s=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,d=o?Symbol.for("react.forward_ref"):60112,p=o?Symbol.for("react.suspense"):60113,h=o?Symbol.for("react.memo"):60115,b=o?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function g(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y={};function O(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||m}function w(){}function j(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||m}O.prototype.isReactComponent={},O.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(g(85));this.updater.enqueueSetState(this,e,t,"setState")},O.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=O.prototype;var x=j.prototype=new w;x.constructor=j,r(x,O.prototype),x.isPureReactComponent=!0;var k={current:null},_=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,n){var r,o={},a=null,u=null;if(null!=t)for(r in void 0!==t.ref&&(u=t.ref),void 0!==t.key&&(a=""+t.key),t)_.call(t,r)&&!S.hasOwnProperty(r)&&(o[r]=t[r]);var c=arguments.length-2;if(1===c)o.children=n;else if(1<c){for(var l=Array(c),s=0;s<c;s++)l[s]=arguments[s+2];o.children=l}if(e&&e.defaultProps)for(r in c=e.defaultProps)void 0===o[r]&&(o[r]=c[r]);return{$$typeof:i,type:e,key:a,ref:u,props:o,_owner:k.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var P=/\/+/g,T=[];function A(e,t,n,r){if(T.length){var o=T.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function R(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>T.length&&T.push(e)}function I(e,t,n){return null==e?0:function e(t,n,r,o){var u=typeof t;"undefined"!==u&&"boolean"!==u||(t=null);var c=!1;if(null===t)c=!0;else switch(u){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case i:case a:c=!0}}if(c)return r(o,t,""===n?"."+N(t,0):n),1;if(c=0,n=""===n?".":n+":",Array.isArray(t))for(var l=0;l<t.length;l++){var s=n+N(u=t[l],l);c+=e(u,s,r,o)}else if(null===t||"object"!=typeof t?s=null:s="function"==typeof(s=v&&t[v]||t["@@iterator"])?s:null,"function"==typeof s)for(t=s.call(t),l=0;!(u=t.next()).done;)c+=e(u=u.value,s=n+N(u,l++),r,o);else if("object"===u)throw r=""+t,Error(g(31,"[object Object]"===r?"object with keys {"+Object.keys(t).join(", ")+"}":r,""));return c}(e,"",t,n)}function N(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function M(e,t){e.func.call(e.context,t,e.count++)}function L(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?D(e,r,n,(function(e){return e})):null!=e&&(C(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(P,"$&/")+"/")+n)),r.push(e))}function D(e,t,n,r,o){var i="";null!=n&&(i=(""+n).replace(P,"$&/")+"/"),I(e,L,t=A(t,i,r,o)),R(t)}var B={current:null};function F(){var e=B.current;if(null===e)throw Error(g(321));return e}var z={ReactCurrentDispatcher:B,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:k,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return D(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;I(e,M,t=A(null,null,t,n)),R(t)},count:function(e){return I(e,(function(){return null}),null)},toArray:function(e){var t=[];return D(e,t,null,(function(e){return e})),t},only:function(e){if(!C(e))throw Error(g(143));return e}},t.Component=O,t.Fragment=u,t.Profiler=l,t.PureComponent=j,t.StrictMode=c,t.Suspense=p,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=z,t.cloneElement=function(e,t,n){if(null==e)throw Error(g(267,e));var o=r({},e.props),a=e.key,u=e.ref,c=e._owner;if(null!=t){if(void 0!==t.ref&&(u=t.ref,c=k.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(s in t)_.call(t,s)&&!S.hasOwnProperty(s)&&(o[s]=void 0===t[s]&&void 0!==l?l[s]:t[s])}var s=arguments.length-2;if(1===s)o.children=n;else if(1<s){l=Array(s);for(var f=0;f<s;f++)l[f]=arguments[f+2];o.children=l}return{$$typeof:i,type:e.type,key:a,ref:u,props:o,_owner:c}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:d,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:b,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return F().useCallback(e,t)},t.useContext=function(e,t){return F().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return F().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return F().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return F().useLayoutEffect(e,t)},t.useMemo=function(e,t){return F().useMemo(e,t)},t.useReducer=function(e,t,n){return F().useReducer(e,t,n)},t.useRef=function(e){return F().useRef(e)},t.useState=function(e){return F().useState(e)},t.version="16.14.0"},function(e,t,n){"use strict";
|
65 |
+
/** @license React v16.14.0
|
66 |
+
* react-dom.production.min.js
|
67 |
+
*
|
68 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
69 |
+
*
|
70 |
+
* This source code is licensed under the MIT license found in the
|
71 |
+
* LICENSE file in the root directory of this source tree.
|
72 |
+
*/var r=n(0),o=n(121),i=n(186);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));function u(e,t,n,r,o,i,a,u,c){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(e){this.onError(e)}}var c=!1,l=null,s=!1,f=null,d={onError:function(e){c=!0,l=e}};function p(e,t,n,r,o,i,a,s,f){c=!1,l=null,u.apply(d,arguments)}var h=null,b=null,v=null;function g(e,t,n){var r=e.type||"unknown-event";e.currentTarget=v(n),function(e,t,n,r,o,i,u,d,h){if(p.apply(this,arguments),c){if(!c)throw Error(a(198));var b=l;c=!1,l=null,s||(s=!0,f=b)}}(r,t,void 0,e),e.currentTarget=null}var m=null,y={};function O(){if(m)for(var e in y){var t=y[e],n=m.indexOf(e);if(!(-1<n))throw Error(a(96,e));if(!j[n]){if(!t.extractEvents)throw Error(a(97,e));for(var r in j[n]=t,n=t.eventTypes){var o=void 0,i=n[r],u=t,c=r;if(x.hasOwnProperty(c))throw Error(a(99,c));x[c]=i;var l=i.phasedRegistrationNames;if(l){for(o in l)l.hasOwnProperty(o)&&w(l[o],u,c);o=!0}else i.registrationName?(w(i.registrationName,u,c),o=!0):o=!1;if(!o)throw Error(a(98,r,e))}}}}function w(e,t,n){if(k[e])throw Error(a(100,e));k[e]=t,_[e]=t.eventTypes[n].dependencies}var j=[],x={},k={},_={};function S(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!y.hasOwnProperty(t)||y[t]!==r){if(y[t])throw Error(a(102,t));y[t]=r,n=!0}}n&&O()}var E=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),C=null,P=null,T=null;function A(e){if(e=b(e)){if("function"!=typeof C)throw Error(a(280));var t=e.stateNode;t&&(t=h(t),C(e.stateNode,e.type,t))}}function R(e){P?T?T.push(e):T=[e]:P=e}function I(){if(P){var e=P,t=T;if(T=P=null,A(e),t)for(e=0;e<t.length;e++)A(t[e])}}function N(e,t){return e(t)}function M(e,t,n,r,o){return e(t,n,r,o)}function L(){}var D=N,B=!1,F=!1;function z(){null===P&&null===T||(L(),I())}function U(e,t,n){if(F)return e(t,n);F=!0;try{return D(e,t,n)}finally{F=!1,z()}}var H=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,W=Object.prototype.hasOwnProperty,$={},V={};function G(e,t,n,r,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i}var q={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){q[e]=new G(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];q[t]=new G(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){q[e]=new G(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){q[e]=new G(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){q[e]=new G(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){q[e]=new G(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){q[e]=new G(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){q[e]=new G(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){q[e]=new G(e,5,!1,e.toLowerCase(),null,!1)}));var Y=/[\-:]([a-z])/g;function X(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(Y,X);q[t]=new G(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(Y,X);q[t]=new G(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(Y,X);q[t]=new G(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){q[e]=new G(e,1,!1,e.toLowerCase(),null,!1)})),q.xlinkHref=new G("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){q[e]=new G(e,1,!1,e.toLowerCase(),null,!0)}));var K=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function Q(e,t,n,r){var o=q.hasOwnProperty(t)?q[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!W.call(V,e)||!W.call($,e)&&(H.test(e)?V[e]=!0:($[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}K.hasOwnProperty("ReactCurrentDispatcher")||(K.ReactCurrentDispatcher={current:null}),K.hasOwnProperty("ReactCurrentBatchConfig")||(K.ReactCurrentBatchConfig={suspense:null});var J=/^(.*)[\\\/]/,Z="function"==typeof Symbol&&Symbol.for,ee=Z?Symbol.for("react.element"):60103,te=Z?Symbol.for("react.portal"):60106,ne=Z?Symbol.for("react.fragment"):60107,re=Z?Symbol.for("react.strict_mode"):60108,oe=Z?Symbol.for("react.profiler"):60114,ie=Z?Symbol.for("react.provider"):60109,ae=Z?Symbol.for("react.context"):60110,ue=Z?Symbol.for("react.concurrent_mode"):60111,ce=Z?Symbol.for("react.forward_ref"):60112,le=Z?Symbol.for("react.suspense"):60113,se=Z?Symbol.for("react.suspense_list"):60120,fe=Z?Symbol.for("react.memo"):60115,de=Z?Symbol.for("react.lazy"):60116,pe=Z?Symbol.for("react.block"):60121,he="function"==typeof Symbol&&Symbol.iterator;function be(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=he&&e[he]||e["@@iterator"])?e:null}function ve(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case ne:return"Fragment";case te:return"Portal";case oe:return"Profiler";case re:return"StrictMode";case le:return"Suspense";case se:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ae:return"Context.Consumer";case ie:return"Context.Provider";case ce:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case fe:return ve(e.type);case pe:return ve(e.render);case de:if(e=1===e._status?e._result:null)return ve(e)}return null}function ge(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,o=e._debugSource,i=ve(e.type);n=null,r&&(n=ve(r.type)),r=i,i="",o?i=" (at "+o.fileName.replace(J,"")+":"+o.lineNumber+")":n&&(i=" (created by "+n+")"),n="\n in "+(r||"Unknown")+i}t+=n,e=e.return}while(e);return t}function me(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function ye(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Oe(e){e._valueTracker||(e._valueTracker=function(e){var t=ye(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function we(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ye(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function je(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function xe(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=me(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function ke(e,t){null!=(t=t.checked)&&Q(e,"checked",t,!1)}function _e(e,t){ke(e,t);var n=me(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ee(e,t.type,me(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Se(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Ee(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Ce(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Pe(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+me(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function Te(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Ae(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:me(n)}}function Re(e,t){var n=me(t.value),r=me(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var Ne="http://www.w3.org/1999/xhtml",Me="http://www.w3.org/2000/svg";function Le(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function De(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Be,Fe=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if(e.namespaceURI!==Me||"innerHTML"in e)e.innerHTML=t;else{for((Be=Be||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Be.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function ze(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function Ue(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var He={animationend:Ue("Animation","AnimationEnd"),animationiteration:Ue("Animation","AnimationIteration"),animationstart:Ue("Animation","AnimationStart"),transitionend:Ue("Transition","TransitionEnd")},We={},$e={};function Ve(e){if(We[e])return We[e];if(!He[e])return e;var t,n=He[e];for(t in n)if(n.hasOwnProperty(t)&&t in $e)return We[e]=n[t];return e}E&&($e=document.createElement("div").style,"AnimationEvent"in window||(delete He.animationend.animation,delete He.animationiteration.animation,delete He.animationstart.animation),"TransitionEvent"in window||delete He.transitionend.transition);var Ge=Ve("animationend"),qe=Ve("animationiteration"),Ye=Ve("animationstart"),Xe=Ve("transitionend"),Ke="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Qe=new("function"==typeof WeakMap?WeakMap:Map);function Je(e){var t=Qe.get(e);return void 0===t&&(t=new Map,Qe.set(e,t)),t}function Ze(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function et(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function tt(e){if(Ze(e)!==e)throw Error(a(188))}function nt(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ze(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return tt(o),e;if(i===r)return tt(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var u=!1,c=o.child;c;){if(c===n){u=!0,n=o,r=i;break}if(c===r){u=!0,r=o,n=i;break}c=c.sibling}if(!u){for(c=i.child;c;){if(c===n){u=!0,n=i,r=o;break}if(c===r){u=!0,r=i,n=o;break}c=c.sibling}if(!u)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function rt(e,t){if(null==t)throw Error(a(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function ot(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var it=null;function at(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)g(e,t[r],n[r]);else t&&g(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function ut(e){if(null!==e&&(it=rt(it,e)),e=it,it=null,e){if(ot(e,at),it)throw Error(a(95));if(s)throw e=f,s=!1,f=null,e}}function ct(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function lt(e){if(!E)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}var st=[];function ft(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>st.length&&st.push(e)}function dt(e,t,n,r){if(st.length){var o=st.pop();return o.topLevelType=e,o.eventSystemFlags=r,o.nativeEvent=t,o.targetInst=n,o}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function pt(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=En(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var o=ct(e.nativeEvent);r=e.topLevelType;var i=e.nativeEvent,a=e.eventSystemFlags;0===n&&(a|=64);for(var u=null,c=0;c<j.length;c++){var l=j[c];l&&(l=l.extractEvents(r,t,i,o,a))&&(u=rt(u,l))}ut(u)}}function ht(e,t,n){if(!n.has(e)){switch(e){case"scroll":Yt(t,"scroll",!0);break;case"focus":case"blur":Yt(t,"focus",!0),Yt(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":lt(e)&&Yt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Ke.indexOf(e)&&qt(e,t)}n.set(e,null)}}var bt,vt,gt,mt=!1,yt=[],Ot=null,wt=null,jt=null,xt=new Map,kt=new Map,_t=[],St="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),Et="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Ct(e,t,n,r,o){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:o,container:r}}function Pt(e,t){switch(e){case"focus":case"blur":Ot=null;break;case"dragenter":case"dragleave":wt=null;break;case"mouseover":case"mouseout":jt=null;break;case"pointerover":case"pointerout":xt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":kt.delete(t.pointerId)}}function Tt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e=Ct(t,n,r,o,i),null!==t&&(null!==(t=Cn(t))&&vt(t)),e):(e.eventSystemFlags|=r,e)}function At(e){var t=En(e.target);if(null!==t){var n=Ze(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=et(n)))return e.blockedOn=t,void i.unstable_runWithPriority(e.priority,(function(){gt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Rt(e){if(null!==e.blockedOn)return!1;var t=Jt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=Cn(t);return null!==n&&vt(n),e.blockedOn=t,!1}return!0}function It(e,t,n){Rt(e)&&n.delete(t)}function Nt(){for(mt=!1;0<yt.length;){var e=yt[0];if(null!==e.blockedOn){null!==(e=Cn(e.blockedOn))&&bt(e);break}var t=Jt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:yt.shift()}null!==Ot&&Rt(Ot)&&(Ot=null),null!==wt&&Rt(wt)&&(wt=null),null!==jt&&Rt(jt)&&(jt=null),xt.forEach(It),kt.forEach(It)}function Mt(e,t){e.blockedOn===t&&(e.blockedOn=null,mt||(mt=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Nt)))}function Lt(e){function t(t){return Mt(t,e)}if(0<yt.length){Mt(yt[0],e);for(var n=1;n<yt.length;n++){var r=yt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Ot&&Mt(Ot,e),null!==wt&&Mt(wt,e),null!==jt&&Mt(jt,e),xt.forEach(t),kt.forEach(t),n=0;n<_t.length;n++)(r=_t[n]).blockedOn===e&&(r.blockedOn=null);for(;0<_t.length&&null===(n=_t[0]).blockedOn;)At(n),null===n.blockedOn&&_t.shift()}var Dt={},Bt=new Map,Ft=new Map,zt=["abort","abort",Ge,"animationEnd",qe,"animationIteration",Ye,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Xe,"transitionEnd","waiting","waiting"];function Ut(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1],i="on"+(o[0].toUpperCase()+o.slice(1));i={phasedRegistrationNames:{bubbled:i,captured:i+"Capture"},dependencies:[r],eventPriority:t},Ft.set(r,t),Bt.set(r,i),Dt[o]=i}}Ut("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Ut("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Ut(zt,2);for(var Ht="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Wt=0;Wt<Ht.length;Wt++)Ft.set(Ht[Wt],0);var $t=i.unstable_UserBlockingPriority,Vt=i.unstable_runWithPriority,Gt=!0;function qt(e,t){Yt(t,e,!1)}function Yt(e,t,n){var r=Ft.get(t);switch(void 0===r?2:r){case 0:r=Xt.bind(null,t,1,e);break;case 1:r=Kt.bind(null,t,1,e);break;default:r=Qt.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Xt(e,t,n,r){B||L();var o=Qt,i=B;B=!0;try{M(o,e,t,n,r)}finally{(B=i)||z()}}function Kt(e,t,n,r){Vt($t,Qt.bind(null,e,t,n,r))}function Qt(e,t,n,r){if(Gt)if(0<yt.length&&-1<St.indexOf(e))e=Ct(null,e,t,n,r),yt.push(e);else{var o=Jt(e,t,n,r);if(null===o)Pt(e,r);else if(-1<St.indexOf(e))e=Ct(o,e,t,n,r),yt.push(e);else if(!function(e,t,n,r,o){switch(t){case"focus":return Ot=Tt(Ot,e,t,n,r,o),!0;case"dragenter":return wt=Tt(wt,e,t,n,r,o),!0;case"mouseover":return jt=Tt(jt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return xt.set(i,Tt(xt.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,kt.set(i,Tt(kt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r)){Pt(e,r),e=dt(e,r,null,t);try{U(pt,e)}finally{ft(e)}}}}function Jt(e,t,n,r){if(null!==(n=En(n=ct(r)))){var o=Ze(n);if(null===o)n=null;else{var i=o.tag;if(13===i){if(null!==(n=et(o)))return n;n=null}else if(3===i){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;n=null}else o!==n&&(n=null)}}e=dt(e,r,n,t);try{U(pt,e)}finally{ft(e)}return null}var Zt={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},en=["Webkit","ms","Moz","O"];function tn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Zt.hasOwnProperty(e)&&Zt[e]?(""+t).trim():t+"px"}function nn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=tn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(Zt).forEach((function(e){en.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Zt[t]=Zt[e]}))}));var rn=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function on(e,t){if(t){if(rn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62,""))}}function an(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var un=Ne;function cn(e,t){var n=Je(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=_[t];for(var r=0;r<t.length;r++)ht(t[r],e,n)}function ln(){}function sn(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function fn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function dn(e,t){var n,r=fn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=fn(r)}}function pn(){for(var e=window,t=sn();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=sn((e=t.contentWindow).document)}return t}function hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var bn=null,vn=null;function gn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function mn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var yn="function"==typeof setTimeout?setTimeout:void 0,On="function"==typeof clearTimeout?clearTimeout:void 0;function wn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function jn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var xn=Math.random().toString(36).slice(2),kn="__reactInternalInstance$"+xn,_n="__reactEventHandlers$"+xn,Sn="__reactContainere$"+xn;function En(e){var t=e[kn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Sn]||n[kn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=jn(e);null!==e;){if(n=e[kn])return n;e=jn(e)}return t}n=(e=n).parentNode}return null}function Cn(e){return!(e=e[kn]||e[Sn])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Pn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function Tn(e){return e[_n]||null}function An(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Rn(e,t){var n=e.stateNode;if(!n)return null;var r=h(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}function In(e,t,n){(t=Rn(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function Nn(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=An(t);for(t=n.length;0<t--;)In(n[t],"captured",e);for(t=0;t<n.length;t++)In(n[t],"bubbled",e)}}function Mn(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=Rn(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function Ln(e){e&&e.dispatchConfig.registrationName&&Mn(e._targetInst,null,e)}function Dn(e){ot(e,Nn)}var Bn=null,Fn=null,zn=null;function Un(){if(zn)return zn;var e,t,n=Fn,r=n.length,o="value"in Bn?Bn.value:Bn.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return zn=o.slice(e,1<t?1-t:void 0)}function Hn(){return!0}function Wn(){return!1}function $n(e,t,n,r){for(var o in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(o)&&((t=e[o])?this[o]=t(n):"target"===o?this.target=r:this[o]=n[o]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Hn:Wn,this.isPropagationStopped=Wn,this}function Vn(e,t,n,r){if(this.eventPool.length){var o=this.eventPool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)}function Gn(e){if(!(e instanceof this))throw Error(a(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function qn(e){e.eventPool=[],e.getPooled=Vn,e.release=Gn}o($n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Hn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Hn)},persist:function(){this.isPersistent=Hn},isPersistent:Wn,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Wn,this._dispatchInstances=this._dispatchListeners=null}}),$n.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},$n.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var i=new t;return o(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=o({},r.Interface,e),n.extend=r.extend,qn(n),n},qn($n);var Yn=$n.extend({data:null}),Xn=$n.extend({data:null}),Kn=[9,13,27,32],Qn=E&&"CompositionEvent"in window,Jn=null;E&&"documentMode"in document&&(Jn=document.documentMode);var Zn=E&&"TextEvent"in window&&!Jn,er=E&&(!Qn||Jn&&8<Jn&&11>=Jn),tr=String.fromCharCode(32),nr={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},rr=!1;function or(e,t){switch(e){case"keyup":return-1!==Kn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function ir(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ar=!1;var ur={eventTypes:nr,extractEvents:function(e,t,n,r){var o;if(Qn)e:{switch(e){case"compositionstart":var i=nr.compositionStart;break e;case"compositionend":i=nr.compositionEnd;break e;case"compositionupdate":i=nr.compositionUpdate;break e}i=void 0}else ar?or(e,n)&&(i=nr.compositionEnd):"keydown"===e&&229===n.keyCode&&(i=nr.compositionStart);return i?(er&&"ko"!==n.locale&&(ar||i!==nr.compositionStart?i===nr.compositionEnd&&ar&&(o=Un()):(Fn="value"in(Bn=r)?Bn.value:Bn.textContent,ar=!0)),i=Yn.getPooled(i,t,n,r),o?i.data=o:null!==(o=ir(n))&&(i.data=o),Dn(i),o=i):o=null,(e=Zn?function(e,t){switch(e){case"compositionend":return ir(t);case"keypress":return 32!==t.which?null:(rr=!0,tr);case"textInput":return(e=t.data)===tr&&rr?null:e;default:return null}}(e,n):function(e,t){if(ar)return"compositionend"===e||!Qn&&or(e,t)?(e=Un(),zn=Fn=Bn=null,ar=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return er&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=Xn.getPooled(nr.beforeInput,t,n,r)).data=e,Dn(t)):t=null,null===o?t:null===t?o:[o,t]}},cr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function lr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!cr[e.type]:"textarea"===t}var sr={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function fr(e,t,n){return(e=$n.getPooled(sr.change,e,t,n)).type="change",R(n),Dn(e),e}var dr=null,pr=null;function hr(e){ut(e)}function br(e){if(we(Pn(e)))return e}function vr(e,t){if("change"===e)return t}var gr=!1;function mr(){dr&&(dr.detachEvent("onpropertychange",yr),pr=dr=null)}function yr(e){if("value"===e.propertyName&&br(pr))if(e=fr(pr,e,ct(e)),B)ut(e);else{B=!0;try{N(hr,e)}finally{B=!1,z()}}}function Or(e,t,n){"focus"===e?(mr(),pr=n,(dr=t).attachEvent("onpropertychange",yr)):"blur"===e&&mr()}function wr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return br(pr)}function jr(e,t){if("click"===e)return br(t)}function xr(e,t){if("input"===e||"change"===e)return br(t)}E&&(gr=lt("input")&&(!document.documentMode||9<document.documentMode));var kr={eventTypes:sr,_isInputEventSupported:gr,extractEvents:function(e,t,n,r){var o=t?Pn(t):window,i=o.nodeName&&o.nodeName.toLowerCase();if("select"===i||"input"===i&&"file"===o.type)var a=vr;else if(lr(o))if(gr)a=xr;else{a=wr;var u=Or}else(i=o.nodeName)&&"input"===i.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(a=jr);if(a&&(a=a(e,t)))return fr(a,n,r);u&&u(e,o,t),"blur"===e&&(e=o._wrapperState)&&e.controlled&&"number"===o.type&&Ee(o,"number",o.value)}},_r=$n.extend({view:null,detail:null}),Sr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Er(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sr[e])&&!!t[e]}function Cr(){return Er}var Pr=0,Tr=0,Ar=!1,Rr=!1,Ir=_r.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Cr,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Pr;return Pr=e.screenX,Ar?"mousemove"===e.type?e.screenX-t:0:(Ar=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Tr;return Tr=e.screenY,Rr?"mousemove"===e.type?e.screenY-t:0:(Rr=!0,0)}}),Nr=Ir.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Mr={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Lr={eventTypes:Mr,extractEvents:function(e,t,n,r,o){var i="mouseover"===e||"pointerover"===e,a="mouseout"===e||"pointerout"===e;if(i&&0==(32&o)&&(n.relatedTarget||n.fromElement)||!a&&!i)return null;(i=r.window===r?r:(i=r.ownerDocument)?i.defaultView||i.parentWindow:window,a)?(a=t,null!==(t=(t=n.relatedTarget||n.toElement)?En(t):null)&&(t!==Ze(t)||5!==t.tag&&6!==t.tag)&&(t=null)):a=null;if(a===t)return null;if("mouseout"===e||"mouseover"===e)var u=Ir,c=Mr.mouseLeave,l=Mr.mouseEnter,s="mouse";else"pointerout"!==e&&"pointerover"!==e||(u=Nr,c=Mr.pointerLeave,l=Mr.pointerEnter,s="pointer");if(e=null==a?i:Pn(a),i=null==t?i:Pn(t),(c=u.getPooled(c,a,n,r)).type=s+"leave",c.target=e,c.relatedTarget=i,(n=u.getPooled(l,t,n,r)).type=s+"enter",n.target=i,n.relatedTarget=e,s=t,(r=a)&&s)e:{for(l=s,a=0,e=u=r;e;e=An(e))a++;for(e=0,t=l;t;t=An(t))e++;for(;0<a-e;)u=An(u),a--;for(;0<e-a;)l=An(l),e--;for(;a--;){if(u===l||u===l.alternate)break e;u=An(u),l=An(l)}u=null}else u=null;for(l=u,u=[];r&&r!==l&&(null===(a=r.alternate)||a!==l);)u.push(r),r=An(r);for(r=[];s&&s!==l&&(null===(a=s.alternate)||a!==l);)r.push(s),s=An(s);for(s=0;s<u.length;s++)Mn(u[s],"bubbled",c);for(s=r.length;0<s--;)Mn(r[s],"captured",n);return 0==(64&o)?[c]:[c,n]}};var Dr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Br=Object.prototype.hasOwnProperty;function Fr(e,t){if(Dr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!Br.call(t,n[r])||!Dr(e[n[r]],t[n[r]]))return!1;return!0}var zr=E&&"documentMode"in document&&11>=document.documentMode,Ur={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Hr=null,Wr=null,$r=null,Vr=!1;function Gr(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Vr||null==Hr||Hr!==sn(n)?null:("selectionStart"in(n=Hr)&&hn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},$r&&Fr($r,n)?null:($r=n,(e=$n.getPooled(Ur.select,Wr,e,t)).type="select",e.target=Hr,Dn(e),e))}var qr={eventTypes:Ur,extractEvents:function(e,t,n,r,o,i){if(!(i=!(o=i||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{o=Je(o),i=_.onSelect;for(var a=0;a<i.length;a++)if(!o.has(i[a])){o=!1;break e}o=!0}i=!o}if(i)return null;switch(o=t?Pn(t):window,e){case"focus":(lr(o)||"true"===o.contentEditable)&&(Hr=o,Wr=t,$r=null);break;case"blur":$r=Wr=Hr=null;break;case"mousedown":Vr=!0;break;case"contextmenu":case"mouseup":case"dragend":return Vr=!1,Gr(n,r);case"selectionchange":if(zr)break;case"keydown":case"keyup":return Gr(n,r)}return null}},Yr=$n.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Xr=$n.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Kr=_r.extend({relatedTarget:null});function Qr(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var Jr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Zr={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},eo=_r.extend({key:function(e){if(e.key){var t=Jr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Qr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Zr[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Cr,charCode:function(e){return"keypress"===e.type?Qr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Qr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),to=Ir.extend({dataTransfer:null}),no=_r.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Cr}),ro=$n.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),oo=Ir.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),io={eventTypes:Dt,extractEvents:function(e,t,n,r){var o=Bt.get(e);if(!o)return null;switch(e){case"keypress":if(0===Qr(n))return null;case"keydown":case"keyup":e=eo;break;case"blur":case"focus":e=Kr;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Ir;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=to;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=no;break;case Ge:case qe:case Ye:e=Yr;break;case Xe:e=ro;break;case"scroll":e=_r;break;case"wheel":e=oo;break;case"copy":case"cut":case"paste":e=Xr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Nr;break;default:e=$n}return Dn(t=e.getPooled(o,t,n,r)),t}};if(m)throw Error(a(101));m=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),O(),h=Tn,b=Cn,v=Pn,S({SimpleEventPlugin:io,EnterLeaveEventPlugin:Lr,ChangeEventPlugin:kr,SelectEventPlugin:qr,BeforeInputEventPlugin:ur});var ao=[],uo=-1;function co(e){0>uo||(e.current=ao[uo],ao[uo]=null,uo--)}function lo(e,t){uo++,ao[uo]=e.current,e.current=t}var so={},fo={current:so},po={current:!1},ho=so;function bo(e,t){var n=e.type.contextTypes;if(!n)return so;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function vo(e){return null!=(e=e.childContextTypes)}function go(){co(po),co(fo)}function mo(e,t,n){if(fo.current!==so)throw Error(a(168));lo(fo,t),lo(po,n)}function yo(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw Error(a(108,ve(t)||"Unknown",i));return o({},n,{},r)}function Oo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||so,ho=fo.current,lo(fo,e),lo(po,po.current),!0}function wo(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=yo(e,t,ho),r.__reactInternalMemoizedMergedChildContext=e,co(po),co(fo),lo(fo,e)):co(po),lo(po,n)}var jo=i.unstable_runWithPriority,xo=i.unstable_scheduleCallback,ko=i.unstable_cancelCallback,_o=i.unstable_requestPaint,So=i.unstable_now,Eo=i.unstable_getCurrentPriorityLevel,Co=i.unstable_ImmediatePriority,Po=i.unstable_UserBlockingPriority,To=i.unstable_NormalPriority,Ao=i.unstable_LowPriority,Ro=i.unstable_IdlePriority,Io={},No=i.unstable_shouldYield,Mo=void 0!==_o?_o:function(){},Lo=null,Do=null,Bo=!1,Fo=So(),zo=1e4>Fo?So:function(){return So()-Fo};function Uo(){switch(Eo()){case Co:return 99;case Po:return 98;case To:return 97;case Ao:return 96;case Ro:return 95;default:throw Error(a(332))}}function Ho(e){switch(e){case 99:return Co;case 98:return Po;case 97:return To;case 96:return Ao;case 95:return Ro;default:throw Error(a(332))}}function Wo(e,t){return e=Ho(e),jo(e,t)}function $o(e,t,n){return e=Ho(e),xo(e,t,n)}function Vo(e){return null===Lo?(Lo=[e],Do=xo(Co,qo)):Lo.push(e),Io}function Go(){if(null!==Do){var e=Do;Do=null,ko(e)}qo()}function qo(){if(!Bo&&null!==Lo){Bo=!0;var e=0;try{var t=Lo;Wo(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Lo=null}catch(t){throw null!==Lo&&(Lo=Lo.slice(e+1)),xo(Co,Go),t}finally{Bo=!1}}}function Yo(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Xo(e,t){if(e&&e.defaultProps)for(var n in t=o({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var Ko={current:null},Qo=null,Jo=null,Zo=null;function ei(){Zo=Jo=Qo=null}function ti(e){var t=Ko.current;co(Ko),e.type._context._currentValue=t}function ni(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function ri(e,t){Qo=e,Zo=Jo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Ta=!0),e.firstContext=null)}function oi(e,t){if(Zo!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(Zo=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Jo){if(null===Qo)throw Error(a(308));Jo=t,Qo.dependencies={expirationTime:0,firstContext:t,responders:null}}else Jo=Jo.next=t;return e._currentValue}var ii=!1;function ai(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function ui(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function ci(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function li(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function si(e,t){var n=e.alternate;null!==n&&ui(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function fi(e,t,n,r){var i=e.updateQueue;ii=!1;var a=i.baseQueue,u=i.shared.pending;if(null!==u){if(null!==a){var c=a.next;a.next=u.next,u.next=c}a=u,i.shared.pending=null,null!==(c=e.alternate)&&(null!==(c=c.updateQueue)&&(c.baseQueue=u))}if(null!==a){c=a.next;var l=i.baseState,s=0,f=null,d=null,p=null;if(null!==c)for(var h=c;;){if((u=h.expirationTime)<r){var b={expirationTime:h.expirationTime,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null};null===p?(d=p=b,f=l):p=p.next=b,u>s&&(s=u)}else{null!==p&&(p=p.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),ic(u,h.suspenseConfig);e:{var v=e,g=h;switch(u=t,b=n,g.tag){case 1:if("function"==typeof(v=g.payload)){l=v.call(b,l,u);break e}l=v;break e;case 3:v.effectTag=-4097&v.effectTag|64;case 0:if(null==(u="function"==typeof(v=g.payload)?v.call(b,l,u):v))break e;l=o({},l,u);break e;case 2:ii=!0}}null!==h.callback&&(e.effectTag|=32,null===(u=i.effects)?i.effects=[h]:u.push(h))}if(null===(h=h.next)||h===c){if(null===(u=i.shared.pending))break;h=a.next=u.next,u.next=c,i.baseQueue=a=u,i.shared.pending=null}}null===p?f=l:p.next=d,i.baseState=f,i.baseQueue=p,ac(s),e.expirationTime=s,e.memoizedState=l}}function di(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=o,o=n,"function"!=typeof r)throw Error(a(191,r));r.call(o)}}}var pi=K.ReactCurrentBatchConfig,hi=(new r.Component).refs;function bi(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:o({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var vi={isMounted:function(e){return!!(e=e._reactInternalFiber)&&Ze(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=Gu(),o=pi.suspense;(o=ci(r=qu(r,e,o),o)).payload=t,null!=n&&(o.callback=n),li(e,o),Yu(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=Gu(),o=pi.suspense;(o=ci(r=qu(r,e,o),o)).tag=1,o.payload=t,null!=n&&(o.callback=n),li(e,o),Yu(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Gu(),r=pi.suspense;(r=ci(n=qu(n,e,r),r)).tag=2,null!=t&&(r.callback=t),li(e,r),Yu(e,n)}};function gi(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!Fr(n,r)||!Fr(o,i))}function mi(e,t,n){var r=!1,o=so,i=t.contextType;return"object"==typeof i&&null!==i?i=oi(i):(o=vo(t)?ho:fo.current,i=(r=null!=(r=t.contextTypes))?bo(e,o):so),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=vi,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function yi(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&vi.enqueueReplaceState(t,t.state,null)}function Oi(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=hi,ai(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=oi(i):(i=vo(t)?ho:fo.current,o.context=bo(e,i)),fi(e,n,o,r),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(bi(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&vi.enqueueReplaceState(o,o.state,null),fi(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.effectTag|=4)}var wi=Array.isArray;function ji(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=r.refs;t===hi&&(t=r.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function xi(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function ki(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Sc(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function u(t){return e&&null===t.alternate&&(t.effectTag=2),t}function c(e,t,n,r){return null===t||6!==t.tag?((t=Pc(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function l(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=ji(e,t,n),r.return=e,r):((r=Ec(n.type,n.key,n.props,null,e.mode,r)).ref=ji(e,t,n),r.return=e,r)}function s(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Tc(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function f(e,t,n,r,i){return null===t||7!==t.tag?((t=Cc(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Pc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=Ec(t.type,t.key,t.props,null,e.mode,n)).ref=ji(e,null,t),n.return=e,n;case te:return(t=Tc(t,e.mode,n)).return=e,t}if(wi(t)||be(t))return(t=Cc(t,e.mode,n,null)).return=e,t;xi(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:c(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===o?n.type===ne?f(e,t,n.props.children,r,o):l(e,t,n,r):null;case te:return n.key===o?s(e,t,n,r):null}if(wi(n)||be(n))return null!==o?null:f(e,t,n,r,null);xi(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return c(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case ee:return e=e.get(null===r.key?n:r.key)||null,r.type===ne?f(t,e,r.props.children,o,r.key):l(t,e,r,o);case te:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(wi(r)||be(r))return f(t,e=e.get(n)||null,r,o,null);xi(t,r)}return null}function b(o,a,u,c){for(var l=null,s=null,f=a,b=a=0,v=null;null!==f&&b<u.length;b++){f.index>b?(v=f,f=null):v=f.sibling;var g=p(o,f,u[b],c);if(null===g){null===f&&(f=v);break}e&&f&&null===g.alternate&&t(o,f),a=i(g,a,b),null===s?l=g:s.sibling=g,s=g,f=v}if(b===u.length)return n(o,f),l;if(null===f){for(;b<u.length;b++)null!==(f=d(o,u[b],c))&&(a=i(f,a,b),null===s?l=f:s.sibling=f,s=f);return l}for(f=r(o,f);b<u.length;b++)null!==(v=h(f,o,b,u[b],c))&&(e&&null!==v.alternate&&f.delete(null===v.key?b:v.key),a=i(v,a,b),null===s?l=v:s.sibling=v,s=v);return e&&f.forEach((function(e){return t(o,e)})),l}function v(o,u,c,l){var s=be(c);if("function"!=typeof s)throw Error(a(150));if(null==(c=s.call(c)))throw Error(a(151));for(var f=s=null,b=u,v=u=0,g=null,m=c.next();null!==b&&!m.done;v++,m=c.next()){b.index>v?(g=b,b=null):g=b.sibling;var y=p(o,b,m.value,l);if(null===y){null===b&&(b=g);break}e&&b&&null===y.alternate&&t(o,b),u=i(y,u,v),null===f?s=y:f.sibling=y,f=y,b=g}if(m.done)return n(o,b),s;if(null===b){for(;!m.done;v++,m=c.next())null!==(m=d(o,m.value,l))&&(u=i(m,u,v),null===f?s=m:f.sibling=m,f=m);return s}for(b=r(o,b);!m.done;v++,m=c.next())null!==(m=h(b,o,v,m.value,l))&&(e&&null!==m.alternate&&b.delete(null===m.key?v:m.key),u=i(m,u,v),null===f?s=m:f.sibling=m,f=m);return e&&b.forEach((function(e){return t(o,e)})),s}return function(e,r,i,c){var l="object"==typeof i&&null!==i&&i.type===ne&&null===i.key;l&&(i=i.props.children);var s="object"==typeof i&&null!==i;if(s)switch(i.$$typeof){case ee:e:{for(s=i.key,l=r;null!==l;){if(l.key===s){switch(l.tag){case 7:if(i.type===ne){n(e,l.sibling),(r=o(l,i.props.children)).return=e,e=r;break e}break;default:if(l.elementType===i.type){n(e,l.sibling),(r=o(l,i.props)).ref=ji(e,l,i),r.return=e,e=r;break e}}n(e,l);break}t(e,l),l=l.sibling}i.type===ne?((r=Cc(i.props.children,e.mode,c,i.key)).return=e,e=r):((c=Ec(i.type,i.key,i.props,null,e.mode,c)).ref=ji(e,r,i),c.return=e,e=c)}return u(e);case te:e:{for(l=i.key;null!==r;){if(r.key===l){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Tc(i,e.mode,c)).return=e,e=r}return u(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e,e=r):(n(e,r),(r=Pc(i,e.mode,c)).return=e,e=r),u(e);if(wi(i))return b(e,r,i,c);if(be(i))return v(e,r,i,c);if(s&&xi(e,i),void 0===i&&!l)switch(e.tag){case 1:case 0:throw e=e.type,Error(a(152,e.displayName||e.name||"Component"))}return n(e,r)}}var _i=ki(!0),Si=ki(!1),Ei={},Ci={current:Ei},Pi={current:Ei},Ti={current:Ei};function Ai(e){if(e===Ei)throw Error(a(174));return e}function Ri(e,t){switch(lo(Ti,t),lo(Pi,e),lo(Ci,Ei),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:De(null,"");break;default:t=De(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}co(Ci),lo(Ci,t)}function Ii(){co(Ci),co(Pi),co(Ti)}function Ni(e){Ai(Ti.current);var t=Ai(Ci.current),n=De(t,e.type);t!==n&&(lo(Pi,e),lo(Ci,n))}function Mi(e){Pi.current===e&&(co(Ci),co(Pi))}var Li={current:0};function Di(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Bi(e,t){return{responder:e,props:t}}var Fi=K.ReactCurrentDispatcher,zi=K.ReactCurrentBatchConfig,Ui=0,Hi=null,Wi=null,$i=null,Vi=!1;function Gi(){throw Error(a(321))}function qi(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Dr(e[n],t[n]))return!1;return!0}function Yi(e,t,n,r,o,i){if(Ui=i,Hi=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,Fi.current=null===e||null===e.memoizedState?ga:ma,e=n(r,o),t.expirationTime===Ui){i=0;do{if(t.expirationTime=0,!(25>i))throw Error(a(301));i+=1,$i=Wi=null,t.updateQueue=null,Fi.current=ya,e=n(r,o)}while(t.expirationTime===Ui)}if(Fi.current=va,t=null!==Wi&&null!==Wi.next,Ui=0,$i=Wi=Hi=null,Vi=!1,t)throw Error(a(300));return e}function Xi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===$i?Hi.memoizedState=$i=e:$i=$i.next=e,$i}function Ki(){if(null===Wi){var e=Hi.alternate;e=null!==e?e.memoizedState:null}else e=Wi.next;var t=null===$i?Hi.memoizedState:$i.next;if(null!==t)$i=t,Wi=e;else{if(null===e)throw Error(a(310));e={memoizedState:(Wi=e).memoizedState,baseState:Wi.baseState,baseQueue:Wi.baseQueue,queue:Wi.queue,next:null},null===$i?Hi.memoizedState=$i=e:$i=$i.next=e}return $i}function Qi(e,t){return"function"==typeof t?t(e):t}function Ji(e){var t=Ki(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=Wi,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var u=o.next;o.next=i.next,i.next=u}r.baseQueue=o=i,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var c=u=i=null,l=o;do{var s=l.expirationTime;if(s<Ui){var f={expirationTime:l.expirationTime,suspenseConfig:l.suspenseConfig,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null};null===c?(u=c=f,i=r):c=c.next=f,s>Hi.expirationTime&&(Hi.expirationTime=s,ac(s))}else null!==c&&(c=c.next={expirationTime:1073741823,suspenseConfig:l.suspenseConfig,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null}),ic(s,l.suspenseConfig),r=l.eagerReducer===e?l.eagerState:e(r,l.action);l=l.next}while(null!==l&&l!==o);null===c?i=r:c.next=u,Dr(r,t.memoizedState)||(Ta=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=c,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function Zi(e){var t=Ki(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var u=o=o.next;do{i=e(i,u.action),u=u.next}while(u!==o);Dr(i,t.memoizedState)||(Ta=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function ea(e){var t=Xi();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Qi,lastRenderedState:e}).dispatch=ba.bind(null,Hi,e),[t.memoizedState,e]}function ta(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Hi.updateQueue)?(t={lastEffect:null},Hi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function na(){return Ki().memoizedState}function ra(e,t,n,r){var o=Xi();Hi.effectTag|=e,o.memoizedState=ta(1|t,n,void 0,void 0===r?null:r)}function oa(e,t,n,r){var o=Ki();r=void 0===r?null:r;var i=void 0;if(null!==Wi){var a=Wi.memoizedState;if(i=a.destroy,null!==r&&qi(r,a.deps))return void ta(t,n,i,r)}Hi.effectTag|=e,o.memoizedState=ta(1|t,n,i,r)}function ia(e,t){return ra(516,4,e,t)}function aa(e,t){return oa(516,4,e,t)}function ua(e,t){return oa(4,2,e,t)}function ca(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function la(e,t,n){return n=null!=n?n.concat([e]):null,oa(4,2,ca.bind(null,t,e),n)}function sa(){}function fa(e,t){return Xi().memoizedState=[e,void 0===t?null:t],e}function da(e,t){var n=Ki();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&qi(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function pa(e,t){var n=Ki();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&qi(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ha(e,t,n){var r=Uo();Wo(98>r?98:r,(function(){e(!0)})),Wo(97<r?97:r,(function(){var r=zi.suspense;zi.suspense=void 0===t?null:t;try{e(!1),n()}finally{zi.suspense=r}}))}function ba(e,t,n){var r=Gu(),o=pi.suspense;o={expirationTime:r=qu(r,e,o),suspenseConfig:o,action:n,eagerReducer:null,eagerState:null,next:null};var i=t.pending;if(null===i?o.next=o:(o.next=i.next,i.next=o),t.pending=o,i=e.alternate,e===Hi||null!==i&&i===Hi)Vi=!0,o.expirationTime=Ui,Hi.expirationTime=Ui;else{if(0===e.expirationTime&&(null===i||0===i.expirationTime)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,u=i(a,n);if(o.eagerReducer=i,o.eagerState=u,Dr(u,a))return}catch(e){}Yu(e,r)}}var va={readContext:oi,useCallback:Gi,useContext:Gi,useEffect:Gi,useImperativeHandle:Gi,useLayoutEffect:Gi,useMemo:Gi,useReducer:Gi,useRef:Gi,useState:Gi,useDebugValue:Gi,useResponder:Gi,useDeferredValue:Gi,useTransition:Gi},ga={readContext:oi,useCallback:fa,useContext:oi,useEffect:ia,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,ra(4,2,ca.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ra(4,2,e,t)},useMemo:function(e,t){var n=Xi();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Xi();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=ba.bind(null,Hi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Xi().memoizedState=e},useState:ea,useDebugValue:sa,useResponder:Bi,useDeferredValue:function(e,t){var n=ea(e),r=n[0],o=n[1];return ia((function(){var n=zi.suspense;zi.suspense=void 0===t?null:t;try{o(e)}finally{zi.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ea(!1),n=t[0];return t=t[1],[fa(ha.bind(null,t,e),[t,e]),n]}},ma={readContext:oi,useCallback:da,useContext:oi,useEffect:aa,useImperativeHandle:la,useLayoutEffect:ua,useMemo:pa,useReducer:Ji,useRef:na,useState:function(){return Ji(Qi)},useDebugValue:sa,useResponder:Bi,useDeferredValue:function(e,t){var n=Ji(Qi),r=n[0],o=n[1];return aa((function(){var n=zi.suspense;zi.suspense=void 0===t?null:t;try{o(e)}finally{zi.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Ji(Qi),n=t[0];return t=t[1],[da(ha.bind(null,t,e),[t,e]),n]}},ya={readContext:oi,useCallback:da,useContext:oi,useEffect:aa,useImperativeHandle:la,useLayoutEffect:ua,useMemo:pa,useReducer:Zi,useRef:na,useState:function(){return Zi(Qi)},useDebugValue:sa,useResponder:Bi,useDeferredValue:function(e,t){var n=Zi(Qi),r=n[0],o=n[1];return aa((function(){var n=zi.suspense;zi.suspense=void 0===t?null:t;try{o(e)}finally{zi.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Zi(Qi),n=t[0];return t=t[1],[da(ha.bind(null,t,e),[t,e]),n]}},Oa=null,wa=null,ja=!1;function xa(e,t){var n=kc(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function ka(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function _a(e){if(ja){var t=wa;if(t){var n=t;if(!ka(e,t)){if(!(t=wn(n.nextSibling))||!ka(e,t))return e.effectTag=-1025&e.effectTag|2,ja=!1,void(Oa=e);xa(Oa,n)}Oa=e,wa=wn(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,ja=!1,Oa=e}}function Sa(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Oa=e}function Ea(e){if(e!==Oa)return!1;if(!ja)return Sa(e),ja=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!mn(t,e.memoizedProps))for(t=wa;t;)xa(e,t),t=wn(t.nextSibling);if(Sa(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){wa=wn(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}wa=null}}else wa=Oa?wn(e.stateNode.nextSibling):null;return!0}function Ca(){wa=Oa=null,ja=!1}var Pa=K.ReactCurrentOwner,Ta=!1;function Aa(e,t,n,r){t.child=null===e?Si(t,null,n,r):_i(t,e.child,n,r)}function Ra(e,t,n,r,o){n=n.render;var i=t.ref;return ri(t,o),r=Yi(e,t,n,r,i,o),null===e||Ta?(t.effectTag|=1,Aa(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Ya(e,t,o))}function Ia(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!=typeof a||_c(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ec(n.type,null,r,null,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Na(e,t,a,r,o,i))}return a=e.child,o<i&&(o=a.memoizedProps,(n=null!==(n=n.compare)?n:Fr)(o,r)&&e.ref===t.ref)?Ya(e,t,i):(t.effectTag|=1,(e=Sc(a,r)).ref=t.ref,e.return=t,t.child=e)}function Na(e,t,n,r,o,i){return null!==e&&Fr(e.memoizedProps,r)&&e.ref===t.ref&&(Ta=!1,o<i)?(t.expirationTime=e.expirationTime,Ya(e,t,i)):La(e,t,n,r,i)}function Ma(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function La(e,t,n,r,o){var i=vo(n)?ho:fo.current;return i=bo(t,i),ri(t,o),n=Yi(e,t,n,r,i,o),null===e||Ta?(t.effectTag|=1,Aa(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Ya(e,t,o))}function Da(e,t,n,r,o){if(vo(n)){var i=!0;Oo(t)}else i=!1;if(ri(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),mi(t,n,r),Oi(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,u=t.memoizedProps;a.props=u;var c=a.context,l=n.contextType;"object"==typeof l&&null!==l?l=oi(l):l=bo(t,l=vo(n)?ho:fo.current);var s=n.getDerivedStateFromProps,f="function"==typeof s||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(u!==r||c!==l)&&yi(t,a,r,l),ii=!1;var d=t.memoizedState;a.state=d,fi(t,r,a,o),c=t.memoizedState,u!==r||d!==c||po.current||ii?("function"==typeof s&&(bi(t,n,s,r),c=t.memoizedState),(u=ii||gi(t,n,u,r,d,c,l))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.effectTag|=4)):("function"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=c),a.props=r,a.state=c,a.context=l,r=u):("function"==typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,ui(e,t),u=t.memoizedProps,a.props=t.type===t.elementType?u:Xo(t.type,u),c=a.context,"object"==typeof(l=n.contextType)&&null!==l?l=oi(l):l=bo(t,l=vo(n)?ho:fo.current),(f="function"==typeof(s=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(u!==r||c!==l)&&yi(t,a,r,l),ii=!1,c=t.memoizedState,a.state=c,fi(t,r,a,o),d=t.memoizedState,u!==r||c!==d||po.current||ii?("function"==typeof s&&(bi(t,n,s,r),d=t.memoizedState),(s=ii||gi(t,n,u,r,c,d,l))?(f||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,d,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,d,l)),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof a.componentDidUpdate||u===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=d),a.props=r,a.state=d,a.context=l,r=s):("function"!=typeof a.componentDidUpdate||u===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),r=!1);return Ba(e,t,n,r,i,o)}function Ba(e,t,n,r,o,i){Ma(e,t);var a=0!=(64&t.effectTag);if(!r&&!a)return o&&wo(t,n,!1),Ya(e,t,i);r=t.stateNode,Pa.current=t;var u=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=_i(t,e.child,null,i),t.child=_i(t,null,u,i)):Aa(e,t,u,i),t.memoizedState=r.state,o&&wo(t,n,!0),t.child}function Fa(e){var t=e.stateNode;t.pendingContext?mo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&mo(0,t.context,!1),Ri(e,t.containerInfo)}var za,Ua,Ha,Wa={dehydrated:null,retryTime:0};function $a(e,t,n){var r,o=t.mode,i=t.pendingProps,a=Li.current,u=!1;if((r=0!=(64&t.effectTag))||(r=0!=(2&a)&&(null===e||null!==e.memoizedState)),r?(u=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(a|=1),lo(Li,1&a),null===e){if(void 0!==i.fallback&&_a(t),u){if(u=i.fallback,(i=Cc(null,o,0,null)).return=t,0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=Cc(u,o,n,null)).return=t,i.sibling=n,t.memoizedState=Wa,t.child=i,n}return o=i.children,t.memoizedState=null,t.child=Si(t,null,o,n)}if(null!==e.memoizedState){if(o=(e=e.child).sibling,u){if(i=i.fallback,(n=Sc(e,e.pendingProps)).return=t,0==(2&t.mode)&&(u=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=u;null!==u;)u.return=n,u=u.sibling;return(o=Sc(o,i)).return=t,n.sibling=o,n.childExpirationTime=0,t.memoizedState=Wa,t.child=n,o}return n=_i(t,e.child,i.children,n),t.memoizedState=null,t.child=n}if(e=e.child,u){if(u=i.fallback,(i=Cc(null,o,0,null)).return=t,i.child=e,null!==e&&(e.return=i),0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=Cc(u,o,n,null)).return=t,i.sibling=n,n.effectTag|=2,i.childExpirationTime=0,t.memoizedState=Wa,t.child=i,n}return t.memoizedState=null,t.child=_i(t,e,i.children,n)}function Va(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),ni(e.return,t)}function Ga(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:o,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=o,a.lastEffect=i)}function qa(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Aa(e,t,r.children,n),0!=(2&(r=Li.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Va(e,n);else if(19===e.tag)Va(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(lo(Li,r),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Di(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Ga(t,!1,o,n,i,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Di(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Ga(t,!0,n,null,i,t.lastEffect);break;case"together":Ga(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Ya(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&ac(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Sc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Sc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Xa(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ka(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return vo(t.type)&&go(),null;case 3:return Ii(),co(po),co(fo),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!Ea(t)||(t.effectTag|=4),null;case 5:Mi(t),n=Ai(Ti.current);var i=t.type;if(null!==e&&null!=t.stateNode)Ua(e,t,i,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=Ai(Ci.current),Ea(t)){r=t.stateNode,i=t.type;var u=t.memoizedProps;switch(r[kn]=t,r[_n]=u,i){case"iframe":case"object":case"embed":qt("load",r);break;case"video":case"audio":for(e=0;e<Ke.length;e++)qt(Ke[e],r);break;case"source":qt("error",r);break;case"img":case"image":case"link":qt("error",r),qt("load",r);break;case"form":qt("reset",r),qt("submit",r);break;case"details":qt("toggle",r);break;case"input":xe(r,u),qt("invalid",r),cn(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!u.multiple},qt("invalid",r),cn(n,"onChange");break;case"textarea":Ae(r,u),qt("invalid",r),cn(n,"onChange")}for(var c in on(i,u),e=null,u)if(u.hasOwnProperty(c)){var l=u[c];"children"===c?"string"==typeof l?r.textContent!==l&&(e=["children",l]):"number"==typeof l&&r.textContent!==""+l&&(e=["children",""+l]):k.hasOwnProperty(c)&&null!=l&&cn(n,c)}switch(i){case"input":Oe(r),Se(r,u,!0);break;case"textarea":Oe(r),Ie(r);break;case"select":case"option":break;default:"function"==typeof u.onClick&&(r.onclick=ln)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(c=9===n.nodeType?n:n.ownerDocument,e===un&&(e=Le(i)),e===un?"script"===i?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=c.createElement(i,{is:r.is}):(e=c.createElement(i),"select"===i&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,i),e[kn]=t,e[_n]=r,za(e,t),t.stateNode=e,c=an(i,r),i){case"iframe":case"object":case"embed":qt("load",e),l=r;break;case"video":case"audio":for(l=0;l<Ke.length;l++)qt(Ke[l],e);l=r;break;case"source":qt("error",e),l=r;break;case"img":case"image":case"link":qt("error",e),qt("load",e),l=r;break;case"form":qt("reset",e),qt("submit",e),l=r;break;case"details":qt("toggle",e),l=r;break;case"input":xe(e,r),l=je(e,r),qt("invalid",e),cn(n,"onChange");break;case"option":l=Ce(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=o({},r,{value:void 0}),qt("invalid",e),cn(n,"onChange");break;case"textarea":Ae(e,r),l=Te(e,r),qt("invalid",e),cn(n,"onChange");break;default:l=r}on(i,l);var s=l;for(u in s)if(s.hasOwnProperty(u)){var f=s[u];"style"===u?nn(e,f):"dangerouslySetInnerHTML"===u?null!=(f=f?f.__html:void 0)&&Fe(e,f):"children"===u?"string"==typeof f?("textarea"!==i||""!==f)&&ze(e,f):"number"==typeof f&&ze(e,""+f):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(k.hasOwnProperty(u)?null!=f&&cn(n,u):null!=f&&Q(e,u,f,c))}switch(i){case"input":Oe(e),Se(e,r,!1);break;case"textarea":Oe(e),Ie(e);break;case"option":null!=r.value&&e.setAttribute("value",""+me(r.value));break;case"select":e.multiple=!!r.multiple,null!=(n=r.value)?Pe(e,!!r.multiple,n,!1):null!=r.defaultValue&&Pe(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof l.onClick&&(e.onclick=ln)}gn(i,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Ha(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));n=Ai(Ti.current),Ai(Ci.current),Ea(t)?(n=t.stateNode,r=t.memoizedProps,n[kn]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[kn]=t,t.stateNode=n)}return null;case 13:return co(Li),r=t.memoizedState,0!=(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&Ea(t):(r=null!==(i=e.memoizedState),n||null===i||null!==(i=e.child.sibling)&&(null!==(u=t.firstEffect)?(t.firstEffect=i,i.nextEffect=u):(t.firstEffect=t.lastEffect=i,i.nextEffect=null),i.effectTag=8)),n&&!r&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Li.current)?Eu===Ou&&(Eu=wu):(Eu!==Ou&&Eu!==wu||(Eu=ju),0!==Ru&&null!==ku&&(Ic(ku,Su),Nc(ku,Ru)))),(n||r)&&(t.effectTag|=4),null);case 4:return Ii(),null;case 10:return ti(t),null;case 17:return vo(t.type)&&go(),null;case 19:if(co(Li),null===(r=t.memoizedState))return null;if(i=0!=(64&t.effectTag),null===(u=r.rendering)){if(i)Xa(r,!1);else if(Eu!==Ou||null!==e&&0!=(64&e.effectTag))for(u=t.child;null!==u;){if(null!==(e=Di(u))){for(t.effectTag|=64,Xa(r,!1),null!==(i=e.updateQueue)&&(t.updateQueue=i,t.effectTag|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=t.child;null!==r;)u=n,(i=r).effectTag&=2,i.nextEffect=null,i.firstEffect=null,i.lastEffect=null,null===(e=i.alternate)?(i.childExpirationTime=0,i.expirationTime=u,i.child=null,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null):(i.childExpirationTime=e.childExpirationTime,i.expirationTime=e.expirationTime,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,u=e.dependencies,i.dependencies=null===u?null:{expirationTime:u.expirationTime,firstContext:u.firstContext,responders:u.responders}),r=r.sibling;return lo(Li,1&Li.current|2),t.child}u=u.sibling}}else{if(!i)if(null!==(e=Di(u))){if(t.effectTag|=64,i=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),Xa(r,!0),null===r.tail&&"hidden"===r.tailMode&&!u.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*zo()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,i=!0,Xa(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=r.last)?n.sibling=u:t.child=u,r.last=u)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=zo()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=zo(),n.sibling=null,t=Li.current,lo(Li,i?1&t|2:1&t),n):null}throw Error(a(156,t.tag))}function Qa(e){switch(e.tag){case 1:vo(e.type)&&go();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(Ii(),co(po),co(fo),0!=(64&(t=e.effectTag)))throw Error(a(285));return e.effectTag=-4097&t|64,e;case 5:return Mi(e),null;case 13:return co(Li),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return co(Li),null;case 4:return Ii(),null;case 10:return ti(e),null;default:return null}}function Ja(e,t){return{value:e,source:t,stack:ge(t)}}za=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ua=function(e,t,n,r,i){var a=e.memoizedProps;if(a!==r){var u,c,l=t.stateNode;switch(Ai(Ci.current),e=null,n){case"input":a=je(l,a),r=je(l,r),e=[];break;case"option":a=Ce(l,a),r=Ce(l,r),e=[];break;case"select":a=o({},a,{value:void 0}),r=o({},r,{value:void 0}),e=[];break;case"textarea":a=Te(l,a),r=Te(l,r),e=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(l.onclick=ln)}for(u in on(n,r),n=null,a)if(!r.hasOwnProperty(u)&&a.hasOwnProperty(u)&&null!=a[u])if("style"===u)for(c in l=a[u])l.hasOwnProperty(c)&&(n||(n={}),n[c]="");else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(k.hasOwnProperty(u)?e||(e=[]):(e=e||[]).push(u,null));for(u in r){var s=r[u];if(l=null!=a?a[u]:void 0,r.hasOwnProperty(u)&&s!==l&&(null!=s||null!=l))if("style"===u)if(l){for(c in l)!l.hasOwnProperty(c)||s&&s.hasOwnProperty(c)||(n||(n={}),n[c]="");for(c in s)s.hasOwnProperty(c)&&l[c]!==s[c]&&(n||(n={}),n[c]=s[c])}else n||(e||(e=[]),e.push(u,n)),n=s;else"dangerouslySetInnerHTML"===u?(s=s?s.__html:void 0,l=l?l.__html:void 0,null!=s&&l!==s&&(e=e||[]).push(u,s)):"children"===u?l===s||"string"!=typeof s&&"number"!=typeof s||(e=e||[]).push(u,""+s):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(k.hasOwnProperty(u)?(null!=s&&cn(i,u),e||l===s||(e=[])):(e=e||[]).push(u,s))}n&&(e=e||[]).push("style",n),i=e,(t.updateQueue=i)&&(t.effectTag|=4)}},Ha=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var Za="function"==typeof WeakSet?WeakSet:Set;function eu(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=ge(n)),null!==n&&ve(n.type),t=t.value,null!==e&&1===e.tag&&ve(e.type);try{console.error(t)}catch(e){setTimeout((function(){throw e}))}}function tu(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){mc(e,t)}else t.current=null}function nu(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Xo(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(a(163))}function ru(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function ou(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function iu(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void ou(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var r=n.elementType===n.type?t.memoizedProps:Xo(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&di(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}di(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&gn(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Lt(n)))));case 19:case 17:case 20:case 21:return}throw Error(a(163))}function au(e,t,n){switch("function"==typeof jc&&jc(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;Wo(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var o=t;try{n()}catch(e){mc(o,e)}}e=e.next}while(e!==r)}))}break;case 1:tu(t),"function"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){mc(e,t)}}(t,n);break;case 5:tu(t);break;case 4:su(e,t,n)}}function uu(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&uu(t)}function cu(e){return 5===e.tag||3===e.tag||4===e.tag}function lu(e){e:{for(var t=e.return;null!==t;){if(cu(t)){var n=t;break e}t=t.return}throw Error(a(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.effectTag&&(ze(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||cu(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}r?function e(t,n,r){var o=t.tag,i=5===o||6===o;if(i)t=i?t.stateNode:t.stateNode.instance,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!==(r=r._reactRootContainer)&&void 0!==r||null!==n.onclick||(n.onclick=ln));else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t):function e(t,n,r){var o=t.tag,i=5===o||6===o;if(i)t=i?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t)}function su(e,t,n){for(var r,o,i=t,u=!1;;){if(!u){u=i.return;e:for(;;){if(null===u)throw Error(a(160));switch(r=u.stateNode,u.tag){case 5:o=!1;break e;case 3:case 4:r=r.containerInfo,o=!0;break e}u=u.return}u=!0}if(5===i.tag||6===i.tag){e:for(var c=e,l=i,s=n,f=l;;)if(au(c,f,s),null!==f.child&&4!==f.tag)f.child.return=f,f=f.child;else{if(f===l)break e;for(;null===f.sibling;){if(null===f.return||f.return===l)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}o?(c=r,l=i.stateNode,8===c.nodeType?c.parentNode.removeChild(l):c.removeChild(l)):r.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){r=i.stateNode.containerInfo,o=!0,i.child.return=i,i=i.child;continue}}else if(au(e,i,n),null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;4===(i=i.return).tag&&(u=!1)}i.sibling.return=i.return,i=i.sibling}}function fu(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void ru(3,t);case 1:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,o=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[_n]=r,"input"===e&&"radio"===r.type&&null!=r.name&&ke(n,r),an(e,o),t=an(e,r),o=0;o<i.length;o+=2){var u=i[o],c=i[o+1];"style"===u?nn(n,c):"dangerouslySetInnerHTML"===u?Fe(n,c):"children"===u?ze(n,c):Q(n,u,c,t)}switch(e){case"input":_e(n,r);break;case"textarea":Re(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Pe(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Pe(n,!!r.multiple,r.defaultValue,!0):Pe(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,Lt(t.containerInfo)));case 12:return;case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,Nu=zo()),null!==n)e:for(e=n;;){if(5===e.tag)i=e.stateNode,r?"function"==typeof(i=i.style).setProperty?i.setProperty("display","none","important"):i.display="none":(i=e.stateNode,o=null!=(o=e.memoizedProps.style)&&o.hasOwnProperty("display")?o.display:null,i.style.display=tn("display",o));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(i=e.child.sibling).return=e,e=i;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void du(t);case 19:return void du(t);case 17:return}throw Error(a(163))}function du(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Za),t.forEach((function(t){var r=Oc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var pu="function"==typeof WeakMap?WeakMap:Map;function hu(e,t,n){(n=ci(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Lu||(Lu=!0,Du=r),eu(e,t)},n}function bu(e,t,n){(n=ci(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return eu(e,t),r(o)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Bu?Bu=new Set([this]):Bu.add(this),eu(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var vu,gu=Math.ceil,mu=K.ReactCurrentDispatcher,yu=K.ReactCurrentOwner,Ou=0,wu=3,ju=4,xu=0,ku=null,_u=null,Su=0,Eu=Ou,Cu=null,Pu=1073741823,Tu=1073741823,Au=null,Ru=0,Iu=!1,Nu=0,Mu=null,Lu=!1,Du=null,Bu=null,Fu=!1,zu=null,Uu=90,Hu=null,Wu=0,$u=null,Vu=0;function Gu(){return 0!=(48&xu)?1073741821-(zo()/10|0):0!==Vu?Vu:Vu=1073741821-(zo()/10|0)}function qu(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=Uo();if(0==(4&t))return 99===r?1073741823:1073741822;if(0!=(16&xu))return Su;if(null!==n)e=Yo(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=Yo(e,150,100);break;case 97:case 96:e=Yo(e,5e3,250);break;case 95:e=2;break;default:throw Error(a(326))}return null!==ku&&e===Su&&--e,e}function Yu(e,t){if(50<Wu)throw Wu=0,$u=null,Error(a(185));if(null!==(e=Xu(e,t))){var n=Uo();1073741823===t?0!=(8&xu)&&0==(48&xu)?Zu(e):(Qu(e),0===xu&&Go()):Qu(e),0==(4&xu)||98!==n&&99!==n||(null===Hu?Hu=new Map([[e,t]]):(void 0===(n=Hu.get(e))||n>t)&&Hu.set(e,t))}}function Xu(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,o=null;if(null===r&&3===e.tag)o=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){o=r.stateNode;break}r=r.return}return null!==o&&(ku===o&&(ac(t),Eu===ju&&Ic(o,Su)),Nc(o,t)),o}function Ku(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Rc(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function Qu(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Vo(Zu.bind(null,e));else{var t=Ku(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=Gu();if(1073741823===t?r=99:1===t||2===t?r=95:r=0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var o=e.callbackPriority;if(e.callbackExpirationTime===t&&o>=r)return;n!==Io&&ko(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Vo(Zu.bind(null,e)):$o(r,Ju.bind(null,e),{timeout:10*(1073741821-t)-zo()}),e.callbackNode=t}}}function Ju(e,t){if(Vu=0,t)return Mc(e,t=Gu()),Qu(e),null;var n=Ku(e);if(0!==n){if(t=e.callbackNode,0!=(48&xu))throw Error(a(327));if(bc(),e===ku&&n===Su||nc(e,n),null!==_u){var r=xu;xu|=16;for(var o=oc();;)try{cc();break}catch(t){rc(e,t)}if(ei(),xu=r,mu.current=o,1===Eu)throw t=Cu,nc(e,n),Ic(e,n),Qu(e),t;if(null===_u)switch(o=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=Eu,ku=null,r){case Ou:case 1:throw Error(a(345));case 2:Mc(e,2<n?2:n);break;case wu:if(Ic(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=fc(o)),1073741823===Pu&&10<(o=Nu+500-zo())){if(Iu){var i=e.lastPingedTime;if(0===i||i>=n){e.lastPingedTime=n,nc(e,n);break}}if(0!==(i=Ku(e))&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=yn(dc.bind(null,e),o);break}dc(e);break;case ju:if(Ic(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=fc(o)),Iu&&(0===(o=e.lastPingedTime)||o>=n)){e.lastPingedTime=n,nc(e,n);break}if(0!==(o=Ku(e))&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==Tu?r=10*(1073741821-Tu)-zo():1073741823===Pu?r=0:(r=10*(1073741821-Pu)-5e3,0>(r=(o=zo())-r)&&(r=0),(n=10*(1073741821-n)-o)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*gu(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=yn(dc.bind(null,e),r);break}dc(e);break;case 5:if(1073741823!==Pu&&null!==Au){i=Pu;var u=Au;if(0>=(r=0|u.busyMinDurationMs)?r=0:(o=0|u.busyDelayMs,r=(i=zo()-(10*(1073741821-i)-(0|u.timeoutMs||5e3)))<=o?0:o+r-i),10<r){Ic(e,n),e.timeoutHandle=yn(dc.bind(null,e),r);break}}dc(e);break;default:throw Error(a(329))}if(Qu(e),e.callbackNode===t)return Ju.bind(null,e)}}return null}function Zu(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,0!=(48&xu))throw Error(a(327));if(bc(),e===ku&&t===Su||nc(e,t),null!==_u){var n=xu;xu|=16;for(var r=oc();;)try{uc();break}catch(t){rc(e,t)}if(ei(),xu=n,mu.current=r,1===Eu)throw n=Cu,nc(e,t),Ic(e,t),Qu(e),n;if(null!==_u)throw Error(a(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,ku=null,dc(e),Qu(e)}return null}function ec(e,t){var n=xu;xu|=1;try{return e(t)}finally{0===(xu=n)&&Go()}}function tc(e,t){var n=xu;xu&=-2,xu|=8;try{return e(t)}finally{0===(xu=n)&&Go()}}function nc(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,On(n)),null!==_u)for(n=_u.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&go();break;case 3:Ii(),co(po),co(fo);break;case 5:Mi(r);break;case 4:Ii();break;case 13:case 19:co(Li);break;case 10:ti(r)}n=n.return}ku=e,_u=Sc(e.current,null),Su=t,Eu=Ou,Cu=null,Tu=Pu=1073741823,Au=null,Ru=0,Iu=!1}function rc(e,t){for(;;){try{if(ei(),Fi.current=va,Vi)for(var n=Hi.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(Ui=0,$i=Wi=Hi=null,Vi=!1,null===_u||null===_u.return)return Eu=1,Cu=t,_u=null;e:{var o=e,i=_u.return,a=_u,u=t;if(t=Su,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==u&&"object"==typeof u&&"function"==typeof u.then){var c=u;if(0==(2&a.mode)){var l=a.alternate;l?(a.updateQueue=l.updateQueue,a.memoizedState=l.memoizedState,a.expirationTime=l.expirationTime):(a.updateQueue=null,a.memoizedState=null)}var s=0!=(1&Li.current),f=i;do{var d;if(d=13===f.tag){var p=f.memoizedState;if(null!==p)d=null!==p.dehydrated;else{var h=f.memoizedProps;d=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!s)}}if(d){var b=f.updateQueue;if(null===b){var v=new Set;v.add(c),f.updateQueue=v}else b.add(c);if(0==(2&f.mode)){if(f.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var g=ci(1073741823,null);g.tag=2,li(a,g)}a.expirationTime=1073741823;break e}u=void 0,a=t;var m=o.pingCache;if(null===m?(m=o.pingCache=new pu,u=new Set,m.set(c,u)):void 0===(u=m.get(c))&&(u=new Set,m.set(c,u)),!u.has(a)){u.add(a);var y=yc.bind(null,o,c,a);c.then(y,y)}f.effectTag|=4096,f.expirationTime=t;break e}f=f.return}while(null!==f);u=Error((ve(a.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+ge(a))}5!==Eu&&(Eu=2),u=Ja(u,a),f=i;do{switch(f.tag){case 3:c=u,f.effectTag|=4096,f.expirationTime=t,si(f,hu(f,c,t));break e;case 1:c=u;var O=f.type,w=f.stateNode;if(0==(64&f.effectTag)&&("function"==typeof O.getDerivedStateFromError||null!==w&&"function"==typeof w.componentDidCatch&&(null===Bu||!Bu.has(w)))){f.effectTag|=4096,f.expirationTime=t,si(f,bu(f,c,t));break e}}f=f.return}while(null!==f)}_u=sc(_u)}catch(e){t=e;continue}break}}function oc(){var e=mu.current;return mu.current=va,null===e?va:e}function ic(e,t){e<Pu&&2<e&&(Pu=e),null!==t&&e<Tu&&2<e&&(Tu=e,Au=t)}function ac(e){e>Ru&&(Ru=e)}function uc(){for(;null!==_u;)_u=lc(_u)}function cc(){for(;null!==_u&&!No();)_u=lc(_u)}function lc(e){var t=vu(e.alternate,e,Su);return e.memoizedProps=e.pendingProps,null===t&&(t=sc(e)),yu.current=null,t}function sc(e){_u=e;do{var t=_u.alternate;if(e=_u.return,0==(2048&_u.effectTag)){if(t=Ka(t,_u,Su),1===Su||1!==_u.childExpirationTime){for(var n=0,r=_u.child;null!==r;){var o=r.expirationTime,i=r.childExpirationTime;o>n&&(n=o),i>n&&(n=i),r=r.sibling}_u.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=_u.firstEffect),null!==_u.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=_u.firstEffect),e.lastEffect=_u.lastEffect),1<_u.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=_u:e.firstEffect=_u,e.lastEffect=_u))}else{if(null!==(t=Qa(_u)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=_u.sibling))return t;_u=e}while(null!==_u);return Eu===Ou&&(Eu=5),null}function fc(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function dc(e){var t=Uo();return Wo(99,pc.bind(null,e,t)),null}function pc(e,t){do{bc()}while(null!==zu);if(0!=(48&xu))throw Error(a(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var o=fc(n);if(e.firstPendingTime=o,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===ku&&(_u=ku=null,Su=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,o=n.firstEffect):o=n:o=n.firstEffect,null!==o){var i=xu;xu|=32,yu.current=null,bn=Gt;var u=pn();if(hn(u)){if("selectionStart"in u)var c={start:u.selectionStart,end:u.selectionEnd};else e:{var l=(c=(c=u.ownerDocument)&&c.defaultView||window).getSelection&&c.getSelection();if(l&&0!==l.rangeCount){c=l.anchorNode;var s=l.anchorOffset,f=l.focusNode;l=l.focusOffset;try{c.nodeType,f.nodeType}catch(e){c=null;break e}var d=0,p=-1,h=-1,b=0,v=0,g=u,m=null;t:for(;;){for(var y;g!==c||0!==s&&3!==g.nodeType||(p=d+s),g!==f||0!==l&&3!==g.nodeType||(h=d+l),3===g.nodeType&&(d+=g.nodeValue.length),null!==(y=g.firstChild);)m=g,g=y;for(;;){if(g===u)break t;if(m===c&&++b===s&&(p=d),m===f&&++v===l&&(h=d),null!==(y=g.nextSibling))break;m=(g=m).parentNode}g=y}c=-1===p||-1===h?null:{start:p,end:h}}else c=null}c=c||{start:0,end:0}}else c=null;vn={activeElementDetached:null,focusedElem:u,selectionRange:c},Gt=!1,Mu=o;do{try{hc()}catch(e){if(null===Mu)throw Error(a(330));mc(Mu,e),Mu=Mu.nextEffect}}while(null!==Mu);Mu=o;do{try{for(u=e,c=t;null!==Mu;){var O=Mu.effectTag;if(16&O&&ze(Mu.stateNode,""),128&O){var w=Mu.alternate;if(null!==w){var j=w.ref;null!==j&&("function"==typeof j?j(null):j.current=null)}}switch(1038&O){case 2:lu(Mu),Mu.effectTag&=-3;break;case 6:lu(Mu),Mu.effectTag&=-3,fu(Mu.alternate,Mu);break;case 1024:Mu.effectTag&=-1025;break;case 1028:Mu.effectTag&=-1025,fu(Mu.alternate,Mu);break;case 4:fu(Mu.alternate,Mu);break;case 8:su(u,s=Mu,c),uu(s)}Mu=Mu.nextEffect}}catch(e){if(null===Mu)throw Error(a(330));mc(Mu,e),Mu=Mu.nextEffect}}while(null!==Mu);if(j=vn,w=pn(),O=j.focusedElem,c=j.selectionRange,w!==O&&O&&O.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(O.ownerDocument.documentElement,O)){null!==c&&hn(O)&&(w=c.start,void 0===(j=c.end)&&(j=w),"selectionStart"in O?(O.selectionStart=w,O.selectionEnd=Math.min(j,O.value.length)):(j=(w=O.ownerDocument||document)&&w.defaultView||window).getSelection&&(j=j.getSelection(),s=O.textContent.length,u=Math.min(c.start,s),c=void 0===c.end?u:Math.min(c.end,s),!j.extend&&u>c&&(s=c,c=u,u=s),s=dn(O,u),f=dn(O,c),s&&f&&(1!==j.rangeCount||j.anchorNode!==s.node||j.anchorOffset!==s.offset||j.focusNode!==f.node||j.focusOffset!==f.offset)&&((w=w.createRange()).setStart(s.node,s.offset),j.removeAllRanges(),u>c?(j.addRange(w),j.extend(f.node,f.offset)):(w.setEnd(f.node,f.offset),j.addRange(w))))),w=[];for(j=O;j=j.parentNode;)1===j.nodeType&&w.push({element:j,left:j.scrollLeft,top:j.scrollTop});for("function"==typeof O.focus&&O.focus(),O=0;O<w.length;O++)(j=w[O]).element.scrollLeft=j.left,j.element.scrollTop=j.top}Gt=!!bn,vn=bn=null,e.current=n,Mu=o;do{try{for(O=e;null!==Mu;){var x=Mu.effectTag;if(36&x&&iu(O,Mu.alternate,Mu),128&x){w=void 0;var k=Mu.ref;if(null!==k){var _=Mu.stateNode;switch(Mu.tag){case 5:w=_;break;default:w=_}"function"==typeof k?k(w):k.current=w}}Mu=Mu.nextEffect}}catch(e){if(null===Mu)throw Error(a(330));mc(Mu,e),Mu=Mu.nextEffect}}while(null!==Mu);Mu=null,Mo(),xu=i}else e.current=n;if(Fu)Fu=!1,zu=e,Uu=t;else for(Mu=o;null!==Mu;)t=Mu.nextEffect,Mu.nextEffect=null,Mu=t;if(0===(t=e.firstPendingTime)&&(Bu=null),1073741823===t?e===$u?Wu++:(Wu=0,$u=e):Wu=0,"function"==typeof wc&&wc(n.stateNode,r),Qu(e),Lu)throw Lu=!1,e=Du,Du=null,e;return 0!=(8&xu)||Go(),null}function hc(){for(;null!==Mu;){var e=Mu.effectTag;0!=(256&e)&&nu(Mu.alternate,Mu),0==(512&e)||Fu||(Fu=!0,$o(97,(function(){return bc(),null}))),Mu=Mu.nextEffect}}function bc(){if(90!==Uu){var e=97<Uu?97:Uu;return Uu=90,Wo(e,vc)}}function vc(){if(null===zu)return!1;var e=zu;if(zu=null,0!=(48&xu))throw Error(a(331));var t=xu;for(xu|=32,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!=(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:ru(5,n),ou(5,n)}}catch(t){if(null===e)throw Error(a(330));mc(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return xu=t,Go(),!0}function gc(e,t,n){li(e,t=hu(e,t=Ja(n,t),1073741823)),null!==(e=Xu(e,1073741823))&&Qu(e)}function mc(e,t){if(3===e.tag)gc(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){gc(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Bu||!Bu.has(r))){li(n,e=bu(n,e=Ja(t,e),1073741823)),null!==(n=Xu(n,1073741823))&&Qu(n);break}}n=n.return}}function yc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),ku===e&&Su===n?Eu===ju||Eu===wu&&1073741823===Pu&&zo()-Nu<500?nc(e,Su):Iu=!0:Rc(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,Qu(e)))}function Oc(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(t=qu(t=Gu(),e,null)),null!==(e=Xu(e,t))&&Qu(e)}vu=function(e,t,n){var r=t.expirationTime;if(null!==e){var o=t.pendingProps;if(e.memoizedProps!==o||po.current)Ta=!0;else{if(r<n){switch(Ta=!1,t.tag){case 3:Fa(t),Ca();break;case 5:if(Ni(t),4&t.mode&&1!==n&&o.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:vo(t.type)&&Oo(t);break;case 4:Ri(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,o=t.type._context,lo(Ko,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?$a(e,t,n):(lo(Li,1&Li.current),null!==(t=Ya(e,t,n))?t.sibling:null);lo(Li,1&Li.current);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return qa(e,t,n);t.effectTag|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null),lo(Li,Li.current),!r)return null}return Ya(e,t,n)}Ta=!1}}else Ta=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,o=bo(t,fo.current),ri(t,n),o=Yi(null,t,r,e,o,n),t.effectTag|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,vo(r)){var i=!0;Oo(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,ai(t);var u=r.getDerivedStateFromProps;"function"==typeof u&&bi(t,r,u,e),o.updater=vi,t.stateNode=o,o._reactInternalFiber=t,Oi(t,r,e,n),t=Ba(null,t,r,!0,i,n)}else t.tag=0,Aa(null,t,o,n),t=t.child;return t;case 16:e:{if(o=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(o),1!==o._status)throw o._result;switch(o=o._result,t.type=o,i=t.tag=function(e){if("function"==typeof e)return _c(e)?1:0;if(null!=e){if((e=e.$$typeof)===ce)return 11;if(e===fe)return 14}return 2}(o),e=Xo(o,e),i){case 0:t=La(null,t,o,e,n);break e;case 1:t=Da(null,t,o,e,n);break e;case 11:t=Ra(null,t,o,e,n);break e;case 14:t=Ia(null,t,o,Xo(o.type,e),r,n);break e}throw Error(a(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,La(e,t,r,o=t.elementType===r?o:Xo(r,o),n);case 1:return r=t.type,o=t.pendingProps,Da(e,t,r,o=t.elementType===r?o:Xo(r,o),n);case 3:if(Fa(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,ui(e,t),fi(t,r,null,n),(r=t.memoizedState.element)===o)Ca(),t=Ya(e,t,n);else{if((o=t.stateNode.hydrate)&&(wa=wn(t.stateNode.containerInfo.firstChild),Oa=t,o=ja=!0),o)for(n=Si(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Aa(e,t,r,n),Ca();t=t.child}return t;case 5:return Ni(t),null===e&&_a(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,u=o.children,mn(r,o)?u=null:null!==i&&mn(r,i)&&(t.effectTag|=16),Ma(e,t),4&t.mode&&1!==n&&o.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Aa(e,t,u,n),t=t.child),t;case 6:return null===e&&_a(t),null;case 13:return $a(e,t,n);case 4:return Ri(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=_i(t,null,r,n):Aa(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Ra(e,t,r,o=t.elementType===r?o:Xo(r,o),n);case 7:return Aa(e,t,t.pendingProps,n),t.child;case 8:case 12:return Aa(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,u=t.memoizedProps,i=o.value;var c=t.type._context;if(lo(Ko,c._currentValue),c._currentValue=i,null!==u)if(c=u.value,0===(i=Dr(c,i)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(c,i):1073741823))){if(u.children===o.children&&!po.current){t=Ya(e,t,n);break e}}else for(null!==(c=t.child)&&(c.return=t);null!==c;){var l=c.dependencies;if(null!==l){u=c.child;for(var s=l.firstContext;null!==s;){if(s.context===r&&0!=(s.observedBits&i)){1===c.tag&&((s=ci(n,null)).tag=2,li(c,s)),c.expirationTime<n&&(c.expirationTime=n),null!==(s=c.alternate)&&s.expirationTime<n&&(s.expirationTime=n),ni(c.return,n),l.expirationTime<n&&(l.expirationTime=n);break}s=s.next}}else u=10===c.tag&&c.type===t.type?null:c.child;if(null!==u)u.return=c;else for(u=c;null!==u;){if(u===t){u=null;break}if(null!==(c=u.sibling)){c.return=u.return,u=c;break}u=u.return}c=u}Aa(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,ri(t,n),r=r(o=oi(o,i.unstable_observedBits)),t.effectTag|=1,Aa(e,t,r,n),t.child;case 14:return i=Xo(o=t.type,t.pendingProps),Ia(e,t,o,i=Xo(o.type,i),r,n);case 15:return Na(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Xo(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,vo(r)?(e=!0,Oo(t)):e=!1,ri(t,n),mi(t,r,o),Oi(t,r,o,n),Ba(null,t,r,!0,e,n);case 19:return qa(e,t,n)}throw Error(a(156,t.tag))};var wc=null,jc=null;function xc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function kc(e,t,n,r){return new xc(e,t,n,r)}function _c(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Sc(e,t){var n=e.alternate;return null===n?((n=kc(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ec(e,t,n,r,o,i){var u=2;if(r=e,"function"==typeof e)_c(e)&&(u=1);else if("string"==typeof e)u=5;else e:switch(e){case ne:return Cc(n.children,o,i,t);case ue:u=8,o|=7;break;case re:u=8,o|=1;break;case oe:return(e=kc(12,n,t,8|o)).elementType=oe,e.type=oe,e.expirationTime=i,e;case le:return(e=kc(13,n,t,o)).type=le,e.elementType=le,e.expirationTime=i,e;case se:return(e=kc(19,n,t,o)).elementType=se,e.expirationTime=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case ie:u=10;break e;case ae:u=9;break e;case ce:u=11;break e;case fe:u=14;break e;case de:u=16,r=null;break e;case pe:u=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=kc(u,n,t,o)).elementType=e,t.type=r,t.expirationTime=i,t}function Cc(e,t,n,r){return(e=kc(7,e,r,t)).expirationTime=n,e}function Pc(e,t,n){return(e=kc(6,e,null,t)).expirationTime=n,e}function Tc(e,t,n){return(t=kc(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ac(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Rc(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function Ic(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Nc(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Mc(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Lc(e,t,n,r){var o=t.current,i=Gu(),u=pi.suspense;i=qu(i,o,u);e:if(n){t:{if(Ze(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(a(170));var c=n;do{switch(c.tag){case 3:c=c.stateNode.context;break t;case 1:if(vo(c.type)){c=c.stateNode.__reactInternalMemoizedMergedChildContext;break t}}c=c.return}while(null!==c);throw Error(a(171))}if(1===n.tag){var l=n.type;if(vo(l)){n=yo(n,l,c);break e}}n=c}else n=so;return null===t.context?t.context=n:t.pendingContext=n,(t=ci(i,u)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),li(o,t),Yu(o,i),i}function Dc(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Bc(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function Fc(e,t){Bc(e,t),(e=e.alternate)&&Bc(e,t)}function zc(e,t,n){var r=new Ac(e,t,n=null!=n&&!0===n.hydrate),o=kc(3,null,null,2===t?7:1===t?3:0);r.current=o,o.stateNode=r,ai(o),e[Sn]=r.current,n&&0!==t&&function(e,t){var n=Je(t);St.forEach((function(e){ht(e,t,n)})),Et.forEach((function(e){ht(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function Uc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Hc(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"==typeof o){var u=o;o=function(){var e=Dc(a);u.call(e)}}Lc(t,a,e,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new zc(e,0,t?{hydrate:!0}:void 0)}(n,r),a=i._internalRoot,"function"==typeof o){var c=o;o=function(){var e=Dc(a);c.call(e)}}tc((function(){Lc(t,a,e,o)}))}return Dc(a)}function Wc(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:te,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function $c(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Uc(t))throw Error(a(200));return Wc(e,t,null,n)}zc.prototype.render=function(e){Lc(e,this._internalRoot,null,null)},zc.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Lc(null,e,null,(function(){t[Sn]=null}))},bt=function(e){if(13===e.tag){var t=Yo(Gu(),150,100);Yu(e,t),Fc(e,t)}},vt=function(e){13===e.tag&&(Yu(e,3),Fc(e,3))},gt=function(e){if(13===e.tag){var t=Gu();Yu(e,t=qu(t,e,null)),Fc(e,t)}},C=function(e,t,n){switch(t){case"input":if(_e(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Tn(r);if(!o)throw Error(a(90));we(r),_e(r,o)}}}break;case"textarea":Re(e,n);break;case"select":null!=(t=n.value)&&Pe(e,!!n.multiple,t,!1)}},N=ec,M=function(e,t,n,r,o){var i=xu;xu|=4;try{return Wo(98,e.bind(null,t,n,r,o))}finally{0===(xu=i)&&Go()}},L=function(){0==(49&xu)&&(function(){if(null!==Hu){var e=Hu;Hu=null,e.forEach((function(e,t){Mc(t,e),Qu(t)})),Go()}}(),bc())},D=function(e,t){var n=xu;xu|=2;try{return e(t)}finally{0===(xu=n)&&Go()}};var Vc,Gc,qc={Events:[Cn,Pn,Tn,S,x,Dn,function(e){ot(e,Ln)},R,I,Qt,ut,bc,{current:!1}]};Gc=(Vc={findFiberByHostInstance:En,bundleType:0,version:"16.14.0",rendererPackageName:"react-dom"}).findFiberByHostInstance,function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);wc=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}},jc=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}}(o({},Vc,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:K.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=nt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return Gc?Gc(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null})),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=qc,t.createPortal=$c,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=null===(e=nt(t))?null:e.stateNode},t.flushSync=function(e,t){if(0!=(48&xu))throw Error(a(187));var n=xu;xu|=1;try{return Wo(99,e.bind(null,t))}finally{xu=n,Go()}},t.hydrate=function(e,t,n){if(!Uc(t))throw Error(a(200));return Hc(null,e,t,!0,n)},t.render=function(e,t,n){if(!Uc(t))throw Error(a(200));return Hc(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Uc(e))throw Error(a(40));return!!e._reactRootContainer&&(tc((function(){Hc(null,null,e,!1,(function(){e._reactRootContainer=null,e[Sn]=null}))})),!0)},t.unstable_batchedUpdates=ec,t.unstable_createPortal=function(e,t){return $c(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Uc(n))throw Error(a(200));if(null==e||void 0===e._reactInternalFiber)throw Error(a(38));return Hc(e,t,n,!1,r)},t.version="16.14.0"},function(e,t,n){"use strict";e.exports=n(187)},function(e,t,n){"use strict";
|
73 |
+
/** @license React v0.19.1
|
74 |
+
* scheduler.production.min.js
|
75 |
+
*
|
76 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
77 |
+
*
|
78 |
+
* This source code is licensed under the MIT license found in the
|
79 |
+
* LICENSE file in the root directory of this source tree.
|
80 |
+
*/var r,o,i,a,u;if("undefined"==typeof window||"function"!=typeof MessageChannel){var c=null,l=null,s=function(){if(null!==c)try{var e=t.unstable_now();c(!0,e),c=null}catch(e){throw setTimeout(s,0),e}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==c?setTimeout(r,0,e):(c=e,setTimeout(s,0))},o=function(e,t){l=setTimeout(e,t)},i=function(){clearTimeout(l)},a=function(){return!1},u=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,p=window.Date,h=window.setTimeout,b=window.clearTimeout;if("undefined"!=typeof console){var v=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof v&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof d&&"function"==typeof d.now)t.unstable_now=function(){return d.now()};else{var g=p.now();t.unstable_now=function(){return p.now()-g}}var m=!1,y=null,O=-1,w=5,j=0;a=function(){return t.unstable_now()>=j},u=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):w=0<e?Math.floor(1e3/e):5};var x=new MessageChannel,k=x.port2;x.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();j=e+w;try{y(!0,e)?k.postMessage(null):(m=!1,y=null)}catch(e){throw k.postMessage(null),e}}else m=!1},r=function(e){y=e,m||(m=!0,k.postMessage(null))},o=function(e,n){O=h((function(){e(t.unstable_now())}),n)},i=function(){b(O),O=-1}}function _(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<C(o,t)))break e;e[r]=t,e[n]=o,n=r}}function S(e){return void 0===(e=e[0])?null:e}function E(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],u=i+1,c=e[u];if(void 0!==a&&0>C(a,n))void 0!==c&&0>C(c,a)?(e[r]=c,e[u]=n,r=u):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==c&&0>C(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}return null}function C(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var P=[],T=[],A=1,R=null,I=3,N=!1,M=!1,L=!1;function D(e){for(var t=S(T);null!==t;){if(null===t.callback)E(T);else{if(!(t.startTime<=e))break;E(T),t.sortIndex=t.expirationTime,_(P,t)}t=S(T)}}function B(e){if(L=!1,D(e),!M)if(null!==S(P))M=!0,r(F);else{var t=S(T);null!==t&&o(B,t.startTime-e)}}function F(e,n){M=!1,L&&(L=!1,i()),N=!0;var r=I;try{for(D(n),R=S(P);null!==R&&(!(R.expirationTime>n)||e&&!a());){var u=R.callback;if(null!==u){R.callback=null,I=R.priorityLevel;var c=u(R.expirationTime<=n);n=t.unstable_now(),"function"==typeof c?R.callback=c:R===S(P)&&E(P),D(n)}else E(P);R=S(P)}if(null!==R)var l=!0;else{var s=S(T);null!==s&&o(B,s.startTime-n),l=!1}return l}finally{R=null,I=r,N=!1}}function z(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var U=u;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){M||N||(M=!0,r(F))},t.unstable_getCurrentPriorityLevel=function(){return I},t.unstable_getFirstCallbackNode=function(){return S(P)},t.unstable_next=function(e){switch(I){case 1:case 2:case 3:var t=3;break;default:t=I}var n=I;I=t;try{return e()}finally{I=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=U,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=I;I=e;try{return t()}finally{I=n}},t.unstable_scheduleCallback=function(e,n,a){var u=t.unstable_now();if("object"==typeof a&&null!==a){var c=a.delay;c="number"==typeof c&&0<c?u+c:u,a="number"==typeof a.timeout?a.timeout:z(e)}else a=z(e),c=u;return e={id:A++,callback:n,priorityLevel:e,startTime:c,expirationTime:a=c+a,sortIndex:-1},c>u?(e.sortIndex=c,_(T,e),null===S(P)&&e===S(T)&&(L?i():L=!0,o(B,c-u))):(e.sortIndex=a,_(P,e),M||N||(M=!0,r(F))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();D(e);var n=S(P);return n!==R&&null!==R&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<R.expirationTime||a()},t.unstable_wrapCallback=function(e){var t=I;return function(){var n=I;I=t;try{return e.apply(this,arguments)}finally{I=n}}}},function(e,t,n){"use strict";var r=n(189);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=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 u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";
|
81 |
+
/** @license React v16.13.1
|
82 |
+
* react-is.production.min.js
|
83 |
+
*
|
84 |
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
85 |
+
*
|
86 |
+
* This source code is licensed under the MIT license found in the
|
87 |
+
* LICENSE file in the root directory of this source tree.
|
88 |
+
*/var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,u=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,s=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,b=r?Symbol.for("react.suspense_list"):60120,v=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,m=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,O=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function j(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case d:case a:case c:case u:case h:return e;default:switch(e=e&&e.$$typeof){case s:case p:case g:case v:case l:return e;default:return t}}case i:return t}}}function x(e){return j(e)===d}t.AsyncMode=f,t.ConcurrentMode=d,t.ContextConsumer=s,t.ContextProvider=l,t.Element=o,t.ForwardRef=p,t.Fragment=a,t.Lazy=g,t.Memo=v,t.Portal=i,t.Profiler=c,t.StrictMode=u,t.Suspense=h,t.isAsyncMode=function(e){return x(e)||j(e)===f},t.isConcurrentMode=x,t.isContextConsumer=function(e){return j(e)===s},t.isContextProvider=function(e){return j(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return j(e)===p},t.isFragment=function(e){return j(e)===a},t.isLazy=function(e){return j(e)===g},t.isMemo=function(e){return j(e)===v},t.isPortal=function(e){return j(e)===i},t.isProfiler=function(e){return j(e)===c},t.isStrictMode=function(e){return j(e)===u},t.isSuspense=function(e){return j(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===c||e===u||e===h||e===b||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===v||e.$$typeof===l||e.$$typeof===s||e.$$typeof===p||e.$$typeof===y||e.$$typeof===O||e.$$typeof===w||e.$$typeof===m)},t.typeOf=j},function(e,t,n){var r,o;o=function(e){var t=["N","E","A","D"];function n(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}function r(e,t){Object.defineProperty(this,"kind",{value:e,enumerable:!0}),t&&t.length&&Object.defineProperty(this,"path",{value:t,enumerable:!0})}function o(e,t,n){o.super_.call(this,"E",e),Object.defineProperty(this,"lhs",{value:t,enumerable:!0}),Object.defineProperty(this,"rhs",{value:n,enumerable:!0})}function i(e,t){i.super_.call(this,"N",e),Object.defineProperty(this,"rhs",{value:t,enumerable:!0})}function a(e,t){a.super_.call(this,"D",e),Object.defineProperty(this,"lhs",{value:t,enumerable:!0})}function u(e,t,n){u.super_.call(this,"A",e),Object.defineProperty(this,"index",{value:t,enumerable:!0}),Object.defineProperty(this,"item",{value:n,enumerable:!0})}function c(e,t,n){var r=e.slice((n||t)+1||e.length);return e.length=t<0?e.length+t:t,e.push.apply(e,r),e}function l(e){var t=typeof e;return"object"!==t?t:e===Math?"math":null===e?"null":Array.isArray(e)?"array":"[object Date]"===Object.prototype.toString.call(e)?"date":"function"==typeof e.toString&&/^\/.*\//.test(e.toString())?"regexp":"object"}function s(e){var t=0;if(0===e.length)return t;for(var n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t&=t;return t}function f(e){var t=0,n=l(e);if("array"===n)return e.forEach((function(e){t+=f(e)})),t+s("[type: array, hash: "+t+"]");if("object"===n){for(var r in e)if(e.hasOwnProperty(r)){var o="[ type: object, key: "+r+", value hash: "+f(e[r])+"]";t+=s(o)}return t}return t+s("[ type: "+n+" ; value: "+e+"]")}function d(e,t,n,r,c,s,p,h){n=n||[],p=p||[];var b=(c=c||[]).slice(0);if(null!=s){if(r){if("function"==typeof r&&r(b,s))return;if("object"==typeof r){if(r.prefilter&&r.prefilter(b,s))return;if(r.normalize){var v=r.normalize(b,s,e,t);v&&(e=v[0],t=v[1])}}}b.push(s)}"regexp"===l(e)&&"regexp"===l(t)&&(e=e.toString(),t=t.toString());var g,m,y,O,w=typeof e,j=typeof t,x="undefined"!==w||p&&p.length>0&&p[p.length-1].lhs&&Object.getOwnPropertyDescriptor(p[p.length-1].lhs,s),k="undefined"!==j||p&&p.length>0&&p[p.length-1].rhs&&Object.getOwnPropertyDescriptor(p[p.length-1].rhs,s);if(!x&&k)n.push(new i(b,t));else if(!k&&x)n.push(new a(b,e));else if(l(e)!==l(t))n.push(new o(b,e,t));else if("date"===l(e)&&e-t!=0)n.push(new o(b,e,t));else if("object"===w&&null!==e&&null!==t){for(g=p.length-1;g>-1;--g)if(p[g].lhs===e){O=!0;break}if(O)e!==t&&n.push(new o(b,e,t));else{if(p.push({lhs:e,rhs:t}),Array.isArray(e)){for(h&&(e.sort((function(e,t){return f(e)-f(t)})),t.sort((function(e,t){return f(e)-f(t)}))),g=t.length-1,m=e.length-1;g>m;)n.push(new u(b,g,new i(void 0,t[g--])));for(;m>g;)n.push(new u(b,m,new a(void 0,e[m--])));for(;g>=0;--g)d(e[g],t[g],n,r,b,g,p,h)}else{var _=Object.keys(e),S=Object.keys(t);for(g=0;g<_.length;++g)y=_[g],(O=S.indexOf(y))>=0?(d(e[y],t[y],n,r,b,y,p,h),S[O]=null):d(e[y],void 0,n,r,b,y,p,h);for(g=0;g<S.length;++g)(y=S[g])&&d(void 0,t[y],n,r,b,y,p,h)}p.length=p.length-1}}else e!==t&&("number"===w&&isNaN(e)&&isNaN(t)||n.push(new o(b,e,t)))}function p(e,t,n,r,o){var i=[];if(d(e,t,i,r,null,null,null,o),n)for(var a=0;a<i.length;++a)n(i[a]);return i}function h(e,t,n,r){var o=p(e,t,r?function(e){e&&r.push(e)}:void 0,n);return r||(o.length?o:void 0)}function b(e,n,r){if(void 0===r&&n&&~t.indexOf(n.kind)&&(r=n),e&&r&&r.kind){for(var o=e,i=-1,a=r.path?r.path.length-1:0;++i<a;)void 0===o[r.path[i]]&&(o[r.path[i]]=void 0!==r.path[i+1]&&"number"==typeof r.path[i+1]?[]:{}),o=o[r.path[i]];switch(r.kind){case"A":r.path&&void 0===o[r.path[i]]&&(o[r.path[i]]=[]),function e(t,n,r){if(r.path&&r.path.length){var o,i=t[n],a=r.path.length-1;for(o=0;o<a;o++)i=i[r.path[o]];switch(r.kind){case"A":e(i[r.path[o]],r.index,r.item);break;case"D":delete i[r.path[o]];break;case"E":case"N":i[r.path[o]]=r.rhs}}else switch(r.kind){case"A":e(t[n],r.index,r.item);break;case"D":t=c(t,n);break;case"E":case"N":t[n]=r.rhs}return t}(r.path?o[r.path[i]]:o,r.index,r.item);break;case"D":delete o[r.path[i]];break;case"E":case"N":o[r.path[i]]=r.rhs}}}return n(o,r),n(i,r),n(a,r),n(u,r),Object.defineProperties(h,{diff:{value:h,enumerable:!0},orderIndependentDiff:{value:function(e,t,n,r){var o=r?function(e){e&&r.push(e)}:void 0,i=p(e,t,o,n,!0);return r||(i.length?i:void 0)},enumerable:!0},observableDiff:{value:p,enumerable:!0},orderIndependentObservableDiff:{value:function(e,t,n,r,o,i,a){return d(e,t,n,r,o,i,a,!0)},enumerable:!0},orderIndepHash:{value:f,enumerable:!0},applyDiff:{value:function(e,t,n){e&&t&&p(e,t,(function(r){n&&!n(e,t,r)||b(e,t,r)}))},enumerable:!0},applyChange:{value:b,enumerable:!0},revertChange:{value:function(e,t,n){if(e&&t&&n&&n.kind){var r,o,i=e;for(o=n.path.length-1,r=0;r<o;r++)void 0===i[n.path[r]]&&(i[n.path[r]]={}),i=i[n.path[r]];switch(n.kind){case"A":!function e(t,n,r){if(r.path&&r.path.length){var o,i=t[n],a=r.path.length-1;for(o=0;o<a;o++)i=i[r.path[o]];switch(r.kind){case"A":e(i[r.path[o]],r.index,r.item);break;case"D":case"E":i[r.path[o]]=r.lhs;break;case"N":delete i[r.path[o]]}}else switch(r.kind){case"A":e(t[n],r.index,r.item);break;case"D":case"E":t[n]=r.lhs;break;case"N":t=c(t,n)}return t}(i[n.path[r]],n.index,n.item);break;case"D":case"E":i[n.path[r]]=n.lhs;break;case"N":delete i[n.path[r]]}}},enumerable:!0},isConflict:{value:function(){return"undefined"!=typeof $conflict},enumerable:!0}}),h.DeepDiff=h,e&&(e.DeepDiff=h),h}(this),void 0===(r=function(){return o}.call(t,n,t,e))||(e.exports=r)},function(e,t,n){"use strict";
|
89 |
+
/**
|
90 |
+
* @license nested-property https://github.com/cosmosio/nested-property
|
91 |
+
*
|
92 |
+
* The MIT License (MIT)
|
93 |
+
*
|
94 |
+
* Copyright (c) 2014-2015 Olivier Scherrer <pode.fr@gmail.com>
|
95 |
+
*/e.exports={set:function(e,t,n){if(e&&"object"==typeof e){if("string"==typeof t&&""!==t){var r=t.split(".");return r.reduce((function(e,t,o){const i=Number.isInteger(Number(r[o+1]));return e[t]=e[t]||(i?[]:{}),r.length==o+1&&(e[t]=n),e[t]}),e)}return"number"==typeof t?(e[t]=n,e[t]):e}return e},get:function(e,t){return e&&"object"==typeof e?"string"==typeof t&&""!==t?t.split(".").reduce((function(e,t){return e&&e[t]}),e):"number"==typeof t?e[t]:e:e},has:function(e,t,n){return n=n||{},!(!e||"object"!=typeof e)&&("string"==typeof t&&""!==t?t.split(".").reduce((function(e,t,r,o){return r==o.length-1?n.own?!(!e||!e.hasOwnProperty(t)):!(null===e||"object"!=typeof e||!(t in e)):e&&e[t]}),e):"number"==typeof t&&t in e)},hasOwn:function(e,t,n){return this.has(e,t,n||{own:!0})},isIn:function(e,t,n,r){if(r=r||{},e&&"object"==typeof e){if("string"==typeof t&&""!==t){var o,i=t.split("."),a=!1;return o=!!i.reduce((function(e,t){return a=a||e===n||!!e&&e[t]===n,e&&e[t]}),e),r.validPath?a&&o:a}return!1}return!1}}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){if(!e.includes("grid"))return e;if("display:grid"===e)return"\n display: -ms-grid;\n display: grid;\n ";if("display:inline-grid"===e)return"\n display: -ms-inline-grid;\n display: inline-grid;\n ";var t=e.match(/^grid-([a-z-]+): *(.+)/);if(!t)return e;var n=t[1],r=t[2];return"template"===n?function(e,t){var n=t.split(/\s*\/\s*/),r=n[0],o=n[1],i=/repeat\((\d+), *(.+)\)/;return r&&o?"\n -ms-grid-rows: "+r.replace(i,"($2)[$1]")+";\n -ms-grid-columns: "+o.replace(i,"($2)[$1]")+";\n grid-"+e+": "+t+";\n ":e+": "+t+";"}(n,r):"template-rows"===n||"template-columns"===n?function(e,t){return"\n -ms-grid-"+e.split("-")[1]+": "+t.replace(/repeat\((\d+), *(.+)\)/,"($2)[$1]")+";\n grid-"+e+": "+t+";\n "}(n,r):"row"===n||"column"===n?function(e,t){var n=t.split(/\s*\/\s*/),r=n[0],o=n[1],i=null==o?void 0:o.match("span ");if(!r)return"\n -ms-grid-"+e+": "+t+";\n grid-"+e+": "+t+";\n ";if(r&&i)return"\n -ms-grid-"+e+": "+r+";\n -ms-grid-"+e+"-span: "+o.replace("span ","")+";\n grid-"+e+": "+t+";\n ";if(r&&!i){var a=parseInt(r);return"\n -ms-grid-"+e+": "+r+";\n -ms-grid-"+e+"-span: "+(parseInt(o)-a)+";\n grid-"+e+": "+t+";\n "}return"\n grid-"+e+": "+t+";\n "}(n,r):e},o=function(e,t){if(1===e||2===e)return Array.isArray(t)?t.forEach((function(e){return r(e)})):r(t)};Object.defineProperty(o,"name",{value:"griddie"}),t.default=o},function(e,t,n){"use strict";t.__esModule=!0;var r=p(n(95)),o=p(n(136)),i=p(n(98)),a=p(n(100)),u=p(n(70)),c=p(n(214)),l=p(n(99)),s=p(n(138)),f=p(n(71)),d=p(n(102));function p(e){return e&&e.__esModule?e:{default:e}}function h(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 1===t.length&&Array.isArray(t[0])&&(t=t[0]),new o.default(t)}h.plugin=function(e,t){var n=function(){var n=t.apply(void 0,arguments);return n.postcssPlugin=e,n.postcssVersion=(new o.default).version,n},r=void 0;return Object.defineProperty(n,"postcss",{get:function(){return r||(r=n()),r}}),n.process=function(e,t,r){return h([n(r)]).process(e,t)},n},h.stringify=i.default,h.parse=l.default,h.vendor=c.default,h.list=s.default,h.comment=function(e){return new a.default(e)},h.atRule=function(e){return new u.default(e)},h.decl=function(e){return new r.default(e)},h.rule=function(e){return new f.default(e)},h.root=function(e){return new d.default(e)},t.default=h,e.exports=t.default},function(e,t){},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(126)),o=a(n(127)),i=a(n(128));function a(e){return e&&e.__esModule?e:{default:e}}var u={brackets:r.default.cyan,"at-word":r.default.cyan,call:r.default.cyan,comment:r.default.gray,string:r.default.green,class:r.default.yellow,hash:r.default.magenta,"(":r.default.cyan,")":r.default.cyan,"{":r.default.yellow,"}":r.default.yellow,"[":r.default.yellow,"]":r.default.yellow,":":r.default.yellow,";":r.default.yellow};t.default=function(e){for(var t=(0,o.default)(new i.default(e),{ignoreErrors:!0}),n="",r=function(){var e=t.nextToken(),r=u[function(e,t){var n=e[0],r=e[1];if("word"===n){if("."===r[0])return"class";if("#"===r[0])return"hash"}if(!t.endOfFile()){var o=t.nextToken();if(t.back(o),"brackets"===o[0]||"("===o[0])return"call"}return n}(e,t)];n+=r?e[1].split(/\r?\n/).map((function(e){return r(e)})).join("\n"):e[1]};!t.endOfFile();)r();return n},e.exports=t.default},function(e,t,n){"use strict";(function(r){t.__esModule=!0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=c(n(130)),a=c(n(97)),u=c(n(209));function c(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.loadAnnotation(t),this.inline=this.startWith(this.annotation,"data:");var r=n.map?n.map.prev:void 0,o=this.loadMap(n.from,r);o&&(this.text=o)}return e.prototype.consumer=function(){return this.consumerCache||(this.consumerCache=new i.default.SourceMapConsumer(this.text)),this.consumerCache},e.prototype.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},e.prototype.startWith=function(e,t){return!!e&&e.substr(0,t.length)===t},e.prototype.loadAnnotation=function(e){var t=e.match(/\/\*\s*# sourceMappingURL=(.*)\s*\*\//);t&&(this.annotation=t[1].trim())},e.prototype.decodeInline=function(e){var t="data:application/json,";if(this.startWith(e,t))return decodeURIComponent(e.substr(t.length));if(/^data:application\/json;(?:charset=utf-?8;)?base64,/.test(e))return n=e.substr(RegExp.lastMatch.length),r?r.from&&r.from!==Uint8Array.from?r.from(n,"base64").toString():new r(n,"base64").toString():window.atob(n);var n,o=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+o)},e.prototype.loadMap=function(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"==typeof t){var n=t(e);if(n&&u.default.existsSync&&u.default.existsSync(n))return u.default.readFileSync(n,"utf-8").toString().trim();throw new Error("Unable to load previous source map: "+n.toString())}if(t instanceof i.default.SourceMapConsumer)return i.default.SourceMapGenerator.fromSourceMap(t).toString();if(t instanceof i.default.SourceMapGenerator)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var r=this.annotation;return e&&(r=a.default.join(a.default.dirname(e),r)),this.root=a.default.dirname(r),!(!u.default.existsSync||!u.default.existsSync(r))&&u.default.readFileSync(r,"utf-8").toString().trim()}},e.prototype.isMap=function(e){return"object"===(void 0===e?"undefined":o(e))&&("string"==typeof e.mappings||"string"==typeof e._mappings)},e}();t.default=l,e.exports=t.default}).call(this,n(129).Buffer)},function(e,t,n){"use strict";t.byteLength=function(e){var t=l(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,r=l(e),a=r[0],u=r[1],c=new i(function(e,t,n){return 3*(t+n)/4-n}(0,a,u)),s=0,f=u>0?a-4:a;for(n=0;n<f;n+=4)t=o[e.charCodeAt(n)]<<18|o[e.charCodeAt(n+1)]<<12|o[e.charCodeAt(n+2)]<<6|o[e.charCodeAt(n+3)],c[s++]=t>>16&255,c[s++]=t>>8&255,c[s++]=255&t;2===u&&(t=o[e.charCodeAt(n)]<<2|o[e.charCodeAt(n+1)]>>4,c[s++]=255&t);1===u&&(t=o[e.charCodeAt(n)]<<10|o[e.charCodeAt(n+1)]<<4|o[e.charCodeAt(n+2)]>>2,c[s++]=t>>8&255,c[s++]=255&t);return c},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],a=0,u=n-o;a<u;a+=16383)i.push(s(e,a,a+16383>u?u:a+16383));1===o?(t=e[n-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return i.join("")};for(var r=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=0,c=a.length;u<c;++u)r[u]=a[u],o[a.charCodeAt(u)]=u;function l(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function s(e,t,n){for(var o,i,a=[],u=t;u<n;u+=3)o=(e[u]<<16&16711680)+(e[u+1]<<8&65280)+(255&e[u+2]),a.push(r[(i=o)>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(e,t){
|
96 |
+
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
97 |
+
t.read=function(e,t,n,r,o){var i,a,u=8*o-r-1,c=(1<<u)-1,l=c>>1,s=-7,f=n?o-1:0,d=n?-1:1,p=e[t+f];for(f+=d,i=p&(1<<-s)-1,p>>=-s,s+=u;s>0;i=256*i+e[t+f],f+=d,s-=8);for(a=i&(1<<-s)-1,i>>=-s,s+=r;s>0;a=256*a+e[t+f],f+=d,s-=8);if(0===i)i=1-l;else{if(i===c)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),i-=l}return(p?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,u,c,l=8*i-o-1,s=(1<<l)-1,f=s>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:i-1,h=r?1:-1,b=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(u=isNaN(t)?1:0,a=s):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),(t+=a+f>=1?d/c:d*Math.pow(2,1-f))*c>=2&&(a++,c/=2),a+f>=s?(u=0,a=s):a+f>=1?(u=(t*c-1)*Math.pow(2,o),a+=f):(u=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[n+p]=255&u,p+=h,u/=256,o-=8);for(a=a<<o|u,l+=o;l>0;e[n+p]=255&a,p+=h,a/=256,l-=8);e[n+p-h]|=128*b}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e<n.length)return n[e];throw new TypeError("Must be between 0 and 63: "+e)},t.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1}},function(e,t,n){var r=n(60);function o(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}o.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},o.prototype.add=function(e){var t,n,o,i,a,u;t=this._last,n=e,o=t.generatedLine,i=n.generatedLine,a=t.generatedColumn,u=n.generatedColumn,i>o||i==o&&u>=a||r.compareByGeneratedPositionsInflated(t,n)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},o.prototype.toArray=function(){return this._sorted||(this._array.sort(r.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.MappingList=o},function(e,t,n){var r=n(60),o=n(206),i=n(133).ArraySet,a=n(132),u=n(207).quickSort;function c(e,t){var n=e;return"string"==typeof e&&(n=r.parseSourceMapInput(e)),null!=n.sections?new f(n,t):new l(n,t)}function l(e,t){var n=e;"string"==typeof e&&(n=r.parseSourceMapInput(e));var o=r.getArg(n,"version"),a=r.getArg(n,"sources"),u=r.getArg(n,"names",[]),c=r.getArg(n,"sourceRoot",null),l=r.getArg(n,"sourcesContent",null),s=r.getArg(n,"mappings"),f=r.getArg(n,"file",null);if(o!=this._version)throw new Error("Unsupported version: "+o);c&&(c=r.normalize(c)),a=a.map(String).map(r.normalize).map((function(e){return c&&r.isAbsolute(c)&&r.isAbsolute(e)?r.relative(c,e):e})),this._names=i.fromArray(u.map(String),!0),this._sources=i.fromArray(a,!0),this._absoluteSources=this._sources.toArray().map((function(e){return r.computeSourceURL(c,e,t)})),this.sourceRoot=c,this.sourcesContent=l,this._mappings=s,this._sourceMapURL=t,this.file=f}function s(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function f(e,t){var n=e;"string"==typeof e&&(n=r.parseSourceMapInput(e));var o=r.getArg(n,"version"),a=r.getArg(n,"sections");if(o!=this._version)throw new Error("Unsupported version: "+o);this._sources=new i,this._names=new i;var u={line:-1,column:0};this._sections=a.map((function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var n=r.getArg(e,"offset"),o=r.getArg(n,"line"),i=r.getArg(n,"column");if(o<u.line||o===u.line&&i<u.column)throw new Error("Section offsets must be ordered and non-overlapping.");return u=n,{generatedOffset:{generatedLine:o+1,generatedColumn:i+1},consumer:new c(r.getArg(e,"map"),t)}}))}c.fromSourceMap=function(e,t){return l.fromSourceMap(e,t)},c.prototype._version=3,c.prototype.__generatedMappings=null,Object.defineProperty(c.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),c.prototype.__originalMappings=null,Object.defineProperty(c.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),c.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return";"===n||","===n},c.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},c.GENERATED_ORDER=1,c.ORIGINAL_ORDER=2,c.GREATEST_LOWER_BOUND=1,c.LEAST_UPPER_BOUND=2,c.prototype.eachMapping=function(e,t,n){var o,i=t||null;switch(n||c.GENERATED_ORDER){case c.GENERATED_ORDER:o=this._generatedMappings;break;case c.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var a=this.sourceRoot;o.map((function(e){var t=null===e.source?null:this._sources.at(e.source);return{source:t=r.computeSourceURL(a,t,this._sourceMapURL),generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}}),this).forEach(e,i)},c.prototype.allGeneratedPositionsFor=function(e){var t=r.getArg(e,"line"),n={source:r.getArg(e,"source"),originalLine:t,originalColumn:r.getArg(e,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var i=[],a=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions,o.LEAST_UPPER_BOUND);if(a>=0){var u=this._originalMappings[a];if(void 0===e.column)for(var c=u.originalLine;u&&u.originalLine===c;)i.push({line:r.getArg(u,"generatedLine",null),column:r.getArg(u,"generatedColumn",null),lastColumn:r.getArg(u,"lastGeneratedColumn",null)}),u=this._originalMappings[++a];else for(var l=u.originalColumn;u&&u.originalLine===t&&u.originalColumn==l;)i.push({line:r.getArg(u,"generatedLine",null),column:r.getArg(u,"generatedColumn",null),lastColumn:r.getArg(u,"lastGeneratedColumn",null)}),u=this._originalMappings[++a]}return i},t.SourceMapConsumer=c,l.prototype=Object.create(c.prototype),l.prototype.consumer=c,l.prototype._findSourceIndex=function(e){var t,n=e;if(null!=this.sourceRoot&&(n=r.relative(this.sourceRoot,n)),this._sources.has(n))return this._sources.indexOf(n);for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==e)return t;return-1},l.fromSourceMap=function(e,t){var n=Object.create(l.prototype),o=n._names=i.fromArray(e._names.toArray(),!0),a=n._sources=i.fromArray(e._sources.toArray(),!0);n.sourceRoot=e._sourceRoot,n.sourcesContent=e._generateSourcesContent(n._sources.toArray(),n.sourceRoot),n.file=e._file,n._sourceMapURL=t,n._absoluteSources=n._sources.toArray().map((function(e){return r.computeSourceURL(n.sourceRoot,e,t)}));for(var c=e._mappings.toArray().slice(),f=n.__generatedMappings=[],d=n.__originalMappings=[],p=0,h=c.length;p<h;p++){var b=c[p],v=new s;v.generatedLine=b.generatedLine,v.generatedColumn=b.generatedColumn,b.source&&(v.source=a.indexOf(b.source),v.originalLine=b.originalLine,v.originalColumn=b.originalColumn,b.name&&(v.name=o.indexOf(b.name)),d.push(v)),f.push(v)}return u(n.__originalMappings,r.compareByOriginalPositions),n},l.prototype._version=3,Object.defineProperty(l.prototype,"sources",{get:function(){return this._absoluteSources.slice()}}),l.prototype._parseMappings=function(e,t){for(var n,o,i,c,l,f=1,d=0,p=0,h=0,b=0,v=0,g=e.length,m=0,y={},O={},w=[],j=[];m<g;)if(";"===e.charAt(m))f++,m++,d=0;else if(","===e.charAt(m))m++;else{for((n=new s).generatedLine=f,c=m;c<g&&!this._charIsMappingSeparator(e,c);c++);if(i=y[o=e.slice(m,c)])m+=o.length;else{for(i=[];m<c;)a.decode(e,m,O),l=O.value,m=O.rest,i.push(l);if(2===i.length)throw new Error("Found a source, but no line and column");if(3===i.length)throw new Error("Found a source and line, but no column");y[o]=i}n.generatedColumn=d+i[0],d=n.generatedColumn,i.length>1&&(n.source=b+i[1],b+=i[1],n.originalLine=p+i[2],p=n.originalLine,n.originalLine+=1,n.originalColumn=h+i[3],h=n.originalColumn,i.length>4&&(n.name=v+i[4],v+=i[4])),j.push(n),"number"==typeof n.originalLine&&w.push(n)}u(j,r.compareByGeneratedPositionsDeflated),this.__generatedMappings=j,u(w,r.compareByOriginalPositions),this.__originalMappings=w},l.prototype._findMapping=function(e,t,n,r,i,a){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return o.search(e,t,i,a)},l.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},l.prototype.originalPositionFor=function(e){var t={generatedLine:r.getArg(e,"line"),generatedColumn:r.getArg(e,"column")},n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",r.compareByGeneratedPositionsDeflated,r.getArg(e,"bias",c.GREATEST_LOWER_BOUND));if(n>=0){var o=this._generatedMappings[n];if(o.generatedLine===t.generatedLine){var i=r.getArg(o,"source",null);null!==i&&(i=this._sources.at(i),i=r.computeSourceURL(this.sourceRoot,i,this._sourceMapURL));var a=r.getArg(o,"name",null);return null!==a&&(a=this._names.at(a)),{source:i,line:r.getArg(o,"originalLine",null),column:r.getArg(o,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},l.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return null==e})))},l.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var n=this._findSourceIndex(e);if(n>=0)return this.sourcesContent[n];var o,i=e;if(null!=this.sourceRoot&&(i=r.relative(this.sourceRoot,i)),null!=this.sourceRoot&&(o=r.urlParse(this.sourceRoot))){var a=i.replace(/^file:\/\//,"");if("file"==o.scheme&&this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];if((!o.path||"/"==o.path)&&this._sources.has("/"+i))return this.sourcesContent[this._sources.indexOf("/"+i)]}if(t)return null;throw new Error('"'+i+'" is not in the SourceMap.')},l.prototype.generatedPositionFor=function(e){var t=r.getArg(e,"source");if((t=this._findSourceIndex(t))<0)return{line:null,column:null,lastColumn:null};var n={source:t,originalLine:r.getArg(e,"line"),originalColumn:r.getArg(e,"column")},o=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions,r.getArg(e,"bias",c.GREATEST_LOWER_BOUND));if(o>=0){var i=this._originalMappings[o];if(i.source===n.source)return{line:r.getArg(i,"generatedLine",null),column:r.getArg(i,"generatedColumn",null),lastColumn:r.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},t.BasicSourceMapConsumer=l,f.prototype=Object.create(c.prototype),f.prototype.constructor=c,f.prototype._version=3,Object.defineProperty(f.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}}),f.prototype.originalPositionFor=function(e){var t={generatedLine:r.getArg(e,"line"),generatedColumn:r.getArg(e,"column")},n=o.search(t,this._sections,(function(e,t){var n=e.generatedLine-t.generatedOffset.generatedLine;return n||e.generatedColumn-t.generatedOffset.generatedColumn})),i=this._sections[n];return i?i.consumer.originalPositionFor({line:t.generatedLine-(i.generatedOffset.generatedLine-1),column:t.generatedColumn-(i.generatedOffset.generatedLine===t.generatedLine?i.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},f.prototype.hasContentsOfAllSources=function(){return this._sections.every((function(e){return e.consumer.hasContentsOfAllSources()}))},f.prototype.sourceContentFor=function(e,t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n].consumer.sourceContentFor(e,!0);if(r)return r}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},f.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var n=this._sections[t];if(-1!==n.consumer._findSourceIndex(r.getArg(e,"source"))){var o=n.consumer.generatedPositionFor(e);if(o)return{line:o.line+(n.generatedOffset.generatedLine-1),column:o.column+(n.generatedOffset.generatedLine===o.line?n.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},f.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var o=this._sections[n],i=o.consumer._generatedMappings,a=0;a<i.length;a++){var c=i[a],l=o.consumer._sources.at(c.source);l=r.computeSourceURL(o.consumer.sourceRoot,l,this._sourceMapURL),this._sources.add(l),l=this._sources.indexOf(l);var s=null;c.name&&(s=o.consumer._names.at(c.name),this._names.add(s),s=this._names.indexOf(s));var f={source:l,generatedLine:c.generatedLine+(o.generatedOffset.generatedLine-1),generatedColumn:c.generatedColumn+(o.generatedOffset.generatedLine===c.generatedLine?o.generatedOffset.generatedColumn-1:0),originalLine:c.originalLine,originalColumn:c.originalColumn,name:s};this.__generatedMappings.push(f),"number"==typeof f.originalLine&&this.__originalMappings.push(f)}u(this.__generatedMappings,r.compareByGeneratedPositionsDeflated),u(this.__originalMappings,r.compareByOriginalPositions)},t.IndexedSourceMapConsumer=f},function(e,t){t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,n,r,o){if(0===n.length)return-1;var i=function e(n,r,o,i,a,u){var c=Math.floor((r-n)/2)+n,l=a(o,i[c],!0);return 0===l?c:l>0?r-c>1?e(c,r,o,i,a,u):u==t.LEAST_UPPER_BOUND?r<i.length?r:-1:c:c-n>1?e(n,c,o,i,a,u):u==t.LEAST_UPPER_BOUND?c:n<0?-1:n}(-1,n.length,e,n,r,o||t.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&0===r(n[i],n[i-1],!0);)--i;return i}},function(e,t){function n(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function r(e,t,o,i){if(o<i){var a=o-1;n(e,(s=o,f=i,Math.round(s+Math.random()*(f-s))),i);for(var u=e[i],c=o;c<i;c++)t(e[c],u)<=0&&n(e,a+=1,c);n(e,a+1,c);var l=a+1;r(e,t,o,l-1),r(e,t,l+1,i)}var s,f}t.quickSort=function(e,t){r(e,t,0,e.length-1)}},function(e,t,n){var r=n(131).SourceMapGenerator,o=n(60),i=/(\r?\n)/,a="$$$isSourceNode$$$";function u(e,t,n,r,o){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==n?null:n,this.name=null==o?null:o,this[a]=!0,null!=r&&this.add(r)}u.fromStringWithSourceMap=function(e,t,n){var r=new u,a=e.split(i),c=0,l=function(){return e()+(e()||"");function e(){return c<a.length?a[c++]:void 0}},s=1,f=0,d=null;return t.eachMapping((function(e){if(null!==d){if(!(s<e.generatedLine)){var t=(n=a[c]||"").substr(0,e.generatedColumn-f);return a[c]=n.substr(e.generatedColumn-f),f=e.generatedColumn,p(d,t),void(d=e)}p(d,l()),s++,f=0}for(;s<e.generatedLine;)r.add(l()),s++;if(f<e.generatedColumn){var n=a[c]||"";r.add(n.substr(0,e.generatedColumn)),a[c]=n.substr(e.generatedColumn),f=e.generatedColumn}d=e}),this),c<a.length&&(d&&p(d,l()),r.add(a.splice(c).join(""))),t.sources.forEach((function(e){var i=t.sourceContentFor(e);null!=i&&(null!=n&&(e=o.join(n,e)),r.setSourceContent(e,i))})),r;function p(e,t){if(null===e||void 0===e.source)r.add(t);else{var i=n?o.join(n,e.source):e.source;r.add(new u(e.originalLine,e.originalColumn,i,t,e.name))}}},u.prototype.add=function(e){if(Array.isArray(e))e.forEach((function(e){this.add(e)}),this);else{if(!e[a]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},u.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[a]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},u.prototype.walk=function(e){for(var t,n=0,r=this.children.length;n<r;n++)(t=this.children[n])[a]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},u.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;n<r-1;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},u.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[a]?n.replaceRight(e,t):"string"==typeof n?this.children[this.children.length-1]=n.replace(e,t):this.children.push("".replace(e,t)),this},u.prototype.setSourceContent=function(e,t){this.sourceContents[o.toSetString(e)]=t},u.prototype.walkSourceContents=function(e){for(var t=0,n=this.children.length;t<n;t++)this.children[t][a]&&this.children[t].walkSourceContents(e);var r=Object.keys(this.sourceContents);for(t=0,n=r.length;t<n;t++)e(o.fromSetString(r[t]),this.sourceContents[r[t]])},u.prototype.toString=function(){var e="";return this.walk((function(t){e+=t})),e},u.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},n=new r(e),o=!1,i=null,a=null,u=null,c=null;return this.walk((function(e,r){t.code+=e,null!==r.source&&null!==r.line&&null!==r.column?(i===r.source&&a===r.line&&u===r.column&&c===r.name||n.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name}),i=r.source,a=r.line,u=r.column,c=r.name,o=!0):o&&(n.addMapping({generated:{line:t.line,column:t.column}}),i=null,o=!1);for(var l=0,s=e.length;l<s;l++)10===e.charCodeAt(l)?(t.line++,t.column=0,l+1===s?(i=null,o=!1):o&&n.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name})):t.column++})),this.walkSourceContents((function(e,t){n.setSourceContent(e,t)})),{code:t.code,map:n}},t.SourceNode=u},function(e,t){},function(e,t,n){"use strict";(function(r){t.__esModule=!0;var o=a(n(130)),i=a(n(97));function a(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.stringify=t,this.mapOpts=r.map||{},this.root=n,this.opts=r}return e.prototype.isMap=function(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0},e.prototype.previous=function(){var e=this;return this.previousMaps||(this.previousMaps=[],this.root.walk((function(t){if(t.source&&t.source.input.map){var n=t.source.input.map;-1===e.previousMaps.indexOf(n)&&e.previousMaps.push(n)}}))),this.previousMaps},e.prototype.isInline=function(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;var e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some((function(e){return e.inline})))},e.prototype.isSourcesContent=function(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((function(e){return e.withContent()}))},e.prototype.clearAnnotation=function(){if(!1!==this.mapOpts.annotation)for(var e=void 0,t=this.root.nodes.length-1;t>=0;t--)"comment"===(e=this.root.nodes[t]).type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)},e.prototype.setSourcesContent=function(){var e=this,t={};this.root.walk((function(n){if(n.source){var r=n.source.input.from;if(r&&!t[r]){t[r]=!0;var o=e.relative(r);e.map.setSourceContent(o,n.source.input.css)}}}))},e.prototype.applyPrevMaps=function(){var e=this.previous(),t=Array.isArray(e),n=0;for(e=t?e:e[Symbol.iterator]();;){var r;if(t){if(n>=e.length)break;r=e[n++]}else{if((n=e.next()).done)break;r=n.value}var a=r,u=this.relative(a.file),c=a.root||i.default.dirname(a.file),l=void 0;!1===this.mapOpts.sourcesContent?(l=new o.default.SourceMapConsumer(a.text)).sourcesContent&&(l.sourcesContent=l.sourcesContent.map((function(){return null}))):l=a.consumer(),this.map.applySourceMap(l,u,this.relative(c))}},e.prototype.isAnnotation=function(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((function(e){return e.annotation})))},e.prototype.toBase64=function(e){return r?r.from&&r.from!==Uint8Array.from?r.from(e).toString("base64"):new r(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))},e.prototype.addAnnotation=function(){var e=void 0;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:this.outputFile()+".map";var t="\n";-1!==this.css.indexOf("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"},e.prototype.outputFile=function(){return this.opts.to?this.relative(this.opts.to):this.opts.from?this.relative(this.opts.from):"to.css"},e.prototype.generateMap=function(){return this.generateString(),this.isSourcesContent()&&this.setSourcesContent(),this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},e.prototype.relative=function(e){if(0===e.indexOf("<"))return e;if(/^\w+:\/\//.test(e))return e;var t=this.opts.to?i.default.dirname(this.opts.to):".";return"string"==typeof this.mapOpts.annotation&&(t=i.default.dirname(i.default.resolve(t,this.mapOpts.annotation))),e=i.default.relative(t,e),"\\"===i.default.sep?e.replace(/\\/g,"/"):e},e.prototype.sourcePath=function(e){return this.mapOpts.from?this.mapOpts.from:this.relative(e.source.input.from)},e.prototype.generateString=function(){var e=this;this.css="",this.map=new o.default.SourceMapGenerator({file:this.outputFile()});var t=1,n=1,r=void 0,i=void 0;this.stringify(this.root,(function(o,a,u){e.css+=o,a&&"end"!==u&&(a.source&&a.source.start?e.map.addMapping({source:e.sourcePath(a),generated:{line:t,column:n-1},original:{line:a.source.start.line,column:a.source.start.column-1}}):e.map.addMapping({source:"<no source>",original:{line:1,column:0},generated:{line:t,column:n-1}})),(r=o.match(/\n/g))?(t+=r.length,i=o.lastIndexOf("\n"),n=o.length-i):n+=o.length,a&&"start"!==u&&(a.source&&a.source.end?e.map.addMapping({source:e.sourcePath(a),generated:{line:t,column:n-1},original:{line:a.source.end.line,column:a.source.end.column}}):e.map.addMapping({source:"<no source>",original:{line:1,column:0},generated:{line:t,column:n-1}}))}))},e.prototype.generate=function(){if(this.clearAnnotation(),this.isMap())return this.generateMap();var e="";return this.stringify(this.root,(function(t){e+=t})),[e]},e}();t.default=u,e.exports=t.default}).call(this,n(129).Buffer)},function(e,t,n){"use strict";t.__esModule=!0;var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(212),a=(r=i)&&r.__esModule?r:{default:r};var u=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.processor=t,this.messages=[],this.root=n,this.opts=r,this.css=void 0,this.map=void 0}return e.prototype.toString=function(){return this.css},e.prototype.warn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);var n=new a.default(e,t);return this.messages.push(n),n},e.prototype.warnings=function(){return this.messages.filter((function(e){return"warning"===e.type}))},o(e,[{key:"content",get:function(){return this.css}}]),e}();t.default=u,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var o=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(r(this,e),this.type="warning",this.text=t,n.node&&n.node.source){var o=n.node.positionBy(n);this.line=o.line,this.column=o.column}for(var i in n)this[i]=n[i]}return e.prototype.toString=function(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},e}();t.default=o,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r=l(n(95)),o=l(n(127)),i=l(n(100)),a=l(n(70)),u=l(n(102)),c=l(n(71));function l(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.input=t,this.root=new u.default,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:t,start:{line:1,column:1}}}return e.prototype.createTokenizer=function(){this.tokenizer=(0,o.default)(this.input)},e.prototype.parse=function(){for(var e=void 0;!this.tokenizer.endOfFile();)switch((e=this.tokenizer.nextToken())[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()},e.prototype.comment=function(e){var t=new i.default;this.init(t,e[2],e[3]),t.source.end={line:e[4],column:e[5]};var n=e[1].slice(2,-2);if(/^\s*$/.test(n))t.text="",t.raws.left=n,t.raws.right="";else{var r=n.match(/^(\s*)([^]*[^\s])(\s*)$/);t.text=r[2],t.raws.left=r[1],t.raws.right=r[3]}},e.prototype.emptyRule=function(e){var t=new c.default;this.init(t,e[2],e[3]),t.selector="",t.raws.between="",this.current=t},e.prototype.other=function(e){for(var t=!1,n=null,r=!1,o=null,i=[],a=[],u=e;u;){if(n=u[0],a.push(u),"("===n||"["===n)o||(o=u),i.push("("===n?")":"]");else if(0===i.length){if(";"===n){if(r)return void this.decl(a);break}if("{"===n)return void this.rule(a);if("}"===n){this.tokenizer.back(a.pop()),t=!0;break}":"===n&&(r=!0)}else n===i[i.length-1]&&(i.pop(),0===i.length&&(o=null));u=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),i.length>0&&this.unclosedBracket(o),t&&r){for(;a.length&&("space"===(u=a[a.length-1][0])||"comment"===u);)this.tokenizer.back(a.pop());this.decl(a)}else this.unknownWord(a)},e.prototype.rule=function(e){e.pop();var t=new c.default;this.init(t,e[0][2],e[0][3]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t},e.prototype.decl=function(e){var t=new r.default;this.init(t);var n=e[e.length-1];for(";"===n[0]&&(this.semicolon=!0,e.pop()),n[4]?t.source.end={line:n[4],column:n[5]}:t.source.end={line:n[2],column:n[3]};"word"!==e[0][0];)1===e.length&&this.unknownWord(e),t.raws.before+=e.shift()[1];for(t.source.start={line:e[0][2],column:e[0][3]},t.prop="";e.length;){var o=e[0][0];if(":"===o||"space"===o||"comment"===o)break;t.prop+=e.shift()[1]}t.raws.between="";for(var i=void 0;e.length;){if(":"===(i=e.shift())[0]){t.raws.between+=i[1];break}t.raws.between+=i[1]}"_"!==t.prop[0]&&"*"!==t.prop[0]||(t.raws.before+=t.prop[0],t.prop=t.prop.slice(1)),t.raws.between+=this.spacesAndCommentsFromStart(e),this.precheckMissedSemicolon(e);for(var a=e.length-1;a>0;a--){if("!important"===(i=e[a])[1].toLowerCase()){t.important=!0;var u=this.stringFrom(e,a);" !important"!==(u=this.spacesFromEnd(e)+u)&&(t.raws.important=u);break}if("important"===i[1].toLowerCase()){for(var c=e.slice(0),l="",s=a;s>0;s--){var f=c[s][0];if(0===l.trim().indexOf("!")&&"space"!==f)break;l=c.pop()[1]+l}0===l.trim().indexOf("!")&&(t.important=!0,t.raws.important=l,e=c)}if("space"!==i[0]&&"comment"!==i[0])break}this.raw(t,"value",e),-1!==t.value.indexOf(":")&&this.checkMissedSemicolon(e)},e.prototype.atrule=function(e){var t=new a.default;t.name=e[1].slice(1),""===t.name&&this.unnamedAtrule(t,e),this.init(t,e[2],e[3]);for(var n=void 0,r=void 0,o=!1,i=!1,u=[];!this.tokenizer.endOfFile();){if(";"===(e=this.tokenizer.nextToken())[0]){t.source.end={line:e[2],column:e[3]},this.semicolon=!0;break}if("{"===e[0]){i=!0;break}if("}"===e[0]){if(u.length>0){for(n=u[r=u.length-1];n&&"space"===n[0];)n=u[--r];n&&(t.source.end={line:n[4],column:n[5]})}this.end(e);break}if(u.push(e),this.tokenizer.endOfFile()){o=!0;break}}t.raws.between=this.spacesAndCommentsFromEnd(u),u.length?(t.raws.afterName=this.spacesAndCommentsFromStart(u),this.raw(t,"params",u),o&&(e=u[u.length-1],t.source.end={line:e[4],column:e[5]},this.spaces=t.raws.between,t.raws.between="")):(t.raws.afterName="",t.params=""),i&&(t.nodes=[],this.current=t)},e.prototype.end=function(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end={line:e[2],column:e[3]},this.current=this.current.parent):this.unexpectedClose(e)},e.prototype.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces},e.prototype.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}},e.prototype.init=function(e,t,n){this.current.push(e),e.source={start:{line:t,column:n},input:this.input},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)},e.prototype.raw=function(e,t,n){for(var r=void 0,o=void 0,i=n.length,a="",u=!0,c=void 0,l=void 0,s=/^([.|#])?([\w])+/i,f=0;f<i;f+=1)"comment"!==(o=(r=n[f])[0])||"rule"!==e.type?"comment"===o||"space"===o&&f===i-1?u=!1:a+=r[1]:(l=n[f-1],c=n[f+1],"space"!==l[0]&&"space"!==c[0]&&s.test(l[1])&&s.test(c[1])?a+=r[1]:u=!1);if(!u){var d=n.reduce((function(e,t){return e+t[1]}),"");e.raws[t]={value:a,raw:d}}e[t]=a},e.prototype.spacesAndCommentsFromEnd=function(e){for(var t=void 0,n="";e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)n=e.pop()[1]+n;return n},e.prototype.spacesAndCommentsFromStart=function(e){for(var t=void 0,n="";e.length&&("space"===(t=e[0][0])||"comment"===t);)n+=e.shift()[1];return n},e.prototype.spacesFromEnd=function(e){for(var t="";e.length&&"space"===e[e.length-1][0];)t=e.pop()[1]+t;return t},e.prototype.stringFrom=function(e,t){for(var n="",r=t;r<e.length;r++)n+=e[r][1];return e.splice(t,e.length-t),n},e.prototype.colon=function(e){for(var t=0,n=void 0,r=void 0,o=void 0,i=0;i<e.length;i++){if("("===(r=(n=e[i])[0]))t+=1;else if(")"===r)t-=1;else if(0===t&&":"===r){if(o){if("word"===o[0]&&"progid"===o[1])continue;return i}this.doubleColon(n)}o=n}return!1},e.prototype.unclosedBracket=function(e){throw this.input.error("Unclosed bracket",e[2],e[3])},e.prototype.unknownWord=function(e){throw this.input.error("Unknown word",e[0][2],e[0][3])},e.prototype.unexpectedClose=function(e){throw this.input.error("Unexpected }",e[2],e[3])},e.prototype.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)},e.prototype.doubleColon=function(e){throw this.input.error("Double colon",e[2],e[3])},e.prototype.unnamedAtrule=function(e,t){throw this.input.error("At-rule without name",t[2],t[3])},e.prototype.precheckMissedSemicolon=function(e){},e.prototype.checkMissedSemicolon=function(e){var t=this.colon(e);if(!1!==t){for(var n=0,r=void 0,o=t-1;o>=0&&("space"===(r=e[o])[0]||2!==(n+=1));o--);throw this.input.error("Missed semicolon",r[2],r[3])}},e}();t.default=s,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;t.default={prefix:function(e){var t=e.match(/^(-\w+-)/);return t?t[0]:""},unprefixed:function(e){return e.replace(/^-\w+-/,"")}},e.exports=t.default},function(e,t,n){"use strict";var r=n(216);e.exports={stack:[],pop:function(e){var t=this.stack.indexOf(
|