Version Description
Released 2018-03-05
- FIX: Enabling Log from Advanced tab does not use default options
- FIX: Plugin settings page is not accessible for excluded users
- TWEAK: Changed settings page to use admin-ajax.php instead of REST API
- TWEAK: Removed the usage tracking code (which was always explicit opt-in)
Download this release
Release Info
Developer | DavidAnderson |
Plugin | Easy Updates Manager |
Version | 7.0.1 |
Comparing to | |
See all releases |
Code changes from version 7.0.0 to 7.0.1
- contributing.md +24 -0
- css/index.php +0 -0
- css/style.css +238 -1
- includes/MPSUM_Admin.php +2 -23
- includes/MPSUM_Admin_Advanced.php +3 -27
- includes/MPSUM_Admin_Ajax.php +354 -0
- includes/MPSUM_Admin_Core.php +0 -1
- includes/MPSUM_Tracking.php +0 -67
- js/admin.js +11476 -5
- js/index.php +0 -0
- js/qs.js +627 -0
- js/qs.min.js +1 -0
- languages/stops-core-theme-and-plugin-updates.pot +1185 -0
- main.php +3 -15
- readme.txt +10 -7
contributing.md
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Easy Updates Manager is a 100% volunteer run plugin. We are always happy to welcome new contributors to help make Easy Updates Manager a better plugin.
|
2 |
+
|
3 |
+
# Getting Started with Contributing
|
4 |
+
There are many ways that you can contribute to Easy Updates Manager.
|
5 |
+
- Coding
|
6 |
+
- Documentation
|
7 |
+
- Support
|
8 |
+
- Translations
|
9 |
+
|
10 |
+
## Coding
|
11 |
+
Coding is not easy. A good start to contibuting with code is to create a pull request through GitHub.
|
12 |
+
|
13 |
+
If you plan on doing this then please make sure that you use the most recent branch of Easy Updates Manager to make your changes on, and most importantly use the most recent version of WordPress to test your changes on.
|
14 |
+
|
15 |
+
## Documentation
|
16 |
+
Documentation is always needing to be updated. Also there can never be too much documentation. For this reason we are more than happy for you to write up some documentation for Easy Updates Manager. This can consist of writing pages for our wiki, writing a post about how to use Easy Updates Manager, or even create a video about Easy Updates Manager. Either one of these we would very much appreciate.
|
17 |
+
|
18 |
+
Note that if you want to right up stuff for the wiki then please submit an issue with your suggested wiki changes so that we can have a look.
|
19 |
+
|
20 |
+
## Support
|
21 |
+
Support is a fairly big thing to manage. We volunteers at Easy Updates Manager want to make sure that our users get the best support they can. How you can help with this is extremely simple. Head on over to our <a href="https://wordpress.org/support/plugin/stops-core-theme-and-plugin-updates">WordPress Support Forum</a> and answer some support topics.
|
22 |
+
|
23 |
+
## Translation
|
24 |
+
We are always trying to expand Easy Updates Managers translations. If you are interested in translating Easy Updates Manager, please <a href="https://translate.wordpress.org/projects/wp-plugins/stops-core-theme-and-plugin-updates">go here</a>.
|
css/index.php
DELETED
File without changes
|
css/style.css
CHANGED
@@ -1 +1,238 @@
|
|
1 |
-
.eum-dashboard-app
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.eum-dashboard-app {
|
2 |
+
width: 99%;
|
3 |
+
margin: 30px auto 0; }
|
4 |
+
.eum-dashboard-app:after {
|
5 |
+
display: inline-block;
|
6 |
+
width: 100%;
|
7 |
+
content: '';
|
8 |
+
clear: both; }
|
9 |
+
|
10 |
+
.toggle-wrapper {
|
11 |
+
position: relative; }
|
12 |
+
|
13 |
+
/* Let's give some toggle switches some love */
|
14 |
+
/* From https://codepen.io/koenigsegg1/pen/QjZNVP */
|
15 |
+
input[type=checkbox].eum-hidden {
|
16 |
+
display: none; }
|
17 |
+
input[type=checkbox].eum-hidden:checked ~ .toggle {
|
18 |
+
background: #009688;
|
19 |
+
left: 20.8px;
|
20 |
+
transition: .5s; }
|
21 |
+
input[type=checkbox].eum-hidden:checked ~ .switch {
|
22 |
+
background: #6DBEB7;
|
23 |
+
transition: .5s; }
|
24 |
+
|
25 |
+
.toggle-wrapper label {
|
26 |
+
margin-left: 50px;
|
27 |
+
font-weight: 700; }
|
28 |
+
|
29 |
+
.eum-toggle-button {
|
30 |
+
font-size: 13px !important; }
|
31 |
+
|
32 |
+
.eum-input-label {
|
33 |
+
font-weight: 700; }
|
34 |
+
|
35 |
+
.switch {
|
36 |
+
display: block;
|
37 |
+
width: 40px;
|
38 |
+
height: 16px;
|
39 |
+
background: #939393;
|
40 |
+
border-radius: 8px;
|
41 |
+
position: absolute;
|
42 |
+
top: 3px;
|
43 |
+
transition: .5s; }
|
44 |
+
|
45 |
+
.toggle {
|
46 |
+
height: 22.4px;
|
47 |
+
width: 22.4px;
|
48 |
+
border-radius: 50%;
|
49 |
+
background: white;
|
50 |
+
position: absolute;
|
51 |
+
top: 0;
|
52 |
+
left: 0;
|
53 |
+
box-shadow: 0 0.8px 1.6px rgba(0, 0, 0, 0.4);
|
54 |
+
transition: .5s; }
|
55 |
+
|
56 |
+
.multi-choice {
|
57 |
+
clear: both;
|
58 |
+
margin-top: 20px; }
|
59 |
+
|
60 |
+
.eum-section {
|
61 |
+
border-bottom: 1px solid #CCC;
|
62 |
+
padding-bottom: 15px; }
|
63 |
+
|
64 |
+
.eum-section input[type=radio] {
|
65 |
+
-webkit-appearance: none;
|
66 |
+
/* remove default */
|
67 |
+
margin: 0 10px;
|
68 |
+
width: 15px;
|
69 |
+
height: 16px;
|
70 |
+
border-radius: 12px;
|
71 |
+
cursor: pointer;
|
72 |
+
vertical-align: middle;
|
73 |
+
outline: none;
|
74 |
+
border: 1px solid #dddddd;
|
75 |
+
background-color: #ffffff;
|
76 |
+
-webkit-transition: background-position 0.15s cubic-bezier(0.8, 0, 1, 1), -webkit-transform 0.25s cubic-bezier(0.8, 0, 1, 1); }
|
77 |
+
|
78 |
+
.eum-section input[type=radio]:checked:before {
|
79 |
+
display: none; }
|
80 |
+
|
81 |
+
.eum-section input[type="radio"]:checked {
|
82 |
+
-webkit-transition: background-position 0.2s 0.15s cubic-bezier(0, 0, 0.2, 1), -webkit-transform 0.25s cubic-bezier(0, 0, 0.2, 1);
|
83 |
+
background: #25af76;
|
84 |
+
border: 1px solid #999; }
|
85 |
+
|
86 |
+
.eum-section input[type="radio"]:checked:disabled {
|
87 |
+
background: grey; }
|
88 |
+
|
89 |
+
input[type=email].eum-input-email {
|
90 |
+
background: #FFF;
|
91 |
+
box-shadow: none;
|
92 |
+
font-size: 14px;
|
93 |
+
padding: 10px 10px 10px 5px;
|
94 |
+
display: block;
|
95 |
+
min-width: 500px; }
|
96 |
+
@media only screen and (max-width: 510px) {
|
97 |
+
input[type=email].eum-input-email {
|
98 |
+
min-width: 100%; } }
|
99 |
+
|
100 |
+
.wp-core-ui button.eum-save {
|
101 |
+
margin-top: 10px;
|
102 |
+
margin-bottom: 10px; }
|
103 |
+
|
104 |
+
.button.delete {
|
105 |
+
background-color: #e14d43;
|
106 |
+
color: #FFF; }
|
107 |
+
|
108 |
+
.mpsum-error,
|
109 |
+
.mpsum-notice {
|
110 |
+
background: #fff;
|
111 |
+
border-left: 4px solid #dc3232;
|
112 |
+
-webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
|
113 |
+
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
|
114 |
+
margin: 5px 15px 2px;
|
115 |
+
padding: 1px 12px;
|
116 |
+
margin: 5px 0 15px;
|
117 |
+
color: #ff0000; }
|
118 |
+
|
119 |
+
.mpsum-notice {
|
120 |
+
border-left-color: #00a0d2;
|
121 |
+
color: #000; }
|
122 |
+
|
123 |
+
.mpsum-error p,
|
124 |
+
.mpsum-notice p {
|
125 |
+
margin: 0.5em 0;
|
126 |
+
padding: 2px; }
|
127 |
+
|
128 |
+
.eum-ratings-nag li {
|
129 |
+
display: inline-block;
|
130 |
+
margin-right: 10px; }
|
131 |
+
|
132 |
+
.eum-ratings-nag a {
|
133 |
+
display: inline-block; }
|
134 |
+
|
135 |
+
.toggle-wrapper button,
|
136 |
+
.toggle-wrapper a {
|
137 |
+
padding: 5px 10px;
|
138 |
+
display: inline-block;
|
139 |
+
background: #f8f8f8;
|
140 |
+
border-right: 0;
|
141 |
+
border-color: #CCC;
|
142 |
+
font-size: 1.2em;
|
143 |
+
border-style: solid;
|
144 |
+
border-width: 1px;
|
145 |
+
cursor: pointer;
|
146 |
+
align-items: flex-start;
|
147 |
+
text-align: center;
|
148 |
+
text-rendering: auto;
|
149 |
+
color: initial;
|
150 |
+
letter-spacing: normal;
|
151 |
+
word-spacing: normal;
|
152 |
+
text-transform: none;
|
153 |
+
text-indent: 0px;
|
154 |
+
text-shadow: none;
|
155 |
+
display: inline-block;
|
156 |
+
text-align: start;
|
157 |
+
margin: 0em;
|
158 |
+
-webkit-appearance: button;
|
159 |
+
appearance: button; }
|
160 |
+
.toggle-wrapper button:first-child,
|
161 |
+
.toggle-wrapper a:first-child {
|
162 |
+
border-radius: 5px 0px 0px 5px; }
|
163 |
+
.toggle-wrapper button:last-child,
|
164 |
+
.toggle-wrapper a:last-child {
|
165 |
+
border-radius: 0px 5px 5px 0px;
|
166 |
+
border-right: 1px solid #CCC; }
|
167 |
+
.toggle-wrapper button.eum-active,
|
168 |
+
.toggle-wrapper a.eum-active {
|
169 |
+
background: #25af76;
|
170 |
+
color: #FFF;
|
171 |
+
-webkit-appearance: inherit;
|
172 |
+
appearance: inherit; }
|
173 |
+
@media only screen and (max-width: 600px) {
|
174 |
+
.toggle-wrapper button,
|
175 |
+
.toggle-wrapper a {
|
176 |
+
display: block;
|
177 |
+
width: 100%;
|
178 |
+
border-radius: 0 0 0 0;
|
179 |
+
border: 1px solid #CCC; }
|
180 |
+
.toggle-wrapper button:first-child,
|
181 |
+
.toggle-wrapper a:first-child {
|
182 |
+
border-radius: 0; }
|
183 |
+
.toggle-wrapper button:last-child,
|
184 |
+
.toggle-wrapper a:last-child {
|
185 |
+
border-radius: 0; } }
|
186 |
+
|
187 |
+
.eum-button {
|
188 |
+
padding: 20px 10px;
|
189 |
+
display: block;
|
190 |
+
width: 90%;
|
191 |
+
margin: 0 auto;
|
192 |
+
margin-top: 20px !important; }
|
193 |
+
|
194 |
+
.eum-status {
|
195 |
+
font-style: italic; }
|
196 |
+
|
197 |
+
/* These styles are for the plugins/themes screen for versions less than WordPress 4.9 */
|
198 |
+
.plugins .plugin-title .dashicons,
|
199 |
+
.plugins .plugin-title img {
|
200 |
+
float: left;
|
201 |
+
padding: 0 10px 0 0;
|
202 |
+
width: 64px;
|
203 |
+
height: 64px; }
|
204 |
+
|
205 |
+
.plugins .plugin-title .dashicons:before {
|
206 |
+
padding: 2px;
|
207 |
+
background-color: #eee;
|
208 |
+
box-shadow: inset 0 0 10px rgba(160, 165, 170, 0.15);
|
209 |
+
font-size: 60px;
|
210 |
+
color: #B4B9BE; }
|
211 |
+
|
212 |
+
.updates-table-screenshot {
|
213 |
+
float: left;
|
214 |
+
padding: 0 10px 5px 0;
|
215 |
+
width: 85px;
|
216 |
+
height: 64px; }
|
217 |
+
|
218 |
+
.theme-title strong {
|
219 |
+
display: block; }
|
220 |
+
|
221 |
+
.eum-plugin-name-actions {
|
222 |
+
margin-left: 70px; }
|
223 |
+
|
224 |
+
.eum-theme-name-actions {
|
225 |
+
margin-left: 100px; }
|
226 |
+
|
227 |
+
body .plugins .active td,
|
228 |
+
body .plugins .active th {
|
229 |
+
background: #FFF; }
|
230 |
+
|
231 |
+
body .plugins .active th.check-column {
|
232 |
+
border-left: 4px solid #25af76; }
|
233 |
+
|
234 |
+
body .plugins .inactive th.check-column {
|
235 |
+
border-left: 4px solid #d44e1c; }
|
236 |
+
|
237 |
+
#footer-thankyou img {
|
238 |
+
max-width: 100px; }
|
includes/MPSUM_Admin.php
CHANGED
@@ -258,18 +258,6 @@ class MPSUM_Admin {
|
|
258 |
$ratings_nag_showing = false;
|
259 |
}
|
260 |
|
261 |
-
/**
|
262 |
-
* Filter whether a tracking nag is enabled/disabled or not
|
263 |
-
*
|
264 |
-
* @since 6.3.3
|
265 |
-
*
|
266 |
-
* @param bool true to show tracking nag, false if not
|
267 |
-
*/
|
268 |
-
$tracking_nag_showing = apply_filters( 'mpsum_tracking_nag', true );
|
269 |
-
if ( isset( $options[ 'core' ][ 'tracking_nag' ] ) && 'off' == $options[ 'core' ][ 'tracking_nag' ] ) {
|
270 |
-
$tracking_nag_showing = 'off';
|
271 |
-
}
|
272 |
-
|
273 |
$I18N = array(
|
274 |
'default' => _x( 'Default', 'Option as Default', 'stops-core-theme-and-plugin-updates' ),
|
275 |
'on' => _x( 'On', 'Option enabled', 'stops-core-theme-and-plugin-updates' ),
|
@@ -380,7 +368,6 @@ class MPSUM_Admin {
|
|
380 |
'translation_updates_label_off_status' => __( 'Translation updates are disabled.', 'stops-core-theme-and-plugin-updates' ),
|
381 |
);
|
382 |
|
383 |
-
// tracking_nag
|
384 |
wp_localize_script( 'mpsum_dashboard', 'mpsum', array(
|
385 |
'spinner' => MPSUM_Updates_Manager::get_plugin_url( '/images/spinner.gif' ),
|
386 |
'tabs' => _x( 'Tabs', 'Show or hide admin tabs', 'stops-core-theme-and-plugin-updates' ),
|
@@ -396,16 +383,8 @@ class MPSUM_Admin {
|
|
396 |
'cancel' => __( 'No thanks!', 'stops-core-theme-and-plugin-updates' ),
|
397 |
'enabled' => $ratings_nag_showing
|
398 |
),
|
399 |
-
'
|
400 |
-
|
401 |
-
'url' => 'https://easyupdatesmanager.com/tracking/',
|
402 |
-
'affirm' => __( 'Sure! Absolutely!', 'stops-core-theme-and-plugin-updates' ),
|
403 |
-
'cancel' => __( 'No Thanks, but Good Luck!', 'stops-core-theme-and-plugin-updates' ),
|
404 |
-
'help' => __( 'Learn More.', 'stops-core-theme-and-plugin-updates' ),
|
405 |
-
'enabled' => $tracking_nag_showing
|
406 |
-
),
|
407 |
-
'rest_nonce' => wp_create_nonce( 'wp_rest' ),
|
408 |
-
'rest_url' => get_rest_url( null, '/eum/v1/' ),
|
409 |
'I18N' => $I18N,
|
410 |
) );
|
411 |
wp_enqueue_style( 'mpsum_dashboard', MPSUM_Updates_Manager::get_plugin_url( '/css/style.css' ), array(), '20180126' );
|
258 |
$ratings_nag_showing = false;
|
259 |
}
|
260 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
261 |
$I18N = array(
|
262 |
'default' => _x( 'Default', 'Option as Default', 'stops-core-theme-and-plugin-updates' ),
|
263 |
'on' => _x( 'On', 'Option enabled', 'stops-core-theme-and-plugin-updates' ),
|
368 |
'translation_updates_label_off_status' => __( 'Translation updates are disabled.', 'stops-core-theme-and-plugin-updates' ),
|
369 |
);
|
370 |
|
|
|
371 |
wp_localize_script( 'mpsum_dashboard', 'mpsum', array(
|
372 |
'spinner' => MPSUM_Updates_Manager::get_plugin_url( '/images/spinner.gif' ),
|
373 |
'tabs' => _x( 'Tabs', 'Show or hide admin tabs', 'stops-core-theme-and-plugin-updates' ),
|
383 |
'cancel' => __( 'No thanks!', 'stops-core-theme-and-plugin-updates' ),
|
384 |
'enabled' => $ratings_nag_showing
|
385 |
),
|
386 |
+
'eum_nonce' => wp_create_nonce( 'eum_nonce' ),
|
387 |
+
'ajax_url' => admin_url( 'admin-ajax.php' ),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
388 |
'I18N' => $I18N,
|
389 |
) );
|
390 |
wp_enqueue_style( 'mpsum_dashboard', MPSUM_Updates_Manager::get_plugin_url( '/css/style.css' ), array(), '20180126' );
|
includes/MPSUM_Admin_Advanced.php
CHANGED
@@ -85,9 +85,6 @@ class MPSUM_Admin_Advanced {
|
|
85 |
// Remove table version
|
86 |
delete_site_option( 'mpsum_log_table_version' );
|
87 |
|
88 |
-
// Disable Tracking
|
89 |
-
MPSUM_Tracking::disable_cron();
|
90 |
-
|
91 |
// Remove logs table
|
92 |
global $wpdb;
|
93 |
$tablename = $wpdb->base_prefix . 'eum_logs';
|
@@ -106,6 +103,9 @@ class MPSUM_Admin_Advanced {
|
|
106 |
case 'mpsum_enable_logs':
|
107 |
check_admin_referer( 'mpsum_logs', '_mpsum' );
|
108 |
$options = MPSUM_Updates_Manager::get_options( 'core' );
|
|
|
|
|
|
|
109 |
$options[ 'logs' ] = 'on';
|
110 |
MPSUM_Updates_Manager::update_options( $options, 'core' );
|
111 |
break;
|
@@ -120,14 +120,6 @@ class MPSUM_Admin_Advanced {
|
|
120 |
case 'mpsum_clear_logs':
|
121 |
MPSUM_Logs::clear();
|
122 |
break;
|
123 |
-
case 'mpsum_disable_tracking':
|
124 |
-
check_admin_referer( 'mpsum_disable_tracking', '_mpsum' );
|
125 |
-
$options = MPSUM_Updates_Manager::get_options( 'core' );
|
126 |
-
$options[ 'tracking_enabled' ] = 'off';
|
127 |
-
$options[ 'tracking_nag' ] = 'off';
|
128 |
-
MPSUM_Updates_Manager::update_options( $options, 'core' );
|
129 |
-
MPSUM_Tracking::disable_cron();
|
130 |
-
break;
|
131 |
default:
|
132 |
return;
|
133 |
}
|
@@ -291,22 +283,6 @@ class MPSUM_Admin_Advanced {
|
|
291 |
</form>
|
292 |
<?php
|
293 |
endif;
|
294 |
-
$options = MPSUM_Updates_Manager::get_options( 'core' );
|
295 |
-
$tracking_enabled = isset( $options[ 'tracking_enabled' ] ) ? $options[ 'tracking_enabled' ] : 'off';
|
296 |
-
if ( 'on' === $tracking_enabled || false !== wp_next_scheduled( 'eum-monthly' ) ):
|
297 |
-
?>
|
298 |
-
<form action="<?php echo esc_url( add_query_arg( array() ) ); ?>" method="post">
|
299 |
-
<h3><?php esc_html_e( 'Tracking', 'stops-core-theme-and-plugin-updates' ); ?></h3>
|
300 |
-
<input type="hidden" name="action" value='mpsum_disable_tracking' />
|
301 |
-
<?php
|
302 |
-
wp_nonce_field( 'mpsum_disable_tracking', '_mpsum' );
|
303 |
-
echo '<p class="submit">';
|
304 |
-
submit_button( __( 'Disable Tracking', 'stops-core-theme-and-plugin-updates' ) , 'primary', 'submit', false );
|
305 |
-
echo '</p>';
|
306 |
-
?>
|
307 |
-
</form>
|
308 |
-
<?php
|
309 |
-
endif;
|
310 |
?>
|
311 |
<form action="<?php echo esc_url( add_query_arg( array() ) ); ?>" method="post">
|
312 |
<h3><?php esc_html_e( 'Reset Options', 'stops-core-theme-and-plugin-updates' ); ?></h3>
|
85 |
// Remove table version
|
86 |
delete_site_option( 'mpsum_log_table_version' );
|
87 |
|
|
|
|
|
|
|
88 |
// Remove logs table
|
89 |
global $wpdb;
|
90 |
$tablename = $wpdb->base_prefix . 'eum_logs';
|
103 |
case 'mpsum_enable_logs':
|
104 |
check_admin_referer( 'mpsum_logs', '_mpsum' );
|
105 |
$options = MPSUM_Updates_Manager::get_options( 'core' );
|
106 |
+
if ( empty( $options ) ) {
|
107 |
+
$options = MPSUM_Admin_Core::get_defaults();
|
108 |
+
}
|
109 |
$options[ 'logs' ] = 'on';
|
110 |
MPSUM_Updates_Manager::update_options( $options, 'core' );
|
111 |
break;
|
120 |
case 'mpsum_clear_logs':
|
121 |
MPSUM_Logs::clear();
|
122 |
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
default:
|
124 |
return;
|
125 |
}
|
283 |
</form>
|
284 |
<?php
|
285 |
endif;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
286 |
?>
|
287 |
<form action="<?php echo esc_url( add_query_arg( array() ) ); ?>" method="post">
|
288 |
<h3><?php esc_html_e( 'Reset Options', 'stops-core-theme-and-plugin-updates' ); ?></h3>
|
includes/MPSUM_Admin_Ajax.php
ADDED
@@ -0,0 +1,354 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if (!defined('ABSPATH')) die('No direct access.');
|
4 |
+
|
5 |
+
/**
|
6 |
+
* Easy Updates Manager Admin Ajax
|
7 |
+
*
|
8 |
+
* Handles ajax requests
|
9 |
+
*
|
10 |
+
* @since 7.0.1
|
11 |
+
*
|
12 |
+
* @package WordPress
|
13 |
+
*/
|
14 |
+
class MPSUM_Admin_Ajax {
|
15 |
+
|
16 |
+
/**
|
17 |
+
* Holds the class instance.
|
18 |
+
*
|
19 |
+
* @access static
|
20 |
+
* @var MPSUM_Admin_Ajax $instance
|
21 |
+
*/
|
22 |
+
private static $instance = null;
|
23 |
+
|
24 |
+
/**
|
25 |
+
* Set a class instance.
|
26 |
+
*
|
27 |
+
* @access static
|
28 |
+
*/
|
29 |
+
public static function run() {
|
30 |
+
if ( null == self::$instance ) {
|
31 |
+
self::$instance = new self;
|
32 |
+
}
|
33 |
+
}
|
34 |
+
|
35 |
+
/**
|
36 |
+
* Class constructor.
|
37 |
+
*
|
38 |
+
* Initialize the class
|
39 |
+
*/
|
40 |
+
private function __construct() {
|
41 |
+
add_action( 'wp_ajax_eum_ajax', array( $this, 'ajax_handler' ) );
|
42 |
+
}
|
43 |
+
|
44 |
+
/**
|
45 |
+
* Handles ajax all calls
|
46 |
+
*/
|
47 |
+
public function ajax_handler() {
|
48 |
+
parse_str( file_get_contents( 'php://input' ), $data );
|
49 |
+
$sub_action = isset( $data['sub_action'] ) ? $data['sub_action']: 'get_options';
|
50 |
+
$nonce = isset( $data['_wpnonce'] ) ? $data['_wpnonce'] : '';
|
51 |
+
if ( !wp_verify_nonce( $nonce, 'eum_nonce' ) || empty( $sub_action ) ) die( 'Security check' );
|
52 |
+
|
53 |
+
if ( method_exists( $this, $sub_action ) ) {
|
54 |
+
$results = call_user_func( array( $this, $sub_action ), $data );
|
55 |
+
|
56 |
+
if ( is_wp_error( $results ) ) {
|
57 |
+
$results = array(
|
58 |
+
'result' => false,
|
59 |
+
'error_code' => $results->get_error_code(),
|
60 |
+
'error_message' => $results->get_error_message(),
|
61 |
+
'error_data' => $results->get_error_data(),
|
62 |
+
);
|
63 |
+
}
|
64 |
+
|
65 |
+
wp_send_json($results);
|
66 |
+
}
|
67 |
+
}
|
68 |
+
|
69 |
+
/**
|
70 |
+
* Saves core options
|
71 |
+
*
|
72 |
+
* @param array $data - An array with option id and value to save
|
73 |
+
*
|
74 |
+
* @return array - An array of core options
|
75 |
+
*/
|
76 |
+
public function save_options( $data ) {
|
77 |
+
$id = $data['id'];
|
78 |
+
$value = $data['value'];
|
79 |
+
|
80 |
+
// Get options
|
81 |
+
$options = MPSUM_Updates_Manager::get_options( 'core', true );
|
82 |
+
if ( empty( $options ) ) {
|
83 |
+
$options = MPSUM_Admin_Core::get_defaults();
|
84 |
+
}
|
85 |
+
|
86 |
+
$id = sanitize_text_field( $id );
|
87 |
+
$value = sanitize_text_field( $value );
|
88 |
+
|
89 |
+
$email_errors = false;
|
90 |
+
switch ( $id ) {
|
91 |
+
case 'automatic-updates-default':
|
92 |
+
$options[ 'automatic_development_updates' ] = 'off';
|
93 |
+
$options[ 'automatic_major_updates' ] = 'off';
|
94 |
+
$options[ 'automatic_minor_updates' ] = 'on';
|
95 |
+
$options[ 'automatic_plugin_updates' ] = 'default';
|
96 |
+
$options[ 'automatic_theme_updates' ] = 'default';
|
97 |
+
$options[ 'automatic_translation_updates' ] = 'on';
|
98 |
+
$options[ 'automatic_updates' ] = 'default';
|
99 |
+
break;
|
100 |
+
case 'automatic-updates-on':
|
101 |
+
$options[ 'automatic_development_updates' ] = 'off';
|
102 |
+
$options[ 'automatic_major_updates' ] = 'on';
|
103 |
+
$options[ 'automatic_minor_updates' ] = 'on';
|
104 |
+
$options[ 'automatic_plugin_updates' ] = 'on';
|
105 |
+
$options[ 'automatic_theme_updates' ] = 'on';
|
106 |
+
$options[ 'automatic_translation_updates' ] = 'on';
|
107 |
+
$options[ 'automatic_updates' ] = 'on';
|
108 |
+
break;
|
109 |
+
case 'automatic-updates-off':
|
110 |
+
$options[ 'automatic_development_updates' ] = 'off';
|
111 |
+
$options[ 'automatic_major_updates' ] = 'off';
|
112 |
+
$options[ 'automatic_minor_updates' ] = 'off';
|
113 |
+
$options[ 'automatic_plugin_updates' ] = 'off';
|
114 |
+
$options[ 'automatic_theme_updates' ] = 'off';
|
115 |
+
$options[ 'automatic_translation_updates' ] = 'off';
|
116 |
+
$options[ 'automatic_updates' ] = 'off';
|
117 |
+
break;
|
118 |
+
case 'automatic-updates-custom':
|
119 |
+
$options[ 'automatic_updates' ] = 'custom';
|
120 |
+
break;
|
121 |
+
case 'automatic-major-updates':
|
122 |
+
if( 'on' == $value ) {
|
123 |
+
$options[ 'automatic_major_updates' ] = 'on';
|
124 |
+
} else {
|
125 |
+
$options[ 'automatic_major_updates' ] = 'off';
|
126 |
+
}
|
127 |
+
$options[ 'automatic_updates' ] = 'custom';
|
128 |
+
break;
|
129 |
+
case 'automatic-minor-updates':
|
130 |
+
if( 'on' == $value ) {
|
131 |
+
$options[ 'automatic_minor_updates' ] = 'on';
|
132 |
+
} else {
|
133 |
+
$options[ 'automatic_minor_updates' ] = 'off';
|
134 |
+
}
|
135 |
+
$options[ 'automatic_updates' ] = 'custom';
|
136 |
+
break;
|
137 |
+
case 'automatic-development-updates':
|
138 |
+
if( 'on' == $value ) {
|
139 |
+
$options[ 'automatic_development_updates' ] = 'on';
|
140 |
+
} else {
|
141 |
+
$options[ 'automatic_development_updates' ] = 'off';
|
142 |
+
}
|
143 |
+
$options[ 'automatic_updates' ] = 'custom';
|
144 |
+
break;
|
145 |
+
case 'automatic-translation-updates':
|
146 |
+
if( 'on' == $value ) {
|
147 |
+
$options[ 'automatic_translation_updates' ] = 'on';
|
148 |
+
} else {
|
149 |
+
$options[ 'automatic_translation_updates' ] = 'off';
|
150 |
+
}
|
151 |
+
$options[ 'automatic_updates' ] = 'custom';
|
152 |
+
break;
|
153 |
+
case 'automatic-plugin-updates-default':
|
154 |
+
$options[ 'automatic_plugin_updates' ] = 'default';
|
155 |
+
$options[ 'automatic_updates' ] = 'custom';
|
156 |
+
break;
|
157 |
+
case 'automatic-plugin-updates-on':
|
158 |
+
$options[ 'automatic_plugin_updates' ] = 'on';
|
159 |
+
$options[ 'automatic_updates' ] = 'custom';
|
160 |
+
break;
|
161 |
+
case 'automatic-plugin-updates-off':
|
162 |
+
$options[ 'automatic_plugin_updates' ] = 'off';
|
163 |
+
$options[ 'automatic_updates' ] = 'custom';
|
164 |
+
break;
|
165 |
+
case 'automatic-plugin-updates-individual':
|
166 |
+
$options[ 'automatic_plugin_updates' ] = 'individual';
|
167 |
+
$options[ 'automatic_updates' ] = 'custom';
|
168 |
+
break;
|
169 |
+
case 'automatic-theme-updates-default':
|
170 |
+
$options[ 'automatic_theme_updates' ] = 'default';
|
171 |
+
$options[ 'automatic_updates' ] = 'custom';
|
172 |
+
break;
|
173 |
+
case 'automatic-theme-updates-on':
|
174 |
+
$options[ 'automatic_theme_updates' ] = 'on';
|
175 |
+
$options[ 'automatic_updates' ] = 'custom';
|
176 |
+
break;
|
177 |
+
case 'automatic-theme-updates-off':
|
178 |
+
$options[ 'automatic_theme_updates' ] = 'off';
|
179 |
+
$options[ 'automatic_updates' ] = 'custom';
|
180 |
+
break;
|
181 |
+
case 'automatic-theme-updates-individual':
|
182 |
+
$options[ 'automatic_theme_updates' ] = 'individual';
|
183 |
+
$options[ 'automatic_updates' ] = 'custom';
|
184 |
+
break;
|
185 |
+
case 'disable-updates':
|
186 |
+
if( 'on' == $value ) {
|
187 |
+
$options[ 'all_updates' ] = 'on';
|
188 |
+
} else {
|
189 |
+
$options[ 'all_updates' ] = 'off';
|
190 |
+
}
|
191 |
+
break;
|
192 |
+
case 'logs':
|
193 |
+
if( 'on' == $value ) {
|
194 |
+
update_site_option( 'mpsum_log_table_version', 0 );
|
195 |
+
$options[ 'logs' ] = 'on';
|
196 |
+
} else {
|
197 |
+
MPSUM_Logs::drop();
|
198 |
+
update_site_option( 'mpsum_log_table_version', 0 );
|
199 |
+
$options[ 'logs' ] = 'off';
|
200 |
+
}
|
201 |
+
break;
|
202 |
+
case 'core-updates':
|
203 |
+
if( 'on' == $value ) {
|
204 |
+
$options[ 'core_updates' ] = 'on';
|
205 |
+
} else {
|
206 |
+
MPSUM_Logs::drop();
|
207 |
+
$options[ 'core_updates' ] = 'off';
|
208 |
+
}
|
209 |
+
break;
|
210 |
+
case 'plugin-updates':
|
211 |
+
if( 'on' == $value ) {
|
212 |
+
$options[ 'plugin_updates' ] = 'on';
|
213 |
+
} else {
|
214 |
+
MPSUM_Logs::drop();
|
215 |
+
$options[ 'plugin_updates' ] = 'off';
|
216 |
+
}
|
217 |
+
break;
|
218 |
+
case 'theme-updates':
|
219 |
+
if( 'on' == $value ) {
|
220 |
+
$options[ 'theme_updates' ] = 'on';
|
221 |
+
} else {
|
222 |
+
MPSUM_Logs::drop();
|
223 |
+
$options[ 'theme_updates' ] = 'off';
|
224 |
+
}
|
225 |
+
break;
|
226 |
+
case 'translation-updates':
|
227 |
+
if( 'on' == $value ) {
|
228 |
+
$options[ 'translation_updates' ] = 'on';
|
229 |
+
} else {
|
230 |
+
MPSUM_Logs::drop();
|
231 |
+
$options[ 'translation_updates' ] = 'off';
|
232 |
+
}
|
233 |
+
break;
|
234 |
+
case 'browser-nag':
|
235 |
+
if( 'on' == $value ) {
|
236 |
+
$options[ 'misc_browser_nag' ] = 'on';
|
237 |
+
} else {
|
238 |
+
$options[ 'misc_browser_nag' ] = 'off';
|
239 |
+
}
|
240 |
+
break;
|
241 |
+
case 'version-footer':
|
242 |
+
if( 'on' == $value ) {
|
243 |
+
$options[ 'misc_wp_footer' ] = 'on';
|
244 |
+
} else {
|
245 |
+
$options[ 'misc_wp_footer' ] = 'off';
|
246 |
+
}
|
247 |
+
break;
|
248 |
+
case 'email-notifications':
|
249 |
+
if( 'on' == $value ) {
|
250 |
+
$options[ 'notification_core_update_emails' ] = 'on';
|
251 |
+
} else {
|
252 |
+
$options[ 'notification_core_update_emails' ] = 'off';
|
253 |
+
}
|
254 |
+
break;
|
255 |
+
case 'notification-emails':
|
256 |
+
if ( 'unset' === $value ) {
|
257 |
+
$options[ 'email_addresses' ] = array();
|
258 |
+
break;
|
259 |
+
}
|
260 |
+
$emails = explode( ',', $value );
|
261 |
+
foreach( $emails as $index => &$email ) {
|
262 |
+
$email = trim( $email );
|
263 |
+
if ( ! is_email ( $email ) ) {
|
264 |
+
|
265 |
+
// Email error. Get out.
|
266 |
+
$email_errors = true;
|
267 |
+
break;
|
268 |
+
}
|
269 |
+
}
|
270 |
+
|
271 |
+
if ( ! $email_errors ) {
|
272 |
+
$options[ 'email_addresses' ] = $emails;
|
273 |
+
}
|
274 |
+
break;
|
275 |
+
}
|
276 |
+
// Save options
|
277 |
+
MPSUM_Updates_Manager::update_options( $options, 'core' );
|
278 |
+
|
279 |
+
// Return email addresses in format
|
280 |
+
$value = trim( $value );
|
281 |
+
if ( 'unset' === $value ) {
|
282 |
+
$options[ 'email_addresses' ] = array();
|
283 |
+
}
|
284 |
+
if ( is_array( $options[ 'email_addresses' ] ) ) {
|
285 |
+
$options[ 'email_addresses' ] = implode( ',', $options[ 'email_addresses' ] );
|
286 |
+
} else {
|
287 |
+
$options[ 'email_addresses' ] = array();
|
288 |
+
}
|
289 |
+
|
290 |
+
|
291 |
+
// Check automatic updates for fresh installation
|
292 |
+
if ( ! isset( $options[ 'automatic_updates' ] ) || 'unset' == $options[ 'automatic_updates' ] ) {
|
293 |
+
$options[ 'automatic_updates' ] = 'default';
|
294 |
+
}
|
295 |
+
|
296 |
+
// Add error to options for returning
|
297 |
+
if ( $email_errors ) {
|
298 |
+
$options[ 'errors' ] = true;
|
299 |
+
$options[ 'email_addresses' ] = $value;
|
300 |
+
}
|
301 |
+
return $options;
|
302 |
+
}
|
303 |
+
|
304 |
+
/**
|
305 |
+
* Get all core options
|
306 |
+
*
|
307 |
+
* @param array $data
|
308 |
+
*
|
309 |
+
* @return array - An array of core options
|
310 |
+
*/
|
311 |
+
public function get_options( $data ) {
|
312 |
+
// Get options
|
313 |
+
$options = MPSUM_Updates_Manager::get_options( 'core', true );
|
314 |
+
if ( empty( $options ) ) {
|
315 |
+
$options = MPSUM_Admin_Core::get_defaults();
|
316 |
+
}
|
317 |
+
|
318 |
+
// Set automatic updates defaults if none is selected
|
319 |
+
if ( ! isset( $options[ 'automatic_updates' ] ) || 'unset' === $options[ 'automatic_updates' ] ) {
|
320 |
+
|
321 |
+
// Check to see if automatic updates are on
|
322 |
+
// Prepare for mad conditionals
|
323 |
+
if ( 'off' == $options[ 'automatic_development_updates' ] && 'on' == $options[ 'automatic_major_updates' ] && 'on' == $options[ 'automatic_minor_updates' ] && 'on' == $options[ 'automatic_plugin_updates' ] && 'on' == $options[ 'automatic_theme_updates' ] && 'on' == $options[ 'automatic_translation_updates' ] ) {
|
324 |
+
$options[ 'automatic_updates' ] = 'on';
|
325 |
+
} elseif( 'off' == $options[ 'automatic_development_updates' ] && 'off' == $options[ 'automatic_major_updates' ] && 'off' == $options[ 'automatic_minor_updates' ] && 'off' == $options[ 'automatic_plugin_updates' ] && 'off' == $options[ 'automatic_theme_updates' ] && 'off' == $options[ 'automatic_translation_updates' ] ) {
|
326 |
+
$options[ 'automatic_updates' ] = 'off';
|
327 |
+
} elseif( 'off' == $options[ 'automatic_development_updates' ] && 'off' == $options[ 'automatic_major_updates' ] && 'on' == $options[ 'automatic_minor_updates' ] && 'default' == $options[ 'automatic_plugin_updates' ] && 'default' == $options[ 'automatic_theme_updates' ] && 'on' == $options[ 'automatic_translation_updates' ] ) {
|
328 |
+
$options[ 'automatic_updates' ] = 'default';
|
329 |
+
} else {
|
330 |
+
$options[ 'automatic_updates' ] = 'custom';
|
331 |
+
}
|
332 |
+
}
|
333 |
+
|
334 |
+
if ( ! is_array( $options[ 'email_addresses' ] ) ) {
|
335 |
+
$options[ 'email_addresses' ] = array();
|
336 |
+
}
|
337 |
+
$options[ 'email_addresses' ] = implode( ',', $options[ 'email_addresses' ] );
|
338 |
+
|
339 |
+
// return
|
340 |
+
return $options;
|
341 |
+
}
|
342 |
+
|
343 |
+
/**
|
344 |
+
* Checks for user permission
|
345 |
+
*
|
346 |
+
* @return bool - Returns true, if user has enough permissions else returns false
|
347 |
+
*/
|
348 |
+
public function permission_callback() {
|
349 |
+
if ( current_user_can( 'install_plugins' ) ) {
|
350 |
+
return true;
|
351 |
+
}
|
352 |
+
return false;
|
353 |
+
}
|
354 |
+
}
|
includes/MPSUM_Admin_Core.php
CHANGED
@@ -80,7 +80,6 @@ class MPSUM_Admin_Core {
|
|
80 |
'misc_wp_footer' => 'on',
|
81 |
'logs' => 'off',
|
82 |
'email_addresses' => array(),
|
83 |
-
'tracking_enabled' => 'off',
|
84 |
'automatic_updates' => 'unset',
|
85 |
) );
|
86 |
}
|
80 |
'misc_wp_footer' => 'on',
|
81 |
'logs' => 'off',
|
82 |
'email_addresses' => array(),
|
|
|
83 |
'automatic_updates' => 'unset',
|
84 |
) );
|
85 |
}
|
includes/MPSUM_Tracking.php
DELETED
@@ -1,67 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Tracks the data
|
4 |
-
*
|
5 |
-
* Tracks the data sent to keen.io.
|
6 |
-
*
|
7 |
-
* @since 6.4.0
|
8 |
-
*
|
9 |
-
* @package WordPress
|
10 |
-
*/
|
11 |
-
class MPSUM_Tracking {
|
12 |
-
|
13 |
-
/**
|
14 |
-
* Class constructor.
|
15 |
-
*
|
16 |
-
* Initialize the class
|
17 |
-
*
|
18 |
-
* @since 6.4.0
|
19 |
-
* @access public
|
20 |
-
*
|
21 |
-
* @param string $slug Slug to the admin panel page
|
22 |
-
*/
|
23 |
-
public function __construct( $slug = '' ) {
|
24 |
-
add_action( 'eum-monthly', array( $this, 'send' ) );
|
25 |
-
}
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
public static function enable_cron() {
|
30 |
-
wp_schedule_event( time() + HOUR_IN_SECONDS, 'eum-monthly', 'eum-monthly' );
|
31 |
-
}
|
32 |
-
|
33 |
-
public static function disable_cron() {
|
34 |
-
wp_clear_scheduled_hook( 'eum-monthly' );
|
35 |
-
}
|
36 |
-
|
37 |
-
public static function send() {
|
38 |
-
|
39 |
-
// Gather the options
|
40 |
-
$options = MPSUM_Updates_Manager::get_options( 'core', true );
|
41 |
-
if ( empty( $options ) ) return;
|
42 |
-
|
43 |
-
// Strip out info
|
44 |
-
unset( $options[ 'email_addresses' ] );
|
45 |
-
$options[ 'wordpress_version' ] = get_bloginfo('version');
|
46 |
-
$options[ 'php_version' ] = phpversion();
|
47 |
-
|
48 |
-
|
49 |
-
$bucket = $options;
|
50 |
-
|
51 |
-
$keen_url = 'https://api.keen.io/3.0/projects/592e7be03d5e1597cc43a83e/events/installs?api_key=7d2b3f5d7f45232c046805c5fb371657af9736a30eaa6b095de65013145980a4ce08deef6c5b1ce0242db46a2302f167046052443351a96f43786799fe0a6b39cee3a22eb675fb4194413b44b0ff7399a1c1c9bc7e3f8afaa8e4ccbdac3513e1';
|
52 |
-
|
53 |
-
$headers = array(
|
54 |
-
'Authorization' => 'FCD745F017F92994C88E6A3F3E6B704C81A754DFF6AFE5794C721374B413825B',
|
55 |
-
'Content-Type' => 'application/json',
|
56 |
-
);
|
57 |
-
$ch = curl_init();
|
58 |
-
curl_setopt($ch, CURLOPT_URL, $keen_url);
|
59 |
-
curl_setopt($ch, CURLOPT_HTTPGET, 1);
|
60 |
-
curl_setopt($ch, CURLOPT_HEADER, $headers );
|
61 |
-
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
|
62 |
-
'Content-Type: application/json',
|
63 |
-
) );
|
64 |
-
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode( $bucket ) );
|
65 |
-
curl_exec( $ch );
|
66 |
-
}
|
67 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/admin.js
CHANGED
@@ -1,9 +1,4511 @@
|
|
1 |
-
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=77)}([function(e,t,n){"use strict";e.exports=n(117)},function(e,t,n){e.exports={default:n(78),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(82),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){"use strict";t.__esModule=!0;var r=n(51),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,o.default)(t))&&"function"!=typeof t?e:t}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(110),a=r(o),i=n(114),u=r(i),l=n(51),s=r(l);t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,s.default)(t)));e.prototype=(0,u.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(a.default?(0,a.default)(e,t):e.__proto__=t)}},function(e,t,n){"use strict";function r(e,t){var n={method:"POST",url:mpsum.rest_url+"save/"+e+"/"+t,headers:{"X-WP-Nonce":mpsum.rest_nonce,id:e,value:t},json:!0},r=(0,a.default)(n);return{type:i,payload:r}}Object.defineProperty(t,"__esModule",{value:!0}),t.SAVE_OPTIONS=void 0,t.saveOptions=r;var o=n(39),a=function(e){return e&&e.__esModule?e:{default:e}}(o),i=t.SAVE_OPTIONS="SAVE_OPTIONS"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(164),o=n(73),a=n(171);n.d(t,"Provider",function(){return r.b}),n.d(t,"createProvider",function(){return r.a}),n.d(t,"connectAdvanced",function(){return o.a}),n.d(t,"connect",function(){return a.a})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),a=r(o),i=n(2),u=r(i),l=n(3),s=r(l),c=n(4),f=r(c),p=n(5),d=r(p),m=n(0),h=r(m),v=n(44),g=r(v),y=function(e){function t(e){return(0,u.default)(this,t),(0,f.default)(this,(t.__proto__||(0,a.default)(t)).call(this,e))}return(0,d.default)(t,e),(0,s.default)(t,[{key:"render",value:function(){return h.default.createElement("div",{className:"mpsum-spinner"},h.default.createElement("img",{src:this.props.src}))}}]),t}(m.Component);y.propTypes={src:g.default.string.isRequired},y.defaultProps={src:mpsum.spinner},t.default=y},function(e,t,n){"use strict";function r(e){return"[object Array]"===k.call(e)}function o(e){return"[object ArrayBuffer]"===k.call(e)}function a(e){return"undefined"!=typeof FormData&&e instanceof FormData}function i(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer}function u(e){return"string"==typeof e}function l(e){return"number"==typeof e}function s(e){return void 0===e}function c(e){return null!==e&&"object"==typeof e}function f(e){return"[object Date]"===k.call(e)}function p(e){return"[object File]"===k.call(e)}function d(e){return"[object Blob]"===k.call(e)}function m(e){return"[object Function]"===k.call(e)}function h(e){return c(e)&&m(e.pipe)}function v(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams}function g(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function y(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}function b(e,t){if(null!==e&&void 0!==e)if("object"!=typeof e&&(e=[e]),r(e))for(var n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.call(null,e[a],a,e)}function _(){function e(e,n){"object"==typeof t[n]&&"object"==typeof e?t[n]=_(t[n],e):t[n]=e}for(var t={},n=0,r=arguments.length;n<r;n++)b(arguments[n],e);return t}function w(e,t,n){return b(t,function(t,r){e[r]=n&&"function"==typeof t?C(t,n):t}),e}var C=n(61),E=n(129),k=Object.prototype.toString;e.exports={isArray:r,isArrayBuffer:o,isBuffer:E,isFormData:a,isArrayBufferView:i,isString:u,isNumber:l,isObject:c,isUndefined:s,isDate:f,isFile:p,isBlob:d,isFunction:m,isStream:h,isURLSearchParams:v,isStandardBrowserEnv:y,forEach:b,merge:_,extend:w,trim:g}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(20),o=n(49),a=n(28),i=Object.defineProperty;t.f=n(14)?Object.defineProperty:function(e,t,n){if(r(e),t=a(t,!0),r(n),o)try{return i(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports=!n(21)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(10),o=n(11),a=n(48),i=n(16),u=function(e,t,n){var l,s,c,f=e&u.F,p=e&u.G,d=e&u.S,m=e&u.P,h=e&u.B,v=e&u.W,g=p?o:o[t]||(o[t]={}),y=g.prototype,b=p?r:d?r[t]:(r[t]||{}).prototype;p&&(n=t);for(l in n)(s=!f&&b&&void 0!==b[l])&&l in g||(c=s?b[l]:n[l],g[l]=p&&"function"!=typeof b[l]?n[l]:h&&s?a(c,r):v&&b[l]==c?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(c):m&&"function"==typeof c?a(Function.call,c):c,m&&((g.virtual||(g.virtual={}))[l]=c,e&u.R&&y&&!y[l]&&i(y,l,c)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,t,n){var r=n(13),o=n(23);e.exports=n(14)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(91),o=n(25);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(27)("wks"),o=n(22),a=n(10).Symbol,i="function"==typeof a;(e.exports=function(e){return r[e]||(r[e]=i&&a[e]||(i?a:o)("Symbol."+e))}).store=r},function(e,t,n){var r=n(17);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(27)("keys"),o=n(22);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(10),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});e.exports=function(e){return o[e]||(o[e]={})}},function(e,t,n){var r=n(17);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=!0},function(e,t){e.exports={}},function(e,t,n){var r=n(20),o=n(90),a=n(34),i=n(26)("IE_PROTO"),u=function(){},l=function(){var e,t=n(50)("iframe"),r=a.length;for(t.style.display="none",n(95).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[a[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(u.prototype=r(e),n=new u,u.prototype=null,n[i]=e):n=l(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(54),o=n(34);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(13).f,o=n(12),a=n(19)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},function(e,t,n){t.f=n(19)},function(e,t,n){var r=n(10),o=n(11),a=n(30),i=n(36),u=n(13).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=a?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||u(t,e,{value:i.f(e)})}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){e.exports=n(128)},function(e,t,n){"use strict";(function(t){function r(e,t){!o.isUndefined(e)&&o.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var o=n(9),a=n(131),i={"Content-Type":"application/x-www-form-urlencoded"},u={adapter:function(){var e;return"undefined"!=typeof XMLHttpRequest?e=n(63):void 0!==t&&(e=n(63)),e}(),transformRequest:[function(e,t){return a(t,"Content-Type"),o.isFormData(e)||o.isArrayBuffer(e)||o.isBuffer(e)||o.isStream(e)||o.isFile(e)||o.isBlob(e)?e:o.isArrayBufferView(e)?e.buffer:o.isURLSearchParams(e)?(r(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):o.isObject(e)?(r(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],function(e){u.headers[e]={}}),o.forEach(["post","put","patch"],function(e){u.headers[e]=o.merge(i)}),e.exports=u}).call(t,n(62))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(67),o=n(158),a=n(159),i=n(160),u=n(70);n(69);n.d(t,"createStore",function(){return r.b}),n.d(t,"combineReducers",function(){return o.a}),n.d(t,"bindActionCreators",function(){return a.a}),n.d(t,"applyMiddleware",function(){return i.a}),n.d(t,"compose",function(){return u.a})},function(e,t,n){"use strict";function r(e){if(!Object(i.a)(e)||Object(o.a)(e)!=u)return!1;var t=Object(a.a)(e);if(null===t)return!0;var n=f.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==p}var o=n(146),a=n(151),i=n(153),u="[object Object]",l=Function.prototype,s=Object.prototype,c=l.toString,f=s.hasOwnProperty,p=c.call(Object);t.a=r},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){e.exports=n(165)()},function(e,t,n){"use strict";function r(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}t.a=r},function(e,t,n){var r=n(25);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(12),o=n(46),a=n(26)("IE_PROTO"),i=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?i:null}},function(e,t,n){var r=n(81);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){e.exports=!n(14)&&!n(21)(function(){return 7!=Object.defineProperty(n(50)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(17),o=n(10).document,a=r(o)&&r(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(85),a=r(o),i=n(100),u=r(i),l="function"==typeof u.default&&"symbol"==typeof a.default?function(e){return typeof e}:function(e){return e&&"function"==typeof u.default&&e.constructor===u.default&&e!==u.default.prototype?"symbol":typeof e};t.default="function"==typeof u.default&&"symbol"===l(a.default)?function(e){return void 0===e?"undefined":l(e)}:function(e){return e&&"function"==typeof u.default&&e.constructor===u.default&&e!==u.default.prototype?"symbol":void 0===e?"undefined":l(e)}},function(e,t,n){"use strict";var r=n(30),o=n(15),a=n(53),i=n(16),u=n(12),l=n(31),s=n(89),c=n(35),f=n(47),p=n(19)("iterator"),d=!([].keys&&"next"in[].keys()),m=function(){return this};e.exports=function(e,t,n,h,v,g,y){s(n,t,h);var b,_,w,C=function(e){if(!d&&e in N)return N[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},E=t+" Iterator",k="values"==v,O=!1,N=e.prototype,x=N[p]||N["@@iterator"]||v&&N[v],S=!d&&x||C(v),T=v?k?C("entries"):S:void 0,P="Array"==t?N.entries||x:x;if(P&&(w=f(P.call(new e)))!==Object.prototype&&w.next&&(c(w,E,!0),r||u(w,p)||i(w,p,m)),k&&x&&"values"!==x.name&&(O=!0,S=function(){return x.call(this)}),r&&!y||!d&&!O&&N[p]||i(N,p,S),l[t]=S,l[E]=m,v)if(b={values:k?S:C("values"),keys:g?S:C("keys"),entries:T},y)for(_ in b)_ in N||a(N,_,b[_]);else o(o.P+o.F*(d||O),t,b);return b}},function(e,t,n){e.exports=n(16)},function(e,t,n){var r=n(12),o=n(18),a=n(92)(!1),i=n(26)("IE_PROTO");e.exports=function(e,t){var n,u=o(e),l=0,s=[];for(n in u)n!=i&&r(u,n)&&s.push(n);for(;t.length>l;)r(u,n=t[l++])&&(~a(s,n)||s.push(n));return s}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(54),o=n(34).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(38),o=n(23),a=n(18),i=n(28),u=n(12),l=n(49),s=Object.getOwnPropertyDescriptor;t.f=n(14)?s:function(e,t){if(e=a(e),t=i(t,!0),l)try{return s(e,t)}catch(e){}if(u(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){"use strict";function r(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
object-assign
|
3 |
(c) Sindre Sorhus
|
4 |
@license MIT
|
5 |
*/
|
6 |
-
var o=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;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,l=r(e),s=1;s<arguments.length;s++){n=Object(arguments[s]);for(var c in n)a.call(n,c)&&(l[c]=n[c]);if(o){u=o(n);for(var f=0;f<u.length;f++)i.call(n,u[f])&&(l[u[f]]=n[u[f]])}}return l}},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function a(e){if(f===clearTimeout)return clearTimeout(e);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function i(){h&&d&&(h=!1,d.length?m=d.concat(m):v=-1,m.length&&u())}function u(){if(!h){var e=o(i);h=!0;for(var t=m.length;t;){for(d=m,m=[];++v<t;)d&&d[v].run();v=-1,t=m.length}d=null,h=!1,a(e)}}function l(e,t){this.fun=e,this.array=t}function s(){}var c,f,p=e.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:n}catch(e){c=n}try{f="function"==typeof clearTimeout?clearTimeout:r}catch(e){f=r}}();var d,m=[],h=!1,v=-1;p.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];m.push(new l(e,t)),1!==m.length||h||o(u)},l.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=s,p.addListener=s,p.once=s,p.off=s,p.removeListener=s,p.removeAllListeners=s,p.emit=s,p.prependListener=s,p.prependOnceListener=s,p.listeners=function(e){return[]},p.binding=function(e){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(e){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(e,t,n){"use strict";var r=n(9),o=n(132),a=n(134),i=n(135),u=n(136),l=n(64),s="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n(137);e.exports=function(e){return new Promise(function(t,c){var f=e.data,p=e.headers;r.isFormData(f)&&delete p["Content-Type"];var d=new XMLHttpRequest,m="onreadystatechange",h=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in d||u(e.url)||(d=new window.XDomainRequest,m="onload",h=!0,d.onprogress=function(){},d.ontimeout=function(){}),e.auth){var v=e.auth.username||"",g=e.auth.password||"";p.Authorization="Basic "+s(v+":"+g)}if(d.open(e.method.toUpperCase(),a(e.url,e.params,e.paramsSerializer),!0),d.timeout=e.timeout,d[m]=function(){if(d&&(4===d.readyState||h)&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in d?i(d.getAllResponseHeaders()):null,r=e.responseType&&"text"!==e.responseType?d.response:d.responseText,a={data:r,status:1223===d.status?204:d.status,statusText:1223===d.status?"No Content":d.statusText,headers:n,config:e,request:d};o(t,c,a),d=null}},d.onerror=function(){c(l("Network Error",e,null,d)),d=null},d.ontimeout=function(){c(l("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var y=n(138),b=(e.withCredentials||u(e.url))&&e.xsrfCookieName?y.read(e.xsrfCookieName):void 0;b&&(p[e.xsrfHeaderName]=b)}if("setRequestHeader"in d&&r.forEach(p,function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete p[t]:d.setRequestHeader(t,e)}),e.withCredentials&&(d.withCredentials=!0),e.responseType)try{d.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&d.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){d&&(d.abort(),c(e),d=null)}),void 0===f&&(f=null),d.send(f)})}},function(e,t,n){"use strict";var r=n(133);e.exports=function(e,t,n,o,a){var i=new Error(e);return r(i,t,n,o,a)}},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,n){"use strict";function r(e,t,n){function a(){g===v&&(g=v.slice())}function l(){return h}function s(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var t=!0;return a(),g.push(e),function(){if(t){t=!1,a();var n=g.indexOf(e);g.splice(n,1)}}}function c(e){if(!Object(o.a)(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(y)throw new Error("Reducers may not dispatch actions.");try{y=!0,h=m(h,e)}finally{y=!1}for(var t=v=g,n=0;n<t.length;n++){(0,t[n])()}return e}function f(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");m=e,c({type:u.INIT})}function p(){var e,t=s;return e={subscribe:function(e){function n(){e.next&&e.next(l())}if("object"!=typeof e)throw new TypeError("Expected the observer to be an object.");return n(),{unsubscribe:t(n)}}},e[i.a]=function(){return this},e}var d;if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(r)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var m=e,h=t,v=[],g=v,y=!1;return c({type:u.INIT}),d={dispatch:c,subscribe:s,getState:l,replaceReducer:f},d[i.a]=p,d}n.d(t,"a",function(){return u}),t.b=r;var o=n(42),a=n(154),i=n.n(a),u={INIT:"@@redux/INIT"}},function(e,t,n){"use strict";var r=n(147),o=r.a.Symbol;t.a=o},function(e,t,n){"use strict"},function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=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))}})}t.a=r},function(e,t,n){"use strict";function r(){var e={method:"GET",url:mpsum.rest_url+"get/",headers:{"X-WP-Nonce":mpsum.rest_nonce},json:!0},t=(0,a.default)(e);return{type:i,payload:t}}Object.defineProperty(t,"__esModule",{value:!0}),t.FETCH_OPTIONS=void 0,t.getOptions=r;var o=n(39),a=function(e){return e&&e.__esModule?e:{default:e}}(o),i=t.FETCH_OPTIONS="FETCH_OPTIONS"},function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"a",function(){return i});var r=n(44),o=n.n(r),a=o.a.shape({trySubscribe:o.a.func.isRequired,tryUnsubscribe:o.a.func.isRequired,notifyNestedSubs:o.a.func.isRequired,isSubscribed:o.a.func.isRequired}),i=o.a.shape({subscribe:o.a.func.isRequired,dispatch:o.a.func.isRequired,getState:o.a.func.isRequired})},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function u(){}function l(e,t){var n={run:function(r){try{var o=e(t.getState(),r);(o!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=o,n.error=null)}catch(e){n.shouldComponentUpdate=!0,n.error=e}}};return n}function s(e){var t,n,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=s.getDisplayName,p=void 0===c?function(e){return"ConnectAdvanced("+e+")"}:c,_=s.methodName,w=void 0===_?"connectAdvanced":_,C=s.renderCountProp,E=void 0===C?void 0:C,k=s.shouldHandleStateChanges,O=void 0===k||k,N=s.storeKey,x=void 0===N?"store":N,S=s.withRef,T=void 0!==S&&S,P=i(s,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),I=x+"Subscription",j=y++,M=(t={},t[x]=v.a,t[I]=v.b,t),R=(n={},n[I]=v.b,n);return function(t){d()("function"==typeof t,"You must pass a component to the function returned by connect. Instead received "+JSON.stringify(t));var n=t.displayName||t.name||"Component",i=p(n),s=g({},P,{getDisplayName:p,methodName:w,renderCountProp:E,shouldHandleStateChanges:O,storeKey:x,withRef:T,displayName:i,wrappedComponentName:n,WrappedComponent:t}),c=function(n){function c(e,t){r(this,c);var a=o(this,n.call(this,e,t));return a.version=j,a.state={},a.renderCount=0,a.store=e[x]||t[x],a.propsMode=Boolean(e[x]),a.setWrappedInstance=a.setWrappedInstance.bind(a),d()(a.store,'Could not find "'+x+'" in either the context or props of "'+i+'". Either wrap the root component in a <Provider>, or explicitly pass "'+x+'" as a prop to "'+i+'".'),a.initSelector(),a.initSubscription(),a}return a(c,n),c.prototype.getChildContext=function(){var e,t=this.propsMode?null:this.subscription;return e={},e[I]=t||this.context[I],e},c.prototype.componentDidMount=function(){O&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},c.prototype.componentWillReceiveProps=function(e){this.selector.run(e)},c.prototype.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},c.prototype.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=u,this.store=null,this.selector.run=u,this.selector.shouldComponentUpdate=!1},c.prototype.getWrappedInstance=function(){return d()(T,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+w+"() call."),this.wrappedInstance},c.prototype.setWrappedInstance=function(e){this.wrappedInstance=e},c.prototype.initSelector=function(){var t=e(this.store.dispatch,s);this.selector=l(t,this.store),this.selector.run(this.props)},c.prototype.initSubscription=function(){if(O){var e=(this.propsMode?this.props:this.context)[I];this.subscription=new h.a(this.store,e,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},c.prototype.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(b)):this.notifyNestedSubs()},c.prototype.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},c.prototype.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},c.prototype.addExtraProps=function(e){if(!(T||E||this.propsMode&&this.subscription))return e;var t=g({},e);return T&&(t.ref=this.setWrappedInstance),E&&(t[E]=this.renderCount++),this.propsMode&&this.subscription&&(t[I]=this.subscription),t},c.prototype.render=function(){var e=this.selector;if(e.shouldComponentUpdate=!1,e.error)throw e.error;return Object(m.createElement)(t,this.addExtraProps(e.props))},c}(m.Component);return c.WrappedComponent=t,c.displayName=i,c.childContextTypes=R,c.contextTypes=M,c.propTypes=M,f()(c,t)}}t.a=s;var c=n(168),f=n.n(c),p=n(169),d=n.n(p),m=n(0),h=(n.n(m),n(170)),v=n(72),g=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},y=0,b={}},function(e,t,n){"use strict";function r(e){return function(t,n){function r(){return o}var o=e(t,n);return r.dependsOnOwnProps=!1,r}}function o(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function a(e,t){return function(t,n){var r=(n.displayName,function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)});return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=o(e);var a=r(t,n);return"function"==typeof a&&(r.mapToProps=a,r.dependsOnOwnProps=o(a),a=r(t,n)),a},r}}t.a=r,t.b=a;n(75)},function(e,t,n){"use strict";n(42),n(45)},function(e,t){function n(e){return o(e)&&m.call(e,"callee")&&(!v.call(e,"callee")||h.call(e)==c)}function r(e){return null!=e&&i(e.length)&&!a(e)}function o(e){return l(e)&&r(e)}function a(e){var t=u(e)?h.call(e):"";return t==f||t==p}function i(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=s}function u(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function l(e){return!!e&&"object"==typeof e}var s=9007199254740991,c="[object Arguments]",f="[object Function]",p="[object GeneratorFunction]",d=Object.prototype,m=d.hasOwnProperty,h=d.toString,v=d.propertyIsEnumerable;e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var o=n(1),a=r(o),i=n(2),u=r(i),l=n(3),s=r(l),c=n(4),f=r(c),p=n(5),d=r(p),m=n(0),h=r(m),v=n(118),g=r(v),y=n(39),b=(r(y),n(41)),_=n(161),w=r(_),C=n(163),E=r(C),k=n(194),O=r(k),N=n(7);n(200);var x=(0,b.applyMiddleware)(O.default)(b.createStore),S=function(e){function t(){return(0,u.default)(this,t),(0,f.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,d.default)(t,e),(0,s.default)(t,[{key:"render",value:function(){return h.default.createElement(m.Fragment,null,h.default.createElement(E.default,null))}}]),t}(m.Component),T=document.querySelector(".eum-dashboard-app");null!==T&&g.default.render(h.default.createElement(N.Provider,{store:x(w.default)},h.default.createElement(S,null)),T)},function(e,t,n){n(79),e.exports=n(11).Object.getPrototypeOf},function(e,t,n){var r=n(46),o=n(47);n(80)("getPrototypeOf",function(){return function(e){return o(r(e))}})},function(e,t,n){var r=n(15),o=n(11),a=n(21);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],i={};i[e]=t(n),r(r.S+r.F*a(function(){n(1)}),"Object",i)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){e.exports={default:n(83),__esModule:!0}},function(e,t,n){n(84);var r=n(11).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(15);r(r.S+r.F*!n(14),"Object",{defineProperty:n(13).f})},function(e,t,n){e.exports={default:n(86),__esModule:!0}},function(e,t,n){n(87),n(96),e.exports=n(36).f("iterator")},function(e,t,n){"use strict";var r=n(88)(!0);n(52)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){var r=n(29),o=n(25);e.exports=function(e){return function(t,n){var a,i,u=String(o(t)),l=r(n),s=u.length;return l<0||l>=s?e?"":void 0:(a=u.charCodeAt(l),a<55296||a>56319||l+1===s||(i=u.charCodeAt(l+1))<56320||i>57343?e?u.charAt(l):a:e?u.slice(l,l+2):i-56320+(a-55296<<10)+65536)}}},function(e,t,n){"use strict";var r=n(32),o=n(23),a=n(35),i={};n(16)(i,n(19)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(i,{next:o(1,n)}),a(e,t+" Iterator")}},function(e,t,n){var r=n(13),o=n(20),a=n(33);e.exports=n(14)?Object.defineProperties:function(e,t){o(e);for(var n,i=a(t),u=i.length,l=0;u>l;)r.f(e,n=i[l++],t[n]);return e}},function(e,t,n){var r=n(55);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(18),o=n(93),a=n(94);e.exports=function(e){return function(t,n,i){var u,l=r(t),s=o(l.length),c=a(i,s);if(e&&n!=n){for(;s>c;)if((u=l[c++])!=u)return!0}else for(;s>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(29),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(29),o=Math.max,a=Math.min;e.exports=function(e,t){return e=r(e),e<0?o(e+t,0):a(e,t)}},function(e,t,n){var r=n(10).document;e.exports=r&&r.documentElement},function(e,t,n){n(97);for(var r=n(10),o=n(16),a=n(31),i=n(19)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<u.length;l++){var s=u[l],c=r[s],f=c&&c.prototype;f&&!f[i]&&o(f,i,s),a[s]=a.Array}},function(e,t,n){"use strict";var r=n(98),o=n(99),a=n(31),i=n(18);e.exports=n(52)(Array,"Array",function(e,t){this._t=i(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,n):"values"==t?o(0,e[n]):o(0,[n,e[n]])},"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){e.exports={default:n(101),__esModule:!0}},function(e,t,n){n(102),n(107),n(108),n(109),e.exports=n(11).Symbol},function(e,t,n){"use strict";var r=n(10),o=n(12),a=n(14),i=n(15),u=n(53),l=n(103).KEY,s=n(21),c=n(27),f=n(35),p=n(22),d=n(19),m=n(36),h=n(37),v=n(104),g=n(105),y=n(20),b=n(17),_=n(18),w=n(28),C=n(23),E=n(32),k=n(106),O=n(58),N=n(13),x=n(33),S=O.f,T=N.f,P=k.f,I=r.Symbol,j=r.JSON,M=j&&j.stringify,R=d("_hidden"),A=d("toPrimitive"),D={}.propertyIsEnumerable,F=c("symbol-registry"),L=c("symbols"),U=c("op-symbols"),B=Object.prototype,H="function"==typeof I,z=r.QObject,V=!z||!z.prototype||!z.prototype.findChild,W=a&&s(function(){return 7!=E(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=S(B,t);r&&delete B[t],T(e,t,n),r&&e!==B&&T(B,t,r)}:T,q=function(e){var t=L[e]=E(I.prototype);return t._k=e,t},K=H&&"symbol"==typeof I.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof I},$=function(e,t,n){return e===B&&$(U,t,n),y(e),t=w(t,!0),y(n),o(L,t)?(n.enumerable?(o(e,R)&&e[R][t]&&(e[R][t]=!1),n=E(n,{enumerable:C(0,!1)})):(o(e,R)||T(e,R,C(1,{})),e[R][t]=!0),W(e,t,n)):T(e,t,n)},G=function(e,t){y(e);for(var n,r=v(t=_(t)),o=0,a=r.length;a>o;)$(e,n=r[o++],t[n]);return e},Q=function(e,t){return void 0===t?E(e):G(E(e),t)},X=function(e){var t=D.call(this,e=w(e,!0));return!(this===B&&o(L,e)&&!o(U,e))&&(!(t||!o(this,e)||!o(L,e)||o(this,R)&&this[R][e])||t)},Y=function(e,t){if(e=_(e),t=w(t,!0),e!==B||!o(L,t)||o(U,t)){var n=S(e,t);return!n||!o(L,t)||o(e,R)&&e[R][t]||(n.enumerable=!0),n}},J=function(e){for(var t,n=P(_(e)),r=[],a=0;n.length>a;)o(L,t=n[a++])||t==R||t==l||r.push(t);return r},Z=function(e){for(var t,n=e===B,r=P(n?U:_(e)),a=[],i=0;r.length>i;)!o(L,t=r[i++])||n&&!o(B,t)||a.push(L[t]);return a};H||(I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===B&&t.call(U,n),o(this,R)&&o(this[R],e)&&(this[R][e]=!1),W(this,e,C(1,n))};return a&&V&&W(B,e,{configurable:!0,set:t}),q(e)},u(I.prototype,"toString",function(){return this._k}),O.f=Y,N.f=$,n(57).f=k.f=J,n(38).f=X,n(56).f=Z,a&&!n(30)&&u(B,"propertyIsEnumerable",X,!0),m.f=function(e){return q(d(e))}),i(i.G+i.W+i.F*!H,{Symbol:I});for(var ee="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),te=0;ee.length>te;)d(ee[te++]);for(var ne=x(d.store),re=0;ne.length>re;)h(ne[re++]);i(i.S+i.F*!H,"Symbol",{for:function(e){return o(F,e+="")?F[e]:F[e]=I(e)},keyFor:function(e){if(!K(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){V=!0},useSimple:function(){V=!1}}),i(i.S+i.F*!H,"Object",{create:Q,defineProperty:$,defineProperties:G,getOwnPropertyDescriptor:Y,getOwnPropertyNames:J,getOwnPropertySymbols:Z}),j&&i(i.S+i.F*(!H||s(function(){var e=I();return"[null]"!=M([e])||"{}"!=M({a:e})||"{}"!=M(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!K(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!K(t))return t}),r[1]=t,M.apply(j,r)}}),I.prototype[A]||n(16)(I.prototype,A,I.prototype.valueOf),f(I,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){var r=n(22)("meta"),o=n(17),a=n(12),i=n(13).f,u=0,l=Object.isExtensible||function(){return!0},s=!n(21)(function(){return l(Object.preventExtensions({}))}),c=function(e){i(e,r,{value:{i:"O"+ ++u,w:{}}})},f=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[r].i},p=function(e,t){if(!a(e,r)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[r].w},d=function(e){return s&&m.NEED&&l(e)&&!a(e,r)&&c(e),e},m=e.exports={KEY:r,NEED:!1,fastKey:f,getWeak:p,onFreeze:d}},function(e,t,n){var r=n(33),o=n(56),a=n(38);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var i,u=n(e),l=a.f,s=0;u.length>s;)l.call(e,i=u[s++])&&t.push(i);return t}},function(e,t,n){var r=n(55);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(18),o=n(57).f,a={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(e){try{return o(e)}catch(e){return i.slice()}};e.exports.f=function(e){return i&&"[object Window]"==a.call(e)?u(e):o(r(e))}},function(e,t){},function(e,t,n){n(37)("asyncIterator")},function(e,t,n){n(37)("observable")},function(e,t,n){e.exports={default:n(111),__esModule:!0}},function(e,t,n){n(112),e.exports=n(11).Object.setPrototypeOf},function(e,t,n){var r=n(15);r(r.S,"Object",{setPrototypeOf:n(113).set})},function(e,t,n){var r=n(17),o=n(20),a=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n(48)(Function.call,n(58).f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return a(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:a}},function(e,t,n){e.exports={default:n(115),__esModule:!0}},function(e,t,n){n(116);var r=n(11).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){var r=n(15);r(r.S,"Object",{create:n(32)})},function(e,t,n){"use strict";function r(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);throw t=Error(n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."),t.name="Invariant Violation",t.framesToPop=1,t}function o(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||S}function a(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||S}function i(){}function u(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||S}function l(e,t,n){var r,o={},a=null,i=null;if(null!=t)for(r in void 0!==t.ref&&(i=t.ref),void 0!==t.key&&(a=""+t.key),t)j.call(t,r)&&!M.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){for(var l=Array(u),s=0;s<u;s++)l[s]=arguments[s+2];o.children=l}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===o[r]&&(o[r]=u[r]);return{$$typeof:C,type:e,key:a,ref:i,props:o,_owner:I.current}}function s(e){return"object"==typeof e&&null!==e&&e.$$typeof===C}function c(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}function f(e,t,n,r){if(A.length){var o=A.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 p(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>A.length&&A.push(e)}function d(e,t,n,o){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var i=!1;if(null===e)i=!0;else switch(a){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case C:case E:case k:case O:i=!0}}if(i)return n(o,e,""===t?"."+m(e,0):t),1;if(i=0,t=""===t?".":t+":",Array.isArray(e))for(var u=0;u<e.length;u++){a=e[u];var l=t+m(a,u);i+=d(a,l,n,o)}else if(null===e||void 0===e?l=null:(l=x&&e[x]||e["@@iterator"],l="function"==typeof l?l:null),"function"==typeof l)for(e=l.call(e),u=0;!(a=e.next()).done;)a=a.value,l=t+m(a,u++),i+=d(a,l,n,o);else"object"===a&&(n=""+e,r("31","[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return i}function m(e,t){return"object"==typeof e&&null!==e&&null!=e.key?c(e.key):t.toString(36)}function h(e,t){e.func.call(e.context,t,e.count++)}function v(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?g(e,r,n,_.thatReturnsArgument):null!=e&&(s(e)&&(t=o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(R,"$&/")+"/")+n,e={$$typeof:C,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}),r.push(e))}function g(e,t,n,r,o){var a="";null!=n&&(a=(""+n).replace(R,"$&/")+"/"),t=f(t,a,r,o),null==e||d(e,"",v,t),p(t)}/** @license React v16.2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
* react.production.min.js
|
8 |
*
|
9 |
* Copyright (c) 2013-present, Facebook, Inc.
|
@@ -11,7 +4513,72 @@ var o=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.pr
|
|
11 |
* This source code is licensed under the MIT license found in the
|
12 |
* LICENSE file in the root directory of this source tree.
|
13 |
*/
|
14 |
-
var y=n(59),b=n(60),_=n(24),w="function"==typeof Symbol&&Symbol.for,C=w?Symbol.for("react.element"):60103,E=w?Symbol.for("react.call"):60104,k=w?Symbol.for("react.return"):60105,O=w?Symbol.for("react.portal"):60106,N=w?Symbol.for("react.fragment"):60107,x="function"==typeof Symbol&&Symbol.iterator,S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};o.prototype.isReactComponent={},o.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&r("85"),this.updater.enqueueSetState(this,e,t,"setState")},o.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},i.prototype=o.prototype;var T=a.prototype=new i;T.constructor=a,y(T,o.prototype),T.isPureReactComponent=!0;var P=u.prototype=new i;P.constructor=u,y(P,o.prototype),P.unstable_isAsyncReactComponent=!0,P.render=function(){return this.props.children};var I={current:null},j=Object.prototype.hasOwnProperty,M={key:!0,ref:!0,__self:!0,__source:!0},R=/\/+/g,A=[],D={Children:{map:function(e,t,n){if(null==e)return e;var r=[];return g(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;t=f(null,null,t,n),null==e||d(e,"",h,t),p(t)},count:function(e){return null==e?0:d(e,"",_.thatReturnsNull,null)},toArray:function(e){var t=[];return g(e,t,null,_.thatReturnsArgument),t},only:function(e){return s(e)||r("143"),e}},Component:o,PureComponent:a,unstable_AsyncComponent:u,Fragment:N,createElement:l,cloneElement:function(e,t,n){var r=y({},e.props),o=e.key,a=e.ref,i=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,i=I.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(l in t)j.call(t,l)&&!M.hasOwnProperty(l)&&(r[l]=void 0===t[l]&&void 0!==u?u[l]:t[l])}var l=arguments.length-2;if(1===l)r.children=n;else if(1<l){u=Array(l);for(var s=0;s<l;s++)u[s]=arguments[s+2];r.children=u}return{$$typeof:C,type:e.type,key:o,ref:a,props:r,_owner:i}},createFactory:function(e){var t=l.bind(null,e);return t.type=e,t},isValidElement:s,version:"16.2.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:I,assign:y}},F=Object.freeze({default:D}),L=F&&D||F;e.exports=L.default?L.default:L},function(e,t,n){"use strict";function r(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(e){console.error(e)}}r(),e.exports=n(119)},function(e,t,n){"use strict";function r(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);throw t=Error(n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."),t.name="Invariant Violation",t.framesToPop=1,t}function o(e,t){return(e&t)===t}function a(e,t){if(Tn.hasOwnProperty(e)||2<e.length&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1]))return!1;if(null===t)return!0;switch(typeof t){case"boolean":return Tn.hasOwnProperty(e)?e=!0:(t=i(e))?e=t.hasBooleanValue||t.hasStringBooleanValue||t.hasOverloadedBooleanValue:(e=e.toLowerCase().slice(0,5),e="data-"===e||"aria-"===e),e;case"undefined":case"number":case"string":case"object":return!0;default:return!1}}function i(e){return In.hasOwnProperty(e)?In[e]:null}function u(e){return e[1].toUpperCase()}function l(e,t,n,r,o,a,i,u,l){Wn._hasCaughtError=!1,Wn._caughtError=null;var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(e){Wn._caughtError=e,Wn._hasCaughtError=!0}}function s(){if(Wn._hasRethrowError){var e=Wn._rethrowError;throw Wn._rethrowError=null,Wn._hasRethrowError=!1,e}}function c(){if(qn)for(var e in Kn){var t=Kn[e],n=qn.indexOf(e);if(-1<n||r("96",e),!$n[n]){t.extractEvents||r("97",e),$n[n]=t,n=t.eventTypes;for(var o in n){var a=void 0,i=n[o],u=t,l=o;Gn.hasOwnProperty(l)&&r("99",l),Gn[l]=i;var s=i.phasedRegistrationNames;if(s){for(a in s)s.hasOwnProperty(a)&&f(s[a],u,l);a=!0}else i.registrationName?(f(i.registrationName,u,l),a=!0):a=!1;a||r("98",o,e)}}}}function f(e,t,n){Qn[e]&&r("100",e),Qn[e]=t,Xn[e]=t.eventTypes[n].dependencies}function p(e){qn&&r("101"),qn=Array.prototype.slice.call(e),c()}function d(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var o=e[t];Kn.hasOwnProperty(t)&&Kn[t]===o||(Kn[t]&&r("102",t),Kn[t]=o,n=!0)}n&&c()}function m(e,t,n,r){t=e.type||"unknown-event",e.currentTarget=er(r),Wn.invokeGuardedCallbackAndCatchFirstError(t,n,void 0,e),e.currentTarget=null}function h(e,t){return null==t&&r("30"),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 v(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}function g(e,t){if(e){var n=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(n))for(var o=0;o<n.length&&!e.isPropagationStopped();o++)m(e,t,n[o],r[o]);else n&&m(e,t,n,r);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function y(e){return g(e,!0)}function b(e){return g(e,!1)}function _(e,t){var n=e.stateNode;if(!n)return null;var o=Jn(n);if(!o)return null;n=o[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(o=!o.disabled)||(e=e.type,o=!("button"===e||"input"===e||"select"===e||"textarea"===e)),e=!o;break e;default:e=!1}return e?null:(n&&"function"!=typeof n&&r("231",t,typeof n),n)}function w(e,t,n,r){for(var o,a=0;a<$n.length;a++){var i=$n[a];i&&(i=i.extractEvents(e,t,n,r))&&(o=h(o,i))}return o}function C(e){e&&(tr=h(tr,e))}function E(e){var t=tr;tr=null,t&&(e?v(t,y):v(t,b),tr&&r("95"),Wn.rethrowCaughtError())}function k(e){if(e[ar])return e[ar];for(var t=[];!e[ar];){if(t.push(e),!e.parentNode)return null;e=e.parentNode}var n=void 0,r=e[ar];if(5===r.tag||6===r.tag)return r;for(;e&&(r=e[ar]);e=t.pop())n=r;return n}function O(e){if(5===e.tag||6===e.tag)return e.stateNode;r("33")}function N(e){return e[ir]||null}function x(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function S(e,t,n){for(var r=[];e;)r.push(e),e=x(e);for(e=r.length;0<e--;)t(r[e],"captured",n);for(e=0;e<r.length;e++)t(r[e],"bubbled",n)}function T(e,t,n){(t=_(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=h(n._dispatchListeners,t),n._dispatchInstances=h(n._dispatchInstances,e))}function P(e){e&&e.dispatchConfig.phasedRegistrationNames&&S(e._targetInst,T,e)}function I(e){if(e&&e.dispatchConfig.phasedRegistrationNames){var t=e._targetInst;t=t?x(t):null,S(t,T,e)}}function j(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=_(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=h(n._dispatchListeners,t),n._dispatchInstances=h(n._dispatchInstances,e))}function M(e){e&&e.dispatchConfig.registrationName&&j(e._targetInst,null,e)}function R(e){v(e,P)}function A(e,t,n,r){if(n&&r)e:{for(var o=n,a=r,i=0,u=o;u;u=x(u))i++;u=0;for(var l=a;l;l=x(l))u++;for(;0<i-u;)o=x(o),i--;for(;0<u-i;)a=x(a),u--;for(;i--;){if(o===a||o===a.alternate)break e;o=x(o),a=x(a)}o=null}else o=null;for(a=o,o=[];n&&n!==a&&(null===(i=n.alternate)||i!==a);)o.push(n),n=x(n);for(n=[];r&&r!==a&&(null===(i=r.alternate)||i!==a);)n.push(r),r=x(r);for(r=0;r<o.length;r++)j(o[r],"bubbled",e);for(e=n.length;0<e--;)j(n[e],"captured",t)}function D(){return!sr&&_n.canUseDOM&&(sr="textContent"in document.documentElement?"textContent":"innerText"),sr}function F(){if(cr._fallbackText)return cr._fallbackText;var e,t,n=cr._startText,r=n.length,o=L(),a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return cr._fallbackText=o.slice(e,1<t?1-t:void 0),cr._fallbackText}function L(){return"value"in cr._root?cr._root.value:cr._root[D()]}function U(e,t,n,r){this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface;for(var o in e)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)?Cn.thatReturnsTrue:Cn.thatReturnsFalse,this.isPropagationStopped=Cn.thatReturnsFalse,this}function B(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 H(e){e instanceof this||r("223"),e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function z(e){e.eventPool=[],e.getPooled=B,e.release=H}function V(e,t,n,r){return U.call(this,e,t,n,r)}function W(e,t,n,r){return U.call(this,e,t,n,r)}function q(e,t){switch(e){case"topKeyUp":return-1!==dr.indexOf(t.keyCode);case"topKeyDown":return 229!==t.keyCode;case"topKeyPress":case"topMouseDown":case"topBlur":return!0;default:return!1}}function K(e){return e=e.detail,"object"==typeof e&&"data"in e?e.data:null}function $(e,t){switch(e){case"topCompositionEnd":return K(t);case"topKeyPress":return 32!==t.which?null:(Er=!0,wr);case"topTextInput":return e=t.data,e===wr&&Er?null:e;default:return null}}function G(e,t){if(kr)return"topCompositionEnd"===e||!mr&&q(e,t)?(e=F(),cr._root=null,cr._startText=null,cr._fallbackText=null,kr=!1,e):null;switch(e){case"topPaste":return null;case"topKeyPress":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"topCompositionEnd":return _r?null:t.data;default:return null}}function Q(e){if(e=Zn(e)){Nr&&"function"==typeof Nr.restoreControlledState||r("194");var t=Jn(e.stateNode);Nr.restoreControlledState(e.stateNode,e.type,t)}}function X(e){xr?Sr?Sr.push(e):Sr=[e]:xr=e}function Y(){if(xr){var e=xr,t=Sr;if(Sr=xr=null,Q(e),t)for(e=0;e<t.length;e++)Q(t[e])}}function J(e,t){return e(t)}function Z(e,t){if(Ir)return J(e,t);Ir=!0;try{return J(e,t)}finally{Ir=!1,Y()}}function ee(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!jr[e.type]:"textarea"===t}function te(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function ne(e,t){if(!_n.canUseDOM||t&&!("addEventListener"in document))return!1;t="on"+e;var n=t in document;return n||(n=document.createElement("div"),n.setAttribute(t,"return;"),n="function"==typeof n[t]),!n&&yr&&"wheel"===e&&(n=document.implementation.hasFeature("Events.wheel","3.0")),n}function re(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function oe(e){var t=re(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"function"==typeof n.get&&"function"==typeof n.set)return Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:!0,get:function(){return n.get.call(this)},set:function(e){r=""+e,n.set.call(this,e)}}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}function ae(e){e._valueTracker||(e._valueTracker=oe(e))}function ie(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=re(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function ue(e,t,n){return e=U.getPooled(Mr.change,e,t,n),e.type="change",X(n),R(e),e}function le(e){C(e),E(!1)}function se(e){if(ie(O(e)))return e}function ce(e,t){if("topChange"===e)return t}function fe(){Rr&&(Rr.detachEvent("onpropertychange",pe),Ar=Rr=null)}function pe(e){"value"===e.propertyName&&se(Ar)&&(e=ue(Ar,e,te(e)),Z(le,e))}function de(e,t,n){"topFocus"===e?(fe(),Rr=t,Ar=n,Rr.attachEvent("onpropertychange",pe)):"topBlur"===e&&fe()}function me(e){if("topSelectionChange"===e||"topKeyUp"===e||"topKeyDown"===e)return se(Ar)}function he(e,t){if("topClick"===e)return se(t)}function ve(e,t){if("topInput"===e||"topChange"===e)return se(t)}function ge(e,t,n,r){return U.call(this,e,t,n,r)}function ye(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Lr[e])&&!!t[e]}function be(){return ye}function _e(e,t,n,r){return U.call(this,e,t,n,r)}function we(e){return e=e.type,"string"==typeof e?e:"function"==typeof e?e.displayName||e.name:null}function Ce(e){var t=e;if(e.alternate)for(;t.return;)t=t.return;else{if(0!=(2&t.effectTag))return 1;for(;t.return;)if(t=t.return,0!=(2&t.effectTag))return 1}return 3===t.tag?2:3}function Ee(e){return!!(e=e._reactInternalFiber)&&2===Ce(e)}function ke(e){2!==Ce(e)&&r("188")}function Oe(e){var t=e.alternate;if(!t)return t=Ce(e),3===t&&r("188"),1===t?null:e;for(var n=e,o=t;;){var a=n.return,i=a?a.alternate:null;if(!a||!i)break;if(a.child===i.child){for(var u=a.child;u;){if(u===n)return ke(a),e;if(u===o)return ke(a),t;u=u.sibling}r("188")}if(n.return!==o.return)n=a,o=i;else{u=!1;for(var l=a.child;l;){if(l===n){u=!0,n=a,o=i;break}if(l===o){u=!0,o=a,n=i;break}l=l.sibling}if(!u){for(l=i.child;l;){if(l===n){u=!0,n=i,o=a;break}if(l===o){u=!0,o=i,n=a;break}l=l.sibling}u||r("189")}}n.alternate!==o&&r("190")}return 3!==n.tag&&r("188"),n.stateNode.current===n?e:t}function Ne(e){if(!(e=Oe(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 xe(e){if(!(e=Oe(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child&&4!==t.tag)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 Se(e){var t=e.targetInst;do{if(!t){e.ancestors.push(t);break}var n;for(n=t;n.return;)n=n.return;if(!(n=3!==n.tag?null:n.stateNode.containerInfo))break;e.ancestors.push(t),t=k(n)}while(t);for(n=0;n<e.ancestors.length;n++)t=e.ancestors[n],Wr(e.topLevelType,t,e.nativeEvent,te(e.nativeEvent))}function Te(e){Vr=!!e}function Pe(e,t,n){return n?En.listen(n,t,je.bind(null,e)):null}function Ie(e,t,n){return n?En.capture(n,t,je.bind(null,e)):null}function je(e,t){if(Vr){var n=te(t);if(n=k(n),null===n||"number"!=typeof n.tag||2===Ce(n)||(n=null),zr.length){var r=zr.pop();r.topLevelType=e,r.nativeEvent=t,r.targetInst=n,e=r}else e={topLevelType:e,nativeEvent:t,targetInst:n,ancestors:[]};try{Z(Se,e)}finally{e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>zr.length&&zr.push(e)}}}function Me(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}function Re(e){if($r[e])return $r[e];if(!Kr[e])return e;var t,n=Kr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Gr)return $r[e]=n[t];return""}function Ae(e){return Object.prototype.hasOwnProperty.call(e,Jr)||(e[Jr]=Yr++,Xr[e[Jr]]={}),Xr[e[Jr]]}function De(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Fe(e,t){var n=De(e);e=0;for(var r;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=De(n)}}function Le(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&"text"===e.type||"textarea"===t||"true"===e.contentEditable)}function Ue(e,t){if(oo||null==to||to!==kn())return null;var n=to;return"selectionStart"in n&&Le(n)?n={start:n.selectionStart,end:n.selectionEnd}:window.getSelection?(n=window.getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}):n=void 0,ro&&On(ro,n)?null:(ro=n,e=U.getPooled(eo.select,no,e,t),e.type="select",e.target=to,R(e),e)}function Be(e,t,n,r){return U.call(this,e,t,n,r)}function He(e,t,n,r){return U.call(this,e,t,n,r)}function ze(e,t,n,r){return U.call(this,e,t,n,r)}function Ve(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,32<=e||13===e?e:0}function We(e,t,n,r){return U.call(this,e,t,n,r)}function qe(e,t,n,r){return U.call(this,e,t,n,r)}function Ke(e,t,n,r){return U.call(this,e,t,n,r)}function $e(e,t,n,r){return U.call(this,e,t,n,r)}function Ge(e,t,n,r){return U.call(this,e,t,n,r)}function Qe(e){0>po||(e.current=fo[po],fo[po]=null,po--)}function Xe(e,t){po++,fo[po]=e.current,e.current=t}function Ye(e){return Ze(e)?vo:mo.current}function Je(e,t){var n=e.type.contextTypes;if(!n)return Sn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Ze(e){return 2===e.tag&&null!=e.type.childContextTypes}function et(e){Ze(e)&&(Qe(ho,e),Qe(mo,e))}function tt(e,t,n){null!=mo.cursor&&r("168"),Xe(mo,t,e),Xe(ho,n,e)}function nt(e,t){var n=e.stateNode,o=e.type.childContextTypes;if("function"!=typeof n.getChildContext)return t;n=n.getChildContext();for(var a in n)a in o||r("108",we(e)||"Unknown",a);return wn({},t,n)}function rt(e){if(!Ze(e))return!1;var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||Sn,vo=mo.current,Xe(mo,t,e),Xe(ho,ho.current,e),!0}function ot(e,t){var n=e.stateNode;if(n||r("169"),t){var o=nt(e,vo);n.__reactInternalMemoizedMergedChildContext=o,Qe(ho,e),Qe(mo,e),Xe(mo,o,e)}else Qe(ho,e);Xe(ho,t,e)}function at(e,t,n){this.tag=e,this.key=t,this.stateNode=this.type=null,this.sibling=this.child=this.return=null,this.index=0,this.memoizedState=this.updateQueue=this.memoizedProps=this.pendingProps=this.ref=null,this.internalContextTag=n,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.expirationTime=0,this.alternate=null}function it(e,t,n){var r=e.alternate;return null===r?(r=new at(e.tag,e.key,e.internalContextTag),r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.effectTag=0,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null),r.expirationTime=n,r.pendingProps=t,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function ut(e,t,n){var o=void 0,a=e.type,i=e.key;return"function"==typeof a?(o=a.prototype&&a.prototype.isReactComponent?new at(2,i,t):new at(0,i,t),o.type=a,o.pendingProps=e.props):"string"==typeof a?(o=new at(5,i,t),o.type=a,o.pendingProps=e.props):"object"==typeof a&&null!==a&&"number"==typeof a.tag?(o=a,o.pendingProps=e.props):r("130",null==a?a:typeof a,""),o.expirationTime=n,o}function lt(e,t,n,r){return t=new at(10,r,t),t.pendingProps=e,t.expirationTime=n,t}function st(e,t,n){return t=new at(6,null,t),t.pendingProps=e,t.expirationTime=n,t}function ct(e,t,n){return t=new at(7,e.key,t),t.type=e.handler,t.pendingProps=e,t.expirationTime=n,t}function ft(e,t,n){return e=new at(9,null,t),e.expirationTime=n,e}function pt(e,t,n){return t=new at(4,e.key,t),t.pendingProps=e.children||[],t.expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function dt(e){return function(t){try{return e(t)}catch(e){}}}function mt(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);go=dt(function(e){return t.onCommitFiberRoot(n,e)}),yo=dt(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){}return!0}function ht(e){"function"==typeof go&&go(e)}function vt(e){"function"==typeof yo&&yo(e)}function gt(e){return{baseState:e,expirationTime:0,first:null,last:null,callbackList:null,hasForceUpdate:!1,isInitialized:!1}}function yt(e,t){null===e.last?e.first=e.last=t:(e.last.next=t,e.last=t),(0===e.expirationTime||e.expirationTime>t.expirationTime)&&(e.expirationTime=t.expirationTime)}function bt(e,t){var n=e.alternate,r=e.updateQueue;null===r&&(r=e.updateQueue=gt(null)),null!==n?null===(e=n.updateQueue)&&(e=n.updateQueue=gt(null)):e=null,e=e!==r?e:null,null===e?yt(r,t):null===r.last||null===e.last?(yt(r,t),yt(e,t)):(yt(r,t),e.last=t)}function _t(e,t,n,r){return e=e.partialState,"function"==typeof e?e.call(t,n,r):e}function wt(e,t,n,r,o,a){null!==e&&e.updateQueue===n&&(n=t.updateQueue={baseState:n.baseState,expirationTime:n.expirationTime,first:n.first,last:n.last,isInitialized:n.isInitialized,callbackList:null,hasForceUpdate:!1}),n.expirationTime=0,n.isInitialized?e=n.baseState:(e=n.baseState=t.memoizedState,n.isInitialized=!0);for(var i=!0,u=n.first,l=!1;null!==u;){var s=u.expirationTime;if(s>a){var c=n.expirationTime;(0===c||c>s)&&(n.expirationTime=s),l||(l=!0,n.baseState=e)}else l||(n.first=u.next,null===n.first&&(n.last=null)),u.isReplace?(e=_t(u,r,e,o),i=!0):(s=_t(u,r,e,o))&&(e=i?wn({},e,s):wn(e,s),i=!1),u.isForced&&(n.hasForceUpdate=!0),null!==u.callback&&(s=n.callbackList,null===s&&(s=n.callbackList=[]),s.push(u));u=u.next}return null!==n.callbackList?t.effectTag|=32:null!==n.first||n.hasForceUpdate||(t.updateQueue=null),l||(n.baseState=e),e}function Ct(e,t){var n=e.callbackList;if(null!==n)for(e.callbackList=null,e=0;e<n.length;e++){var o=n[e],a=o.callback;o.callback=null,"function"!=typeof a&&r("191",a),a.call(t)}}function Et(e,t,n,o){function a(e,t){t.updater=i,e.stateNode=t,t._reactInternalFiber=e}var i={isMounted:Ee,enqueueSetState:function(n,r,o){n=n._reactInternalFiber,o=void 0===o?null:o;var a=t(n);bt(n,{expirationTime:a,partialState:r,callback:o,isReplace:!1,isForced:!1,nextCallback:null,next:null}),e(n,a)},enqueueReplaceState:function(n,r,o){n=n._reactInternalFiber,o=void 0===o?null:o;var a=t(n);bt(n,{expirationTime:a,partialState:r,callback:o,isReplace:!0,isForced:!1,nextCallback:null,next:null}),e(n,a)},enqueueForceUpdate:function(n,r){n=n._reactInternalFiber,r=void 0===r?null:r;var o=t(n);bt(n,{expirationTime:o,partialState:null,callback:r,isReplace:!1,isForced:!0,nextCallback:null,next:null}),e(n,o)}};return{adoptClassInstance:a,constructClassInstance:function(e,t){var n=e.type,r=Ye(e),o=2===e.tag&&null!=e.type.contextTypes,i=o?Je(e,r):Sn;return t=new n(t,i),a(e,t),o&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=r,e.__reactInternalMemoizedMaskedChildContext=i),t},mountClassInstance:function(e,t){var n=e.alternate,o=e.stateNode,a=o.state||null,u=e.pendingProps;u||r("158");var l=Ye(e);o.props=u,o.state=e.memoizedState=a,o.refs=Sn,o.context=Je(e,l),null!=e.type&&null!=e.type.prototype&&!0===e.type.prototype.unstable_isAsyncReactComponent&&(e.internalContextTag|=1),"function"==typeof o.componentWillMount&&(a=o.state,o.componentWillMount(),a!==o.state&&i.enqueueReplaceState(o,o.state,null),null!==(a=e.updateQueue)&&(o.state=wt(n,e,a,o,u,t))),"function"==typeof o.componentDidMount&&(e.effectTag|=4)},updateClassInstance:function(e,t,a){var u=t.stateNode;u.props=t.memoizedProps,u.state=t.memoizedState;var l=t.memoizedProps,s=t.pendingProps;s||null==(s=l)&&r("159");var c=u.context,f=Ye(t);if(f=Je(t,f),"function"!=typeof u.componentWillReceiveProps||l===s&&c===f||(c=u.state,u.componentWillReceiveProps(s,f),u.state!==c&&i.enqueueReplaceState(u,u.state,null)),c=t.memoizedState,a=null!==t.updateQueue?wt(e,t,t.updateQueue,u,s,a):c,!(l!==s||c!==a||ho.current||null!==t.updateQueue&&t.updateQueue.hasForceUpdate))return"function"!=typeof u.componentDidUpdate||l===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),!1;var p=s;if(null===l||null!==t.updateQueue&&t.updateQueue.hasForceUpdate)p=!0;else{var d=t.stateNode,m=t.type;p="function"==typeof d.shouldComponentUpdate?d.shouldComponentUpdate(p,a,f):!m.prototype||!m.prototype.isPureReactComponent||(!On(l,p)||!On(c,a))}return p?("function"==typeof u.componentWillUpdate&&u.componentWillUpdate(s,a,f),"function"==typeof u.componentDidUpdate&&(t.effectTag|=4)):("function"!=typeof u.componentDidUpdate||l===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),n(t,s),o(t,a)),u.props=s,u.state=a,u.context=f,p}}}function kt(e){return null===e||void 0===e?null:(e=Oo&&e[Oo]||e["@@iterator"],"function"==typeof e?e:null)}function Ot(e,t){var n=t.ref;if(null!==n&&"function"!=typeof n){if(t._owner){t=t._owner;var o=void 0;t&&(2!==t.tag&&r("110"),o=t.stateNode),o||r("147",n);var a=""+n;return null!==e&&null!==e.ref&&e.ref._stringRef===a?e.ref:(e=function(e){var t=o.refs===Sn?o.refs={}:o.refs;null===e?delete t[a]:t[a]=e},e._stringRef=a,e)}"string"!=typeof n&&r("148"),t._owner||r("149",n)}return n}function Nt(e,t){"textarea"!==e.type&&r("31","[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function xt(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 o(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 a(e,t,n){return e=it(e,t,n),e.index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index,r<n?(t.effectTag=2,n):r):(t.effectTag=2,n):n}function u(t){return e&&null===t.alternate&&(t.effectTag=2),t}function l(e,t,n,r){return null===t||6!==t.tag?(t=st(n,e.internalContextTag,r),t.return=e,t):(t=a(t,n,r),t.return=e,t)}function s(e,t,n,r){return null!==t&&t.type===n.type?(r=a(t,n.props,r),r.ref=Ot(t,n),r.return=e,r):(r=ut(n,e.internalContextTag,r),r.ref=Ot(t,n),r.return=e,r)}function c(e,t,n,r){return null===t||7!==t.tag?(t=ct(n,e.internalContextTag,r),t.return=e,t):(t=a(t,n,r),t.return=e,t)}function f(e,t,n,r){return null===t||9!==t.tag?(t=ft(n,e.internalContextTag,r),t.type=n.value,t.return=e,t):(t=a(t,null,r),t.type=n.value,t.return=e,t)}function p(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=pt(n,e.internalContextTag,r),t.return=e,t):(t=a(t,n.children||[],r),t.return=e,t)}function d(e,t,n,r,o){return null===t||10!==t.tag?(t=lt(n,e.internalContextTag,r,o),t.return=e,t):(t=a(t,n,r),t.return=e,t)}function m(e,t,n){if("string"==typeof t||"number"==typeof t)return t=st(""+t,e.internalContextTag,n),t.return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case _o:return t.type===ko?(t=lt(t.props.children,e.internalContextTag,n,t.key),t.return=e,t):(n=ut(t,e.internalContextTag,n),n.ref=Ot(null,t),n.return=e,n);case wo:return t=ct(t,e.internalContextTag,n),t.return=e,t;case Co:return n=ft(t,e.internalContextTag,n),n.type=t.value,n.return=e,n;case Eo:return t=pt(t,e.internalContextTag,n),t.return=e,t}if(No(t)||kt(t))return t=lt(t,e.internalContextTag,n,null),t.return=e,t;Nt(e,t)}return null}function h(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case _o:return n.key===o?n.type===ko?d(e,t,n.props.children,r,o):s(e,t,n,r):null;case wo:return n.key===o?c(e,t,n,r):null;case Co:return null===o?f(e,t,n,r):null;case Eo:return n.key===o?p(e,t,n,r):null}if(No(n)||kt(n))return null!==o?null:d(e,t,n,r,null);Nt(e,n)}return null}function v(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return e=e.get(n)||null,l(t,e,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case _o:return e=e.get(null===r.key?n:r.key)||null,r.type===ko?d(t,e,r.props.children,o,r.key):s(t,e,r,o);case wo:return e=e.get(null===r.key?n:r.key)||null,c(t,e,r,o);case Co:return e=e.get(n)||null,f(t,e,r,o);case Eo:return e=e.get(null===r.key?n:r.key)||null,p(t,e,r,o)}if(No(r)||kt(r))return e=e.get(n)||null,d(t,e,r,o,null);Nt(t,r)}return null}function g(r,a,u,l){for(var s=null,c=null,f=a,p=a=0,d=null;null!==f&&p<u.length;p++){f.index>p?(d=f,f=null):d=f.sibling;var g=h(r,f,u[p],l);if(null===g){null===f&&(f=d);break}e&&f&&null===g.alternate&&t(r,f),a=i(g,a,p),null===c?s=g:c.sibling=g,c=g,f=d}if(p===u.length)return n(r,f),s;if(null===f){for(;p<u.length;p++)(f=m(r,u[p],l))&&(a=i(f,a,p),null===c?s=f:c.sibling=f,c=f);return s}for(f=o(r,f);p<u.length;p++)(d=v(f,r,p,u[p],l))&&(e&&null!==d.alternate&&f.delete(null===d.key?p:d.key),a=i(d,a,p),null===c?s=d:c.sibling=d,c=d);return e&&f.forEach(function(e){return t(r,e)}),s}function y(a,u,l,s){var c=kt(l);"function"!=typeof c&&r("150"),null==(l=c.call(l))&&r("151");for(var f=c=null,p=u,d=u=0,g=null,y=l.next();null!==p&&!y.done;d++,y=l.next()){p.index>d?(g=p,p=null):g=p.sibling;var b=h(a,p,y.value,s);if(null===b){p||(p=g);break}e&&p&&null===b.alternate&&t(a,p),u=i(b,u,d),null===f?c=b:f.sibling=b,f=b,p=g}if(y.done)return n(a,p),c;if(null===p){for(;!y.done;d++,y=l.next())null!==(y=m(a,y.value,s))&&(u=i(y,u,d),null===f?c=y:f.sibling=y,f=y);return c}for(p=o(a,p);!y.done;d++,y=l.next())null!==(y=v(p,a,d,y.value,s))&&(e&&null!==y.alternate&&p.delete(null===y.key?d:y.key),u=i(y,u,d),null===f?c=y:f.sibling=y,f=y);return e&&p.forEach(function(e){return t(a,e)}),c}return function(e,o,i,l){"object"==typeof i&&null!==i&&i.type===ko&&null===i.key&&(i=i.props.children);var s="object"==typeof i&&null!==i;if(s)switch(i.$$typeof){case _o:e:{var c=i.key;for(s=o;null!==s;){if(s.key===c){if(10===s.tag?i.type===ko:s.type===i.type){n(e,s.sibling),o=a(s,i.type===ko?i.props.children:i.props,l),o.ref=Ot(s,i),o.return=e,e=o;break e}n(e,s);break}t(e,s),s=s.sibling}i.type===ko?(o=lt(i.props.children,e.internalContextTag,l,i.key),o.return=e,e=o):(l=ut(i,e.internalContextTag,l),l.ref=Ot(o,i),l.return=e,e=l)}return u(e);case wo:e:{for(s=i.key;null!==o;){if(o.key===s){if(7===o.tag){n(e,o.sibling),o=a(o,i,l),o.return=e,e=o;break e}n(e,o);break}t(e,o),o=o.sibling}o=ct(i,e.internalContextTag,l),o.return=e,e=o}return u(e);case Co:e:{if(null!==o){if(9===o.tag){n(e,o.sibling),o=a(o,null,l),o.type=i.value,o.return=e,e=o;break e}n(e,o)}o=ft(i,e.internalContextTag,l),o.type=i.value,o.return=e,e=o}return u(e);case Eo:e:{for(s=i.key;null!==o;){if(o.key===s){if(4===o.tag&&o.stateNode.containerInfo===i.containerInfo&&o.stateNode.implementation===i.implementation){n(e,o.sibling),o=a(o,i.children||[],l),o.return=e,e=o;break e}n(e,o);break}t(e,o),o=o.sibling}o=pt(i,e.internalContextTag,l),o.return=e,e=o}return u(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==o&&6===o.tag?(n(e,o.sibling),o=a(o,i,l)):(n(e,o),o=st(i,e.internalContextTag,l)),o.return=e,e=o,u(e);if(No(i))return g(e,o,i,l);if(kt(i))return y(e,o,i,l);if(s&&Nt(e,i),void 0===i)switch(e.tag){case 2:case 1:l=e.type,r("152",l.displayName||l.name||"Component")}return n(e,o)}}function St(e,t,n,o,a){function i(e,t,n){var r=t.expirationTime;t.child=null===e?So(t,null,n,r):xo(t,e.child,n,r)}function u(e,t){var n=t.ref;null===n||e&&e.ref===n||(t.effectTag|=128)}function l(e,t,n,r){if(u(e,t),!n)return r&&ot(t,!1),c(e,t);n=t.stateNode,Hr.current=t;var o=n.render();return t.effectTag|=1,i(e,t,o),t.memoizedState=n.state,t.memoizedProps=n.props,r&&ot(t,!0),t.child}function s(e){var t=e.stateNode;t.pendingContext?tt(e,t.pendingContext,t.pendingContext!==t.context):t.context&&tt(e,t.context,!1),v(e,t.containerInfo)}function c(e,t){if(null!==e&&t.child!==e.child&&r("153"),null!==t.child){e=t.child;var n=it(e,e.pendingProps,e.expirationTime);for(t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,n=n.sibling=it(e,e.pendingProps,e.expirationTime),n.return=t;n.sibling=null}return t.child}function f(e,t){switch(t.tag){case 3:s(t);break;case 2:rt(t);break;case 4:v(t,t.stateNode.containerInfo)}return null}var p=e.shouldSetTextContent,d=e.useSyncScheduling,m=e.shouldDeprioritizeSubtree,h=t.pushHostContext,v=t.pushHostContainer,g=n.enterHydrationState,y=n.resetHydrationState,b=n.tryToClaimNextHydratableInstance;e=Et(o,a,function(e,t){e.memoizedProps=t},function(e,t){e.memoizedState=t});var _=e.adoptClassInstance,w=e.constructClassInstance,C=e.mountClassInstance,E=e.updateClassInstance;return{beginWork:function(e,t,n){if(0===t.expirationTime||t.expirationTime>n)return f(e,t);switch(t.tag){case 0:null!==e&&r("155");var o=t.type,a=t.pendingProps,k=Ye(t);return k=Je(t,k),o=o(a,k),t.effectTag|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render?(t.tag=2,a=rt(t),_(t,o),C(t,n),t=l(e,t,!0,a)):(t.tag=1,i(e,t,o),t.memoizedProps=a,t=t.child),t;case 1:e:{if(a=t.type,n=t.pendingProps,o=t.memoizedProps,ho.current)null===n&&(n=o);else if(null===n||o===n){t=c(e,t);break e}o=Ye(t),o=Je(t,o),a=a(n,o),t.effectTag|=1,i(e,t,a),t.memoizedProps=n,t=t.child}return t;case 2:return a=rt(t),o=void 0,null===e?t.stateNode?r("153"):(w(t,t.pendingProps),C(t,n),o=!0):o=E(e,t,n),l(e,t,o,a);case 3:return s(t),a=t.updateQueue,null!==a?(o=t.memoizedState,a=wt(e,t,a,null,null,n),o===a?(y(),t=c(e,t)):(o=a.element,k=t.stateNode,(null===e||null===e.child)&&k.hydrate&&g(t)?(t.effectTag|=2,t.child=So(t,null,o,n)):(y(),i(e,t,o)),t.memoizedState=a,t=t.child)):(y(),t=c(e,t)),t;case 5:h(t),null===e&&b(t),a=t.type;var O=t.memoizedProps;return o=t.pendingProps,null===o&&null===(o=O)&&r("154"),k=null!==e?e.memoizedProps:null,ho.current||null!==o&&O!==o?(O=o.children,p(a,o)?O=null:k&&p(a,k)&&(t.effectTag|=16),u(e,t),2147483647!==n&&!d&&m(a,o)?(t.expirationTime=2147483647,t=null):(i(e,t,O),t.memoizedProps=o,t=t.child)):t=c(e,t),t;case 6:return null===e&&b(t),e=t.pendingProps,null===e&&(e=t.memoizedProps),t.memoizedProps=e,null;case 8:t.tag=7;case 7:return a=t.pendingProps,ho.current?null===a&&null===(a=e&&e.memoizedProps)&&r("154"):null!==a&&t.memoizedProps!==a||(a=t.memoizedProps),o=a.children,t.stateNode=null===e?So(t,t.stateNode,o,n):xo(t,t.stateNode,o,n),t.memoizedProps=a,t.stateNode;case 9:return null;case 4:e:{if(v(t,t.stateNode.containerInfo),a=t.pendingProps,ho.current)null===a&&null==(a=e&&e.memoizedProps)&&r("154");else if(null===a||t.memoizedProps===a){t=c(e,t);break e}null===e?t.child=xo(t,null,a,n):i(e,t,a),t.memoizedProps=a,t=t.child}return t;case 10:e:{if(n=t.pendingProps,ho.current)null===n&&(n=t.memoizedProps);else if(null===n||t.memoizedProps===n){t=c(e,t);break e}i(e,t,n),t.memoizedProps=n,t=t.child}return t;default:r("156")}},beginFailedWork:function(e,t,n){switch(t.tag){case 2:rt(t);break;case 3:s(t);break;default:r("157")}return t.effectTag|=64,null===e?t.child=null:t.child!==e.child&&(t.child=e.child),0===t.expirationTime||t.expirationTime>n?f(e,t):(t.firstEffect=null,t.lastEffect=null,t.child=null===e?So(t,null,null,n):xo(t,e.child,null,n),2===t.tag&&(e=t.stateNode,t.memoizedProps=e.props,t.memoizedState=e.state),t.child)}}}function Tt(e,t,n){function o(e){e.effectTag|=4}var a=e.createInstance,i=e.createTextInstance,u=e.appendInitialChild,l=e.finalizeInitialChildren,s=e.prepareUpdate,c=e.persistence,f=t.getRootHostContainer,p=t.popHostContext,d=t.getHostContext,m=t.popHostContainer,h=n.prepareToHydrateHostInstance,v=n.prepareToHydrateHostTextInstance,g=n.popHydrationState,y=void 0,b=void 0,_=void 0;return e.mutation?(y=function(){},b=function(e,t,n){(t.updateQueue=n)&&o(t)},_=function(e,t,n,r){n!==r&&o(t)}):r(c?"235":"236"),{completeWork:function(e,t,n){var c=t.pendingProps;switch(null===c?c=t.memoizedProps:2147483647===t.expirationTime&&2147483647!==n||(t.pendingProps=null),t.tag){case 1:return null;case 2:return et(t),null;case 3:return m(t),Qe(ho,t),Qe(mo,t),c=t.stateNode,c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),null!==e&&null!==e.child||(g(t),t.effectTag&=-3),y(t),null;case 5:p(t),n=f();var w=t.type;if(null!==e&&null!=t.stateNode){var C=e.memoizedProps,E=t.stateNode,k=d();E=s(E,w,C,c,n,k),b(e,t,E,w,C,c,n),e.ref!==t.ref&&(t.effectTag|=128)}else{if(!c)return null===t.stateNode&&r("166"),null;if(e=d(),g(t))h(t,n,e)&&o(t);else{e=a(w,c,n,e,t);e:for(C=t.child;null!==C;){if(5===C.tag||6===C.tag)u(e,C.stateNode);else if(4!==C.tag&&null!==C.child){C.child.return=C,C=C.child;continue}if(C===t)break;for(;null===C.sibling;){if(null===C.return||C.return===t)break e;C=C.return}C.sibling.return=C.return,C=C.sibling}l(e,w,c,n)&&o(t),t.stateNode=e}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)_(e,t,e.memoizedProps,c);else{if("string"!=typeof c)return null===t.stateNode&&r("166"),null;e=f(),n=d(),g(t)?v(t)&&o(t):t.stateNode=i(c,e,n,t)}return null;case 7:(c=t.memoizedProps)||r("165"),t.tag=8,w=[];e:for((C=t.stateNode)&&(C.return=t);null!==C;){if(5===C.tag||6===C.tag||4===C.tag)r("247");else if(9===C.tag)w.push(C.type);else if(null!==C.child){C.child.return=C,C=C.child;continue}for(;null===C.sibling;){if(null===C.return||C.return===t)break e;C=C.return}C.sibling.return=C.return,C=C.sibling}return C=c.handler,c=C(c.props,w),t.child=xo(t,null!==e?e.child:null,c,n),t.child;case 8:return t.tag=7,null;case 9:case 10:return null;case 4:return m(t),y(t),null;case 0:r("167");default:r("156")}}}}function Pt(e,t){function n(e){var n=e.ref;if(null!==n)try{n(null)}catch(n){t(e,n)}}function o(e){switch("function"==typeof vt&&vt(e),e.tag){case 2:n(e);var r=e.stateNode;if("function"==typeof r.componentWillUnmount)try{r.props=e.memoizedProps,r.state=e.memoizedState,r.componentWillUnmount()}catch(n){t(e,n)}break;case 5:n(e);break;case 7:a(e.stateNode);break;case 4:s&&u(e)}}function a(e){for(var t=e;;)if(o(t),null===t.child||s&&4===t.tag){if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return;t=t.return}t.sibling.return=t.return,t=t.sibling}else t.child.return=t,t=t.child}function i(e){return 5===e.tag||3===e.tag||4===e.tag}function u(e){for(var t=e,n=!1,i=void 0,u=void 0;;){if(!n){n=t.return;e:for(;;){switch(null===n&&r("160"),n.tag){case 5:i=n.stateNode,u=!1;break e;case 3:case 4:i=n.stateNode.containerInfo,u=!0;break e}n=n.return}n=!0}if(5===t.tag||6===t.tag)a(t),u?b(i,t.stateNode):y(i,t.stateNode);else if(4===t.tag?i=t.stateNode.containerInfo:o(t),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;t=t.return,4===t.tag&&(n=!1)}t.sibling.return=t.return,t=t.sibling}}var l=e.getPublicInstance,s=e.mutation;e=e.persistence,s||r(e?"235":"236");var c=s.commitMount,f=s.commitUpdate,p=s.resetTextContent,d=s.commitTextUpdate,m=s.appendChild,h=s.appendChildToContainer,v=s.insertBefore,g=s.insertInContainerBefore,y=s.removeChild,b=s.removeChildFromContainer;return{commitResetTextContent:function(e){p(e.stateNode)},commitPlacement:function(e){e:{for(var t=e.return;null!==t;){if(i(t)){var n=t;break e}t=t.return}r("160"),n=void 0}var o=t=void 0;switch(n.tag){case 5:t=n.stateNode,o=!1;break;case 3:case 4:t=n.stateNode.containerInfo,o=!0;break;default:r("161")}16&n.effectTag&&(p(t),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||i(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==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}}for(var a=e;;){if(5===a.tag||6===a.tag)n?o?g(t,a.stateNode,n):v(t,a.stateNode,n):o?h(t,a.stateNode):m(t,a.stateNode);else if(4!==a.tag&&null!==a.child){a.child.return=a,a=a.child;continue}if(a===e)break;for(;null===a.sibling;){if(null===a.return||a.return===e)return;a=a.return}a.sibling.return=a.return,a=a.sibling}},commitDeletion:function(e){u(e),e.return=null,e.child=null,e.alternate&&(e.alternate.child=null,e.alternate.return=null)},commitWork:function(e,t){switch(t.tag){case 2:break;case 5:var n=t.stateNode;if(null!=n){var o=t.memoizedProps;e=null!==e?e.memoizedProps:o;var a=t.type,i=t.updateQueue;t.updateQueue=null,null!==i&&f(n,i,a,e,o,t)}break;case 6:null===t.stateNode&&r("162"),n=t.memoizedProps,d(t.stateNode,null!==e?e.memoizedProps:n,n);break;case 3:break;default:r("163")}},commitLifeCycles:function(e,t){switch(t.tag){case 2:var n=t.stateNode;if(4&t.effectTag)if(null===e)n.props=t.memoizedProps,n.state=t.memoizedState,n.componentDidMount();else{var o=e.memoizedProps;e=e.memoizedState,n.props=t.memoizedProps,n.state=t.memoizedState,n.componentDidUpdate(o,e)}t=t.updateQueue,null!==t&&Ct(t,n);break;case 3:n=t.updateQueue,null!==n&&Ct(n,null!==t.child?t.child.stateNode:null);break;case 5:n=t.stateNode,null===e&&4&t.effectTag&&c(n,t.type,t.memoizedProps,t);break;case 6:case 4:break;default:r("163")}},commitAttachRef:function(e){var t=e.ref;if(null!==t){var n=e.stateNode;switch(e.tag){case 5:t(l(n));break;default:t(n)}}},commitDetachRef:function(e){null!==(e=e.ref)&&e(null)}}}function It(e){function t(e){return e===To&&r("174"),e}var n=e.getChildHostContext,o=e.getRootHostContext,a={current:To},i={current:To},u={current:To};return{getHostContext:function(){return t(a.current)},getRootHostContainer:function(){return t(u.current)},popHostContainer:function(e){Qe(a,e),Qe(i,e),Qe(u,e)},popHostContext:function(e){i.current===e&&(Qe(a,e),Qe(i,e))},pushHostContainer:function(e,t){Xe(u,t,e),t=o(t),Xe(i,e,e),Xe(a,t,e)},pushHostContext:function(e){var r=t(u.current),o=t(a.current);r=n(o,e.type,r),o!==r&&(Xe(i,e,e),Xe(a,r,e))},resetHostContainer:function(){a.current=To,u.current=To}}}function jt(e){function t(e,t){var n=new at(5,null,0);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 n(e,t){switch(e.tag){case 5:return null!==(t=i(t,e.type,e.pendingProps))&&(e.stateNode=t,!0);case 6:return null!==(t=u(t,e.pendingProps))&&(e.stateNode=t,!0);default:return!1}}function o(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag;)e=e.return;p=e}var a=e.shouldSetTextContent;if(!(e=e.hydration))return{enterHydrationState:function(){return!1},resetHydrationState:function(){},tryToClaimNextHydratableInstance:function(){},prepareToHydrateHostInstance:function(){r("175")},prepareToHydrateHostTextInstance:function(){r("176")},popHydrationState:function(){return!1}};var i=e.canHydrateInstance,u=e.canHydrateTextInstance,l=e.getNextHydratableSibling,s=e.getFirstHydratableChild,c=e.hydrateInstance,f=e.hydrateTextInstance,p=null,d=null,m=!1;return{enterHydrationState:function(e){return d=s(e.stateNode.containerInfo),p=e,m=!0},resetHydrationState:function(){d=p=null,m=!1},tryToClaimNextHydratableInstance:function(e){if(m){var r=d;if(r){if(!n(e,r)){if(!(r=l(r))||!n(e,r))return e.effectTag|=2,m=!1,void(p=e);t(p,d)}p=e,d=s(r)}else e.effectTag|=2,m=!1,p=e}},prepareToHydrateHostInstance:function(e,t,n){return t=c(e.stateNode,e.type,e.memoizedProps,t,n,e),e.updateQueue=t,null!==t},prepareToHydrateHostTextInstance:function(e){return f(e.stateNode,e.memoizedProps,e)},popHydrationState:function(e){if(e!==p)return!1;if(!m)return o(e),m=!0,!1;var n=e.type;if(5!==e.tag||"head"!==n&&"body"!==n&&!a(n,e.memoizedProps))for(n=d;n;)t(e,n),n=l(n);return o(e),d=p?l(e.stateNode):null,!0}}}function Mt(e){function t(e){ae=Q=!0;var t=e.stateNode;if(t.current===e&&r("177"),t.isReadyForCommit=!1,Hr.current=null,1<e.effectTag)if(null!==e.lastEffect){e.lastEffect.nextEffect=e;var n=e.firstEffect}else n=e;else n=e.firstEffect;for(W(),Z=n;null!==Z;){var o=!1,a=void 0;try{for(;null!==Z;){var i=Z.effectTag;if(16&i&&M(Z),128&i){var u=Z.alternate;null!==u&&U(u)}switch(-242&i){case 2:R(Z),Z.effectTag&=-3;break;case 6:R(Z),Z.effectTag&=-3,D(Z.alternate,Z);break;case 4:D(Z.alternate,Z);break;case 8:ie=!0,A(Z),ie=!1}Z=Z.nextEffect}}catch(e){o=!0,a=e}o&&(null===Z&&r("178"),l(Z,a),null!==Z&&(Z=Z.nextEffect))}for(q(),t.current=e,Z=n;null!==Z;){n=!1,o=void 0;try{for(;null!==Z;){var s=Z.effectTag;if(36&s&&F(Z.alternate,Z),128&s&&L(Z),64&s)switch(a=Z,i=void 0,null!==ee&&(i=ee.get(a),ee.delete(a),null==i&&null!==a.alternate&&(a=a.alternate,i=ee.get(a),ee.delete(a))),null==i&&r("184"),a.tag){case 2:a.stateNode.componentDidCatch(i.error,{componentStack:i.componentStack});break;case 3:null===re&&(re=i.error);break;default:r("157")}var c=Z.nextEffect;Z.nextEffect=null,Z=c}}catch(e){n=!0,o=e}n&&(null===Z&&r("178"),l(Z,o),null!==Z&&(Z=Z.nextEffect))}return Q=ae=!1,"function"==typeof ht&&ht(e.stateNode),ne&&(ne.forEach(h),ne=null),null!==re&&(e=re,re=null,E(e)),t=t.current.expirationTime,0===t&&(te=ee=null),t}function n(e){for(;;){var t=j(e.alternate,e,J),n=e.return,r=e.sibling,o=e;if(2147483647===J||2147483647!==o.expirationTime){if(2!==o.tag&&3!==o.tag)var a=0;else a=o.updateQueue,a=null===a?0:a.expirationTime;for(var i=o.child;null!==i;)0!==i.expirationTime&&(0===a||a>i.expirationTime)&&(a=i.expirationTime),i=i.sibling;o.expirationTime=a}if(null!==t)return t;if(null!==n&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1<e.effectTag&&(null!==n.lastEffect?n.lastEffect.nextEffect=e:n.firstEffect=e,n.lastEffect=e)),null!==r)return r;if(null===n){e.stateNode.isReadyForCommit=!0;break}e=n}return null}function o(e){var t=P(e.alternate,e,J);return null===t&&(t=n(e)),Hr.current=null,t}function a(e){var t=I(e.alternate,e,J);return null===t&&(t=n(e)),Hr.current=null,t}function i(e){if(null!==ee){if(!(0===J||J>e))if(J<=$)for(;null!==X;)X=s(X)?a(X):o(X);else for(;null!==X&&!C();)X=s(X)?a(X):o(X)}else if(!(0===J||J>e))if(J<=$)for(;null!==X;)X=o(X);else for(;null!==X&&!C();)X=o(X)}function u(e,t){if(Q&&r("243"),Q=!0,e.isReadyForCommit=!1,e!==Y||t!==J||null===X){for(;-1<po;)fo[po]=null,po--;vo=Sn,mo.current=Sn,ho.current=!1,S(),Y=e,J=t,X=it(Y.current,null,t)}var n=!1,o=null;try{i(t)}catch(e){n=!0,o=e}for(;n;){if(oe){re=o;break}var u=X;if(null===u)oe=!0;else{var s=l(u,o);if(null===s&&r("183"),!oe){try{for(n=s,o=t,s=n;null!==u;){switch(u.tag){case 2:et(u);break;case 5:x(u);break;case 3:N(u);break;case 4:N(u)}if(u===s||u.alternate===s)break;u=u.return}X=a(n),i(o)}catch(e){n=!0,o=e;continue}break}}}return t=re,oe=Q=!1,re=null,null!==t&&E(t),e.isReadyForCommit?e.current.alternate:null}function l(e,t){var n=Hr.current=null,r=!1,o=!1,a=null;if(3===e.tag)n=e,c(e)&&(oe=!0);else for(var i=e.return;null!==i&&null===n;){if(2===i.tag?"function"==typeof i.stateNode.componentDidCatch&&(r=!0,a=we(i),n=i,o=!0):3===i.tag&&(n=i),c(i)){if(ie||null!==ne&&(ne.has(i)||null!==i.alternate&&ne.has(i.alternate)))return null;n=null,o=!1}i=i.return}if(null!==n){null===te&&(te=new Set),te.add(n);var u="";i=e;do{e:switch(i.tag){case 0:case 1:case 2:case 5:var l=i._debugOwner,s=i._debugSource,f=we(i),p=null;l&&(p=we(l)),l=s,f="\n in "+(f||"Unknown")+(l?" (at "+l.fileName.replace(/^.*[\\\/]/,"")+":"+l.lineNumber+")":p?" (created by "+p+")":"");break e;default:f=""}u+=f,i=i.return}while(i);i=u,e=we(e),null===ee&&(ee=new Map),t={componentName:e,componentStack:i,error:t,errorBoundary:r?n.stateNode:null,errorBoundaryFound:r,errorBoundaryName:a,willRetry:o},ee.set(n,t);try{var d=t.error;d&&d.suppressReactErrorLogging||console.error(d)}catch(e){e&&e.suppressReactErrorLogging||console.error(e)}return ae?(null===ne&&(ne=new Set),ne.add(n)):h(n),n}return null===re&&(re=t),null}function s(e){return null!==ee&&(ee.has(e)||null!==e.alternate&&ee.has(e.alternate))}function c(e){return null!==te&&(te.has(e)||null!==e.alternate&&te.has(e.alternate))}function f(){return 20*(1+((v()+100)/20|0))}function p(e){return 0!==G?G:Q?ae?1:J:!V||1&e.internalContextTag?f():1}function d(e,t){return m(e,t,!1)}function m(e,t){for(;null!==e;){if((0===e.expirationTime||e.expirationTime>t)&&(e.expirationTime=t),null!==e.alternate&&(0===e.alternate.expirationTime||e.alternate.expirationTime>t)&&(e.alternate.expirationTime=t),null===e.return){if(3!==e.tag)break;var n=e.stateNode;!Q&&n===Y&&t<J&&(X=Y=null,J=0);var o=n,a=t;if(Ce>_e&&r("185"),null===o.nextScheduledRoot)o.remainingExpirationTime=a,null===le?(ue=le=o,o.nextScheduledRoot=o):(le=le.nextScheduledRoot=o,le.nextScheduledRoot=ue);else{var i=o.remainingExpirationTime;(0===i||a<i)&&(o.remainingExpirationTime=a)}fe||(ye?be&&(pe=o,de=1,w(pe,de)):1===a?_(1,null):g(a)),!Q&&n===Y&&t<J&&(X=Y=null,J=0)}e=e.return}}function h(e){m(e,1,!0)}function v(){return $=2+((B()-K)/10|0)}function g(e){if(0!==se){if(e>se)return;z(ce)}var t=B()-K;se=e,ce=H(b,{timeout:10*(e-2)-t})}function y(){var e=0,t=null;if(null!==le)for(var n=le,o=ue;null!==o;){var a=o.remainingExpirationTime;if(0===a){if((null===n||null===le)&&r("244"),o===o.nextScheduledRoot){ue=le=o.nextScheduledRoot=null;break}if(o===ue)ue=a=o.nextScheduledRoot,le.nextScheduledRoot=a,o.nextScheduledRoot=null;else{if(o===le){le=n,le.nextScheduledRoot=ue,o.nextScheduledRoot=null;break}n.nextScheduledRoot=o.nextScheduledRoot,o.nextScheduledRoot=null}o=n.nextScheduledRoot}else{if((0===e||a<e)&&(e=a,t=o),o===le)break;n=o,o=o.nextScheduledRoot}}n=pe,null!==n&&n===t?Ce++:Ce=0,pe=t,de=e}function b(e){_(0,e)}function _(e,t){for(ge=t,y();null!==pe&&0!==de&&(0===e||de<=e)&&!me;)w(pe,de),y();if(null!==ge&&(se=0,ce=-1),0!==de&&g(de),ge=null,me=!1,Ce=0,he)throw e=ve,ve=null,he=!1,e}function w(e,n){if(fe&&r("245"),fe=!0,n<=v()){var o=e.finishedWork;null!==o?(e.finishedWork=null,e.remainingExpirationTime=t(o)):(e.finishedWork=null,null!==(o=u(e,n))&&(e.remainingExpirationTime=t(o)))}else o=e.finishedWork,null!==o?(e.finishedWork=null,e.remainingExpirationTime=t(o)):(e.finishedWork=null,null!==(o=u(e,n))&&(C()?e.finishedWork=o:e.remainingExpirationTime=t(o)));fe=!1}function C(){return!(null===ge||ge.timeRemaining()>Ee)&&(me=!0)}function E(e){null===pe&&r("246"),pe.remainingExpirationTime=0,he||(he=!0,ve=e)}var k=It(e),O=jt(e),N=k.popHostContainer,x=k.popHostContext,S=k.resetHostContainer,T=St(e,k,O,d,p),P=T.beginWork,I=T.beginFailedWork,j=Tt(e,k,O).completeWork;k=Pt(e,l);var M=k.commitResetTextContent,R=k.commitPlacement,A=k.commitDeletion,D=k.commitWork,F=k.commitLifeCycles,L=k.commitAttachRef,U=k.commitDetachRef,B=e.now,H=e.scheduleDeferredCallback,z=e.cancelDeferredCallback,V=e.useSyncScheduling,W=e.prepareForCommit,q=e.resetAfterCommit,K=B(),$=2,G=0,Q=!1,X=null,Y=null,J=0,Z=null,ee=null,te=null,ne=null,re=null,oe=!1,ae=!1,ie=!1,ue=null,le=null,se=0,ce=-1,fe=!1,pe=null,de=0,me=!1,he=!1,ve=null,ge=null,ye=!1,be=!1,_e=1e3,Ce=0,Ee=1;return{computeAsyncExpiration:f,computeExpirationForFiber:p,scheduleWork:d,batchedUpdates:function(e,t){var n=ye;ye=!0;try{return e(t)}finally{(ye=n)||fe||_(1,null)}},unbatchedUpdates:function(e){if(ye&&!be){be=!0;try{return e()}finally{be=!1}}return e()},flushSync:function(e){var t=ye;ye=!0;try{e:{var n=G;G=1;try{var o=e();break e}finally{G=n}o=void 0}return o}finally{ye=t,fe&&r("187"),_(1,null)}},deferredUpdates:function(e){var t=G;G=f();try{return e()}finally{G=t}}}}function Rt(e){function t(e){return e=Ne(e),null===e?null:e.stateNode}var n=e.getPublicInstance;e=Mt(e);var o=e.computeAsyncExpiration,a=e.computeExpirationForFiber,i=e.scheduleWork;return{createContainer:function(e,t){var n=new at(3,null,0);return e={current:n,containerInfo:e,pendingChildren:null,remainingExpirationTime:0,isReadyForCommit:!1,finishedWork:null,context:null,pendingContext:null,hydrate:t,nextScheduledRoot:null},n.stateNode=e},updateContainer:function(e,t,n,u){var l=t.current;if(n){n=n._reactInternalFiber;var s;e:{for(2===Ce(n)&&2===n.tag||r("170"),s=n;3!==s.tag;){if(Ze(s)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break e}(s=s.return)||r("171")}s=s.stateNode.context}n=Ze(n)?nt(n,s):s}else n=Sn;null===t.context?t.context=n:t.pendingContext=n,t=u,t=void 0===t?null:t,u=null!=e&&null!=e.type&&null!=e.type.prototype&&!0===e.type.prototype.unstable_isAsyncReactComponent?o():a(l),bt(l,{expirationTime:u,partialState:{element:e},callback:t,isReplace:!1,isForced:!1,nextCallback:null,next:null}),i(l,u)},batchedUpdates:e.batchedUpdates,unbatchedUpdates:e.unbatchedUpdates,deferredUpdates:e.deferredUpdates,flushSync:e.flushSync,getPublicRootInstance:function(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return n(e.child.stateNode);default:return e.child.stateNode}},findHostInstance:t,findHostInstanceWithNoPortals:function(e){return e=xe(e),null===e?null:e.stateNode},injectIntoDevTools:function(e){var n=e.findFiberByHostInstance;return mt(wn({},e,{findHostInstanceByFiber:function(e){return t(e)},findFiberByHostInstance:function(e){return n?n(e):null}}))}}}function At(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Eo,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Dt(e){return!!Qo.hasOwnProperty(e)||!Go.hasOwnProperty(e)&&($o.test(e)?Qo[e]=!0:(Go[e]=!0,!1))}function Ft(e,t,n){var r=i(t);if(r&&a(t,n)){var o=r.mutationMethod;o?o(e,n):null==n||r.hasBooleanValue&&!n||r.hasNumericValue&&isNaN(n)||r.hasPositiveNumericValue&&1>n||r.hasOverloadedBooleanValue&&!1===n?Ut(e,t):r.mustUseProperty?e[r.propertyName]=n:(t=r.attributeName,(o=r.attributeNamespace)?e.setAttributeNS(o,t,""+n):r.hasBooleanValue||r.hasOverloadedBooleanValue&&!0===n?e.setAttribute(t,""):e.setAttribute(t,""+n))}else Lt(e,t,a(t,n)?n:null)}function Lt(e,t,n){Dt(t)&&(null==n?e.removeAttribute(t):e.setAttribute(t,""+n))}function Ut(e,t){var n=i(t);n?(t=n.mutationMethod)?t(e,void 0):n.mustUseProperty?e[n.propertyName]=!n.hasBooleanValue&&"":e.removeAttribute(n.attributeName):e.removeAttribute(t)}function Bt(e,t){var n=t.value,r=t.checked;return wn({type:void 0,step:void 0,min:void 0,max:void 0},t,{defaultChecked:void 0,defaultValue:void 0,value:null!=n?n:e._wrapperState.initialValue,checked:null!=r?r:e._wrapperState.initialChecked})}function Ht(e,t){var n=t.defaultValue;e._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:null!=t.value?t.value:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function zt(e,t){null!=(t=t.checked)&&Ft(e,"checked",t)}function Vt(e,t){zt(e,t);var n=t.value;null!=n?0===n&&""===e.value?e.value="0":"number"===t.type?(t=parseFloat(e.value)||0,(n!=t||n==t&&e.value!=n)&&(e.value=""+n)):e.value!==""+n&&(e.value=""+n):(null==t.value&&null!=t.defaultValue&&e.defaultValue!==""+t.defaultValue&&(e.defaultValue=""+t.defaultValue),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked))}function Wt(e,t){switch(t.type){case"submit":case"reset":break;case"color":case"date":case"datetime":case"datetime-local":case"month":case"time":case"week":e.value="",e.value=e.defaultValue;break;default:e.value=e.value}t=e.name,""!==t&&(e.name=""),e.defaultChecked=!e.defaultChecked,e.defaultChecked=!e.defaultChecked,""!==t&&(e.name=t)}function qt(e){var t="";return bn.Children.forEach(e,function(e){null==e||"string"!=typeof e&&"number"!=typeof e||(t+=e)}),t}function Kt(e,t){return e=wn({children:void 0},t),(t=qt(t.children))&&(e.children=t),e}function $t(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=""+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 Gt(e,t){var n=t.value;e._wrapperState={initialValue:null!=n?n:t.defaultValue,wasMultiple:!!t.multiple}}function Qt(e,t){return null!=t.dangerouslySetInnerHTML&&r("91"),wn({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Xt(e,t){var n=t.value;null==n&&(n=t.defaultValue,t=t.children,null!=t&&(null!=n&&r("92"),Array.isArray(t)&&(1>=t.length||r("93"),t=t[0]),n=""+t),null==n&&(n="")),e._wrapperState={initialValue:""+n}}function Yt(e,t){var n=t.value;null!=n&&(n=""+n,n!==e.value&&(e.value=n),null==t.defaultValue&&(e.defaultValue=n)),null!=t.defaultValue&&(e.defaultValue=t.defaultValue)}function Jt(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}function Zt(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 en(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Zt(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}function tn(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 nn(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=n,a=t[n];o=null==a||"boolean"==typeof a||""===a?"":r||"number"!=typeof a||0===a||Zo.hasOwnProperty(o)&&Zo[o]?(""+a).trim():a+"px","float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}function rn(e,t,n){t&&(ta[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&r("137",e,n()),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&r("60"),"object"==typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML||r("61")),null!=t.style&&"object"!=typeof t.style&&r("62",n()))}function on(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}}function an(e,t){e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument;var n=Ae(e);t=Xn[t];for(var r=0;r<t.length;r++){var o=t[r];n.hasOwnProperty(o)&&n[o]||("topScroll"===o?Ie("topScroll","scroll",e):"topFocus"===o||"topBlur"===o?(Ie("topFocus","focus",e),Ie("topBlur","blur",e),n.topBlur=!0,n.topFocus=!0):"topCancel"===o?(ne("cancel",!0)&&Ie("topCancel","cancel",e),n.topCancel=!0):"topClose"===o?(ne("close",!0)&&Ie("topClose","close",e),n.topClose=!0):Qr.hasOwnProperty(o)&&Pe(o,Qr[o],e),n[o]=!0)}}function un(e,t,n,r){return n=9===n.nodeType?n:n.ownerDocument,r===na&&(r=Zt(e)),r===na?"script"===e?(e=n.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):e="string"==typeof t.is?n.createElement(e,{is:t.is}):n.createElement(e):e=n.createElementNS(r,e),e}function ln(e,t){return(9===t.nodeType?t:t.ownerDocument).createTextNode(e)}function sn(e,t,n,r){var o=on(t,n);switch(t){case"iframe":case"object":Pe("topLoad","load",e);var a=n;break;case"video":case"audio":for(a in oa)oa.hasOwnProperty(a)&&Pe(a,oa[a],e);a=n;break;case"source":Pe("topError","error",e),a=n;break;case"img":case"image":Pe("topError","error",e),Pe("topLoad","load",e),a=n;break;case"form":Pe("topReset","reset",e),Pe("topSubmit","submit",e),a=n;break;case"details":Pe("topToggle","toggle",e),a=n;break;case"input":Ht(e,n),a=Bt(e,n),Pe("topInvalid","invalid",e),an(r,"onChange");break;case"option":a=Kt(e,n);break;case"select":Gt(e,n),a=wn({},n,{value:void 0}),Pe("topInvalid","invalid",e),an(r,"onChange");break;case"textarea":Xt(e,n),a=Qt(e,n),Pe("topInvalid","invalid",e),an(r,"onChange");break;default:a=n}rn(t,a,ra);var i,u=a;for(i in u)if(u.hasOwnProperty(i)){var l=u[i];"style"===i?nn(e,l,ra):"dangerouslySetInnerHTML"===i?null!=(l=l?l.__html:void 0)&&Jo(e,l):"children"===i?"string"==typeof l?("textarea"!==t||""!==l)&&tn(e,l):"number"==typeof l&&tn(e,""+l):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(Qn.hasOwnProperty(i)?null!=l&&an(r,i):o?Lt(e,i,l):null!=l&&Ft(e,i,l))}switch(t){case"input":ae(e),Wt(e,n);break;case"textarea":ae(e),Jt(e,n);break;case"option":null!=n.value&&e.setAttribute("value",n.value);break;case"select":e.multiple=!!n.multiple,t=n.value,null!=t?$t(e,!!n.multiple,t,!1):null!=n.defaultValue&&$t(e,!!n.multiple,n.defaultValue,!0);break;default:"function"==typeof a.onClick&&(e.onclick=Cn)}}function cn(e,t,n,r,o){var a=null;switch(t){case"input":n=Bt(e,n),r=Bt(e,r),a=[];break;case"option":n=Kt(e,n),r=Kt(e,r),a=[];break;case"select":n=wn({},n,{value:void 0}),r=wn({},r,{value:void 0}),a=[];break;case"textarea":n=Qt(e,n),r=Qt(e,r),a=[];break;default:"function"!=typeof n.onClick&&"function"==typeof r.onClick&&(e.onclick=Cn)}rn(t,r,ra);var i,u;e=null;for(i in n)if(!r.hasOwnProperty(i)&&n.hasOwnProperty(i)&&null!=n[i])if("style"===i)for(u in t=n[i])t.hasOwnProperty(u)&&(e||(e={}),e[u]="");else"dangerouslySetInnerHTML"!==i&&"children"!==i&&"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(Qn.hasOwnProperty(i)?a||(a=[]):(a=a||[]).push(i,null));for(i in r){var l=r[i];if(t=null!=n?n[i]:void 0,r.hasOwnProperty(i)&&l!==t&&(null!=l||null!=t))if("style"===i)if(t){for(u in t)!t.hasOwnProperty(u)||l&&l.hasOwnProperty(u)||(e||(e={}),e[u]="");for(u in l)l.hasOwnProperty(u)&&t[u]!==l[u]&&(e||(e={}),e[u]=l[u])}else e||(a||(a=[]),a.push(i,e)),e=l;else"dangerouslySetInnerHTML"===i?(l=l?l.__html:void 0,t=t?t.__html:void 0,null!=l&&t!==l&&(a=a||[]).push(i,""+l)):"children"===i?t===l||"string"!=typeof l&&"number"!=typeof l||(a=a||[]).push(i,""+l):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&(Qn.hasOwnProperty(i)?(null!=l&&an(o,i),a||t===l||(a=[])):(a=a||[]).push(i,l))}return e&&(a=a||[]).push("style",e),a}function fn(e,t,n,r,o){"input"===n&&"radio"===o.type&&null!=o.name&&zt(e,o),on(n,r),r=on(n,o);for(var a=0;a<t.length;a+=2){var i=t[a],u=t[a+1];"style"===i?nn(e,u,ra):"dangerouslySetInnerHTML"===i?Jo(e,u):"children"===i?tn(e,u):r?null!=u?Lt(e,i,u):e.removeAttribute(i):null!=u?Ft(e,i,u):Ut(e,i)}switch(n){case"input":Vt(e,o);break;case"textarea":Yt(e,o);break;case"select":e._wrapperState.initialValue=void 0,t=e._wrapperState.wasMultiple,e._wrapperState.wasMultiple=!!o.multiple,n=o.value,null!=n?$t(e,!!o.multiple,n,!1):t!==!!o.multiple&&(null!=o.defaultValue?$t(e,!!o.multiple,o.defaultValue,!0):$t(e,!!o.multiple,o.multiple?[]:"",!1))}}function pn(e,t,n,r,o){switch(t){case"iframe":case"object":Pe("topLoad","load",e);break;case"video":case"audio":for(var a in oa)oa.hasOwnProperty(a)&&Pe(a,oa[a],e);break;case"source":Pe("topError","error",e);break;case"img":case"image":Pe("topError","error",e),Pe("topLoad","load",e);break;case"form":Pe("topReset","reset",e),Pe("topSubmit","submit",e);break;case"details":Pe("topToggle","toggle",e);break;case"input":Ht(e,n),Pe("topInvalid","invalid",e),an(o,"onChange");break;case"select":Gt(e,n),Pe("topInvalid","invalid",e),an(o,"onChange");break;case"textarea":Xt(e,n),Pe("topInvalid","invalid",e),an(o,"onChange")}rn(t,n,ra),r=null;for(var i in n)n.hasOwnProperty(i)&&(a=n[i],"children"===i?"string"==typeof a?e.textContent!==a&&(r=["children",a]):"number"==typeof a&&e.textContent!==""+a&&(r=["children",""+a]):Qn.hasOwnProperty(i)&&null!=a&&an(o,i));switch(t){case"input":ae(e),Wt(e,n);break;case"textarea":ae(e),Jt(e,n);break;case"select":case"option":break;default:"function"==typeof n.onClick&&(e.onclick=Cn)}return r}function dn(e,t){return e.nodeValue!==t}function mn(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function hn(e){return!(!(e=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==e.nodeType||!e.hasAttribute("data-reactroot"))}function vn(e,t,n,o,a){mn(n)||r("200");var i=n._reactRootContainer;if(i)la.updateContainer(t,i,e,a);else{if(!(o=o||hn(n)))for(i=void 0;i=n.lastChild;)n.removeChild(i);var u=la.createContainer(n,o);i=n._reactRootContainer=u,la.unbatchedUpdates(function(){la.updateContainer(t,u,e,a)})}return la.getPublicRootInstance(i)}function gn(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;return mn(t)||r("200"),At(e,t,null,n)}function yn(e,t){this._reactRootContainer=la.createContainer(e,t)}/** @license React v16.2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
* react-dom.production.min.js
|
16 |
*
|
17 |
* Copyright (c) 2013-present, Facebook, Inc.
|
@@ -19,10 +4586,6914 @@ var y=n(59),b=n(60),_=n(24),w="function"==typeof Symbol&&Symbol.for,C=w?Symbol.f
|
|
19 |
* This source code is licensed under the MIT license found in the
|
20 |
* LICENSE file in the root directory of this source tree.
|
21 |
*/
|
22 |
-
var bn=n(0),_n=n(120),wn=n(59),Cn=n(24),En=n(121),kn=n(122),On=n(123),Nn=n(124),xn=n(127),Sn=n(60);bn||r("227");var Tn={children:!0,dangerouslySetInnerHTML:!0,defaultValue:!0,defaultChecked:!0,innerHTML:!0,suppressContentEditableWarning:!0,suppressHydrationWarning:!0,style:!0},Pn={MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32,HAS_STRING_BOOLEAN_VALUE:64,injectDOMPropertyConfig:function(e){var t=Pn,n=e.Properties||{},a=e.DOMAttributeNamespaces||{},i=e.DOMAttributeNames||{};e=e.DOMMutationMethods||{};for(var u in n){In.hasOwnProperty(u)&&r("48",u);var l=u.toLowerCase(),s=n[u];l={attributeName:l,attributeNamespace:null,propertyName:u,mutationMethod:null,mustUseProperty:o(s,t.MUST_USE_PROPERTY),hasBooleanValue:o(s,t.HAS_BOOLEAN_VALUE),hasNumericValue:o(s,t.HAS_NUMERIC_VALUE),hasPositiveNumericValue:o(s,t.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:o(s,t.HAS_OVERLOADED_BOOLEAN_VALUE),hasStringBooleanValue:o(s,t.HAS_STRING_BOOLEAN_VALUE)},1>=l.hasBooleanValue+l.hasNumericValue+l.hasOverloadedBooleanValue||r("50",u),i.hasOwnProperty(u)&&(l.attributeName=i[u]),a.hasOwnProperty(u)&&(l.attributeNamespace=a[u]),e.hasOwnProperty(u)&&(l.mutationMethod=e[u]),In[u]=l}}},In={},jn=Pn,Mn=jn.MUST_USE_PROPERTY,Rn=jn.HAS_BOOLEAN_VALUE,An=jn.HAS_NUMERIC_VALUE,Dn=jn.HAS_POSITIVE_NUMERIC_VALUE,Fn=jn.HAS_OVERLOADED_BOOLEAN_VALUE,Ln=jn.HAS_STRING_BOOLEAN_VALUE,Un={Properties:{allowFullScreen:Rn,async:Rn,autoFocus:Rn,autoPlay:Rn,capture:Fn,checked:Mn|Rn,cols:Dn,contentEditable:Ln,controls:Rn,default:Rn,defer:Rn,disabled:Rn,download:Fn,draggable:Ln,formNoValidate:Rn,hidden:Rn,loop:Rn,multiple:Mn|Rn,muted:Mn|Rn,noValidate:Rn,open:Rn,playsInline:Rn,readOnly:Rn,required:Rn,reversed:Rn,rows:Dn,rowSpan:An,scoped:Rn,seamless:Rn,selected:Mn|Rn,size:Dn,start:An,span:Dn,spellCheck:Ln,style:0,tabIndex:0,itemScope:Rn,acceptCharset:0,className:0,htmlFor:0,httpEquiv:0,value:Ln},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMMutationMethods:{value:function(e,t){if(null==t)return e.removeAttribute("value");"number"!==e.type||!1===e.hasAttribute("value")?e.setAttribute("value",""+t):e.validity&&!e.validity.badInput&&e.ownerDocument.activeElement!==e&&e.setAttribute("value",""+t)}}},Bn=jn.HAS_STRING_BOOLEAN_VALUE,Hn={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},zn={Properties:{autoReverse:Bn,externalResourcesRequired:Bn,preserveAlpha:Bn},DOMAttributeNames:{autoReverse:"autoReverse",externalResourcesRequired:"externalResourcesRequired",preserveAlpha:"preserveAlpha"},DOMAttributeNamespaces:{xlinkActuate:Hn.xlink,xlinkArcrole:Hn.xlink,xlinkHref:Hn.xlink,xlinkRole:Hn.xlink,xlinkShow:Hn.xlink,xlinkTitle:Hn.xlink,xlinkType:Hn.xlink,xmlBase:Hn.xml,xmlLang:Hn.xml,xmlSpace:Hn.xml}},Vn=/[\-\:]([a-z])/g;"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 x-height xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type xml:base xmlns:xlink xml:lang xml:space".split(" ").forEach(function(e){var t=e.replace(Vn,u);zn.Properties[t]=0,zn.DOMAttributeNames[t]=e}),jn.injectDOMPropertyConfig(Un),jn.injectDOMPropertyConfig(zn);var Wn={_caughtError:null,_hasCaughtError:!1,_rethrowError:null,_hasRethrowError:!1,injection:{injectErrorUtils:function(e){"function"!=typeof e.invokeGuardedCallback&&r("197"),l=e.invokeGuardedCallback}},invokeGuardedCallback:function(e,t,n,r,o,a,i,u,s){l.apply(Wn,arguments)},invokeGuardedCallbackAndCatchFirstError:function(e,t,n,r,o,a,i,u,l){if(Wn.invokeGuardedCallback.apply(this,arguments),Wn.hasCaughtError()){var s=Wn.clearCaughtError();Wn._hasRethrowError||(Wn._hasRethrowError=!0,Wn._rethrowError=s)}},rethrowCaughtError:function(){return s.apply(Wn,arguments)},hasCaughtError:function(){return Wn._hasCaughtError},clearCaughtError:function(){if(Wn._hasCaughtError){var e=Wn._caughtError;return Wn._caughtError=null,Wn._hasCaughtError=!1,e}r("198")}},qn=null,Kn={},$n=[],Gn={},Qn={},Xn={},Yn=Object.freeze({plugins:$n,eventNameDispatchConfigs:Gn,registrationNameModules:Qn,registrationNameDependencies:Xn,possibleRegistrationNames:null,injectEventPluginOrder:p,injectEventPluginsByName:d}),Jn=null,Zn=null,er=null,tr=null,nr={injectEventPluginOrder:p,injectEventPluginsByName:d},rr=Object.freeze({injection:nr,getListener:_,extractEvents:w,enqueueEvents:C,processEventQueue:E}),or=Math.random().toString(36).slice(2),ar="__reactInternalInstance$"+or,ir="__reactEventHandlers$"+or,ur=Object.freeze({precacheFiberNode:function(e,t){t[ar]=e},getClosestInstanceFromNode:k,getInstanceFromNode:function(e){return e=e[ar],!e||5!==e.tag&&6!==e.tag?null:e},getNodeFromInstance:O,getFiberCurrentPropsFromNode:N,updateFiberProps:function(e,t){e[ir]=t}}),lr=Object.freeze({accumulateTwoPhaseDispatches:R,accumulateTwoPhaseDispatchesSkipTarget:function(e){v(e,I)},accumulateEnterLeaveDispatches:A,accumulateDirectDispatches:function(e){v(e,M)}}),sr=null,cr={_root:null,_startText:null,_fallbackText:null},fr="dispatchConfig _targetInst nativeEvent isDefaultPrevented isPropagationStopped _dispatchListeners _dispatchInstances".split(" "),pr={type:null,target:null,currentTarget:Cn.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};wn(U.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Cn.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Cn.thatReturnsTrue)},persist:function(){this.isPersistent=Cn.thatReturnsTrue},isPersistent:Cn.thatReturnsFalse,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;for(t=0;t<fr.length;t++)this[fr[t]]=null}}),U.Interface=pr,U.augmentClass=function(e,t){function n(){}n.prototype=this.prototype;var r=new n;wn(r,e.prototype),e.prototype=r,e.prototype.constructor=e,e.Interface=wn({},this.Interface,t),e.augmentClass=this.augmentClass,z(e)},z(U),U.augmentClass(V,{data:null}),U.augmentClass(W,{data:null});var dr=[9,13,27,32],mr=_n.canUseDOM&&"CompositionEvent"in window,hr=null;_n.canUseDOM&&"documentMode"in document&&(hr=document.documentMode);var vr;if(vr=_n.canUseDOM&&"TextEvent"in window&&!hr){var gr=window.opera;vr=!("object"==typeof gr&&"function"==typeof gr.version&&12>=parseInt(gr.version(),10))}var yr,br=vr,_r=_n.canUseDOM&&(!mr||hr&&8<hr&&11>=hr),wr=String.fromCharCode(32),Cr={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"topBlur topCompositionEnd topKeyDown topKeyPress topKeyUp topMouseDown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"topBlur topCompositionStart topKeyDown topKeyPress topKeyUp topMouseDown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"topBlur topCompositionUpdate topKeyDown topKeyPress topKeyUp topMouseDown".split(" ")}},Er=!1,kr=!1,Or={eventTypes:Cr,extractEvents:function(e,t,n,r){var o;if(mr)e:{switch(e){case"topCompositionStart":var a=Cr.compositionStart;break e;case"topCompositionEnd":a=Cr.compositionEnd;break e;case"topCompositionUpdate":a=Cr.compositionUpdate;break e}a=void 0}else kr?q(e,n)&&(a=Cr.compositionEnd):"topKeyDown"===e&&229===n.keyCode&&(a=Cr.compositionStart);return a?(_r&&(kr||a!==Cr.compositionStart?a===Cr.compositionEnd&&kr&&(o=F()):(cr._root=r,cr._startText=L(),kr=!0)),a=V.getPooled(a,t,n,r),o?a.data=o:null!==(o=K(n))&&(a.data=o),R(a),o=a):o=null,(e=br?$(e,n):G(e,n))?(t=W.getPooled(Cr.beforeInput,t,n,r),t.data=e,R(t)):t=null,[o,t]}},Nr=null,xr=null,Sr=null,Tr={injectFiberControlledHostComponent:function(e){Nr=e}},Pr=Object.freeze({injection:Tr,enqueueStateRestore:X,restoreStateIfNeeded:Y}),Ir=!1,jr={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};_n.canUseDOM&&(yr=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("",""));var Mr={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"topBlur topChange topClick topFocus topInput topKeyDown topKeyUp topSelectionChange".split(" ")}},Rr=null,Ar=null,Dr=!1;_n.canUseDOM&&(Dr=ne("input")&&(!document.documentMode||9<document.documentMode));var Fr={eventTypes:Mr,_isInputEventSupported:Dr,extractEvents:function(e,t,n,r){var o=t?O(t):window,a=o.nodeName&&o.nodeName.toLowerCase();if("select"===a||"input"===a&&"file"===o.type)var i=ce;else if(ee(o))if(Dr)i=ve;else{i=me;var u=de}else!(a=o.nodeName)||"input"!==a.toLowerCase()||"checkbox"!==o.type&&"radio"!==o.type||(i=he);if(i&&(i=i(e,t)))return ue(i,n,r);u&&u(e,o,t),"topBlur"===e&&null!=t&&(e=t._wrapperState||o._wrapperState)&&e.controlled&&"number"===o.type&&(e=""+o.value,o.getAttribute("value")!==e&&o.setAttribute("value",e))}};U.augmentClass(ge,{view:null,detail:null});var Lr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};ge.augmentClass(_e,{screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:be,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)}});var Ur={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},Br={eventTypes:Ur,extractEvents:function(e,t,n,r){if("topMouseOver"===e&&(n.relatedTarget||n.fromElement)||"topMouseOut"!==e&&"topMouseOver"!==e)return null;var o=r.window===r?r:(o=r.ownerDocument)?o.defaultView||o.parentWindow:window;if("topMouseOut"===e?(e=t,t=(t=n.relatedTarget||n.toElement)?k(t):null):e=null,e===t)return null;var a=null==e?o:O(e);o=null==t?o:O(t);var i=_e.getPooled(Ur.mouseLeave,e,n,r);return i.type="mouseleave",i.target=a,i.relatedTarget=o,n=_e.getPooled(Ur.mouseEnter,t,n,r),n.type="mouseenter",n.target=o,n.relatedTarget=a,A(i,n,e,t),[i,n]}},Hr=bn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,zr=[],Vr=!0,Wr=void 0,qr=Object.freeze({get _enabled(){return Vr},get _handleTopLevel(){return Wr},setHandleTopLevel:function(e){Wr=e},setEnabled:Te,isEnabled:function(){return Vr},trapBubbledEvent:Pe,trapCapturedEvent:Ie,dispatchEvent:je}),Kr={animationend:Me("Animation","AnimationEnd"),animationiteration:Me("Animation","AnimationIteration"),animationstart:Me("Animation","AnimationStart"),transitionend:Me("Transition","TransitionEnd")},$r={},Gr={};_n.canUseDOM&&(Gr=document.createElement("div").style,"AnimationEvent"in window||(delete Kr.animationend.animation,delete Kr.animationiteration.animation,delete Kr.animationstart.animation),"TransitionEvent"in window||delete Kr.transitionend.transition);var Qr={topAbort:"abort",topAnimationEnd:Re("animationend")||"animationend",topAnimationIteration:Re("animationiteration")||"animationiteration",topAnimationStart:Re("animationstart")||"animationstart",topBlur:"blur",topCancel:"cancel",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topClose:"close",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoad:"load",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topToggle:"toggle",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:Re("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},Xr={},Yr=0,Jr="_reactListenersID"+(""+Math.random()).slice(2),Zr=_n.canUseDOM&&"documentMode"in document&&11>=document.documentMode,eo={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"topBlur topContextMenu topFocus topKeyDown topKeyUp topMouseDown topMouseUp topSelectionChange".split(" ")}},to=null,no=null,ro=null,oo=!1,ao={eventTypes:eo,extractEvents:function(e,t,n,r){var o,a=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(o=!a)){e:{a=Ae(a),o=Xn.onSelect;for(var i=0;i<o.length;i++){var u=o[i];if(!a.hasOwnProperty(u)||!a[u]){a=!1;break e}}a=!0}o=!a}if(o)return null;switch(a=t?O(t):window,e){case"topFocus":(ee(a)||"true"===a.contentEditable)&&(to=a,no=t,ro=null);break;case"topBlur":ro=no=to=null;break;case"topMouseDown":oo=!0;break;case"topContextMenu":case"topMouseUp":return oo=!1,Ue(n,r);case"topSelectionChange":if(Zr)break;case"topKeyDown":case"topKeyUp":return Ue(n,r)}return null}};U.augmentClass(Be,{animationName:null,elapsedTime:null,pseudoElement:null}),U.augmentClass(He,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ge.augmentClass(ze,{relatedTarget:null});var io={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},uo={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"};ge.augmentClass(We,{key:function(e){if(e.key){var t=io[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?(e=Ve(e),13===e?"Enter":String.fromCharCode(e)):"keydown"===e.type||"keyup"===e.type?uo[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:be,charCode:function(e){return"keypress"===e.type?Ve(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Ve(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),_e.augmentClass(qe,{dataTransfer:null}),ge.augmentClass(Ke,{touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:be}),U.augmentClass($e,{propertyName:null,elapsedTime:null,pseudoElement:null}),_e.augmentClass(Ge,{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});var lo={},so={};"abort animationEnd animationIteration animationStart blur cancel canPlay canPlayThrough click close contextMenu copy cut doubleClick drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error focus input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing progress rateChange reset scroll seeked seeking stalled submit suspend timeUpdate toggle touchCancel touchEnd touchMove touchStart transitionEnd volumeChange waiting wheel".split(" ").forEach(function(e){var t=e[0].toUpperCase()+e.slice(1),n="on"+t;t="top"+t,n={phasedRegistrationNames:{bubbled:n,captured:n+"Capture"},dependencies:[t]},lo[e]=n,so[t]=n});var co={eventTypes:lo,extractEvents:function(e,t,n,r){var o=so[e];if(!o)return null;switch(e){case"topKeyPress":if(0===Ve(n))return null;case"topKeyDown":case"topKeyUp":e=We;break;case"topBlur":case"topFocus":e=ze;break;case"topClick":if(2===n.button)return null;case"topDoubleClick":case"topMouseDown":case"topMouseMove":case"topMouseUp":case"topMouseOut":case"topMouseOver":case"topContextMenu":e=_e;break;case"topDrag":case"topDragEnd":case"topDragEnter":case"topDragExit":case"topDragLeave":case"topDragOver":case"topDragStart":case"topDrop":e=qe;break;case"topTouchCancel":case"topTouchEnd":case"topTouchMove":case"topTouchStart":e=Ke;break;case"topAnimationEnd":case"topAnimationIteration":case"topAnimationStart":e=Be;break;case"topTransitionEnd":e=$e;break;case"topScroll":e=ge;break;case"topWheel":e=Ge;break;case"topCopy":case"topCut":case"topPaste":e=He;break;default:e=U}return t=e.getPooled(o,t,n,r),R(t),t}};Wr=function(e,t,n,r){e=w(e,t,n,r),C(e),E(!1)},nr.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin TapEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),Jn=ur.getFiberCurrentPropsFromNode,Zn=ur.getInstanceFromNode,er=ur.getNodeFromInstance,nr.injectEventPluginsByName({SimpleEventPlugin:co,EnterLeaveEventPlugin:Br,ChangeEventPlugin:Fr,SelectEventPlugin:ao,BeforeInputEventPlugin:Or});var fo=[],po=-1;new Set;var mo={current:Sn},ho={current:!1},vo=Sn,go=null,yo=null,bo="function"==typeof Symbol&&Symbol.for,_o=bo?Symbol.for("react.element"):60103,wo=bo?Symbol.for("react.call"):60104,Co=bo?Symbol.for("react.return"):60105,Eo=bo?Symbol.for("react.portal"):60106,ko=bo?Symbol.for("react.fragment"):60107,Oo="function"==typeof Symbol&&Symbol.iterator,No=Array.isArray,xo=xt(!0),So=xt(!1),To={},Po=Object.freeze({default:Rt}),Io=Po&&Rt||Po,jo=Io.default?Io.default:Io,Mo="object"==typeof performance&&"function"==typeof performance.now,Ro=void 0;Ro=Mo?function(){return performance.now()}:function(){return Date.now()};var Ao=void 0,Do=void 0;if(_n.canUseDOM)if("function"!=typeof requestIdleCallback||"function"!=typeof cancelIdleCallback){var Fo,Lo=null,Uo=!1,Bo=-1,Ho=!1,zo=0,Vo=33,Wo=33;Fo=Mo?{didTimeout:!1,timeRemaining:function(){var e=zo-performance.now();return 0<e?e:0}}:{didTimeout:!1,timeRemaining:function(){var e=zo-Date.now();return 0<e?e:0}};var qo="__reactIdleCallback$"+Math.random().toString(36).slice(2);window.addEventListener("message",function(e){if(e.source===window&&e.data===qo){if(Uo=!1,e=Ro(),0>=zo-e){if(!(-1!==Bo&&Bo<=e))return void(Ho||(Ho=!0,requestAnimationFrame(Ko)));Fo.didTimeout=!0}else Fo.didTimeout=!1;Bo=-1,e=Lo,Lo=null,null!==e&&e(Fo)}},!1);var Ko=function(e){Ho=!1;var t=e-zo+Wo;t<Wo&&Vo<Wo?(8>t&&(t=8),Wo=t<Vo?Vo:t):Vo=t,zo=e+Wo,Uo||(Uo=!0,window.postMessage(qo,"*"))};Ao=function(e,t){return Lo=e,null!=t&&"number"==typeof t.timeout&&(Bo=Ro()+t.timeout),Ho||(Ho=!0,requestAnimationFrame(Ko)),0},Do=function(){Lo=null,Uo=!1,Bo=-1}}else Ao=window.requestIdleCallback,Do=window.cancelIdleCallback;else Ao=function(e){return setTimeout(function(){e({timeRemaining:function(){return 1/0}})})},Do=function(e){clearTimeout(e)};var $o=/^[: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]*$/,Go={},Qo={},Xo={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"},Yo=void 0,Jo=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!==Xo.svg||"innerHTML"in e)e.innerHTML=t;else{for(Yo=Yo||document.createElement("div"),Yo.innerHTML="<svg>"+t+"</svg>",t=Yo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}),Zo={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,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},ea=["Webkit","ms","Moz","O"];Object.keys(Zo).forEach(function(e){ea.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Zo[t]=Zo[e]})});var ta=wn({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}),na=Xo.html,ra=Cn.thatReturns(""),oa={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},aa=Object.freeze({createElement:un,createTextNode:ln,setInitialProperties:sn,diffProperties:cn,updateProperties:fn,diffHydratedProperties:pn,diffHydratedText:dn,warnForUnmatchedText:function(){},warnForDeletedHydratableElement:function(){},warnForDeletedHydratableText:function(){},warnForInsertedHydratedElement:function(){},warnForInsertedHydratedText:function(){},restoreControlledState:function(e,t,n){switch(t){case"input":if(Vt(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 o=n[t];if(o!==e&&o.form===e.form){var a=N(o);a||r("90"),ie(o),Vt(o,a)}}}break;case"textarea":Yt(e,n);break;case"select":null!=(t=n.value)&&$t(e,!!n.multiple,t,!1)}}});Tr.injectFiberControlledHostComponent(aa);var ia=null,ua=null,la=jo({getRootHostContext:function(e){var t=e.nodeType;switch(t){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:en(null,"");break;default:t=8===t?e.parentNode:e,e=t.namespaceURI||null,t=t.tagName,e=en(e,t)}return e},getChildHostContext:function(e,t){return en(e,t)},getPublicInstance:function(e){return e},prepareForCommit:function(){ia=Vr;var e=kn();if(Le(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{var n=window.getSelection&&window.getSelection();if(n&&0!==n.rangeCount){t=n.anchorNode;var r=n.anchorOffset,o=n.focusNode;n=n.focusOffset;try{t.nodeType,o.nodeType}catch(e){t=null;break e}var a=0,i=-1,u=-1,l=0,s=0,c=e,f=null;t:for(;;){for(var p;c!==t||0!==r&&3!==c.nodeType||(i=a+r),c!==o||0!==n&&3!==c.nodeType||(u=a+n),3===c.nodeType&&(a+=c.nodeValue.length),null!==(p=c.firstChild);)f=c,c=p;for(;;){if(c===e)break t;if(f===t&&++l===r&&(i=a),f===o&&++s===n&&(u=a),null!==(p=c.nextSibling))break;c=f,f=c.parentNode}c=p}t=-1===i||-1===u?null:{start:i,end:u}}else t=null}t=t||{start:0,end:0}}else t=null;ua={focusedElem:e,selectionRange:t},Te(!1)},resetAfterCommit:function(){var e=ua,t=kn(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&Nn(document.documentElement,n)){if(Le(n))if(t=r.start,e=r.end,void 0===e&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(window.getSelection){t=window.getSelection();var o=n[D()].length;e=Math.min(r.start,o),r=void 0===r.end?e:Math.min(r.end,o),!t.extend&&e>r&&(o=r,r=e,e=o),o=Fe(n,e);var a=Fe(n,r);if(o&&a&&(1!==t.rangeCount||t.anchorNode!==o.node||t.anchorOffset!==o.offset||t.focusNode!==a.node||t.focusOffset!==a.offset)){var i=document.createRange();i.setStart(o.node,o.offset),t.removeAllRanges(),e>r?(t.addRange(i),t.extend(a.node,a.offset)):(i.setEnd(a.node,a.offset),t.addRange(i))}}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(xn(n),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}ua=null,Te(ia),ia=null},createInstance:function(e,t,n,r,o){return e=un(e,t,n,r),e[ar]=o,e[ir]=t,e},appendInitialChild:function(e,t){e.appendChild(t)},finalizeInitialChildren:function(e,t,n,r){sn(e,t,n,r);e:{switch(t){case"button":case"input":case"select":case"textarea":e=!!n.autoFocus;break e}e=!1}return e},prepareUpdate:function(e,t,n,r,o){return cn(e,t,n,r,o)},shouldSetTextContent:function(e,t){return"textarea"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&"string"==typeof t.dangerouslySetInnerHTML.__html},shouldDeprioritizeSubtree:function(e,t){return!!t.hidden},createTextInstance:function(e,t,n,r){return e=ln(e,t),e[ar]=r,e},now:Ro,mutation:{commitMount:function(e){e.focus()},commitUpdate:function(e,t,n,r,o){e[ir]=o,fn(e,t,n,r,o)},resetTextContent:function(e){e.textContent=""},commitTextUpdate:function(e,t,n){e.nodeValue=n},appendChild:function(e,t){e.appendChild(t)},appendChildToContainer:function(e,t){8===e.nodeType?e.parentNode.insertBefore(t,e):e.appendChild(t)},insertBefore:function(e,t,n){e.insertBefore(t,n)},insertInContainerBefore:function(e,t,n){8===e.nodeType?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},removeChildFromContainer:function(e,t){8===e.nodeType?e.parentNode.removeChild(t):e.removeChild(t)}},hydration:{canHydrateInstance:function(e,t){return 1!==e.nodeType||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e},canHydrateTextInstance:function(e,t){return""===t||3!==e.nodeType?null:e},getNextHydratableSibling:function(e){for(e=e.nextSibling;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e},getFirstHydratableChild:function(e){for(e=e.firstChild;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e},hydrateInstance:function(e,t,n,r,o,a){return e[ar]=a,e[ir]=n,pn(e,t,n,o,r)},hydrateTextInstance:function(e,t,n){return e[ar]=n,dn(e,t)},didNotMatchHydratedContainerTextInstance:function(){},didNotMatchHydratedTextInstance:function(){},didNotHydrateContainerInstance:function(){},didNotHydrateInstance:function(){},didNotFindHydratableContainerInstance:function(){},didNotFindHydratableContainerTextInstance:function(){},didNotFindHydratableInstance:function(){},didNotFindHydratableTextInstance:function(){}},scheduleDeferredCallback:Ao,cancelDeferredCallback:Do,useSyncScheduling:!0});J=la.batchedUpdates,yn.prototype.render=function(e,t){la.updateContainer(e,this._reactRootContainer,null,t)},yn.prototype.unmount=function(e){la.updateContainer(null,this._reactRootContainer,null,e)};var sa={createPortal:gn,findDOMNode:function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(t)return la.findHostInstance(t);"function"==typeof e.render?r("188"):r("213",Object.keys(e))},hydrate:function(e,t,n){return vn(null,e,t,!0,n)},render:function(e,t,n){return vn(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,o){return(null==e||void 0===e._reactInternalFiber)&&r("38"),vn(e,t,n,!1,o)},unmountComponentAtNode:function(e){return mn(e)||r("40"),!!e._reactRootContainer&&(la.unbatchedUpdates(function(){vn(null,null,e,!1,function(){e._reactRootContainer=null})}),!0)},unstable_createPortal:gn,unstable_batchedUpdates:Z,unstable_deferredUpdates:la.deferredUpdates,flushSync:la.flushSync,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{EventPluginHub:rr,EventPluginRegistry:Yn,EventPropagators:lr,ReactControlledComponent:Pr,ReactDOMComponentTree:ur,ReactDOMEventListener:qr}};la.injectIntoDevTools({findFiberByHostInstance:k,bundleType:0,version:"16.2.0",rendererPackageName:"react-dom"});var ca=Object.freeze({default:sa}),fa=ca&&sa||ca;e.exports=fa.default?fa.default:fa},function(e,t,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};e.exports=o},function(e,t,n){"use strict";var r=n(24),o={listen:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!1),{remove:function(){e.removeEventListener(t,n,!1)}}):e.attachEvent?(e.attachEvent("on"+t,n),{remove:function(){e.detachEvent("on"+t,n)}}):void 0},capture:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!0),{remove:function(){e.removeEventListener(t,n,!0)}}):{remove:r}},registerDefault:function(){}};e.exports=o},function(e,t,n){"use strict";function r(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}}e.exports=r},function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!==e&&t!==t}function o(e,t){if(r(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var i=0;i<n.length;i++)if(!a.call(t,n[i])||!r(e[n[i]],t[n[i]]))return!1;return!0}var a=Object.prototype.hasOwnProperty;e.exports=o},function(e,t,n){"use strict";function r(e,t){return!(!e||!t)&&(e===t||!o(e)&&(o(t)?r(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var o=n(125);e.exports=r},function(e,t,n){"use strict";function r(e){return o(e)&&3==e.nodeType}var o=n(126);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e?e.ownerDocument||e:document,n=t.defaultView||window;return!(!e||!("function"==typeof n.Node?e instanceof n.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=r},function(e,t,n){"use strict";function r(e){try{e.focus()}catch(e){}}e.exports=r},function(e,t,n){"use strict";function r(e){var t=new i(e),n=a(i.prototype.request,t);return o.extend(n,i.prototype,t),o.extend(n,t),n}var o=n(9),a=n(61),i=n(130),u=n(40),l=r(u);l.Axios=i,l.create=function(e){return r(o.merge(u,e))},l.Cancel=n(66),l.CancelToken=n(144),l.isCancel=n(65),l.all=function(e){return Promise.all(e)},l.spread=n(145),e.exports=l,e.exports.default=l},function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function r(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}/*!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
* Determine if an object is a Buffer
|
24 |
*
|
25 |
* @author Feross Aboukhadijeh <https://feross.org>
|
26 |
* @license MIT
|
27 |
*/
|
28 |
-
e.exports=function(e){return null!=e&&(n(e)||r(e)||!!e._isBuffer)}},function(e,t,n){"use strict";function r(e){this.defaults=e,this.interceptors={request:new i,response:new i}}var o=n(40),a=n(9),i=n(139),u=n(140);r.prototype.request=function(e){"string"==typeof e&&(e=a.merge({url:arguments[0]},arguments[1])),e=a.merge(o,this.defaults,{method:"get"},e),e.method=e.method.toLowerCase();var t=[u,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n},a.forEach(["delete","get","head","options"],function(e){r.prototype[e]=function(t,n){return this.request(a.merge(n||{},{method:e,url:t}))}}),a.forEach(["post","put","patch"],function(e){r.prototype[e]=function(t,n,r){return this.request(a.merge(r||{},{method:e,url:t,data:n}))}}),e.exports=r},function(e,t,n){"use strict";var r=n(9);e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},function(e,t,n){"use strict";var r=n(64);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e}},function(e,t,n){"use strict";function r(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var o=n(9);e.exports=function(e,t,n){if(!t)return e;var a;if(n)a=n(t);else if(o.isURLSearchParams(t))a=t.toString();else{var i=[];o.forEach(t,function(e,t){null!==e&&void 0!==e&&(o.isArray(e)&&(t+="[]"),o.isArray(e)||(e=[e]),o.forEach(e,function(e){o.isDate(e)?e=e.toISOString():o.isObject(e)&&(e=JSON.stringify(e)),i.push(r(t)+"="+r(e))}))}),a=i.join("&")}return a&&(e+=(-1===e.indexOf("?")?"?":"&")+a),e}},function(e,t,n){"use strict";var r=n(9),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,a,i={};return e?(r.forEach(e.split("\n"),function(e){if(a=e.indexOf(":"),t=r.trim(e.substr(0,a)).toLowerCase(),n=r.trim(e.substr(a+1)),t){if(i[t]&&o.indexOf(t)>=0)return;i[t]="set-cookie"===t?(i[t]?i[t]:[]).concat([n]):i[t]?i[t]+", "+n:n}}),i):i}},function(e,t,n){"use strict";var r=n(9);e.exports=r.isStandardBrowserEnv()?function(){function e(e){var t=e;return n&&(o.setAttribute("href",t),t=o.href),o.setAttribute("href",t),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}var t,n=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");return t=e(window.location.href),function(n){var o=r.isString(n)?e(n):n;return o.protocol===t.protocol&&o.host===t.host}}():function(){return function(){return!0}}()},function(e,t,n){"use strict";function r(){this.message="String contains an invalid character"}function o(e){for(var t,n,o=String(e),i="",u=0,l=a;o.charAt(0|u)||(l="=",u%1);i+=l.charAt(63&t>>8-u%1*8)){if((n=o.charCodeAt(u+=.75))>255)throw new r;t=t<<8|n}return i}var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.prototype=new Error,r.prototype.code=5,r.prototype.name="InvalidCharacterError",e.exports=o},function(e,t,n){"use strict";var r=n(9);e.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,n,o,a,i){var u=[];u.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),r.isString(o)&&u.push("path="+o),r.isString(a)&&u.push("domain="+a),!0===i&&u.push("secure"),document.cookie=u.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(e,t,n){"use strict";function r(){this.handlers=[]}var o=n(9);r.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){o.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=r},function(e,t,n){"use strict";function r(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var o=n(9),a=n(141),i=n(65),u=n(40),l=n(142),s=n(143);e.exports=function(e){return r(e),e.baseURL&&!l(e.url)&&(e.url=s(e.baseURL,e.url)),e.headers=e.headers||{},e.data=a(e.data,e.headers,e.transformRequest),e.headers=o.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),o.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||u.adapter)(e).then(function(t){return r(e),t.data=a(t.data,t.headers,e.transformResponse),t},function(t){return i(t)||(r(e),t&&t.response&&(t.response.data=a(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},function(e,t,n){"use strict";var r=n(9);e.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";function r(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new o(e),t(n.reason))})}var o=n(66);r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var e;return{token:new r(function(t){e=t}),cancel:e}},e.exports=r},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";function r(e){return null==e?void 0===e?l:u:s&&s in Object(e)?Object(a.a)(e):Object(i.a)(e)}var o=n(68),a=n(149),i=n(150),u="[object Null]",l="[object Undefined]",s=o.a?o.a.toStringTag:void 0;t.a=r},function(e,t,n){"use strict";var r=n(148),o="object"==typeof self&&self&&self.Object===Object&&self,a=r.a||o||Function("return this")();t.a=a},function(e,t,n){"use strict";(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.a=n}).call(t,n(43))},function(e,t,n){"use strict";function r(e){var t=i.call(e,l),n=e[l];try{e[l]=void 0;var r=!0}catch(e){}var o=u.call(e);return r&&(t?e[l]=n:delete e[l]),o}var o=n(68),a=Object.prototype,i=a.hasOwnProperty,u=a.toString,l=o.a?o.a.toStringTag:void 0;t.a=r},function(e,t,n){"use strict";function r(e){return a.call(e)}var o=Object.prototype,a=o.toString;t.a=r},function(e,t,n){"use strict";var r=n(152),o=Object(r.a)(Object.getPrototypeOf,Object);t.a=o},function(e,t,n){"use strict";function r(e,t){return function(n){return e(t(n))}}t.a=r},function(e,t,n){"use strict";function r(e){return null!=e&&"object"==typeof e}t.a=r},function(e,t,n){e.exports=n(155)},function(e,t,n){"use strict";(function(e,r){Object.defineProperty(t,"__esModule",{value:!0});var o,a=n(157),i=function(e){return e&&e.__esModule?e:{default:e}}(a);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var u=(0,i.default)(o);t.default=u}).call(t,n(43),n(156)(e))},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 r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e,t){var n=t&&t.type;return"Given action "+(n&&'"'+n.toString()+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function o(e){Object.keys(e).forEach(function(t){var n=e[t];if(void 0===n(void 0,{type:i.a.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:"@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".")}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+i.a.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')})}function a(e){for(var t=Object.keys(e),n={},a=0;a<t.length;a++){var i=t[a];"function"==typeof e[i]&&(n[i]=e[i])}var u=Object.keys(n),l=void 0;try{o(n)}catch(e){l=e}return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];if(l)throw l;for(var o=!1,a={},i=0;i<u.length;i++){var s=u[i],c=n[s],f=e[s],p=c(f,t);if(void 0===p){var d=r(s,t);throw new Error(d)}a[s]=p,o=o||p!==f}return o?a:e}}t.a=a;var i=n(67);n(42),n(69)},function(e,t,n){"use strict";function r(e,t){return function(){return t(e.apply(void 0,arguments))}}function o(e,t){if("function"==typeof e)return r(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var n=Object.keys(e),o={},a=0;a<n.length;a++){var i=n[a],u=e[i];"function"==typeof u&&(o[i]=r(u,t))}return o}t.a=o},function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(n,r,i){var u=e(n,r,i),l=u.dispatch,s=[],c={getState:u.getState,dispatch:function(e){return l(e)}};return s=t.map(function(e){return e(c)}),l=o.a.apply(void 0,s)(u.dispatch),a({},u,{dispatch:l})}}}t.a=r;var o=n(70),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(41),o=n(162),a=function(e){return e&&e.__esModule?e:{default:e}}(o),i=(0,r.combineReducers)({options:a.default});t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1];switch(t.type){case r.FETCH_OPTIONS:case o.SAVE_OPTIONS:return t.payload.data}return e};var r=n(71),o=n(6)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return{options:e.options}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),i=r(a),u=n(2),l=r(u),s=n(3),c=r(s),f=n(4),p=r(f),d=n(5),m=r(d),h=n(0),v=r(h),g=n(71),y=n(6),b=n(7),_=n(178),w=r(_),C=n(185),E=r(C),k=n(186),O=r(k),N=n(187),x=r(N),S=n(188),T=r(S),P=n(189),I=r(P),j=n(190),M=r(j),R=n(191),A=r(R),D=n(192),F=r(D),L=n(193),U=r(L),B=n(8),H=r(B),z=function(e){function t(e){return(0,l.default)(this,t),(0,p.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e))}return(0,m.default)(t,e),(0,c.default)(t,[{key:"componentDidMount",value:function(){this.props.getOptions()}},{key:"render",value:function(){return 0===this.props.options.length?v.default.createElement(H.default,null):v.default.createElement(h.Fragment,null,v.default.createElement(E.default,null),v.default.createElement(w.default,null),v.default.createElement(O.default,null),v.default.createElement(I.default,null),v.default.createElement(M.default,null),v.default.createElement(A.default,null),v.default.createElement(F.default,null),v.default.createElement(U.default,null),v.default.createElement(x.default,null),v.default.createElement(T.default,null))}}]),t}(h.Component);t.default=(0,b.connect)(o,{getOptions:g.getOptions,saveOptions:y.saveOptions})(z)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"store",n=arguments[1],i=n||t+"Subscription",l=function(e){function n(a,i){r(this,n);var u=o(this,e.call(this,a,i));return u[t]=a.store,u}return a(n,e),n.prototype.getChildContext=function(){var e;return e={},e[t]=this[t],e[i]=null,e},n.prototype.render=function(){return u.Children.only(this.props.children)},n}(u.Component);return l.propTypes={store:c.a.isRequired,children:s.a.element.isRequired},l.childContextTypes=(e={},e[t]=c.a.isRequired,e[i]=c.b,e),l}t.a=i;var u=n(0),l=(n.n(u),n(44)),s=n.n(l),c=n(72);n(45);t.b=i()},function(e,t,n){"use strict";var r=n(24),o=n(166),a=n(167);e.exports=function(){function e(e,t,n,r,i,u){u!==a&&o(!1,"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")}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,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";function r(e,t,n,r,a,i,u,l){if(o(t),!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,a,i,u,l],f=0;s=new Error(t.replace(/%s/g,function(){return c[f++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}}var o=function(e){};e.exports=r},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a=Object.defineProperty,i=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,l=Object.getOwnPropertyDescriptor,s=Object.getPrototypeOf,c=s&&s(Object);e.exports=function e(t,n,f){if("string"!=typeof n){if(c){var p=s(n);p&&p!==c&&e(t,p,f)}var d=i(n);u&&(d=d.concat(u(n)));for(var m=0;m<d.length;++m){var h=d[m];if(!(r[h]||o[h]||f&&f[h])){var v=l(n,h);try{a(t,h,v)}catch(e){}}}return t}return t}},function(e,t,n){"use strict";var r=function(e,t,n,r,o,a,i,u){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,o,a,i,u],c=0;l=new Error(t.replace(/%s/g,function(){return s[c++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}};e.exports=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(){var e=[],t=[];return{clear:function(){t=a,e=a},notify:function(){for(var n=e=t,r=0;r<n.length;r++)n[r]()},get:function(){return t},subscribe:function(n){var r=!0;return t===e&&(t=e.slice()),t.push(n),function(){r&&e!==a&&(r=!1,t===e&&(t=e.slice()),t.splice(t.indexOf(n),1))}}}}n.d(t,"a",function(){return u});var a=null,i={notify:function(){}},u=function(){function e(t,n,o){r(this,e),this.store=t,this.parentSub=n,this.onStateChange=o,this.unsubscribe=null,this.listeners=i}return e.prototype.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},e.prototype.notifyNestedSubs=function(){this.listeners.notify()},e.prototype.isSubscribed=function(){return Boolean(this.unsubscribe)},e.prototype.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=o())},e.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=i)},e}()},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function a(e,t){return e===t}var i=n(73),u=n(172),l=n(173),s=n(174),c=n(175),f=n(176),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.connectHOC,n=void 0===t?i.a:t,d=e.mapStateToPropsFactories,m=void 0===d?s.a:d,h=e.mapDispatchToPropsFactories,v=void 0===h?l.a:h,g=e.mergePropsFactories,y=void 0===g?c.a:g,b=e.selectorFactory,_=void 0===b?f.a:b;return function(e,t,i){var l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=l.pure,c=void 0===s||s,f=l.areStatesEqual,d=void 0===f?a:f,h=l.areOwnPropsEqual,g=void 0===h?u.a:h,b=l.areStatePropsEqual,w=void 0===b?u.a:b,C=l.areMergedPropsEqual,E=void 0===C?u.a:C,k=r(l,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),O=o(e,m,"mapStateToProps"),N=o(t,v,"mapDispatchToProps"),x=o(i,y,"mergeProps");return n(_,p({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:O,initMapDispatchToProps:N,initMergeProps:x,pure:c,areStatesEqual:d,areOwnPropsEqual:g,areStatePropsEqual:w,areMergedPropsEqual:E},k))}}()},function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!==e&&t!==t}function o(e,t){if(r(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var i=0;i<n.length;i++)if(!a.call(t,n[i])||!r(e[n[i]],t[n[i]]))return!1;return!0}t.a=o;var a=Object.prototype.hasOwnProperty},function(e,t,n){"use strict";function r(e){return"function"==typeof e?Object(u.b)(e,"mapDispatchToProps"):void 0}function o(e){return e?void 0:Object(u.a)(function(e){return{dispatch:e}})}function a(e){return e&&"object"==typeof e?Object(u.a)(function(t){return Object(i.bindActionCreators)(e,t)}):void 0}var i=n(41),u=n(74);t.a=[r,o,a]},function(e,t,n){"use strict";function r(e){return"function"==typeof e?Object(a.b)(e,"mapStateToProps"):void 0}function o(e){return e?void 0:Object(a.a)(function(){return{}})}var a=n(74);t.a=[r,o]},function(e,t,n){"use strict";function r(e,t,n){return u({},n,e,t)}function o(e){return function(t,n){var r=(n.displayName,n.pure),o=n.areMergedPropsEqual,a=!1,i=void 0;return function(t,n,u){var l=e(t,n,u);return a?r&&o(l,i)||(i=l):(a=!0,i=l),i}}}function a(e){return"function"==typeof e?o(e):void 0}function i(e){return e?void 0:function(){return r}}var u=(n(75),Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e});t.a=[a,i]},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t,n,r){return function(o,a){return n(e(o,a),t(r,a),a)}}function a(e,t,n,r,o){function a(o,a){return m=o,h=a,v=e(m,h),g=t(r,h),y=n(v,g,h),d=!0,y}function i(){return v=e(m,h),t.dependsOnOwnProps&&(g=t(r,h)),y=n(v,g,h)}function u(){return e.dependsOnOwnProps&&(v=e(m,h)),t.dependsOnOwnProps&&(g=t(r,h)),y=n(v,g,h)}function l(){var t=e(m,h),r=!p(t,v);return v=t,r&&(y=n(v,g,h)),y}function s(e,t){var n=!f(t,h),r=!c(e,m);return m=e,h=t,n&&r?i():n?u():r?l():y}var c=o.areStatesEqual,f=o.areOwnPropsEqual,p=o.areStatePropsEqual,d=!1,m=void 0,h=void 0,v=void 0,g=void 0,y=void 0;return function(e,t){return d?s(e,t):a(e,t)}}function i(e,t){var n=t.initMapStateToProps,i=t.initMapDispatchToProps,u=t.initMergeProps,l=r(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),s=n(e,l),c=i(e,l),f=u(e,l);return(l.pure?a:o)(s,c,f,e,l)}t.a=i;n(177)},function(e,t,n){"use strict";n(45)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return{options:e.options,saveOptions:e.saveOptions}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),i=r(a),u=n(2),l=r(u),s=n(3),c=r(s),f=n(4),p=r(f),d=n(5),m=r(d),h=n(0),v=r(h),g=n(8),y=r(g),b=n(179),_=r(b),w=n(180),C=r(w),E=n(181),k=r(E),O=n(182),N=r(O),x=n(183),S=r(x),T=n(184),P=r(T),I=n(6),j=n(7),M=function(e){function t(e){(0,l.default)(this,t);var n=(0,p.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.onButtonClick=function(e){e.preventDefault(),n.setState({loading:!0}),n.props.saveOptions(e.target.getAttribute("data-id"),e.target.value)},n.state={loading:!1},n}return(0,m.default)(t,e),(0,c.default)(t,[{key:"componentWillReceiveProps",value:function(){this.setState({loading:!1})}},{key:"render",value:function(){var e=this.props.options;return v.default.createElement("div",{className:"eum-section"},v.default.createElement("h2",null,mpsum.I18N.automatic_updates),v.default.createElement("p",{className:"eum-description"},mpsum.I18N.automatic_updates_description),v.default.createElement("p",{className:"eum-status"},"on"==e.automatic_updates&&mpsum.I18N.automatic_updates_on_status,"off"==e.automatic_updates&&mpsum.I18N.automatic_updates_off_status,"default"==e.automatic_updates&&mpsum.I18N.automatic_updates_default_status,"custom"==e.automatic_updates&&mpsum.I18N.automatic_updates_custom_status),!this.state.loading&&v.default.createElement(h.Fragment,null,v.default.createElement("div",{class:"toggle-wrapper"},v.default.createElement("button",{"data-id":"automatic-updates-default",className:"eum-toggle-button "+("default"==e.automatic_updates?"eum-active":""),"aria-label":mpsum.I18N.default,onClick:this.onButtonClick,value:"default"},mpsum.I18N.default),v.default.createElement("button",{"data-id":"automatic-updates-on",className:"eum-toggle-button "+("on"==e.automatic_updates?"eum-active":""),"aria-label":mpsum.I18N.on,onClick:this.onButtonClick,value:"on"},mpsum.I18N.on),v.default.createElement("button",{"data-id":"automatic-updates-off",className:"eum-toggle-button "+("off"==e.automatic_updates?"eum-active":""),"aria-label":mpsum.I18N.off,onClick:this.onButtonClick,value:"off"},mpsum.I18N.off),v.default.createElement("button",{"data-id":"automatic-updates-custom",className:"eum-toggle-button "+("custom"==e.automatic_updates?"eum-active":""),"aria-label":mpsum.I18N.off,onClick:this.onButtonClick,value:"custom"},mpsum.I18N.custom))),this.state.loading&&v.default.createElement(y.default,null),"custom"==e.automatic_updates&&!this.state.loading&&v.default.createElement(h.Fragment,null,v.default.createElement(_.default,null),v.default.createElement("hr",null),v.default.createElement(C.default,null),v.default.createElement("hr",null),v.default.createElement(k.default,null),v.default.createElement("hr",null),v.default.createElement(N.default,null),v.default.createElement("hr",null),v.default.createElement(S.default,null),v.default.createElement("hr",null),v.default.createElement(P.default,null)))}}]),t}(h.Component);t.default=(0,j.connect)(o,{saveOptions:I.saveOptions})(M)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return{options:e.options,saveOptions:e.saveOptions}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),i=r(a),u=n(2),l=r(u),s=n(3),c=r(s),f=n(4),p=r(f),d=n(5),m=r(d),h=n(0),v=r(h),g=n(8),y=r(g),b=n(6),_=n(7),w=function(e){function t(e){(0,l.default)(this,t);var n=(0,p.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.onButtonClick=function(e){e.preventDefault(),n.setState({loading:!0}),n.props.saveOptions(e.target.getAttribute("data-id"),e.target.value)},n.state={loading:!1,checked:"off"},n}return(0,m.default)(t,e),(0,c.default)(t,[{key:"componentWillReceiveProps",value:function(){this.setState({loading:!1})}},{key:"render",value:function(){var e=this.props.options;return v.default.createElement("div",{className:"automatic-updates-custom"},v.default.createElement("h3",null,mpsum.I18N.major_releases),v.default.createElement("p",{className:"eum-description"},mpsum.I18N.major_releases_description),v.default.createElement("p",{className:"eum-status"},"on"==e.automatic_major_updates?mpsum.I18N.major_releases_label_on_status:mpsum.I18N.major_releases_label_off_status),!this.state.loading&&v.default.createElement("div",{className:"toggle-wrapper"},v.default.createElement("button",{"data-id":"automatic-major-updates",className:"eum-toggle-button "+("on"==e.automatic_major_updates?"eum-active":""),"aria-label":mpsum.I18N.major_releases_label_on,onClick:this.onButtonClick,value:"on"},mpsum.I18N.major_releases_label_on),v.default.createElement("button",{"data-id":"automatic-major-updates",className:"eum-toggle-button "+("off"==e.automatic_major_updates?"eum-active":""),"aria-label":mpsum.I18N.major_releases_label_off,onClick:this.onButtonClick,value:"off"},mpsum.I18N.major_releases_label_off)),this.state.loading&&v.default.createElement(y.default,null))}}]),t}(h.Component);t.default=(0,_.connect)(o,{saveOptions:b.saveOptions})(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return{options:e.options,saveOptions:e.saveOptions}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),i=r(a),u=n(2),l=r(u),s=n(3),c=r(s),f=n(4),p=r(f),d=n(5),m=r(d),h=n(0),v=r(h),g=n(8),y=r(g),b=n(6),_=n(7),w=function(e){function t(e){(0,l.default)(this,t);var n=(0,p.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.onButtonClick=function(e){e.preventDefault(),n.setState({loading:!0}),n.props.saveOptions(e.target.getAttribute("data-id"),e.target.value)},n.state={loading:!1,checked:"off"},n}return(0,m.default)(t,e),(0,c.default)(t,[{key:"componentWillReceiveProps",value:function(){this.setState({loading:!1})}},{key:"render",value:function(){var e=this.props.options;return v.default.createElement("div",{className:"automatic-updates-custom"},v.default.createElement("h3",null,mpsum.I18N.minor_releases),v.default.createElement("p",{className:"eum-description"},mpsum.I18N.minor_releases_description),v.default.createElement("p",{className:"eum-status"},"on"==e.automatic_minor_updates?mpsum.I18N.minor_releases_label_on_status:mpsum.I18N.minor_releases_label_off_status),!this.state.loading&&v.default.createElement("div",{className:"toggle-wrapper"},v.default.createElement("button",{"data-id":"automatic-minor-updates",className:"eum-toggle-button "+("on"==e.automatic_minor_updates?"eum-active":""),"aria-label":mpsum.I18N.minor_releases_label_on,onClick:this.onButtonClick,value:"on"},mpsum.I18N.minor_releases_label_on),v.default.createElement("button",{"data-id":"automatic-minor-updates",className:"eum-toggle-button "+("off"==e.automatic_minor_updates?"eum-active":""),"aria-label":mpsum.I18N.minor_releases_label_off,onClick:this.onButtonClick,value:"off"},mpsum.I18N.minor_releases_label_off)),this.state.loading&&v.default.createElement(y.default,null))}}]),t}(h.Component);t.default=(0,_.connect)(o,{saveOptions:b.saveOptions})(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return{options:e.options,saveOptions:e.saveOptions}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),i=r(a),u=n(2),l=r(u),s=n(3),c=r(s),f=n(4),p=r(f),d=n(5),m=r(d),h=n(0),v=r(h),g=n(8),y=r(g),b=n(6),_=n(7),w=function(e){function t(e){(0,l.default)(this,t);var n=(0,p.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.onButtonClick=function(e){e.preventDefault(),n.setState({loading:!0}),n.props.saveOptions(e.target.getAttribute("data-id"),e.target.value)},n.state={loading:!1,checked:"off"},n}return(0,m.default)(t,e),(0,c.default)(t,[{key:"componentWillReceiveProps",value:function(){this.setState({loading:!1})}},{key:"render",value:function(){var e=this.props.options;return v.default.createElement("div",{className:"automatic-updates-custom"},v.default.createElement("h3",null,mpsum.I18N.development_releases),v.default.createElement("p",{className:"eum-description"},mpsum.I18N.development_releases_description),v.default.createElement("p",{className:"eum-status"},"on"==e.automatic_development_updates?mpsum.I18N.development_releases_label_on_status:mpsum.I18N.development_releases_label_off_status),!this.state.loading&&v.default.createElement("div",{className:"toggle-wrapper"},v.default.createElement("button",{"data-id":"automatic-development-updates",className:"eum-toggle-button "+("on"==e.automatic_development_updates?"eum-active":""),"aria-label":mpsum.I18N.development_releases_label_on,onClick:this.onButtonClick,value:"on"},mpsum.I18N.development_releases_label_on),v.default.createElement("button",{"data-id":"automatic-development-updates",className:"eum-toggle-button "+("off"==e.automatic_development_updates?"eum-active":""),"aria-label":mpsum.I18N.development_releases_label_off,onClick:this.onButtonClick,value:"off"},mpsum.I18N.development_releases_label_off)),this.state.loading&&v.default.createElement(y.default,null))}}]),t}(h.Component);t.default=(0,_.connect)(o,{saveOptions:b.saveOptions})(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return{options:e.options,saveOptions:e.saveOptions}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),i=r(a),u=n(2),l=r(u),s=n(3),c=r(s),f=n(4),p=r(f),d=n(5),m=r(d),h=n(0),v=r(h),g=n(8),y=r(g),b=n(6),_=n(7),w=function(e){function t(e){(0,l.default)(this,t);var n=(0,p.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.onButtonClick=function(e){e.preventDefault(),n.setState({loading:!0}),n.props.saveOptions(e.target.getAttribute("data-id"),e.target.value)},n.state={loading:!1,checked:"off"},n}return(0,m.default)(t,e),(0,c.default)(t,[{key:"componentWillReceiveProps",value:function(){this.setState({loading:!1})}},{key:"render",value:function(){var e=this.props.options;return v.default.createElement("div",{className:"automatic-updates-custom"},v.default.createElement("h3",null,mpsum.I18N.translation_releases),v.default.createElement("p",{className:"eum-description"},mpsum.I18N.translation_releases_description),v.default.createElement("p",{className:"eum-status"},"on"==e.automatic_translation_updates?mpsum.I18N.translation_releases_label_on_status:mpsum.I18N.translation_releases_label_off_status),!this.state.loading&&v.default.createElement("div",{className:"toggle-wrapper"},v.default.createElement("button",{"data-id":"automatic-translation-updates",className:"eum-toggle-button "+("on"==e.automatic_translation_updates?"eum-active":""),"aria-label":mpsum.I18N.translation_releases_label_on,onClick:this.onButtonClick,value:"on"},mpsum.I18N.translation_releases_label_on),v.default.createElement("button",{"data-id":"automatic-translation-updates",className:"eum-toggle-button "+("off"==e.automatic_translation_updates?"eum-active":""),"aria-label":mpsum.I18N.translation_releases_label_off,onClick:this.onButtonClick,value:"off"},mpsum.I18N.translation_releases_label_off)),this.state.loading&&v.default.createElement(y.default,null))}}]),t}(h.Component);t.default=(0,_.connect)(o,{saveOptions:b.saveOptions})(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return{options:e.options,saveOptions:e.saveOptions}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),i=r(a),u=n(2),l=r(u),s=n(3),c=r(s),f=n(4),p=r(f),d=n(5),m=r(d),h=n(0),v=r(h),g=n(8),y=r(g),b=n(6),_=n(7),w=function(e){function t(e){(0,l.default)(this,t);var n=(0,p.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.onButtonClick=function(e){e.preventDefault(),n.setState({loading:!0}),n.props.saveOptions(e.target.getAttribute("data-id"),e.target.value)},n.state={loading:!1},n}return(0,m.default)(t,e),(0,c.default)(t,[{key:"componentWillReceiveProps",value:function(){this.setState({loading:!1})}},{key:"render",value:function(){var e=this.props.options;return v.default.createElement("div",{className:"eum-radio-group"},v.default.createElement("h2",null,mpsum.I18N.automatic_plugin_updates),v.default.createElement("p",{className:"eum-description"},mpsum.I18N.automatic_plugin_updates_description),v.default.createElement("p",{className:"eum-status"},"default"==e.automatic_plugin_updates&&mpsum.I18N.automatic_plugin_updates_default_status,"on"==e.automatic_plugin_updates&&mpsum.I18N.automatic_plugin_updates_on_status,"off"==e.automatic_plugin_updates&&mpsum.I18N.automatic_plugin_updates_off_status,"individual"==e.automatic_plugin_updates&&mpsum.I18N.automatic_plugin_updates_individual_status),!this.state.loading&&v.default.createElement(h.Fragment,null,v.default.createElement("div",{class:"toggle-wrapper"},v.default.createElement("button",{"data-id":"automatic-plugin-updates-default",className:"eum-toggle-button "+("default"==e.automatic_plugin_updates?"eum-active":""),"aria-label":mpsum.I18N.default,onClick:this.onButtonClick,value:"default"},mpsum.I18N.default),v.default.createElement("button",{"data-id":"automatic-plugin-updates-on",className:"eum-toggle-button "+("on"==e.automatic_plugin_updates?"eum-active":""),"aria-label":mpsum.I18N.on,onClick:this.onButtonClick,value:"on"},mpsum.I18N.on),v.default.createElement("button",{"data-id":"automatic-plugin-updates-off",className:"eum-toggle-button "+("off"==e.automatic_plugin_updates?"eum-active":""),"aria-label":mpsum.I18N.off,onClick:this.onButtonClick,value:"off"},mpsum.I18N.off),v.default.createElement("button",{"data-id":"automatic-plugin-updates-individual",className:"eum-toggle-button "+("individual"==e.automatic_plugin_updates?"eum-active":""),"aria-label":mpsum.I18N.select_individually,onClick:this.onButtonClick,value:"individual"},mpsum.I18N.select_individually))),this.state.loading&&v.default.createElement(y.default,null))}}]),t}(h.Component);t.default=(0,_.connect)(o,{saveOptions:b.saveOptions})(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return{options:e.options,saveOptions:e.saveOptions}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),i=r(a),u=n(2),l=r(u),s=n(3),c=r(s),f=n(4),p=r(f),d=n(5),m=r(d),h=n(0),v=r(h),g=n(8),y=r(g),b=n(6),_=n(7),w=function(e){function t(e){(0,l.default)(this,t);var n=(0,p.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.onButtonClick=function(e){e.preventDefault(),n.setState({loading:!0}),n.props.saveOptions(e.target.getAttribute("data-id"),e.target.value)},n.state={loading:!1},n}return(0,m.default)(t,e),(0,c.default)(t,[{key:"componentWillReceiveProps",value:function(){this.setState({loading:!1})}},{key:"render",value:function(){var e=this.props.options;return v.default.createElement("div",{className:"eum-radio-group"},v.default.createElement("h2",null,mpsum.I18N.automatic_theme_updates),v.default.createElement("p",{className:"eum-description"},mpsum.I18N.automatic_theme_updates_description),v.default.createElement("p",{className:"eum-status"},"default"==e.automatic_theme_updates&&mpsum.I18N.automatic_theme_updates_default_status,"on"==e.automatic_theme_updates&&mpsum.I18N.automatic_theme_updates_on_status,"off"==e.automatic_theme_updates&&mpsum.I18N.automatic_theme_updates_off_status,"individual"==e.automatic_theme_updates&&mpsum.I18N.automatic_theme_updates_individual_status),!this.state.loading&&v.default.createElement(h.Fragment,null,v.default.createElement("div",{class:"toggle-wrapper"},v.default.createElement("button",{"data-id":"automatic-theme-updates-default",className:"eum-toggle-button "+("default"==e.automatic_theme_updates?"eum-active":""),"aria-label":mpsum.I18N.default,onClick:this.onButtonClick,value:"default"},mpsum.I18N.default),v.default.createElement("button",{"data-id":"automatic-theme-updates-on",className:"eum-toggle-button "+("on"==e.automatic_theme_updates?"eum-active":""),"aria-label":mpsum.I18N.on,onClick:this.onButtonClick,value:"on"},mpsum.I18N.on),v.default.createElement("button",{"data-id":"automatic-theme-updates-off",className:"eum-toggle-button "+("off"==e.automatic_theme_updates?"eum-active":""),"aria-label":mpsum.I18N.off,onClick:this.onButtonClick,value:"off"},mpsum.I18N.off),v.default.createElement("button",{"data-id":"automatic-theme-updates-individual",className:"eum-toggle-button "+("individual"==e.automatic_theme_updates?"eum-active":""),"aria-label":mpsum.I18N.select_individually,onClick:this.onButtonClick,value:"individual"},mpsum.I18N.select_individually))),this.state.loading&&v.default.createElement(y.default,null))}}]),t}(h.Component);t.default=(0,_.connect)(o,{saveOptions:b.saveOptions})(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return{options:e.options,saveOptions:e.saveOptions}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),i=r(a),u=n(2),l=r(u),s=n(3),c=r(s),f=n(4),p=r(f),d=n(5),m=r(d),h=n(0),v=r(h),g=n(8),y=r(g),b=n(6),_=n(7),w=function(e){function t(e){(0,l.default)(this,t);var n=(0,p.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.onButtonClick=function(e){e.preventDefault(),n.setState({loading:!0}),n.props.saveOptions(e.target.getAttribute("data-id"),e.target.value)},n.state={loading:!1},n}return(0,m.default)(t,e),(0,c.default)(t,[{key:"componentWillReceiveProps",value:function(){this.setState({loading:!1})}},{key:"render",value:function(){var e=this.props.options;return v.default.createElement("div",{className:"eum-section"},v.default.createElement("h3",null,mpsum.I18N.disable_updates),v.default.createElement("p",{className:"eum-description"},mpsum.I18N.disable_updates_description),v.default.createElement("p",{className:"eum-status"},"on"==e.all_updates?mpsum.I18N.disable_updates_label_on_status:mpsum.I18N.disable_updates_label_off_status),!this.state.loading&&v.default.createElement("div",{className:"toggle-wrapper"},v.default.createElement("button",{"data-id":"disable-updates",className:"eum-toggle-button "+("on"==e.all_updates?"eum-active":""),"aria-label":mpsum.I18N.disable_updates_label_on,onClick:this.onButtonClick,value:"on"},mpsum.I18N.disable_updates_label_on),v.default.createElement("button",{"data-id":"disable-updates",className:"eum-toggle-button "+("off"==e.all_updates?"eum-active":""),"aria-label":mpsum.I18N.disable_updates_label_off,onClick:this.onButtonClick,value:"off"},mpsum.I18N.disable_updates_label_off)),this.state.loading&&v.default.createElement(y.default,null))}}]),t}(h.Component);t.default=(0,_.connect)(o,{saveOptions:b.saveOptions})(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return{options:e.options,saveOptions:e.saveOptions}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),i=r(a),u=n(2),l=r(u),s=n(3),c=r(s),f=n(4),p=r(f),d=n(5),m=r(d),h=n(0),v=r(h),g=n(8),y=r(g),b=n(6),_=n(7),w=function(e){function t(e){(0,l.default)(this,t);var n=(0,p.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.onButtonClick=function(e){e.preventDefault(),n.setState({loading:!0}),n.props.saveOptions(e.target.getAttribute("data-id"),e.target.value)},n.state={loading:!1,checked:"off"},n}return(0,m.default)(t,e),(0,c.default)(t,[{key:"componentWillReceiveProps",value:function(){this.setState({loading:!1})}},{key:"render",value:function(){var e=this.props.options;return v.default.createElement("div",{className:"eum-section"},v.default.createElement("h3",null,mpsum.I18N.logs),v.default.createElement("p",{className:"eum-description"},mpsum.I18N.logs_description),v.default.createElement("p",{className:"eum-status"},"on"==e.logs?mpsum.I18N.logs_label_on_status:mpsum.I18N.logs_label_off_status),!this.state.loading&&v.default.createElement("div",{className:"toggle-wrapper"},v.default.createElement("button",{"data-id":"logs",className:"eum-toggle-button "+("on"==e.logs?"eum-active":""),"aria-label":mpsum.I18N.logs_label_on,onClick:this.onButtonClick,value:"on"},mpsum.I18N.logs_label_on),v.default.createElement("button",{"data-id":"logs",className:"eum-toggle-button "+("off"==e.logs?"eum-active":""),"aria-label":mpsum.I18N.logs_label_off,onClick:this.onButtonClick,value:"off"},mpsum.I18N.logs_label_off)),this.state.loading&&v.default.createElement(y.default,null))}}]),t}(h.Component);t.default=(0,_.connect)(o,{saveOptions:b.saveOptions})(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return{options:e.options,saveOptions:e.saveOptions}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),i=r(a),u=n(2),l=r(u),s=n(3),c=r(s),f=n(4),p=r(f),d=n(5),m=r(d),h=n(0),v=r(h),g=n(8),y=r(g),b=n(6),_=n(7),w=function(e){function t(e){(0,l.default)(this,t);var n=(0,p.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.onButtonClick=function(e){e.preventDefault(),n.setState({loading:!0}),n.props.saveOptions(e.target.getAttribute("data-id"),e.target.value)},n.state={loading:!1,checked:"off"},n}return(0,m.default)(t,e),(0,c.default)(t,[{key:"componentWillReceiveProps",value:function(){this.setState({loading:!1})}},{key:"render",value:function(){var e=this.props.options;return v.default.createElement("div",{className:"eum-section"},v.default.createElement("h3",null,mpsum.I18N.browser_nag),v.default.createElement("p",{className:"eum-description"},mpsum.I18N.browser_nag_description),v.default.createElement("p",{className:"eum-status"},"on"==e.misc_browser_nag?mpsum.I18N.browser_nag_label_on_status:mpsum.I18N.browser_nag_label_off_status),!this.state.loading&&v.default.createElement("div",{className:"toggle-wrapper"},v.default.createElement("button",{"data-id":"browser-nag",className:"eum-toggle-button "+("on"==e.misc_browser_nag?"eum-active":""),"aria-label":mpsum.I18N.browser_nag_label_on,onClick:this.onButtonClick,value:"on"},mpsum.I18N.browser_nag_label_on),v.default.createElement("button",{"data-id":"browser-nag",className:"eum-toggle-button "+("off"==e.misc_browser_nag?"eum-active":""),"aria-label":mpsum.I18N.browser_nag_label_off,onClick:this.onButtonClick,value:"off"},mpsum.I18N.browser_nag_label_off)),this.state.loading&&v.default.createElement(y.default,null))}}]),t}(h.Component);t.default=(0,_.connect)(o,{saveOptions:b.saveOptions})(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return{options:e.options,saveOptions:e.saveOptions}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),i=r(a),u=n(2),l=r(u),s=n(3),c=r(s),f=n(4),p=r(f),d=n(5),m=r(d),h=n(0),v=r(h),g=n(8),y=r(g),b=n(6),_=n(7),w=function(e){function t(e){(0,l.default)(this,t);var n=(0,p.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.onButtonClick=function(e){e.preventDefault(),n.setState({loading:!0}),n.props.saveOptions(e.target.getAttribute("data-id"),e.target.value)},n.state={loading:!1,checked:"off"},n}return(0,m.default)(t,e),(0,c.default)(t,[{key:"componentWillReceiveProps",value:function(){this.setState({loading:!1})}},{key:"render",value:function(){var e=this.props.options;return v.default.createElement("div",{className:"eum-section"},v.default.createElement("h3",null,mpsum.I18N.version_footer),v.default.createElement("p",{className:"eum-description"},mpsum.I18N.version_footer_description),v.default.createElement("p",{className:"eum-status"},"on"==e.misc_wp_footer?mpsum.I18N.version_footer_label_on_status:mpsum.I18N.version_footer_label_off_status),!this.state.loading&&v.default.createElement("div",{className:"toggle-wrapper"},v.default.createElement("button",{"data-id":"version-footer",className:"eum-toggle-button "+("on"==e.misc_wp_footer?"eum-active":""),"aria-label":mpsum.I18N.version_footer_label_on,onClick:this.onButtonClick,value:"on"},mpsum.I18N.version_footer_label_on),v.default.createElement("button",{"data-id":"version-footer",className:"eum-toggle-button "+("off"==e.misc_wp_footer?"eum-active":""),"aria-label":mpsum.I18N.version_footer_label_off,onClick:this.onButtonClick,value:"off"},mpsum.I18N.version_footer_label_off)),this.state.loading&&v.default.createElement(y.default,null))}}]),t}(h.Component);t.default=(0,_.connect)(o,{saveOptions:b.saveOptions})(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return{options:e.options,saveOptions:e.saveOptions}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),i=r(a),u=n(2),l=r(u),s=n(3),c=r(s),f=n(4),p=r(f),d=n(5),m=r(d),h=n(0),v=r(h),g=n(8),y=r(g),b=n(6),_=n(7),w=function(e){function t(e){(0,l.default)(this,t);var n=(0,p.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.onButtonClick=function(e){e.preventDefault(),n.setState({loading:!0}),n.props.saveOptions(e.target.getAttribute("data-id"),e.target.value)},n.onInputChangeEmails=function(e){e.preventDefault(),n.setState({emails:e.target.value})},n.handleEmailSave=function(e){n.setState({saving:!0});var t="";t=n.state.emails?n.state.emails:"unset",n.props.saveOptions("notification-emails",t)},n.state={loading:!1,checked:"off",emails:e.options.email_addresses,errors:!1,saving:!1},n}return(0,m.default)(t,e),(0,c.default)(t,[{key:"componentWillReceiveProps",value:function(e){var t=this;this.setState({loading:!1,saving:!1,emails:e.options.email_addresses,errors:e.options.errors}),setTimeout(function(){t.setState({errors:!1})},3e3)}},{key:"render",value:function(){var e=this.props.options;return v.default.createElement("div",{className:"eum-section"},v.default.createElement("h3",null,mpsum.I18N.emails),v.default.createElement("p",{className:"eum-description"},mpsum.I18N.emails_description),v.default.createElement("p",{className:"eum-status"},"on"==e.notification_core_update_emails?mpsum.I18N.emails_label_on_status:mpsum.I18N.emails_label_off_status),!this.state.loading&&v.default.createElement("div",{className:"toggle-wrapper"},v.default.createElement("button",{"data-id":"email-notifications",className:"eum-toggle-button "+("on"==e.notification_core_update_emails?"eum-active":""),"aria-label":mpsum.I18N.emails_label_on,onClick:this.onButtonClick,value:"on"},mpsum.I18N.emails_label_on),v.default.createElement("button",{"data-id":"email-notifications",className:"eum-toggle-button "+("off"==e.notification_core_update_emails?"eum-active":""),"aria-label":mpsum.I18N.emails_label_off,onClick:this.onButtonClick,value:"off"},mpsum.I18N.emails_label_off)),this.state.loading&&v.default.createElement(y.default,null),"on"==e.notification_core_update_emails&&v.default.createElement(h.Fragment,null,v.default.createElement("p",null,v.default.createElement("label",{htmlFor:"notification-emails",className:"eum-input-label"},mpsum.I18N.emails_input_label)),v.default.createElement("input",{id:"notification-emails",className:"eum-input-email",type:"email",placeholder:mpsum.I18N.emails_placeholder,onChange:this.onInputChangeEmails,value:this.state.emails}),v.default.createElement("div",null,v.default.createElement("button",{disabled:!!this.state.saving,className:"eum-save button button-primary",onClick:this.handleEmailSave},this.state.saving?mpsum.I18N.emails_saving:mpsum.I18N.emails_save)),this.state.errors&&v.default.createElement(h.Fragment,null,v.default.createElement("div",{className:"mpsum-error"},v.default.createElement("p",null,mpsum.I18N.emails_invalid)))))}}]),t}(h.Component);t.default=(0,_.connect)(o,{saveOptions:b.saveOptions})(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return{options:e.options,saveOptions:e.saveOptions}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),i=r(a),u=n(2),l=r(u),s=n(3),c=r(s),f=n(4),p=r(f),d=n(5),m=r(d),h=n(0),v=r(h),g=n(8),y=r(g),b=n(6),_=n(7),w=function(e){function t(e){(0,l.default)(this,t);var n=(0,p.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.onButtonClick=function(e){e.preventDefault(),n.setState({loading:!0}),n.props.saveOptions(e.target.getAttribute("data-id"),e.target.value)},n.state={loading:!1},n}return(0,m.default)(t,e),(0,c.default)(t,[{key:"componentWillReceiveProps",value:function(){this.setState({loading:!1})}},{key:"render",value:function(){var e=this.props.options;return v.default.createElement("div",{className:"eum-section"},v.default.createElement("h3",null,mpsum.I18N.core_updates),v.default.createElement("p",{className:"eum-description"},mpsum.I18N.core_updates_description),v.default.createElement("p",{className:"eum-status"},"on"==e.core_updates?mpsum.I18N.core_updates_label_on_status:mpsum.I18N.core_updates_label_off_status),!this.state.loading&&v.default.createElement("div",{className:"toggle-wrapper"},v.default.createElement("button",{"data-id":"core-updates",className:"eum-toggle-button "+("on"==e.core_updates?"eum-active":""),"aria-label":mpsum.I18N.core_updates_label_on,onClick:this.onButtonClick,value:"on"},mpsum.I18N.core_updates_label_on),v.default.createElement("button",{"data-id":"core-updates",className:"eum-toggle-button "+("off"==e.core_updates?"eum-active":""),"aria-label":mpsum.I18N.core_updates_label_off,onClick:this.onButtonClick,value:"off"},mpsum.I18N.core_updates_label_off)),this.state.loading&&v.default.createElement(y.default,null))}}]),t}(h.Component);t.default=(0,_.connect)(o,{saveOptions:b.saveOptions})(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return{options:e.options,saveOptions:e.saveOptions}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),i=r(a),u=n(2),l=r(u),s=n(3),c=r(s),f=n(4),p=r(f),d=n(5),m=r(d),h=n(0),v=r(h),g=n(8),y=r(g),b=n(6),_=n(7),w=function(e){function t(e){(0,l.default)(this,t);var n=(0,p.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.onButtonClick=function(e){e.preventDefault(),n.setState({loading:!0}),n.props.saveOptions(e.target.getAttribute("data-id"),e.target.value)},n.state={loading:!1},n}return(0,m.default)(t,e),(0,c.default)(t,[{key:"componentWillReceiveProps",value:function(){this.setState({loading:!1})}},{key:"render",value:function(){var e=this.props.options;return v.default.createElement("div",{className:"eum-section"},v.default.createElement("h3",null,mpsum.I18N.plugin_updates),v.default.createElement("p",{className:"eum-description"},mpsum.I18N.plugin_updates_description),v.default.createElement("p",{className:"eum-status"},"on"==e.plugin_updates?mpsum.I18N.plugin_updates_label_on_status:mpsum.I18N.plugin_updates_label_off_status),!this.state.loading&&v.default.createElement("div",{className:"toggle-wrapper"},v.default.createElement("button",{"data-id":"plugin-updates",className:"eum-toggle-button "+("on"==e.plugin_updates?"eum-active":""),"aria-label":mpsum.I18N.plugin_updates_label_on,onClick:this.onButtonClick,value:"on"},mpsum.I18N.plugin_updates_label_on),v.default.createElement("button",{"data-id":"plugin-updates",className:"eum-toggle-button "+("off"==e.plugin_updates?"eum-active":""),"aria-label":mpsum.I18N.plugin_updates_label_off,onClick:this.onButtonClick,value:"off"},mpsum.I18N.plugin_updates_label_off)),this.state.loading&&v.default.createElement(y.default,null))}}]),t}(h.Component);t.default=(0,_.connect)(o,{saveOptions:b.saveOptions})(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return{options:e.options,saveOptions:e.saveOptions}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),i=r(a),u=n(2),l=r(u),s=n(3),c=r(s),f=n(4),p=r(f),d=n(5),m=r(d),h=n(0),v=r(h),g=n(8),y=r(g),b=n(6),_=n(7),w=function(e){function t(e){(0,l.default)(this,t);var n=(0,p.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.onButtonClick=function(e){e.preventDefault(),n.setState({loading:!0}),n.props.saveOptions(e.target.getAttribute("data-id"),e.target.value)},n.state={loading:!1},n}return(0,m.default)(t,e),(0,c.default)(t,[{key:"componentWillReceiveProps",value:function(){this.setState({loading:!1})}},{key:"render",value:function(){var e=this.props.options;return v.default.createElement("div",{className:"eum-section"},v.default.createElement("h3",null,mpsum.I18N.theme_updates),v.default.createElement("p",{className:"eum-description"},mpsum.I18N.theme_updates_description),v.default.createElement("p",{className:"eum-status"},"on"==e.theme_updates?mpsum.I18N.theme_updates_label_on_status:mpsum.I18N.theme_updates_label_off_status),!this.state.loading&&v.default.createElement("div",{className:"toggle-wrapper"},v.default.createElement("button",{"data-id":"theme-updates",className:"eum-toggle-button "+("on"==e.theme_updates?"eum-active":""),"aria-label":mpsum.I18N.theme_updates_label_on,onClick:this.onButtonClick,value:"on"},mpsum.I18N.theme_updates_label_on),v.default.createElement("button",{"data-id":"theme-updates",className:"eum-toggle-button "+("off"==e.theme_updates?"eum-active":""),"aria-label":mpsum.I18N.theme_updates_label_off,onClick:this.onButtonClick,value:"off"},mpsum.I18N.theme_updates_label_off)),this.state.loading&&v.default.createElement(y.default,null))}}]),t}(h.Component);t.default=(0,_.connect)(o,{saveOptions:b.saveOptions})(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return{options:e.options,saveOptions:e.saveOptions}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),i=r(a),u=n(2),l=r(u),s=n(3),c=r(s),f=n(4),p=r(f),d=n(5),m=r(d),h=n(0),v=r(h),g=n(8),y=r(g),b=n(6),_=n(7),w=function(e){function t(e){(0,l.default)(this,t);var n=(0,p.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.onButtonClick=function(e){e.preventDefault(),n.setState({loading:!0}),n.props.saveOptions(e.target.getAttribute("data-id"),e.target.value)},n.state={loading:!1},n}return(0,m.default)(t,e),(0,c.default)(t,[{key:"componentWillReceiveProps",value:function(){this.setState({loading:!1})}},{key:"render",value:function(){var e=this.props.options;return v.default.createElement("div",{className:"eum-section"},v.default.createElement("h3",null,mpsum.I18N.translation_updates),v.default.createElement("p",{className:"eum-description"},mpsum.I18N.translation_updates_description),v.default.createElement("p",{className:"eum-status"},"on"==e.translation_updates?mpsum.I18N.translation_updates_label_on_status:mpsum.I18N.translation_updates_label_off_status),!this.state.loading&&v.default.createElement("div",{className:"toggle-wrapper"},v.default.createElement("button",{"data-id":"translation-updates",className:"eum-toggle-button "+("on"==e.translation_updates?"eum-active":""),"aria-label":mpsum.I18N.translation_updates_label_on,onClick:this.onButtonClick,value:"on"},mpsum.I18N.translation_updates_label_on),v.default.createElement("button",{"data-id":"translation-updates",className:"eum-toggle-button "+("off"==e.translation_updates?"eum-active":""),"aria-label":mpsum.I18N.translation_updates_label_off,onClick:this.onButtonClick,value:"off"},mpsum.I18N.translation_updates_label_off)),this.state.loading&&v.default.createElement(y.default,null))}}]),t}(h.Component);t.default=(0,_.connect)(o,{saveOptions:b.saveOptions})(w)},function(e,t,n){"use strict";function r(e){return e&&"function"==typeof e.then}function o(e){var t=e.dispatch;return function(e){return function(n){return i.isFSA(n)?r(n.payload)?n.payload.then(function(e){return t(a({},n,{payload:e}))},function(e){return t(a({},n,{payload:e,error:!0}))}):e(n):r(n)?n.then(t):e(n)}}}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=o;var i=n(195);e.exports=t.default},function(e,t,n){"use strict";function r(e){return l.indexOf(e)>-1}function o(e){return u.default(e)&&void 0!==e.type&&Object.keys(e).every(r)}function a(e){return!0===e.error}t.__esModule=!0,t.isFSA=o,t.isError=a;var i=n(196),u=function(e){return e&&e.__esModule?e:{default:e}}(i),l=["type","payload","error","meta"]},function(e,t,n){function r(e){return!!e&&"object"==typeof e}function o(e,t){return i(e,t,l)}function a(e){var t;if(!r(e)||p.call(e)!=s||u(e)||!f.call(e,"constructor")&&"function"==typeof(t=e.constructor)&&!(t instanceof t))return!1;var n;return o(e,function(e,t){n=t}),void 0===n||f.call(e,n)}var i=n(197),u=n(76),l=n(198),s="[object Object]",c=Object.prototype,f=c.hasOwnProperty,p=c.toString;e.exports=a},function(e,t){var n=function(e){return function(t,n,r){for(var o=-1,a=Object(t),i=r(t),u=i.length;u--;){var l=i[e?u:++o];if(!1===n(a[l],l,a))break}return t}}();e.exports=n},function(e,t,n){function r(e,t){return e="number"==typeof e||s.test(e)?+e:-1,t=null==t?p:t,e>-1&&e%1==0&&e<t}function o(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=p}function a(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function i(e){if(null==e)return[];a(e)||(e=Object(e));var t=e.length;t=t&&o(t)&&(l(e)||u(e))&&t||0;for(var n=e.constructor,i=-1,s="function"==typeof n&&n.prototype===e,c=Array(t),p=t>0;++i<t;)c[i]=i+"";for(var d in e)p&&r(d,t)||"constructor"==d&&(s||!f.call(e,d))||c.push(d);return c}var u=n(76),l=n(199),s=/^\d+$/,c=Object.prototype,f=c.hasOwnProperty,p=9007199254740991;e.exports=i},function(e,t){function n(e){return!!e&&"object"==typeof e}function r(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=h}function o(e){return a(e)&&p.call(e)==u}function a(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function i(e){return null!=e&&(o(e)?d.test(c.call(e)):n(e)&&l.test(e))}var u="[object Function]",l=/^\[object .+?Constructor\]$/,s=Object.prototype,c=Function.prototype.toString,f=s.hasOwnProperty,p=s.toString,d=RegExp("^"+c.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),m=function(e,t){var n=null==e?void 0:e[t];return i(n)?n:void 0}(Array,"isArray"),h=9007199254740991,v=m||function(e){return n(e)&&r(e.length)&&"[object Array]"==p.call(e)};e.exports=v},function(e,t,n){n(201).polyfill()},function(e,t,n){(function(t){for(var r=n(202),o="undefined"==typeof window?t:window,a=["moz","webkit"],i="AnimationFrame",u=o["request"+i],l=o["cancel"+i]||o["cancelRequest"+i],s=0;!u&&s<a.length;s++)u=o[a[s]+"Request"+i],l=o[a[s]+"Cancel"+i]||o[a[s]+"CancelRequest"+i];if(!u||!l){var c=0,f=0,p=[];u=function(e){if(0===p.length){var t=r(),n=Math.max(0,1e3/60-(t-c));c=n+t,setTimeout(function(){var e=p.slice(0);p.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(c)}catch(e){setTimeout(function(){throw e},0)}},Math.round(n))}return p.push({handle:++f,callback:e,cancelled:!1}),f},l=function(e){for(var t=0;t<p.length;t++)p[t].handle===e&&(p[t].cancelled=!0)}}e.exports=function(e){return u.call(o,e)},e.exports.cancel=function(){l.apply(o,arguments)},e.exports.polyfill=function(e){e||(e=o),e.requestAnimationFrame=u,e.cancelAnimationFrame=l}}).call(t,n(43))},function(e,t,n){(function(t){(function(){var n,r,o,a,i,u;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:void 0!==t&&null!==t&&t.hrtime?(e.exports=function(){return(n()-i)/1e6},r=t.hrtime,n=function(){var e;return e=r(),1e9*e[0]+e[1]},a=n(),u=1e9*t.uptime(),i=a-u):Date.now?(e.exports=function(){return Date.now()-o},o=Date.now()):(e.exports=function(){return(new Date).getTime()-o},o=(new Date).getTime())}).call(this)}).call(t,n(62))}]);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/******/ (function(modules) { // webpackBootstrap
|
2 |
+
/******/ // The module cache
|
3 |
+
/******/ var installedModules = {};
|
4 |
+
/******/
|
5 |
+
/******/ // The require function
|
6 |
+
/******/ function __webpack_require__(moduleId) {
|
7 |
+
/******/
|
8 |
+
/******/ // Check if module is in cache
|
9 |
+
/******/ if(installedModules[moduleId]) {
|
10 |
+
/******/ return installedModules[moduleId].exports;
|
11 |
+
/******/ }
|
12 |
+
/******/ // Create a new module (and put it into the cache)
|
13 |
+
/******/ var module = installedModules[moduleId] = {
|
14 |
+
/******/ i: moduleId,
|
15 |
+
/******/ l: false,
|
16 |
+
/******/ exports: {}
|
17 |
+
/******/ };
|
18 |
+
/******/
|
19 |
+
/******/ // Execute the module function
|
20 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
21 |
+
/******/
|
22 |
+
/******/ // Flag the module as loaded
|
23 |
+
/******/ module.l = true;
|
24 |
+
/******/
|
25 |
+
/******/ // Return the exports of the module
|
26 |
+
/******/ return module.exports;
|
27 |
+
/******/ }
|
28 |
+
/******/
|
29 |
+
/******/
|
30 |
+
/******/ // expose the modules object (__webpack_modules__)
|
31 |
+
/******/ __webpack_require__.m = modules;
|
32 |
+
/******/
|
33 |
+
/******/ // expose the module cache
|
34 |
+
/******/ __webpack_require__.c = installedModules;
|
35 |
+
/******/
|
36 |
+
/******/ // define getter function for harmony exports
|
37 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
38 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
39 |
+
/******/ Object.defineProperty(exports, name, {
|
40 |
+
/******/ configurable: false,
|
41 |
+
/******/ enumerable: true,
|
42 |
+
/******/ get: getter
|
43 |
+
/******/ });
|
44 |
+
/******/ }
|
45 |
+
/******/ };
|
46 |
+
/******/
|
47 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
48 |
+
/******/ __webpack_require__.n = function(module) {
|
49 |
+
/******/ var getter = module && module.__esModule ?
|
50 |
+
/******/ function getDefault() { return module['default']; } :
|
51 |
+
/******/ function getModuleExports() { return module; };
|
52 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
53 |
+
/******/ return getter;
|
54 |
+
/******/ };
|
55 |
+
/******/
|
56 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
57 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
58 |
+
/******/
|
59 |
+
/******/ // __webpack_public_path__
|
60 |
+
/******/ __webpack_require__.p = "";
|
61 |
+
/******/
|
62 |
+
/******/ // Load entry module and return exports
|
63 |
+
/******/ return __webpack_require__(__webpack_require__.s = 82);
|
64 |
+
/******/ })
|
65 |
+
/************************************************************************/
|
66 |
+
/******/ ([
|
67 |
+
/* 0 */
|
68 |
+
/***/ (function(module, exports, __webpack_require__) {
|
69 |
+
|
70 |
+
"use strict";
|
71 |
+
|
72 |
+
|
73 |
+
if (true) {
|
74 |
+
module.exports = __webpack_require__(122);
|
75 |
+
} else {
|
76 |
+
module.exports = require('./cjs/react.development.js');
|
77 |
+
}
|
78 |
+
|
79 |
+
|
80 |
+
/***/ }),
|
81 |
+
/* 1 */
|
82 |
+
/***/ (function(module, exports, __webpack_require__) {
|
83 |
+
|
84 |
+
module.exports = { "default": __webpack_require__(83), __esModule: true };
|
85 |
+
|
86 |
+
/***/ }),
|
87 |
+
/* 2 */
|
88 |
+
/***/ (function(module, exports, __webpack_require__) {
|
89 |
+
|
90 |
+
"use strict";
|
91 |
+
|
92 |
+
|
93 |
+
exports.__esModule = true;
|
94 |
+
|
95 |
+
exports.default = function (instance, Constructor) {
|
96 |
+
if (!(instance instanceof Constructor)) {
|
97 |
+
throw new TypeError("Cannot call a class as a function");
|
98 |
+
}
|
99 |
+
};
|
100 |
+
|
101 |
+
/***/ }),
|
102 |
+
/* 3 */
|
103 |
+
/***/ (function(module, exports, __webpack_require__) {
|
104 |
+
|
105 |
+
"use strict";
|
106 |
+
|
107 |
+
|
108 |
+
exports.__esModule = true;
|
109 |
+
|
110 |
+
var _defineProperty = __webpack_require__(87);
|
111 |
+
|
112 |
+
var _defineProperty2 = _interopRequireDefault(_defineProperty);
|
113 |
+
|
114 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
115 |
+
|
116 |
+
exports.default = function () {
|
117 |
+
function defineProperties(target, props) {
|
118 |
+
for (var i = 0; i < props.length; i++) {
|
119 |
+
var descriptor = props[i];
|
120 |
+
descriptor.enumerable = descriptor.enumerable || false;
|
121 |
+
descriptor.configurable = true;
|
122 |
+
if ("value" in descriptor) descriptor.writable = true;
|
123 |
+
(0, _defineProperty2.default)(target, descriptor.key, descriptor);
|
124 |
+
}
|
125 |
+
}
|
126 |
+
|
127 |
+
return function (Constructor, protoProps, staticProps) {
|
128 |
+
if (protoProps) defineProperties(Constructor.prototype, protoProps);
|
129 |
+
if (staticProps) defineProperties(Constructor, staticProps);
|
130 |
+
return Constructor;
|
131 |
+
};
|
132 |
+
}();
|
133 |
+
|
134 |
+
/***/ }),
|
135 |
+
/* 4 */
|
136 |
+
/***/ (function(module, exports, __webpack_require__) {
|
137 |
+
|
138 |
+
"use strict";
|
139 |
+
|
140 |
+
|
141 |
+
exports.__esModule = true;
|
142 |
+
|
143 |
+
var _typeof2 = __webpack_require__(51);
|
144 |
+
|
145 |
+
var _typeof3 = _interopRequireDefault(_typeof2);
|
146 |
+
|
147 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
148 |
+
|
149 |
+
exports.default = function (self, call) {
|
150 |
+
if (!self) {
|
151 |
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
152 |
+
}
|
153 |
+
|
154 |
+
return call && ((typeof call === "undefined" ? "undefined" : (0, _typeof3.default)(call)) === "object" || typeof call === "function") ? call : self;
|
155 |
+
};
|
156 |
+
|
157 |
+
/***/ }),
|
158 |
+
/* 5 */
|
159 |
+
/***/ (function(module, exports, __webpack_require__) {
|
160 |
+
|
161 |
+
"use strict";
|
162 |
+
|
163 |
+
|
164 |
+
exports.__esModule = true;
|
165 |
+
|
166 |
+
var _setPrototypeOf = __webpack_require__(115);
|
167 |
+
|
168 |
+
var _setPrototypeOf2 = _interopRequireDefault(_setPrototypeOf);
|
169 |
+
|
170 |
+
var _create = __webpack_require__(119);
|
171 |
+
|
172 |
+
var _create2 = _interopRequireDefault(_create);
|
173 |
+
|
174 |
+
var _typeof2 = __webpack_require__(51);
|
175 |
+
|
176 |
+
var _typeof3 = _interopRequireDefault(_typeof2);
|
177 |
+
|
178 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
179 |
+
|
180 |
+
exports.default = function (subClass, superClass) {
|
181 |
+
if (typeof superClass !== "function" && superClass !== null) {
|
182 |
+
throw new TypeError("Super expression must either be null or a function, not " + (typeof superClass === "undefined" ? "undefined" : (0, _typeof3.default)(superClass)));
|
183 |
+
}
|
184 |
+
|
185 |
+
subClass.prototype = (0, _create2.default)(superClass && superClass.prototype, {
|
186 |
+
constructor: {
|
187 |
+
value: subClass,
|
188 |
+
enumerable: false,
|
189 |
+
writable: true,
|
190 |
+
configurable: true
|
191 |
+
}
|
192 |
+
});
|
193 |
+
if (superClass) _setPrototypeOf2.default ? (0, _setPrototypeOf2.default)(subClass, superClass) : subClass.__proto__ = superClass;
|
194 |
+
};
|
195 |
+
|
196 |
+
/***/ }),
|
197 |
+
/* 6 */
|
198 |
+
/***/ (function(module, exports, __webpack_require__) {
|
199 |
+
|
200 |
+
"use strict";
|
201 |
+
|
202 |
+
|
203 |
+
Object.defineProperty(exports, "__esModule", {
|
204 |
+
value: true
|
205 |
+
});
|
206 |
+
exports.SAVE_OPTIONS = undefined;
|
207 |
+
exports.saveOptions = saveOptions;
|
208 |
+
|
209 |
+
var _axios = __webpack_require__(25);
|
210 |
+
|
211 |
+
var _axios2 = _interopRequireDefault(_axios);
|
212 |
+
|
213 |
+
var _qs = __webpack_require__(43);
|
214 |
+
|
215 |
+
var _qs2 = _interopRequireDefault(_qs);
|
216 |
+
|
217 |
+
var _send_command = __webpack_require__(75);
|
218 |
+
|
219 |
+
var _send_command2 = _interopRequireDefault(_send_command);
|
220 |
+
|
221 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
222 |
+
|
223 |
+
var SAVE_OPTIONS = exports.SAVE_OPTIONS = 'SAVE_OPTIONS';
|
224 |
+
|
225 |
+
function saveOptions(id, value) {
|
226 |
+
var data = {
|
227 |
+
sub_action: 'save_options',
|
228 |
+
id: id,
|
229 |
+
value: value
|
230 |
+
};
|
231 |
+
|
232 |
+
var request = (0, _send_command2.default)(data);
|
233 |
+
|
234 |
+
return {
|
235 |
+
type: SAVE_OPTIONS,
|
236 |
+
payload: request
|
237 |
+
};
|
238 |
+
}
|
239 |
+
|
240 |
+
/***/ }),
|
241 |
+
/* 7 */
|
242 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
243 |
+
|
244 |
+
"use strict";
|
245 |
+
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
246 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__components_Provider__ = __webpack_require__(170);
|
247 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__components_connectAdvanced__ = __webpack_require__(77);
|
248 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__connect_connect__ = __webpack_require__(177);
|
249 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Provider", function() { return __WEBPACK_IMPORTED_MODULE_0__components_Provider__["b"]; });
|
250 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "createProvider", function() { return __WEBPACK_IMPORTED_MODULE_0__components_Provider__["a"]; });
|
251 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "connectAdvanced", function() { return __WEBPACK_IMPORTED_MODULE_1__components_connectAdvanced__["a"]; });
|
252 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "connect", function() { return __WEBPACK_IMPORTED_MODULE_2__connect_connect__["a"]; });
|
253 |
+
|
254 |
+
|
255 |
+
|
256 |
+
|
257 |
+
|
258 |
+
|
259 |
+
/***/ }),
|
260 |
+
/* 8 */
|
261 |
+
/***/ (function(module, exports, __webpack_require__) {
|
262 |
+
|
263 |
+
"use strict";
|
264 |
+
|
265 |
+
|
266 |
+
Object.defineProperty(exports, "__esModule", {
|
267 |
+
value: true
|
268 |
+
});
|
269 |
+
|
270 |
+
var _getPrototypeOf = __webpack_require__(1);
|
271 |
+
|
272 |
+
var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
|
273 |
+
|
274 |
+
var _classCallCheck2 = __webpack_require__(2);
|
275 |
+
|
276 |
+
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
|
277 |
+
|
278 |
+
var _createClass2 = __webpack_require__(3);
|
279 |
+
|
280 |
+
var _createClass3 = _interopRequireDefault(_createClass2);
|
281 |
+
|
282 |
+
var _possibleConstructorReturn2 = __webpack_require__(4);
|
283 |
+
|
284 |
+
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
|
285 |
+
|
286 |
+
var _inherits2 = __webpack_require__(5);
|
287 |
+
|
288 |
+
var _inherits3 = _interopRequireDefault(_inherits2);
|
289 |
+
|
290 |
+
var _react = __webpack_require__(0);
|
291 |
+
|
292 |
+
var _react2 = _interopRequireDefault(_react);
|
293 |
+
|
294 |
+
var _propTypes = __webpack_require__(44);
|
295 |
+
|
296 |
+
var _propTypes2 = _interopRequireDefault(_propTypes);
|
297 |
+
|
298 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
299 |
+
|
300 |
+
var LoadingGif = function (_Component) {
|
301 |
+
(0, _inherits3.default)(LoadingGif, _Component);
|
302 |
+
|
303 |
+
function LoadingGif(props) {
|
304 |
+
(0, _classCallCheck3.default)(this, LoadingGif);
|
305 |
+
return (0, _possibleConstructorReturn3.default)(this, (LoadingGif.__proto__ || (0, _getPrototypeOf2.default)(LoadingGif)).call(this, props));
|
306 |
+
}
|
307 |
+
|
308 |
+
(0, _createClass3.default)(LoadingGif, [{
|
309 |
+
key: 'render',
|
310 |
+
value: function render() {
|
311 |
+
return _react2.default.createElement(
|
312 |
+
'div',
|
313 |
+
{ className: 'mpsum-spinner' },
|
314 |
+
_react2.default.createElement('img', { src: this.props.src })
|
315 |
+
);
|
316 |
+
}
|
317 |
+
}]);
|
318 |
+
return LoadingGif;
|
319 |
+
}(_react.Component);
|
320 |
+
|
321 |
+
LoadingGif.propTypes = {
|
322 |
+
src: _propTypes2.default.string.isRequired
|
323 |
+
};
|
324 |
+
LoadingGif.defaultProps = {
|
325 |
+
src: mpsum.spinner
|
326 |
+
};
|
327 |
+
exports.default = LoadingGif;
|
328 |
+
|
329 |
+
/***/ }),
|
330 |
+
/* 9 */
|
331 |
+
/***/ (function(module, exports, __webpack_require__) {
|
332 |
+
|
333 |
+
"use strict";
|
334 |
+
|
335 |
+
|
336 |
+
var bind = __webpack_require__(61);
|
337 |
+
var isBuffer = __webpack_require__(134);
|
338 |
+
|
339 |
+
/*global toString:true*/
|
340 |
+
|
341 |
+
// utils is a library of generic helper functions non-specific to axios
|
342 |
+
|
343 |
+
var toString = Object.prototype.toString;
|
344 |
+
|
345 |
+
/**
|
346 |
+
* Determine if a value is an Array
|
347 |
+
*
|
348 |
+
* @param {Object} val The value to test
|
349 |
+
* @returns {boolean} True if value is an Array, otherwise false
|
350 |
+
*/
|
351 |
+
function isArray(val) {
|
352 |
+
return toString.call(val) === '[object Array]';
|
353 |
+
}
|
354 |
+
|
355 |
+
/**
|
356 |
+
* Determine if a value is an ArrayBuffer
|
357 |
+
*
|
358 |
+
* @param {Object} val The value to test
|
359 |
+
* @returns {boolean} True if value is an ArrayBuffer, otherwise false
|
360 |
+
*/
|
361 |
+
function isArrayBuffer(val) {
|
362 |
+
return toString.call(val) === '[object ArrayBuffer]';
|
363 |
+
}
|
364 |
+
|
365 |
+
/**
|
366 |
+
* Determine if a value is a FormData
|
367 |
+
*
|
368 |
+
* @param {Object} val The value to test
|
369 |
+
* @returns {boolean} True if value is an FormData, otherwise false
|
370 |
+
*/
|
371 |
+
function isFormData(val) {
|
372 |
+
return (typeof FormData !== 'undefined') && (val instanceof FormData);
|
373 |
+
}
|
374 |
+
|
375 |
+
/**
|
376 |
+
* Determine if a value is a view on an ArrayBuffer
|
377 |
+
*
|
378 |
+
* @param {Object} val The value to test
|
379 |
+
* @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false
|
380 |
+
*/
|
381 |
+
function isArrayBufferView(val) {
|
382 |
+
var result;
|
383 |
+
if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {
|
384 |
+
result = ArrayBuffer.isView(val);
|
385 |
+
} else {
|
386 |
+
result = (val) && (val.buffer) && (val.buffer instanceof ArrayBuffer);
|
387 |
+
}
|
388 |
+
return result;
|
389 |
+
}
|
390 |
+
|
391 |
+
/**
|
392 |
+
* Determine if a value is a String
|
393 |
+
*
|
394 |
+
* @param {Object} val The value to test
|
395 |
+
* @returns {boolean} True if value is a String, otherwise false
|
396 |
+
*/
|
397 |
+
function isString(val) {
|
398 |
+
return typeof val === 'string';
|
399 |
+
}
|
400 |
+
|
401 |
+
/**
|
402 |
+
* Determine if a value is a Number
|
403 |
+
*
|
404 |
+
* @param {Object} val The value to test
|
405 |
+
* @returns {boolean} True if value is a Number, otherwise false
|
406 |
+
*/
|
407 |
+
function isNumber(val) {
|
408 |
+
return typeof val === 'number';
|
409 |
+
}
|
410 |
+
|
411 |
+
/**
|
412 |
+
* Determine if a value is undefined
|
413 |
+
*
|
414 |
+
* @param {Object} val The value to test
|
415 |
+
* @returns {boolean} True if the value is undefined, otherwise false
|
416 |
+
*/
|
417 |
+
function isUndefined(val) {
|
418 |
+
return typeof val === 'undefined';
|
419 |
+
}
|
420 |
+
|
421 |
+
/**
|
422 |
+
* Determine if a value is an Object
|
423 |
+
*
|
424 |
+
* @param {Object} val The value to test
|
425 |
+
* @returns {boolean} True if value is an Object, otherwise false
|
426 |
+
*/
|
427 |
+
function isObject(val) {
|
428 |
+
return val !== null && typeof val === 'object';
|
429 |
+
}
|
430 |
+
|
431 |
+
/**
|
432 |
+
* Determine if a value is a Date
|
433 |
+
*
|
434 |
+
* @param {Object} val The value to test
|
435 |
+
* @returns {boolean} True if value is a Date, otherwise false
|
436 |
+
*/
|
437 |
+
function isDate(val) {
|
438 |
+
return toString.call(val) === '[object Date]';
|
439 |
+
}
|
440 |
+
|
441 |
+
/**
|
442 |
+
* Determine if a value is a File
|
443 |
+
*
|
444 |
+
* @param {Object} val The value to test
|
445 |
+
* @returns {boolean} True if value is a File, otherwise false
|
446 |
+
*/
|
447 |
+
function isFile(val) {
|
448 |
+
return toString.call(val) === '[object File]';
|
449 |
+
}
|
450 |
+
|
451 |
+
/**
|
452 |
+
* Determine if a value is a Blob
|
453 |
+
*
|
454 |
+
* @param {Object} val The value to test
|
455 |
+
* @returns {boolean} True if value is a Blob, otherwise false
|
456 |
+
*/
|
457 |
+
function isBlob(val) {
|
458 |
+
return toString.call(val) === '[object Blob]';
|
459 |
+
}
|
460 |
+
|
461 |
+
/**
|
462 |
+
* Determine if a value is a Function
|
463 |
+
*
|
464 |
+
* @param {Object} val The value to test
|
465 |
+
* @returns {boolean} True if value is a Function, otherwise false
|
466 |
+
*/
|
467 |
+
function isFunction(val) {
|
468 |
+
return toString.call(val) === '[object Function]';
|
469 |
+
}
|
470 |
+
|
471 |
+
/**
|
472 |
+
* Determine if a value is a Stream
|
473 |
+
*
|
474 |
+
* @param {Object} val The value to test
|
475 |
+
* @returns {boolean} True if value is a Stream, otherwise false
|
476 |
+
*/
|
477 |
+
function isStream(val) {
|
478 |
+
return isObject(val) && isFunction(val.pipe);
|
479 |
+
}
|
480 |
+
|
481 |
+
/**
|
482 |
+
* Determine if a value is a URLSearchParams object
|
483 |
+
*
|
484 |
+
* @param {Object} val The value to test
|
485 |
+
* @returns {boolean} True if value is a URLSearchParams object, otherwise false
|
486 |
+
*/
|
487 |
+
function isURLSearchParams(val) {
|
488 |
+
return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;
|
489 |
+
}
|
490 |
+
|
491 |
+
/**
|
492 |
+
* Trim excess whitespace off the beginning and end of a string
|
493 |
+
*
|
494 |
+
* @param {String} str The String to trim
|
495 |
+
* @returns {String} The String freed of excess whitespace
|
496 |
+
*/
|
497 |
+
function trim(str) {
|
498 |
+
return str.replace(/^\s*/, '').replace(/\s*$/, '');
|
499 |
+
}
|
500 |
+
|
501 |
+
/**
|
502 |
+
* Determine if we're running in a standard browser environment
|
503 |
+
*
|
504 |
+
* This allows axios to run in a web worker, and react-native.
|
505 |
+
* Both environments support XMLHttpRequest, but not fully standard globals.
|
506 |
+
*
|
507 |
+
* web workers:
|
508 |
+
* typeof window -> undefined
|
509 |
+
* typeof document -> undefined
|
510 |
+
*
|
511 |
+
* react-native:
|
512 |
+
* navigator.product -> 'ReactNative'
|
513 |
+
*/
|
514 |
+
function isStandardBrowserEnv() {
|
515 |
+
if (typeof navigator !== 'undefined' && navigator.product === 'ReactNative') {
|
516 |
+
return false;
|
517 |
+
}
|
518 |
+
return (
|
519 |
+
typeof window !== 'undefined' &&
|
520 |
+
typeof document !== 'undefined'
|
521 |
+
);
|
522 |
+
}
|
523 |
+
|
524 |
+
/**
|
525 |
+
* Iterate over an Array or an Object invoking a function for each item.
|
526 |
+
*
|
527 |
+
* If `obj` is an Array callback will be called passing
|
528 |
+
* the value, index, and complete array for each item.
|
529 |
+
*
|
530 |
+
* If 'obj' is an Object callback will be called passing
|
531 |
+
* the value, key, and complete object for each property.
|
532 |
+
*
|
533 |
+
* @param {Object|Array} obj The object to iterate
|
534 |
+
* @param {Function} fn The callback to invoke for each item
|
535 |
+
*/
|
536 |
+
function forEach(obj, fn) {
|
537 |
+
// Don't bother if no value provided
|
538 |
+
if (obj === null || typeof obj === 'undefined') {
|
539 |
+
return;
|
540 |
+
}
|
541 |
+
|
542 |
+
// Force an array if not already something iterable
|
543 |
+
if (typeof obj !== 'object') {
|
544 |
+
/*eslint no-param-reassign:0*/
|
545 |
+
obj = [obj];
|
546 |
+
}
|
547 |
+
|
548 |
+
if (isArray(obj)) {
|
549 |
+
// Iterate over array values
|
550 |
+
for (var i = 0, l = obj.length; i < l; i++) {
|
551 |
+
fn.call(null, obj[i], i, obj);
|
552 |
+
}
|
553 |
+
} else {
|
554 |
+
// Iterate over object keys
|
555 |
+
for (var key in obj) {
|
556 |
+
if (Object.prototype.hasOwnProperty.call(obj, key)) {
|
557 |
+
fn.call(null, obj[key], key, obj);
|
558 |
+
}
|
559 |
+
}
|
560 |
+
}
|
561 |
+
}
|
562 |
+
|
563 |
+
/**
|
564 |
+
* Accepts varargs expecting each argument to be an object, then
|
565 |
+
* immutably merges the properties of each object and returns result.
|
566 |
+
*
|
567 |
+
* When multiple objects contain the same key the later object in
|
568 |
+
* the arguments list will take precedence.
|
569 |
+
*
|
570 |
+
* Example:
|
571 |
+
*
|
572 |
+
* ```js
|
573 |
+
* var result = merge({foo: 123}, {foo: 456});
|
574 |
+
* console.log(result.foo); // outputs 456
|
575 |
+
* ```
|
576 |
+
*
|
577 |
+
* @param {Object} obj1 Object to merge
|
578 |
+
* @returns {Object} Result of all merge properties
|
579 |
+
*/
|
580 |
+
function merge(/* obj1, obj2, obj3, ... */) {
|
581 |
+
var result = {};
|
582 |
+
function assignValue(val, key) {
|
583 |
+
if (typeof result[key] === 'object' && typeof val === 'object') {
|
584 |
+
result[key] = merge(result[key], val);
|
585 |
+
} else {
|
586 |
+
result[key] = val;
|
587 |
+
}
|
588 |
+
}
|
589 |
+
|
590 |
+
for (var i = 0, l = arguments.length; i < l; i++) {
|
591 |
+
forEach(arguments[i], assignValue);
|
592 |
+
}
|
593 |
+
return result;
|
594 |
+
}
|
595 |
+
|
596 |
+
/**
|
597 |
+
* Extends object a by mutably adding to it the properties of object b.
|
598 |
+
*
|
599 |
+
* @param {Object} a The object to be extended
|
600 |
+
* @param {Object} b The object to copy properties from
|
601 |
+
* @param {Object} thisArg The object to bind function to
|
602 |
+
* @return {Object} The resulting value of object a
|
603 |
+
*/
|
604 |
+
function extend(a, b, thisArg) {
|
605 |
+
forEach(b, function assignValue(val, key) {
|
606 |
+
if (thisArg && typeof val === 'function') {
|
607 |
+
a[key] = bind(val, thisArg);
|
608 |
+
} else {
|
609 |
+
a[key] = val;
|
610 |
+
}
|
611 |
+
});
|
612 |
+
return a;
|
613 |
+
}
|
614 |
+
|
615 |
+
module.exports = {
|
616 |
+
isArray: isArray,
|
617 |
+
isArrayBuffer: isArrayBuffer,
|
618 |
+
isBuffer: isBuffer,
|
619 |
+
isFormData: isFormData,
|
620 |
+
isArrayBufferView: isArrayBufferView,
|
621 |
+
isString: isString,
|
622 |
+
isNumber: isNumber,
|
623 |
+
isObject: isObject,
|
624 |
+
isUndefined: isUndefined,
|
625 |
+
isDate: isDate,
|
626 |
+
isFile: isFile,
|
627 |
+
isBlob: isBlob,
|
628 |
+
isFunction: isFunction,
|
629 |
+
isStream: isStream,
|
630 |
+
isURLSearchParams: isURLSearchParams,
|
631 |
+
isStandardBrowserEnv: isStandardBrowserEnv,
|
632 |
+
forEach: forEach,
|
633 |
+
merge: merge,
|
634 |
+
extend: extend,
|
635 |
+
trim: trim
|
636 |
+
};
|
637 |
+
|
638 |
+
|
639 |
+
/***/ }),
|
640 |
+
/* 10 */
|
641 |
+
/***/ (function(module, exports) {
|
642 |
+
|
643 |
+
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
644 |
+
var global = module.exports = typeof window != 'undefined' && window.Math == Math
|
645 |
+
? window : typeof self != 'undefined' && self.Math == Math ? self
|
646 |
+
// eslint-disable-next-line no-new-func
|
647 |
+
: Function('return this')();
|
648 |
+
if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
|
649 |
+
|
650 |
+
|
651 |
+
/***/ }),
|
652 |
+
/* 11 */
|
653 |
+
/***/ (function(module, exports) {
|
654 |
+
|
655 |
+
var core = module.exports = { version: '2.5.3' };
|
656 |
+
if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
|
657 |
+
|
658 |
+
|
659 |
+
/***/ }),
|
660 |
+
/* 12 */
|
661 |
+
/***/ (function(module, exports) {
|
662 |
+
|
663 |
+
var hasOwnProperty = {}.hasOwnProperty;
|
664 |
+
module.exports = function (it, key) {
|
665 |
+
return hasOwnProperty.call(it, key);
|
666 |
+
};
|
667 |
+
|
668 |
+
|
669 |
+
/***/ }),
|
670 |
+
/* 13 */
|
671 |
+
/***/ (function(module, exports, __webpack_require__) {
|
672 |
+
|
673 |
+
var anObject = __webpack_require__(20);
|
674 |
+
var IE8_DOM_DEFINE = __webpack_require__(49);
|
675 |
+
var toPrimitive = __webpack_require__(30);
|
676 |
+
var dP = Object.defineProperty;
|
677 |
+
|
678 |
+
exports.f = __webpack_require__(14) ? Object.defineProperty : function defineProperty(O, P, Attributes) {
|
679 |
+
anObject(O);
|
680 |
+
P = toPrimitive(P, true);
|
681 |
+
anObject(Attributes);
|
682 |
+
if (IE8_DOM_DEFINE) try {
|
683 |
+
return dP(O, P, Attributes);
|
684 |
+
} catch (e) { /* empty */ }
|
685 |
+
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
|
686 |
+
if ('value' in Attributes) O[P] = Attributes.value;
|
687 |
+
return O;
|
688 |
+
};
|
689 |
+
|
690 |
+
|
691 |
+
/***/ }),
|
692 |
+
/* 14 */
|
693 |
+
/***/ (function(module, exports, __webpack_require__) {
|
694 |
+
|
695 |
+
// Thank's IE8 for his funny defineProperty
|
696 |
+
module.exports = !__webpack_require__(21)(function () {
|
697 |
+
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
|
698 |
+
});
|
699 |
+
|
700 |
+
|
701 |
+
/***/ }),
|
702 |
+
/* 15 */
|
703 |
+
/***/ (function(module, exports, __webpack_require__) {
|
704 |
+
|
705 |
+
var global = __webpack_require__(10);
|
706 |
+
var core = __webpack_require__(11);
|
707 |
+
var ctx = __webpack_require__(48);
|
708 |
+
var hide = __webpack_require__(16);
|
709 |
+
var PROTOTYPE = 'prototype';
|
710 |
+
|
711 |
+
var $export = function (type, name, source) {
|
712 |
+
var IS_FORCED = type & $export.F;
|
713 |
+
var IS_GLOBAL = type & $export.G;
|
714 |
+
var IS_STATIC = type & $export.S;
|
715 |
+
var IS_PROTO = type & $export.P;
|
716 |
+
var IS_BIND = type & $export.B;
|
717 |
+
var IS_WRAP = type & $export.W;
|
718 |
+
var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
|
719 |
+
var expProto = exports[PROTOTYPE];
|
720 |
+
var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];
|
721 |
+
var key, own, out;
|
722 |
+
if (IS_GLOBAL) source = name;
|
723 |
+
for (key in source) {
|
724 |
+
// contains in native
|
725 |
+
own = !IS_FORCED && target && target[key] !== undefined;
|
726 |
+
if (own && key in exports) continue;
|
727 |
+
// export native or passed
|
728 |
+
out = own ? target[key] : source[key];
|
729 |
+
// prevent global pollution for namespaces
|
730 |
+
exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
|
731 |
+
// bind timers to global for call from export context
|
732 |
+
: IS_BIND && own ? ctx(out, global)
|
733 |
+
// wrap global constructors for prevent change them in library
|
734 |
+
: IS_WRAP && target[key] == out ? (function (C) {
|
735 |
+
var F = function (a, b, c) {
|
736 |
+
if (this instanceof C) {
|
737 |
+
switch (arguments.length) {
|
738 |
+
case 0: return new C();
|
739 |
+
case 1: return new C(a);
|
740 |
+
case 2: return new C(a, b);
|
741 |
+
} return new C(a, b, c);
|
742 |
+
} return C.apply(this, arguments);
|
743 |
+
};
|
744 |
+
F[PROTOTYPE] = C[PROTOTYPE];
|
745 |
+
return F;
|
746 |
+
// make static versions for prototype methods
|
747 |
+
})(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
|
748 |
+
// export proto methods to core.%CONSTRUCTOR%.methods.%NAME%
|
749 |
+
if (IS_PROTO) {
|
750 |
+
(exports.virtual || (exports.virtual = {}))[key] = out;
|
751 |
+
// export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%
|
752 |
+
if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);
|
753 |
+
}
|
754 |
+
}
|
755 |
+
};
|
756 |
+
// type bitmap
|
757 |
+
$export.F = 1; // forced
|
758 |
+
$export.G = 2; // global
|
759 |
+
$export.S = 4; // static
|
760 |
+
$export.P = 8; // proto
|
761 |
+
$export.B = 16; // bind
|
762 |
+
$export.W = 32; // wrap
|
763 |
+
$export.U = 64; // safe
|
764 |
+
$export.R = 128; // real proto method for `library`
|
765 |
+
module.exports = $export;
|
766 |
+
|
767 |
+
|
768 |
+
/***/ }),
|
769 |
+
/* 16 */
|
770 |
+
/***/ (function(module, exports, __webpack_require__) {
|
771 |
+
|
772 |
+
var dP = __webpack_require__(13);
|
773 |
+
var createDesc = __webpack_require__(23);
|
774 |
+
module.exports = __webpack_require__(14) ? function (object, key, value) {
|
775 |
+
return dP.f(object, key, createDesc(1, value));
|
776 |
+
} : function (object, key, value) {
|
777 |
+
object[key] = value;
|
778 |
+
return object;
|
779 |
+
};
|
780 |
+
|
781 |
+
|
782 |
+
/***/ }),
|
783 |
+
/* 17 */
|
784 |
+
/***/ (function(module, exports) {
|
785 |
+
|
786 |
+
module.exports = function (it) {
|
787 |
+
return typeof it === 'object' ? it !== null : typeof it === 'function';
|
788 |
+
};
|
789 |
+
|
790 |
+
|
791 |
+
/***/ }),
|
792 |
+
/* 18 */
|
793 |
+
/***/ (function(module, exports, __webpack_require__) {
|
794 |
+
|
795 |
+
// to indexed object, toObject with fallback for non-array-like ES3 strings
|
796 |
+
var IObject = __webpack_require__(96);
|
797 |
+
var defined = __webpack_require__(27);
|
798 |
+
module.exports = function (it) {
|
799 |
+
return IObject(defined(it));
|
800 |
+
};
|
801 |
+
|
802 |
+
|
803 |
+
/***/ }),
|
804 |
+
/* 19 */
|
805 |
+
/***/ (function(module, exports, __webpack_require__) {
|
806 |
+
|
807 |
+
var store = __webpack_require__(29)('wks');
|
808 |
+
var uid = __webpack_require__(22);
|
809 |
+
var Symbol = __webpack_require__(10).Symbol;
|
810 |
+
var USE_SYMBOL = typeof Symbol == 'function';
|
811 |
+
|
812 |
+
var $exports = module.exports = function (name) {
|
813 |
+
return store[name] || (store[name] =
|
814 |
+
USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
|
815 |
+
};
|
816 |
+
|
817 |
+
$exports.store = store;
|
818 |
+
|
819 |
+
|
820 |
+
/***/ }),
|
821 |
+
/* 20 */
|
822 |
+
/***/ (function(module, exports, __webpack_require__) {
|
823 |
+
|
824 |
+
var isObject = __webpack_require__(17);
|
825 |
+
module.exports = function (it) {
|
826 |
+
if (!isObject(it)) throw TypeError(it + ' is not an object!');
|
827 |
+
return it;
|
828 |
+
};
|
829 |
+
|
830 |
+
|
831 |
+
/***/ }),
|
832 |
+
/* 21 */
|
833 |
+
/***/ (function(module, exports) {
|
834 |
+
|
835 |
+
module.exports = function (exec) {
|
836 |
+
try {
|
837 |
+
return !!exec();
|
838 |
+
} catch (e) {
|
839 |
+
return true;
|
840 |
+
}
|
841 |
+
};
|
842 |
+
|
843 |
+
|
844 |
+
/***/ }),
|
845 |
+
/* 22 */
|
846 |
+
/***/ (function(module, exports) {
|
847 |
+
|
848 |
+
var id = 0;
|
849 |
+
var px = Math.random();
|
850 |
+
module.exports = function (key) {
|
851 |
+
return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
|
852 |
+
};
|
853 |
+
|
854 |
+
|
855 |
+
/***/ }),
|
856 |
+
/* 23 */
|
857 |
+
/***/ (function(module, exports) {
|
858 |
+
|
859 |
+
module.exports = function (bitmap, value) {
|
860 |
+
return {
|
861 |
+
enumerable: !(bitmap & 1),
|
862 |
+
configurable: !(bitmap & 2),
|
863 |
+
writable: !(bitmap & 4),
|
864 |
+
value: value
|
865 |
+
};
|
866 |
+
};
|
867 |
+
|
868 |
+
|
869 |
+
/***/ }),
|
870 |
+
/* 24 */
|
871 |
+
/***/ (function(module, exports, __webpack_require__) {
|
872 |
+
|
873 |
+
"use strict";
|
874 |
+
|
875 |
+
|
876 |
+
/**
|
877 |
+
* Copyright (c) 2013-present, Facebook, Inc.
|
878 |
+
*
|
879 |
+
* This source code is licensed under the MIT license found in the
|
880 |
+
* LICENSE file in the root directory of this source tree.
|
881 |
+
*
|
882 |
+
*
|
883 |
+
*/
|
884 |
+
|
885 |
+
function makeEmptyFunction(arg) {
|
886 |
+
return function () {
|
887 |
+
return arg;
|
888 |
+
};
|
889 |
+
}
|
890 |
+
|
891 |
+
/**
|
892 |
+
* This function accepts and discards inputs; it has no side effects. This is
|
893 |
+
* primarily useful idiomatically for overridable function endpoints which
|
894 |
+
* always need to be callable, since JS lacks a null-call idiom ala Cocoa.
|
895 |
+
*/
|
896 |
+
var emptyFunction = function emptyFunction() {};
|
897 |
+
|
898 |
+
emptyFunction.thatReturns = makeEmptyFunction;
|
899 |
+
emptyFunction.thatReturnsFalse = makeEmptyFunction(false);
|
900 |
+
emptyFunction.thatReturnsTrue = makeEmptyFunction(true);
|
901 |
+
emptyFunction.thatReturnsNull = makeEmptyFunction(null);
|
902 |
+
emptyFunction.thatReturnsThis = function () {
|
903 |
+
return this;
|
904 |
+
};
|
905 |
+
emptyFunction.thatReturnsArgument = function (arg) {
|
906 |
+
return arg;
|
907 |
+
};
|
908 |
+
|
909 |
+
module.exports = emptyFunction;
|
910 |
+
|
911 |
+
/***/ }),
|
912 |
+
/* 25 */
|
913 |
+
/***/ (function(module, exports, __webpack_require__) {
|
914 |
+
|
915 |
+
module.exports = __webpack_require__(133);
|
916 |
+
|
917 |
+
/***/ }),
|
918 |
+
/* 26 */
|
919 |
+
/***/ (function(module, exports) {
|
920 |
+
|
921 |
+
var g;
|
922 |
+
|
923 |
+
// This works in non-strict mode
|
924 |
+
g = (function() {
|
925 |
+
return this;
|
926 |
+
})();
|
927 |
+
|
928 |
+
try {
|
929 |
+
// This works if eval is allowed (see CSP)
|
930 |
+
g = g || Function("return this")() || (1,eval)("this");
|
931 |
+
} catch(e) {
|
932 |
+
// This works if the window reference is available
|
933 |
+
if(typeof window === "object")
|
934 |
+
g = window;
|
935 |
+
}
|
936 |
+
|
937 |
+
// g can still be undefined, but nothing to do about it...
|
938 |
+
// We return undefined, instead of nothing here, so it's
|
939 |
+
// easier to handle this case. if(!global) { ...}
|
940 |
+
|
941 |
+
module.exports = g;
|
942 |
+
|
943 |
+
|
944 |
+
/***/ }),
|
945 |
+
/* 27 */
|
946 |
+
/***/ (function(module, exports) {
|
947 |
+
|
948 |
+
// 7.2.1 RequireObjectCoercible(argument)
|
949 |
+
module.exports = function (it) {
|
950 |
+
if (it == undefined) throw TypeError("Can't call method on " + it);
|
951 |
+
return it;
|
952 |
+
};
|
953 |
+
|
954 |
+
|
955 |
+
/***/ }),
|
956 |
+
/* 28 */
|
957 |
+
/***/ (function(module, exports, __webpack_require__) {
|
958 |
+
|
959 |
+
var shared = __webpack_require__(29)('keys');
|
960 |
+
var uid = __webpack_require__(22);
|
961 |
+
module.exports = function (key) {
|
962 |
+
return shared[key] || (shared[key] = uid(key));
|
963 |
+
};
|
964 |
+
|
965 |
+
|
966 |
+
/***/ }),
|
967 |
+
/* 29 */
|
968 |
+
/***/ (function(module, exports, __webpack_require__) {
|
969 |
+
|
970 |
+
var global = __webpack_require__(10);
|
971 |
+
var SHARED = '__core-js_shared__';
|
972 |
+
var store = global[SHARED] || (global[SHARED] = {});
|
973 |
+
module.exports = function (key) {
|
974 |
+
return store[key] || (store[key] = {});
|
975 |
+
};
|
976 |
+
|
977 |
+
|
978 |
+
/***/ }),
|
979 |
+
/* 30 */
|
980 |
+
/***/ (function(module, exports, __webpack_require__) {
|
981 |
+
|
982 |
+
// 7.1.1 ToPrimitive(input [, PreferredType])
|
983 |
+
var isObject = __webpack_require__(17);
|
984 |
+
// instead of the ES6 spec version, we didn't implement @@toPrimitive case
|
985 |
+
// and the second argument - flag - preferred type is a string
|
986 |
+
module.exports = function (it, S) {
|
987 |
+
if (!isObject(it)) return it;
|
988 |
+
var fn, val;
|
989 |
+
if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
|
990 |
+
if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
|
991 |
+
if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
|
992 |
+
throw TypeError("Can't convert object to primitive value");
|
993 |
+
};
|
994 |
+
|
995 |
+
|
996 |
+
/***/ }),
|
997 |
+
/* 31 */
|
998 |
+
/***/ (function(module, exports) {
|
999 |
+
|
1000 |
+
// 7.1.4 ToInteger
|
1001 |
+
var ceil = Math.ceil;
|
1002 |
+
var floor = Math.floor;
|
1003 |
+
module.exports = function (it) {
|
1004 |
+
return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
|
1005 |
+
};
|
1006 |
+
|
1007 |
+
|
1008 |
+
/***/ }),
|
1009 |
+
/* 32 */
|
1010 |
+
/***/ (function(module, exports) {
|
1011 |
+
|
1012 |
+
module.exports = true;
|
1013 |
+
|
1014 |
+
|
1015 |
+
/***/ }),
|
1016 |
+
/* 33 */
|
1017 |
+
/***/ (function(module, exports) {
|
1018 |
+
|
1019 |
+
module.exports = {};
|
1020 |
+
|
1021 |
+
|
1022 |
+
/***/ }),
|
1023 |
+
/* 34 */
|
1024 |
+
/***/ (function(module, exports, __webpack_require__) {
|
1025 |
+
|
1026 |
+
// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
|
1027 |
+
var anObject = __webpack_require__(20);
|
1028 |
+
var dPs = __webpack_require__(95);
|
1029 |
+
var enumBugKeys = __webpack_require__(36);
|
1030 |
+
var IE_PROTO = __webpack_require__(28)('IE_PROTO');
|
1031 |
+
var Empty = function () { /* empty */ };
|
1032 |
+
var PROTOTYPE = 'prototype';
|
1033 |
+
|
1034 |
+
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
1035 |
+
var createDict = function () {
|
1036 |
+
// Thrash, waste and sodomy: IE GC bug
|
1037 |
+
var iframe = __webpack_require__(50)('iframe');
|
1038 |
+
var i = enumBugKeys.length;
|
1039 |
+
var lt = '<';
|
1040 |
+
var gt = '>';
|
1041 |
+
var iframeDocument;
|
1042 |
+
iframe.style.display = 'none';
|
1043 |
+
__webpack_require__(100).appendChild(iframe);
|
1044 |
+
iframe.src = 'javascript:'; // eslint-disable-line no-script-url
|
1045 |
+
// createDict = iframe.contentWindow.Object;
|
1046 |
+
// html.removeChild(iframe);
|
1047 |
+
iframeDocument = iframe.contentWindow.document;
|
1048 |
+
iframeDocument.open();
|
1049 |
+
iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
|
1050 |
+
iframeDocument.close();
|
1051 |
+
createDict = iframeDocument.F;
|
1052 |
+
while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];
|
1053 |
+
return createDict();
|
1054 |
+
};
|
1055 |
+
|
1056 |
+
module.exports = Object.create || function create(O, Properties) {
|
1057 |
+
var result;
|
1058 |
+
if (O !== null) {
|
1059 |
+
Empty[PROTOTYPE] = anObject(O);
|
1060 |
+
result = new Empty();
|
1061 |
+
Empty[PROTOTYPE] = null;
|
1062 |
+
// add "__proto__" for Object.getPrototypeOf polyfill
|
1063 |
+
result[IE_PROTO] = O;
|
1064 |
+
} else result = createDict();
|
1065 |
+
return Properties === undefined ? result : dPs(result, Properties);
|
1066 |
+
};
|
1067 |
+
|
1068 |
+
|
1069 |
+
/***/ }),
|
1070 |
+
/* 35 */
|
1071 |
+
/***/ (function(module, exports, __webpack_require__) {
|
1072 |
+
|
1073 |
+
// 19.1.2.14 / 15.2.3.14 Object.keys(O)
|
1074 |
+
var $keys = __webpack_require__(54);
|
1075 |
+
var enumBugKeys = __webpack_require__(36);
|
1076 |
+
|
1077 |
+
module.exports = Object.keys || function keys(O) {
|
1078 |
+
return $keys(O, enumBugKeys);
|
1079 |
+
};
|
1080 |
+
|
1081 |
+
|
1082 |
+
/***/ }),
|
1083 |
+
/* 36 */
|
1084 |
+
/***/ (function(module, exports) {
|
1085 |
+
|
1086 |
+
// IE 8- don't enum bug keys
|
1087 |
+
module.exports = (
|
1088 |
+
'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
|
1089 |
+
).split(',');
|
1090 |
+
|
1091 |
+
|
1092 |
+
/***/ }),
|
1093 |
+
/* 37 */
|
1094 |
+
/***/ (function(module, exports, __webpack_require__) {
|
1095 |
+
|
1096 |
+
var def = __webpack_require__(13).f;
|
1097 |
+
var has = __webpack_require__(12);
|
1098 |
+
var TAG = __webpack_require__(19)('toStringTag');
|
1099 |
+
|
1100 |
+
module.exports = function (it, tag, stat) {
|
1101 |
+
if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });
|
1102 |
+
};
|
1103 |
+
|
1104 |
+
|
1105 |
+
/***/ }),
|
1106 |
+
/* 38 */
|
1107 |
+
/***/ (function(module, exports, __webpack_require__) {
|
1108 |
+
|
1109 |
+
exports.f = __webpack_require__(19);
|
1110 |
+
|
1111 |
+
|
1112 |
+
/***/ }),
|
1113 |
+
/* 39 */
|
1114 |
+
/***/ (function(module, exports, __webpack_require__) {
|
1115 |
+
|
1116 |
+
var global = __webpack_require__(10);
|
1117 |
+
var core = __webpack_require__(11);
|
1118 |
+
var LIBRARY = __webpack_require__(32);
|
1119 |
+
var wksExt = __webpack_require__(38);
|
1120 |
+
var defineProperty = __webpack_require__(13).f;
|
1121 |
+
module.exports = function (name) {
|
1122 |
+
var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});
|
1123 |
+
if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });
|
1124 |
+
};
|
1125 |
+
|
1126 |
+
|
1127 |
+
/***/ }),
|
1128 |
+
/* 40 */
|
1129 |
+
/***/ (function(module, exports) {
|
1130 |
+
|
1131 |
+
exports.f = {}.propertyIsEnumerable;
|
1132 |
+
|
1133 |
+
|
1134 |
+
/***/ }),
|
1135 |
+
/* 41 */
|
1136 |
+
/***/ (function(module, exports, __webpack_require__) {
|
1137 |
+
|
1138 |
+
"use strict";
|
1139 |
+
/* WEBPACK VAR INJECTION */(function(process) {
|
1140 |
+
|
1141 |
+
var utils = __webpack_require__(9);
|
1142 |
+
var normalizeHeaderName = __webpack_require__(136);
|
1143 |
+
|
1144 |
+
var DEFAULT_CONTENT_TYPE = {
|
1145 |
+
'Content-Type': 'application/x-www-form-urlencoded'
|
1146 |
+
};
|
1147 |
+
|
1148 |
+
function setContentTypeIfUnset(headers, value) {
|
1149 |
+
if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {
|
1150 |
+
headers['Content-Type'] = value;
|
1151 |
+
}
|
1152 |
+
}
|
1153 |
+
|
1154 |
+
function getDefaultAdapter() {
|
1155 |
+
var adapter;
|
1156 |
+
if (typeof XMLHttpRequest !== 'undefined') {
|
1157 |
+
// For browsers use XHR adapter
|
1158 |
+
adapter = __webpack_require__(63);
|
1159 |
+
} else if (typeof process !== 'undefined') {
|
1160 |
+
// For node use HTTP adapter
|
1161 |
+
adapter = __webpack_require__(63);
|
1162 |
+
}
|
1163 |
+
return adapter;
|
1164 |
+
}
|
1165 |
+
|
1166 |
+
var defaults = {
|
1167 |
+
adapter: getDefaultAdapter(),
|
1168 |
+
|
1169 |
+
transformRequest: [function transformRequest(data, headers) {
|
1170 |
+
normalizeHeaderName(headers, 'Content-Type');
|
1171 |
+
if (utils.isFormData(data) ||
|
1172 |
+
utils.isArrayBuffer(data) ||
|
1173 |
+
utils.isBuffer(data) ||
|
1174 |
+
utils.isStream(data) ||
|
1175 |
+
utils.isFile(data) ||
|
1176 |
+
utils.isBlob(data)
|
1177 |
+
) {
|
1178 |
+
return data;
|
1179 |
+
}
|
1180 |
+
if (utils.isArrayBufferView(data)) {
|
1181 |
+
return data.buffer;
|
1182 |
+
}
|
1183 |
+
if (utils.isURLSearchParams(data)) {
|
1184 |
+
setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');
|
1185 |
+
return data.toString();
|
1186 |
+
}
|
1187 |
+
if (utils.isObject(data)) {
|
1188 |
+
setContentTypeIfUnset(headers, 'application/json;charset=utf-8');
|
1189 |
+
return JSON.stringify(data);
|
1190 |
+
}
|
1191 |
+
return data;
|
1192 |
+
}],
|
1193 |
+
|
1194 |
+
transformResponse: [function transformResponse(data) {
|
1195 |
+
/*eslint no-param-reassign:0*/
|
1196 |
+
if (typeof data === 'string') {
|
1197 |
+
try {
|
1198 |
+
data = JSON.parse(data);
|
1199 |
+
} catch (e) { /* Ignore */ }
|
1200 |
+
}
|
1201 |
+
return data;
|
1202 |
+
}],
|
1203 |
+
|
1204 |
+
timeout: 0,
|
1205 |
+
|
1206 |
+
xsrfCookieName: 'XSRF-TOKEN',
|
1207 |
+
xsrfHeaderName: 'X-XSRF-TOKEN',
|
1208 |
+
|
1209 |
+
maxContentLength: -1,
|
1210 |
+
|
1211 |
+
validateStatus: function validateStatus(status) {
|
1212 |
+
return status >= 200 && status < 300;
|
1213 |
+
}
|
1214 |
+
};
|
1215 |
+
|
1216 |
+
defaults.headers = {
|
1217 |
+
common: {
|
1218 |
+
'Accept': 'application/json, text/plain, */*'
|
1219 |
+
}
|
1220 |
+
};
|
1221 |
+
|
1222 |
+
utils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {
|
1223 |
+
defaults.headers[method] = {};
|
1224 |
+
});
|
1225 |
+
|
1226 |
+
utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
|
1227 |
+
defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);
|
1228 |
+
});
|
1229 |
+
|
1230 |
+
module.exports = defaults;
|
1231 |
+
|
1232 |
+
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(62)))
|
1233 |
+
|
1234 |
+
/***/ }),
|
1235 |
+
/* 42 */
|
1236 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1237 |
+
|
1238 |
+
"use strict";
|
1239 |
+
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
1240 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__createStore__ = __webpack_require__(67);
|
1241 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__combineReducers__ = __webpack_require__(162);
|
1242 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__bindActionCreators__ = __webpack_require__(163);
|
1243 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__applyMiddleware__ = __webpack_require__(164);
|
1244 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__compose__ = __webpack_require__(71);
|
1245 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__utils_warning__ = __webpack_require__(70);
|
1246 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "createStore", function() { return __WEBPACK_IMPORTED_MODULE_0__createStore__["b"]; });
|
1247 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "combineReducers", function() { return __WEBPACK_IMPORTED_MODULE_1__combineReducers__["a"]; });
|
1248 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "bindActionCreators", function() { return __WEBPACK_IMPORTED_MODULE_2__bindActionCreators__["a"]; });
|
1249 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "applyMiddleware", function() { return __WEBPACK_IMPORTED_MODULE_3__applyMiddleware__["a"]; });
|
1250 |
+
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "compose", function() { return __WEBPACK_IMPORTED_MODULE_4__compose__["a"]; });
|
1251 |
+
|
1252 |
+
|
1253 |
+
|
1254 |
+
|
1255 |
+
|
1256 |
+
|
1257 |
+
|
1258 |
+
/*
|
1259 |
+
* This is a dummy function to check if the function name has been altered by minification.
|
1260 |
+
* If the function has been minified and NODE_ENV !== 'production', warn the user.
|
1261 |
+
*/
|
1262 |
+
function isCrushed() {}
|
1263 |
+
|
1264 |
+
if (false) {
|
1265 |
+
warning('You are currently using minified code outside of NODE_ENV === \'production\'. ' + 'This means that you are running a slower development build of Redux. ' + 'You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify ' + 'or DefinePlugin for webpack (http://stackoverflow.com/questions/30030031) ' + 'to ensure you have the correct code for your production build.');
|
1266 |
+
}
|
1267 |
+
|
1268 |
+
|
1269 |
+
|
1270 |
+
/***/ }),
|
1271 |
+
/* 43 */
|
1272 |
+
/***/ (function(module, exports, __webpack_require__) {
|
1273 |
+
|
1274 |
+
"use strict";
|
1275 |
+
|
1276 |
+
|
1277 |
+
var stringify = __webpack_require__(167);
|
1278 |
+
var parse = __webpack_require__(168);
|
1279 |
+
var formats = __webpack_require__(74);
|
1280 |
+
|
1281 |
+
module.exports = {
|
1282 |
+
formats: formats,
|
1283 |
+
parse: parse,
|
1284 |
+
stringify: stringify
|
1285 |
+
};
|
1286 |
+
|
1287 |
+
|
1288 |
+
/***/ }),
|
1289 |
+
/* 44 */
|
1290 |
+
/***/ (function(module, exports, __webpack_require__) {
|
1291 |
+
|
1292 |
+
/**
|
1293 |
+
* Copyright (c) 2013-present, Facebook, Inc.
|
1294 |
+
*
|
1295 |
+
* This source code is licensed under the MIT license found in the
|
1296 |
+
* LICENSE file in the root directory of this source tree.
|
1297 |
+
*/
|
1298 |
+
|
1299 |
+
if (false) {
|
1300 |
+
var REACT_ELEMENT_TYPE = (typeof Symbol === 'function' &&
|
1301 |
+
Symbol.for &&
|
1302 |
+
Symbol.for('react.element')) ||
|
1303 |
+
0xeac7;
|
1304 |
+
|
1305 |
+
var isValidElement = function(object) {
|
1306 |
+
return typeof object === 'object' &&
|
1307 |
+
object !== null &&
|
1308 |
+
object.$$typeof === REACT_ELEMENT_TYPE;
|
1309 |
+
};
|
1310 |
+
|
1311 |
+
// By explicitly using `prop-types` you are opting into new development behavior.
|
1312 |
+
// http://fb.me/prop-types-in-prod
|
1313 |
+
var throwOnDirectAccess = true;
|
1314 |
+
module.exports = require('./factoryWithTypeCheckers')(isValidElement, throwOnDirectAccess);
|
1315 |
+
} else {
|
1316 |
+
// By explicitly using `prop-types` you are opting into new production behavior.
|
1317 |
+
// http://fb.me/prop-types-in-prod
|
1318 |
+
module.exports = __webpack_require__(171)();
|
1319 |
+
}
|
1320 |
+
|
1321 |
+
|
1322 |
+
/***/ }),
|
1323 |
+
/* 45 */
|
1324 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1325 |
+
|
1326 |
+
"use strict";
|
1327 |
+
/* harmony export (immutable) */ __webpack_exports__["a"] = warning;
|
1328 |
+
/**
|
1329 |
+
* Prints a warning in the console if it exists.
|
1330 |
+
*
|
1331 |
+
* @param {String} message The warning message.
|
1332 |
+
* @returns {void}
|
1333 |
+
*/
|
1334 |
+
function warning(message) {
|
1335 |
+
/* eslint-disable no-console */
|
1336 |
+
if (typeof console !== 'undefined' && typeof console.error === 'function') {
|
1337 |
+
console.error(message);
|
1338 |
+
}
|
1339 |
+
/* eslint-enable no-console */
|
1340 |
+
try {
|
1341 |
+
// This error was thrown as a convenience so that if you enable
|
1342 |
+
// "break on all exceptions" in your console,
|
1343 |
+
// it would pause the execution at this line.
|
1344 |
+
throw new Error(message);
|
1345 |
+
/* eslint-disable no-empty */
|
1346 |
+
} catch (e) {}
|
1347 |
+
/* eslint-enable no-empty */
|
1348 |
+
}
|
1349 |
+
|
1350 |
+
/***/ }),
|
1351 |
+
/* 46 */
|
1352 |
+
/***/ (function(module, exports, __webpack_require__) {
|
1353 |
+
|
1354 |
+
// 7.1.13 ToObject(argument)
|
1355 |
+
var defined = __webpack_require__(27);
|
1356 |
+
module.exports = function (it) {
|
1357 |
+
return Object(defined(it));
|
1358 |
+
};
|
1359 |
+
|
1360 |
+
|
1361 |
+
/***/ }),
|
1362 |
+
/* 47 */
|
1363 |
+
/***/ (function(module, exports, __webpack_require__) {
|
1364 |
+
|
1365 |
+
// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
|
1366 |
+
var has = __webpack_require__(12);
|
1367 |
+
var toObject = __webpack_require__(46);
|
1368 |
+
var IE_PROTO = __webpack_require__(28)('IE_PROTO');
|
1369 |
+
var ObjectProto = Object.prototype;
|
1370 |
+
|
1371 |
+
module.exports = Object.getPrototypeOf || function (O) {
|
1372 |
+
O = toObject(O);
|
1373 |
+
if (has(O, IE_PROTO)) return O[IE_PROTO];
|
1374 |
+
if (typeof O.constructor == 'function' && O instanceof O.constructor) {
|
1375 |
+
return O.constructor.prototype;
|
1376 |
+
} return O instanceof Object ? ObjectProto : null;
|
1377 |
+
};
|
1378 |
+
|
1379 |
+
|
1380 |
+
/***/ }),
|
1381 |
+
/* 48 */
|
1382 |
+
/***/ (function(module, exports, __webpack_require__) {
|
1383 |
+
|
1384 |
+
// optional / simple context binding
|
1385 |
+
var aFunction = __webpack_require__(86);
|
1386 |
+
module.exports = function (fn, that, length) {
|
1387 |
+
aFunction(fn);
|
1388 |
+
if (that === undefined) return fn;
|
1389 |
+
switch (length) {
|
1390 |
+
case 1: return function (a) {
|
1391 |
+
return fn.call(that, a);
|
1392 |
+
};
|
1393 |
+
case 2: return function (a, b) {
|
1394 |
+
return fn.call(that, a, b);
|
1395 |
+
};
|
1396 |
+
case 3: return function (a, b, c) {
|
1397 |
+
return fn.call(that, a, b, c);
|
1398 |
+
};
|
1399 |
+
}
|
1400 |
+
return function (/* ...args */) {
|
1401 |
+
return fn.apply(that, arguments);
|
1402 |
+
};
|
1403 |
+
};
|
1404 |
+
|
1405 |
+
|
1406 |
+
/***/ }),
|
1407 |
+
/* 49 */
|
1408 |
+
/***/ (function(module, exports, __webpack_require__) {
|
1409 |
+
|
1410 |
+
module.exports = !__webpack_require__(14) && !__webpack_require__(21)(function () {
|
1411 |
+
return Object.defineProperty(__webpack_require__(50)('div'), 'a', { get: function () { return 7; } }).a != 7;
|
1412 |
+
});
|
1413 |
+
|
1414 |
+
|
1415 |
+
/***/ }),
|
1416 |
+
/* 50 */
|
1417 |
+
/***/ (function(module, exports, __webpack_require__) {
|
1418 |
+
|
1419 |
+
var isObject = __webpack_require__(17);
|
1420 |
+
var document = __webpack_require__(10).document;
|
1421 |
+
// typeof document.createElement is 'object' in old IE
|
1422 |
+
var is = isObject(document) && isObject(document.createElement);
|
1423 |
+
module.exports = function (it) {
|
1424 |
+
return is ? document.createElement(it) : {};
|
1425 |
+
};
|
1426 |
+
|
1427 |
+
|
1428 |
+
/***/ }),
|
1429 |
+
/* 51 */
|
1430 |
+
/***/ (function(module, exports, __webpack_require__) {
|
1431 |
+
|
1432 |
+
"use strict";
|
1433 |
+
|
1434 |
+
|
1435 |
+
exports.__esModule = true;
|
1436 |
+
|
1437 |
+
var _iterator = __webpack_require__(90);
|
1438 |
+
|
1439 |
+
var _iterator2 = _interopRequireDefault(_iterator);
|
1440 |
+
|
1441 |
+
var _symbol = __webpack_require__(105);
|
1442 |
+
|
1443 |
+
var _symbol2 = _interopRequireDefault(_symbol);
|
1444 |
+
|
1445 |
+
var _typeof = typeof _symbol2.default === "function" && typeof _iterator2.default === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof _symbol2.default === "function" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? "symbol" : typeof obj; };
|
1446 |
+
|
1447 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
1448 |
+
|
1449 |
+
exports.default = typeof _symbol2.default === "function" && _typeof(_iterator2.default) === "symbol" ? function (obj) {
|
1450 |
+
return typeof obj === "undefined" ? "undefined" : _typeof(obj);
|
1451 |
+
} : function (obj) {
|
1452 |
+
return obj && typeof _symbol2.default === "function" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? "symbol" : typeof obj === "undefined" ? "undefined" : _typeof(obj);
|
1453 |
+
};
|
1454 |
+
|
1455 |
+
/***/ }),
|
1456 |
+
/* 52 */
|
1457 |
+
/***/ (function(module, exports, __webpack_require__) {
|
1458 |
+
|
1459 |
+
"use strict";
|
1460 |
+
|
1461 |
+
var LIBRARY = __webpack_require__(32);
|
1462 |
+
var $export = __webpack_require__(15);
|
1463 |
+
var redefine = __webpack_require__(53);
|
1464 |
+
var hide = __webpack_require__(16);
|
1465 |
+
var has = __webpack_require__(12);
|
1466 |
+
var Iterators = __webpack_require__(33);
|
1467 |
+
var $iterCreate = __webpack_require__(94);
|
1468 |
+
var setToStringTag = __webpack_require__(37);
|
1469 |
+
var getPrototypeOf = __webpack_require__(47);
|
1470 |
+
var ITERATOR = __webpack_require__(19)('iterator');
|
1471 |
+
var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`
|
1472 |
+
var FF_ITERATOR = '@@iterator';
|
1473 |
+
var KEYS = 'keys';
|
1474 |
+
var VALUES = 'values';
|
1475 |
+
|
1476 |
+
var returnThis = function () { return this; };
|
1477 |
+
|
1478 |
+
module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {
|
1479 |
+
$iterCreate(Constructor, NAME, next);
|
1480 |
+
var getMethod = function (kind) {
|
1481 |
+
if (!BUGGY && kind in proto) return proto[kind];
|
1482 |
+
switch (kind) {
|
1483 |
+
case KEYS: return function keys() { return new Constructor(this, kind); };
|
1484 |
+
case VALUES: return function values() { return new Constructor(this, kind); };
|
1485 |
+
} return function entries() { return new Constructor(this, kind); };
|
1486 |
+
};
|
1487 |
+
var TAG = NAME + ' Iterator';
|
1488 |
+
var DEF_VALUES = DEFAULT == VALUES;
|
1489 |
+
var VALUES_BUG = false;
|
1490 |
+
var proto = Base.prototype;
|
1491 |
+
var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];
|
1492 |
+
var $default = (!BUGGY && $native) || getMethod(DEFAULT);
|
1493 |
+
var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;
|
1494 |
+
var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;
|
1495 |
+
var methods, key, IteratorPrototype;
|
1496 |
+
// Fix native
|
1497 |
+
if ($anyNative) {
|
1498 |
+
IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));
|
1499 |
+
if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {
|
1500 |
+
// Set @@toStringTag to native iterators
|
1501 |
+
setToStringTag(IteratorPrototype, TAG, true);
|
1502 |
+
// fix for some old engines
|
1503 |
+
if (!LIBRARY && !has(IteratorPrototype, ITERATOR)) hide(IteratorPrototype, ITERATOR, returnThis);
|
1504 |
+
}
|
1505 |
+
}
|
1506 |
+
// fix Array#{values, @@iterator}.name in V8 / FF
|
1507 |
+
if (DEF_VALUES && $native && $native.name !== VALUES) {
|
1508 |
+
VALUES_BUG = true;
|
1509 |
+
$default = function values() { return $native.call(this); };
|
1510 |
+
}
|
1511 |
+
// Define iterator
|
1512 |
+
if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {
|
1513 |
+
hide(proto, ITERATOR, $default);
|
1514 |
+
}
|
1515 |
+
// Plug for library
|
1516 |
+
Iterators[NAME] = $default;
|
1517 |
+
Iterators[TAG] = returnThis;
|
1518 |
+
if (DEFAULT) {
|
1519 |
+
methods = {
|
1520 |
+
values: DEF_VALUES ? $default : getMethod(VALUES),
|
1521 |
+
keys: IS_SET ? $default : getMethod(KEYS),
|
1522 |
+
entries: $entries
|
1523 |
+
};
|
1524 |
+
if (FORCED) for (key in methods) {
|
1525 |
+
if (!(key in proto)) redefine(proto, key, methods[key]);
|
1526 |
+
} else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
|
1527 |
+
}
|
1528 |
+
return methods;
|
1529 |
+
};
|
1530 |
+
|
1531 |
+
|
1532 |
+
/***/ }),
|
1533 |
+
/* 53 */
|
1534 |
+
/***/ (function(module, exports, __webpack_require__) {
|
1535 |
+
|
1536 |
+
module.exports = __webpack_require__(16);
|
1537 |
+
|
1538 |
+
|
1539 |
+
/***/ }),
|
1540 |
+
/* 54 */
|
1541 |
+
/***/ (function(module, exports, __webpack_require__) {
|
1542 |
+
|
1543 |
+
var has = __webpack_require__(12);
|
1544 |
+
var toIObject = __webpack_require__(18);
|
1545 |
+
var arrayIndexOf = __webpack_require__(97)(false);
|
1546 |
+
var IE_PROTO = __webpack_require__(28)('IE_PROTO');
|
1547 |
+
|
1548 |
+
module.exports = function (object, names) {
|
1549 |
+
var O = toIObject(object);
|
1550 |
+
var i = 0;
|
1551 |
+
var result = [];
|
1552 |
+
var key;
|
1553 |
+
for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);
|
1554 |
+
// Don't enum bug & hidden keys
|
1555 |
+
while (names.length > i) if (has(O, key = names[i++])) {
|
1556 |
+
~arrayIndexOf(result, key) || result.push(key);
|
1557 |
+
}
|
1558 |
+
return result;
|
1559 |
+
};
|
1560 |
+
|
1561 |
+
|
1562 |
+
/***/ }),
|
1563 |
+
/* 55 */
|
1564 |
+
/***/ (function(module, exports) {
|
1565 |
+
|
1566 |
+
var toString = {}.toString;
|
1567 |
+
|
1568 |
+
module.exports = function (it) {
|
1569 |
+
return toString.call(it).slice(8, -1);
|
1570 |
+
};
|
1571 |
+
|
1572 |
+
|
1573 |
+
/***/ }),
|
1574 |
+
/* 56 */
|
1575 |
+
/***/ (function(module, exports) {
|
1576 |
+
|
1577 |
+
exports.f = Object.getOwnPropertySymbols;
|
1578 |
+
|
1579 |
+
|
1580 |
+
/***/ }),
|
1581 |
+
/* 57 */
|
1582 |
+
/***/ (function(module, exports, __webpack_require__) {
|
1583 |
+
|
1584 |
+
// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
|
1585 |
+
var $keys = __webpack_require__(54);
|
1586 |
+
var hiddenKeys = __webpack_require__(36).concat('length', 'prototype');
|
1587 |
+
|
1588 |
+
exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
1589 |
+
return $keys(O, hiddenKeys);
|
1590 |
+
};
|
1591 |
+
|
1592 |
+
|
1593 |
+
/***/ }),
|
1594 |
+
/* 58 */
|
1595 |
+
/***/ (function(module, exports, __webpack_require__) {
|
1596 |
+
|
1597 |
+
var pIE = __webpack_require__(40);
|
1598 |
+
var createDesc = __webpack_require__(23);
|
1599 |
+
var toIObject = __webpack_require__(18);
|
1600 |
+
var toPrimitive = __webpack_require__(30);
|
1601 |
+
var has = __webpack_require__(12);
|
1602 |
+
var IE8_DOM_DEFINE = __webpack_require__(49);
|
1603 |
+
var gOPD = Object.getOwnPropertyDescriptor;
|
1604 |
+
|
1605 |
+
exports.f = __webpack_require__(14) ? gOPD : function getOwnPropertyDescriptor(O, P) {
|
1606 |
+
O = toIObject(O);
|
1607 |
+
P = toPrimitive(P, true);
|
1608 |
+
if (IE8_DOM_DEFINE) try {
|
1609 |
+
return gOPD(O, P);
|
1610 |
+
} catch (e) { /* empty */ }
|
1611 |
+
if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);
|
1612 |
+
};
|
1613 |
+
|
1614 |
+
|
1615 |
+
/***/ }),
|
1616 |
+
/* 59 */
|
1617 |
+
/***/ (function(module, exports, __webpack_require__) {
|
1618 |
+
|
1619 |
+
"use strict";
|
1620 |
+
/*
|
1621 |
object-assign
|
1622 |
(c) Sindre Sorhus
|
1623 |
@license MIT
|
1624 |
*/
|
1625 |
+
|
1626 |
+
|
1627 |
+
/* eslint-disable no-unused-vars */
|
1628 |
+
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
1629 |
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
1630 |
+
var propIsEnumerable = Object.prototype.propertyIsEnumerable;
|
1631 |
+
|
1632 |
+
function toObject(val) {
|
1633 |
+
if (val === null || val === undefined) {
|
1634 |
+
throw new TypeError('Object.assign cannot be called with null or undefined');
|
1635 |
+
}
|
1636 |
+
|
1637 |
+
return Object(val);
|
1638 |
+
}
|
1639 |
+
|
1640 |
+
function shouldUseNative() {
|
1641 |
+
try {
|
1642 |
+
if (!Object.assign) {
|
1643 |
+
return false;
|
1644 |
+
}
|
1645 |
+
|
1646 |
+
// Detect buggy property enumeration order in older V8 versions.
|
1647 |
+
|
1648 |
+
// https://bugs.chromium.org/p/v8/issues/detail?id=4118
|
1649 |
+
var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
|
1650 |
+
test1[5] = 'de';
|
1651 |
+
if (Object.getOwnPropertyNames(test1)[0] === '5') {
|
1652 |
+
return false;
|
1653 |
+
}
|
1654 |
+
|
1655 |
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3056
|
1656 |
+
var test2 = {};
|
1657 |
+
for (var i = 0; i < 10; i++) {
|
1658 |
+
test2['_' + String.fromCharCode(i)] = i;
|
1659 |
+
}
|
1660 |
+
var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
|
1661 |
+
return test2[n];
|
1662 |
+
});
|
1663 |
+
if (order2.join('') !== '0123456789') {
|
1664 |
+
return false;
|
1665 |
+
}
|
1666 |
+
|
1667 |
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3056
|
1668 |
+
var test3 = {};
|
1669 |
+
'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
|
1670 |
+
test3[letter] = letter;
|
1671 |
+
});
|
1672 |
+
if (Object.keys(Object.assign({}, test3)).join('') !==
|
1673 |
+
'abcdefghijklmnopqrst') {
|
1674 |
+
return false;
|
1675 |
+
}
|
1676 |
+
|
1677 |
+
return true;
|
1678 |
+
} catch (err) {
|
1679 |
+
// We don't expect any of the above to throw, but better to be safe.
|
1680 |
+
return false;
|
1681 |
+
}
|
1682 |
+
}
|
1683 |
+
|
1684 |
+
module.exports = shouldUseNative() ? Object.assign : function (target, source) {
|
1685 |
+
var from;
|
1686 |
+
var to = toObject(target);
|
1687 |
+
var symbols;
|
1688 |
+
|
1689 |
+
for (var s = 1; s < arguments.length; s++) {
|
1690 |
+
from = Object(arguments[s]);
|
1691 |
+
|
1692 |
+
for (var key in from) {
|
1693 |
+
if (hasOwnProperty.call(from, key)) {
|
1694 |
+
to[key] = from[key];
|
1695 |
+
}
|
1696 |
+
}
|
1697 |
+
|
1698 |
+
if (getOwnPropertySymbols) {
|
1699 |
+
symbols = getOwnPropertySymbols(from);
|
1700 |
+
for (var i = 0; i < symbols.length; i++) {
|
1701 |
+
if (propIsEnumerable.call(from, symbols[i])) {
|
1702 |
+
to[symbols[i]] = from[symbols[i]];
|
1703 |
+
}
|
1704 |
+
}
|
1705 |
+
}
|
1706 |
+
}
|
1707 |
+
|
1708 |
+
return to;
|
1709 |
+
};
|
1710 |
+
|
1711 |
+
|
1712 |
+
/***/ }),
|
1713 |
+
/* 60 */
|
1714 |
+
/***/ (function(module, exports, __webpack_require__) {
|
1715 |
+
|
1716 |
+
"use strict";
|
1717 |
+
/**
|
1718 |
+
* Copyright (c) 2013-present, Facebook, Inc.
|
1719 |
+
*
|
1720 |
+
* This source code is licensed under the MIT license found in the
|
1721 |
+
* LICENSE file in the root directory of this source tree.
|
1722 |
+
*
|
1723 |
+
*/
|
1724 |
+
|
1725 |
+
|
1726 |
+
|
1727 |
+
var emptyObject = {};
|
1728 |
+
|
1729 |
+
if (false) {
|
1730 |
+
Object.freeze(emptyObject);
|
1731 |
+
}
|
1732 |
+
|
1733 |
+
module.exports = emptyObject;
|
1734 |
+
|
1735 |
+
/***/ }),
|
1736 |
+
/* 61 */
|
1737 |
+
/***/ (function(module, exports, __webpack_require__) {
|
1738 |
+
|
1739 |
+
"use strict";
|
1740 |
+
|
1741 |
+
|
1742 |
+
module.exports = function bind(fn, thisArg) {
|
1743 |
+
return function wrap() {
|
1744 |
+
var args = new Array(arguments.length);
|
1745 |
+
for (var i = 0; i < args.length; i++) {
|
1746 |
+
args[i] = arguments[i];
|
1747 |
+
}
|
1748 |
+
return fn.apply(thisArg, args);
|
1749 |
+
};
|
1750 |
+
};
|
1751 |
+
|
1752 |
+
|
1753 |
+
/***/ }),
|
1754 |
+
/* 62 */
|
1755 |
+
/***/ (function(module, exports) {
|
1756 |
+
|
1757 |
+
// shim for using process in browser
|
1758 |
+
var process = module.exports = {};
|
1759 |
+
|
1760 |
+
// cached from whatever global is present so that test runners that stub it
|
1761 |
+
// don't break things. But we need to wrap it in a try catch in case it is
|
1762 |
+
// wrapped in strict mode code which doesn't define any globals. It's inside a
|
1763 |
+
// function because try/catches deoptimize in certain engines.
|
1764 |
+
|
1765 |
+
var cachedSetTimeout;
|
1766 |
+
var cachedClearTimeout;
|
1767 |
+
|
1768 |
+
function defaultSetTimout() {
|
1769 |
+
throw new Error('setTimeout has not been defined');
|
1770 |
+
}
|
1771 |
+
function defaultClearTimeout () {
|
1772 |
+
throw new Error('clearTimeout has not been defined');
|
1773 |
+
}
|
1774 |
+
(function () {
|
1775 |
+
try {
|
1776 |
+
if (typeof setTimeout === 'function') {
|
1777 |
+
cachedSetTimeout = setTimeout;
|
1778 |
+
} else {
|
1779 |
+
cachedSetTimeout = defaultSetTimout;
|
1780 |
+
}
|
1781 |
+
} catch (e) {
|
1782 |
+
cachedSetTimeout = defaultSetTimout;
|
1783 |
+
}
|
1784 |
+
try {
|
1785 |
+
if (typeof clearTimeout === 'function') {
|
1786 |
+
cachedClearTimeout = clearTimeout;
|
1787 |
+
} else {
|
1788 |
+
cachedClearTimeout = defaultClearTimeout;
|
1789 |
+
}
|
1790 |
+
} catch (e) {
|
1791 |
+
cachedClearTimeout = defaultClearTimeout;
|
1792 |
+
}
|
1793 |
+
} ())
|
1794 |
+
function runTimeout(fun) {
|
1795 |
+
if (cachedSetTimeout === setTimeout) {
|
1796 |
+
//normal enviroments in sane situations
|
1797 |
+
return setTimeout(fun, 0);
|
1798 |
+
}
|
1799 |
+
// if setTimeout wasn't available but was latter defined
|
1800 |
+
if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
|
1801 |
+
cachedSetTimeout = setTimeout;
|
1802 |
+
return setTimeout(fun, 0);
|
1803 |
+
}
|
1804 |
+
try {
|
1805 |
+
// when when somebody has screwed with setTimeout but no I.E. maddness
|
1806 |
+
return cachedSetTimeout(fun, 0);
|
1807 |
+
} catch(e){
|
1808 |
+
try {
|
1809 |
+
// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
|
1810 |
+
return cachedSetTimeout.call(null, fun, 0);
|
1811 |
+
} catch(e){
|
1812 |
+
// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
|
1813 |
+
return cachedSetTimeout.call(this, fun, 0);
|
1814 |
+
}
|
1815 |
+
}
|
1816 |
+
|
1817 |
+
|
1818 |
+
}
|
1819 |
+
function runClearTimeout(marker) {
|
1820 |
+
if (cachedClearTimeout === clearTimeout) {
|
1821 |
+
//normal enviroments in sane situations
|
1822 |
+
return clearTimeout(marker);
|
1823 |
+
}
|
1824 |
+
// if clearTimeout wasn't available but was latter defined
|
1825 |
+
if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
|
1826 |
+
cachedClearTimeout = clearTimeout;
|
1827 |
+
return clearTimeout(marker);
|
1828 |
+
}
|
1829 |
+
try {
|
1830 |
+
// when when somebody has screwed with setTimeout but no I.E. maddness
|
1831 |
+
return cachedClearTimeout(marker);
|
1832 |
+
} catch (e){
|
1833 |
+
try {
|
1834 |
+
// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
|
1835 |
+
return cachedClearTimeout.call(null, marker);
|
1836 |
+
} catch (e){
|
1837 |
+
// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
|
1838 |
+
// Some versions of I.E. have different rules for clearTimeout vs setTimeout
|
1839 |
+
return cachedClearTimeout.call(this, marker);
|
1840 |
+
}
|
1841 |
+
}
|
1842 |
+
|
1843 |
+
|
1844 |
+
|
1845 |
+
}
|
1846 |
+
var queue = [];
|
1847 |
+
var draining = false;
|
1848 |
+
var currentQueue;
|
1849 |
+
var queueIndex = -1;
|
1850 |
+
|
1851 |
+
function cleanUpNextTick() {
|
1852 |
+
if (!draining || !currentQueue) {
|
1853 |
+
return;
|
1854 |
+
}
|
1855 |
+
draining = false;
|
1856 |
+
if (currentQueue.length) {
|
1857 |
+
queue = currentQueue.concat(queue);
|
1858 |
+
} else {
|
1859 |
+
queueIndex = -1;
|
1860 |
+
}
|
1861 |
+
if (queue.length) {
|
1862 |
+
drainQueue();
|
1863 |
+
}
|
1864 |
+
}
|
1865 |
+
|
1866 |
+
function drainQueue() {
|
1867 |
+
if (draining) {
|
1868 |
+
return;
|
1869 |
+
}
|
1870 |
+
var timeout = runTimeout(cleanUpNextTick);
|
1871 |
+
draining = true;
|
1872 |
+
|
1873 |
+
var len = queue.length;
|
1874 |
+
while(len) {
|
1875 |
+
currentQueue = queue;
|
1876 |
+
queue = [];
|
1877 |
+
while (++queueIndex < len) {
|
1878 |
+
if (currentQueue) {
|
1879 |
+
currentQueue[queueIndex].run();
|
1880 |
+
}
|
1881 |
+
}
|
1882 |
+
queueIndex = -1;
|
1883 |
+
len = queue.length;
|
1884 |
+
}
|
1885 |
+
currentQueue = null;
|
1886 |
+
draining = false;
|
1887 |
+
runClearTimeout(timeout);
|
1888 |
+
}
|
1889 |
+
|
1890 |
+
process.nextTick = function (fun) {
|
1891 |
+
var args = new Array(arguments.length - 1);
|
1892 |
+
if (arguments.length > 1) {
|
1893 |
+
for (var i = 1; i < arguments.length; i++) {
|
1894 |
+
args[i - 1] = arguments[i];
|
1895 |
+
}
|
1896 |
+
}
|
1897 |
+
queue.push(new Item(fun, args));
|
1898 |
+
if (queue.length === 1 && !draining) {
|
1899 |
+
runTimeout(drainQueue);
|
1900 |
+
}
|
1901 |
+
};
|
1902 |
+
|
1903 |
+
// v8 likes predictible objects
|
1904 |
+
function Item(fun, array) {
|
1905 |
+
this.fun = fun;
|
1906 |
+
this.array = array;
|
1907 |
+
}
|
1908 |
+
Item.prototype.run = function () {
|
1909 |
+
this.fun.apply(null, this.array);
|
1910 |
+
};
|
1911 |
+
process.title = 'browser';
|
1912 |
+
process.browser = true;
|
1913 |
+
process.env = {};
|
1914 |
+
process.argv = [];
|
1915 |
+
process.version = ''; // empty string to avoid regexp issues
|
1916 |
+
process.versions = {};
|
1917 |
+
|
1918 |
+
function noop() {}
|
1919 |
+
|
1920 |
+
process.on = noop;
|
1921 |
+
process.addListener = noop;
|
1922 |
+
process.once = noop;
|
1923 |
+
process.off = noop;
|
1924 |
+
process.removeListener = noop;
|
1925 |
+
process.removeAllListeners = noop;
|
1926 |
+
process.emit = noop;
|
1927 |
+
process.prependListener = noop;
|
1928 |
+
process.prependOnceListener = noop;
|
1929 |
+
|
1930 |
+
process.listeners = function (name) { return [] }
|
1931 |
+
|
1932 |
+
process.binding = function (name) {
|
1933 |
+
throw new Error('process.binding is not supported');
|
1934 |
+
};
|
1935 |
+
|
1936 |
+
process.cwd = function () { return '/' };
|
1937 |
+
process.chdir = function (dir) {
|
1938 |
+
throw new Error('process.chdir is not supported');
|
1939 |
+
};
|
1940 |
+
process.umask = function() { return 0; };
|
1941 |
+
|
1942 |
+
|
1943 |
+
/***/ }),
|
1944 |
+
/* 63 */
|
1945 |
+
/***/ (function(module, exports, __webpack_require__) {
|
1946 |
+
|
1947 |
+
"use strict";
|
1948 |
+
|
1949 |
+
|
1950 |
+
var utils = __webpack_require__(9);
|
1951 |
+
var settle = __webpack_require__(137);
|
1952 |
+
var buildURL = __webpack_require__(139);
|
1953 |
+
var parseHeaders = __webpack_require__(140);
|
1954 |
+
var isURLSameOrigin = __webpack_require__(141);
|
1955 |
+
var createError = __webpack_require__(64);
|
1956 |
+
var btoa = (typeof window !== 'undefined' && window.btoa && window.btoa.bind(window)) || __webpack_require__(142);
|
1957 |
+
|
1958 |
+
module.exports = function xhrAdapter(config) {
|
1959 |
+
return new Promise(function dispatchXhrRequest(resolve, reject) {
|
1960 |
+
var requestData = config.data;
|
1961 |
+
var requestHeaders = config.headers;
|
1962 |
+
|
1963 |
+
if (utils.isFormData(requestData)) {
|
1964 |
+
delete requestHeaders['Content-Type']; // Let the browser set it
|
1965 |
+
}
|
1966 |
+
|
1967 |
+
var request = new XMLHttpRequest();
|
1968 |
+
var loadEvent = 'onreadystatechange';
|
1969 |
+
var xDomain = false;
|
1970 |
+
|
1971 |
+
// For IE 8/9 CORS support
|
1972 |
+
// Only supports POST and GET calls and doesn't returns the response headers.
|
1973 |
+
// DON'T do this for testing b/c XMLHttpRequest is mocked, not XDomainRequest.
|
1974 |
+
if ("production" !== 'test' &&
|
1975 |
+
typeof window !== 'undefined' &&
|
1976 |
+
window.XDomainRequest && !('withCredentials' in request) &&
|
1977 |
+
!isURLSameOrigin(config.url)) {
|
1978 |
+
request = new window.XDomainRequest();
|
1979 |
+
loadEvent = 'onload';
|
1980 |
+
xDomain = true;
|
1981 |
+
request.onprogress = function handleProgress() {};
|
1982 |
+
request.ontimeout = function handleTimeout() {};
|
1983 |
+
}
|
1984 |
+
|
1985 |
+
// HTTP basic authentication
|
1986 |
+
if (config.auth) {
|
1987 |
+
var username = config.auth.username || '';
|
1988 |
+
var password = config.auth.password || '';
|
1989 |
+
requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);
|
1990 |
+
}
|
1991 |
+
|
1992 |
+
request.open(config.method.toUpperCase(), buildURL(config.url, config.params, config.paramsSerializer), true);
|
1993 |
+
|
1994 |
+
// Set the request timeout in MS
|
1995 |
+
request.timeout = config.timeout;
|
1996 |
+
|
1997 |
+
// Listen for ready state
|
1998 |
+
request[loadEvent] = function handleLoad() {
|
1999 |
+
if (!request || (request.readyState !== 4 && !xDomain)) {
|
2000 |
+
return;
|
2001 |
+
}
|
2002 |
+
|
2003 |
+
// The request errored out and we didn't get a response, this will be
|
2004 |
+
// handled by onerror instead
|
2005 |
+
// With one exception: request that using file: protocol, most browsers
|
2006 |
+
// will return status as 0 even though it's a successful request
|
2007 |
+
if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {
|
2008 |
+
return;
|
2009 |
+
}
|
2010 |
+
|
2011 |
+
// Prepare the response
|
2012 |
+
var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;
|
2013 |
+
var responseData = !config.responseType || config.responseType === 'text' ? request.responseText : request.response;
|
2014 |
+
var response = {
|
2015 |
+
data: responseData,
|
2016 |
+
// IE sends 1223 instead of 204 (https://github.com/axios/axios/issues/201)
|
2017 |
+
status: request.status === 1223 ? 204 : request.status,
|
2018 |
+
statusText: request.status === 1223 ? 'No Content' : request.statusText,
|
2019 |
+
headers: responseHeaders,
|
2020 |
+
config: config,
|
2021 |
+
request: request
|
2022 |
+
};
|
2023 |
+
|
2024 |
+
settle(resolve, reject, response);
|
2025 |
+
|
2026 |
+
// Clean up request
|
2027 |
+
request = null;
|
2028 |
+
};
|
2029 |
+
|
2030 |
+
// Handle low level network errors
|
2031 |
+
request.onerror = function handleError() {
|
2032 |
+
// Real errors are hidden from us by the browser
|
2033 |
+
// onerror should only fire if it's a network error
|
2034 |
+
reject(createError('Network Error', config, null, request));
|
2035 |
+
|
2036 |
+
// Clean up request
|
2037 |
+
request = null;
|
2038 |
+
};
|
2039 |
+
|
2040 |
+
// Handle timeout
|
2041 |
+
request.ontimeout = function handleTimeout() {
|
2042 |
+
reject(createError('timeout of ' + config.timeout + 'ms exceeded', config, 'ECONNABORTED',
|
2043 |
+
request));
|
2044 |
+
|
2045 |
+
// Clean up request
|
2046 |
+
request = null;
|
2047 |
+
};
|
2048 |
+
|
2049 |
+
// Add xsrf header
|
2050 |
+
// This is only done if running in a standard browser environment.
|
2051 |
+
// Specifically not if we're in a web worker, or react-native.
|
2052 |
+
if (utils.isStandardBrowserEnv()) {
|
2053 |
+
var cookies = __webpack_require__(143);
|
2054 |
+
|
2055 |
+
// Add xsrf header
|
2056 |
+
var xsrfValue = (config.withCredentials || isURLSameOrigin(config.url)) && config.xsrfCookieName ?
|
2057 |
+
cookies.read(config.xsrfCookieName) :
|
2058 |
+
undefined;
|
2059 |
+
|
2060 |
+
if (xsrfValue) {
|
2061 |
+
requestHeaders[config.xsrfHeaderName] = xsrfValue;
|
2062 |
+
}
|
2063 |
+
}
|
2064 |
+
|
2065 |
+
// Add headers to the request
|
2066 |
+
if ('setRequestHeader' in request) {
|
2067 |
+
utils.forEach(requestHeaders, function setRequestHeader(val, key) {
|
2068 |
+
if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {
|
2069 |
+
// Remove Content-Type if data is undefined
|
2070 |
+
delete requestHeaders[key];
|
2071 |
+
} else {
|
2072 |
+
// Otherwise add header to the request
|
2073 |
+
request.setRequestHeader(key, val);
|
2074 |
+
}
|
2075 |
+
});
|
2076 |
+
}
|
2077 |
+
|
2078 |
+
// Add withCredentials to request if needed
|
2079 |
+
if (config.withCredentials) {
|
2080 |
+
request.withCredentials = true;
|
2081 |
+
}
|
2082 |
+
|
2083 |
+
// Add responseType to request if needed
|
2084 |
+
if (config.responseType) {
|
2085 |
+
try {
|
2086 |
+
request.responseType = config.responseType;
|
2087 |
+
} catch (e) {
|
2088 |
+
// Expected DOMException thrown by browsers not compatible XMLHttpRequest Level 2.
|
2089 |
+
// But, this can be suppressed for 'json' type as it can be parsed by default 'transformResponse' function.
|
2090 |
+
if (config.responseType !== 'json') {
|
2091 |
+
throw e;
|
2092 |
+
}
|
2093 |
+
}
|
2094 |
+
}
|
2095 |
+
|
2096 |
+
// Handle progress if needed
|
2097 |
+
if (typeof config.onDownloadProgress === 'function') {
|
2098 |
+
request.addEventListener('progress', config.onDownloadProgress);
|
2099 |
+
}
|
2100 |
+
|
2101 |
+
// Not all browsers support upload events
|
2102 |
+
if (typeof config.onUploadProgress === 'function' && request.upload) {
|
2103 |
+
request.upload.addEventListener('progress', config.onUploadProgress);
|
2104 |
+
}
|
2105 |
+
|
2106 |
+
if (config.cancelToken) {
|
2107 |
+
// Handle cancellation
|
2108 |
+
config.cancelToken.promise.then(function onCanceled(cancel) {
|
2109 |
+
if (!request) {
|
2110 |
+
return;
|
2111 |
+
}
|
2112 |
+
|
2113 |
+
request.abort();
|
2114 |
+
reject(cancel);
|
2115 |
+
// Clean up request
|
2116 |
+
request = null;
|
2117 |
+
});
|
2118 |
+
}
|
2119 |
+
|
2120 |
+
if (requestData === undefined) {
|
2121 |
+
requestData = null;
|
2122 |
+
}
|
2123 |
+
|
2124 |
+
// Send the request
|
2125 |
+
request.send(requestData);
|
2126 |
+
});
|
2127 |
+
};
|
2128 |
+
|
2129 |
+
|
2130 |
+
/***/ }),
|
2131 |
+
/* 64 */
|
2132 |
+
/***/ (function(module, exports, __webpack_require__) {
|
2133 |
+
|
2134 |
+
"use strict";
|
2135 |
+
|
2136 |
+
|
2137 |
+
var enhanceError = __webpack_require__(138);
|
2138 |
+
|
2139 |
+
/**
|
2140 |
+
* Create an Error with the specified message, config, error code, request and response.
|
2141 |
+
*
|
2142 |
+
* @param {string} message The error message.
|
2143 |
+
* @param {Object} config The config.
|
2144 |
+
* @param {string} [code] The error code (for example, 'ECONNABORTED').
|
2145 |
+
* @param {Object} [request] The request.
|
2146 |
+
* @param {Object} [response] The response.
|
2147 |
+
* @returns {Error} The created error.
|
2148 |
+
*/
|
2149 |
+
module.exports = function createError(message, config, code, request, response) {
|
2150 |
+
var error = new Error(message);
|
2151 |
+
return enhanceError(error, config, code, request, response);
|
2152 |
+
};
|
2153 |
+
|
2154 |
+
|
2155 |
+
/***/ }),
|
2156 |
+
/* 65 */
|
2157 |
+
/***/ (function(module, exports, __webpack_require__) {
|
2158 |
+
|
2159 |
+
"use strict";
|
2160 |
+
|
2161 |
+
|
2162 |
+
module.exports = function isCancel(value) {
|
2163 |
+
return !!(value && value.__CANCEL__);
|
2164 |
+
};
|
2165 |
+
|
2166 |
+
|
2167 |
+
/***/ }),
|
2168 |
+
/* 66 */
|
2169 |
+
/***/ (function(module, exports, __webpack_require__) {
|
2170 |
+
|
2171 |
+
"use strict";
|
2172 |
+
|
2173 |
+
|
2174 |
+
/**
|
2175 |
+
* A `Cancel` is an object that is thrown when an operation is canceled.
|
2176 |
+
*
|
2177 |
+
* @class
|
2178 |
+
* @param {string=} message The message.
|
2179 |
+
*/
|
2180 |
+
function Cancel(message) {
|
2181 |
+
this.message = message;
|
2182 |
+
}
|
2183 |
+
|
2184 |
+
Cancel.prototype.toString = function toString() {
|
2185 |
+
return 'Cancel' + (this.message ? ': ' + this.message : '');
|
2186 |
+
};
|
2187 |
+
|
2188 |
+
Cancel.prototype.__CANCEL__ = true;
|
2189 |
+
|
2190 |
+
module.exports = Cancel;
|
2191 |
+
|
2192 |
+
|
2193 |
+
/***/ }),
|
2194 |
+
/* 67 */
|
2195 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2196 |
+
|
2197 |
+
"use strict";
|
2198 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ActionTypes; });
|
2199 |
+
/* harmony export (immutable) */ __webpack_exports__["b"] = createStore;
|
2200 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash_es_isPlainObject__ = __webpack_require__(68);
|
2201 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_symbol_observable__ = __webpack_require__(159);
|
2202 |
+
|
2203 |
+
|
2204 |
+
|
2205 |
+
/**
|
2206 |
+
* These are private action types reserved by Redux.
|
2207 |
+
* For any unknown actions, you must return the current state.
|
2208 |
+
* If the current state is undefined, you must return the initial state.
|
2209 |
+
* Do not reference these action types directly in your code.
|
2210 |
+
*/
|
2211 |
+
var ActionTypes = {
|
2212 |
+
INIT: '@@redux/INIT'
|
2213 |
+
|
2214 |
+
/**
|
2215 |
+
* Creates a Redux store that holds the state tree.
|
2216 |
+
* The only way to change the data in the store is to call `dispatch()` on it.
|
2217 |
+
*
|
2218 |
+
* There should only be a single store in your app. To specify how different
|
2219 |
+
* parts of the state tree respond to actions, you may combine several reducers
|
2220 |
+
* into a single reducer function by using `combineReducers`.
|
2221 |
+
*
|
2222 |
+
* @param {Function} reducer A function that returns the next state tree, given
|
2223 |
+
* the current state tree and the action to handle.
|
2224 |
+
*
|
2225 |
+
* @param {any} [preloadedState] The initial state. You may optionally specify it
|
2226 |
+
* to hydrate the state from the server in universal apps, or to restore a
|
2227 |
+
* previously serialized user session.
|
2228 |
+
* If you use `combineReducers` to produce the root reducer function, this must be
|
2229 |
+
* an object with the same shape as `combineReducers` keys.
|
2230 |
+
*
|
2231 |
+
* @param {Function} [enhancer] The store enhancer. You may optionally specify it
|
2232 |
+
* to enhance the store with third-party capabilities such as middleware,
|
2233 |
+
* time travel, persistence, etc. The only store enhancer that ships with Redux
|
2234 |
+
* is `applyMiddleware()`.
|
2235 |
+
*
|
2236 |
+
* @returns {Store} A Redux store that lets you read the state, dispatch actions
|
2237 |
+
* and subscribe to changes.
|
2238 |
+
*/
|
2239 |
+
};function createStore(reducer, preloadedState, enhancer) {
|
2240 |
+
var _ref2;
|
2241 |
+
|
2242 |
+
if (typeof preloadedState === 'function' && typeof enhancer === 'undefined') {
|
2243 |
+
enhancer = preloadedState;
|
2244 |
+
preloadedState = undefined;
|
2245 |
+
}
|
2246 |
+
|
2247 |
+
if (typeof enhancer !== 'undefined') {
|
2248 |
+
if (typeof enhancer !== 'function') {
|
2249 |
+
throw new Error('Expected the enhancer to be a function.');
|
2250 |
+
}
|
2251 |
+
|
2252 |
+
return enhancer(createStore)(reducer, preloadedState);
|
2253 |
+
}
|
2254 |
+
|
2255 |
+
if (typeof reducer !== 'function') {
|
2256 |
+
throw new Error('Expected the reducer to be a function.');
|
2257 |
+
}
|
2258 |
+
|
2259 |
+
var currentReducer = reducer;
|
2260 |
+
var currentState = preloadedState;
|
2261 |
+
var currentListeners = [];
|
2262 |
+
var nextListeners = currentListeners;
|
2263 |
+
var isDispatching = false;
|
2264 |
+
|
2265 |
+
function ensureCanMutateNextListeners() {
|
2266 |
+
if (nextListeners === currentListeners) {
|
2267 |
+
nextListeners = currentListeners.slice();
|
2268 |
+
}
|
2269 |
+
}
|
2270 |
+
|
2271 |
+
/**
|
2272 |
+
* Reads the state tree managed by the store.
|
2273 |
+
*
|
2274 |
+
* @returns {any} The current state tree of your application.
|
2275 |
+
*/
|
2276 |
+
function getState() {
|
2277 |
+
return currentState;
|
2278 |
+
}
|
2279 |
+
|
2280 |
+
/**
|
2281 |
+
* Adds a change listener. It will be called any time an action is dispatched,
|
2282 |
+
* and some part of the state tree may potentially have changed. You may then
|
2283 |
+
* call `getState()` to read the current state tree inside the callback.
|
2284 |
+
*
|
2285 |
+
* You may call `dispatch()` from a change listener, with the following
|
2286 |
+
* caveats:
|
2287 |
+
*
|
2288 |
+
* 1. The subscriptions are snapshotted just before every `dispatch()` call.
|
2289 |
+
* If you subscribe or unsubscribe while the listeners are being invoked, this
|
2290 |
+
* will not have any effect on the `dispatch()` that is currently in progress.
|
2291 |
+
* However, the next `dispatch()` call, whether nested or not, will use a more
|
2292 |
+
* recent snapshot of the subscription list.
|
2293 |
+
*
|
2294 |
+
* 2. The listener should not expect to see all state changes, as the state
|
2295 |
+
* might have been updated multiple times during a nested `dispatch()` before
|
2296 |
+
* the listener is called. It is, however, guaranteed that all subscribers
|
2297 |
+
* registered before the `dispatch()` started will be called with the latest
|
2298 |
+
* state by the time it exits.
|
2299 |
+
*
|
2300 |
+
* @param {Function} listener A callback to be invoked on every dispatch.
|
2301 |
+
* @returns {Function} A function to remove this change listener.
|
2302 |
+
*/
|
2303 |
+
function subscribe(listener) {
|
2304 |
+
if (typeof listener !== 'function') {
|
2305 |
+
throw new Error('Expected listener to be a function.');
|
2306 |
+
}
|
2307 |
+
|
2308 |
+
var isSubscribed = true;
|
2309 |
+
|
2310 |
+
ensureCanMutateNextListeners();
|
2311 |
+
nextListeners.push(listener);
|
2312 |
+
|
2313 |
+
return function unsubscribe() {
|
2314 |
+
if (!isSubscribed) {
|
2315 |
+
return;
|
2316 |
+
}
|
2317 |
+
|
2318 |
+
isSubscribed = false;
|
2319 |
+
|
2320 |
+
ensureCanMutateNextListeners();
|
2321 |
+
var index = nextListeners.indexOf(listener);
|
2322 |
+
nextListeners.splice(index, 1);
|
2323 |
+
};
|
2324 |
+
}
|
2325 |
+
|
2326 |
+
/**
|
2327 |
+
* Dispatches an action. It is the only way to trigger a state change.
|
2328 |
+
*
|
2329 |
+
* The `reducer` function, used to create the store, will be called with the
|
2330 |
+
* current state tree and the given `action`. Its return value will
|
2331 |
+
* be considered the **next** state of the tree, and the change listeners
|
2332 |
+
* will be notified.
|
2333 |
+
*
|
2334 |
+
* The base implementation only supports plain object actions. If you want to
|
2335 |
+
* dispatch a Promise, an Observable, a thunk, or something else, you need to
|
2336 |
+
* wrap your store creating function into the corresponding middleware. For
|
2337 |
+
* example, see the documentation for the `redux-thunk` package. Even the
|
2338 |
+
* middleware will eventually dispatch plain object actions using this method.
|
2339 |
+
*
|
2340 |
+
* @param {Object} action A plain object representing “what changed”. It is
|
2341 |
+
* a good idea to keep actions serializable so you can record and replay user
|
2342 |
+
* sessions, or use the time travelling `redux-devtools`. An action must have
|
2343 |
+
* a `type` property which may not be `undefined`. It is a good idea to use
|
2344 |
+
* string constants for action types.
|
2345 |
+
*
|
2346 |
+
* @returns {Object} For convenience, the same action object you dispatched.
|
2347 |
+
*
|
2348 |
+
* Note that, if you use a custom middleware, it may wrap `dispatch()` to
|
2349 |
+
* return something else (for example, a Promise you can await).
|
2350 |
+
*/
|
2351 |
+
function dispatch(action) {
|
2352 |
+
if (!Object(__WEBPACK_IMPORTED_MODULE_0_lodash_es_isPlainObject__["a" /* default */])(action)) {
|
2353 |
+
throw new Error('Actions must be plain objects. ' + 'Use custom middleware for async actions.');
|
2354 |
+
}
|
2355 |
+
|
2356 |
+
if (typeof action.type === 'undefined') {
|
2357 |
+
throw new Error('Actions may not have an undefined "type" property. ' + 'Have you misspelled a constant?');
|
2358 |
+
}
|
2359 |
+
|
2360 |
+
if (isDispatching) {
|
2361 |
+
throw new Error('Reducers may not dispatch actions.');
|
2362 |
+
}
|
2363 |
+
|
2364 |
+
try {
|
2365 |
+
isDispatching = true;
|
2366 |
+
currentState = currentReducer(currentState, action);
|
2367 |
+
} finally {
|
2368 |
+
isDispatching = false;
|
2369 |
+
}
|
2370 |
+
|
2371 |
+
var listeners = currentListeners = nextListeners;
|
2372 |
+
for (var i = 0; i < listeners.length; i++) {
|
2373 |
+
var listener = listeners[i];
|
2374 |
+
listener();
|
2375 |
+
}
|
2376 |
+
|
2377 |
+
return action;
|
2378 |
+
}
|
2379 |
+
|
2380 |
+
/**
|
2381 |
+
* Replaces the reducer currently used by the store to calculate the state.
|
2382 |
+
*
|
2383 |
+
* You might need this if your app implements code splitting and you want to
|
2384 |
+
* load some of the reducers dynamically. You might also need this if you
|
2385 |
+
* implement a hot reloading mechanism for Redux.
|
2386 |
+
*
|
2387 |
+
* @param {Function} nextReducer The reducer for the store to use instead.
|
2388 |
+
* @returns {void}
|
2389 |
+
*/
|
2390 |
+
function replaceReducer(nextReducer) {
|
2391 |
+
if (typeof nextReducer !== 'function') {
|
2392 |
+
throw new Error('Expected the nextReducer to be a function.');
|
2393 |
+
}
|
2394 |
+
|
2395 |
+
currentReducer = nextReducer;
|
2396 |
+
dispatch({ type: ActionTypes.INIT });
|
2397 |
+
}
|
2398 |
+
|
2399 |
+
/**
|
2400 |
+
* Interoperability point for observable/reactive libraries.
|
2401 |
+
* @returns {observable} A minimal observable of state changes.
|
2402 |
+
* For more information, see the observable proposal:
|
2403 |
+
* https://github.com/tc39/proposal-observable
|
2404 |
+
*/
|
2405 |
+
function observable() {
|
2406 |
+
var _ref;
|
2407 |
+
|
2408 |
+
var outerSubscribe = subscribe;
|
2409 |
+
return _ref = {
|
2410 |
+
/**
|
2411 |
+
* The minimal observable subscription method.
|
2412 |
+
* @param {Object} observer Any object that can be used as an observer.
|
2413 |
+
* The observer object should have a `next` method.
|
2414 |
+
* @returns {subscription} An object with an `unsubscribe` method that can
|
2415 |
+
* be used to unsubscribe the observable from the store, and prevent further
|
2416 |
+
* emission of values from the observable.
|
2417 |
+
*/
|
2418 |
+
subscribe: function subscribe(observer) {
|
2419 |
+
if (typeof observer !== 'object') {
|
2420 |
+
throw new TypeError('Expected the observer to be an object.');
|
2421 |
+
}
|
2422 |
+
|
2423 |
+
function observeState() {
|
2424 |
+
if (observer.next) {
|
2425 |
+
observer.next(getState());
|
2426 |
+
}
|
2427 |
+
}
|
2428 |
+
|
2429 |
+
observeState();
|
2430 |
+
var unsubscribe = outerSubscribe(observeState);
|
2431 |
+
return { unsubscribe: unsubscribe };
|
2432 |
+
}
|
2433 |
+
}, _ref[__WEBPACK_IMPORTED_MODULE_1_symbol_observable__["a" /* default */]] = function () {
|
2434 |
+
return this;
|
2435 |
+
}, _ref;
|
2436 |
+
}
|
2437 |
+
|
2438 |
+
// When a store is created, an "INIT" action is dispatched so that every
|
2439 |
+
// reducer returns their initial state. This effectively populates
|
2440 |
+
// the initial state tree.
|
2441 |
+
dispatch({ type: ActionTypes.INIT });
|
2442 |
+
|
2443 |
+
return _ref2 = {
|
2444 |
+
dispatch: dispatch,
|
2445 |
+
subscribe: subscribe,
|
2446 |
+
getState: getState,
|
2447 |
+
replaceReducer: replaceReducer
|
2448 |
+
}, _ref2[__WEBPACK_IMPORTED_MODULE_1_symbol_observable__["a" /* default */]] = observable, _ref2;
|
2449 |
+
}
|
2450 |
+
|
2451 |
+
/***/ }),
|
2452 |
+
/* 68 */
|
2453 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2454 |
+
|
2455 |
+
"use strict";
|
2456 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__baseGetTag_js__ = __webpack_require__(151);
|
2457 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__getPrototype_js__ = __webpack_require__(156);
|
2458 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__isObjectLike_js__ = __webpack_require__(158);
|
2459 |
+
|
2460 |
+
|
2461 |
+
|
2462 |
+
|
2463 |
+
/** `Object#toString` result references. */
|
2464 |
+
var objectTag = '[object Object]';
|
2465 |
+
|
2466 |
+
/** Used for built-in method references. */
|
2467 |
+
var funcProto = Function.prototype,
|
2468 |
+
objectProto = Object.prototype;
|
2469 |
+
|
2470 |
+
/** Used to resolve the decompiled source of functions. */
|
2471 |
+
var funcToString = funcProto.toString;
|
2472 |
+
|
2473 |
+
/** Used to check objects for own properties. */
|
2474 |
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
2475 |
+
|
2476 |
+
/** Used to infer the `Object` constructor. */
|
2477 |
+
var objectCtorString = funcToString.call(Object);
|
2478 |
+
|
2479 |
+
/**
|
2480 |
+
* Checks if `value` is a plain object, that is, an object created by the
|
2481 |
+
* `Object` constructor or one with a `[[Prototype]]` of `null`.
|
2482 |
+
*
|
2483 |
+
* @static
|
2484 |
+
* @memberOf _
|
2485 |
+
* @since 0.8.0
|
2486 |
+
* @category Lang
|
2487 |
+
* @param {*} value The value to check.
|
2488 |
+
* @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
|
2489 |
+
* @example
|
2490 |
+
*
|
2491 |
+
* function Foo() {
|
2492 |
+
* this.a = 1;
|
2493 |
+
* }
|
2494 |
+
*
|
2495 |
+
* _.isPlainObject(new Foo);
|
2496 |
+
* // => false
|
2497 |
+
*
|
2498 |
+
* _.isPlainObject([1, 2, 3]);
|
2499 |
+
* // => false
|
2500 |
+
*
|
2501 |
+
* _.isPlainObject({ 'x': 0, 'y': 0 });
|
2502 |
+
* // => true
|
2503 |
+
*
|
2504 |
+
* _.isPlainObject(Object.create(null));
|
2505 |
+
* // => true
|
2506 |
+
*/
|
2507 |
+
function isPlainObject(value) {
|
2508 |
+
if (!Object(__WEBPACK_IMPORTED_MODULE_2__isObjectLike_js__["a" /* default */])(value) || Object(__WEBPACK_IMPORTED_MODULE_0__baseGetTag_js__["a" /* default */])(value) != objectTag) {
|
2509 |
+
return false;
|
2510 |
+
}
|
2511 |
+
var proto = Object(__WEBPACK_IMPORTED_MODULE_1__getPrototype_js__["a" /* default */])(value);
|
2512 |
+
if (proto === null) {
|
2513 |
+
return true;
|
2514 |
+
}
|
2515 |
+
var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;
|
2516 |
+
return typeof Ctor == 'function' && Ctor instanceof Ctor &&
|
2517 |
+
funcToString.call(Ctor) == objectCtorString;
|
2518 |
+
}
|
2519 |
+
|
2520 |
+
/* harmony default export */ __webpack_exports__["a"] = (isPlainObject);
|
2521 |
+
|
2522 |
+
|
2523 |
+
/***/ }),
|
2524 |
+
/* 69 */
|
2525 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2526 |
+
|
2527 |
+
"use strict";
|
2528 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__root_js__ = __webpack_require__(152);
|
2529 |
+
|
2530 |
+
|
2531 |
+
/** Built-in value references. */
|
2532 |
+
var Symbol = __WEBPACK_IMPORTED_MODULE_0__root_js__["a" /* default */].Symbol;
|
2533 |
+
|
2534 |
+
/* harmony default export */ __webpack_exports__["a"] = (Symbol);
|
2535 |
+
|
2536 |
+
|
2537 |
+
/***/ }),
|
2538 |
+
/* 70 */
|
2539 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2540 |
+
|
2541 |
+
"use strict";
|
2542 |
+
/* unused harmony export default */
|
2543 |
+
/**
|
2544 |
+
* Prints a warning in the console if it exists.
|
2545 |
+
*
|
2546 |
+
* @param {String} message The warning message.
|
2547 |
+
* @returns {void}
|
2548 |
+
*/
|
2549 |
+
function warning(message) {
|
2550 |
+
/* eslint-disable no-console */
|
2551 |
+
if (typeof console !== 'undefined' && typeof console.error === 'function') {
|
2552 |
+
console.error(message);
|
2553 |
+
}
|
2554 |
+
/* eslint-enable no-console */
|
2555 |
+
try {
|
2556 |
+
// This error was thrown as a convenience so that if you enable
|
2557 |
+
// "break on all exceptions" in your console,
|
2558 |
+
// it would pause the execution at this line.
|
2559 |
+
throw new Error(message);
|
2560 |
+
/* eslint-disable no-empty */
|
2561 |
+
} catch (e) {}
|
2562 |
+
/* eslint-enable no-empty */
|
2563 |
+
}
|
2564 |
+
|
2565 |
+
/***/ }),
|
2566 |
+
/* 71 */
|
2567 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2568 |
+
|
2569 |
+
"use strict";
|
2570 |
+
/* harmony export (immutable) */ __webpack_exports__["a"] = compose;
|
2571 |
+
/**
|
2572 |
+
* Composes single-argument functions from right to left. The rightmost
|
2573 |
+
* function can take multiple arguments as it provides the signature for
|
2574 |
+
* the resulting composite function.
|
2575 |
+
*
|
2576 |
+
* @param {...Function} funcs The functions to compose.
|
2577 |
+
* @returns {Function} A function obtained by composing the argument functions
|
2578 |
+
* from right to left. For example, compose(f, g, h) is identical to doing
|
2579 |
+
* (...args) => f(g(h(...args))).
|
2580 |
+
*/
|
2581 |
+
|
2582 |
+
function compose() {
|
2583 |
+
for (var _len = arguments.length, funcs = Array(_len), _key = 0; _key < _len; _key++) {
|
2584 |
+
funcs[_key] = arguments[_key];
|
2585 |
+
}
|
2586 |
+
|
2587 |
+
if (funcs.length === 0) {
|
2588 |
+
return function (arg) {
|
2589 |
+
return arg;
|
2590 |
+
};
|
2591 |
+
}
|
2592 |
+
|
2593 |
+
if (funcs.length === 1) {
|
2594 |
+
return funcs[0];
|
2595 |
+
}
|
2596 |
+
|
2597 |
+
return funcs.reduce(function (a, b) {
|
2598 |
+
return function () {
|
2599 |
+
return a(b.apply(undefined, arguments));
|
2600 |
+
};
|
2601 |
+
});
|
2602 |
+
}
|
2603 |
+
|
2604 |
+
/***/ }),
|
2605 |
+
/* 72 */
|
2606 |
+
/***/ (function(module, exports, __webpack_require__) {
|
2607 |
+
|
2608 |
+
"use strict";
|
2609 |
+
|
2610 |
+
|
2611 |
+
Object.defineProperty(exports, "__esModule", {
|
2612 |
+
value: true
|
2613 |
+
});
|
2614 |
+
exports.FETCH_OPTIONS = undefined;
|
2615 |
+
exports.getOptions = getOptions;
|
2616 |
+
|
2617 |
+
var _axios = __webpack_require__(25);
|
2618 |
+
|
2619 |
+
var _axios2 = _interopRequireDefault(_axios);
|
2620 |
+
|
2621 |
+
var _qs = __webpack_require__(43);
|
2622 |
+
|
2623 |
+
var _qs2 = _interopRequireDefault(_qs);
|
2624 |
+
|
2625 |
+
var _send_command = __webpack_require__(75);
|
2626 |
+
|
2627 |
+
var _send_command2 = _interopRequireDefault(_send_command);
|
2628 |
+
|
2629 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
2630 |
+
|
2631 |
+
var FETCH_OPTIONS = exports.FETCH_OPTIONS = 'FETCH_OPTIONS';
|
2632 |
+
|
2633 |
+
function getOptions() {
|
2634 |
+
var data = {
|
2635 |
+
sub_action: 'get_options'
|
2636 |
+
};
|
2637 |
+
|
2638 |
+
var request = (0, _send_command2.default)(data);
|
2639 |
+
|
2640 |
+
return {
|
2641 |
+
type: FETCH_OPTIONS,
|
2642 |
+
payload: request
|
2643 |
+
};
|
2644 |
+
}
|
2645 |
+
|
2646 |
+
/***/ }),
|
2647 |
+
/* 73 */
|
2648 |
+
/***/ (function(module, exports, __webpack_require__) {
|
2649 |
+
|
2650 |
+
"use strict";
|
2651 |
+
|
2652 |
+
|
2653 |
+
var has = Object.prototype.hasOwnProperty;
|
2654 |
+
|
2655 |
+
var hexTable = (function () {
|
2656 |
+
var array = [];
|
2657 |
+
for (var i = 0; i < 256; ++i) {
|
2658 |
+
array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase());
|
2659 |
+
}
|
2660 |
+
|
2661 |
+
return array;
|
2662 |
+
}());
|
2663 |
+
|
2664 |
+
var compactQueue = function compactQueue(queue) {
|
2665 |
+
var obj;
|
2666 |
+
|
2667 |
+
while (queue.length) {
|
2668 |
+
var item = queue.pop();
|
2669 |
+
obj = item.obj[item.prop];
|
2670 |
+
|
2671 |
+
if (Array.isArray(obj)) {
|
2672 |
+
var compacted = [];
|
2673 |
+
|
2674 |
+
for (var j = 0; j < obj.length; ++j) {
|
2675 |
+
if (typeof obj[j] !== 'undefined') {
|
2676 |
+
compacted.push(obj[j]);
|
2677 |
+
}
|
2678 |
+
}
|
2679 |
+
|
2680 |
+
item.obj[item.prop] = compacted;
|
2681 |
+
}
|
2682 |
+
}
|
2683 |
+
|
2684 |
+
return obj;
|
2685 |
+
};
|
2686 |
+
|
2687 |
+
exports.arrayToObject = function arrayToObject(source, options) {
|
2688 |
+
var obj = options && options.plainObjects ? Object.create(null) : {};
|
2689 |
+
for (var i = 0; i < source.length; ++i) {
|
2690 |
+
if (typeof source[i] !== 'undefined') {
|
2691 |
+
obj[i] = source[i];
|
2692 |
+
}
|
2693 |
+
}
|
2694 |
+
|
2695 |
+
return obj;
|
2696 |
+
};
|
2697 |
+
|
2698 |
+
exports.merge = function merge(target, source, options) {
|
2699 |
+
if (!source) {
|
2700 |
+
return target;
|
2701 |
+
}
|
2702 |
+
|
2703 |
+
if (typeof source !== 'object') {
|
2704 |
+
if (Array.isArray(target)) {
|
2705 |
+
target.push(source);
|
2706 |
+
} else if (typeof target === 'object') {
|
2707 |
+
if (options.plainObjects || options.allowPrototypes || !has.call(Object.prototype, source)) {
|
2708 |
+
target[source] = true;
|
2709 |
+
}
|
2710 |
+
} else {
|
2711 |
+
return [target, source];
|
2712 |
+
}
|
2713 |
+
|
2714 |
+
return target;
|
2715 |
+
}
|
2716 |
+
|
2717 |
+
if (typeof target !== 'object') {
|
2718 |
+
return [target].concat(source);
|
2719 |
+
}
|
2720 |
+
|
2721 |
+
var mergeTarget = target;
|
2722 |
+
if (Array.isArray(target) && !Array.isArray(source)) {
|
2723 |
+
mergeTarget = exports.arrayToObject(target, options);
|
2724 |
+
}
|
2725 |
+
|
2726 |
+
if (Array.isArray(target) && Array.isArray(source)) {
|
2727 |
+
source.forEach(function (item, i) {
|
2728 |
+
if (has.call(target, i)) {
|
2729 |
+
if (target[i] && typeof target[i] === 'object') {
|
2730 |
+
target[i] = exports.merge(target[i], item, options);
|
2731 |
+
} else {
|
2732 |
+
target.push(item);
|
2733 |
+
}
|
2734 |
+
} else {
|
2735 |
+
target[i] = item;
|
2736 |
+
}
|
2737 |
+
});
|
2738 |
+
return target;
|
2739 |
+
}
|
2740 |
+
|
2741 |
+
return Object.keys(source).reduce(function (acc, key) {
|
2742 |
+
var value = source[key];
|
2743 |
+
|
2744 |
+
if (has.call(acc, key)) {
|
2745 |
+
acc[key] = exports.merge(acc[key], value, options);
|
2746 |
+
} else {
|
2747 |
+
acc[key] = value;
|
2748 |
+
}
|
2749 |
+
return acc;
|
2750 |
+
}, mergeTarget);
|
2751 |
+
};
|
2752 |
+
|
2753 |
+
exports.assign = function assignSingleSource(target, source) {
|
2754 |
+
return Object.keys(source).reduce(function (acc, key) {
|
2755 |
+
acc[key] = source[key];
|
2756 |
+
return acc;
|
2757 |
+
}, target);
|
2758 |
+
};
|
2759 |
+
|
2760 |
+
exports.decode = function (str) {
|
2761 |
+
try {
|
2762 |
+
return decodeURIComponent(str.replace(/\+/g, ' '));
|
2763 |
+
} catch (e) {
|
2764 |
+
return str;
|
2765 |
+
}
|
2766 |
+
};
|
2767 |
+
|
2768 |
+
exports.encode = function encode(str) {
|
2769 |
+
// This code was originally written by Brian White (mscdex) for the io.js core querystring library.
|
2770 |
+
// It has been adapted here for stricter adherence to RFC 3986
|
2771 |
+
if (str.length === 0) {
|
2772 |
+
return str;
|
2773 |
+
}
|
2774 |
+
|
2775 |
+
var string = typeof str === 'string' ? str : String(str);
|
2776 |
+
|
2777 |
+
var out = '';
|
2778 |
+
for (var i = 0; i < string.length; ++i) {
|
2779 |
+
var c = string.charCodeAt(i);
|
2780 |
+
|
2781 |
+
if (
|
2782 |
+
c === 0x2D // -
|
2783 |
+
|| c === 0x2E // .
|
2784 |
+
|| c === 0x5F // _
|
2785 |
+
|| c === 0x7E // ~
|
2786 |
+
|| (c >= 0x30 && c <= 0x39) // 0-9
|
2787 |
+
|| (c >= 0x41 && c <= 0x5A) // a-z
|
2788 |
+
|| (c >= 0x61 && c <= 0x7A) // A-Z
|
2789 |
+
) {
|
2790 |
+
out += string.charAt(i);
|
2791 |
+
continue;
|
2792 |
+
}
|
2793 |
+
|
2794 |
+
if (c < 0x80) {
|
2795 |
+
out = out + hexTable[c];
|
2796 |
+
continue;
|
2797 |
+
}
|
2798 |
+
|
2799 |
+
if (c < 0x800) {
|
2800 |
+
out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]);
|
2801 |
+
continue;
|
2802 |
+
}
|
2803 |
+
|
2804 |
+
if (c < 0xD800 || c >= 0xE000) {
|
2805 |
+
out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]);
|
2806 |
+
continue;
|
2807 |
+
}
|
2808 |
+
|
2809 |
+
i += 1;
|
2810 |
+
c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF));
|
2811 |
+
out += hexTable[0xF0 | (c >> 18)]
|
2812 |
+
+ hexTable[0x80 | ((c >> 12) & 0x3F)]
|
2813 |
+
+ hexTable[0x80 | ((c >> 6) & 0x3F)]
|
2814 |
+
+ hexTable[0x80 | (c & 0x3F)];
|
2815 |
+
}
|
2816 |
+
|
2817 |
+
return out;
|
2818 |
+
};
|
2819 |
+
|
2820 |
+
exports.compact = function compact(value) {
|
2821 |
+
var queue = [{ obj: { o: value }, prop: 'o' }];
|
2822 |
+
var refs = [];
|
2823 |
+
|
2824 |
+
for (var i = 0; i < queue.length; ++i) {
|
2825 |
+
var item = queue[i];
|
2826 |
+
var obj = item.obj[item.prop];
|
2827 |
+
|
2828 |
+
var keys = Object.keys(obj);
|
2829 |
+
for (var j = 0; j < keys.length; ++j) {
|
2830 |
+
var key = keys[j];
|
2831 |
+
var val = obj[key];
|
2832 |
+
if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) {
|
2833 |
+
queue.push({ obj: obj, prop: key });
|
2834 |
+
refs.push(val);
|
2835 |
+
}
|
2836 |
+
}
|
2837 |
+
}
|
2838 |
+
|
2839 |
+
return compactQueue(queue);
|
2840 |
+
};
|
2841 |
+
|
2842 |
+
exports.isRegExp = function isRegExp(obj) {
|
2843 |
+
return Object.prototype.toString.call(obj) === '[object RegExp]';
|
2844 |
+
};
|
2845 |
+
|
2846 |
+
exports.isBuffer = function isBuffer(obj) {
|
2847 |
+
if (obj === null || typeof obj === 'undefined') {
|
2848 |
+
return false;
|
2849 |
+
}
|
2850 |
+
|
2851 |
+
return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));
|
2852 |
+
};
|
2853 |
+
|
2854 |
+
|
2855 |
+
/***/ }),
|
2856 |
+
/* 74 */
|
2857 |
+
/***/ (function(module, exports, __webpack_require__) {
|
2858 |
+
|
2859 |
+
"use strict";
|
2860 |
+
|
2861 |
+
|
2862 |
+
var replace = String.prototype.replace;
|
2863 |
+
var percentTwenties = /%20/g;
|
2864 |
+
|
2865 |
+
module.exports = {
|
2866 |
+
'default': 'RFC3986',
|
2867 |
+
formatters: {
|
2868 |
+
RFC1738: function (value) {
|
2869 |
+
return replace.call(value, percentTwenties, '+');
|
2870 |
+
},
|
2871 |
+
RFC3986: function (value) {
|
2872 |
+
return value;
|
2873 |
+
}
|
2874 |
+
},
|
2875 |
+
RFC1738: 'RFC1738',
|
2876 |
+
RFC3986: 'RFC3986'
|
2877 |
+
};
|
2878 |
+
|
2879 |
+
|
2880 |
+
/***/ }),
|
2881 |
+
/* 75 */
|
2882 |
+
/***/ (function(module, exports, __webpack_require__) {
|
2883 |
+
|
2884 |
+
"use strict";
|
2885 |
+
|
2886 |
+
|
2887 |
+
Object.defineProperty(exports, "__esModule", {
|
2888 |
+
value: true
|
2889 |
+
});
|
2890 |
+
exports.default = sendCommand;
|
2891 |
+
|
2892 |
+
var _axios = __webpack_require__(25);
|
2893 |
+
|
2894 |
+
var _axios2 = _interopRequireDefault(_axios);
|
2895 |
+
|
2896 |
+
var _qs = __webpack_require__(43);
|
2897 |
+
|
2898 |
+
var _qs2 = _interopRequireDefault(_qs);
|
2899 |
+
|
2900 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
2901 |
+
|
2902 |
+
function sendCommand(data) {
|
2903 |
+
|
2904 |
+
var params = {
|
2905 |
+
action: 'eum_ajax'
|
2906 |
+
};
|
2907 |
+
|
2908 |
+
var default_data = {
|
2909 |
+
_wpnonce: mpsum.eum_nonce
|
2910 |
+
};
|
2911 |
+
|
2912 |
+
if ('undefined' === typeof data) data = {};
|
2913 |
+
|
2914 |
+
for (var opt in default_data) {
|
2915 |
+
if (!data.hasOwnProperty(opt)) {
|
2916 |
+
data[opt] = default_data[opt];
|
2917 |
+
}
|
2918 |
+
}
|
2919 |
+
|
2920 |
+
var options = {
|
2921 |
+
method: 'post',
|
2922 |
+
url: mpsum.ajax_url,
|
2923 |
+
params: params,
|
2924 |
+
paramsSerializer: function paramsSerializer(params) {
|
2925 |
+
return _qs2.default.stringify(params, { arrayFormat: 'brackets' });
|
2926 |
+
},
|
2927 |
+
data: _qs2.default.stringify(data)
|
2928 |
+
};
|
2929 |
+
|
2930 |
+
return (0, _axios2.default)(options);
|
2931 |
+
}
|
2932 |
+
|
2933 |
+
/***/ }),
|
2934 |
+
/* 76 */
|
2935 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2936 |
+
|
2937 |
+
"use strict";
|
2938 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return subscriptionShape; });
|
2939 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return storeShape; });
|
2940 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_prop_types__ = __webpack_require__(44);
|
2941 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_prop_types__);
|
2942 |
+
|
2943 |
+
|
2944 |
+
var subscriptionShape = __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.shape({
|
2945 |
+
trySubscribe: __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.func.isRequired,
|
2946 |
+
tryUnsubscribe: __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.func.isRequired,
|
2947 |
+
notifyNestedSubs: __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.func.isRequired,
|
2948 |
+
isSubscribed: __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.func.isRequired
|
2949 |
+
});
|
2950 |
+
|
2951 |
+
var storeShape = __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.shape({
|
2952 |
+
subscribe: __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.func.isRequired,
|
2953 |
+
dispatch: __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.func.isRequired,
|
2954 |
+
getState: __WEBPACK_IMPORTED_MODULE_0_prop_types___default.a.func.isRequired
|
2955 |
+
});
|
2956 |
+
|
2957 |
+
/***/ }),
|
2958 |
+
/* 77 */
|
2959 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2960 |
+
|
2961 |
+
"use strict";
|
2962 |
+
/* harmony export (immutable) */ __webpack_exports__["a"] = connectAdvanced;
|
2963 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_hoist_non_react_statics__ = __webpack_require__(174);
|
2964 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_hoist_non_react_statics___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_hoist_non_react_statics__);
|
2965 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_invariant__ = __webpack_require__(175);
|
2966 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_invariant___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_invariant__);
|
2967 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react__ = __webpack_require__(0);
|
2968 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
|
2969 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__utils_Subscription__ = __webpack_require__(176);
|
2970 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__utils_PropTypes__ = __webpack_require__(76);
|
2971 |
+
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
2972 |
+
|
2973 |
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
2974 |
+
|
2975 |
+
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
2976 |
+
|
2977 |
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
2978 |
+
|
2979 |
+
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
2980 |
+
|
2981 |
+
|
2982 |
+
|
2983 |
+
|
2984 |
+
|
2985 |
+
|
2986 |
+
|
2987 |
+
|
2988 |
+
var hotReloadingVersion = 0;
|
2989 |
+
var dummyState = {};
|
2990 |
+
function noop() {}
|
2991 |
+
function makeSelectorStateful(sourceSelector, store) {
|
2992 |
+
// wrap the selector in an object that tracks its results between runs.
|
2993 |
+
var selector = {
|
2994 |
+
run: function runComponentSelector(props) {
|
2995 |
+
try {
|
2996 |
+
var nextProps = sourceSelector(store.getState(), props);
|
2997 |
+
if (nextProps !== selector.props || selector.error) {
|
2998 |
+
selector.shouldComponentUpdate = true;
|
2999 |
+
selector.props = nextProps;
|
3000 |
+
selector.error = null;
|
3001 |
+
}
|
3002 |
+
} catch (error) {
|
3003 |
+
selector.shouldComponentUpdate = true;
|
3004 |
+
selector.error = error;
|
3005 |
+
}
|
3006 |
+
}
|
3007 |
+
};
|
3008 |
+
|
3009 |
+
return selector;
|
3010 |
+
}
|
3011 |
+
|
3012 |
+
function connectAdvanced(
|
3013 |
+
/*
|
3014 |
+
selectorFactory is a func that is responsible for returning the selector function used to
|
3015 |
+
compute new props from state, props, and dispatch. For example:
|
3016 |
+
export default connectAdvanced((dispatch, options) => (state, props) => ({
|
3017 |
+
thing: state.things[props.thingId],
|
3018 |
+
saveThing: fields => dispatch(actionCreators.saveThing(props.thingId, fields)),
|
3019 |
+
}))(YourComponent)
|
3020 |
+
Access to dispatch is provided to the factory so selectorFactories can bind actionCreators
|
3021 |
+
outside of their selector as an optimization. Options passed to connectAdvanced are passed to
|
3022 |
+
the selectorFactory, along with displayName and WrappedComponent, as the second argument.
|
3023 |
+
Note that selectorFactory is responsible for all caching/memoization of inbound and outbound
|
3024 |
+
props. Do not use connectAdvanced directly without memoizing results between calls to your
|
3025 |
+
selector, otherwise the Connect component will re-render on every state or props change.
|
3026 |
+
*/
|
3027 |
+
selectorFactory) {
|
3028 |
+
var _contextTypes, _childContextTypes;
|
3029 |
+
|
3030 |
+
var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
|
3031 |
+
_ref$getDisplayName = _ref.getDisplayName,
|
3032 |
+
getDisplayName = _ref$getDisplayName === undefined ? function (name) {
|
3033 |
+
return 'ConnectAdvanced(' + name + ')';
|
3034 |
+
} : _ref$getDisplayName,
|
3035 |
+
_ref$methodName = _ref.methodName,
|
3036 |
+
methodName = _ref$methodName === undefined ? 'connectAdvanced' : _ref$methodName,
|
3037 |
+
_ref$renderCountProp = _ref.renderCountProp,
|
3038 |
+
renderCountProp = _ref$renderCountProp === undefined ? undefined : _ref$renderCountProp,
|
3039 |
+
_ref$shouldHandleStat = _ref.shouldHandleStateChanges,
|
3040 |
+
shouldHandleStateChanges = _ref$shouldHandleStat === undefined ? true : _ref$shouldHandleStat,
|
3041 |
+
_ref$storeKey = _ref.storeKey,
|
3042 |
+
storeKey = _ref$storeKey === undefined ? 'store' : _ref$storeKey,
|
3043 |
+
_ref$withRef = _ref.withRef,
|
3044 |
+
withRef = _ref$withRef === undefined ? false : _ref$withRef,
|
3045 |
+
connectOptions = _objectWithoutProperties(_ref, ['getDisplayName', 'methodName', 'renderCountProp', 'shouldHandleStateChanges', 'storeKey', 'withRef']);
|
3046 |
+
|
3047 |
+
var subscriptionKey = storeKey + 'Subscription';
|
3048 |
+
var version = hotReloadingVersion++;
|
3049 |
+
|
3050 |
+
var contextTypes = (_contextTypes = {}, _contextTypes[storeKey] = __WEBPACK_IMPORTED_MODULE_4__utils_PropTypes__["a" /* storeShape */], _contextTypes[subscriptionKey] = __WEBPACK_IMPORTED_MODULE_4__utils_PropTypes__["b" /* subscriptionShape */], _contextTypes);
|
3051 |
+
var childContextTypes = (_childContextTypes = {}, _childContextTypes[subscriptionKey] = __WEBPACK_IMPORTED_MODULE_4__utils_PropTypes__["b" /* subscriptionShape */], _childContextTypes);
|
3052 |
+
|
3053 |
+
return function wrapWithConnect(WrappedComponent) {
|
3054 |
+
__WEBPACK_IMPORTED_MODULE_1_invariant___default()(typeof WrappedComponent == 'function', 'You must pass a component to the function returned by ' + (methodName + '. Instead received ' + JSON.stringify(WrappedComponent)));
|
3055 |
+
|
3056 |
+
var wrappedComponentName = WrappedComponent.displayName || WrappedComponent.name || 'Component';
|
3057 |
+
|
3058 |
+
var displayName = getDisplayName(wrappedComponentName);
|
3059 |
+
|
3060 |
+
var selectorFactoryOptions = _extends({}, connectOptions, {
|
3061 |
+
getDisplayName: getDisplayName,
|
3062 |
+
methodName: methodName,
|
3063 |
+
renderCountProp: renderCountProp,
|
3064 |
+
shouldHandleStateChanges: shouldHandleStateChanges,
|
3065 |
+
storeKey: storeKey,
|
3066 |
+
withRef: withRef,
|
3067 |
+
displayName: displayName,
|
3068 |
+
wrappedComponentName: wrappedComponentName,
|
3069 |
+
WrappedComponent: WrappedComponent
|
3070 |
+
});
|
3071 |
+
|
3072 |
+
var Connect = function (_Component) {
|
3073 |
+
_inherits(Connect, _Component);
|
3074 |
+
|
3075 |
+
function Connect(props, context) {
|
3076 |
+
_classCallCheck(this, Connect);
|
3077 |
+
|
3078 |
+
var _this = _possibleConstructorReturn(this, _Component.call(this, props, context));
|
3079 |
+
|
3080 |
+
_this.version = version;
|
3081 |
+
_this.state = {};
|
3082 |
+
_this.renderCount = 0;
|
3083 |
+
_this.store = props[storeKey] || context[storeKey];
|
3084 |
+
_this.propsMode = Boolean(props[storeKey]);
|
3085 |
+
_this.setWrappedInstance = _this.setWrappedInstance.bind(_this);
|
3086 |
+
|
3087 |
+
__WEBPACK_IMPORTED_MODULE_1_invariant___default()(_this.store, 'Could not find "' + storeKey + '" in either the context or props of ' + ('"' + displayName + '". Either wrap the root component in a <Provider>, ') + ('or explicitly pass "' + storeKey + '" as a prop to "' + displayName + '".'));
|
3088 |
+
|
3089 |
+
_this.initSelector();
|
3090 |
+
_this.initSubscription();
|
3091 |
+
return _this;
|
3092 |
+
}
|
3093 |
+
|
3094 |
+
Connect.prototype.getChildContext = function getChildContext() {
|
3095 |
+
var _ref2;
|
3096 |
+
|
3097 |
+
// If this component received store from props, its subscription should be transparent
|
3098 |
+
// to any descendants receiving store+subscription from context; it passes along
|
3099 |
+
// subscription passed to it. Otherwise, it shadows the parent subscription, which allows
|
3100 |
+
// Connect to control ordering of notifications to flow top-down.
|
3101 |
+
var subscription = this.propsMode ? null : this.subscription;
|
3102 |
+
return _ref2 = {}, _ref2[subscriptionKey] = subscription || this.context[subscriptionKey], _ref2;
|
3103 |
+
};
|
3104 |
+
|
3105 |
+
Connect.prototype.componentDidMount = function componentDidMount() {
|
3106 |
+
if (!shouldHandleStateChanges) return;
|
3107 |
+
|
3108 |
+
// componentWillMount fires during server side rendering, but componentDidMount and
|
3109 |
+
// componentWillUnmount do not. Because of this, trySubscribe happens during ...didMount.
|
3110 |
+
// Otherwise, unsubscription would never take place during SSR, causing a memory leak.
|
3111 |
+
// To handle the case where a child component may have triggered a state change by
|
3112 |
+
// dispatching an action in its componentWillMount, we have to re-run the select and maybe
|
3113 |
+
// re-render.
|
3114 |
+
this.subscription.trySubscribe();
|
3115 |
+
this.selector.run(this.props);
|
3116 |
+
if (this.selector.shouldComponentUpdate) this.forceUpdate();
|
3117 |
+
};
|
3118 |
+
|
3119 |
+
Connect.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
|
3120 |
+
this.selector.run(nextProps);
|
3121 |
+
};
|
3122 |
+
|
3123 |
+
Connect.prototype.shouldComponentUpdate = function shouldComponentUpdate() {
|
3124 |
+
return this.selector.shouldComponentUpdate;
|
3125 |
+
};
|
3126 |
+
|
3127 |
+
Connect.prototype.componentWillUnmount = function componentWillUnmount() {
|
3128 |
+
if (this.subscription) this.subscription.tryUnsubscribe();
|
3129 |
+
this.subscription = null;
|
3130 |
+
this.notifyNestedSubs = noop;
|
3131 |
+
this.store = null;
|
3132 |
+
this.selector.run = noop;
|
3133 |
+
this.selector.shouldComponentUpdate = false;
|
3134 |
+
};
|
3135 |
+
|
3136 |
+
Connect.prototype.getWrappedInstance = function getWrappedInstance() {
|
3137 |
+
__WEBPACK_IMPORTED_MODULE_1_invariant___default()(withRef, 'To access the wrapped instance, you need to specify ' + ('{ withRef: true } in the options argument of the ' + methodName + '() call.'));
|
3138 |
+
return this.wrappedInstance;
|
3139 |
+
};
|
3140 |
+
|
3141 |
+
Connect.prototype.setWrappedInstance = function setWrappedInstance(ref) {
|
3142 |
+
this.wrappedInstance = ref;
|
3143 |
+
};
|
3144 |
+
|
3145 |
+
Connect.prototype.initSelector = function initSelector() {
|
3146 |
+
var sourceSelector = selectorFactory(this.store.dispatch, selectorFactoryOptions);
|
3147 |
+
this.selector = makeSelectorStateful(sourceSelector, this.store);
|
3148 |
+
this.selector.run(this.props);
|
3149 |
+
};
|
3150 |
+
|
3151 |
+
Connect.prototype.initSubscription = function initSubscription() {
|
3152 |
+
if (!shouldHandleStateChanges) return;
|
3153 |
+
|
3154 |
+
// parentSub's source should match where store came from: props vs. context. A component
|
3155 |
+
// connected to the store via props shouldn't use subscription from context, or vice versa.
|
3156 |
+
var parentSub = (this.propsMode ? this.props : this.context)[subscriptionKey];
|
3157 |
+
this.subscription = new __WEBPACK_IMPORTED_MODULE_3__utils_Subscription__["a" /* default */](this.store, parentSub, this.onStateChange.bind(this));
|
3158 |
+
|
3159 |
+
// `notifyNestedSubs` is duplicated to handle the case where the component is unmounted in
|
3160 |
+
// the middle of the notification loop, where `this.subscription` will then be null. An
|
3161 |
+
// extra null check every change can be avoided by copying the method onto `this` and then
|
3162 |
+
// replacing it with a no-op on unmount. This can probably be avoided if Subscription's
|
3163 |
+
// listeners logic is changed to not call listeners that have been unsubscribed in the
|
3164 |
+
// middle of the notification loop.
|
3165 |
+
this.notifyNestedSubs = this.subscription.notifyNestedSubs.bind(this.subscription);
|
3166 |
+
};
|
3167 |
+
|
3168 |
+
Connect.prototype.onStateChange = function onStateChange() {
|
3169 |
+
this.selector.run(this.props);
|
3170 |
+
|
3171 |
+
if (!this.selector.shouldComponentUpdate) {
|
3172 |
+
this.notifyNestedSubs();
|
3173 |
+
} else {
|
3174 |
+
this.componentDidUpdate = this.notifyNestedSubsOnComponentDidUpdate;
|
3175 |
+
this.setState(dummyState);
|
3176 |
+
}
|
3177 |
+
};
|
3178 |
+
|
3179 |
+
Connect.prototype.notifyNestedSubsOnComponentDidUpdate = function notifyNestedSubsOnComponentDidUpdate() {
|
3180 |
+
// `componentDidUpdate` is conditionally implemented when `onStateChange` determines it
|
3181 |
+
// needs to notify nested subs. Once called, it unimplements itself until further state
|
3182 |
+
// changes occur. Doing it this way vs having a permanent `componentDidUpdate` that does
|
3183 |
+
// a boolean check every time avoids an extra method call most of the time, resulting
|
3184 |
+
// in some perf boost.
|
3185 |
+
this.componentDidUpdate = undefined;
|
3186 |
+
this.notifyNestedSubs();
|
3187 |
+
};
|
3188 |
+
|
3189 |
+
Connect.prototype.isSubscribed = function isSubscribed() {
|
3190 |
+
return Boolean(this.subscription) && this.subscription.isSubscribed();
|
3191 |
+
};
|
3192 |
+
|
3193 |
+
Connect.prototype.addExtraProps = function addExtraProps(props) {
|
3194 |
+
if (!withRef && !renderCountProp && !(this.propsMode && this.subscription)) return props;
|
3195 |
+
// make a shallow copy so that fields added don't leak to the original selector.
|
3196 |
+
// this is especially important for 'ref' since that's a reference back to the component
|
3197 |
+
// instance. a singleton memoized selector would then be holding a reference to the
|
3198 |
+
// instance, preventing the instance from being garbage collected, and that would be bad
|
3199 |
+
var withExtras = _extends({}, props);
|
3200 |
+
if (withRef) withExtras.ref = this.setWrappedInstance;
|
3201 |
+
if (renderCountProp) withExtras[renderCountProp] = this.renderCount++;
|
3202 |
+
if (this.propsMode && this.subscription) withExtras[subscriptionKey] = this.subscription;
|
3203 |
+
return withExtras;
|
3204 |
+
};
|
3205 |
+
|
3206 |
+
Connect.prototype.render = function render() {
|
3207 |
+
var selector = this.selector;
|
3208 |
+
selector.shouldComponentUpdate = false;
|
3209 |
+
|
3210 |
+
if (selector.error) {
|
3211 |
+
throw selector.error;
|
3212 |
+
} else {
|
3213 |
+
return Object(__WEBPACK_IMPORTED_MODULE_2_react__["createElement"])(WrappedComponent, this.addExtraProps(selector.props));
|
3214 |
+
}
|
3215 |
+
};
|
3216 |
+
|
3217 |
+
return Connect;
|
3218 |
+
}(__WEBPACK_IMPORTED_MODULE_2_react__["Component"]);
|
3219 |
+
|
3220 |
+
Connect.WrappedComponent = WrappedComponent;
|
3221 |
+
Connect.displayName = displayName;
|
3222 |
+
Connect.childContextTypes = childContextTypes;
|
3223 |
+
Connect.contextTypes = contextTypes;
|
3224 |
+
Connect.propTypes = contextTypes;
|
3225 |
+
|
3226 |
+
if (false) {
|
3227 |
+
Connect.prototype.componentWillUpdate = function componentWillUpdate() {
|
3228 |
+
var _this2 = this;
|
3229 |
+
|
3230 |
+
// We are hot reloading!
|
3231 |
+
if (this.version !== version) {
|
3232 |
+
this.version = version;
|
3233 |
+
this.initSelector();
|
3234 |
+
|
3235 |
+
// If any connected descendants don't hot reload (and resubscribe in the process), their
|
3236 |
+
// listeners will be lost when we unsubscribe. Unfortunately, by copying over all
|
3237 |
+
// listeners, this does mean that the old versions of connected descendants will still be
|
3238 |
+
// notified of state changes; however, their onStateChange function is a no-op so this
|
3239 |
+
// isn't a huge deal.
|
3240 |
+
var oldListeners = [];
|
3241 |
+
|
3242 |
+
if (this.subscription) {
|
3243 |
+
oldListeners = this.subscription.listeners.get();
|
3244 |
+
this.subscription.tryUnsubscribe();
|
3245 |
+
}
|
3246 |
+
this.initSubscription();
|
3247 |
+
if (shouldHandleStateChanges) {
|
3248 |
+
this.subscription.trySubscribe();
|
3249 |
+
oldListeners.forEach(function (listener) {
|
3250 |
+
return _this2.subscription.listeners.subscribe(listener);
|
3251 |
+
});
|
3252 |
+
}
|
3253 |
+
}
|
3254 |
+
};
|
3255 |
+
}
|
3256 |
+
|
3257 |
+
return __WEBPACK_IMPORTED_MODULE_0_hoist_non_react_statics___default()(Connect, WrappedComponent);
|
3258 |
+
};
|
3259 |
+
}
|
3260 |
+
|
3261 |
+
/***/ }),
|
3262 |
+
/* 78 */
|
3263 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
3264 |
+
|
3265 |
+
"use strict";
|
3266 |
+
/* harmony export (immutable) */ __webpack_exports__["a"] = wrapMapToPropsConstant;
|
3267 |
+
/* unused harmony export getDependsOnOwnProps */
|
3268 |
+
/* harmony export (immutable) */ __webpack_exports__["b"] = wrapMapToPropsFunc;
|
3269 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__utils_verifyPlainObject__ = __webpack_require__(79);
|
3270 |
+
|
3271 |
+
|
3272 |
+
function wrapMapToPropsConstant(getConstant) {
|
3273 |
+
return function initConstantSelector(dispatch, options) {
|
3274 |
+
var constant = getConstant(dispatch, options);
|
3275 |
+
|
3276 |
+
function constantSelector() {
|
3277 |
+
return constant;
|
3278 |
+
}
|
3279 |
+
constantSelector.dependsOnOwnProps = false;
|
3280 |
+
return constantSelector;
|
3281 |
+
};
|
3282 |
+
}
|
3283 |
+
|
3284 |
+
// dependsOnOwnProps is used by createMapToPropsProxy to determine whether to pass props as args
|
3285 |
+
// to the mapToProps function being wrapped. It is also used by makePurePropsSelector to determine
|
3286 |
+
// whether mapToProps needs to be invoked when props have changed.
|
3287 |
+
//
|
3288 |
+
// A length of one signals that mapToProps does not depend on props from the parent component.
|
3289 |
+
// A length of zero is assumed to mean mapToProps is getting args via arguments or ...args and
|
3290 |
+
// therefore not reporting its length accurately..
|
3291 |
+
function getDependsOnOwnProps(mapToProps) {
|
3292 |
+
return mapToProps.dependsOnOwnProps !== null && mapToProps.dependsOnOwnProps !== undefined ? Boolean(mapToProps.dependsOnOwnProps) : mapToProps.length !== 1;
|
3293 |
+
}
|
3294 |
+
|
3295 |
+
// Used by whenMapStateToPropsIsFunction and whenMapDispatchToPropsIsFunction,
|
3296 |
+
// this function wraps mapToProps in a proxy function which does several things:
|
3297 |
+
//
|
3298 |
+
// * Detects whether the mapToProps function being called depends on props, which
|
3299 |
+
// is used by selectorFactory to decide if it should reinvoke on props changes.
|
3300 |
+
//
|
3301 |
+
// * On first call, handles mapToProps if returns another function, and treats that
|
3302 |
+
// new function as the true mapToProps for subsequent calls.
|
3303 |
+
//
|
3304 |
+
// * On first call, verifies the first result is a plain object, in order to warn
|
3305 |
+
// the developer that their mapToProps function is not returning a valid result.
|
3306 |
+
//
|
3307 |
+
function wrapMapToPropsFunc(mapToProps, methodName) {
|
3308 |
+
return function initProxySelector(dispatch, _ref) {
|
3309 |
+
var displayName = _ref.displayName;
|
3310 |
+
|
3311 |
+
var proxy = function mapToPropsProxy(stateOrDispatch, ownProps) {
|
3312 |
+
return proxy.dependsOnOwnProps ? proxy.mapToProps(stateOrDispatch, ownProps) : proxy.mapToProps(stateOrDispatch);
|
3313 |
+
};
|
3314 |
+
|
3315 |
+
// allow detectFactoryAndVerify to get ownProps
|
3316 |
+
proxy.dependsOnOwnProps = true;
|
3317 |
+
|
3318 |
+
proxy.mapToProps = function detectFactoryAndVerify(stateOrDispatch, ownProps) {
|
3319 |
+
proxy.mapToProps = mapToProps;
|
3320 |
+
proxy.dependsOnOwnProps = getDependsOnOwnProps(mapToProps);
|
3321 |
+
var props = proxy(stateOrDispatch, ownProps);
|
3322 |
+
|
3323 |
+
if (typeof props === 'function') {
|
3324 |
+
proxy.mapToProps = props;
|
3325 |
+
proxy.dependsOnOwnProps = getDependsOnOwnProps(props);
|
3326 |
+
props = proxy(stateOrDispatch, ownProps);
|
3327 |
+
}
|
3328 |
+
|
3329 |
+
if (false) verifyPlainObject(props, displayName, methodName);
|
3330 |
+
|
3331 |
+
return props;
|
3332 |
+
};
|
3333 |
+
|
3334 |
+
return proxy;
|
3335 |
+
};
|
3336 |
+
}
|
3337 |
+
|
3338 |
+
/***/ }),
|
3339 |
+
/* 79 */
|
3340 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
3341 |
+
|
3342 |
+
"use strict";
|
3343 |
+
/* unused harmony export default */
|
3344 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash_es_isPlainObject__ = __webpack_require__(180);
|
3345 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__warning__ = __webpack_require__(45);
|
3346 |
+
|
3347 |
+
|
3348 |
+
|
3349 |
+
function verifyPlainObject(value, displayName, methodName) {
|
3350 |
+
if (!Object(__WEBPACK_IMPORTED_MODULE_0_lodash_es_isPlainObject__["a" /* default */])(value)) {
|
3351 |
+
Object(__WEBPACK_IMPORTED_MODULE_1__warning__["a" /* default */])(methodName + '() in ' + displayName + ' must return a plain object. Instead received ' + value + '.');
|
3352 |
+
}
|
3353 |
+
}
|
3354 |
+
|
3355 |
+
/***/ }),
|
3356 |
+
/* 80 */
|
3357 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
3358 |
+
|
3359 |
+
"use strict";
|
3360 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__root_js__ = __webpack_require__(182);
|
3361 |
+
|
3362 |
+
|
3363 |
+
/** Built-in value references. */
|
3364 |
+
var Symbol = __WEBPACK_IMPORTED_MODULE_0__root_js__["a" /* default */].Symbol;
|
3365 |
+
|
3366 |
+
/* harmony default export */ __webpack_exports__["a"] = (Symbol);
|
3367 |
+
|
3368 |
+
|
3369 |
+
/***/ }),
|
3370 |
+
/* 81 */
|
3371 |
+
/***/ (function(module, exports) {
|
3372 |
+
|
3373 |
+
/**
|
3374 |
+
* lodash (Custom Build) <https://lodash.com/>
|
3375 |
+
* Build: `lodash modularize exports="npm" -o ./`
|
3376 |
+
* Copyright jQuery Foundation and other contributors <https://jquery.org/>
|
3377 |
+
* Released under MIT license <https://lodash.com/license>
|
3378 |
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
3379 |
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
3380 |
+
*/
|
3381 |
+
|
3382 |
+
/** Used as references for various `Number` constants. */
|
3383 |
+
var MAX_SAFE_INTEGER = 9007199254740991;
|
3384 |
+
|
3385 |
+
/** `Object#toString` result references. */
|
3386 |
+
var argsTag = '[object Arguments]',
|
3387 |
+
funcTag = '[object Function]',
|
3388 |
+
genTag = '[object GeneratorFunction]';
|
3389 |
+
|
3390 |
+
/** Used for built-in method references. */
|
3391 |
+
var objectProto = Object.prototype;
|
3392 |
+
|
3393 |
+
/** Used to check objects for own properties. */
|
3394 |
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
3395 |
+
|
3396 |
+
/**
|
3397 |
+
* Used to resolve the
|
3398 |
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
3399 |
+
* of values.
|
3400 |
+
*/
|
3401 |
+
var objectToString = objectProto.toString;
|
3402 |
+
|
3403 |
+
/** Built-in value references. */
|
3404 |
+
var propertyIsEnumerable = objectProto.propertyIsEnumerable;
|
3405 |
+
|
3406 |
+
/**
|
3407 |
+
* Checks if `value` is likely an `arguments` object.
|
3408 |
+
*
|
3409 |
+
* @static
|
3410 |
+
* @memberOf _
|
3411 |
+
* @since 0.1.0
|
3412 |
+
* @category Lang
|
3413 |
+
* @param {*} value The value to check.
|
3414 |
+
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
3415 |
+
* else `false`.
|
3416 |
+
* @example
|
3417 |
+
*
|
3418 |
+
* _.isArguments(function() { return arguments; }());
|
3419 |
+
* // => true
|
3420 |
+
*
|
3421 |
+
* _.isArguments([1, 2, 3]);
|
3422 |
+
* // => false
|
3423 |
+
*/
|
3424 |
+
function isArguments(value) {
|
3425 |
+
// Safari 8.1 makes `arguments.callee` enumerable in strict mode.
|
3426 |
+
return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') &&
|
3427 |
+
(!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag);
|
3428 |
+
}
|
3429 |
+
|
3430 |
+
/**
|
3431 |
+
* Checks if `value` is array-like. A value is considered array-like if it's
|
3432 |
+
* not a function and has a `value.length` that's an integer greater than or
|
3433 |
+
* equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
|
3434 |
+
*
|
3435 |
+
* @static
|
3436 |
+
* @memberOf _
|
3437 |
+
* @since 4.0.0
|
3438 |
+
* @category Lang
|
3439 |
+
* @param {*} value The value to check.
|
3440 |
+
* @returns {boolean} Returns `true` if `value` is array-like, else `false`.
|
3441 |
+
* @example
|
3442 |
+
*
|
3443 |
+
* _.isArrayLike([1, 2, 3]);
|
3444 |
+
* // => true
|
3445 |
+
*
|
3446 |
+
* _.isArrayLike(document.body.children);
|
3447 |
+
* // => true
|
3448 |
+
*
|
3449 |
+
* _.isArrayLike('abc');
|
3450 |
+
* // => true
|
3451 |
+
*
|
3452 |
+
* _.isArrayLike(_.noop);
|
3453 |
+
* // => false
|
3454 |
+
*/
|
3455 |
+
function isArrayLike(value) {
|
3456 |
+
return value != null && isLength(value.length) && !isFunction(value);
|
3457 |
+
}
|
3458 |
+
|
3459 |
+
/**
|
3460 |
+
* This method is like `_.isArrayLike` except that it also checks if `value`
|
3461 |
+
* is an object.
|
3462 |
+
*
|
3463 |
+
* @static
|
3464 |
+
* @memberOf _
|
3465 |
+
* @since 4.0.0
|
3466 |
+
* @category Lang
|
3467 |
+
* @param {*} value The value to check.
|
3468 |
+
* @returns {boolean} Returns `true` if `value` is an array-like object,
|
3469 |
+
* else `false`.
|
3470 |
+
* @example
|
3471 |
+
*
|
3472 |
+
* _.isArrayLikeObject([1, 2, 3]);
|
3473 |
+
* // => true
|
3474 |
+
*
|
3475 |
+
* _.isArrayLikeObject(document.body.children);
|
3476 |
+
* // => true
|
3477 |
+
*
|
3478 |
+
* _.isArrayLikeObject('abc');
|
3479 |
+
* // => false
|
3480 |
+
*
|
3481 |
+
* _.isArrayLikeObject(_.noop);
|
3482 |
+
* // => false
|
3483 |
+
*/
|
3484 |
+
function isArrayLikeObject(value) {
|
3485 |
+
return isObjectLike(value) && isArrayLike(value);
|
3486 |
+
}
|
3487 |
+
|
3488 |
+
/**
|
3489 |
+
* Checks if `value` is classified as a `Function` object.
|
3490 |
+
*
|
3491 |
+
* @static
|
3492 |
+
* @memberOf _
|
3493 |
+
* @since 0.1.0
|
3494 |
+
* @category Lang
|
3495 |
+
* @param {*} value The value to check.
|
3496 |
+
* @returns {boolean} Returns `true` if `value` is a function, else `false`.
|
3497 |
+
* @example
|
3498 |
+
*
|
3499 |
+
* _.isFunction(_);
|
3500 |
+
* // => true
|
3501 |
+
*
|
3502 |
+
* _.isFunction(/abc/);
|
3503 |
+
* // => false
|
3504 |
+
*/
|
3505 |
+
function isFunction(value) {
|
3506 |
+
// The use of `Object#toString` avoids issues with the `typeof` operator
|
3507 |
+
// in Safari 8-9 which returns 'object' for typed array and other constructors.
|
3508 |
+
var tag = isObject(value) ? objectToString.call(value) : '';
|
3509 |
+
return tag == funcTag || tag == genTag;
|
3510 |
+
}
|
3511 |
+
|
3512 |
+
/**
|
3513 |
+
* Checks if `value` is a valid array-like length.
|
3514 |
+
*
|
3515 |
+
* **Note:** This method is loosely based on
|
3516 |
+
* [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
|
3517 |
+
*
|
3518 |
+
* @static
|
3519 |
+
* @memberOf _
|
3520 |
+
* @since 4.0.0
|
3521 |
+
* @category Lang
|
3522 |
+
* @param {*} value The value to check.
|
3523 |
+
* @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
|
3524 |
+
* @example
|
3525 |
+
*
|
3526 |
+
* _.isLength(3);
|
3527 |
+
* // => true
|
3528 |
+
*
|
3529 |
+
* _.isLength(Number.MIN_VALUE);
|
3530 |
+
* // => false
|
3531 |
+
*
|
3532 |
+
* _.isLength(Infinity);
|
3533 |
+
* // => false
|
3534 |
+
*
|
3535 |
+
* _.isLength('3');
|
3536 |
+
* // => false
|
3537 |
+
*/
|
3538 |
+
function isLength(value) {
|
3539 |
+
return typeof value == 'number' &&
|
3540 |
+
value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
3541 |
+
}
|
3542 |
+
|
3543 |
+
/**
|
3544 |
+
* Checks if `value` is the
|
3545 |
+
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
3546 |
+
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
3547 |
+
*
|
3548 |
+
* @static
|
3549 |
+
* @memberOf _
|
3550 |
+
* @since 0.1.0
|
3551 |
+
* @category Lang
|
3552 |
+
* @param {*} value The value to check.
|
3553 |
+
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
3554 |
+
* @example
|
3555 |
+
*
|
3556 |
+
* _.isObject({});
|
3557 |
+
* // => true
|
3558 |
+
*
|
3559 |
+
* _.isObject([1, 2, 3]);
|
3560 |
+
* // => true
|
3561 |
+
*
|
3562 |
+
* _.isObject(_.noop);
|
3563 |
+
* // => true
|
3564 |
+
*
|
3565 |
+
* _.isObject(null);
|
3566 |
+
* // => false
|
3567 |
+
*/
|
3568 |
+
function isObject(value) {
|
3569 |
+
var type = typeof value;
|
3570 |
+
return !!value && (type == 'object' || type == 'function');
|
3571 |
+
}
|
3572 |
+
|
3573 |
+
/**
|
3574 |
+
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
3575 |
+
* and has a `typeof` result of "object".
|
3576 |
+
*
|
3577 |
+
* @static
|
3578 |
+
* @memberOf _
|
3579 |
+
* @since 4.0.0
|
3580 |
+
* @category Lang
|
3581 |
+
* @param {*} value The value to check.
|
3582 |
+
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
3583 |
+
* @example
|
3584 |
+
*
|
3585 |
+
* _.isObjectLike({});
|
3586 |
+
* // => true
|
3587 |
+
*
|
3588 |
+
* _.isObjectLike([1, 2, 3]);
|
3589 |
+
* // => true
|
3590 |
+
*
|
3591 |
+
* _.isObjectLike(_.noop);
|
3592 |
+
* // => false
|
3593 |
+
*
|
3594 |
+
* _.isObjectLike(null);
|
3595 |
+
* // => false
|
3596 |
+
*/
|
3597 |
+
function isObjectLike(value) {
|
3598 |
+
return !!value && typeof value == 'object';
|
3599 |
+
}
|
3600 |
+
|
3601 |
+
module.exports = isArguments;
|
3602 |
+
|
3603 |
+
|
3604 |
+
/***/ }),
|
3605 |
+
/* 82 */
|
3606 |
+
/***/ (function(module, exports, __webpack_require__) {
|
3607 |
+
|
3608 |
+
"use strict";
|
3609 |
+
|
3610 |
+
|
3611 |
+
var _getPrototypeOf = __webpack_require__(1);
|
3612 |
+
|
3613 |
+
var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
|
3614 |
+
|
3615 |
+
var _classCallCheck2 = __webpack_require__(2);
|
3616 |
+
|
3617 |
+
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
|
3618 |
+
|
3619 |
+
var _createClass2 = __webpack_require__(3);
|
3620 |
+
|
3621 |
+
var _createClass3 = _interopRequireDefault(_createClass2);
|
3622 |
+
|
3623 |
+
var _possibleConstructorReturn2 = __webpack_require__(4);
|
3624 |
+
|
3625 |
+
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
|
3626 |
+
|
3627 |
+
var _inherits2 = __webpack_require__(5);
|
3628 |
+
|
3629 |
+
var _inherits3 = _interopRequireDefault(_inherits2);
|
3630 |
+
|
3631 |
+
var _react = __webpack_require__(0);
|
3632 |
+
|
3633 |
+
var _react2 = _interopRequireDefault(_react);
|
3634 |
+
|
3635 |
+
var _reactDom = __webpack_require__(123);
|
3636 |
+
|
3637 |
+
var _reactDom2 = _interopRequireDefault(_reactDom);
|
3638 |
+
|
3639 |
+
var _axios = __webpack_require__(25);
|
3640 |
+
|
3641 |
+
var _axios2 = _interopRequireDefault(_axios);
|
3642 |
+
|
3643 |
+
var _redux = __webpack_require__(42);
|
3644 |
+
|
3645 |
+
var _reducers = __webpack_require__(165);
|
3646 |
+
|
3647 |
+
var _reducers2 = _interopRequireDefault(_reducers);
|
3648 |
+
|
3649 |
+
var _main_container = __webpack_require__(169);
|
3650 |
+
|
3651 |
+
var _main_container2 = _interopRequireDefault(_main_container);
|
3652 |
+
|
3653 |
+
var _reduxPromise = __webpack_require__(209);
|
3654 |
+
|
3655 |
+
var _reduxPromise2 = _interopRequireDefault(_reduxPromise);
|
3656 |
+
|
3657 |
+
var _reactRedux = __webpack_require__(7);
|
3658 |
+
|
3659 |
+
__webpack_require__(215);
|
3660 |
+
|
3661 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
3662 |
+
|
3663 |
+
// For IE9
|
3664 |
+
|
3665 |
+
var createStoreWithMiddleware = (0, _redux.applyMiddleware)(_reduxPromise2.default)(_redux.createStore);
|
3666 |
+
|
3667 |
+
var App = function (_Component) {
|
3668 |
+
(0, _inherits3.default)(App, _Component);
|
3669 |
+
|
3670 |
+
function App() {
|
3671 |
+
(0, _classCallCheck3.default)(this, App);
|
3672 |
+
return (0, _possibleConstructorReturn3.default)(this, (App.__proto__ || (0, _getPrototypeOf2.default)(App)).apply(this, arguments));
|
3673 |
+
}
|
3674 |
+
|
3675 |
+
(0, _createClass3.default)(App, [{
|
3676 |
+
key: 'render',
|
3677 |
+
value: function render() {
|
3678 |
+
return _react2.default.createElement(
|
3679 |
+
_react.Fragment,
|
3680 |
+
null,
|
3681 |
+
_react2.default.createElement(_main_container2.default, null)
|
3682 |
+
);
|
3683 |
+
}
|
3684 |
+
}]);
|
3685 |
+
return App;
|
3686 |
+
}(_react.Component);
|
3687 |
+
|
3688 |
+
var dashboardApp = document.querySelector('.eum-dashboard-app');
|
3689 |
+
if (null !== dashboardApp) {
|
3690 |
+
_reactDom2.default.render(_react2.default.createElement(
|
3691 |
+
_reactRedux.Provider,
|
3692 |
+
{ store: createStoreWithMiddleware(_reducers2.default) },
|
3693 |
+
_react2.default.createElement(App, null)
|
3694 |
+
), dashboardApp);
|
3695 |
+
}
|
3696 |
+
|
3697 |
+
/***/ }),
|
3698 |
+
/* 83 */
|
3699 |
+
/***/ (function(module, exports, __webpack_require__) {
|
3700 |
+
|
3701 |
+
__webpack_require__(84);
|
3702 |
+
module.exports = __webpack_require__(11).Object.getPrototypeOf;
|
3703 |
+
|
3704 |
+
|
3705 |
+
/***/ }),
|
3706 |
+
/* 84 */
|
3707 |
+
/***/ (function(module, exports, __webpack_require__) {
|
3708 |
+
|
3709 |
+
// 19.1.2.9 Object.getPrototypeOf(O)
|
3710 |
+
var toObject = __webpack_require__(46);
|
3711 |
+
var $getPrototypeOf = __webpack_require__(47);
|
3712 |
+
|
3713 |
+
__webpack_require__(85)('getPrototypeOf', function () {
|
3714 |
+
return function getPrototypeOf(it) {
|
3715 |
+
return $getPrototypeOf(toObject(it));
|
3716 |
+
};
|
3717 |
+
});
|
3718 |
+
|
3719 |
+
|
3720 |
+
/***/ }),
|
3721 |
+
/* 85 */
|
3722 |
+
/***/ (function(module, exports, __webpack_require__) {
|
3723 |
+
|
3724 |
+
// most Object methods by ES6 should accept primitives
|
3725 |
+
var $export = __webpack_require__(15);
|
3726 |
+
var core = __webpack_require__(11);
|
3727 |
+
var fails = __webpack_require__(21);
|
3728 |
+
module.exports = function (KEY, exec) {
|
3729 |
+
var fn = (core.Object || {})[KEY] || Object[KEY];
|
3730 |
+
var exp = {};
|
3731 |
+
exp[KEY] = exec(fn);
|
3732 |
+
$export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);
|
3733 |
+
};
|
3734 |
+
|
3735 |
+
|
3736 |
+
/***/ }),
|
3737 |
+
/* 86 */
|
3738 |
+
/***/ (function(module, exports) {
|
3739 |
+
|
3740 |
+
module.exports = function (it) {
|
3741 |
+
if (typeof it != 'function') throw TypeError(it + ' is not a function!');
|
3742 |
+
return it;
|
3743 |
+
};
|
3744 |
+
|
3745 |
+
|
3746 |
+
/***/ }),
|
3747 |
+
/* 87 */
|
3748 |
+
/***/ (function(module, exports, __webpack_require__) {
|
3749 |
+
|
3750 |
+
module.exports = { "default": __webpack_require__(88), __esModule: true };
|
3751 |
+
|
3752 |
+
/***/ }),
|
3753 |
+
/* 88 */
|
3754 |
+
/***/ (function(module, exports, __webpack_require__) {
|
3755 |
+
|
3756 |
+
__webpack_require__(89);
|
3757 |
+
var $Object = __webpack_require__(11).Object;
|
3758 |
+
module.exports = function defineProperty(it, key, desc) {
|
3759 |
+
return $Object.defineProperty(it, key, desc);
|
3760 |
+
};
|
3761 |
+
|
3762 |
+
|
3763 |
+
/***/ }),
|
3764 |
+
/* 89 */
|
3765 |
+
/***/ (function(module, exports, __webpack_require__) {
|
3766 |
+
|
3767 |
+
var $export = __webpack_require__(15);
|
3768 |
+
// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
|
3769 |
+
$export($export.S + $export.F * !__webpack_require__(14), 'Object', { defineProperty: __webpack_require__(13).f });
|
3770 |
+
|
3771 |
+
|
3772 |
+
/***/ }),
|
3773 |
+
/* 90 */
|
3774 |
+
/***/ (function(module, exports, __webpack_require__) {
|
3775 |
+
|
3776 |
+
module.exports = { "default": __webpack_require__(91), __esModule: true };
|
3777 |
+
|
3778 |
+
/***/ }),
|
3779 |
+
/* 91 */
|
3780 |
+
/***/ (function(module, exports, __webpack_require__) {
|
3781 |
+
|
3782 |
+
__webpack_require__(92);
|
3783 |
+
__webpack_require__(101);
|
3784 |
+
module.exports = __webpack_require__(38).f('iterator');
|
3785 |
+
|
3786 |
+
|
3787 |
+
/***/ }),
|
3788 |
+
/* 92 */
|
3789 |
+
/***/ (function(module, exports, __webpack_require__) {
|
3790 |
+
|
3791 |
+
"use strict";
|
3792 |
+
|
3793 |
+
var $at = __webpack_require__(93)(true);
|
3794 |
+
|
3795 |
+
// 21.1.3.27 String.prototype[@@iterator]()
|
3796 |
+
__webpack_require__(52)(String, 'String', function (iterated) {
|
3797 |
+
this._t = String(iterated); // target
|
3798 |
+
this._i = 0; // next index
|
3799 |
+
// 21.1.5.2.1 %StringIteratorPrototype%.next()
|
3800 |
+
}, function () {
|
3801 |
+
var O = this._t;
|
3802 |
+
var index = this._i;
|
3803 |
+
var point;
|
3804 |
+
if (index >= O.length) return { value: undefined, done: true };
|
3805 |
+
point = $at(O, index);
|
3806 |
+
this._i += point.length;
|
3807 |
+
return { value: point, done: false };
|
3808 |
+
});
|
3809 |
+
|
3810 |
+
|
3811 |
+
/***/ }),
|
3812 |
+
/* 93 */
|
3813 |
+
/***/ (function(module, exports, __webpack_require__) {
|
3814 |
+
|
3815 |
+
var toInteger = __webpack_require__(31);
|
3816 |
+
var defined = __webpack_require__(27);
|
3817 |
+
// true -> String#at
|
3818 |
+
// false -> String#codePointAt
|
3819 |
+
module.exports = function (TO_STRING) {
|
3820 |
+
return function (that, pos) {
|
3821 |
+
var s = String(defined(that));
|
3822 |
+
var i = toInteger(pos);
|
3823 |
+
var l = s.length;
|
3824 |
+
var a, b;
|
3825 |
+
if (i < 0 || i >= l) return TO_STRING ? '' : undefined;
|
3826 |
+
a = s.charCodeAt(i);
|
3827 |
+
return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
|
3828 |
+
? TO_STRING ? s.charAt(i) : a
|
3829 |
+
: TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
|
3830 |
+
};
|
3831 |
+
};
|
3832 |
+
|
3833 |
+
|
3834 |
+
/***/ }),
|
3835 |
+
/* 94 */
|
3836 |
+
/***/ (function(module, exports, __webpack_require__) {
|
3837 |
+
|
3838 |
+
"use strict";
|
3839 |
+
|
3840 |
+
var create = __webpack_require__(34);
|
3841 |
+
var descriptor = __webpack_require__(23);
|
3842 |
+
var setToStringTag = __webpack_require__(37);
|
3843 |
+
var IteratorPrototype = {};
|
3844 |
+
|
3845 |
+
// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
|
3846 |
+
__webpack_require__(16)(IteratorPrototype, __webpack_require__(19)('iterator'), function () { return this; });
|
3847 |
+
|
3848 |
+
module.exports = function (Constructor, NAME, next) {
|
3849 |
+
Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });
|
3850 |
+
setToStringTag(Constructor, NAME + ' Iterator');
|
3851 |
+
};
|
3852 |
+
|
3853 |
+
|
3854 |
+
/***/ }),
|
3855 |
+
/* 95 */
|
3856 |
+
/***/ (function(module, exports, __webpack_require__) {
|
3857 |
+
|
3858 |
+
var dP = __webpack_require__(13);
|
3859 |
+
var anObject = __webpack_require__(20);
|
3860 |
+
var getKeys = __webpack_require__(35);
|
3861 |
+
|
3862 |
+
module.exports = __webpack_require__(14) ? Object.defineProperties : function defineProperties(O, Properties) {
|
3863 |
+
anObject(O);
|
3864 |
+
var keys = getKeys(Properties);
|
3865 |
+
var length = keys.length;
|
3866 |
+
var i = 0;
|
3867 |
+
var P;
|
3868 |
+
while (length > i) dP.f(O, P = keys[i++], Properties[P]);
|
3869 |
+
return O;
|
3870 |
+
};
|
3871 |
+
|
3872 |
+
|
3873 |
+
/***/ }),
|
3874 |
+
/* 96 */
|
3875 |
+
/***/ (function(module, exports, __webpack_require__) {
|
3876 |
+
|
3877 |
+
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
3878 |
+
var cof = __webpack_require__(55);
|
3879 |
+
// eslint-disable-next-line no-prototype-builtins
|
3880 |
+
module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
|
3881 |
+
return cof(it) == 'String' ? it.split('') : Object(it);
|
3882 |
+
};
|
3883 |
+
|
3884 |
+
|
3885 |
+
/***/ }),
|
3886 |
+
/* 97 */
|
3887 |
+
/***/ (function(module, exports, __webpack_require__) {
|
3888 |
+
|
3889 |
+
// false -> Array#indexOf
|
3890 |
+
// true -> Array#includes
|
3891 |
+
var toIObject = __webpack_require__(18);
|
3892 |
+
var toLength = __webpack_require__(98);
|
3893 |
+
var toAbsoluteIndex = __webpack_require__(99);
|
3894 |
+
module.exports = function (IS_INCLUDES) {
|
3895 |
+
return function ($this, el, fromIndex) {
|
3896 |
+
var O = toIObject($this);
|
3897 |
+
var length = toLength(O.length);
|
3898 |
+
var index = toAbsoluteIndex(fromIndex, length);
|
3899 |
+
var value;
|
3900 |
+
// Array#includes uses SameValueZero equality algorithm
|
3901 |
+
// eslint-disable-next-line no-self-compare
|
3902 |
+
if (IS_INCLUDES && el != el) while (length > index) {
|
3903 |
+
value = O[index++];
|
3904 |
+
// eslint-disable-next-line no-self-compare
|
3905 |
+
if (value != value) return true;
|
3906 |
+
// Array#indexOf ignores holes, Array#includes - not
|
3907 |
+
} else for (;length > index; index++) if (IS_INCLUDES || index in O) {
|
3908 |
+
if (O[index] === el) return IS_INCLUDES || index || 0;
|
3909 |
+
} return !IS_INCLUDES && -1;
|
3910 |
+
};
|
3911 |
+
};
|
3912 |
+
|
3913 |
+
|
3914 |
+
/***/ }),
|
3915 |
+
/* 98 */
|
3916 |
+
/***/ (function(module, exports, __webpack_require__) {
|
3917 |
+
|
3918 |
+
// 7.1.15 ToLength
|
3919 |
+
var toInteger = __webpack_require__(31);
|
3920 |
+
var min = Math.min;
|
3921 |
+
module.exports = function (it) {
|
3922 |
+
return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
|
3923 |
+
};
|
3924 |
+
|
3925 |
+
|
3926 |
+
/***/ }),
|
3927 |
+
/* 99 */
|
3928 |
+
/***/ (function(module, exports, __webpack_require__) {
|
3929 |
+
|
3930 |
+
var toInteger = __webpack_require__(31);
|
3931 |
+
var max = Math.max;
|
3932 |
+
var min = Math.min;
|
3933 |
+
module.exports = function (index, length) {
|
3934 |
+
index = toInteger(index);
|
3935 |
+
return index < 0 ? max(index + length, 0) : min(index, length);
|
3936 |
+
};
|
3937 |
+
|
3938 |
+
|
3939 |
+
/***/ }),
|
3940 |
+
/* 100 */
|
3941 |
+
/***/ (function(module, exports, __webpack_require__) {
|
3942 |
+
|
3943 |
+
var document = __webpack_require__(10).document;
|
3944 |
+
module.exports = document && document.documentElement;
|
3945 |
+
|
3946 |
+
|
3947 |
+
/***/ }),
|
3948 |
+
/* 101 */
|
3949 |
+
/***/ (function(module, exports, __webpack_require__) {
|
3950 |
+
|
3951 |
+
__webpack_require__(102);
|
3952 |
+
var global = __webpack_require__(10);
|
3953 |
+
var hide = __webpack_require__(16);
|
3954 |
+
var Iterators = __webpack_require__(33);
|
3955 |
+
var TO_STRING_TAG = __webpack_require__(19)('toStringTag');
|
3956 |
+
|
3957 |
+
var DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' +
|
3958 |
+
'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' +
|
3959 |
+
'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' +
|
3960 |
+
'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' +
|
3961 |
+
'TextTrackList,TouchList').split(',');
|
3962 |
+
|
3963 |
+
for (var i = 0; i < DOMIterables.length; i++) {
|
3964 |
+
var NAME = DOMIterables[i];
|
3965 |
+
var Collection = global[NAME];
|
3966 |
+
var proto = Collection && Collection.prototype;
|
3967 |
+
if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);
|
3968 |
+
Iterators[NAME] = Iterators.Array;
|
3969 |
+
}
|
3970 |
+
|
3971 |
+
|
3972 |
+
/***/ }),
|
3973 |
+
/* 102 */
|
3974 |
+
/***/ (function(module, exports, __webpack_require__) {
|
3975 |
+
|
3976 |
+
"use strict";
|
3977 |
+
|
3978 |
+
var addToUnscopables = __webpack_require__(103);
|
3979 |
+
var step = __webpack_require__(104);
|
3980 |
+
var Iterators = __webpack_require__(33);
|
3981 |
+
var toIObject = __webpack_require__(18);
|
3982 |
+
|
3983 |
+
// 22.1.3.4 Array.prototype.entries()
|
3984 |
+
// 22.1.3.13 Array.prototype.keys()
|
3985 |
+
// 22.1.3.29 Array.prototype.values()
|
3986 |
+
// 22.1.3.30 Array.prototype[@@iterator]()
|
3987 |
+
module.exports = __webpack_require__(52)(Array, 'Array', function (iterated, kind) {
|
3988 |
+
this._t = toIObject(iterated); // target
|
3989 |
+
this._i = 0; // next index
|
3990 |
+
this._k = kind; // kind
|
3991 |
+
// 22.1.5.2.1 %ArrayIteratorPrototype%.next()
|
3992 |
+
}, function () {
|
3993 |
+
var O = this._t;
|
3994 |
+
var kind = this._k;
|
3995 |
+
var index = this._i++;
|
3996 |
+
if (!O || index >= O.length) {
|
3997 |
+
this._t = undefined;
|
3998 |
+
return step(1);
|
3999 |
+
}
|
4000 |
+
if (kind == 'keys') return step(0, index);
|
4001 |
+
if (kind == 'values') return step(0, O[index]);
|
4002 |
+
return step(0, [index, O[index]]);
|
4003 |
+
}, 'values');
|
4004 |
+
|
4005 |
+
// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)
|
4006 |
+
Iterators.Arguments = Iterators.Array;
|
4007 |
+
|
4008 |
+
addToUnscopables('keys');
|
4009 |
+
addToUnscopables('values');
|
4010 |
+
addToUnscopables('entries');
|
4011 |
+
|
4012 |
+
|
4013 |
+
/***/ }),
|
4014 |
+
/* 103 */
|
4015 |
+
/***/ (function(module, exports) {
|
4016 |
+
|
4017 |
+
module.exports = function () { /* empty */ };
|
4018 |
+
|
4019 |
+
|
4020 |
+
/***/ }),
|
4021 |
+
/* 104 */
|
4022 |
+
/***/ (function(module, exports) {
|
4023 |
+
|
4024 |
+
module.exports = function (done, value) {
|
4025 |
+
return { value: value, done: !!done };
|
4026 |
+
};
|
4027 |
+
|
4028 |
+
|
4029 |
+
/***/ }),
|
4030 |
+
/* 105 */
|
4031 |
+
/***/ (function(module, exports, __webpack_require__) {
|
4032 |
+
|
4033 |
+
module.exports = { "default": __webpack_require__(106), __esModule: true };
|
4034 |
+
|
4035 |
+
/***/ }),
|
4036 |
+
/* 106 */
|
4037 |
+
/***/ (function(module, exports, __webpack_require__) {
|
4038 |
+
|
4039 |
+
__webpack_require__(107);
|
4040 |
+
__webpack_require__(112);
|
4041 |
+
__webpack_require__(113);
|
4042 |
+
__webpack_require__(114);
|
4043 |
+
module.exports = __webpack_require__(11).Symbol;
|
4044 |
+
|
4045 |
+
|
4046 |
+
/***/ }),
|
4047 |
+
/* 107 */
|
4048 |
+
/***/ (function(module, exports, __webpack_require__) {
|
4049 |
+
|
4050 |
+
"use strict";
|
4051 |
+
|
4052 |
+
// ECMAScript 6 symbols shim
|
4053 |
+
var global = __webpack_require__(10);
|
4054 |
+
var has = __webpack_require__(12);
|
4055 |
+
var DESCRIPTORS = __webpack_require__(14);
|
4056 |
+
var $export = __webpack_require__(15);
|
4057 |
+
var redefine = __webpack_require__(53);
|
4058 |
+
var META = __webpack_require__(108).KEY;
|
4059 |
+
var $fails = __webpack_require__(21);
|
4060 |
+
var shared = __webpack_require__(29);
|
4061 |
+
var setToStringTag = __webpack_require__(37);
|
4062 |
+
var uid = __webpack_require__(22);
|
4063 |
+
var wks = __webpack_require__(19);
|
4064 |
+
var wksExt = __webpack_require__(38);
|
4065 |
+
var wksDefine = __webpack_require__(39);
|
4066 |
+
var enumKeys = __webpack_require__(109);
|
4067 |
+
var isArray = __webpack_require__(110);
|
4068 |
+
var anObject = __webpack_require__(20);
|
4069 |
+
var isObject = __webpack_require__(17);
|
4070 |
+
var toIObject = __webpack_require__(18);
|
4071 |
+
var toPrimitive = __webpack_require__(30);
|
4072 |
+
var createDesc = __webpack_require__(23);
|
4073 |
+
var _create = __webpack_require__(34);
|
4074 |
+
var gOPNExt = __webpack_require__(111);
|
4075 |
+
var $GOPD = __webpack_require__(58);
|
4076 |
+
var $DP = __webpack_require__(13);
|
4077 |
+
var $keys = __webpack_require__(35);
|
4078 |
+
var gOPD = $GOPD.f;
|
4079 |
+
var dP = $DP.f;
|
4080 |
+
var gOPN = gOPNExt.f;
|
4081 |
+
var $Symbol = global.Symbol;
|
4082 |
+
var $JSON = global.JSON;
|
4083 |
+
var _stringify = $JSON && $JSON.stringify;
|
4084 |
+
var PROTOTYPE = 'prototype';
|
4085 |
+
var HIDDEN = wks('_hidden');
|
4086 |
+
var TO_PRIMITIVE = wks('toPrimitive');
|
4087 |
+
var isEnum = {}.propertyIsEnumerable;
|
4088 |
+
var SymbolRegistry = shared('symbol-registry');
|
4089 |
+
var AllSymbols = shared('symbols');
|
4090 |
+
var OPSymbols = shared('op-symbols');
|
4091 |
+
var ObjectProto = Object[PROTOTYPE];
|
4092 |
+
var USE_NATIVE = typeof $Symbol == 'function';
|
4093 |
+
var QObject = global.QObject;
|
4094 |
+
// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
|
4095 |
+
var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
|
4096 |
+
|
4097 |
+
// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
|
4098 |
+
var setSymbolDesc = DESCRIPTORS && $fails(function () {
|
4099 |
+
return _create(dP({}, 'a', {
|
4100 |
+
get: function () { return dP(this, 'a', { value: 7 }).a; }
|
4101 |
+
})).a != 7;
|
4102 |
+
}) ? function (it, key, D) {
|
4103 |
+
var protoDesc = gOPD(ObjectProto, key);
|
4104 |
+
if (protoDesc) delete ObjectProto[key];
|
4105 |
+
dP(it, key, D);
|
4106 |
+
if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);
|
4107 |
+
} : dP;
|
4108 |
+
|
4109 |
+
var wrap = function (tag) {
|
4110 |
+
var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);
|
4111 |
+
sym._k = tag;
|
4112 |
+
return sym;
|
4113 |
+
};
|
4114 |
+
|
4115 |
+
var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {
|
4116 |
+
return typeof it == 'symbol';
|
4117 |
+
} : function (it) {
|
4118 |
+
return it instanceof $Symbol;
|
4119 |
+
};
|
4120 |
+
|
4121 |
+
var $defineProperty = function defineProperty(it, key, D) {
|
4122 |
+
if (it === ObjectProto) $defineProperty(OPSymbols, key, D);
|
4123 |
+
anObject(it);
|
4124 |
+
key = toPrimitive(key, true);
|
4125 |
+
anObject(D);
|
4126 |
+
if (has(AllSymbols, key)) {
|
4127 |
+
if (!D.enumerable) {
|
4128 |
+
if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));
|
4129 |
+
it[HIDDEN][key] = true;
|
4130 |
+
} else {
|
4131 |
+
if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;
|
4132 |
+
D = _create(D, { enumerable: createDesc(0, false) });
|
4133 |
+
} return setSymbolDesc(it, key, D);
|
4134 |
+
} return dP(it, key, D);
|
4135 |
+
};
|
4136 |
+
var $defineProperties = function defineProperties(it, P) {
|
4137 |
+
anObject(it);
|
4138 |
+
var keys = enumKeys(P = toIObject(P));
|
4139 |
+
var i = 0;
|
4140 |
+
var l = keys.length;
|
4141 |
+
var key;
|
4142 |
+
while (l > i) $defineProperty(it, key = keys[i++], P[key]);
|
4143 |
+
return it;
|
4144 |
+
};
|
4145 |
+
var $create = function create(it, P) {
|
4146 |
+
return P === undefined ? _create(it) : $defineProperties(_create(it), P);
|
4147 |
+
};
|
4148 |
+
var $propertyIsEnumerable = function propertyIsEnumerable(key) {
|
4149 |
+
var E = isEnum.call(this, key = toPrimitive(key, true));
|
4150 |
+
if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;
|
4151 |
+
return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;
|
4152 |
+
};
|
4153 |
+
var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {
|
4154 |
+
it = toIObject(it);
|
4155 |
+
key = toPrimitive(key, true);
|
4156 |
+
if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;
|
4157 |
+
var D = gOPD(it, key);
|
4158 |
+
if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;
|
4159 |
+
return D;
|
4160 |
+
};
|
4161 |
+
var $getOwnPropertyNames = function getOwnPropertyNames(it) {
|
4162 |
+
var names = gOPN(toIObject(it));
|
4163 |
+
var result = [];
|
4164 |
+
var i = 0;
|
4165 |
+
var key;
|
4166 |
+
while (names.length > i) {
|
4167 |
+
if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);
|
4168 |
+
} return result;
|
4169 |
+
};
|
4170 |
+
var $getOwnPropertySymbols = function getOwnPropertySymbols(it) {
|
4171 |
+
var IS_OP = it === ObjectProto;
|
4172 |
+
var names = gOPN(IS_OP ? OPSymbols : toIObject(it));
|
4173 |
+
var result = [];
|
4174 |
+
var i = 0;
|
4175 |
+
var key;
|
4176 |
+
while (names.length > i) {
|
4177 |
+
if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);
|
4178 |
+
} return result;
|
4179 |
+
};
|
4180 |
+
|
4181 |
+
// 19.4.1.1 Symbol([description])
|
4182 |
+
if (!USE_NATIVE) {
|
4183 |
+
$Symbol = function Symbol() {
|
4184 |
+
if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');
|
4185 |
+
var tag = uid(arguments.length > 0 ? arguments[0] : undefined);
|
4186 |
+
var $set = function (value) {
|
4187 |
+
if (this === ObjectProto) $set.call(OPSymbols, value);
|
4188 |
+
if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
|
4189 |
+
setSymbolDesc(this, tag, createDesc(1, value));
|
4190 |
+
};
|
4191 |
+
if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });
|
4192 |
+
return wrap(tag);
|
4193 |
+
};
|
4194 |
+
redefine($Symbol[PROTOTYPE], 'toString', function toString() {
|
4195 |
+
return this._k;
|
4196 |
+
});
|
4197 |
+
|
4198 |
+
$GOPD.f = $getOwnPropertyDescriptor;
|
4199 |
+
$DP.f = $defineProperty;
|
4200 |
+
__webpack_require__(57).f = gOPNExt.f = $getOwnPropertyNames;
|
4201 |
+
__webpack_require__(40).f = $propertyIsEnumerable;
|
4202 |
+
__webpack_require__(56).f = $getOwnPropertySymbols;
|
4203 |
+
|
4204 |
+
if (DESCRIPTORS && !__webpack_require__(32)) {
|
4205 |
+
redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);
|
4206 |
+
}
|
4207 |
+
|
4208 |
+
wksExt.f = function (name) {
|
4209 |
+
return wrap(wks(name));
|
4210 |
+
};
|
4211 |
+
}
|
4212 |
+
|
4213 |
+
$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });
|
4214 |
+
|
4215 |
+
for (var es6Symbols = (
|
4216 |
+
// 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14
|
4217 |
+
'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'
|
4218 |
+
).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);
|
4219 |
+
|
4220 |
+
for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);
|
4221 |
+
|
4222 |
+
$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {
|
4223 |
+
// 19.4.2.1 Symbol.for(key)
|
4224 |
+
'for': function (key) {
|
4225 |
+
return has(SymbolRegistry, key += '')
|
4226 |
+
? SymbolRegistry[key]
|
4227 |
+
: SymbolRegistry[key] = $Symbol(key);
|
4228 |
+
},
|
4229 |
+
// 19.4.2.5 Symbol.keyFor(sym)
|
4230 |
+
keyFor: function keyFor(sym) {
|
4231 |
+
if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');
|
4232 |
+
for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;
|
4233 |
+
},
|
4234 |
+
useSetter: function () { setter = true; },
|
4235 |
+
useSimple: function () { setter = false; }
|
4236 |
+
});
|
4237 |
+
|
4238 |
+
$export($export.S + $export.F * !USE_NATIVE, 'Object', {
|
4239 |
+
// 19.1.2.2 Object.create(O [, Properties])
|
4240 |
+
create: $create,
|
4241 |
+
// 19.1.2.4 Object.defineProperty(O, P, Attributes)
|
4242 |
+
defineProperty: $defineProperty,
|
4243 |
+
// 19.1.2.3 Object.defineProperties(O, Properties)
|
4244 |
+
defineProperties: $defineProperties,
|
4245 |
+
// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
|
4246 |
+
getOwnPropertyDescriptor: $getOwnPropertyDescriptor,
|
4247 |
+
// 19.1.2.7 Object.getOwnPropertyNames(O)
|
4248 |
+
getOwnPropertyNames: $getOwnPropertyNames,
|
4249 |
+
// 19.1.2.8 Object.getOwnPropertySymbols(O)
|
4250 |
+
getOwnPropertySymbols: $getOwnPropertySymbols
|
4251 |
+
});
|
4252 |
+
|
4253 |
+
// 24.3.2 JSON.stringify(value [, replacer [, space]])
|
4254 |
+
$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {
|
4255 |
+
var S = $Symbol();
|
4256 |
+
// MS Edge converts symbol values to JSON as {}
|
4257 |
+
// WebKit converts symbol values to JSON as null
|
4258 |
+
// V8 throws on boxed symbols
|
4259 |
+
return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';
|
4260 |
+
})), 'JSON', {
|
4261 |
+
stringify: function stringify(it) {
|
4262 |
+
var args = [it];
|
4263 |
+
var i = 1;
|
4264 |
+
var replacer, $replacer;
|
4265 |
+
while (arguments.length > i) args.push(arguments[i++]);
|
4266 |
+
$replacer = replacer = args[1];
|
4267 |
+
if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined
|
4268 |
+
if (!isArray(replacer)) replacer = function (key, value) {
|
4269 |
+
if (typeof $replacer == 'function') value = $replacer.call(this, key, value);
|
4270 |
+
if (!isSymbol(value)) return value;
|
4271 |
+
};
|
4272 |
+
args[1] = replacer;
|
4273 |
+
return _stringify.apply($JSON, args);
|
4274 |
+
}
|
4275 |
+
});
|
4276 |
+
|
4277 |
+
// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)
|
4278 |
+
$Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(16)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);
|
4279 |
+
// 19.4.3.5 Symbol.prototype[@@toStringTag]
|
4280 |
+
setToStringTag($Symbol, 'Symbol');
|
4281 |
+
// 20.2.1.9 Math[@@toStringTag]
|
4282 |
+
setToStringTag(Math, 'Math', true);
|
4283 |
+
// 24.3.3 JSON[@@toStringTag]
|
4284 |
+
setToStringTag(global.JSON, 'JSON', true);
|
4285 |
+
|
4286 |
+
|
4287 |
+
/***/ }),
|
4288 |
+
/* 108 */
|
4289 |
+
/***/ (function(module, exports, __webpack_require__) {
|
4290 |
+
|
4291 |
+
var META = __webpack_require__(22)('meta');
|
4292 |
+
var isObject = __webpack_require__(17);
|
4293 |
+
var has = __webpack_require__(12);
|
4294 |
+
var setDesc = __webpack_require__(13).f;
|
4295 |
+
var id = 0;
|
4296 |
+
var isExtensible = Object.isExtensible || function () {
|
4297 |
+
return true;
|
4298 |
+
};
|
4299 |
+
var FREEZE = !__webpack_require__(21)(function () {
|
4300 |
+
return isExtensible(Object.preventExtensions({}));
|
4301 |
+
});
|
4302 |
+
var setMeta = function (it) {
|
4303 |
+
setDesc(it, META, { value: {
|
4304 |
+
i: 'O' + ++id, // object ID
|
4305 |
+
w: {} // weak collections IDs
|
4306 |
+
} });
|
4307 |
+
};
|
4308 |
+
var fastKey = function (it, create) {
|
4309 |
+
// return primitive with prefix
|
4310 |
+
if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
|
4311 |
+
if (!has(it, META)) {
|
4312 |
+
// can't set metadata to uncaught frozen object
|
4313 |
+
if (!isExtensible(it)) return 'F';
|
4314 |
+
// not necessary to add metadata
|
4315 |
+
if (!create) return 'E';
|
4316 |
+
// add missing metadata
|
4317 |
+
setMeta(it);
|
4318 |
+
// return object ID
|
4319 |
+
} return it[META].i;
|
4320 |
+
};
|
4321 |
+
var getWeak = function (it, create) {
|
4322 |
+
if (!has(it, META)) {
|
4323 |
+
// can't set metadata to uncaught frozen object
|
4324 |
+
if (!isExtensible(it)) return true;
|
4325 |
+
// not necessary to add metadata
|
4326 |
+
if (!create) return false;
|
4327 |
+
// add missing metadata
|
4328 |
+
setMeta(it);
|
4329 |
+
// return hash weak collections IDs
|
4330 |
+
} return it[META].w;
|
4331 |
+
};
|
4332 |
+
// add metadata on freeze-family methods calling
|
4333 |
+
var onFreeze = function (it) {
|
4334 |
+
if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);
|
4335 |
+
return it;
|
4336 |
+
};
|
4337 |
+
var meta = module.exports = {
|
4338 |
+
KEY: META,
|
4339 |
+
NEED: false,
|
4340 |
+
fastKey: fastKey,
|
4341 |
+
getWeak: getWeak,
|
4342 |
+
onFreeze: onFreeze
|
4343 |
+
};
|
4344 |
+
|
4345 |
+
|
4346 |
+
/***/ }),
|
4347 |
+
/* 109 */
|
4348 |
+
/***/ (function(module, exports, __webpack_require__) {
|
4349 |
+
|
4350 |
+
// all enumerable object keys, includes symbols
|
4351 |
+
var getKeys = __webpack_require__(35);
|
4352 |
+
var gOPS = __webpack_require__(56);
|
4353 |
+
var pIE = __webpack_require__(40);
|
4354 |
+
module.exports = function (it) {
|
4355 |
+
var result = getKeys(it);
|
4356 |
+
var getSymbols = gOPS.f;
|
4357 |
+
if (getSymbols) {
|
4358 |
+
var symbols = getSymbols(it);
|
4359 |
+
var isEnum = pIE.f;
|
4360 |
+
var i = 0;
|
4361 |
+
var key;
|
4362 |
+
while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);
|
4363 |
+
} return result;
|
4364 |
+
};
|
4365 |
+
|
4366 |
+
|
4367 |
+
/***/ }),
|
4368 |
+
/* 110 */
|
4369 |
+
/***/ (function(module, exports, __webpack_require__) {
|
4370 |
+
|
4371 |
+
// 7.2.2 IsArray(argument)
|
4372 |
+
var cof = __webpack_require__(55);
|
4373 |
+
module.exports = Array.isArray || function isArray(arg) {
|
4374 |
+
return cof(arg) == 'Array';
|
4375 |
+
};
|
4376 |
+
|
4377 |
+
|
4378 |
+
/***/ }),
|
4379 |
+
/* 111 */
|
4380 |
+
/***/ (function(module, exports, __webpack_require__) {
|
4381 |
+
|
4382 |
+
// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
|
4383 |
+
var toIObject = __webpack_require__(18);
|
4384 |
+
var gOPN = __webpack_require__(57).f;
|
4385 |
+
var toString = {}.toString;
|
4386 |
+
|
4387 |
+
var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
|
4388 |
+
? Object.getOwnPropertyNames(window) : [];
|
4389 |
+
|
4390 |
+
var getWindowNames = function (it) {
|
4391 |
+
try {
|
4392 |
+
return gOPN(it);
|
4393 |
+
} catch (e) {
|
4394 |
+
return windowNames.slice();
|
4395 |
+
}
|
4396 |
+
};
|
4397 |
+
|
4398 |
+
module.exports.f = function getOwnPropertyNames(it) {
|
4399 |
+
return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));
|
4400 |
+
};
|
4401 |
+
|
4402 |
+
|
4403 |
+
/***/ }),
|
4404 |
+
/* 112 */
|
4405 |
+
/***/ (function(module, exports) {
|
4406 |
+
|
4407 |
+
|
4408 |
+
|
4409 |
+
/***/ }),
|
4410 |
+
/* 113 */
|
4411 |
+
/***/ (function(module, exports, __webpack_require__) {
|
4412 |
+
|
4413 |
+
__webpack_require__(39)('asyncIterator');
|
4414 |
+
|
4415 |
+
|
4416 |
+
/***/ }),
|
4417 |
+
/* 114 */
|
4418 |
+
/***/ (function(module, exports, __webpack_require__) {
|
4419 |
+
|
4420 |
+
__webpack_require__(39)('observable');
|
4421 |
+
|
4422 |
+
|
4423 |
+
/***/ }),
|
4424 |
+
/* 115 */
|
4425 |
+
/***/ (function(module, exports, __webpack_require__) {
|
4426 |
+
|
4427 |
+
module.exports = { "default": __webpack_require__(116), __esModule: true };
|
4428 |
+
|
4429 |
+
/***/ }),
|
4430 |
+
/* 116 */
|
4431 |
+
/***/ (function(module, exports, __webpack_require__) {
|
4432 |
+
|
4433 |
+
__webpack_require__(117);
|
4434 |
+
module.exports = __webpack_require__(11).Object.setPrototypeOf;
|
4435 |
+
|
4436 |
+
|
4437 |
+
/***/ }),
|
4438 |
+
/* 117 */
|
4439 |
+
/***/ (function(module, exports, __webpack_require__) {
|
4440 |
+
|
4441 |
+
// 19.1.3.19 Object.setPrototypeOf(O, proto)
|
4442 |
+
var $export = __webpack_require__(15);
|
4443 |
+
$export($export.S, 'Object', { setPrototypeOf: __webpack_require__(118).set });
|
4444 |
+
|
4445 |
+
|
4446 |
+
/***/ }),
|
4447 |
+
/* 118 */
|
4448 |
+
/***/ (function(module, exports, __webpack_require__) {
|
4449 |
+
|
4450 |
+
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
4451 |
+
/* eslint-disable no-proto */
|
4452 |
+
var isObject = __webpack_require__(17);
|
4453 |
+
var anObject = __webpack_require__(20);
|
4454 |
+
var check = function (O, proto) {
|
4455 |
+
anObject(O);
|
4456 |
+
if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!");
|
4457 |
+
};
|
4458 |
+
module.exports = {
|
4459 |
+
set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
|
4460 |
+
function (test, buggy, set) {
|
4461 |
+
try {
|
4462 |
+
set = __webpack_require__(48)(Function.call, __webpack_require__(58).f(Object.prototype, '__proto__').set, 2);
|
4463 |
+
set(test, []);
|
4464 |
+
buggy = !(test instanceof Array);
|
4465 |
+
} catch (e) { buggy = true; }
|
4466 |
+
return function setPrototypeOf(O, proto) {
|
4467 |
+
check(O, proto);
|
4468 |
+
if (buggy) O.__proto__ = proto;
|
4469 |
+
else set(O, proto);
|
4470 |
+
return O;
|
4471 |
+
};
|
4472 |
+
}({}, false) : undefined),
|
4473 |
+
check: check
|
4474 |
+
};
|
4475 |
+
|
4476 |
+
|
4477 |
+
/***/ }),
|
4478 |
+
/* 119 */
|
4479 |
+
/***/ (function(module, exports, __webpack_require__) {
|
4480 |
+
|
4481 |
+
module.exports = { "default": __webpack_require__(120), __esModule: true };
|
4482 |
+
|
4483 |
+
/***/ }),
|
4484 |
+
/* 120 */
|
4485 |
+
/***/ (function(module, exports, __webpack_require__) {
|
4486 |
+
|
4487 |
+
__webpack_require__(121);
|
4488 |
+
var $Object = __webpack_require__(11).Object;
|
4489 |
+
module.exports = function create(P, D) {
|
4490 |
+
return $Object.create(P, D);
|
4491 |
+
};
|
4492 |
+
|
4493 |
+
|
4494 |
+
/***/ }),
|
4495 |
+
/* 121 */
|
4496 |
+
/***/ (function(module, exports, __webpack_require__) {
|
4497 |
+
|
4498 |
+
var $export = __webpack_require__(15);
|
4499 |
+
// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
|
4500 |
+
$export($export.S, 'Object', { create: __webpack_require__(34) });
|
4501 |
+
|
4502 |
+
|
4503 |
+
/***/ }),
|
4504 |
+
/* 122 */
|
4505 |
+
/***/ (function(module, exports, __webpack_require__) {
|
4506 |
+
|
4507 |
+
"use strict";
|
4508 |
+
/** @license React v16.2.0
|
4509 |
* react.production.min.js
|
4510 |
*
|
4511 |
* Copyright (c) 2013-present, Facebook, Inc.
|
4513 |
* This source code is licensed under the MIT license found in the
|
4514 |
* LICENSE file in the root directory of this source tree.
|
4515 |
*/
|
4516 |
+
|
4517 |
+
var m=__webpack_require__(59),n=__webpack_require__(60),p=__webpack_require__(24),q="function"===typeof Symbol&&Symbol["for"],r=q?Symbol["for"]("react.element"):60103,t=q?Symbol["for"]("react.call"):60104,u=q?Symbol["for"]("react.return"):60105,v=q?Symbol["for"]("react.portal"):60106,w=q?Symbol["for"]("react.fragment"):60107,x="function"===typeof Symbol&&Symbol.iterator;
|
4518 |
+
function y(a){for(var b=arguments.length-1,e="Minified React error #"+a+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant\x3d"+a,c=0;c<b;c++)e+="\x26args[]\x3d"+encodeURIComponent(arguments[c+1]);b=Error(e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.");b.name="Invariant Violation";b.framesToPop=1;throw b;}
|
4519 |
+
var z={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};function A(a,b,e){this.props=a;this.context=b;this.refs=n;this.updater=e||z}A.prototype.isReactComponent={};A.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?y("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};A.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};
|
4520 |
+
function B(a,b,e){this.props=a;this.context=b;this.refs=n;this.updater=e||z}function C(){}C.prototype=A.prototype;var D=B.prototype=new C;D.constructor=B;m(D,A.prototype);D.isPureReactComponent=!0;function E(a,b,e){this.props=a;this.context=b;this.refs=n;this.updater=e||z}var F=E.prototype=new C;F.constructor=E;m(F,A.prototype);F.unstable_isAsyncReactComponent=!0;F.render=function(){return this.props.children};var G={current:null},H=Object.prototype.hasOwnProperty,I={key:!0,ref:!0,__self:!0,__source:!0};
|
4521 |
+
function J(a,b,e){var c,d={},g=null,k=null;if(null!=b)for(c in void 0!==b.ref&&(k=b.ref),void 0!==b.key&&(g=""+b.key),b)H.call(b,c)&&!I.hasOwnProperty(c)&&(d[c]=b[c]);var f=arguments.length-2;if(1===f)d.children=e;else if(1<f){for(var h=Array(f),l=0;l<f;l++)h[l]=arguments[l+2];d.children=h}if(a&&a.defaultProps)for(c in f=a.defaultProps,f)void 0===d[c]&&(d[c]=f[c]);return{$$typeof:r,type:a,key:g,ref:k,props:d,_owner:G.current}}function K(a){return"object"===typeof a&&null!==a&&a.$$typeof===r}
|
4522 |
+
function escape(a){var b={"\x3d":"\x3d0",":":"\x3d2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}var L=/\/+/g,M=[];function N(a,b,e,c){if(M.length){var d=M.pop();d.result=a;d.keyPrefix=b;d.func=e;d.context=c;d.count=0;return d}return{result:a,keyPrefix:b,func:e,context:c,count:0}}function O(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>M.length&&M.push(a)}
|
4523 |
+
function P(a,b,e,c){var d=typeof a;if("undefined"===d||"boolean"===d)a=null;var g=!1;if(null===a)g=!0;else switch(d){case "string":case "number":g=!0;break;case "object":switch(a.$$typeof){case r:case t:case u:case v:g=!0}}if(g)return e(c,a,""===b?"."+Q(a,0):b),1;g=0;b=""===b?".":b+":";if(Array.isArray(a))for(var k=0;k<a.length;k++){d=a[k];var f=b+Q(d,k);g+=P(d,f,e,c)}else if(null===a||"undefined"===typeof a?f=null:(f=x&&a[x]||a["@@iterator"],f="function"===typeof f?f:null),"function"===typeof f)for(a=
|
4524 |
+
f.call(a),k=0;!(d=a.next()).done;)d=d.value,f=b+Q(d,k++),g+=P(d,f,e,c);else"object"===d&&(e=""+a,y("31","[object Object]"===e?"object with keys {"+Object.keys(a).join(", ")+"}":e,""));return g}function Q(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(a.key):b.toString(36)}function R(a,b){a.func.call(a.context,b,a.count++)}
|
4525 |
+
function S(a,b,e){var c=a.result,d=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?T(a,c,e,p.thatReturnsArgument):null!=a&&(K(a)&&(b=d+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(L,"$\x26/")+"/")+e,a={$$typeof:r,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}),c.push(a))}function T(a,b,e,c,d){var g="";null!=e&&(g=(""+e).replace(L,"$\x26/")+"/");b=N(b,g,c,d);null==a||P(a,"",S,b);O(b)}
|
4526 |
+
var U={Children:{map:function(a,b,e){if(null==a)return a;var c=[];T(a,c,null,b,e);return c},forEach:function(a,b,e){if(null==a)return a;b=N(null,null,b,e);null==a||P(a,"",R,b);O(b)},count:function(a){return null==a?0:P(a,"",p.thatReturnsNull,null)},toArray:function(a){var b=[];T(a,b,null,p.thatReturnsArgument);return b},only:function(a){K(a)?void 0:y("143");return a}},Component:A,PureComponent:B,unstable_AsyncComponent:E,Fragment:w,createElement:J,cloneElement:function(a,b,e){var c=m({},a.props),
|
4527 |
+
d=a.key,g=a.ref,k=a._owner;if(null!=b){void 0!==b.ref&&(g=b.ref,k=G.current);void 0!==b.key&&(d=""+b.key);if(a.type&&a.type.defaultProps)var f=a.type.defaultProps;for(h in b)H.call(b,h)&&!I.hasOwnProperty(h)&&(c[h]=void 0===b[h]&&void 0!==f?f[h]:b[h])}var h=arguments.length-2;if(1===h)c.children=e;else if(1<h){f=Array(h);for(var l=0;l<h;l++)f[l]=arguments[l+2];c.children=f}return{$$typeof:r,type:a.type,key:d,ref:g,props:c,_owner:k}},createFactory:function(a){var b=J.bind(null,a);b.type=a;return b},
|
4528 |
+
isValidElement:K,version:"16.2.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:G,assign:m}},V=Object.freeze({default:U}),W=V&&U||V;module.exports=W["default"]?W["default"]:W;
|
4529 |
+
|
4530 |
+
|
4531 |
+
/***/ }),
|
4532 |
+
/* 123 */
|
4533 |
+
/***/ (function(module, exports, __webpack_require__) {
|
4534 |
+
|
4535 |
+
"use strict";
|
4536 |
+
|
4537 |
+
|
4538 |
+
function checkDCE() {
|
4539 |
+
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
|
4540 |
+
if (
|
4541 |
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||
|
4542 |
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'
|
4543 |
+
) {
|
4544 |
+
return;
|
4545 |
+
}
|
4546 |
+
if (false) {
|
4547 |
+
// This branch is unreachable because this function is only called
|
4548 |
+
// in production, but the condition is true only in development.
|
4549 |
+
// Therefore if the branch is still here, dead code elimination wasn't
|
4550 |
+
// properly applied.
|
4551 |
+
// Don't change the message. React DevTools relies on it. Also make sure
|
4552 |
+
// this message doesn't occur elsewhere in this function, or it will cause
|
4553 |
+
// a false positive.
|
4554 |
+
throw new Error('^_^');
|
4555 |
+
}
|
4556 |
+
try {
|
4557 |
+
// Verify that the code above has been dead code eliminated (DCE'd).
|
4558 |
+
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
|
4559 |
+
} catch (err) {
|
4560 |
+
// DevTools shouldn't crash React, no matter what.
|
4561 |
+
// We should still report in case we break this code.
|
4562 |
+
console.error(err);
|
4563 |
+
}
|
4564 |
+
}
|
4565 |
+
|
4566 |
+
if (true) {
|
4567 |
+
// DCE check should happen before ReactDOM bundle executes so that
|
4568 |
+
// DevTools can report bad minification during injection.
|
4569 |
+
checkDCE();
|
4570 |
+
module.exports = __webpack_require__(124);
|
4571 |
+
} else {
|
4572 |
+
module.exports = require('./cjs/react-dom.development.js');
|
4573 |
+
}
|
4574 |
+
|
4575 |
+
|
4576 |
+
/***/ }),
|
4577 |
+
/* 124 */
|
4578 |
+
/***/ (function(module, exports, __webpack_require__) {
|
4579 |
+
|
4580 |
+
"use strict";
|
4581 |
+
/** @license React v16.2.0
|
4582 |
* react-dom.production.min.js
|
4583 |
*
|
4584 |
* Copyright (c) 2013-present, Facebook, Inc.
|
4586 |
* This source code is licensed under the MIT license found in the
|
4587 |
* LICENSE file in the root directory of this source tree.
|
4588 |
*/
|
4589 |
+
|
4590 |
+
/*
|
4591 |
+
Modernizr 3.0.0pre (Custom Build) | MIT
|
4592 |
+
*/
|
4593 |
+
var aa=__webpack_require__(0),l=__webpack_require__(125),B=__webpack_require__(59),C=__webpack_require__(24),ba=__webpack_require__(126),da=__webpack_require__(127),ea=__webpack_require__(128),fa=__webpack_require__(129),ia=__webpack_require__(132),D=__webpack_require__(60);
|
4594 |
+
function E(a){for(var b=arguments.length-1,c="Minified React error #"+a+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant\x3d"+a,d=0;d<b;d++)c+="\x26args[]\x3d"+encodeURIComponent(arguments[d+1]);b=Error(c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.");b.name="Invariant Violation";b.framesToPop=1;throw b;}aa?void 0:E("227");
|
4595 |
+
var oa={children:!0,dangerouslySetInnerHTML:!0,defaultValue:!0,defaultChecked:!0,innerHTML:!0,suppressContentEditableWarning:!0,suppressHydrationWarning:!0,style:!0};function pa(a,b){return(a&b)===b}
|
4596 |
+
var ta={MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32,HAS_STRING_BOOLEAN_VALUE:64,injectDOMPropertyConfig:function(a){var b=ta,c=a.Properties||{},d=a.DOMAttributeNamespaces||{},e=a.DOMAttributeNames||{};a=a.DOMMutationMethods||{};for(var f in c){ua.hasOwnProperty(f)?E("48",f):void 0;var g=f.toLowerCase(),h=c[f];g={attributeName:g,attributeNamespace:null,propertyName:f,mutationMethod:null,mustUseProperty:pa(h,b.MUST_USE_PROPERTY),
|
4597 |
+
hasBooleanValue:pa(h,b.HAS_BOOLEAN_VALUE),hasNumericValue:pa(h,b.HAS_NUMERIC_VALUE),hasPositiveNumericValue:pa(h,b.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:pa(h,b.HAS_OVERLOADED_BOOLEAN_VALUE),hasStringBooleanValue:pa(h,b.HAS_STRING_BOOLEAN_VALUE)};1>=g.hasBooleanValue+g.hasNumericValue+g.hasOverloadedBooleanValue?void 0:E("50",f);e.hasOwnProperty(f)&&(g.attributeName=e[f]);d.hasOwnProperty(f)&&(g.attributeNamespace=d[f]);a.hasOwnProperty(f)&&(g.mutationMethod=a[f]);ua[f]=g}}},ua={};
|
4598 |
+
function va(a,b){if(oa.hasOwnProperty(a)||2<a.length&&("o"===a[0]||"O"===a[0])&&("n"===a[1]||"N"===a[1]))return!1;if(null===b)return!0;switch(typeof b){case "boolean":return oa.hasOwnProperty(a)?a=!0:(b=wa(a))?a=b.hasBooleanValue||b.hasStringBooleanValue||b.hasOverloadedBooleanValue:(a=a.toLowerCase().slice(0,5),a="data-"===a||"aria-"===a),a;case "undefined":case "number":case "string":case "object":return!0;default:return!1}}function wa(a){return ua.hasOwnProperty(a)?ua[a]:null}
|
4599 |
+
var xa=ta,ya=xa.MUST_USE_PROPERTY,K=xa.HAS_BOOLEAN_VALUE,za=xa.HAS_NUMERIC_VALUE,Aa=xa.HAS_POSITIVE_NUMERIC_VALUE,Ba=xa.HAS_OVERLOADED_BOOLEAN_VALUE,Ca=xa.HAS_STRING_BOOLEAN_VALUE,Da={Properties:{allowFullScreen:K,async:K,autoFocus:K,autoPlay:K,capture:Ba,checked:ya|K,cols:Aa,contentEditable:Ca,controls:K,"default":K,defer:K,disabled:K,download:Ba,draggable:Ca,formNoValidate:K,hidden:K,loop:K,multiple:ya|K,muted:ya|K,noValidate:K,open:K,playsInline:K,readOnly:K,required:K,reversed:K,rows:Aa,rowSpan:za,
|
4600 |
+
scoped:K,seamless:K,selected:ya|K,size:Aa,start:za,span:Aa,spellCheck:Ca,style:0,tabIndex:0,itemScope:K,acceptCharset:0,className:0,htmlFor:0,httpEquiv:0,value:Ca},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMMutationMethods:{value:function(a,b){if(null==b)return a.removeAttribute("value");"number"!==a.type||!1===a.hasAttribute("value")?a.setAttribute("value",""+b):a.validity&&!a.validity.badInput&&a.ownerDocument.activeElement!==a&&
|
4601 |
+
a.setAttribute("value",""+b)}}},Ea=xa.HAS_STRING_BOOLEAN_VALUE,M={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},Ga={Properties:{autoReverse:Ea,externalResourcesRequired:Ea,preserveAlpha:Ea},DOMAttributeNames:{autoReverse:"autoReverse",externalResourcesRequired:"externalResourcesRequired",preserveAlpha:"preserveAlpha"},DOMAttributeNamespaces:{xlinkActuate:M.xlink,xlinkArcrole:M.xlink,xlinkHref:M.xlink,xlinkRole:M.xlink,xlinkShow:M.xlink,xlinkTitle:M.xlink,xlinkType:M.xlink,
|
4602 |
+
xmlBase:M.xml,xmlLang:M.xml,xmlSpace:M.xml}},Ha=/[\-\:]([a-z])/g;function Ia(a){return a[1].toUpperCase()}
|
4603 |
+
"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 x-height xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type xml:base xmlns:xlink xml:lang xml:space".split(" ").forEach(function(a){var b=a.replace(Ha,
|
4604 |
+
Ia);Ga.Properties[b]=0;Ga.DOMAttributeNames[b]=a});xa.injectDOMPropertyConfig(Da);xa.injectDOMPropertyConfig(Ga);
|
4605 |
+
var P={_caughtError:null,_hasCaughtError:!1,_rethrowError:null,_hasRethrowError:!1,injection:{injectErrorUtils:function(a){"function"!==typeof a.invokeGuardedCallback?E("197"):void 0;Ja=a.invokeGuardedCallback}},invokeGuardedCallback:function(a,b,c,d,e,f,g,h,k){Ja.apply(P,arguments)},invokeGuardedCallbackAndCatchFirstError:function(a,b,c,d,e,f,g,h,k){P.invokeGuardedCallback.apply(this,arguments);if(P.hasCaughtError()){var q=P.clearCaughtError();P._hasRethrowError||(P._hasRethrowError=!0,P._rethrowError=
|
4606 |
+
q)}},rethrowCaughtError:function(){return Ka.apply(P,arguments)},hasCaughtError:function(){return P._hasCaughtError},clearCaughtError:function(){if(P._hasCaughtError){var a=P._caughtError;P._caughtError=null;P._hasCaughtError=!1;return a}E("198")}};function Ja(a,b,c,d,e,f,g,h,k){P._hasCaughtError=!1;P._caughtError=null;var q=Array.prototype.slice.call(arguments,3);try{b.apply(c,q)}catch(v){P._caughtError=v,P._hasCaughtError=!0}}
|
4607 |
+
function Ka(){if(P._hasRethrowError){var a=P._rethrowError;P._rethrowError=null;P._hasRethrowError=!1;throw a;}}var La=null,Ma={};
|
4608 |
+
function Na(){if(La)for(var a in Ma){var b=Ma[a],c=La.indexOf(a);-1<c?void 0:E("96",a);if(!Oa[c]){b.extractEvents?void 0:E("97",a);Oa[c]=b;c=b.eventTypes;for(var d in c){var e=void 0;var f=c[d],g=b,h=d;Pa.hasOwnProperty(h)?E("99",h):void 0;Pa[h]=f;var k=f.phasedRegistrationNames;if(k){for(e in k)k.hasOwnProperty(e)&&Qa(k[e],g,h);e=!0}else f.registrationName?(Qa(f.registrationName,g,h),e=!0):e=!1;e?void 0:E("98",d,a)}}}}
|
4609 |
+
function Qa(a,b,c){Ra[a]?E("100",a):void 0;Ra[a]=b;Sa[a]=b.eventTypes[c].dependencies}var Oa=[],Pa={},Ra={},Sa={};function Ta(a){La?E("101"):void 0;La=Array.prototype.slice.call(a);Na()}function Ua(a){var b=!1,c;for(c in a)if(a.hasOwnProperty(c)){var d=a[c];Ma.hasOwnProperty(c)&&Ma[c]===d||(Ma[c]?E("102",c):void 0,Ma[c]=d,b=!0)}b&&Na()}
|
4610 |
+
var Va=Object.freeze({plugins:Oa,eventNameDispatchConfigs:Pa,registrationNameModules:Ra,registrationNameDependencies:Sa,possibleRegistrationNames:null,injectEventPluginOrder:Ta,injectEventPluginsByName:Ua}),Wa=null,Xa=null,Ya=null;function Za(a,b,c,d){b=a.type||"unknown-event";a.currentTarget=Ya(d);P.invokeGuardedCallbackAndCatchFirstError(b,c,void 0,a);a.currentTarget=null}
|
4611 |
+
function $a(a,b){null==b?E("30"):void 0;if(null==a)return b;if(Array.isArray(a)){if(Array.isArray(b))return a.push.apply(a,b),a;a.push(b);return a}return Array.isArray(b)?[a].concat(b):[a,b]}function ab(a,b,c){Array.isArray(a)?a.forEach(b,c):a&&b.call(c,a)}var bb=null;
|
4612 |
+
function cb(a,b){if(a){var c=a._dispatchListeners,d=a._dispatchInstances;if(Array.isArray(c))for(var e=0;e<c.length&&!a.isPropagationStopped();e++)Za(a,b,c[e],d[e]);else c&&Za(a,b,c,d);a._dispatchListeners=null;a._dispatchInstances=null;a.isPersistent()||a.constructor.release(a)}}function db(a){return cb(a,!0)}function gb(a){return cb(a,!1)}var hb={injectEventPluginOrder:Ta,injectEventPluginsByName:Ua};
|
4613 |
+
function ib(a,b){var c=a.stateNode;if(!c)return null;var d=Wa(c);if(!d)return null;c=d[b];a:switch(b){case "onClick":case "onClickCapture":case "onDoubleClick":case "onDoubleClickCapture":case "onMouseDown":case "onMouseDownCapture":case "onMouseMove":case "onMouseMoveCapture":case "onMouseUp":case "onMouseUpCapture":(d=!d.disabled)||(a=a.type,d=!("button"===a||"input"===a||"select"===a||"textarea"===a));a=!d;break a;default:a=!1}if(a)return null;c&&"function"!==typeof c?E("231",b,typeof c):void 0;
|
4614 |
+
return c}function jb(a,b,c,d){for(var e,f=0;f<Oa.length;f++){var g=Oa[f];g&&(g=g.extractEvents(a,b,c,d))&&(e=$a(e,g))}return e}function kb(a){a&&(bb=$a(bb,a))}function lb(a){var b=bb;bb=null;b&&(a?ab(b,db):ab(b,gb),bb?E("95"):void 0,P.rethrowCaughtError())}var mb=Object.freeze({injection:hb,getListener:ib,extractEvents:jb,enqueueEvents:kb,processEventQueue:lb}),nb=Math.random().toString(36).slice(2),Q="__reactInternalInstance$"+nb,ob="__reactEventHandlers$"+nb;
|
4615 |
+
function pb(a){if(a[Q])return a[Q];for(var b=[];!a[Q];)if(b.push(a),a.parentNode)a=a.parentNode;else return null;var c=void 0,d=a[Q];if(5===d.tag||6===d.tag)return d;for(;a&&(d=a[Q]);a=b.pop())c=d;return c}function qb(a){if(5===a.tag||6===a.tag)return a.stateNode;E("33")}function rb(a){return a[ob]||null}
|
4616 |
+
var sb=Object.freeze({precacheFiberNode:function(a,b){b[Q]=a},getClosestInstanceFromNode:pb,getInstanceFromNode:function(a){a=a[Q];return!a||5!==a.tag&&6!==a.tag?null:a},getNodeFromInstance:qb,getFiberCurrentPropsFromNode:rb,updateFiberProps:function(a,b){a[ob]=b}});function tb(a){do a=a["return"];while(a&&5!==a.tag);return a?a:null}function ub(a,b,c){for(var d=[];a;)d.push(a),a=tb(a);for(a=d.length;0<a--;)b(d[a],"captured",c);for(a=0;a<d.length;a++)b(d[a],"bubbled",c)}
|
4617 |
+
function vb(a,b,c){if(b=ib(a,c.dispatchConfig.phasedRegistrationNames[b]))c._dispatchListeners=$a(c._dispatchListeners,b),c._dispatchInstances=$a(c._dispatchInstances,a)}function wb(a){a&&a.dispatchConfig.phasedRegistrationNames&&ub(a._targetInst,vb,a)}function xb(a){if(a&&a.dispatchConfig.phasedRegistrationNames){var b=a._targetInst;b=b?tb(b):null;ub(b,vb,a)}}
|
4618 |
+
function yb(a,b,c){a&&c&&c.dispatchConfig.registrationName&&(b=ib(a,c.dispatchConfig.registrationName))&&(c._dispatchListeners=$a(c._dispatchListeners,b),c._dispatchInstances=$a(c._dispatchInstances,a))}function zb(a){a&&a.dispatchConfig.registrationName&&yb(a._targetInst,null,a)}function Ab(a){ab(a,wb)}
|
4619 |
+
function Bb(a,b,c,d){if(c&&d)a:{var e=c;for(var f=d,g=0,h=e;h;h=tb(h))g++;h=0;for(var k=f;k;k=tb(k))h++;for(;0<g-h;)e=tb(e),g--;for(;0<h-g;)f=tb(f),h--;for(;g--;){if(e===f||e===f.alternate)break a;e=tb(e);f=tb(f)}e=null}else e=null;f=e;for(e=[];c&&c!==f;){g=c.alternate;if(null!==g&&g===f)break;e.push(c);c=tb(c)}for(c=[];d&&d!==f;){g=d.alternate;if(null!==g&&g===f)break;c.push(d);d=tb(d)}for(d=0;d<e.length;d++)yb(e[d],"bubbled",a);for(a=c.length;0<a--;)yb(c[a],"captured",b)}
|
4620 |
+
var Cb=Object.freeze({accumulateTwoPhaseDispatches:Ab,accumulateTwoPhaseDispatchesSkipTarget:function(a){ab(a,xb)},accumulateEnterLeaveDispatches:Bb,accumulateDirectDispatches:function(a){ab(a,zb)}}),Db=null;function Eb(){!Db&&l.canUseDOM&&(Db="textContent"in document.documentElement?"textContent":"innerText");return Db}var S={_root:null,_startText:null,_fallbackText:null};
|
4621 |
+
function Fb(){if(S._fallbackText)return S._fallbackText;var a,b=S._startText,c=b.length,d,e=Gb(),f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=c-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);S._fallbackText=e.slice(a,1<d?1-d:void 0);return S._fallbackText}function Gb(){return"value"in S._root?S._root.value:S._root[Eb()]}
|
4622 |
+
var Hb="dispatchConfig _targetInst nativeEvent isDefaultPrevented isPropagationStopped _dispatchListeners _dispatchInstances".split(" "),Ib={type:null,target:null,currentTarget:C.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};
|
4623 |
+
function T(a,b,c,d){this.dispatchConfig=a;this._targetInst=b;this.nativeEvent=c;a=this.constructor.Interface;for(var e in a)a.hasOwnProperty(e)&&((b=a[e])?this[e]=b(c):"target"===e?this.target=d:this[e]=c[e]);this.isDefaultPrevented=(null!=c.defaultPrevented?c.defaultPrevented:!1===c.returnValue)?C.thatReturnsTrue:C.thatReturnsFalse;this.isPropagationStopped=C.thatReturnsFalse;return this}
|
4624 |
+
B(T.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():"unknown"!==typeof a.returnValue&&(a.returnValue=!1),this.isDefaultPrevented=C.thatReturnsTrue)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():"unknown"!==typeof a.cancelBubble&&(a.cancelBubble=!0),this.isPropagationStopped=C.thatReturnsTrue)},persist:function(){this.isPersistent=C.thatReturnsTrue},isPersistent:C.thatReturnsFalse,
|
4625 |
+
destructor:function(){var a=this.constructor.Interface,b;for(b in a)this[b]=null;for(a=0;a<Hb.length;a++)this[Hb[a]]=null}});T.Interface=Ib;T.augmentClass=function(a,b){function c(){}c.prototype=this.prototype;var d=new c;B(d,a.prototype);a.prototype=d;a.prototype.constructor=a;a.Interface=B({},this.Interface,b);a.augmentClass=this.augmentClass;Jb(a)};Jb(T);function Kb(a,b,c,d){if(this.eventPool.length){var e=this.eventPool.pop();this.call(e,a,b,c,d);return e}return new this(a,b,c,d)}
|
4626 |
+
function Lb(a){a instanceof this?void 0:E("223");a.destructor();10>this.eventPool.length&&this.eventPool.push(a)}function Jb(a){a.eventPool=[];a.getPooled=Kb;a.release=Lb}function Mb(a,b,c,d){return T.call(this,a,b,c,d)}T.augmentClass(Mb,{data:null});function Nb(a,b,c,d){return T.call(this,a,b,c,d)}T.augmentClass(Nb,{data:null});var Pb=[9,13,27,32],Vb=l.canUseDOM&&"CompositionEvent"in window,Wb=null;l.canUseDOM&&"documentMode"in document&&(Wb=document.documentMode);var Xb;
|
4627 |
+
if(Xb=l.canUseDOM&&"TextEvent"in window&&!Wb){var Yb=window.opera;Xb=!("object"===typeof Yb&&"function"===typeof Yb.version&&12>=parseInt(Yb.version(),10))}
|
4628 |
+
var Zb=Xb,$b=l.canUseDOM&&(!Vb||Wb&&8<Wb&&11>=Wb),ac=String.fromCharCode(32),bc={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"topBlur topCompositionEnd topKeyDown topKeyPress topKeyUp topMouseDown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",
|
4629 |
+
captured:"onCompositionStartCapture"},dependencies:"topBlur topCompositionStart topKeyDown topKeyPress topKeyUp topMouseDown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"topBlur topCompositionUpdate topKeyDown topKeyPress topKeyUp topMouseDown".split(" ")}},cc=!1;
|
4630 |
+
function dc(a,b){switch(a){case "topKeyUp":return-1!==Pb.indexOf(b.keyCode);case "topKeyDown":return 229!==b.keyCode;case "topKeyPress":case "topMouseDown":case "topBlur":return!0;default:return!1}}function ec(a){a=a.detail;return"object"===typeof a&&"data"in a?a.data:null}var fc=!1;function gc(a,b){switch(a){case "topCompositionEnd":return ec(b);case "topKeyPress":if(32!==b.which)return null;cc=!0;return ac;case "topTextInput":return a=b.data,a===ac&&cc?null:a;default:return null}}
|
4631 |
+
function hc(a,b){if(fc)return"topCompositionEnd"===a||!Vb&&dc(a,b)?(a=Fb(),S._root=null,S._startText=null,S._fallbackText=null,fc=!1,a):null;switch(a){case "topPaste":return null;case "topKeyPress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1<b.char.length)return b.char;if(b.which)return String.fromCharCode(b.which)}return null;case "topCompositionEnd":return $b?null:b.data;default:return null}}
|
4632 |
+
var ic={eventTypes:bc,extractEvents:function(a,b,c,d){var e;if(Vb)b:{switch(a){case "topCompositionStart":var f=bc.compositionStart;break b;case "topCompositionEnd":f=bc.compositionEnd;break b;case "topCompositionUpdate":f=bc.compositionUpdate;break b}f=void 0}else fc?dc(a,c)&&(f=bc.compositionEnd):"topKeyDown"===a&&229===c.keyCode&&(f=bc.compositionStart);f?($b&&(fc||f!==bc.compositionStart?f===bc.compositionEnd&&fc&&(e=Fb()):(S._root=d,S._startText=Gb(),fc=!0)),f=Mb.getPooled(f,b,c,d),e?f.data=
|
4633 |
+
e:(e=ec(c),null!==e&&(f.data=e)),Ab(f),e=f):e=null;(a=Zb?gc(a,c):hc(a,c))?(b=Nb.getPooled(bc.beforeInput,b,c,d),b.data=a,Ab(b)):b=null;return[e,b]}},jc=null,kc=null,lc=null;function mc(a){if(a=Xa(a)){jc&&"function"===typeof jc.restoreControlledState?void 0:E("194");var b=Wa(a.stateNode);jc.restoreControlledState(a.stateNode,a.type,b)}}var nc={injectFiberControlledHostComponent:function(a){jc=a}};function oc(a){kc?lc?lc.push(a):lc=[a]:kc=a}
|
4634 |
+
function pc(){if(kc){var a=kc,b=lc;lc=kc=null;mc(a);if(b)for(a=0;a<b.length;a++)mc(b[a])}}var qc=Object.freeze({injection:nc,enqueueStateRestore:oc,restoreStateIfNeeded:pc});function rc(a,b){return a(b)}var sc=!1;function tc(a,b){if(sc)return rc(a,b);sc=!0;try{return rc(a,b)}finally{sc=!1,pc()}}var uc={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};
|
4635 |
+
function vc(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return"input"===b?!!uc[a.type]:"textarea"===b?!0:!1}function wc(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}var xc;l.canUseDOM&&(xc=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("",""));
|
4636 |
+
function yc(a,b){if(!l.canUseDOM||b&&!("addEventListener"in document))return!1;b="on"+a;var c=b in document;c||(c=document.createElement("div"),c.setAttribute(b,"return;"),c="function"===typeof c[b]);!c&&xc&&"wheel"===a&&(c=document.implementation.hasFeature("Events.wheel","3.0"));return c}function zc(a){var b=a.type;return(a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)}
|
4637 |
+
function Ac(a){var b=zc(a)?"checked":"value",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=""+a[b];if(!a.hasOwnProperty(b)&&"function"===typeof c.get&&"function"===typeof c.set)return Object.defineProperty(a,b,{enumerable:c.enumerable,configurable:!0,get:function(){return c.get.call(this)},set:function(a){d=""+a;c.set.call(this,a)}}),{getValue:function(){return d},setValue:function(a){d=""+a},stopTracking:function(){a._valueTracker=null;delete a[b]}}}
|
4638 |
+
function Bc(a){a._valueTracker||(a._valueTracker=Ac(a))}function Cc(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d="";a&&(d=zc(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}var Dc={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"topBlur topChange topClick topFocus topInput topKeyDown topKeyUp topSelectionChange".split(" ")}};
|
4639 |
+
function Ec(a,b,c){a=T.getPooled(Dc.change,a,b,c);a.type="change";oc(c);Ab(a);return a}var Fc=null,Gc=null;function Hc(a){kb(a);lb(!1)}function Ic(a){var b=qb(a);if(Cc(b))return a}function Jc(a,b){if("topChange"===a)return b}var Kc=!1;l.canUseDOM&&(Kc=yc("input")&&(!document.documentMode||9<document.documentMode));function Lc(){Fc&&(Fc.detachEvent("onpropertychange",Mc),Gc=Fc=null)}function Mc(a){"value"===a.propertyName&&Ic(Gc)&&(a=Ec(Gc,a,wc(a)),tc(Hc,a))}
|
4640 |
+
function Nc(a,b,c){"topFocus"===a?(Lc(),Fc=b,Gc=c,Fc.attachEvent("onpropertychange",Mc)):"topBlur"===a&&Lc()}function Oc(a){if("topSelectionChange"===a||"topKeyUp"===a||"topKeyDown"===a)return Ic(Gc)}function Pc(a,b){if("topClick"===a)return Ic(b)}function $c(a,b){if("topInput"===a||"topChange"===a)return Ic(b)}
|
4641 |
+
var ad={eventTypes:Dc,_isInputEventSupported:Kc,extractEvents:function(a,b,c,d){var e=b?qb(b):window,f=e.nodeName&&e.nodeName.toLowerCase();if("select"===f||"input"===f&&"file"===e.type)var g=Jc;else if(vc(e))if(Kc)g=$c;else{g=Oc;var h=Nc}else f=e.nodeName,!f||"input"!==f.toLowerCase()||"checkbox"!==e.type&&"radio"!==e.type||(g=Pc);if(g&&(g=g(a,b)))return Ec(g,c,d);h&&h(a,e,b);"topBlur"===a&&null!=b&&(a=b._wrapperState||e._wrapperState)&&a.controlled&&"number"===e.type&&(a=""+e.value,e.getAttribute("value")!==
|
4642 |
+
a&&e.setAttribute("value",a))}};function bd(a,b,c,d){return T.call(this,a,b,c,d)}T.augmentClass(bd,{view:null,detail:null});var cd={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function dd(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=cd[a])?!!b[a]:!1}function ed(){return dd}function fd(a,b,c,d){return T.call(this,a,b,c,d)}
|
4643 |
+
bd.augmentClass(fd,{screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:ed,button:null,buttons:null,relatedTarget:function(a){return a.relatedTarget||(a.fromElement===a.srcElement?a.toElement:a.fromElement)}});
|
4644 |
+
var gd={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},hd={eventTypes:gd,extractEvents:function(a,b,c,d){if("topMouseOver"===a&&(c.relatedTarget||c.fromElement)||"topMouseOut"!==a&&"topMouseOver"!==a)return null;var e=d.window===d?d:(e=d.ownerDocument)?e.defaultView||e.parentWindow:window;"topMouseOut"===a?(a=b,b=(b=c.relatedTarget||c.toElement)?pb(b):null):a=null;if(a===
|
4645 |
+
b)return null;var f=null==a?e:qb(a);e=null==b?e:qb(b);var g=fd.getPooled(gd.mouseLeave,a,c,d);g.type="mouseleave";g.target=f;g.relatedTarget=e;c=fd.getPooled(gd.mouseEnter,b,c,d);c.type="mouseenter";c.target=e;c.relatedTarget=f;Bb(g,c,a,b);return[g,c]}},id=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner;function jd(a){a=a.type;return"string"===typeof a?a:"function"===typeof a?a.displayName||a.name:null}
|
4646 |
+
function kd(a){var b=a;if(a.alternate)for(;b["return"];)b=b["return"];else{if(0!==(b.effectTag&2))return 1;for(;b["return"];)if(b=b["return"],0!==(b.effectTag&2))return 1}return 3===b.tag?2:3}function ld(a){return(a=a._reactInternalFiber)?2===kd(a):!1}function md(a){2!==kd(a)?E("188"):void 0}
|
4647 |
+
function nd(a){var b=a.alternate;if(!b)return b=kd(a),3===b?E("188"):void 0,1===b?null:a;for(var c=a,d=b;;){var e=c["return"],f=e?e.alternate:null;if(!e||!f)break;if(e.child===f.child){for(var g=e.child;g;){if(g===c)return md(e),a;if(g===d)return md(e),b;g=g.sibling}E("188")}if(c["return"]!==d["return"])c=e,d=f;else{g=!1;for(var h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h=f.child;h;){if(h===c){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}g?
|
4648 |
+
void 0:E("189")}}c.alternate!==d?E("190"):void 0}3!==c.tag?E("188"):void 0;return c.stateNode.current===c?a:b}function od(a){a=nd(a);if(!a)return null;for(var b=a;;){if(5===b.tag||6===b.tag)return b;if(b.child)b.child["return"]=b,b=b.child;else{if(b===a)break;for(;!b.sibling;){if(!b["return"]||b["return"]===a)return null;b=b["return"]}b.sibling["return"]=b["return"];b=b.sibling}}return null}
|
4649 |
+
function pd(a){a=nd(a);if(!a)return null;for(var b=a;;){if(5===b.tag||6===b.tag)return b;if(b.child&&4!==b.tag)b.child["return"]=b,b=b.child;else{if(b===a)break;for(;!b.sibling;){if(!b["return"]||b["return"]===a)return null;b=b["return"]}b.sibling["return"]=b["return"];b=b.sibling}}return null}var qd=[];
|
4650 |
+
function rd(a){var b=a.targetInst;do{if(!b){a.ancestors.push(b);break}var c;for(c=b;c["return"];)c=c["return"];c=3!==c.tag?null:c.stateNode.containerInfo;if(!c)break;a.ancestors.push(b);b=pb(c)}while(b);for(c=0;c<a.ancestors.length;c++)b=a.ancestors[c],sd(a.topLevelType,b,a.nativeEvent,wc(a.nativeEvent))}var td=!0,sd=void 0;function ud(a){td=!!a}function U(a,b,c){return c?ba.listen(c,b,vd.bind(null,a)):null}function wd(a,b,c){return c?ba.capture(c,b,vd.bind(null,a)):null}
|
4651 |
+
function vd(a,b){if(td){var c=wc(b);c=pb(c);null===c||"number"!==typeof c.tag||2===kd(c)||(c=null);if(qd.length){var d=qd.pop();d.topLevelType=a;d.nativeEvent=b;d.targetInst=c;a=d}else a={topLevelType:a,nativeEvent:b,targetInst:c,ancestors:[]};try{tc(rd,a)}finally{a.topLevelType=null,a.nativeEvent=null,a.targetInst=null,a.ancestors.length=0,10>qd.length&&qd.push(a)}}}
|
4652 |
+
var xd=Object.freeze({get _enabled(){return td},get _handleTopLevel(){return sd},setHandleTopLevel:function(a){sd=a},setEnabled:ud,isEnabled:function(){return td},trapBubbledEvent:U,trapCapturedEvent:wd,dispatchEvent:vd});function yd(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;c["ms"+a]="MS"+b;c["O"+a]="o"+b.toLowerCase();return c}
|
4653 |
+
var zd={animationend:yd("Animation","AnimationEnd"),animationiteration:yd("Animation","AnimationIteration"),animationstart:yd("Animation","AnimationStart"),transitionend:yd("Transition","TransitionEnd")},Ad={},Bd={};l.canUseDOM&&(Bd=document.createElement("div").style,"AnimationEvent"in window||(delete zd.animationend.animation,delete zd.animationiteration.animation,delete zd.animationstart.animation),"TransitionEvent"in window||delete zd.transitionend.transition);
|
4654 |
+
function Cd(a){if(Ad[a])return Ad[a];if(!zd[a])return a;var b=zd[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in Bd)return Ad[a]=b[c];return""}
|
4655 |
+
var Dd={topAbort:"abort",topAnimationEnd:Cd("animationend")||"animationend",topAnimationIteration:Cd("animationiteration")||"animationiteration",topAnimationStart:Cd("animationstart")||"animationstart",topBlur:"blur",topCancel:"cancel",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topClose:"close",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",
|
4656 |
+
topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoad:"load",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",
|
4657 |
+
topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topToggle:"toggle",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",
|
4658 |
+
topTouchStart:"touchstart",topTransitionEnd:Cd("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},Ed={},Fd=0,Gd="_reactListenersID"+(""+Math.random()).slice(2);function Hd(a){Object.prototype.hasOwnProperty.call(a,Gd)||(a[Gd]=Fd++,Ed[a[Gd]]={});return Ed[a[Gd]]}function Id(a){for(;a&&a.firstChild;)a=a.firstChild;return a}
|
4659 |
+
function Jd(a,b){var c=Id(a);a=0;for(var d;c;){if(3===c.nodeType){d=a+c.textContent.length;if(a<=b&&d>=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=Id(c)}}function Kd(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&"text"===a.type||"textarea"===b||"true"===a.contentEditable)}
|
4660 |
+
var Ld=l.canUseDOM&&"documentMode"in document&&11>=document.documentMode,Md={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"topBlur topContextMenu topFocus topKeyDown topKeyUp topMouseDown topMouseUp topSelectionChange".split(" ")}},Nd=null,Od=null,Pd=null,Qd=!1;
|
4661 |
+
function Rd(a,b){if(Qd||null==Nd||Nd!==da())return null;var c=Nd;"selectionStart"in c&&Kd(c)?c={start:c.selectionStart,end:c.selectionEnd}:window.getSelection?(c=window.getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}):c=void 0;return Pd&&ea(Pd,c)?null:(Pd=c,a=T.getPooled(Md.select,Od,a,b),a.type="select",a.target=Nd,Ab(a),a)}
|
4662 |
+
var Sd={eventTypes:Md,extractEvents:function(a,b,c,d){var e=d.window===d?d.document:9===d.nodeType?d:d.ownerDocument,f;if(!(f=!e)){a:{e=Hd(e);f=Sa.onSelect;for(var g=0;g<f.length;g++){var h=f[g];if(!e.hasOwnProperty(h)||!e[h]){e=!1;break a}}e=!0}f=!e}if(f)return null;e=b?qb(b):window;switch(a){case "topFocus":if(vc(e)||"true"===e.contentEditable)Nd=e,Od=b,Pd=null;break;case "topBlur":Pd=Od=Nd=null;break;case "topMouseDown":Qd=!0;break;case "topContextMenu":case "topMouseUp":return Qd=!1,Rd(c,d);case "topSelectionChange":if(Ld)break;
|
4663 |
+
case "topKeyDown":case "topKeyUp":return Rd(c,d)}return null}};function Td(a,b,c,d){return T.call(this,a,b,c,d)}T.augmentClass(Td,{animationName:null,elapsedTime:null,pseudoElement:null});function Ud(a,b,c,d){return T.call(this,a,b,c,d)}T.augmentClass(Ud,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}});function Vd(a,b,c,d){return T.call(this,a,b,c,d)}bd.augmentClass(Vd,{relatedTarget:null});
|
4664 |
+
function Wd(a){var b=a.keyCode;"charCode"in a?(a=a.charCode,0===a&&13===b&&(a=13)):a=b;return 32<=a||13===a?a:0}
|
4665 |
+
var Xd={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Yd={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",
|
4666 |
+
116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};function Zd(a,b,c,d){return T.call(this,a,b,c,d)}
|
4667 |
+
bd.augmentClass(Zd,{key:function(a){if(a.key){var b=Xd[a.key]||a.key;if("Unidentified"!==b)return b}return"keypress"===a.type?(a=Wd(a),13===a?"Enter":String.fromCharCode(a)):"keydown"===a.type||"keyup"===a.type?Yd[a.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:ed,charCode:function(a){return"keypress"===a.type?Wd(a):0},keyCode:function(a){return"keydown"===a.type||"keyup"===a.type?a.keyCode:0},which:function(a){return"keypress"===
|
4668 |
+
a.type?Wd(a):"keydown"===a.type||"keyup"===a.type?a.keyCode:0}});function $d(a,b,c,d){return T.call(this,a,b,c,d)}fd.augmentClass($d,{dataTransfer:null});function ae(a,b,c,d){return T.call(this,a,b,c,d)}bd.augmentClass(ae,{touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:ed});function be(a,b,c,d){return T.call(this,a,b,c,d)}T.augmentClass(be,{propertyName:null,elapsedTime:null,pseudoElement:null});
|
4669 |
+
function ce(a,b,c,d){return T.call(this,a,b,c,d)}fd.augmentClass(ce,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:null,deltaMode:null});var de={},ee={};
|
4670 |
+
"abort animationEnd animationIteration animationStart blur cancel canPlay canPlayThrough click close contextMenu copy cut doubleClick drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error focus input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing progress rateChange reset scroll seeked seeking stalled submit suspend timeUpdate toggle touchCancel touchEnd touchMove touchStart transitionEnd volumeChange waiting wheel".split(" ").forEach(function(a){var b=a[0].toUpperCase()+
|
4671 |
+
a.slice(1),c="on"+b;b="top"+b;c={phasedRegistrationNames:{bubbled:c,captured:c+"Capture"},dependencies:[b]};de[a]=c;ee[b]=c});
|
4672 |
+
var fe={eventTypes:de,extractEvents:function(a,b,c,d){var e=ee[a];if(!e)return null;switch(a){case "topKeyPress":if(0===Wd(c))return null;case "topKeyDown":case "topKeyUp":a=Zd;break;case "topBlur":case "topFocus":a=Vd;break;case "topClick":if(2===c.button)return null;case "topDoubleClick":case "topMouseDown":case "topMouseMove":case "topMouseUp":case "topMouseOut":case "topMouseOver":case "topContextMenu":a=fd;break;case "topDrag":case "topDragEnd":case "topDragEnter":case "topDragExit":case "topDragLeave":case "topDragOver":case "topDragStart":case "topDrop":a=
|
4673 |
+
$d;break;case "topTouchCancel":case "topTouchEnd":case "topTouchMove":case "topTouchStart":a=ae;break;case "topAnimationEnd":case "topAnimationIteration":case "topAnimationStart":a=Td;break;case "topTransitionEnd":a=be;break;case "topScroll":a=bd;break;case "topWheel":a=ce;break;case "topCopy":case "topCut":case "topPaste":a=Ud;break;default:a=T}b=a.getPooled(e,b,c,d);Ab(b);return b}};sd=function(a,b,c,d){a=jb(a,b,c,d);kb(a);lb(!1)};hb.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin TapEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" "));
|
4674 |
+
Wa=sb.getFiberCurrentPropsFromNode;Xa=sb.getInstanceFromNode;Ya=sb.getNodeFromInstance;hb.injectEventPluginsByName({SimpleEventPlugin:fe,EnterLeaveEventPlugin:hd,ChangeEventPlugin:ad,SelectEventPlugin:Sd,BeforeInputEventPlugin:ic});var ge=[],he=-1;function V(a){0>he||(a.current=ge[he],ge[he]=null,he--)}function W(a,b){he++;ge[he]=a.current;a.current=b}new Set;var ie={current:D},X={current:!1},je=D;function ke(a){return le(a)?je:ie.current}
|
4675 |
+
function me(a,b){var c=a.type.contextTypes;if(!c)return D;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function le(a){return 2===a.tag&&null!=a.type.childContextTypes}function ne(a){le(a)&&(V(X,a),V(ie,a))}
|
4676 |
+
function oe(a,b,c){null!=ie.cursor?E("168"):void 0;W(ie,b,a);W(X,c,a)}function pe(a,b){var c=a.stateNode,d=a.type.childContextTypes;if("function"!==typeof c.getChildContext)return b;c=c.getChildContext();for(var e in c)e in d?void 0:E("108",jd(a)||"Unknown",e);return B({},b,c)}function qe(a){if(!le(a))return!1;var b=a.stateNode;b=b&&b.__reactInternalMemoizedMergedChildContext||D;je=ie.current;W(ie,b,a);W(X,X.current,a);return!0}
|
4677 |
+
function re(a,b){var c=a.stateNode;c?void 0:E("169");if(b){var d=pe(a,je);c.__reactInternalMemoizedMergedChildContext=d;V(X,a);V(ie,a);W(ie,d,a)}else V(X,a);W(X,b,a)}
|
4678 |
+
function Y(a,b,c){this.tag=a;this.key=b;this.stateNode=this.type=null;this.sibling=this.child=this["return"]=null;this.index=0;this.memoizedState=this.updateQueue=this.memoizedProps=this.pendingProps=this.ref=null;this.internalContextTag=c;this.effectTag=0;this.lastEffect=this.firstEffect=this.nextEffect=null;this.expirationTime=0;this.alternate=null}
|
4679 |
+
function se(a,b,c){var d=a.alternate;null===d?(d=new Y(a.tag,a.key,a.internalContextTag),d.type=a.type,d.stateNode=a.stateNode,d.alternate=a,a.alternate=d):(d.effectTag=0,d.nextEffect=null,d.firstEffect=null,d.lastEffect=null);d.expirationTime=c;d.pendingProps=b;d.child=a.child;d.memoizedProps=a.memoizedProps;d.memoizedState=a.memoizedState;d.updateQueue=a.updateQueue;d.sibling=a.sibling;d.index=a.index;d.ref=a.ref;return d}
|
4680 |
+
function te(a,b,c){var d=void 0,e=a.type,f=a.key;"function"===typeof e?(d=e.prototype&&e.prototype.isReactComponent?new Y(2,f,b):new Y(0,f,b),d.type=e,d.pendingProps=a.props):"string"===typeof e?(d=new Y(5,f,b),d.type=e,d.pendingProps=a.props):"object"===typeof e&&null!==e&&"number"===typeof e.tag?(d=e,d.pendingProps=a.props):E("130",null==e?e:typeof e,"");d.expirationTime=c;return d}function ue(a,b,c,d){b=new Y(10,d,b);b.pendingProps=a;b.expirationTime=c;return b}
|
4681 |
+
function ve(a,b,c){b=new Y(6,null,b);b.pendingProps=a;b.expirationTime=c;return b}function we(a,b,c){b=new Y(7,a.key,b);b.type=a.handler;b.pendingProps=a;b.expirationTime=c;return b}function xe(a,b,c){a=new Y(9,null,b);a.expirationTime=c;return a}function ye(a,b,c){b=new Y(4,a.key,b);b.pendingProps=a.children||[];b.expirationTime=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}var ze=null,Ae=null;
|
4682 |
+
function Be(a){return function(b){try{return a(b)}catch(c){}}}function Ce(a){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var b=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(b.isDisabled||!b.supportsFiber)return!0;try{var c=b.inject(a);ze=Be(function(a){return b.onCommitFiberRoot(c,a)});Ae=Be(function(a){return b.onCommitFiberUnmount(c,a)})}catch(d){}return!0}function De(a){"function"===typeof ze&&ze(a)}function Ee(a){"function"===typeof Ae&&Ae(a)}
|
4683 |
+
function Fe(a){return{baseState:a,expirationTime:0,first:null,last:null,callbackList:null,hasForceUpdate:!1,isInitialized:!1}}function Ge(a,b){null===a.last?a.first=a.last=b:(a.last.next=b,a.last=b);if(0===a.expirationTime||a.expirationTime>b.expirationTime)a.expirationTime=b.expirationTime}
|
4684 |
+
function He(a,b){var c=a.alternate,d=a.updateQueue;null===d&&(d=a.updateQueue=Fe(null));null!==c?(a=c.updateQueue,null===a&&(a=c.updateQueue=Fe(null))):a=null;a=a!==d?a:null;null===a?Ge(d,b):null===d.last||null===a.last?(Ge(d,b),Ge(a,b)):(Ge(d,b),a.last=b)}function Ie(a,b,c,d){a=a.partialState;return"function"===typeof a?a.call(b,c,d):a}
|
4685 |
+
function Je(a,b,c,d,e,f){null!==a&&a.updateQueue===c&&(c=b.updateQueue={baseState:c.baseState,expirationTime:c.expirationTime,first:c.first,last:c.last,isInitialized:c.isInitialized,callbackList:null,hasForceUpdate:!1});c.expirationTime=0;c.isInitialized?a=c.baseState:(a=c.baseState=b.memoizedState,c.isInitialized=!0);for(var g=!0,h=c.first,k=!1;null!==h;){var q=h.expirationTime;if(q>f){var v=c.expirationTime;if(0===v||v>q)c.expirationTime=q;k||(k=!0,c.baseState=a)}else{k||(c.first=h.next,null===
|
4686 |
+
c.first&&(c.last=null));if(h.isReplace)a=Ie(h,d,a,e),g=!0;else if(q=Ie(h,d,a,e))a=g?B({},a,q):B(a,q),g=!1;h.isForced&&(c.hasForceUpdate=!0);null!==h.callback&&(q=c.callbackList,null===q&&(q=c.callbackList=[]),q.push(h))}h=h.next}null!==c.callbackList?b.effectTag|=32:null!==c.first||c.hasForceUpdate||(b.updateQueue=null);k||(c.baseState=a);return a}
|
4687 |
+
function Ke(a,b){var c=a.callbackList;if(null!==c)for(a.callbackList=null,a=0;a<c.length;a++){var d=c[a],e=d.callback;d.callback=null;"function"!==typeof e?E("191",e):void 0;e.call(b)}}
|
4688 |
+
function Le(a,b,c,d){function e(a,b){b.updater=f;a.stateNode=b;b._reactInternalFiber=a}var f={isMounted:ld,enqueueSetState:function(c,d,e){c=c._reactInternalFiber;e=void 0===e?null:e;var g=b(c);He(c,{expirationTime:g,partialState:d,callback:e,isReplace:!1,isForced:!1,nextCallback:null,next:null});a(c,g)},enqueueReplaceState:function(c,d,e){c=c._reactInternalFiber;e=void 0===e?null:e;var g=b(c);He(c,{expirationTime:g,partialState:d,callback:e,isReplace:!0,isForced:!1,nextCallback:null,next:null});
|
4689 |
+
a(c,g)},enqueueForceUpdate:function(c,d){c=c._reactInternalFiber;d=void 0===d?null:d;var e=b(c);He(c,{expirationTime:e,partialState:null,callback:d,isReplace:!1,isForced:!0,nextCallback:null,next:null});a(c,e)}};return{adoptClassInstance:e,constructClassInstance:function(a,b){var c=a.type,d=ke(a),f=2===a.tag&&null!=a.type.contextTypes,g=f?me(a,d):D;b=new c(b,g);e(a,b);f&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=d,a.__reactInternalMemoizedMaskedChildContext=g);return b},mountClassInstance:function(a,
|
4690 |
+
b){var c=a.alternate,d=a.stateNode,e=d.state||null,g=a.pendingProps;g?void 0:E("158");var h=ke(a);d.props=g;d.state=a.memoizedState=e;d.refs=D;d.context=me(a,h);null!=a.type&&null!=a.type.prototype&&!0===a.type.prototype.unstable_isAsyncReactComponent&&(a.internalContextTag|=1);"function"===typeof d.componentWillMount&&(e=d.state,d.componentWillMount(),e!==d.state&&f.enqueueReplaceState(d,d.state,null),e=a.updateQueue,null!==e&&(d.state=Je(c,a,e,d,g,b)));"function"===typeof d.componentDidMount&&(a.effectTag|=
|
4691 |
+
4)},updateClassInstance:function(a,b,e){var g=b.stateNode;g.props=b.memoizedProps;g.state=b.memoizedState;var h=b.memoizedProps,k=b.pendingProps;k||(k=h,null==k?E("159"):void 0);var u=g.context,z=ke(b);z=me(b,z);"function"!==typeof g.componentWillReceiveProps||h===k&&u===z||(u=g.state,g.componentWillReceiveProps(k,z),g.state!==u&&f.enqueueReplaceState(g,g.state,null));u=b.memoizedState;e=null!==b.updateQueue?Je(a,b,b.updateQueue,g,k,e):u;if(!(h!==k||u!==e||X.current||null!==b.updateQueue&&b.updateQueue.hasForceUpdate))return"function"!==
|
4692 |
+
typeof g.componentDidUpdate||h===a.memoizedProps&&u===a.memoizedState||(b.effectTag|=4),!1;var G=k;if(null===h||null!==b.updateQueue&&b.updateQueue.hasForceUpdate)G=!0;else{var I=b.stateNode,L=b.type;G="function"===typeof I.shouldComponentUpdate?I.shouldComponentUpdate(G,e,z):L.prototype&&L.prototype.isPureReactComponent?!ea(h,G)||!ea(u,e):!0}G?("function"===typeof g.componentWillUpdate&&g.componentWillUpdate(k,e,z),"function"===typeof g.componentDidUpdate&&(b.effectTag|=4)):("function"!==typeof g.componentDidUpdate||
|
4693 |
+
h===a.memoizedProps&&u===a.memoizedState||(b.effectTag|=4),c(b,k),d(b,e));g.props=k;g.state=e;g.context=z;return G}}}var Qe="function"===typeof Symbol&&Symbol["for"],Re=Qe?Symbol["for"]("react.element"):60103,Se=Qe?Symbol["for"]("react.call"):60104,Te=Qe?Symbol["for"]("react.return"):60105,Ue=Qe?Symbol["for"]("react.portal"):60106,Ve=Qe?Symbol["for"]("react.fragment"):60107,We="function"===typeof Symbol&&Symbol.iterator;
|
4694 |
+
function Xe(a){if(null===a||"undefined"===typeof a)return null;a=We&&a[We]||a["@@iterator"];return"function"===typeof a?a:null}var Ye=Array.isArray;
|
4695 |
+
function Ze(a,b){var c=b.ref;if(null!==c&&"function"!==typeof c){if(b._owner){b=b._owner;var d=void 0;b&&(2!==b.tag?E("110"):void 0,d=b.stateNode);d?void 0:E("147",c);var e=""+c;if(null!==a&&null!==a.ref&&a.ref._stringRef===e)return a.ref;a=function(a){var b=d.refs===D?d.refs={}:d.refs;null===a?delete b[e]:b[e]=a};a._stringRef=e;return a}"string"!==typeof c?E("148"):void 0;b._owner?void 0:E("149",c)}return c}
|
4696 |
+
function $e(a,b){"textarea"!==a.type&&E("31","[object Object]"===Object.prototype.toString.call(b)?"object with keys {"+Object.keys(b).join(", ")+"}":b,"")}
|
4697 |
+
function af(a){function b(b,c){if(a){var d=b.lastEffect;null!==d?(d.nextEffect=c,b.lastEffect=c):b.firstEffect=b.lastEffect=c;c.nextEffect=null;c.effectTag=8}}function c(c,d){if(!a)return null;for(;null!==d;)b(c,d),d=d.sibling;return null}function d(a,b){for(a=new Map;null!==b;)null!==b.key?a.set(b.key,b):a.set(b.index,b),b=b.sibling;return a}function e(a,b,c){a=se(a,b,c);a.index=0;a.sibling=null;return a}function f(b,c,d){b.index=d;if(!a)return c;d=b.alternate;if(null!==d)return d=d.index,d<c?(b.effectTag=
|
4698 |
+
2,c):d;b.effectTag=2;return c}function g(b){a&&null===b.alternate&&(b.effectTag=2);return b}function h(a,b,c,d){if(null===b||6!==b.tag)return b=ve(c,a.internalContextTag,d),b["return"]=a,b;b=e(b,c,d);b["return"]=a;return b}function k(a,b,c,d){if(null!==b&&b.type===c.type)return d=e(b,c.props,d),d.ref=Ze(b,c),d["return"]=a,d;d=te(c,a.internalContextTag,d);d.ref=Ze(b,c);d["return"]=a;return d}function q(a,b,c,d){if(null===b||7!==b.tag)return b=we(c,a.internalContextTag,d),b["return"]=a,b;b=e(b,c,d);
|
4699 |
+
b["return"]=a;return b}function v(a,b,c,d){if(null===b||9!==b.tag)return b=xe(c,a.internalContextTag,d),b.type=c.value,b["return"]=a,b;b=e(b,null,d);b.type=c.value;b["return"]=a;return b}function y(a,b,c,d){if(null===b||4!==b.tag||b.stateNode.containerInfo!==c.containerInfo||b.stateNode.implementation!==c.implementation)return b=ye(c,a.internalContextTag,d),b["return"]=a,b;b=e(b,c.children||[],d);b["return"]=a;return b}function u(a,b,c,d,f){if(null===b||10!==b.tag)return b=ue(c,a.internalContextTag,
|
4700 |
+
d,f),b["return"]=a,b;b=e(b,c,d);b["return"]=a;return b}function z(a,b,c){if("string"===typeof b||"number"===typeof b)return b=ve(""+b,a.internalContextTag,c),b["return"]=a,b;if("object"===typeof b&&null!==b){switch(b.$$typeof){case Re:if(b.type===Ve)return b=ue(b.props.children,a.internalContextTag,c,b.key),b["return"]=a,b;c=te(b,a.internalContextTag,c);c.ref=Ze(null,b);c["return"]=a;return c;case Se:return b=we(b,a.internalContextTag,c),b["return"]=a,b;case Te:return c=xe(b,a.internalContextTag,
|
4701 |
+
c),c.type=b.value,c["return"]=a,c;case Ue:return b=ye(b,a.internalContextTag,c),b["return"]=a,b}if(Ye(b)||Xe(b))return b=ue(b,a.internalContextTag,c,null),b["return"]=a,b;$e(a,b)}return null}function G(a,b,c,d){var e=null!==b?b.key:null;if("string"===typeof c||"number"===typeof c)return null!==e?null:h(a,b,""+c,d);if("object"===typeof c&&null!==c){switch(c.$$typeof){case Re:return c.key===e?c.type===Ve?u(a,b,c.props.children,d,e):k(a,b,c,d):null;case Se:return c.key===e?q(a,b,c,d):null;case Te:return null===
|
4702 |
+
e?v(a,b,c,d):null;case Ue:return c.key===e?y(a,b,c,d):null}if(Ye(c)||Xe(c))return null!==e?null:u(a,b,c,d,null);$e(a,c)}return null}function I(a,b,c,d,e){if("string"===typeof d||"number"===typeof d)return a=a.get(c)||null,h(b,a,""+d,e);if("object"===typeof d&&null!==d){switch(d.$$typeof){case Re:return a=a.get(null===d.key?c:d.key)||null,d.type===Ve?u(b,a,d.props.children,e,d.key):k(b,a,d,e);case Se:return a=a.get(null===d.key?c:d.key)||null,q(b,a,d,e);case Te:return a=a.get(c)||null,v(b,a,d,e);case Ue:return a=
|
4703 |
+
a.get(null===d.key?c:d.key)||null,y(b,a,d,e)}if(Ye(d)||Xe(d))return a=a.get(c)||null,u(b,a,d,e,null);$e(b,d)}return null}function L(e,g,m,A){for(var h=null,r=null,n=g,w=g=0,k=null;null!==n&&w<m.length;w++){n.index>w?(k=n,n=null):k=n.sibling;var x=G(e,n,m[w],A);if(null===x){null===n&&(n=k);break}a&&n&&null===x.alternate&&b(e,n);g=f(x,g,w);null===r?h=x:r.sibling=x;r=x;n=k}if(w===m.length)return c(e,n),h;if(null===n){for(;w<m.length;w++)if(n=z(e,m[w],A))g=f(n,g,w),null===r?h=n:r.sibling=n,r=n;return h}for(n=
|
4704 |
+
d(e,n);w<m.length;w++)if(k=I(n,e,w,m[w],A)){if(a&&null!==k.alternate)n["delete"](null===k.key?w:k.key);g=f(k,g,w);null===r?h=k:r.sibling=k;r=k}a&&n.forEach(function(a){return b(e,a)});return h}function N(e,g,m,A){var h=Xe(m);"function"!==typeof h?E("150"):void 0;m=h.call(m);null==m?E("151"):void 0;for(var r=h=null,n=g,w=g=0,k=null,x=m.next();null!==n&&!x.done;w++,x=m.next()){n.index>w?(k=n,n=null):k=n.sibling;var J=G(e,n,x.value,A);if(null===J){n||(n=k);break}a&&n&&null===J.alternate&&b(e,n);g=f(J,
|
4705 |
+
g,w);null===r?h=J:r.sibling=J;r=J;n=k}if(x.done)return c(e,n),h;if(null===n){for(;!x.done;w++,x=m.next())x=z(e,x.value,A),null!==x&&(g=f(x,g,w),null===r?h=x:r.sibling=x,r=x);return h}for(n=d(e,n);!x.done;w++,x=m.next())if(x=I(n,e,w,x.value,A),null!==x){if(a&&null!==x.alternate)n["delete"](null===x.key?w:x.key);g=f(x,g,w);null===r?h=x:r.sibling=x;r=x}a&&n.forEach(function(a){return b(e,a)});return h}return function(a,d,f,h){"object"===typeof f&&null!==f&&f.type===Ve&&null===f.key&&(f=f.props.children);
|
4706 |
+
var m="object"===typeof f&&null!==f;if(m)switch(f.$$typeof){case Re:a:{var r=f.key;for(m=d;null!==m;){if(m.key===r)if(10===m.tag?f.type===Ve:m.type===f.type){c(a,m.sibling);d=e(m,f.type===Ve?f.props.children:f.props,h);d.ref=Ze(m,f);d["return"]=a;a=d;break a}else{c(a,m);break}else b(a,m);m=m.sibling}f.type===Ve?(d=ue(f.props.children,a.internalContextTag,h,f.key),d["return"]=a,a=d):(h=te(f,a.internalContextTag,h),h.ref=Ze(d,f),h["return"]=a,a=h)}return g(a);case Se:a:{for(m=f.key;null!==d;){if(d.key===
|
4707 |
+
m)if(7===d.tag){c(a,d.sibling);d=e(d,f,h);d["return"]=a;a=d;break a}else{c(a,d);break}else b(a,d);d=d.sibling}d=we(f,a.internalContextTag,h);d["return"]=a;a=d}return g(a);case Te:a:{if(null!==d)if(9===d.tag){c(a,d.sibling);d=e(d,null,h);d.type=f.value;d["return"]=a;a=d;break a}else c(a,d);d=xe(f,a.internalContextTag,h);d.type=f.value;d["return"]=a;a=d}return g(a);case Ue:a:{for(m=f.key;null!==d;){if(d.key===m)if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===
|
4708 |
+
f.implementation){c(a,d.sibling);d=e(d,f.children||[],h);d["return"]=a;a=d;break a}else{c(a,d);break}else b(a,d);d=d.sibling}d=ye(f,a.internalContextTag,h);d["return"]=a;a=d}return g(a)}if("string"===typeof f||"number"===typeof f)return f=""+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f,h)):(c(a,d),d=ve(f,a.internalContextTag,h)),d["return"]=a,a=d,g(a);if(Ye(f))return L(a,d,f,h);if(Xe(f))return N(a,d,f,h);m&&$e(a,f);if("undefined"===typeof f)switch(a.tag){case 2:case 1:h=a.type,E("152",h.displayName||
|
4709 |
+
h.name||"Component")}return c(a,d)}}var bf=af(!0),cf=af(!1);
|
4710 |
+
function df(a,b,c,d,e){function f(a,b,c){var d=b.expirationTime;b.child=null===a?cf(b,null,c,d):bf(b,a.child,c,d)}function g(a,b){var c=b.ref;null===c||a&&a.ref===c||(b.effectTag|=128)}function h(a,b,c,d){g(a,b);if(!c)return d&&re(b,!1),q(a,b);c=b.stateNode;id.current=b;var e=c.render();b.effectTag|=1;f(a,b,e);b.memoizedState=c.state;b.memoizedProps=c.props;d&&re(b,!0);return b.child}function k(a){var b=a.stateNode;b.pendingContext?oe(a,b.pendingContext,b.pendingContext!==b.context):b.context&&oe(a,
|
4711 |
+
b.context,!1);I(a,b.containerInfo)}function q(a,b){null!==a&&b.child!==a.child?E("153"):void 0;if(null!==b.child){a=b.child;var c=se(a,a.pendingProps,a.expirationTime);b.child=c;for(c["return"]=b;null!==a.sibling;)a=a.sibling,c=c.sibling=se(a,a.pendingProps,a.expirationTime),c["return"]=b;c.sibling=null}return b.child}function v(a,b){switch(b.tag){case 3:k(b);break;case 2:qe(b);break;case 4:I(b,b.stateNode.containerInfo)}return null}var y=a.shouldSetTextContent,u=a.useSyncScheduling,z=a.shouldDeprioritizeSubtree,
|
4712 |
+
G=b.pushHostContext,I=b.pushHostContainer,L=c.enterHydrationState,N=c.resetHydrationState,J=c.tryToClaimNextHydratableInstance;a=Le(d,e,function(a,b){a.memoizedProps=b},function(a,b){a.memoizedState=b});var w=a.adoptClassInstance,m=a.constructClassInstance,A=a.mountClassInstance,Ob=a.updateClassInstance;return{beginWork:function(a,b,c){if(0===b.expirationTime||b.expirationTime>c)return v(a,b);switch(b.tag){case 0:null!==a?E("155"):void 0;var d=b.type,e=b.pendingProps,r=ke(b);r=me(b,r);d=d(e,r);b.effectTag|=
|
4713 |
+
1;"object"===typeof d&&null!==d&&"function"===typeof d.render?(b.tag=2,e=qe(b),w(b,d),A(b,c),b=h(a,b,!0,e)):(b.tag=1,f(a,b,d),b.memoizedProps=e,b=b.child);return b;case 1:a:{e=b.type;c=b.pendingProps;d=b.memoizedProps;if(X.current)null===c&&(c=d);else if(null===c||d===c){b=q(a,b);break a}d=ke(b);d=me(b,d);e=e(c,d);b.effectTag|=1;f(a,b,e);b.memoizedProps=c;b=b.child}return b;case 2:return e=qe(b),d=void 0,null===a?b.stateNode?E("153"):(m(b,b.pendingProps),A(b,c),d=!0):d=Ob(a,b,c),h(a,b,d,e);case 3:return k(b),
|
4714 |
+
e=b.updateQueue,null!==e?(d=b.memoizedState,e=Je(a,b,e,null,null,c),d===e?(N(),b=q(a,b)):(d=e.element,r=b.stateNode,(null===a||null===a.child)&&r.hydrate&&L(b)?(b.effectTag|=2,b.child=cf(b,null,d,c)):(N(),f(a,b,d)),b.memoizedState=e,b=b.child)):(N(),b=q(a,b)),b;case 5:G(b);null===a&&J(b);e=b.type;var n=b.memoizedProps;d=b.pendingProps;null===d&&(d=n,null===d?E("154"):void 0);r=null!==a?a.memoizedProps:null;X.current||null!==d&&n!==d?(n=d.children,y(e,d)?n=null:r&&y(e,r)&&(b.effectTag|=16),g(a,b),
|
4715 |
+
2147483647!==c&&!u&&z(e,d)?(b.expirationTime=2147483647,b=null):(f(a,b,n),b.memoizedProps=d,b=b.child)):b=q(a,b);return b;case 6:return null===a&&J(b),a=b.pendingProps,null===a&&(a=b.memoizedProps),b.memoizedProps=a,null;case 8:b.tag=7;case 7:e=b.pendingProps;if(X.current)null===e&&(e=a&&a.memoizedProps,null===e?E("154"):void 0);else if(null===e||b.memoizedProps===e)e=b.memoizedProps;d=e.children;b.stateNode=null===a?cf(b,b.stateNode,d,c):bf(b,b.stateNode,d,c);b.memoizedProps=e;return b.stateNode;
|
4716 |
+
case 9:return null;case 4:a:{I(b,b.stateNode.containerInfo);e=b.pendingProps;if(X.current)null===e&&(e=a&&a.memoizedProps,null==e?E("154"):void 0);else if(null===e||b.memoizedProps===e){b=q(a,b);break a}null===a?b.child=bf(b,null,e,c):f(a,b,e);b.memoizedProps=e;b=b.child}return b;case 10:a:{c=b.pendingProps;if(X.current)null===c&&(c=b.memoizedProps);else if(null===c||b.memoizedProps===c){b=q(a,b);break a}f(a,b,c);b.memoizedProps=c;b=b.child}return b;default:E("156")}},beginFailedWork:function(a,b,
|
4717 |
+
c){switch(b.tag){case 2:qe(b);break;case 3:k(b);break;default:E("157")}b.effectTag|=64;null===a?b.child=null:b.child!==a.child&&(b.child=a.child);if(0===b.expirationTime||b.expirationTime>c)return v(a,b);b.firstEffect=null;b.lastEffect=null;b.child=null===a?cf(b,null,null,c):bf(b,a.child,null,c);2===b.tag&&(a=b.stateNode,b.memoizedProps=a.props,b.memoizedState=a.state);return b.child}}}
|
4718 |
+
function ef(a,b,c){function d(a){a.effectTag|=4}var e=a.createInstance,f=a.createTextInstance,g=a.appendInitialChild,h=a.finalizeInitialChildren,k=a.prepareUpdate,q=a.persistence,v=b.getRootHostContainer,y=b.popHostContext,u=b.getHostContext,z=b.popHostContainer,G=c.prepareToHydrateHostInstance,I=c.prepareToHydrateHostTextInstance,L=c.popHydrationState,N=void 0,J=void 0,w=void 0;a.mutation?(N=function(){},J=function(a,b,c){(b.updateQueue=c)&&d(b)},w=function(a,b,c,e){c!==e&&d(b)}):q?E("235"):E("236");
|
4719 |
+
return{completeWork:function(a,b,c){var m=b.pendingProps;if(null===m)m=b.memoizedProps;else if(2147483647!==b.expirationTime||2147483647===c)b.pendingProps=null;switch(b.tag){case 1:return null;case 2:return ne(b),null;case 3:z(b);V(X,b);V(ie,b);m=b.stateNode;m.pendingContext&&(m.context=m.pendingContext,m.pendingContext=null);if(null===a||null===a.child)L(b),b.effectTag&=-3;N(b);return null;case 5:y(b);c=v();var A=b.type;if(null!==a&&null!=b.stateNode){var p=a.memoizedProps,q=b.stateNode,x=u();q=
|
4720 |
+
k(q,A,p,m,c,x);J(a,b,q,A,p,m,c);a.ref!==b.ref&&(b.effectTag|=128)}else{if(!m)return null===b.stateNode?E("166"):void 0,null;a=u();if(L(b))G(b,c,a)&&d(b);else{a=e(A,m,c,a,b);a:for(p=b.child;null!==p;){if(5===p.tag||6===p.tag)g(a,p.stateNode);else if(4!==p.tag&&null!==p.child){p.child["return"]=p;p=p.child;continue}if(p===b)break;for(;null===p.sibling;){if(null===p["return"]||p["return"]===b)break a;p=p["return"]}p.sibling["return"]=p["return"];p=p.sibling}h(a,A,m,c)&&d(b);b.stateNode=a}null!==b.ref&&
|
4721 |
+
(b.effectTag|=128)}return null;case 6:if(a&&null!=b.stateNode)w(a,b,a.memoizedProps,m);else{if("string"!==typeof m)return null===b.stateNode?E("166"):void 0,null;a=v();c=u();L(b)?I(b)&&d(b):b.stateNode=f(m,a,c,b)}return null;case 7:(m=b.memoizedProps)?void 0:E("165");b.tag=8;A=[];a:for((p=b.stateNode)&&(p["return"]=b);null!==p;){if(5===p.tag||6===p.tag||4===p.tag)E("247");else if(9===p.tag)A.push(p.type);else if(null!==p.child){p.child["return"]=p;p=p.child;continue}for(;null===p.sibling;){if(null===
|
4722 |
+
p["return"]||p["return"]===b)break a;p=p["return"]}p.sibling["return"]=p["return"];p=p.sibling}p=m.handler;m=p(m.props,A);b.child=bf(b,null!==a?a.child:null,m,c);return b.child;case 8:return b.tag=7,null;case 9:return null;case 10:return null;case 4:return z(b),N(b),null;case 0:E("167");default:E("156")}}}}
|
4723 |
+
function ff(a,b){function c(a){var c=a.ref;if(null!==c)try{c(null)}catch(A){b(a,A)}}function d(a){"function"===typeof Ee&&Ee(a);switch(a.tag){case 2:c(a);var d=a.stateNode;if("function"===typeof d.componentWillUnmount)try{d.props=a.memoizedProps,d.state=a.memoizedState,d.componentWillUnmount()}catch(A){b(a,A)}break;case 5:c(a);break;case 7:e(a.stateNode);break;case 4:k&&g(a)}}function e(a){for(var b=a;;)if(d(b),null===b.child||k&&4===b.tag){if(b===a)break;for(;null===b.sibling;){if(null===b["return"]||
|
4724 |
+
b["return"]===a)return;b=b["return"]}b.sibling["return"]=b["return"];b=b.sibling}else b.child["return"]=b,b=b.child}function f(a){return 5===a.tag||3===a.tag||4===a.tag}function g(a){for(var b=a,c=!1,f=void 0,g=void 0;;){if(!c){c=b["return"];a:for(;;){null===c?E("160"):void 0;switch(c.tag){case 5:f=c.stateNode;g=!1;break a;case 3:f=c.stateNode.containerInfo;g=!0;break a;case 4:f=c.stateNode.containerInfo;g=!0;break a}c=c["return"]}c=!0}if(5===b.tag||6===b.tag)e(b),g?J(f,b.stateNode):N(f,b.stateNode);
|
4725 |
+
else if(4===b.tag?f=b.stateNode.containerInfo:d(b),null!==b.child){b.child["return"]=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b["return"]||b["return"]===a)return;b=b["return"];4===b.tag&&(c=!1)}b.sibling["return"]=b["return"];b=b.sibling}}var h=a.getPublicInstance,k=a.mutation;a=a.persistence;k||(a?E("235"):E("236"));var q=k.commitMount,v=k.commitUpdate,y=k.resetTextContent,u=k.commitTextUpdate,z=k.appendChild,G=k.appendChildToContainer,I=k.insertBefore,L=k.insertInContainerBefore,
|
4726 |
+
N=k.removeChild,J=k.removeChildFromContainer;return{commitResetTextContent:function(a){y(a.stateNode)},commitPlacement:function(a){a:{for(var b=a["return"];null!==b;){if(f(b)){var c=b;break a}b=b["return"]}E("160");c=void 0}var d=b=void 0;switch(c.tag){case 5:b=c.stateNode;d=!1;break;case 3:b=c.stateNode.containerInfo;d=!0;break;case 4:b=c.stateNode.containerInfo;d=!0;break;default:E("161")}c.effectTag&16&&(y(b),c.effectTag&=-17);a:b:for(c=a;;){for(;null===c.sibling;){if(null===c["return"]||f(c["return"])){c=
|
4727 |
+
null;break a}c=c["return"]}c.sibling["return"]=c["return"];for(c=c.sibling;5!==c.tag&&6!==c.tag;){if(c.effectTag&2)continue b;if(null===c.child||4===c.tag)continue b;else c.child["return"]=c,c=c.child}if(!(c.effectTag&2)){c=c.stateNode;break a}}for(var e=a;;){if(5===e.tag||6===e.tag)c?d?L(b,e.stateNode,c):I(b,e.stateNode,c):d?G(b,e.stateNode):z(b,e.stateNode);else if(4!==e.tag&&null!==e.child){e.child["return"]=e;e=e.child;continue}if(e===a)break;for(;null===e.sibling;){if(null===e["return"]||e["return"]===
|
4728 |
+
a)return;e=e["return"]}e.sibling["return"]=e["return"];e=e.sibling}},commitDeletion:function(a){g(a);a["return"]=null;a.child=null;a.alternate&&(a.alternate.child=null,a.alternate["return"]=null)},commitWork:function(a,b){switch(b.tag){case 2:break;case 5:var c=b.stateNode;if(null!=c){var d=b.memoizedProps;a=null!==a?a.memoizedProps:d;var e=b.type,f=b.updateQueue;b.updateQueue=null;null!==f&&v(c,f,e,a,d,b)}break;case 6:null===b.stateNode?E("162"):void 0;c=b.memoizedProps;u(b.stateNode,null!==a?a.memoizedProps:
|
4729 |
+
c,c);break;case 3:break;default:E("163")}},commitLifeCycles:function(a,b){switch(b.tag){case 2:var c=b.stateNode;if(b.effectTag&4)if(null===a)c.props=b.memoizedProps,c.state=b.memoizedState,c.componentDidMount();else{var d=a.memoizedProps;a=a.memoizedState;c.props=b.memoizedProps;c.state=b.memoizedState;c.componentDidUpdate(d,a)}b=b.updateQueue;null!==b&&Ke(b,c);break;case 3:c=b.updateQueue;null!==c&&Ke(c,null!==b.child?b.child.stateNode:null);break;case 5:c=b.stateNode;null===a&&b.effectTag&4&&q(c,
|
4730 |
+
b.type,b.memoizedProps,b);break;case 6:break;case 4:break;default:E("163")}},commitAttachRef:function(a){var b=a.ref;if(null!==b){var c=a.stateNode;switch(a.tag){case 5:b(h(c));break;default:b(c)}}},commitDetachRef:function(a){a=a.ref;null!==a&&a(null)}}}var gf={};
|
4731 |
+
function hf(a){function b(a){a===gf?E("174"):void 0;return a}var c=a.getChildHostContext,d=a.getRootHostContext,e={current:gf},f={current:gf},g={current:gf};return{getHostContext:function(){return b(e.current)},getRootHostContainer:function(){return b(g.current)},popHostContainer:function(a){V(e,a);V(f,a);V(g,a)},popHostContext:function(a){f.current===a&&(V(e,a),V(f,a))},pushHostContainer:function(a,b){W(g,b,a);b=d(b);W(f,a,a);W(e,b,a)},pushHostContext:function(a){var d=b(g.current),h=b(e.current);
|
4732 |
+
d=c(h,a.type,d);h!==d&&(W(f,a,a),W(e,d,a))},resetHostContainer:function(){e.current=gf;g.current=gf}}}
|
4733 |
+
function jf(a){function b(a,b){var c=new Y(5,null,0);c.type="DELETED";c.stateNode=b;c["return"]=a;c.effectTag=8;null!==a.lastEffect?(a.lastEffect.nextEffect=c,a.lastEffect=c):a.firstEffect=a.lastEffect=c}function c(a,b){switch(a.tag){case 5:return b=f(b,a.type,a.pendingProps),null!==b?(a.stateNode=b,!0):!1;case 6:return b=g(b,a.pendingProps),null!==b?(a.stateNode=b,!0):!1;default:return!1}}function d(a){for(a=a["return"];null!==a&&5!==a.tag&&3!==a.tag;)a=a["return"];y=a}var e=a.shouldSetTextContent;
|
4734 |
+
a=a.hydration;if(!a)return{enterHydrationState:function(){return!1},resetHydrationState:function(){},tryToClaimNextHydratableInstance:function(){},prepareToHydrateHostInstance:function(){E("175")},prepareToHydrateHostTextInstance:function(){E("176")},popHydrationState:function(){return!1}};var f=a.canHydrateInstance,g=a.canHydrateTextInstance,h=a.getNextHydratableSibling,k=a.getFirstHydratableChild,q=a.hydrateInstance,v=a.hydrateTextInstance,y=null,u=null,z=!1;return{enterHydrationState:function(a){u=
|
4735 |
+
k(a.stateNode.containerInfo);y=a;return z=!0},resetHydrationState:function(){u=y=null;z=!1},tryToClaimNextHydratableInstance:function(a){if(z){var d=u;if(d){if(!c(a,d)){d=h(d);if(!d||!c(a,d)){a.effectTag|=2;z=!1;y=a;return}b(y,u)}y=a;u=k(d)}else a.effectTag|=2,z=!1,y=a}},prepareToHydrateHostInstance:function(a,b,c){b=q(a.stateNode,a.type,a.memoizedProps,b,c,a);a.updateQueue=b;return null!==b?!0:!1},prepareToHydrateHostTextInstance:function(a){return v(a.stateNode,a.memoizedProps,a)},popHydrationState:function(a){if(a!==
|
4736 |
+
y)return!1;if(!z)return d(a),z=!0,!1;var c=a.type;if(5!==a.tag||"head"!==c&&"body"!==c&&!e(c,a.memoizedProps))for(c=u;c;)b(a,c),c=h(c);d(a);u=y?h(a.stateNode):null;return!0}}}
|
4737 |
+
function kf(a){function b(a){Qb=ja=!0;var b=a.stateNode;b.current===a?E("177"):void 0;b.isReadyForCommit=!1;id.current=null;if(1<a.effectTag)if(null!==a.lastEffect){a.lastEffect.nextEffect=a;var c=a.firstEffect}else c=a;else c=a.firstEffect;yg();for(t=c;null!==t;){var d=!1,e=void 0;try{for(;null!==t;){var f=t.effectTag;f&16&&zg(t);if(f&128){var g=t.alternate;null!==g&&Ag(g)}switch(f&-242){case 2:Ne(t);t.effectTag&=-3;break;case 6:Ne(t);t.effectTag&=-3;Oe(t.alternate,t);break;case 4:Oe(t.alternate,
|
4738 |
+
t);break;case 8:Sc=!0,Bg(t),Sc=!1}t=t.nextEffect}}catch(Tc){d=!0,e=Tc}d&&(null===t?E("178"):void 0,h(t,e),null!==t&&(t=t.nextEffect))}Cg();b.current=a;for(t=c;null!==t;){c=!1;d=void 0;try{for(;null!==t;){var k=t.effectTag;k&36&&Dg(t.alternate,t);k&128&&Eg(t);if(k&64)switch(e=t,f=void 0,null!==R&&(f=R.get(e),R["delete"](e),null==f&&null!==e.alternate&&(e=e.alternate,f=R.get(e),R["delete"](e))),null==f?E("184"):void 0,e.tag){case 2:e.stateNode.componentDidCatch(f.error,{componentStack:f.componentStack});
|
4739 |
+
break;case 3:null===ca&&(ca=f.error);break;default:E("157")}var Qc=t.nextEffect;t.nextEffect=null;t=Qc}}catch(Tc){c=!0,d=Tc}c&&(null===t?E("178"):void 0,h(t,d),null!==t&&(t=t.nextEffect))}ja=Qb=!1;"function"===typeof De&&De(a.stateNode);ha&&(ha.forEach(G),ha=null);null!==ca&&(a=ca,ca=null,Ob(a));b=b.current.expirationTime;0===b&&(qa=R=null);return b}function c(a){for(;;){var b=Fg(a.alternate,a,H),c=a["return"],d=a.sibling;var e=a;if(2147483647===H||2147483647!==e.expirationTime){if(2!==e.tag&&3!==
|
4740 |
+
e.tag)var f=0;else f=e.updateQueue,f=null===f?0:f.expirationTime;for(var g=e.child;null!==g;)0!==g.expirationTime&&(0===f||f>g.expirationTime)&&(f=g.expirationTime),g=g.sibling;e.expirationTime=f}if(null!==b)return b;null!==c&&(null===c.firstEffect&&(c.firstEffect=a.firstEffect),null!==a.lastEffect&&(null!==c.lastEffect&&(c.lastEffect.nextEffect=a.firstEffect),c.lastEffect=a.lastEffect),1<a.effectTag&&(null!==c.lastEffect?c.lastEffect.nextEffect=a:c.firstEffect=a,c.lastEffect=a));if(null!==d)return d;
|
4741 |
+
if(null!==c)a=c;else{a.stateNode.isReadyForCommit=!0;break}}return null}function d(a){var b=rg(a.alternate,a,H);null===b&&(b=c(a));id.current=null;return b}function e(a){var b=Gg(a.alternate,a,H);null===b&&(b=c(a));id.current=null;return b}function f(a){if(null!==R){if(!(0===H||H>a))if(H<=Uc)for(;null!==F;)F=k(F)?e(F):d(F);else for(;null!==F&&!A();)F=k(F)?e(F):d(F)}else if(!(0===H||H>a))if(H<=Uc)for(;null!==F;)F=d(F);else for(;null!==F&&!A();)F=d(F)}function g(a,b){ja?E("243"):void 0;ja=!0;a.isReadyForCommit=
|
4742 |
+
!1;if(a!==ra||b!==H||null===F){for(;-1<he;)ge[he]=null,he--;je=D;ie.current=D;X.current=!1;x();ra=a;H=b;F=se(ra.current,null,b)}var c=!1,d=null;try{f(b)}catch(Rc){c=!0,d=Rc}for(;c;){if(eb){ca=d;break}var g=F;if(null===g)eb=!0;else{var k=h(g,d);null===k?E("183"):void 0;if(!eb){try{c=k;d=b;for(k=c;null!==g;){switch(g.tag){case 2:ne(g);break;case 5:qg(g);break;case 3:p(g);break;case 4:p(g)}if(g===k||g.alternate===k)break;g=g["return"]}F=e(c);f(d)}catch(Rc){c=!0;d=Rc;continue}break}}}b=ca;eb=ja=!1;ca=
|
4743 |
+
null;null!==b&&Ob(b);return a.isReadyForCommit?a.current.alternate:null}function h(a,b){var c=id.current=null,d=!1,e=!1,f=null;if(3===a.tag)c=a,q(a)&&(eb=!0);else for(var g=a["return"];null!==g&&null===c;){2===g.tag?"function"===typeof g.stateNode.componentDidCatch&&(d=!0,f=jd(g),c=g,e=!0):3===g.tag&&(c=g);if(q(g)){if(Sc||null!==ha&&(ha.has(g)||null!==g.alternate&&ha.has(g.alternate)))return null;c=null;e=!1}g=g["return"]}if(null!==c){null===qa&&(qa=new Set);qa.add(c);var h="";g=a;do{a:switch(g.tag){case 0:case 1:case 2:case 5:var k=
|
4744 |
+
g._debugOwner,Qc=g._debugSource;var m=jd(g);var n=null;k&&(n=jd(k));k=Qc;m="\n in "+(m||"Unknown")+(k?" (at "+k.fileName.replace(/^.*[\\\/]/,"")+":"+k.lineNumber+")":n?" (created by "+n+")":"");break a;default:m=""}h+=m;g=g["return"]}while(g);g=h;a=jd(a);null===R&&(R=new Map);b={componentName:a,componentStack:g,error:b,errorBoundary:d?c.stateNode:null,errorBoundaryFound:d,errorBoundaryName:f,willRetry:e};R.set(c,b);try{var p=b.error;p&&p.suppressReactErrorLogging||console.error(p)}catch(Vc){Vc&&
|
4745 |
+
Vc.suppressReactErrorLogging||console.error(Vc)}Qb?(null===ha&&(ha=new Set),ha.add(c)):G(c);return c}null===ca&&(ca=b);return null}function k(a){return null!==R&&(R.has(a)||null!==a.alternate&&R.has(a.alternate))}function q(a){return null!==qa&&(qa.has(a)||null!==a.alternate&&qa.has(a.alternate))}function v(){return 20*(((I()+100)/20|0)+1)}function y(a){return 0!==ka?ka:ja?Qb?1:H:!Hg||a.internalContextTag&1?v():1}function u(a,b){return z(a,b,!1)}function z(a,b){for(;null!==a;){if(0===a.expirationTime||
|
4746 |
+
a.expirationTime>b)a.expirationTime=b;null!==a.alternate&&(0===a.alternate.expirationTime||a.alternate.expirationTime>b)&&(a.alternate.expirationTime=b);if(null===a["return"])if(3===a.tag){var c=a.stateNode;!ja&&c===ra&&b<H&&(F=ra=null,H=0);var d=c,e=b;Rb>Ig&&E("185");if(null===d.nextScheduledRoot)d.remainingExpirationTime=e,null===O?(sa=O=d,d.nextScheduledRoot=d):(O=O.nextScheduledRoot=d,O.nextScheduledRoot=sa);else{var f=d.remainingExpirationTime;if(0===f||e<f)d.remainingExpirationTime=e}Fa||(la?
|
4747 |
+
Sb&&(ma=d,na=1,m(ma,na)):1===e?w(1,null):L(e));!ja&&c===ra&&b<H&&(F=ra=null,H=0)}else break;a=a["return"]}}function G(a){z(a,1,!0)}function I(){return Uc=((Wc()-Pe)/10|0)+2}function L(a){if(0!==Tb){if(a>Tb)return;Jg(Xc)}var b=Wc()-Pe;Tb=a;Xc=Kg(J,{timeout:10*(a-2)-b})}function N(){var a=0,b=null;if(null!==O)for(var c=O,d=sa;null!==d;){var e=d.remainingExpirationTime;if(0===e){null===c||null===O?E("244"):void 0;if(d===d.nextScheduledRoot){sa=O=d.nextScheduledRoot=null;break}else if(d===sa)sa=e=d.nextScheduledRoot,
|
4748 |
+
O.nextScheduledRoot=e,d.nextScheduledRoot=null;else if(d===O){O=c;O.nextScheduledRoot=sa;d.nextScheduledRoot=null;break}else c.nextScheduledRoot=d.nextScheduledRoot,d.nextScheduledRoot=null;d=c.nextScheduledRoot}else{if(0===a||e<a)a=e,b=d;if(d===O)break;c=d;d=d.nextScheduledRoot}}c=ma;null!==c&&c===b?Rb++:Rb=0;ma=b;na=a}function J(a){w(0,a)}function w(a,b){fb=b;for(N();null!==ma&&0!==na&&(0===a||na<=a)&&!Yc;)m(ma,na),N();null!==fb&&(Tb=0,Xc=-1);0!==na&&L(na);fb=null;Yc=!1;Rb=0;if(Ub)throw a=Zc,Zc=
|
4749 |
+
null,Ub=!1,a;}function m(a,c){Fa?E("245"):void 0;Fa=!0;if(c<=I()){var d=a.finishedWork;null!==d?(a.finishedWork=null,a.remainingExpirationTime=b(d)):(a.finishedWork=null,d=g(a,c),null!==d&&(a.remainingExpirationTime=b(d)))}else d=a.finishedWork,null!==d?(a.finishedWork=null,a.remainingExpirationTime=b(d)):(a.finishedWork=null,d=g(a,c),null!==d&&(A()?a.finishedWork=d:a.remainingExpirationTime=b(d)));Fa=!1}function A(){return null===fb||fb.timeRemaining()>Lg?!1:Yc=!0}function Ob(a){null===ma?E("246"):
|
4750 |
+
void 0;ma.remainingExpirationTime=0;Ub||(Ub=!0,Zc=a)}var r=hf(a),n=jf(a),p=r.popHostContainer,qg=r.popHostContext,x=r.resetHostContainer,Me=df(a,r,n,u,y),rg=Me.beginWork,Gg=Me.beginFailedWork,Fg=ef(a,r,n).completeWork;r=ff(a,h);var zg=r.commitResetTextContent,Ne=r.commitPlacement,Bg=r.commitDeletion,Oe=r.commitWork,Dg=r.commitLifeCycles,Eg=r.commitAttachRef,Ag=r.commitDetachRef,Wc=a.now,Kg=a.scheduleDeferredCallback,Jg=a.cancelDeferredCallback,Hg=a.useSyncScheduling,yg=a.prepareForCommit,Cg=a.resetAfterCommit,
|
4751 |
+
Pe=Wc(),Uc=2,ka=0,ja=!1,F=null,ra=null,H=0,t=null,R=null,qa=null,ha=null,ca=null,eb=!1,Qb=!1,Sc=!1,sa=null,O=null,Tb=0,Xc=-1,Fa=!1,ma=null,na=0,Yc=!1,Ub=!1,Zc=null,fb=null,la=!1,Sb=!1,Ig=1E3,Rb=0,Lg=1;return{computeAsyncExpiration:v,computeExpirationForFiber:y,scheduleWork:u,batchedUpdates:function(a,b){var c=la;la=!0;try{return a(b)}finally{(la=c)||Fa||w(1,null)}},unbatchedUpdates:function(a){if(la&&!Sb){Sb=!0;try{return a()}finally{Sb=!1}}return a()},flushSync:function(a){var b=la;la=!0;try{a:{var c=
|
4752 |
+
ka;ka=1;try{var d=a();break a}finally{ka=c}d=void 0}return d}finally{la=b,Fa?E("187"):void 0,w(1,null)}},deferredUpdates:function(a){var b=ka;ka=v();try{return a()}finally{ka=b}}}}
|
4753 |
+
function lf(a){function b(a){a=od(a);return null===a?null:a.stateNode}var c=a.getPublicInstance;a=kf(a);var d=a.computeAsyncExpiration,e=a.computeExpirationForFiber,f=a.scheduleWork;return{createContainer:function(a,b){var c=new Y(3,null,0);a={current:c,containerInfo:a,pendingChildren:null,remainingExpirationTime:0,isReadyForCommit:!1,finishedWork:null,context:null,pendingContext:null,hydrate:b,nextScheduledRoot:null};return c.stateNode=a},updateContainer:function(a,b,c,q){var g=b.current;if(c){c=
|
4754 |
+
c._reactInternalFiber;var h;b:{2===kd(c)&&2===c.tag?void 0:E("170");for(h=c;3!==h.tag;){if(le(h)){h=h.stateNode.__reactInternalMemoizedMergedChildContext;break b}(h=h["return"])?void 0:E("171")}h=h.stateNode.context}c=le(c)?pe(c,h):h}else c=D;null===b.context?b.context=c:b.pendingContext=c;b=q;b=void 0===b?null:b;q=null!=a&&null!=a.type&&null!=a.type.prototype&&!0===a.type.prototype.unstable_isAsyncReactComponent?d():e(g);He(g,{expirationTime:q,partialState:{element:a},callback:b,isReplace:!1,isForced:!1,
|
4755 |
+
nextCallback:null,next:null});f(g,q)},batchedUpdates:a.batchedUpdates,unbatchedUpdates:a.unbatchedUpdates,deferredUpdates:a.deferredUpdates,flushSync:a.flushSync,getPublicRootInstance:function(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 5:return c(a.child.stateNode);default:return a.child.stateNode}},findHostInstance:b,findHostInstanceWithNoPortals:function(a){a=pd(a);return null===a?null:a.stateNode},injectIntoDevTools:function(a){var c=a.findFiberByHostInstance;return Ce(B({},
|
4756 |
+
a,{findHostInstanceByFiber:function(a){return b(a)},findFiberByHostInstance:function(a){return c?c(a):null}}))}}}var mf=Object.freeze({default:lf}),nf=mf&&lf||mf,of=nf["default"]?nf["default"]:nf;function pf(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Ue,key:null==d?null:""+d,children:a,containerInfo:b,implementation:c}}var qf="object"===typeof performance&&"function"===typeof performance.now,rf=void 0;rf=qf?function(){return performance.now()}:function(){return Date.now()};
|
4757 |
+
var sf=void 0,tf=void 0;
|
4758 |
+
if(l.canUseDOM)if("function"!==typeof requestIdleCallback||"function"!==typeof cancelIdleCallback){var uf=null,vf=!1,wf=-1,xf=!1,yf=0,zf=33,Af=33,Bf;Bf=qf?{didTimeout:!1,timeRemaining:function(){var a=yf-performance.now();return 0<a?a:0}}:{didTimeout:!1,timeRemaining:function(){var a=yf-Date.now();return 0<a?a:0}};var Cf="__reactIdleCallback$"+Math.random().toString(36).slice(2);window.addEventListener("message",function(a){if(a.source===window&&a.data===Cf){vf=!1;a=rf();if(0>=yf-a)if(-1!==wf&&wf<=
|
4759 |
+
a)Bf.didTimeout=!0;else{xf||(xf=!0,requestAnimationFrame(Df));return}else Bf.didTimeout=!1;wf=-1;a=uf;uf=null;null!==a&&a(Bf)}},!1);var Df=function(a){xf=!1;var b=a-yf+Af;b<Af&&zf<Af?(8>b&&(b=8),Af=b<zf?zf:b):zf=b;yf=a+Af;vf||(vf=!0,window.postMessage(Cf,"*"))};sf=function(a,b){uf=a;null!=b&&"number"===typeof b.timeout&&(wf=rf()+b.timeout);xf||(xf=!0,requestAnimationFrame(Df));return 0};tf=function(){uf=null;vf=!1;wf=-1}}else sf=window.requestIdleCallback,tf=window.cancelIdleCallback;else sf=function(a){return setTimeout(function(){a({timeRemaining:function(){return Infinity}})})},
|
4760 |
+
tf=function(a){clearTimeout(a)};var Ef=/^[: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]*$/,Ff={},Gf={};
|
4761 |
+
function Hf(a){if(Gf.hasOwnProperty(a))return!0;if(Ff.hasOwnProperty(a))return!1;if(Ef.test(a))return Gf[a]=!0;Ff[a]=!0;return!1}
|
4762 |
+
function If(a,b,c){var d=wa(b);if(d&&va(b,c)){var e=d.mutationMethod;e?e(a,c):null==c||d.hasBooleanValue&&!c||d.hasNumericValue&&isNaN(c)||d.hasPositiveNumericValue&&1>c||d.hasOverloadedBooleanValue&&!1===c?Jf(a,b):d.mustUseProperty?a[d.propertyName]=c:(b=d.attributeName,(e=d.attributeNamespace)?a.setAttributeNS(e,b,""+c):d.hasBooleanValue||d.hasOverloadedBooleanValue&&!0===c?a.setAttribute(b,""):a.setAttribute(b,""+c))}else Kf(a,b,va(b,c)?c:null)}
|
4763 |
+
function Kf(a,b,c){Hf(b)&&(null==c?a.removeAttribute(b):a.setAttribute(b,""+c))}function Jf(a,b){var c=wa(b);c?(b=c.mutationMethod)?b(a,void 0):c.mustUseProperty?a[c.propertyName]=c.hasBooleanValue?!1:"":a.removeAttribute(c.attributeName):a.removeAttribute(b)}
|
4764 |
+
function Lf(a,b){var c=b.value,d=b.checked;return B({type:void 0,step:void 0,min:void 0,max:void 0},b,{defaultChecked:void 0,defaultValue:void 0,value:null!=c?c:a._wrapperState.initialValue,checked:null!=d?d:a._wrapperState.initialChecked})}function Mf(a,b){var c=b.defaultValue;a._wrapperState={initialChecked:null!=b.checked?b.checked:b.defaultChecked,initialValue:null!=b.value?b.value:c,controlled:"checkbox"===b.type||"radio"===b.type?null!=b.checked:null!=b.value}}
|
4765 |
+
function Nf(a,b){b=b.checked;null!=b&&If(a,"checked",b)}function Of(a,b){Nf(a,b);var c=b.value;if(null!=c)if(0===c&&""===a.value)a.value="0";else if("number"===b.type){if(b=parseFloat(a.value)||0,c!=b||c==b&&a.value!=c)a.value=""+c}else a.value!==""+c&&(a.value=""+c);else null==b.value&&null!=b.defaultValue&&a.defaultValue!==""+b.defaultValue&&(a.defaultValue=""+b.defaultValue),null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked)}
|
4766 |
+
function Pf(a,b){switch(b.type){case "submit":case "reset":break;case "color":case "date":case "datetime":case "datetime-local":case "month":case "time":case "week":a.value="";a.value=a.defaultValue;break;default:a.value=a.value}b=a.name;""!==b&&(a.name="");a.defaultChecked=!a.defaultChecked;a.defaultChecked=!a.defaultChecked;""!==b&&(a.name=b)}function Qf(a){var b="";aa.Children.forEach(a,function(a){null==a||"string"!==typeof a&&"number"!==typeof a||(b+=a)});return b}
|
4767 |
+
function Rf(a,b){a=B({children:void 0},b);if(b=Qf(b.children))a.children=b;return a}function Sf(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e<c.length;e++)b["$"+c[e]]=!0;for(c=0;c<a.length;c++)e=b.hasOwnProperty("$"+a[c].value),a[c].selected!==e&&(a[c].selected=e),e&&d&&(a[c].defaultSelected=!0)}else{c=""+c;b=null;for(e=0;e<a.length;e++){if(a[e].value===c){a[e].selected=!0;d&&(a[e].defaultSelected=!0);return}null!==b||a[e].disabled||(b=a[e])}null!==b&&(b.selected=!0)}}
|
4768 |
+
function Tf(a,b){var c=b.value;a._wrapperState={initialValue:null!=c?c:b.defaultValue,wasMultiple:!!b.multiple}}function Uf(a,b){null!=b.dangerouslySetInnerHTML?E("91"):void 0;return B({},b,{value:void 0,defaultValue:void 0,children:""+a._wrapperState.initialValue})}function Vf(a,b){var c=b.value;null==c&&(c=b.defaultValue,b=b.children,null!=b&&(null!=c?E("92"):void 0,Array.isArray(b)&&(1>=b.length?void 0:E("93"),b=b[0]),c=""+b),null==c&&(c=""));a._wrapperState={initialValue:""+c}}
|
4769 |
+
function Wf(a,b){var c=b.value;null!=c&&(c=""+c,c!==a.value&&(a.value=c),null==b.defaultValue&&(a.defaultValue=c));null!=b.defaultValue&&(a.defaultValue=b.defaultValue)}function Xf(a){var b=a.textContent;b===a._wrapperState.initialValue&&(a.value=b)}var Yf={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};
|
4770 |
+
function Zf(a){switch(a){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 $f(a,b){return null==a||"http://www.w3.org/1999/xhtml"===a?Zf(b):"http://www.w3.org/2000/svg"===a&&"foreignObject"===b?"http://www.w3.org/1999/xhtml":a}
|
4771 |
+
var ag=void 0,bg=function(a){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(b,c,d,e){MSApp.execUnsafeLocalFunction(function(){return a(b,c,d,e)})}:a}(function(a,b){if(a.namespaceURI!==Yf.svg||"innerHTML"in a)a.innerHTML=b;else{ag=ag||document.createElement("div");ag.innerHTML="\x3csvg\x3e"+b+"\x3c/svg\x3e";for(b=ag.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}});
|
4772 |
+
function cg(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b}
|
4773 |
+
var dg={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,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,
|
4774 |
+
stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},eg=["Webkit","ms","Moz","O"];Object.keys(dg).forEach(function(a){eg.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);dg[b]=dg[a]})});
|
4775 |
+
function fg(a,b){a=a.style;for(var c in b)if(b.hasOwnProperty(c)){var d=0===c.indexOf("--");var e=c;var f=b[c];e=null==f||"boolean"===typeof f||""===f?"":d||"number"!==typeof f||0===f||dg.hasOwnProperty(e)&&dg[e]?(""+f).trim():f+"px";"float"===c&&(c="cssFloat");d?a.setProperty(c,e):a[c]=e}}var gg=B({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});
|
4776 |
+
function hg(a,b,c){b&&(gg[a]&&(null!=b.children||null!=b.dangerouslySetInnerHTML?E("137",a,c()):void 0),null!=b.dangerouslySetInnerHTML&&(null!=b.children?E("60"):void 0,"object"===typeof b.dangerouslySetInnerHTML&&"__html"in b.dangerouslySetInnerHTML?void 0:E("61")),null!=b.style&&"object"!==typeof b.style?E("62",c()):void 0)}
|
4777 |
+
function ig(a,b){if(-1===a.indexOf("-"))return"string"===typeof b.is;switch(a){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 jg=Yf.html,kg=C.thatReturns("");
|
4778 |
+
function lg(a,b){a=9===a.nodeType||11===a.nodeType?a:a.ownerDocument;var c=Hd(a);b=Sa[b];for(var d=0;d<b.length;d++){var e=b[d];c.hasOwnProperty(e)&&c[e]||("topScroll"===e?wd("topScroll","scroll",a):"topFocus"===e||"topBlur"===e?(wd("topFocus","focus",a),wd("topBlur","blur",a),c.topBlur=!0,c.topFocus=!0):"topCancel"===e?(yc("cancel",!0)&&wd("topCancel","cancel",a),c.topCancel=!0):"topClose"===e?(yc("close",!0)&&wd("topClose","close",a),c.topClose=!0):Dd.hasOwnProperty(e)&&U(e,Dd[e],a),c[e]=!0)}}
|
4779 |
+
var mg={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",
|
4780 |
+
topWaiting:"waiting"};function ng(a,b,c,d){c=9===c.nodeType?c:c.ownerDocument;d===jg&&(d=Zf(a));d===jg?"script"===a?(a=c.createElement("div"),a.innerHTML="\x3cscript\x3e\x3c/script\x3e",a=a.removeChild(a.firstChild)):a="string"===typeof b.is?c.createElement(a,{is:b.is}):c.createElement(a):a=c.createElementNS(d,a);return a}function og(a,b){return(9===b.nodeType?b:b.ownerDocument).createTextNode(a)}
|
4781 |
+
function pg(a,b,c,d){var e=ig(b,c);switch(b){case "iframe":case "object":U("topLoad","load",a);var f=c;break;case "video":case "audio":for(f in mg)mg.hasOwnProperty(f)&&U(f,mg[f],a);f=c;break;case "source":U("topError","error",a);f=c;break;case "img":case "image":U("topError","error",a);U("topLoad","load",a);f=c;break;case "form":U("topReset","reset",a);U("topSubmit","submit",a);f=c;break;case "details":U("topToggle","toggle",a);f=c;break;case "input":Mf(a,c);f=Lf(a,c);U("topInvalid","invalid",a);
|
4782 |
+
lg(d,"onChange");break;case "option":f=Rf(a,c);break;case "select":Tf(a,c);f=B({},c,{value:void 0});U("topInvalid","invalid",a);lg(d,"onChange");break;case "textarea":Vf(a,c);f=Uf(a,c);U("topInvalid","invalid",a);lg(d,"onChange");break;default:f=c}hg(b,f,kg);var g=f,h;for(h in g)if(g.hasOwnProperty(h)){var k=g[h];"style"===h?fg(a,k,kg):"dangerouslySetInnerHTML"===h?(k=k?k.__html:void 0,null!=k&&bg(a,k)):"children"===h?"string"===typeof k?("textarea"!==b||""!==k)&&cg(a,k):"number"===typeof k&&cg(a,
|
4783 |
+
""+k):"suppressContentEditableWarning"!==h&&"suppressHydrationWarning"!==h&&"autoFocus"!==h&&(Ra.hasOwnProperty(h)?null!=k&&lg(d,h):e?Kf(a,h,k):null!=k&&If(a,h,k))}switch(b){case "input":Bc(a);Pf(a,c);break;case "textarea":Bc(a);Xf(a,c);break;case "option":null!=c.value&&a.setAttribute("value",c.value);break;case "select":a.multiple=!!c.multiple;b=c.value;null!=b?Sf(a,!!c.multiple,b,!1):null!=c.defaultValue&&Sf(a,!!c.multiple,c.defaultValue,!0);break;default:"function"===typeof f.onClick&&(a.onclick=
|
4784 |
+
C)}}
|
4785 |
+
function sg(a,b,c,d,e){var f=null;switch(b){case "input":c=Lf(a,c);d=Lf(a,d);f=[];break;case "option":c=Rf(a,c);d=Rf(a,d);f=[];break;case "select":c=B({},c,{value:void 0});d=B({},d,{value:void 0});f=[];break;case "textarea":c=Uf(a,c);d=Uf(a,d);f=[];break;default:"function"!==typeof c.onClick&&"function"===typeof d.onClick&&(a.onclick=C)}hg(b,d,kg);var g,h;a=null;for(g in c)if(!d.hasOwnProperty(g)&&c.hasOwnProperty(g)&&null!=c[g])if("style"===g)for(h in b=c[g],b)b.hasOwnProperty(h)&&(a||(a={}),a[h]=
|
4786 |
+
"");else"dangerouslySetInnerHTML"!==g&&"children"!==g&&"suppressContentEditableWarning"!==g&&"suppressHydrationWarning"!==g&&"autoFocus"!==g&&(Ra.hasOwnProperty(g)?f||(f=[]):(f=f||[]).push(g,null));for(g in d){var k=d[g];b=null!=c?c[g]:void 0;if(d.hasOwnProperty(g)&&k!==b&&(null!=k||null!=b))if("style"===g)if(b){for(h in b)!b.hasOwnProperty(h)||k&&k.hasOwnProperty(h)||(a||(a={}),a[h]="");for(h in k)k.hasOwnProperty(h)&&b[h]!==k[h]&&(a||(a={}),a[h]=k[h])}else a||(f||(f=[]),f.push(g,a)),a=k;else"dangerouslySetInnerHTML"===
|
4787 |
+
g?(k=k?k.__html:void 0,b=b?b.__html:void 0,null!=k&&b!==k&&(f=f||[]).push(g,""+k)):"children"===g?b===k||"string"!==typeof k&&"number"!==typeof k||(f=f||[]).push(g,""+k):"suppressContentEditableWarning"!==g&&"suppressHydrationWarning"!==g&&(Ra.hasOwnProperty(g)?(null!=k&&lg(e,g),f||b===k||(f=[])):(f=f||[]).push(g,k))}a&&(f=f||[]).push("style",a);return f}
|
4788 |
+
function tg(a,b,c,d,e){"input"===c&&"radio"===e.type&&null!=e.name&&Nf(a,e);ig(c,d);d=ig(c,e);for(var f=0;f<b.length;f+=2){var g=b[f],h=b[f+1];"style"===g?fg(a,h,kg):"dangerouslySetInnerHTML"===g?bg(a,h):"children"===g?cg(a,h):d?null!=h?Kf(a,g,h):a.removeAttribute(g):null!=h?If(a,g,h):Jf(a,g)}switch(c){case "input":Of(a,e);break;case "textarea":Wf(a,e);break;case "select":a._wrapperState.initialValue=void 0,b=a._wrapperState.wasMultiple,a._wrapperState.wasMultiple=!!e.multiple,c=e.value,null!=c?Sf(a,
|
4789 |
+
!!e.multiple,c,!1):b!==!!e.multiple&&(null!=e.defaultValue?Sf(a,!!e.multiple,e.defaultValue,!0):Sf(a,!!e.multiple,e.multiple?[]:"",!1))}}
|
4790 |
+
function ug(a,b,c,d,e){switch(b){case "iframe":case "object":U("topLoad","load",a);break;case "video":case "audio":for(var f in mg)mg.hasOwnProperty(f)&&U(f,mg[f],a);break;case "source":U("topError","error",a);break;case "img":case "image":U("topError","error",a);U("topLoad","load",a);break;case "form":U("topReset","reset",a);U("topSubmit","submit",a);break;case "details":U("topToggle","toggle",a);break;case "input":Mf(a,c);U("topInvalid","invalid",a);lg(e,"onChange");break;case "select":Tf(a,c);
|
4791 |
+
U("topInvalid","invalid",a);lg(e,"onChange");break;case "textarea":Vf(a,c),U("topInvalid","invalid",a),lg(e,"onChange")}hg(b,c,kg);d=null;for(var g in c)c.hasOwnProperty(g)&&(f=c[g],"children"===g?"string"===typeof f?a.textContent!==f&&(d=["children",f]):"number"===typeof f&&a.textContent!==""+f&&(d=["children",""+f]):Ra.hasOwnProperty(g)&&null!=f&&lg(e,g));switch(b){case "input":Bc(a);Pf(a,c);break;case "textarea":Bc(a);Xf(a,c);break;case "select":case "option":break;default:"function"===typeof c.onClick&&
|
4792 |
+
(a.onclick=C)}return d}function vg(a,b){return a.nodeValue!==b}
|
4793 |
+
var wg=Object.freeze({createElement:ng,createTextNode:og,setInitialProperties:pg,diffProperties:sg,updateProperties:tg,diffHydratedProperties:ug,diffHydratedText:vg,warnForUnmatchedText:function(){},warnForDeletedHydratableElement:function(){},warnForDeletedHydratableText:function(){},warnForInsertedHydratedElement:function(){},warnForInsertedHydratedText:function(){},restoreControlledState:function(a,b,c){switch(b){case "input":Of(a,c);b=c.name;if("radio"===c.type&&null!=b){for(c=a;c.parentNode;)c=
|
4794 |
+
c.parentNode;c=c.querySelectorAll("input[name\x3d"+JSON.stringify(""+b)+'][type\x3d"radio"]');for(b=0;b<c.length;b++){var d=c[b];if(d!==a&&d.form===a.form){var e=rb(d);e?void 0:E("90");Cc(d);Of(d,e)}}}break;case "textarea":Wf(a,c);break;case "select":b=c.value,null!=b&&Sf(a,!!c.multiple,b,!1)}}});nc.injectFiberControlledHostComponent(wg);var xg=null,Mg=null;function Ng(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||" react-mount-point-unstable "!==a.nodeValue))}
|
4795 |
+
function Og(a){a=a?9===a.nodeType?a.documentElement:a.firstChild:null;return!(!a||1!==a.nodeType||!a.hasAttribute("data-reactroot"))}
|
4796 |
+
var Z=of({getRootHostContext:function(a){var b=a.nodeType;switch(b){case 9:case 11:a=(a=a.documentElement)?a.namespaceURI:$f(null,"");break;default:b=8===b?a.parentNode:a,a=b.namespaceURI||null,b=b.tagName,a=$f(a,b)}return a},getChildHostContext:function(a,b){return $f(a,b)},getPublicInstance:function(a){return a},prepareForCommit:function(){xg=td;var a=da();if(Kd(a)){if("selectionStart"in a)var b={start:a.selectionStart,end:a.selectionEnd};else a:{var c=window.getSelection&&window.getSelection();
|
4797 |
+
if(c&&0!==c.rangeCount){b=c.anchorNode;var d=c.anchorOffset,e=c.focusNode;c=c.focusOffset;try{b.nodeType,e.nodeType}catch(z){b=null;break a}var f=0,g=-1,h=-1,k=0,q=0,v=a,y=null;b:for(;;){for(var u;;){v!==b||0!==d&&3!==v.nodeType||(g=f+d);v!==e||0!==c&&3!==v.nodeType||(h=f+c);3===v.nodeType&&(f+=v.nodeValue.length);if(null===(u=v.firstChild))break;y=v;v=u}for(;;){if(v===a)break b;y===b&&++k===d&&(g=f);y===e&&++q===c&&(h=f);if(null!==(u=v.nextSibling))break;v=y;y=v.parentNode}v=u}b=-1===g||-1===h?null:
|
4798 |
+
{start:g,end:h}}else b=null}b=b||{start:0,end:0}}else b=null;Mg={focusedElem:a,selectionRange:b};ud(!1)},resetAfterCommit:function(){var a=Mg,b=da(),c=a.focusedElem,d=a.selectionRange;if(b!==c&&fa(document.documentElement,c)){if(Kd(c))if(b=d.start,a=d.end,void 0===a&&(a=b),"selectionStart"in c)c.selectionStart=b,c.selectionEnd=Math.min(a,c.value.length);else if(window.getSelection){b=window.getSelection();var e=c[Eb()].length;a=Math.min(d.start,e);d=void 0===d.end?a:Math.min(d.end,e);!b.extend&&a>
|
4799 |
+
d&&(e=d,d=a,a=e);e=Jd(c,a);var f=Jd(c,d);if(e&&f&&(1!==b.rangeCount||b.anchorNode!==e.node||b.anchorOffset!==e.offset||b.focusNode!==f.node||b.focusOffset!==f.offset)){var g=document.createRange();g.setStart(e.node,e.offset);b.removeAllRanges();a>d?(b.addRange(g),b.extend(f.node,f.offset)):(g.setEnd(f.node,f.offset),b.addRange(g))}}b=[];for(a=c;a=a.parentNode;)1===a.nodeType&&b.push({element:a,left:a.scrollLeft,top:a.scrollTop});ia(c);for(c=0;c<b.length;c++)a=b[c],a.element.scrollLeft=a.left,a.element.scrollTop=
|
4800 |
+
a.top}Mg=null;ud(xg);xg=null},createInstance:function(a,b,c,d,e){a=ng(a,b,c,d);a[Q]=e;a[ob]=b;return a},appendInitialChild:function(a,b){a.appendChild(b)},finalizeInitialChildren:function(a,b,c,d){pg(a,b,c,d);a:{switch(b){case "button":case "input":case "select":case "textarea":a=!!c.autoFocus;break a}a=!1}return a},prepareUpdate:function(a,b,c,d,e){return sg(a,b,c,d,e)},shouldSetTextContent:function(a,b){return"textarea"===a||"string"===typeof b.children||"number"===typeof b.children||"object"===
|
4801 |
+
typeof b.dangerouslySetInnerHTML&&null!==b.dangerouslySetInnerHTML&&"string"===typeof b.dangerouslySetInnerHTML.__html},shouldDeprioritizeSubtree:function(a,b){return!!b.hidden},createTextInstance:function(a,b,c,d){a=og(a,b);a[Q]=d;return a},now:rf,mutation:{commitMount:function(a){a.focus()},commitUpdate:function(a,b,c,d,e){a[ob]=e;tg(a,b,c,d,e)},resetTextContent:function(a){a.textContent=""},commitTextUpdate:function(a,b,c){a.nodeValue=c},appendChild:function(a,b){a.appendChild(b)},appendChildToContainer:function(a,
|
4802 |
+
b){8===a.nodeType?a.parentNode.insertBefore(b,a):a.appendChild(b)},insertBefore:function(a,b,c){a.insertBefore(b,c)},insertInContainerBefore:function(a,b,c){8===a.nodeType?a.parentNode.insertBefore(b,c):a.insertBefore(b,c)},removeChild:function(a,b){a.removeChild(b)},removeChildFromContainer:function(a,b){8===a.nodeType?a.parentNode.removeChild(b):a.removeChild(b)}},hydration:{canHydrateInstance:function(a,b){return 1!==a.nodeType||b.toLowerCase()!==a.nodeName.toLowerCase()?null:a},canHydrateTextInstance:function(a,
|
4803 |
+
b){return""===b||3!==a.nodeType?null:a},getNextHydratableSibling:function(a){for(a=a.nextSibling;a&&1!==a.nodeType&&3!==a.nodeType;)a=a.nextSibling;return a},getFirstHydratableChild:function(a){for(a=a.firstChild;a&&1!==a.nodeType&&3!==a.nodeType;)a=a.nextSibling;return a},hydrateInstance:function(a,b,c,d,e,f){a[Q]=f;a[ob]=c;return ug(a,b,c,e,d)},hydrateTextInstance:function(a,b,c){a[Q]=c;return vg(a,b)},didNotMatchHydratedContainerTextInstance:function(){},didNotMatchHydratedTextInstance:function(){},
|
4804 |
+
didNotHydrateContainerInstance:function(){},didNotHydrateInstance:function(){},didNotFindHydratableContainerInstance:function(){},didNotFindHydratableContainerTextInstance:function(){},didNotFindHydratableInstance:function(){},didNotFindHydratableTextInstance:function(){}},scheduleDeferredCallback:sf,cancelDeferredCallback:tf,useSyncScheduling:!0});rc=Z.batchedUpdates;
|
4805 |
+
function Pg(a,b,c,d,e){Ng(c)?void 0:E("200");var f=c._reactRootContainer;if(f)Z.updateContainer(b,f,a,e);else{d=d||Og(c);if(!d)for(f=void 0;f=c.lastChild;)c.removeChild(f);var g=Z.createContainer(c,d);f=c._reactRootContainer=g;Z.unbatchedUpdates(function(){Z.updateContainer(b,g,a,e)})}return Z.getPublicRootInstance(f)}function Qg(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;Ng(b)?void 0:E("200");return pf(a,b,null,c)}
|
4806 |
+
function Rg(a,b){this._reactRootContainer=Z.createContainer(a,b)}Rg.prototype.render=function(a,b){Z.updateContainer(a,this._reactRootContainer,null,b)};Rg.prototype.unmount=function(a){Z.updateContainer(null,this._reactRootContainer,null,a)};
|
4807 |
+
var Sg={createPortal:Qg,findDOMNode:function(a){if(null==a)return null;if(1===a.nodeType)return a;var b=a._reactInternalFiber;if(b)return Z.findHostInstance(b);"function"===typeof a.render?E("188"):E("213",Object.keys(a))},hydrate:function(a,b,c){return Pg(null,a,b,!0,c)},render:function(a,b,c){return Pg(null,a,b,!1,c)},unstable_renderSubtreeIntoContainer:function(a,b,c,d){null==a||void 0===a._reactInternalFiber?E("38"):void 0;return Pg(a,b,c,!1,d)},unmountComponentAtNode:function(a){Ng(a)?void 0:
|
4808 |
+
E("40");return a._reactRootContainer?(Z.unbatchedUpdates(function(){Pg(null,null,a,!1,function(){a._reactRootContainer=null})}),!0):!1},unstable_createPortal:Qg,unstable_batchedUpdates:tc,unstable_deferredUpdates:Z.deferredUpdates,flushSync:Z.flushSync,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{EventPluginHub:mb,EventPluginRegistry:Va,EventPropagators:Cb,ReactControlledComponent:qc,ReactDOMComponentTree:sb,ReactDOMEventListener:xd}};
|
4809 |
+
Z.injectIntoDevTools({findFiberByHostInstance:pb,bundleType:0,version:"16.2.0",rendererPackageName:"react-dom"});var Tg=Object.freeze({default:Sg}),Ug=Tg&&Sg||Tg;module.exports=Ug["default"]?Ug["default"]:Ug;
|
4810 |
+
|
4811 |
+
|
4812 |
+
/***/ }),
|
4813 |
+
/* 125 */
|
4814 |
+
/***/ (function(module, exports, __webpack_require__) {
|
4815 |
+
|
4816 |
+
"use strict";
|
4817 |
+
/**
|
4818 |
+
* Copyright (c) 2013-present, Facebook, Inc.
|
4819 |
+
*
|
4820 |
+
* This source code is licensed under the MIT license found in the
|
4821 |
+
* LICENSE file in the root directory of this source tree.
|
4822 |
+
*
|
4823 |
+
*/
|
4824 |
+
|
4825 |
+
|
4826 |
+
|
4827 |
+
var canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);
|
4828 |
+
|
4829 |
+
/**
|
4830 |
+
* Simple, lightweight module assisting with the detection and context of
|
4831 |
+
* Worker. Helps avoid circular dependencies and allows code to reason about
|
4832 |
+
* whether or not they are in a Worker, even if they never include the main
|
4833 |
+
* `ReactWorker` dependency.
|
4834 |
+
*/
|
4835 |
+
var ExecutionEnvironment = {
|
4836 |
+
|
4837 |
+
canUseDOM: canUseDOM,
|
4838 |
+
|
4839 |
+
canUseWorkers: typeof Worker !== 'undefined',
|
4840 |
+
|
4841 |
+
canUseEventListeners: canUseDOM && !!(window.addEventListener || window.attachEvent),
|
4842 |
+
|
4843 |
+
canUseViewport: canUseDOM && !!window.screen,
|
4844 |
+
|
4845 |
+
isInWorker: !canUseDOM // For now, this is true - might change in the future.
|
4846 |
+
|
4847 |
+
};
|
4848 |
+
|
4849 |
+
module.exports = ExecutionEnvironment;
|
4850 |
+
|
4851 |
+
/***/ }),
|
4852 |
+
/* 126 */
|
4853 |
+
/***/ (function(module, exports, __webpack_require__) {
|
4854 |
+
|
4855 |
+
"use strict";
|
4856 |
+
|
4857 |
+
|
4858 |
+
/**
|
4859 |
+
* Copyright (c) 2013-present, Facebook, Inc.
|
4860 |
+
*
|
4861 |
+
* This source code is licensed under the MIT license found in the
|
4862 |
+
* LICENSE file in the root directory of this source tree.
|
4863 |
+
*
|
4864 |
+
* @typechecks
|
4865 |
+
*/
|
4866 |
+
|
4867 |
+
var emptyFunction = __webpack_require__(24);
|
4868 |
+
|
4869 |
+
/**
|
4870 |
+
* Upstream version of event listener. Does not take into account specific
|
4871 |
+
* nature of platform.
|
4872 |
+
*/
|
4873 |
+
var EventListener = {
|
4874 |
+
/**
|
4875 |
+
* Listen to DOM events during the bubble phase.
|
4876 |
+
*
|
4877 |
+
* @param {DOMEventTarget} target DOM element to register listener on.
|
4878 |
+
* @param {string} eventType Event type, e.g. 'click' or 'mouseover'.
|
4879 |
+
* @param {function} callback Callback function.
|
4880 |
+
* @return {object} Object with a `remove` method.
|
4881 |
+
*/
|
4882 |
+
listen: function listen(target, eventType, callback) {
|
4883 |
+
if (target.addEventListener) {
|
4884 |
+
target.addEventListener(eventType, callback, false);
|
4885 |
+
return {
|
4886 |
+
remove: function remove() {
|
4887 |
+
target.removeEventListener(eventType, callback, false);
|
4888 |
+
}
|
4889 |
+
};
|
4890 |
+
} else if (target.attachEvent) {
|
4891 |
+
target.attachEvent('on' + eventType, callback);
|
4892 |
+
return {
|
4893 |
+
remove: function remove() {
|
4894 |
+
target.detachEvent('on' + eventType, callback);
|
4895 |
+
}
|
4896 |
+
};
|
4897 |
+
}
|
4898 |
+
},
|
4899 |
+
|
4900 |
+
/**
|
4901 |
+
* Listen to DOM events during the capture phase.
|
4902 |
+
*
|
4903 |
+
* @param {DOMEventTarget} target DOM element to register listener on.
|
4904 |
+
* @param {string} eventType Event type, e.g. 'click' or 'mouseover'.
|
4905 |
+
* @param {function} callback Callback function.
|
4906 |
+
* @return {object} Object with a `remove` method.
|
4907 |
+
*/
|
4908 |
+
capture: function capture(target, eventType, callback) {
|
4909 |
+
if (target.addEventListener) {
|
4910 |
+
target.addEventListener(eventType, callback, true);
|
4911 |
+
return {
|
4912 |
+
remove: function remove() {
|
4913 |
+
target.removeEventListener(eventType, callback, true);
|
4914 |
+
}
|
4915 |
+
};
|
4916 |
+
} else {
|
4917 |
+
if (false) {
|
4918 |
+
console.error('Attempted to listen to events during the capture phase on a ' + 'browser that does not support the capture phase. Your application ' + 'will not receive some events.');
|
4919 |
+
}
|
4920 |
+
return {
|
4921 |
+
remove: emptyFunction
|
4922 |
+
};
|
4923 |
+
}
|
4924 |
+
},
|
4925 |
+
|
4926 |
+
registerDefault: function registerDefault() {}
|
4927 |
+
};
|
4928 |
+
|
4929 |
+
module.exports = EventListener;
|
4930 |
+
|
4931 |
+
/***/ }),
|
4932 |
+
/* 127 */
|
4933 |
+
/***/ (function(module, exports, __webpack_require__) {
|
4934 |
+
|
4935 |
+
"use strict";
|
4936 |
+
|
4937 |
+
|
4938 |
+
/**
|
4939 |
+
* Copyright (c) 2013-present, Facebook, Inc.
|
4940 |
+
*
|
4941 |
+
* This source code is licensed under the MIT license found in the
|
4942 |
+
* LICENSE file in the root directory of this source tree.
|
4943 |
+
*
|
4944 |
+
* @typechecks
|
4945 |
+
*/
|
4946 |
+
|
4947 |
+
/* eslint-disable fb-www/typeof-undefined */
|
4948 |
+
|
4949 |
+
/**
|
4950 |
+
* Same as document.activeElement but wraps in a try-catch block. In IE it is
|
4951 |
+
* not safe to call document.activeElement if there is nothing focused.
|
4952 |
+
*
|
4953 |
+
* The activeElement will be null only if the document or document body is not
|
4954 |
+
* yet defined.
|
4955 |
+
*
|
4956 |
+
* @param {?DOMDocument} doc Defaults to current document.
|
4957 |
+
* @return {?DOMElement}
|
4958 |
+
*/
|
4959 |
+
function getActiveElement(doc) /*?DOMElement*/{
|
4960 |
+
doc = doc || (typeof document !== 'undefined' ? document : undefined);
|
4961 |
+
if (typeof doc === 'undefined') {
|
4962 |
+
return null;
|
4963 |
+
}
|
4964 |
+
try {
|
4965 |
+
return doc.activeElement || doc.body;
|
4966 |
+
} catch (e) {
|
4967 |
+
return doc.body;
|
4968 |
+
}
|
4969 |
+
}
|
4970 |
+
|
4971 |
+
module.exports = getActiveElement;
|
4972 |
+
|
4973 |
+
/***/ }),
|
4974 |
+
/* 128 */
|
4975 |
+
/***/ (function(module, exports, __webpack_require__) {
|
4976 |
+
|
4977 |
+
"use strict";
|
4978 |
+
/**
|
4979 |
+
* Copyright (c) 2013-present, Facebook, Inc.
|
4980 |
+
*
|
4981 |
+
* This source code is licensed under the MIT license found in the
|
4982 |
+
* LICENSE file in the root directory of this source tree.
|
4983 |
+
*
|
4984 |
+
* @typechecks
|
4985 |
+
*
|
4986 |
+
*/
|
4987 |
+
|
4988 |
+
/*eslint-disable no-self-compare */
|
4989 |
+
|
4990 |
+
|
4991 |
+
|
4992 |
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
4993 |
+
|
4994 |
+
/**
|
4995 |
+
* inlined Object.is polyfill to avoid requiring consumers ship their own
|
4996 |
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
|
4997 |
+
*/
|
4998 |
+
function is(x, y) {
|
4999 |
+
// SameValue algorithm
|
5000 |
+
if (x === y) {
|
5001 |
+
// Steps 1-5, 7-10
|
5002 |
+
// Steps 6.b-6.e: +0 != -0
|
5003 |
+
// Added the nonzero y check to make Flow happy, but it is redundant
|
5004 |
+
return x !== 0 || y !== 0 || 1 / x === 1 / y;
|
5005 |
+
} else {
|
5006 |
+
// Step 6.a: NaN == NaN
|
5007 |
+
return x !== x && y !== y;
|
5008 |
+
}
|
5009 |
+
}
|
5010 |
+
|
5011 |
+
/**
|
5012 |
+
* Performs equality by iterating through keys on an object and returning false
|
5013 |
+
* when any key has values which are not strictly equal between the arguments.
|
5014 |
+
* Returns true when the values of all keys are strictly equal.
|
5015 |
+
*/
|
5016 |
+
function shallowEqual(objA, objB) {
|
5017 |
+
if (is(objA, objB)) {
|
5018 |
+
return true;
|
5019 |
+
}
|
5020 |
+
|
5021 |
+
if (typeof objA !== 'object' || objA === null || typeof objB !== 'object' || objB === null) {
|
5022 |
+
return false;
|
5023 |
+
}
|
5024 |
+
|
5025 |
+
var keysA = Object.keys(objA);
|
5026 |
+
var keysB = Object.keys(objB);
|
5027 |
+
|
5028 |
+
if (keysA.length !== keysB.length) {
|
5029 |
+
return false;
|
5030 |
+
}
|
5031 |
+
|
5032 |
+
// Test for A's keys different from B.
|
5033 |
+
for (var i = 0; i < keysA.length; i++) {
|
5034 |
+
if (!hasOwnProperty.call(objB, keysA[i]) || !is(objA[keysA[i]], objB[keysA[i]])) {
|
5035 |
+
return false;
|
5036 |
+
}
|
5037 |
+
}
|
5038 |
+
|
5039 |
+
return true;
|
5040 |
+
}
|
5041 |
+
|
5042 |
+
module.exports = shallowEqual;
|
5043 |
+
|
5044 |
+
/***/ }),
|
5045 |
+
/* 129 */
|
5046 |
+
/***/ (function(module, exports, __webpack_require__) {
|
5047 |
+
|
5048 |
+
"use strict";
|
5049 |
+
|
5050 |
+
|
5051 |
+
/**
|
5052 |
+
* Copyright (c) 2013-present, Facebook, Inc.
|
5053 |
+
*
|
5054 |
+
* This source code is licensed under the MIT license found in the
|
5055 |
+
* LICENSE file in the root directory of this source tree.
|
5056 |
+
*
|
5057 |
+
*
|
5058 |
+
*/
|
5059 |
+
|
5060 |
+
var isTextNode = __webpack_require__(130);
|
5061 |
+
|
5062 |
+
/*eslint-disable no-bitwise */
|
5063 |
+
|
5064 |
+
/**
|
5065 |
+
* Checks if a given DOM node contains or is another DOM node.
|
5066 |
+
*/
|
5067 |
+
function containsNode(outerNode, innerNode) {
|
5068 |
+
if (!outerNode || !innerNode) {
|
5069 |
+
return false;
|
5070 |
+
} else if (outerNode === innerNode) {
|
5071 |
+
return true;
|
5072 |
+
} else if (isTextNode(outerNode)) {
|
5073 |
+
return false;
|
5074 |
+
} else if (isTextNode(innerNode)) {
|
5075 |
+
return containsNode(outerNode, innerNode.parentNode);
|
5076 |
+
} else if ('contains' in outerNode) {
|
5077 |
+
return outerNode.contains(innerNode);
|
5078 |
+
} else if (outerNode.compareDocumentPosition) {
|
5079 |
+
return !!(outerNode.compareDocumentPosition(innerNode) & 16);
|
5080 |
+
} else {
|
5081 |
+
return false;
|
5082 |
+
}
|
5083 |
+
}
|
5084 |
+
|
5085 |
+
module.exports = containsNode;
|
5086 |
+
|
5087 |
+
/***/ }),
|
5088 |
+
/* 130 */
|
5089 |
+
/***/ (function(module, exports, __webpack_require__) {
|
5090 |
+
|
5091 |
+
"use strict";
|
5092 |
+
|
5093 |
+
|
5094 |
+
/**
|
5095 |
+
* Copyright (c) 2013-present, Facebook, Inc.
|
5096 |
+
*
|
5097 |
+
* This source code is licensed under the MIT license found in the
|
5098 |
+
* LICENSE file in the root directory of this source tree.
|
5099 |
+
*
|
5100 |
+
* @typechecks
|
5101 |
+
*/
|
5102 |
+
|
5103 |
+
var isNode = __webpack_require__(131);
|
5104 |
+
|
5105 |
+
/**
|
5106 |
+
* @param {*} object The object to check.
|
5107 |
+
* @return {boolean} Whether or not the object is a DOM text node.
|
5108 |
+
*/
|
5109 |
+
function isTextNode(object) {
|
5110 |
+
return isNode(object) && object.nodeType == 3;
|
5111 |
+
}
|
5112 |
+
|
5113 |
+
module.exports = isTextNode;
|
5114 |
+
|
5115 |
+
/***/ }),
|
5116 |
+
/* 131 */
|
5117 |
+
/***/ (function(module, exports, __webpack_require__) {
|
5118 |
+
|
5119 |
+
"use strict";
|
5120 |
+
|
5121 |
+
|
5122 |
+
/**
|
5123 |
+
* Copyright (c) 2013-present, Facebook, Inc.
|
5124 |
+
*
|
5125 |
+
* This source code is licensed under the MIT license found in the
|
5126 |
+
* LICENSE file in the root directory of this source tree.
|
5127 |
+
*
|
5128 |
+
* @typechecks
|
5129 |
+
*/
|
5130 |
+
|
5131 |
+
/**
|
5132 |
+
* @param {*} object The object to check.
|
5133 |
+
* @return {boolean} Whether or not the object is a DOM node.
|
5134 |
+
*/
|
5135 |
+
function isNode(object) {
|
5136 |
+
var doc = object ? object.ownerDocument || object : document;
|
5137 |
+
var defaultView = doc.defaultView || window;
|
5138 |
+
return !!(object && (typeof defaultView.Node === 'function' ? object instanceof defaultView.Node : typeof object === 'object' && typeof object.nodeType === 'number' && typeof object.nodeName === 'string'));
|
5139 |
+
}
|
5140 |
+
|
5141 |
+
module.exports = isNode;
|
5142 |
+
|
5143 |
+
/***/ }),
|
5144 |
+
/* 132 */
|
5145 |
+
/***/ (function(module, exports, __webpack_require__) {
|
5146 |
+
|
5147 |
+
"use strict";
|
5148 |
+
/**
|
5149 |
+
* Copyright (c) 2013-present, Facebook, Inc.
|
5150 |
+
*
|
5151 |
+
* This source code is licensed under the MIT license found in the
|
5152 |
+
* LICENSE file in the root directory of this source tree.
|
5153 |
+
*
|
5154 |
+
*/
|
5155 |
+
|
5156 |
+
|
5157 |
+
|
5158 |
+
/**
|
5159 |
+
* @param {DOMElement} node input/textarea to focus
|
5160 |
+
*/
|
5161 |
+
|
5162 |
+
function focusNode(node) {
|
5163 |
+
// IE8 can throw "Can't move focus to the control because it is invisible,
|
5164 |
+
// not enabled, or of a type that does not accept the focus." for all kinds of
|
5165 |
+
// reasons that are too expensive and fragile to test.
|
5166 |
+
try {
|
5167 |
+
node.focus();
|
5168 |
+
} catch (e) {}
|
5169 |
+
}
|
5170 |
+
|
5171 |
+
module.exports = focusNode;
|
5172 |
+
|
5173 |
+
/***/ }),
|
5174 |
+
/* 133 */
|
5175 |
+
/***/ (function(module, exports, __webpack_require__) {
|
5176 |
+
|
5177 |
+
"use strict";
|
5178 |
+
|
5179 |
+
|
5180 |
+
var utils = __webpack_require__(9);
|
5181 |
+
var bind = __webpack_require__(61);
|
5182 |
+
var Axios = __webpack_require__(135);
|
5183 |
+
var defaults = __webpack_require__(41);
|
5184 |
+
|
5185 |
+
/**
|
5186 |
+
* Create an instance of Axios
|
5187 |
+
*
|
5188 |
+
* @param {Object} defaultConfig The default config for the instance
|
5189 |
+
* @return {Axios} A new instance of Axios
|
5190 |
+
*/
|
5191 |
+
function createInstance(defaultConfig) {
|
5192 |
+
var context = new Axios(defaultConfig);
|
5193 |
+
var instance = bind(Axios.prototype.request, context);
|
5194 |
+
|
5195 |
+
// Copy axios.prototype to instance
|
5196 |
+
utils.extend(instance, Axios.prototype, context);
|
5197 |
+
|
5198 |
+
// Copy context to instance
|
5199 |
+
utils.extend(instance, context);
|
5200 |
+
|
5201 |
+
return instance;
|
5202 |
+
}
|
5203 |
+
|
5204 |
+
// Create the default instance to be exported
|
5205 |
+
var axios = createInstance(defaults);
|
5206 |
+
|
5207 |
+
// Expose Axios class to allow class inheritance
|
5208 |
+
axios.Axios = Axios;
|
5209 |
+
|
5210 |
+
// Factory for creating new instances
|
5211 |
+
axios.create = function create(instanceConfig) {
|
5212 |
+
return createInstance(utils.merge(defaults, instanceConfig));
|
5213 |
+
};
|
5214 |
+
|
5215 |
+
// Expose Cancel & CancelToken
|
5216 |
+
axios.Cancel = __webpack_require__(66);
|
5217 |
+
axios.CancelToken = __webpack_require__(149);
|
5218 |
+
axios.isCancel = __webpack_require__(65);
|
5219 |
+
|
5220 |
+
// Expose all/spread
|
5221 |
+
axios.all = function all(promises) {
|
5222 |
+
return Promise.all(promises);
|
5223 |
+
};
|
5224 |
+
axios.spread = __webpack_require__(150);
|
5225 |
+
|
5226 |
+
module.exports = axios;
|
5227 |
+
|
5228 |
+
// Allow use of default import syntax in TypeScript
|
5229 |
+
module.exports.default = axios;
|
5230 |
+
|
5231 |
+
|
5232 |
+
/***/ }),
|
5233 |
+
/* 134 */
|
5234 |
+
/***/ (function(module, exports) {
|
5235 |
+
|
5236 |
+
/*!
|
5237 |
* Determine if an object is a Buffer
|
5238 |
*
|
5239 |
* @author Feross Aboukhadijeh <https://feross.org>
|
5240 |
* @license MIT
|
5241 |
*/
|
5242 |
+
|
5243 |
+
// The _isBuffer check is for Safari 5-7 support, because it's missing
|
5244 |
+
// Object.prototype.constructor. Remove this eventually
|
5245 |
+
module.exports = function (obj) {
|
5246 |
+
return obj != null && (isBuffer(obj) || isSlowBuffer(obj) || !!obj._isBuffer)
|
5247 |
+
}
|
5248 |
+
|
5249 |
+
function isBuffer (obj) {
|
5250 |
+
return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)
|
5251 |
+
}
|
5252 |
+
|
5253 |
+
// For Node v0.10 support. Remove this eventually.
|
5254 |
+
function isSlowBuffer (obj) {
|
5255 |
+
return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isBuffer(obj.slice(0, 0))
|
5256 |
+
}
|
5257 |
+
|
5258 |
+
|
5259 |
+
/***/ }),
|
5260 |
+
/* 135 */
|
5261 |
+
/***/ (function(module, exports, __webpack_require__) {
|
5262 |
+
|
5263 |
+
"use strict";
|
5264 |
+
|
5265 |
+
|
5266 |
+
var defaults = __webpack_require__(41);
|
5267 |
+
var utils = __webpack_require__(9);
|
5268 |
+
var InterceptorManager = __webpack_require__(144);
|
5269 |
+
var dispatchRequest = __webpack_require__(145);
|
5270 |
+
|
5271 |
+
/**
|
5272 |
+
* Create a new instance of Axios
|
5273 |
+
*
|
5274 |
+
* @param {Object} instanceConfig The default config for the instance
|
5275 |
+
*/
|
5276 |
+
function Axios(instanceConfig) {
|
5277 |
+
this.defaults = instanceConfig;
|
5278 |
+
this.interceptors = {
|
5279 |
+
request: new InterceptorManager(),
|
5280 |
+
response: new InterceptorManager()
|
5281 |
+
};
|
5282 |
+
}
|
5283 |
+
|
5284 |
+
/**
|
5285 |
+
* Dispatch a request
|
5286 |
+
*
|
5287 |
+
* @param {Object} config The config specific for this request (merged with this.defaults)
|
5288 |
+
*/
|
5289 |
+
Axios.prototype.request = function request(config) {
|
5290 |
+
/*eslint no-param-reassign:0*/
|
5291 |
+
// Allow for axios('example/url'[, config]) a la fetch API
|
5292 |
+
if (typeof config === 'string') {
|
5293 |
+
config = utils.merge({
|
5294 |
+
url: arguments[0]
|
5295 |
+
}, arguments[1]);
|
5296 |
+
}
|
5297 |
+
|
5298 |
+
config = utils.merge(defaults, this.defaults, { method: 'get' }, config);
|
5299 |
+
config.method = config.method.toLowerCase();
|
5300 |
+
|
5301 |
+
// Hook up interceptors middleware
|
5302 |
+
var chain = [dispatchRequest, undefined];
|
5303 |
+
var promise = Promise.resolve(config);
|
5304 |
+
|
5305 |
+
this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {
|
5306 |
+
chain.unshift(interceptor.fulfilled, interceptor.rejected);
|
5307 |
+
});
|
5308 |
+
|
5309 |
+
this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {
|
5310 |
+
chain.push(interceptor.fulfilled, interceptor.rejected);
|
5311 |
+
});
|
5312 |
+
|
5313 |
+
while (chain.length) {
|
5314 |
+
promise = promise.then(chain.shift(), chain.shift());
|
5315 |
+
}
|
5316 |
+
|
5317 |
+
return promise;
|
5318 |
+
};
|
5319 |
+
|
5320 |
+
// Provide aliases for supported request methods
|
5321 |
+
utils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {
|
5322 |
+
/*eslint func-names:0*/
|
5323 |
+
Axios.prototype[method] = function(url, config) {
|
5324 |
+
return this.request(utils.merge(config || {}, {
|
5325 |
+
method: method,
|
5326 |
+
url: url
|
5327 |
+
}));
|
5328 |
+
};
|
5329 |
+
});
|
5330 |
+
|
5331 |
+
utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
|
5332 |
+
/*eslint func-names:0*/
|
5333 |
+
Axios.prototype[method] = function(url, data, config) {
|
5334 |
+
return this.request(utils.merge(config || {}, {
|
5335 |
+
method: method,
|
5336 |
+
url: url,
|
5337 |
+
data: data
|
5338 |
+
}));
|
5339 |
+
};
|
5340 |
+
});
|
5341 |
+
|
5342 |
+
module.exports = Axios;
|
5343 |
+
|
5344 |
+
|
5345 |
+
/***/ }),
|
5346 |
+
/* 136 */
|
5347 |
+
/***/ (function(module, exports, __webpack_require__) {
|
5348 |
+
|
5349 |
+
"use strict";
|
5350 |
+
|
5351 |
+
|
5352 |
+
var utils = __webpack_require__(9);
|
5353 |
+
|
5354 |
+
module.exports = function normalizeHeaderName(headers, normalizedName) {
|
5355 |
+
utils.forEach(headers, function processHeader(value, name) {
|
5356 |
+
if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {
|
5357 |
+
headers[normalizedName] = value;
|
5358 |
+
delete headers[name];
|
5359 |
+
}
|
5360 |
+
});
|
5361 |
+
};
|
5362 |
+
|
5363 |
+
|
5364 |
+
/***/ }),
|
5365 |
+
/* 137 */
|
5366 |
+
/***/ (function(module, exports, __webpack_require__) {
|
5367 |
+
|
5368 |
+
"use strict";
|
5369 |
+
|
5370 |
+
|
5371 |
+
var createError = __webpack_require__(64);
|
5372 |
+
|
5373 |
+
/**
|
5374 |
+
* Resolve or reject a Promise based on response status.
|
5375 |
+
*
|
5376 |
+
* @param {Function} resolve A function that resolves the promise.
|
5377 |
+
* @param {Function} reject A function that rejects the promise.
|
5378 |
+
* @param {object} response The response.
|
5379 |
+
*/
|
5380 |
+
module.exports = function settle(resolve, reject, response) {
|
5381 |
+
var validateStatus = response.config.validateStatus;
|
5382 |
+
// Note: status is not exposed by XDomainRequest
|
5383 |
+
if (!response.status || !validateStatus || validateStatus(response.status)) {
|
5384 |
+
resolve(response);
|
5385 |
+
} else {
|
5386 |
+
reject(createError(
|
5387 |
+
'Request failed with status code ' + response.status,
|
5388 |
+
response.config,
|
5389 |
+
null,
|
5390 |
+
response.request,
|
5391 |
+
response
|
5392 |
+
));
|
5393 |
+
}
|
5394 |
+
};
|
5395 |
+
|
5396 |
+
|
5397 |
+
/***/ }),
|
5398 |
+
/* 138 */
|
5399 |
+
/***/ (function(module, exports, __webpack_require__) {
|
5400 |
+
|
5401 |
+
"use strict";
|
5402 |
+
|
5403 |
+
|
5404 |
+
/**
|
5405 |
+
* Update an Error with the specified config, error code, and response.
|
5406 |
+
*
|
5407 |
+
* @param {Error} error The error to update.
|
5408 |
+
* @param {Object} config The config.
|
5409 |
+
* @param {string} [code] The error code (for example, 'ECONNABORTED').
|
5410 |
+
* @param {Object} [request] The request.
|
5411 |
+
* @param {Object} [response] The response.
|
5412 |
+
* @returns {Error} The error.
|
5413 |
+
*/
|
5414 |
+
module.exports = function enhanceError(error, config, code, request, response) {
|
5415 |
+
error.config = config;
|
5416 |
+
if (code) {
|
5417 |
+
error.code = code;
|
5418 |
+
}
|
5419 |
+
error.request = request;
|
5420 |
+
error.response = response;
|
5421 |
+
return error;
|
5422 |
+
};
|
5423 |
+
|
5424 |
+
|
5425 |
+
/***/ }),
|
5426 |
+
/* 139 */
|
5427 |
+
/***/ (function(module, exports, __webpack_require__) {
|
5428 |
+
|
5429 |
+
"use strict";
|
5430 |
+
|
5431 |
+
|
5432 |
+
var utils = __webpack_require__(9);
|
5433 |
+
|
5434 |
+
function encode(val) {
|
5435 |
+
return encodeURIComponent(val).
|
5436 |
+
replace(/%40/gi, '@').
|
5437 |
+
replace(/%3A/gi, ':').
|
5438 |
+
replace(/%24/g, '$').
|
5439 |
+
replace(/%2C/gi, ',').
|
5440 |
+
replace(/%20/g, '+').
|
5441 |
+
replace(/%5B/gi, '[').
|
5442 |
+
replace(/%5D/gi, ']');
|
5443 |
+
}
|
5444 |
+
|
5445 |
+
/**
|
5446 |
+
* Build a URL by appending params to the end
|
5447 |
+
*
|
5448 |
+
* @param {string} url The base of the url (e.g., http://www.google.com)
|
5449 |
+
* @param {object} [params] The params to be appended
|
5450 |
+
* @returns {string} The formatted url
|
5451 |
+
*/
|
5452 |
+
module.exports = function buildURL(url, params, paramsSerializer) {
|
5453 |
+
/*eslint no-param-reassign:0*/
|
5454 |
+
if (!params) {
|
5455 |
+
return url;
|
5456 |
+
}
|
5457 |
+
|
5458 |
+
var serializedParams;
|
5459 |
+
if (paramsSerializer) {
|
5460 |
+
serializedParams = paramsSerializer(params);
|
5461 |
+
} else if (utils.isURLSearchParams(params)) {
|
5462 |
+
serializedParams = params.toString();
|
5463 |
+
} else {
|
5464 |
+
var parts = [];
|
5465 |
+
|
5466 |
+
utils.forEach(params, function serialize(val, key) {
|
5467 |
+
if (val === null || typeof val === 'undefined') {
|
5468 |
+
return;
|
5469 |
+
}
|
5470 |
+
|
5471 |
+
if (utils.isArray(val)) {
|
5472 |
+
key = key + '[]';
|
5473 |
+
}
|
5474 |
+
|
5475 |
+
if (!utils.isArray(val)) {
|
5476 |
+
val = [val];
|
5477 |
+
}
|
5478 |
+
|
5479 |
+
utils.forEach(val, function parseValue(v) {
|
5480 |
+
if (utils.isDate(v)) {
|
5481 |
+
v = v.toISOString();
|
5482 |
+
} else if (utils.isObject(v)) {
|
5483 |
+
v = JSON.stringify(v);
|
5484 |
+
}
|
5485 |
+
parts.push(encode(key) + '=' + encode(v));
|
5486 |
+
});
|
5487 |
+
});
|
5488 |
+
|
5489 |
+
serializedParams = parts.join('&');
|
5490 |
+
}
|
5491 |
+
|
5492 |
+
if (serializedParams) {
|
5493 |
+
url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;
|
5494 |
+
}
|
5495 |
+
|
5496 |
+
return url;
|
5497 |
+
};
|
5498 |
+
|
5499 |
+
|
5500 |
+
/***/ }),
|
5501 |
+
/* 140 */
|
5502 |
+
/***/ (function(module, exports, __webpack_require__) {
|
5503 |
+
|
5504 |
+
"use strict";
|
5505 |
+
|
5506 |
+
|
5507 |
+
var utils = __webpack_require__(9);
|
5508 |
+
|
5509 |
+
// Headers whose duplicates are ignored by node
|
5510 |
+
// c.f. https://nodejs.org/api/http.html#http_message_headers
|
5511 |
+
var ignoreDuplicateOf = [
|
5512 |
+
'age', 'authorization', 'content-length', 'content-type', 'etag',
|
5513 |
+
'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',
|
5514 |
+
'last-modified', 'location', 'max-forwards', 'proxy-authorization',
|
5515 |
+
'referer', 'retry-after', 'user-agent'
|
5516 |
+
];
|
5517 |
+
|
5518 |
+
/**
|
5519 |
+
* Parse headers into an object
|
5520 |
+
*
|
5521 |
+
* ```
|
5522 |
+
* Date: Wed, 27 Aug 2014 08:58:49 GMT
|
5523 |
+
* Content-Type: application/json
|
5524 |
+
* Connection: keep-alive
|
5525 |
+
* Transfer-Encoding: chunked
|
5526 |
+
* ```
|
5527 |
+
*
|
5528 |
+
* @param {String} headers Headers needing to be parsed
|
5529 |
+
* @returns {Object} Headers parsed into an object
|
5530 |
+
*/
|
5531 |
+
module.exports = function parseHeaders(headers) {
|
5532 |
+
var parsed = {};
|
5533 |
+
var key;
|
5534 |
+
var val;
|
5535 |
+
var i;
|
5536 |
+
|
5537 |
+
if (!headers) { return parsed; }
|
5538 |
+
|
5539 |
+
utils.forEach(headers.split('\n'), function parser(line) {
|
5540 |
+
i = line.indexOf(':');
|
5541 |
+
key = utils.trim(line.substr(0, i)).toLowerCase();
|
5542 |
+
val = utils.trim(line.substr(i + 1));
|
5543 |
+
|
5544 |
+
if (key) {
|
5545 |
+
if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {
|
5546 |
+
return;
|
5547 |
+
}
|
5548 |
+
if (key === 'set-cookie') {
|
5549 |
+
parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);
|
5550 |
+
} else {
|
5551 |
+
parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
|
5552 |
+
}
|
5553 |
+
}
|
5554 |
+
});
|
5555 |
+
|
5556 |
+
return parsed;
|
5557 |
+
};
|
5558 |
+
|
5559 |
+
|
5560 |
+
/***/ }),
|
5561 |
+
/* 141 */
|
5562 |
+
/***/ (function(module, exports, __webpack_require__) {
|
5563 |
+
|
5564 |
+
"use strict";
|
5565 |
+
|
5566 |
+
|
5567 |
+
var utils = __webpack_require__(9);
|
5568 |
+
|
5569 |
+
module.exports = (
|
5570 |
+
utils.isStandardBrowserEnv() ?
|
5571 |
+
|
5572 |
+
// Standard browser envs have full support of the APIs needed to test
|
5573 |
+
// whether the request URL is of the same origin as current location.
|
5574 |
+
(function standardBrowserEnv() {
|
5575 |
+
var msie = /(msie|trident)/i.test(navigator.userAgent);
|
5576 |
+
var urlParsingNode = document.createElement('a');
|
5577 |
+
var originURL;
|
5578 |
+
|
5579 |
+
/**
|
5580 |
+
* Parse a URL to discover it's components
|
5581 |
+
*
|
5582 |
+
* @param {String} url The URL to be parsed
|
5583 |
+
* @returns {Object}
|
5584 |
+
*/
|
5585 |
+
function resolveURL(url) {
|
5586 |
+
var href = url;
|
5587 |
+
|
5588 |
+
if (msie) {
|
5589 |
+
// IE needs attribute set twice to normalize properties
|
5590 |
+
urlParsingNode.setAttribute('href', href);
|
5591 |
+
href = urlParsingNode.href;
|
5592 |
+
}
|
5593 |
+
|
5594 |
+
urlParsingNode.setAttribute('href', href);
|
5595 |
+
|
5596 |
+
// urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils
|
5597 |
+
return {
|
5598 |
+
href: urlParsingNode.href,
|
5599 |
+
protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',
|
5600 |
+
host: urlParsingNode.host,
|
5601 |
+
search: urlParsingNode.search ? urlParsingNode.search.replace(/^\?/, '') : '',
|
5602 |
+
hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',
|
5603 |
+
hostname: urlParsingNode.hostname,
|
5604 |
+
port: urlParsingNode.port,
|
5605 |
+
pathname: (urlParsingNode.pathname.charAt(0) === '/') ?
|
5606 |
+
urlParsingNode.pathname :
|
5607 |
+
'/' + urlParsingNode.pathname
|
5608 |
+
};
|
5609 |
+
}
|
5610 |
+
|
5611 |
+
originURL = resolveURL(window.location.href);
|
5612 |
+
|
5613 |
+
/**
|
5614 |
+
* Determine if a URL shares the same origin as the current location
|
5615 |
+
*
|
5616 |
+
* @param {String} requestURL The URL to test
|
5617 |
+
* @returns {boolean} True if URL shares the same origin, otherwise false
|
5618 |
+
*/
|
5619 |
+
return function isURLSameOrigin(requestURL) {
|
5620 |
+
var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;
|
5621 |
+
return (parsed.protocol === originURL.protocol &&
|
5622 |
+
parsed.host === originURL.host);
|
5623 |
+
};
|
5624 |
+
})() :
|
5625 |
+
|
5626 |
+
// Non standard browser envs (web workers, react-native) lack needed support.
|
5627 |
+
(function nonStandardBrowserEnv() {
|
5628 |
+
return function isURLSameOrigin() {
|
5629 |
+
return true;
|
5630 |
+
};
|
5631 |
+
})()
|
5632 |
+
);
|
5633 |
+
|
5634 |
+
|
5635 |
+
/***/ }),
|
5636 |
+
/* 142 */
|
5637 |
+
/***/ (function(module, exports, __webpack_require__) {
|
5638 |
+
|
5639 |
+
"use strict";
|
5640 |
+
|
5641 |
+
|
5642 |
+
// btoa polyfill for IE<10 courtesy https://github.com/davidchambers/Base64.js
|
5643 |
+
|
5644 |
+
var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
|
5645 |
+
|
5646 |
+
function E() {
|
5647 |
+
this.message = 'String contains an invalid character';
|
5648 |
+
}
|
5649 |
+
E.prototype = new Error;
|
5650 |
+
E.prototype.code = 5;
|
5651 |
+
E.prototype.name = 'InvalidCharacterError';
|
5652 |
+
|
5653 |
+
function btoa(input) {
|
5654 |
+
var str = String(input);
|
5655 |
+
var output = '';
|
5656 |
+
for (
|
5657 |
+
// initialize result and counter
|
5658 |
+
var block, charCode, idx = 0, map = chars;
|
5659 |
+
// if the next str index does not exist:
|
5660 |
+
// change the mapping table to "="
|
5661 |
+
// check if d has no fractional digits
|
5662 |
+
str.charAt(idx | 0) || (map = '=', idx % 1);
|
5663 |
+
// "8 - idx % 1 * 8" generates the sequence 2, 4, 6, 8
|
5664 |
+
output += map.charAt(63 & block >> 8 - idx % 1 * 8)
|
5665 |
+
) {
|
5666 |
+
charCode = str.charCodeAt(idx += 3 / 4);
|
5667 |
+
if (charCode > 0xFF) {
|
5668 |
+
throw new E();
|
5669 |
+
}
|
5670 |
+
block = block << 8 | charCode;
|
5671 |
+
}
|
5672 |
+
return output;
|
5673 |
+
}
|
5674 |
+
|
5675 |
+
module.exports = btoa;
|
5676 |
+
|
5677 |
+
|
5678 |
+
/***/ }),
|
5679 |
+
/* 143 */
|
5680 |
+
/***/ (function(module, exports, __webpack_require__) {
|
5681 |
+
|
5682 |
+
"use strict";
|
5683 |
+
|
5684 |
+
|
5685 |
+
var utils = __webpack_require__(9);
|
5686 |
+
|
5687 |
+
module.exports = (
|
5688 |
+
utils.isStandardBrowserEnv() ?
|
5689 |
+
|
5690 |
+
// Standard browser envs support document.cookie
|
5691 |
+
(function standardBrowserEnv() {
|
5692 |
+
return {
|
5693 |
+
write: function write(name, value, expires, path, domain, secure) {
|
5694 |
+
var cookie = [];
|
5695 |
+
cookie.push(name + '=' + encodeURIComponent(value));
|
5696 |
+
|
5697 |
+
if (utils.isNumber(expires)) {
|
5698 |
+
cookie.push('expires=' + new Date(expires).toGMTString());
|
5699 |
+
}
|
5700 |
+
|
5701 |
+
if (utils.isString(path)) {
|
5702 |
+
cookie.push('path=' + path);
|
5703 |
+
}
|
5704 |
+
|
5705 |
+
if (utils.isString(domain)) {
|
5706 |
+
cookie.push('domain=' + domain);
|
5707 |
+
}
|
5708 |
+
|
5709 |
+
if (secure === true) {
|
5710 |
+
cookie.push('secure');
|
5711 |
+
}
|
5712 |
+
|
5713 |
+
document.cookie = cookie.join('; ');
|
5714 |
+
},
|
5715 |
+
|
5716 |
+
read: function read(name) {
|
5717 |
+
var match = document.cookie.match(new RegExp('(^|;\\s*)(' + name + ')=([^;]*)'));
|
5718 |
+
return (match ? decodeURIComponent(match[3]) : null);
|
5719 |
+
},
|
5720 |
+
|
5721 |
+
remove: function remove(name) {
|
5722 |
+
this.write(name, '', Date.now() - 86400000);
|
5723 |
+
}
|
5724 |
+
};
|
5725 |
+
})() :
|
5726 |
+
|
5727 |
+
// Non standard browser env (web workers, react-native) lack needed support.
|
5728 |
+
(function nonStandardBrowserEnv() {
|
5729 |
+
return {
|
5730 |
+
write: function write() {},
|
5731 |
+
read: function read() { return null; },
|
5732 |
+
remove: function remove() {}
|
5733 |
+
};
|
5734 |
+
})()
|
5735 |
+
);
|
5736 |
+
|
5737 |
+
|
5738 |
+
/***/ }),
|
5739 |
+
/* 144 */
|
5740 |
+
/***/ (function(module, exports, __webpack_require__) {
|
5741 |
+
|
5742 |
+
"use strict";
|
5743 |
+
|
5744 |
+
|
5745 |
+
var utils = __webpack_require__(9);
|
5746 |
+
|
5747 |
+
function InterceptorManager() {
|
5748 |
+
this.handlers = [];
|
5749 |
+
}
|
5750 |
+
|
5751 |
+
/**
|
5752 |
+
* Add a new interceptor to the stack
|
5753 |
+
*
|
5754 |
+
* @param {Function} fulfilled The function to handle `then` for a `Promise`
|
5755 |
+
* @param {Function} rejected The function to handle `reject` for a `Promise`
|
5756 |
+
*
|
5757 |
+
* @return {Number} An ID used to remove interceptor later
|
5758 |
+
*/
|
5759 |
+
InterceptorManager.prototype.use = function use(fulfilled, rejected) {
|
5760 |
+
this.handlers.push({
|
5761 |
+
fulfilled: fulfilled,
|
5762 |
+
rejected: rejected
|
5763 |
+
});
|
5764 |
+
return this.handlers.length - 1;
|
5765 |
+
};
|
5766 |
+
|
5767 |
+
/**
|
5768 |
+
* Remove an interceptor from the stack
|
5769 |
+
*
|
5770 |
+
* @param {Number} id The ID that was returned by `use`
|
5771 |
+
*/
|
5772 |
+
InterceptorManager.prototype.eject = function eject(id) {
|
5773 |
+
if (this.handlers[id]) {
|
5774 |
+
this.handlers[id] = null;
|
5775 |
+
}
|
5776 |
+
};
|
5777 |
+
|
5778 |
+
/**
|
5779 |
+
* Iterate over all the registered interceptors
|
5780 |
+
*
|
5781 |
+
* This method is particularly useful for skipping over any
|
5782 |
+
* interceptors that may have become `null` calling `eject`.
|
5783 |
+
*
|
5784 |
+
* @param {Function} fn The function to call for each interceptor
|
5785 |
+
*/
|
5786 |
+
InterceptorManager.prototype.forEach = function forEach(fn) {
|
5787 |
+
utils.forEach(this.handlers, function forEachHandler(h) {
|
5788 |
+
if (h !== null) {
|
5789 |
+
fn(h);
|
5790 |
+
}
|
5791 |
+
});
|
5792 |
+
};
|
5793 |
+
|
5794 |
+
module.exports = InterceptorManager;
|
5795 |
+
|
5796 |
+
|
5797 |
+
/***/ }),
|
5798 |
+
/* 145 */
|
5799 |
+
/***/ (function(module, exports, __webpack_require__) {
|
5800 |
+
|
5801 |
+
"use strict";
|
5802 |
+
|
5803 |
+
|
5804 |
+
var utils = __webpack_require__(9);
|
5805 |
+
var transformData = __webpack_require__(146);
|
5806 |
+
var isCancel = __webpack_require__(65);
|
5807 |
+
var defaults = __webpack_require__(41);
|
5808 |
+
var isAbsoluteURL = __webpack_require__(147);
|
5809 |
+
var combineURLs = __webpack_require__(148);
|
5810 |
+
|
5811 |
+
/**
|
5812 |
+
* Throws a `Cancel` if cancellation has been requested.
|
5813 |
+
*/
|
5814 |
+
function throwIfCancellationRequested(config) {
|
5815 |
+
if (config.cancelToken) {
|
5816 |
+
config.cancelToken.throwIfRequested();
|
5817 |
+
}
|
5818 |
+
}
|
5819 |
+
|
5820 |
+
/**
|
5821 |
+
* Dispatch a request to the server using the configured adapter.
|
5822 |
+
*
|
5823 |
+
* @param {object} config The config that is to be used for the request
|
5824 |
+
* @returns {Promise} The Promise to be fulfilled
|
5825 |
+
*/
|
5826 |
+
module.exports = function dispatchRequest(config) {
|
5827 |
+
throwIfCancellationRequested(config);
|
5828 |
+
|
5829 |
+
// Support baseURL config
|
5830 |
+
if (config.baseURL && !isAbsoluteURL(config.url)) {
|
5831 |
+
config.url = combineURLs(config.baseURL, config.url);
|
5832 |
+
}
|
5833 |
+
|
5834 |
+
// Ensure headers exist
|
5835 |
+
config.headers = config.headers || {};
|
5836 |
+
|
5837 |
+
// Transform request data
|
5838 |
+
config.data = transformData(
|
5839 |
+
config.data,
|
5840 |
+
config.headers,
|
5841 |
+
config.transformRequest
|
5842 |
+
);
|
5843 |
+
|
5844 |
+
// Flatten headers
|
5845 |
+
config.headers = utils.merge(
|
5846 |
+
config.headers.common || {},
|
5847 |
+
config.headers[config.method] || {},
|
5848 |
+
config.headers || {}
|
5849 |
+
);
|
5850 |
+
|
5851 |
+
utils.forEach(
|
5852 |
+
['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],
|
5853 |
+
function cleanHeaderConfig(method) {
|
5854 |
+
delete config.headers[method];
|
5855 |
+
}
|
5856 |
+
);
|
5857 |
+
|
5858 |
+
var adapter = config.adapter || defaults.adapter;
|
5859 |
+
|
5860 |
+
return adapter(config).then(function onAdapterResolution(response) {
|
5861 |
+
throwIfCancellationRequested(config);
|
5862 |
+
|
5863 |
+
// Transform response data
|
5864 |
+
response.data = transformData(
|
5865 |
+
response.data,
|
5866 |
+
response.headers,
|
5867 |
+
config.transformResponse
|
5868 |
+
);
|
5869 |
+
|
5870 |
+
return response;
|
5871 |
+
}, function onAdapterRejection(reason) {
|
5872 |
+
if (!isCancel(reason)) {
|
5873 |
+
throwIfCancellationRequested(config);
|
5874 |
+
|
5875 |
+
// Transform response data
|
5876 |
+
if (reason && reason.response) {
|
5877 |
+
reason.response.data = transformData(
|
5878 |
+
reason.response.data,
|
5879 |
+
reason.response.headers,
|
5880 |
+
config.transformResponse
|
5881 |
+
);
|
5882 |
+
}
|
5883 |
+
}
|
5884 |
+
|
5885 |
+
return Promise.reject(reason);
|
5886 |
+
});
|
5887 |
+
};
|
5888 |
+
|
5889 |
+
|
5890 |
+
/***/ }),
|
5891 |
+
/* 146 */
|
5892 |
+
/***/ (function(module, exports, __webpack_require__) {
|
5893 |
+
|
5894 |
+
"use strict";
|
5895 |
+
|
5896 |
+
|
5897 |
+
var utils = __webpack_require__(9);
|
5898 |
+
|
5899 |
+
/**
|
5900 |
+
* Transform the data for a request or a response
|
5901 |
+
*
|
5902 |
+
* @param {Object|String} data The data to be transformed
|
5903 |
+
* @param {Array} headers The headers for the request or response
|
5904 |
+
* @param {Array|Function} fns A single function or Array of functions
|
5905 |
+
* @returns {*} The resulting transformed data
|
5906 |
+
*/
|
5907 |
+
module.exports = function transformData(data, headers, fns) {
|
5908 |
+
/*eslint no-param-reassign:0*/
|
5909 |
+
utils.forEach(fns, function transform(fn) {
|
5910 |
+
data = fn(data, headers);
|
5911 |
+
});
|
5912 |
+
|
5913 |
+
return data;
|
5914 |
+
};
|
5915 |
+
|
5916 |
+
|
5917 |
+
/***/ }),
|
5918 |
+
/* 147 */
|
5919 |
+
/***/ (function(module, exports, __webpack_require__) {
|
5920 |
+
|
5921 |
+
"use strict";
|
5922 |
+
|
5923 |
+
|
5924 |
+
/**
|
5925 |
+
* Determines whether the specified URL is absolute
|
5926 |
+
*
|
5927 |
+
* @param {string} url The URL to test
|
5928 |
+
* @returns {boolean} True if the specified URL is absolute, otherwise false
|
5929 |
+
*/
|
5930 |
+
module.exports = function isAbsoluteURL(url) {
|
5931 |
+
// A URL is considered absolute if it begins with "<scheme>://" or "//" (protocol-relative URL).
|
5932 |
+
// RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed
|
5933 |
+
// by any combination of letters, digits, plus, period, or hyphen.
|
5934 |
+
return /^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(url);
|
5935 |
+
};
|
5936 |
+
|
5937 |
+
|
5938 |
+
/***/ }),
|
5939 |
+
/* 148 */
|
5940 |
+
/***/ (function(module, exports, __webpack_require__) {
|
5941 |
+
|
5942 |
+
"use strict";
|
5943 |
+
|
5944 |
+
|
5945 |
+
/**
|
5946 |
+
* Creates a new URL by combining the specified URLs
|
5947 |
+
*
|
5948 |
+
* @param {string} baseURL The base URL
|
5949 |
+
* @param {string} relativeURL The relative URL
|
5950 |
+
* @returns {string} The combined URL
|
5951 |
+
*/
|
5952 |
+
module.exports = function combineURLs(baseURL, relativeURL) {
|
5953 |
+
return relativeURL
|
5954 |
+
? baseURL.replace(/\/+$/, '') + '/' + relativeURL.replace(/^\/+/, '')
|
5955 |
+
: baseURL;
|
5956 |
+
};
|
5957 |
+
|
5958 |
+
|
5959 |
+
/***/ }),
|
5960 |
+
/* 149 */
|
5961 |
+
/***/ (function(module, exports, __webpack_require__) {
|
5962 |
+
|
5963 |
+
"use strict";
|
5964 |
+
|
5965 |
+
|
5966 |
+
var Cancel = __webpack_require__(66);
|
5967 |
+
|
5968 |
+
/**
|
5969 |
+
* A `CancelToken` is an object that can be used to request cancellation of an operation.
|
5970 |
+
*
|
5971 |
+
* @class
|
5972 |
+
* @param {Function} executor The executor function.
|
5973 |
+
*/
|
5974 |
+
function CancelToken(executor) {
|
5975 |
+
if (typeof executor !== 'function') {
|
5976 |
+
throw new TypeError('executor must be a function.');
|
5977 |
+
}
|
5978 |
+
|
5979 |
+
var resolvePromise;
|
5980 |
+
this.promise = new Promise(function promiseExecutor(resolve) {
|
5981 |
+
resolvePromise = resolve;
|
5982 |
+
});
|
5983 |
+
|
5984 |
+
var token = this;
|
5985 |
+
executor(function cancel(message) {
|
5986 |
+
if (token.reason) {
|
5987 |
+
// Cancellation has already been requested
|
5988 |
+
return;
|
5989 |
+
}
|
5990 |
+
|
5991 |
+
token.reason = new Cancel(message);
|
5992 |
+
resolvePromise(token.reason);
|
5993 |
+
});
|
5994 |
+
}
|
5995 |
+
|
5996 |
+
/**
|
5997 |
+
* Throws a `Cancel` if cancellation has been requested.
|
5998 |
+
*/
|
5999 |
+
CancelToken.prototype.throwIfRequested = function throwIfRequested() {
|
6000 |
+
if (this.reason) {
|
6001 |
+
throw this.reason;
|
6002 |
+
}
|
6003 |
+
};
|
6004 |
+
|
6005 |
+
/**
|
6006 |
+
* Returns an object that contains a new `CancelToken` and a function that, when called,
|
6007 |
+
* cancels the `CancelToken`.
|
6008 |
+
*/
|
6009 |
+
CancelToken.source = function source() {
|
6010 |
+
var cancel;
|
6011 |
+
var token = new CancelToken(function executor(c) {
|
6012 |
+
cancel = c;
|
6013 |
+
});
|
6014 |
+
return {
|
6015 |
+
token: token,
|
6016 |
+
cancel: cancel
|
6017 |
+
};
|
6018 |
+
};
|
6019 |
+
|
6020 |
+
module.exports = CancelToken;
|
6021 |
+
|
6022 |
+
|
6023 |
+
/***/ }),
|
6024 |
+
/* 150 */
|
6025 |
+
/***/ (function(module, exports, __webpack_require__) {
|
6026 |
+
|
6027 |
+
"use strict";
|
6028 |
+
|
6029 |
+
|
6030 |
+
/**
|
6031 |
+
* Syntactic sugar for invoking a function and expanding an array for arguments.
|
6032 |
+
*
|
6033 |
+
* Common use case would be to use `Function.prototype.apply`.
|
6034 |
+
*
|
6035 |
+
* ```js
|
6036 |
+
* function f(x, y, z) {}
|
6037 |
+
* var args = [1, 2, 3];
|
6038 |
+
* f.apply(null, args);
|
6039 |
+
* ```
|
6040 |
+
*
|
6041 |
+
* With `spread` this example can be re-written.
|
6042 |
+
*
|
6043 |
+
* ```js
|
6044 |
+
* spread(function(x, y, z) {})([1, 2, 3]);
|
6045 |
+
* ```
|
6046 |
+
*
|
6047 |
+
* @param {Function} callback
|
6048 |
+
* @returns {Function}
|
6049 |
+
*/
|
6050 |
+
module.exports = function spread(callback) {
|
6051 |
+
return function wrap(arr) {
|
6052 |
+
return callback.apply(null, arr);
|
6053 |
+
};
|
6054 |
+
};
|
6055 |
+
|
6056 |
+
|
6057 |
+
/***/ }),
|
6058 |
+
/* 151 */
|
6059 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6060 |
+
|
6061 |
+
"use strict";
|
6062 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Symbol_js__ = __webpack_require__(69);
|
6063 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__getRawTag_js__ = __webpack_require__(154);
|
6064 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__objectToString_js__ = __webpack_require__(155);
|
6065 |
+
|
6066 |
+
|
6067 |
+
|
6068 |
+
|
6069 |
+
/** `Object#toString` result references. */
|
6070 |
+
var nullTag = '[object Null]',
|
6071 |
+
undefinedTag = '[object Undefined]';
|
6072 |
+
|
6073 |
+
/** Built-in value references. */
|
6074 |
+
var symToStringTag = __WEBPACK_IMPORTED_MODULE_0__Symbol_js__["a" /* default */] ? __WEBPACK_IMPORTED_MODULE_0__Symbol_js__["a" /* default */].toStringTag : undefined;
|
6075 |
+
|
6076 |
+
/**
|
6077 |
+
* The base implementation of `getTag` without fallbacks for buggy environments.
|
6078 |
+
*
|
6079 |
+
* @private
|
6080 |
+
* @param {*} value The value to query.
|
6081 |
+
* @returns {string} Returns the `toStringTag`.
|
6082 |
+
*/
|
6083 |
+
function baseGetTag(value) {
|
6084 |
+
if (value == null) {
|
6085 |
+
return value === undefined ? undefinedTag : nullTag;
|
6086 |
+
}
|
6087 |
+
return (symToStringTag && symToStringTag in Object(value))
|
6088 |
+
? Object(__WEBPACK_IMPORTED_MODULE_1__getRawTag_js__["a" /* default */])(value)
|
6089 |
+
: Object(__WEBPACK_IMPORTED_MODULE_2__objectToString_js__["a" /* default */])(value);
|
6090 |
+
}
|
6091 |
+
|
6092 |
+
/* harmony default export */ __webpack_exports__["a"] = (baseGetTag);
|
6093 |
+
|
6094 |
+
|
6095 |
+
/***/ }),
|
6096 |
+
/* 152 */
|
6097 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6098 |
+
|
6099 |
+
"use strict";
|
6100 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__freeGlobal_js__ = __webpack_require__(153);
|
6101 |
+
|
6102 |
+
|
6103 |
+
/** Detect free variable `self`. */
|
6104 |
+
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
6105 |
+
|
6106 |
+
/** Used as a reference to the global object. */
|
6107 |
+
var root = __WEBPACK_IMPORTED_MODULE_0__freeGlobal_js__["a" /* default */] || freeSelf || Function('return this')();
|
6108 |
+
|
6109 |
+
/* harmony default export */ __webpack_exports__["a"] = (root);
|
6110 |
+
|
6111 |
+
|
6112 |
+
/***/ }),
|
6113 |
+
/* 153 */
|
6114 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6115 |
+
|
6116 |
+
"use strict";
|
6117 |
+
/* WEBPACK VAR INJECTION */(function(global) {/** Detect free variable `global` from Node.js. */
|
6118 |
+
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
|
6119 |
+
|
6120 |
+
/* harmony default export */ __webpack_exports__["a"] = (freeGlobal);
|
6121 |
+
|
6122 |
+
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(26)))
|
6123 |
+
|
6124 |
+
/***/ }),
|
6125 |
+
/* 154 */
|
6126 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6127 |
+
|
6128 |
+
"use strict";
|
6129 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Symbol_js__ = __webpack_require__(69);
|
6130 |
+
|
6131 |
+
|
6132 |
+
/** Used for built-in method references. */
|
6133 |
+
var objectProto = Object.prototype;
|
6134 |
+
|
6135 |
+
/** Used to check objects for own properties. */
|
6136 |
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
6137 |
+
|
6138 |
+
/**
|
6139 |
+
* Used to resolve the
|
6140 |
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
6141 |
+
* of values.
|
6142 |
+
*/
|
6143 |
+
var nativeObjectToString = objectProto.toString;
|
6144 |
+
|
6145 |
+
/** Built-in value references. */
|
6146 |
+
var symToStringTag = __WEBPACK_IMPORTED_MODULE_0__Symbol_js__["a" /* default */] ? __WEBPACK_IMPORTED_MODULE_0__Symbol_js__["a" /* default */].toStringTag : undefined;
|
6147 |
+
|
6148 |
+
/**
|
6149 |
+
* A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
|
6150 |
+
*
|
6151 |
+
* @private
|
6152 |
+
* @param {*} value The value to query.
|
6153 |
+
* @returns {string} Returns the raw `toStringTag`.
|
6154 |
+
*/
|
6155 |
+
function getRawTag(value) {
|
6156 |
+
var isOwn = hasOwnProperty.call(value, symToStringTag),
|
6157 |
+
tag = value[symToStringTag];
|
6158 |
+
|
6159 |
+
try {
|
6160 |
+
value[symToStringTag] = undefined;
|
6161 |
+
var unmasked = true;
|
6162 |
+
} catch (e) {}
|
6163 |
+
|
6164 |
+
var result = nativeObjectToString.call(value);
|
6165 |
+
if (unmasked) {
|
6166 |
+
if (isOwn) {
|
6167 |
+
value[symToStringTag] = tag;
|
6168 |
+
} else {
|
6169 |
+
delete value[symToStringTag];
|
6170 |
+
}
|
6171 |
+
}
|
6172 |
+
return result;
|
6173 |
+
}
|
6174 |
+
|
6175 |
+
/* harmony default export */ __webpack_exports__["a"] = (getRawTag);
|
6176 |
+
|
6177 |
+
|
6178 |
+
/***/ }),
|
6179 |
+
/* 155 */
|
6180 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6181 |
+
|
6182 |
+
"use strict";
|
6183 |
+
/** Used for built-in method references. */
|
6184 |
+
var objectProto = Object.prototype;
|
6185 |
+
|
6186 |
+
/**
|
6187 |
+
* Used to resolve the
|
6188 |
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
6189 |
+
* of values.
|
6190 |
+
*/
|
6191 |
+
var nativeObjectToString = objectProto.toString;
|
6192 |
+
|
6193 |
+
/**
|
6194 |
+
* Converts `value` to a string using `Object.prototype.toString`.
|
6195 |
+
*
|
6196 |
+
* @private
|
6197 |
+
* @param {*} value The value to convert.
|
6198 |
+
* @returns {string} Returns the converted string.
|
6199 |
+
*/
|
6200 |
+
function objectToString(value) {
|
6201 |
+
return nativeObjectToString.call(value);
|
6202 |
+
}
|
6203 |
+
|
6204 |
+
/* harmony default export */ __webpack_exports__["a"] = (objectToString);
|
6205 |
+
|
6206 |
+
|
6207 |
+
/***/ }),
|
6208 |
+
/* 156 */
|
6209 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6210 |
+
|
6211 |
+
"use strict";
|
6212 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__overArg_js__ = __webpack_require__(157);
|
6213 |
+
|
6214 |
+
|
6215 |
+
/** Built-in value references. */
|
6216 |
+
var getPrototype = Object(__WEBPACK_IMPORTED_MODULE_0__overArg_js__["a" /* default */])(Object.getPrototypeOf, Object);
|
6217 |
+
|
6218 |
+
/* harmony default export */ __webpack_exports__["a"] = (getPrototype);
|
6219 |
+
|
6220 |
+
|
6221 |
+
/***/ }),
|
6222 |
+
/* 157 */
|
6223 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6224 |
+
|
6225 |
+
"use strict";
|
6226 |
+
/**
|
6227 |
+
* Creates a unary function that invokes `func` with its argument transformed.
|
6228 |
+
*
|
6229 |
+
* @private
|
6230 |
+
* @param {Function} func The function to wrap.
|
6231 |
+
* @param {Function} transform The argument transform.
|
6232 |
+
* @returns {Function} Returns the new function.
|
6233 |
+
*/
|
6234 |
+
function overArg(func, transform) {
|
6235 |
+
return function(arg) {
|
6236 |
+
return func(transform(arg));
|
6237 |
+
};
|
6238 |
+
}
|
6239 |
+
|
6240 |
+
/* harmony default export */ __webpack_exports__["a"] = (overArg);
|
6241 |
+
|
6242 |
+
|
6243 |
+
/***/ }),
|
6244 |
+
/* 158 */
|
6245 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6246 |
+
|
6247 |
+
"use strict";
|
6248 |
+
/**
|
6249 |
+
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
6250 |
+
* and has a `typeof` result of "object".
|
6251 |
+
*
|
6252 |
+
* @static
|
6253 |
+
* @memberOf _
|
6254 |
+
* @since 4.0.0
|
6255 |
+
* @category Lang
|
6256 |
+
* @param {*} value The value to check.
|
6257 |
+
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
6258 |
+
* @example
|
6259 |
+
*
|
6260 |
+
* _.isObjectLike({});
|
6261 |
+
* // => true
|
6262 |
+
*
|
6263 |
+
* _.isObjectLike([1, 2, 3]);
|
6264 |
+
* // => true
|
6265 |
+
*
|
6266 |
+
* _.isObjectLike(_.noop);
|
6267 |
+
* // => false
|
6268 |
+
*
|
6269 |
+
* _.isObjectLike(null);
|
6270 |
+
* // => false
|
6271 |
+
*/
|
6272 |
+
function isObjectLike(value) {
|
6273 |
+
return value != null && typeof value == 'object';
|
6274 |
+
}
|
6275 |
+
|
6276 |
+
/* harmony default export */ __webpack_exports__["a"] = (isObjectLike);
|
6277 |
+
|
6278 |
+
|
6279 |
+
/***/ }),
|
6280 |
+
/* 159 */
|
6281 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6282 |
+
|
6283 |
+
"use strict";
|
6284 |
+
/* WEBPACK VAR INJECTION */(function(global, module) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ponyfill_js__ = __webpack_require__(161);
|
6285 |
+
/* global window */
|
6286 |
+
|
6287 |
+
|
6288 |
+
var root;
|
6289 |
+
|
6290 |
+
if (typeof self !== 'undefined') {
|
6291 |
+
root = self;
|
6292 |
+
} else if (typeof window !== 'undefined') {
|
6293 |
+
root = window;
|
6294 |
+
} else if (typeof global !== 'undefined') {
|
6295 |
+
root = global;
|
6296 |
+
} else if (true) {
|
6297 |
+
root = module;
|
6298 |
+
} else {
|
6299 |
+
root = Function('return this')();
|
6300 |
+
}
|
6301 |
+
|
6302 |
+
var result = Object(__WEBPACK_IMPORTED_MODULE_0__ponyfill_js__["a" /* default */])(root);
|
6303 |
+
/* harmony default export */ __webpack_exports__["a"] = (result);
|
6304 |
+
|
6305 |
+
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(26), __webpack_require__(160)(module)))
|
6306 |
+
|
6307 |
+
/***/ }),
|
6308 |
+
/* 160 */
|
6309 |
+
/***/ (function(module, exports) {
|
6310 |
+
|
6311 |
+
module.exports = function(originalModule) {
|
6312 |
+
if(!originalModule.webpackPolyfill) {
|
6313 |
+
var module = Object.create(originalModule);
|
6314 |
+
// module.parent = undefined by default
|
6315 |
+
if(!module.children) module.children = [];
|
6316 |
+
Object.defineProperty(module, "loaded", {
|
6317 |
+
enumerable: true,
|
6318 |
+
get: function() {
|
6319 |
+
return module.l;
|
6320 |
+
}
|
6321 |
+
});
|
6322 |
+
Object.defineProperty(module, "id", {
|
6323 |
+
enumerable: true,
|
6324 |
+
get: function() {
|
6325 |
+
return module.i;
|
6326 |
+
}
|
6327 |
+
});
|
6328 |
+
Object.defineProperty(module, "exports", {
|
6329 |
+
enumerable: true,
|
6330 |
+
});
|
6331 |
+
module.webpackPolyfill = 1;
|
6332 |
+
}
|
6333 |
+
return module;
|
6334 |
+
};
|
6335 |
+
|
6336 |
+
|
6337 |
+
/***/ }),
|
6338 |
+
/* 161 */
|
6339 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6340 |
+
|
6341 |
+
"use strict";
|
6342 |
+
/* harmony export (immutable) */ __webpack_exports__["a"] = symbolObservablePonyfill;
|
6343 |
+
function symbolObservablePonyfill(root) {
|
6344 |
+
var result;
|
6345 |
+
var Symbol = root.Symbol;
|
6346 |
+
|
6347 |
+
if (typeof Symbol === 'function') {
|
6348 |
+
if (Symbol.observable) {
|
6349 |
+
result = Symbol.observable;
|
6350 |
+
} else {
|
6351 |
+
result = Symbol('observable');
|
6352 |
+
Symbol.observable = result;
|
6353 |
+
}
|
6354 |
+
} else {
|
6355 |
+
result = '@@observable';
|
6356 |
+
}
|
6357 |
+
|
6358 |
+
return result;
|
6359 |
+
};
|
6360 |
+
|
6361 |
+
|
6362 |
+
/***/ }),
|
6363 |
+
/* 162 */
|
6364 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6365 |
+
|
6366 |
+
"use strict";
|
6367 |
+
/* harmony export (immutable) */ __webpack_exports__["a"] = combineReducers;
|
6368 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__createStore__ = __webpack_require__(67);
|
6369 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_es_isPlainObject__ = __webpack_require__(68);
|
6370 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__utils_warning__ = __webpack_require__(70);
|
6371 |
+
|
6372 |
+
|
6373 |
+
|
6374 |
+
|
6375 |
+
function getUndefinedStateErrorMessage(key, action) {
|
6376 |
+
var actionType = action && action.type;
|
6377 |
+
var actionName = actionType && '"' + actionType.toString() + '"' || 'an action';
|
6378 |
+
|
6379 |
+
return 'Given action ' + actionName + ', reducer "' + key + '" returned undefined. ' + 'To ignore an action, you must explicitly return the previous state. ' + 'If you want this reducer to hold no value, you can return null instead of undefined.';
|
6380 |
+
}
|
6381 |
+
|
6382 |
+
function getUnexpectedStateShapeWarningMessage(inputState, reducers, action, unexpectedKeyCache) {
|
6383 |
+
var reducerKeys = Object.keys(reducers);
|
6384 |
+
var argumentName = action && action.type === __WEBPACK_IMPORTED_MODULE_0__createStore__["a" /* ActionTypes */].INIT ? 'preloadedState argument passed to createStore' : 'previous state received by the reducer';
|
6385 |
+
|
6386 |
+
if (reducerKeys.length === 0) {
|
6387 |
+
return 'Store does not have a valid reducer. Make sure the argument passed ' + 'to combineReducers is an object whose values are reducers.';
|
6388 |
+
}
|
6389 |
+
|
6390 |
+
if (!Object(__WEBPACK_IMPORTED_MODULE_1_lodash_es_isPlainObject__["a" /* default */])(inputState)) {
|
6391 |
+
return 'The ' + argumentName + ' has unexpected type of "' + {}.toString.call(inputState).match(/\s([a-z|A-Z]+)/)[1] + '". Expected argument to be an object with the following ' + ('keys: "' + reducerKeys.join('", "') + '"');
|
6392 |
+
}
|
6393 |
+
|
6394 |
+
var unexpectedKeys = Object.keys(inputState).filter(function (key) {
|
6395 |
+
return !reducers.hasOwnProperty(key) && !unexpectedKeyCache[key];
|
6396 |
+
});
|
6397 |
+
|
6398 |
+
unexpectedKeys.forEach(function (key) {
|
6399 |
+
unexpectedKeyCache[key] = true;
|
6400 |
+
});
|
6401 |
+
|
6402 |
+
if (unexpectedKeys.length > 0) {
|
6403 |
+
return 'Unexpected ' + (unexpectedKeys.length > 1 ? 'keys' : 'key') + ' ' + ('"' + unexpectedKeys.join('", "') + '" found in ' + argumentName + '. ') + 'Expected to find one of the known reducer keys instead: ' + ('"' + reducerKeys.join('", "') + '". Unexpected keys will be ignored.');
|
6404 |
+
}
|
6405 |
+
}
|
6406 |
+
|
6407 |
+
function assertReducerShape(reducers) {
|
6408 |
+
Object.keys(reducers).forEach(function (key) {
|
6409 |
+
var reducer = reducers[key];
|
6410 |
+
var initialState = reducer(undefined, { type: __WEBPACK_IMPORTED_MODULE_0__createStore__["a" /* ActionTypes */].INIT });
|
6411 |
+
|
6412 |
+
if (typeof initialState === 'undefined') {
|
6413 |
+
throw new Error('Reducer "' + key + '" returned undefined during initialization. ' + 'If the state passed to the reducer is undefined, you must ' + 'explicitly return the initial state. The initial state may ' + 'not be undefined. If you don\'t want to set a value for this reducer, ' + 'you can use null instead of undefined.');
|
6414 |
+
}
|
6415 |
+
|
6416 |
+
var type = '@@redux/PROBE_UNKNOWN_ACTION_' + Math.random().toString(36).substring(7).split('').join('.');
|
6417 |
+
if (typeof reducer(undefined, { type: type }) === 'undefined') {
|
6418 |
+
throw new Error('Reducer "' + key + '" returned undefined when probed with a random type. ' + ('Don\'t try to handle ' + __WEBPACK_IMPORTED_MODULE_0__createStore__["a" /* ActionTypes */].INIT + ' or other actions in "redux/*" ') + 'namespace. They are considered private. Instead, you must return the ' + 'current state for any unknown actions, unless it is undefined, ' + 'in which case you must return the initial state, regardless of the ' + 'action type. The initial state may not be undefined, but can be null.');
|
6419 |
+
}
|
6420 |
+
});
|
6421 |
+
}
|
6422 |
+
|
6423 |
+
/**
|
6424 |
+
* Turns an object whose values are different reducer functions, into a single
|
6425 |
+
* reducer function. It will call every child reducer, and gather their results
|
6426 |
+
* into a single state object, whose keys correspond to the keys of the passed
|
6427 |
+
* reducer functions.
|
6428 |
+
*
|
6429 |
+
* @param {Object} reducers An object whose values correspond to different
|
6430 |
+
* reducer functions that need to be combined into one. One handy way to obtain
|
6431 |
+
* it is to use ES6 `import * as reducers` syntax. The reducers may never return
|
6432 |
+
* undefined for any action. Instead, they should return their initial state
|
6433 |
+
* if the state passed to them was undefined, and the current state for any
|
6434 |
+
* unrecognized action.
|
6435 |
+
*
|
6436 |
+
* @returns {Function} A reducer function that invokes every reducer inside the
|
6437 |
+
* passed object, and builds a state object with the same shape.
|
6438 |
+
*/
|
6439 |
+
function combineReducers(reducers) {
|
6440 |
+
var reducerKeys = Object.keys(reducers);
|
6441 |
+
var finalReducers = {};
|
6442 |
+
for (var i = 0; i < reducerKeys.length; i++) {
|
6443 |
+
var key = reducerKeys[i];
|
6444 |
+
|
6445 |
+
if (false) {
|
6446 |
+
if (typeof reducers[key] === 'undefined') {
|
6447 |
+
warning('No reducer provided for key "' + key + '"');
|
6448 |
+
}
|
6449 |
+
}
|
6450 |
+
|
6451 |
+
if (typeof reducers[key] === 'function') {
|
6452 |
+
finalReducers[key] = reducers[key];
|
6453 |
+
}
|
6454 |
+
}
|
6455 |
+
var finalReducerKeys = Object.keys(finalReducers);
|
6456 |
+
|
6457 |
+
var unexpectedKeyCache = void 0;
|
6458 |
+
if (false) {
|
6459 |
+
unexpectedKeyCache = {};
|
6460 |
+
}
|
6461 |
+
|
6462 |
+
var shapeAssertionError = void 0;
|
6463 |
+
try {
|
6464 |
+
assertReducerShape(finalReducers);
|
6465 |
+
} catch (e) {
|
6466 |
+
shapeAssertionError = e;
|
6467 |
+
}
|
6468 |
+
|
6469 |
+
return function combination() {
|
6470 |
+
var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
6471 |
+
var action = arguments[1];
|
6472 |
+
|
6473 |
+
if (shapeAssertionError) {
|
6474 |
+
throw shapeAssertionError;
|
6475 |
+
}
|
6476 |
+
|
6477 |
+
if (false) {
|
6478 |
+
var warningMessage = getUnexpectedStateShapeWarningMessage(state, finalReducers, action, unexpectedKeyCache);
|
6479 |
+
if (warningMessage) {
|
6480 |
+
warning(warningMessage);
|
6481 |
+
}
|
6482 |
+
}
|
6483 |
+
|
6484 |
+
var hasChanged = false;
|
6485 |
+
var nextState = {};
|
6486 |
+
for (var _i = 0; _i < finalReducerKeys.length; _i++) {
|
6487 |
+
var _key = finalReducerKeys[_i];
|
6488 |
+
var reducer = finalReducers[_key];
|
6489 |
+
var previousStateForKey = state[_key];
|
6490 |
+
var nextStateForKey = reducer(previousStateForKey, action);
|
6491 |
+
if (typeof nextStateForKey === 'undefined') {
|
6492 |
+
var errorMessage = getUndefinedStateErrorMessage(_key, action);
|
6493 |
+
throw new Error(errorMessage);
|
6494 |
+
}
|
6495 |
+
nextState[_key] = nextStateForKey;
|
6496 |
+
hasChanged = hasChanged || nextStateForKey !== previousStateForKey;
|
6497 |
+
}
|
6498 |
+
return hasChanged ? nextState : state;
|
6499 |
+
};
|
6500 |
+
}
|
6501 |
+
|
6502 |
+
/***/ }),
|
6503 |
+
/* 163 */
|
6504 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6505 |
+
|
6506 |
+
"use strict";
|
6507 |
+
/* harmony export (immutable) */ __webpack_exports__["a"] = bindActionCreators;
|
6508 |
+
function bindActionCreator(actionCreator, dispatch) {
|
6509 |
+
return function () {
|
6510 |
+
return dispatch(actionCreator.apply(undefined, arguments));
|
6511 |
+
};
|
6512 |
+
}
|
6513 |
+
|
6514 |
+
/**
|
6515 |
+
* Turns an object whose values are action creators, into an object with the
|
6516 |
+
* same keys, but with every function wrapped into a `dispatch` call so they
|
6517 |
+
* may be invoked directly. This is just a convenience method, as you can call
|
6518 |
+
* `store.dispatch(MyActionCreators.doSomething())` yourself just fine.
|
6519 |
+
*
|
6520 |
+
* For convenience, you can also pass a single function as the first argument,
|
6521 |
+
* and get a function in return.
|
6522 |
+
*
|
6523 |
+
* @param {Function|Object} actionCreators An object whose values are action
|
6524 |
+
* creator functions. One handy way to obtain it is to use ES6 `import * as`
|
6525 |
+
* syntax. You may also pass a single function.
|
6526 |
+
*
|
6527 |
+
* @param {Function} dispatch The `dispatch` function available on your Redux
|
6528 |
+
* store.
|
6529 |
+
*
|
6530 |
+
* @returns {Function|Object} The object mimicking the original object, but with
|
6531 |
+
* every action creator wrapped into the `dispatch` call. If you passed a
|
6532 |
+
* function as `actionCreators`, the return value will also be a single
|
6533 |
+
* function.
|
6534 |
+
*/
|
6535 |
+
function bindActionCreators(actionCreators, dispatch) {
|
6536 |
+
if (typeof actionCreators === 'function') {
|
6537 |
+
return bindActionCreator(actionCreators, dispatch);
|
6538 |
+
}
|
6539 |
+
|
6540 |
+
if (typeof actionCreators !== 'object' || actionCreators === null) {
|
6541 |
+
throw new Error('bindActionCreators expected an object or a function, instead received ' + (actionCreators === null ? 'null' : typeof actionCreators) + '. ' + 'Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');
|
6542 |
+
}
|
6543 |
+
|
6544 |
+
var keys = Object.keys(actionCreators);
|
6545 |
+
var boundActionCreators = {};
|
6546 |
+
for (var i = 0; i < keys.length; i++) {
|
6547 |
+
var key = keys[i];
|
6548 |
+
var actionCreator = actionCreators[key];
|
6549 |
+
if (typeof actionCreator === 'function') {
|
6550 |
+
boundActionCreators[key] = bindActionCreator(actionCreator, dispatch);
|
6551 |
+
}
|
6552 |
+
}
|
6553 |
+
return boundActionCreators;
|
6554 |
+
}
|
6555 |
+
|
6556 |
+
/***/ }),
|
6557 |
+
/* 164 */
|
6558 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
6559 |
+
|
6560 |
+
"use strict";
|
6561 |
+
/* harmony export (immutable) */ __webpack_exports__["a"] = applyMiddleware;
|
6562 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__compose__ = __webpack_require__(71);
|
6563 |
+
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
6564 |
+
|
6565 |
+
|
6566 |
+
|
6567 |
+
/**
|
6568 |
+
* Creates a store enhancer that applies middleware to the dispatch method
|
6569 |
+
* of the Redux store. This is handy for a variety of tasks, such as expressing
|
6570 |
+
* asynchronous actions in a concise manner, or logging every action payload.
|
6571 |
+
*
|
6572 |
+
* See `redux-thunk` package as an example of the Redux middleware.
|
6573 |
+
*
|
6574 |
+
* Because middleware is potentially asynchronous, this should be the first
|
6575 |
+
* store enhancer in the composition chain.
|
6576 |
+
*
|
6577 |
+
* Note that each middleware will be given the `dispatch` and `getState` functions
|
6578 |
+
* as named arguments.
|
6579 |
+
*
|
6580 |
+
* @param {...Function} middlewares The middleware chain to be applied.
|
6581 |
+
* @returns {Function} A store enhancer applying the middleware.
|
6582 |
+
*/
|
6583 |
+
function applyMiddleware() {
|
6584 |
+
for (var _len = arguments.length, middlewares = Array(_len), _key = 0; _key < _len; _key++) {
|
6585 |
+
middlewares[_key] = arguments[_key];
|
6586 |
+
}
|
6587 |
+
|
6588 |
+
return function (createStore) {
|
6589 |
+
return function (reducer, preloadedState, enhancer) {
|
6590 |
+
var store = createStore(reducer, preloadedState, enhancer);
|
6591 |
+
var _dispatch = store.dispatch;
|
6592 |
+
var chain = [];
|
6593 |
+
|
6594 |
+
var middlewareAPI = {
|
6595 |
+
getState: store.getState,
|
6596 |
+
dispatch: function dispatch(action) {
|
6597 |
+
return _dispatch(action);
|
6598 |
+
}
|
6599 |
+
};
|
6600 |
+
chain = middlewares.map(function (middleware) {
|
6601 |
+
return middleware(middlewareAPI);
|
6602 |
+
});
|
6603 |
+
_dispatch = __WEBPACK_IMPORTED_MODULE_0__compose__["a" /* default */].apply(undefined, chain)(store.dispatch);
|
6604 |
+
|
6605 |
+
return _extends({}, store, {
|
6606 |
+
dispatch: _dispatch
|
6607 |
+
});
|
6608 |
+
};
|
6609 |
+
};
|
6610 |
+
}
|
6611 |
+
|
6612 |
+
/***/ }),
|
6613 |
+
/* 165 */
|
6614 |
+
/***/ (function(module, exports, __webpack_require__) {
|
6615 |
+
|
6616 |
+
"use strict";
|
6617 |
+
|
6618 |
+
|
6619 |
+
Object.defineProperty(exports, "__esModule", {
|
6620 |
+
value: true
|
6621 |
+
});
|
6622 |
+
|
6623 |
+
var _redux = __webpack_require__(42);
|
6624 |
+
|
6625 |
+
var _options = __webpack_require__(166);
|
6626 |
+
|
6627 |
+
var _options2 = _interopRequireDefault(_options);
|
6628 |
+
|
6629 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
6630 |
+
|
6631 |
+
var rootReducer = (0, _redux.combineReducers)({
|
6632 |
+
options: _options2.default
|
6633 |
+
});
|
6634 |
+
|
6635 |
+
exports.default = rootReducer;
|
6636 |
+
|
6637 |
+
/***/ }),
|
6638 |
+
/* 166 */
|
6639 |
+
/***/ (function(module, exports, __webpack_require__) {
|
6640 |
+
|
6641 |
+
"use strict";
|
6642 |
+
|
6643 |
+
|
6644 |
+
Object.defineProperty(exports, "__esModule", {
|
6645 |
+
value: true
|
6646 |
+
});
|
6647 |
+
|
6648 |
+
exports.default = function () {
|
6649 |
+
var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
6650 |
+
var action = arguments[1];
|
6651 |
+
|
6652 |
+
switch (action.type) {
|
6653 |
+
case _get_options.FETCH_OPTIONS:
|
6654 |
+
return action.payload.data;
|
6655 |
+
break;
|
6656 |
+
case _save_options.SAVE_OPTIONS:
|
6657 |
+
return action.payload.data;
|
6658 |
+
break;
|
6659 |
+
}
|
6660 |
+
return state;
|
6661 |
+
};
|
6662 |
+
|
6663 |
+
var _get_options = __webpack_require__(72);
|
6664 |
+
|
6665 |
+
var _save_options = __webpack_require__(6);
|
6666 |
+
|
6667 |
+
/***/ }),
|
6668 |
+
/* 167 */
|
6669 |
+
/***/ (function(module, exports, __webpack_require__) {
|
6670 |
+
|
6671 |
+
"use strict";
|
6672 |
+
|
6673 |
+
|
6674 |
+
var utils = __webpack_require__(73);
|
6675 |
+
var formats = __webpack_require__(74);
|
6676 |
+
|
6677 |
+
var arrayPrefixGenerators = {
|
6678 |
+
brackets: function brackets(prefix) { // eslint-disable-line func-name-matching
|
6679 |
+
return prefix + '[]';
|
6680 |
+
},
|
6681 |
+
indices: function indices(prefix, key) { // eslint-disable-line func-name-matching
|
6682 |
+
return prefix + '[' + key + ']';
|
6683 |
+
},
|
6684 |
+
repeat: function repeat(prefix) { // eslint-disable-line func-name-matching
|
6685 |
+
return prefix;
|
6686 |
+
}
|
6687 |
+
};
|
6688 |
+
|
6689 |
+
var toISO = Date.prototype.toISOString;
|
6690 |
+
|
6691 |
+
var defaults = {
|
6692 |
+
delimiter: '&',
|
6693 |
+
encode: true,
|
6694 |
+
encoder: utils.encode,
|
6695 |
+
encodeValuesOnly: false,
|
6696 |
+
serializeDate: function serializeDate(date) { // eslint-disable-line func-name-matching
|
6697 |
+
return toISO.call(date);
|
6698 |
+
},
|
6699 |
+
skipNulls: false,
|
6700 |
+
strictNullHandling: false
|
6701 |
+
};
|
6702 |
+
|
6703 |
+
var stringify = function stringify( // eslint-disable-line func-name-matching
|
6704 |
+
object,
|
6705 |
+
prefix,
|
6706 |
+
generateArrayPrefix,
|
6707 |
+
strictNullHandling,
|
6708 |
+
skipNulls,
|
6709 |
+
encoder,
|
6710 |
+
filter,
|
6711 |
+
sort,
|
6712 |
+
allowDots,
|
6713 |
+
serializeDate,
|
6714 |
+
formatter,
|
6715 |
+
encodeValuesOnly
|
6716 |
+
) {
|
6717 |
+
var obj = object;
|
6718 |
+
if (typeof filter === 'function') {
|
6719 |
+
obj = filter(prefix, obj);
|
6720 |
+
} else if (obj instanceof Date) {
|
6721 |
+
obj = serializeDate(obj);
|
6722 |
+
} else if (obj === null) {
|
6723 |
+
if (strictNullHandling) {
|
6724 |
+
return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder) : prefix;
|
6725 |
+
}
|
6726 |
+
|
6727 |
+
obj = '';
|
6728 |
+
}
|
6729 |
+
|
6730 |
+
if (typeof obj === 'string' || typeof obj === 'number' || typeof obj === 'boolean' || utils.isBuffer(obj)) {
|
6731 |
+
if (encoder) {
|
6732 |
+
var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder);
|
6733 |
+
return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder))];
|
6734 |
+
}
|
6735 |
+
return [formatter(prefix) + '=' + formatter(String(obj))];
|
6736 |
+
}
|
6737 |
+
|
6738 |
+
var values = [];
|
6739 |
+
|
6740 |
+
if (typeof obj === 'undefined') {
|
6741 |
+
return values;
|
6742 |
+
}
|
6743 |
+
|
6744 |
+
var objKeys;
|
6745 |
+
if (Array.isArray(filter)) {
|
6746 |
+
objKeys = filter;
|
6747 |
+
} else {
|
6748 |
+
var keys = Object.keys(obj);
|
6749 |
+
objKeys = sort ? keys.sort(sort) : keys;
|
6750 |
+
}
|
6751 |
+
|
6752 |
+
for (var i = 0; i < objKeys.length; ++i) {
|
6753 |
+
var key = objKeys[i];
|
6754 |
+
|
6755 |
+
if (skipNulls && obj[key] === null) {
|
6756 |
+
continue;
|
6757 |
+
}
|
6758 |
+
|
6759 |
+
if (Array.isArray(obj)) {
|
6760 |
+
values = values.concat(stringify(
|
6761 |
+
obj[key],
|
6762 |
+
generateArrayPrefix(prefix, key),
|
6763 |
+
generateArrayPrefix,
|
6764 |
+
strictNullHandling,
|
6765 |
+
skipNulls,
|
6766 |
+
encoder,
|
6767 |
+
filter,
|
6768 |
+
sort,
|
6769 |
+
allowDots,
|
6770 |
+
serializeDate,
|
6771 |
+
formatter,
|
6772 |
+
encodeValuesOnly
|
6773 |
+
));
|
6774 |
+
} else {
|
6775 |
+
values = values.concat(stringify(
|
6776 |
+
obj[key],
|
6777 |
+
prefix + (allowDots ? '.' + key : '[' + key + ']'),
|
6778 |
+
generateArrayPrefix,
|
6779 |
+
strictNullHandling,
|
6780 |
+
skipNulls,
|
6781 |
+
encoder,
|
6782 |
+
filter,
|
6783 |
+
sort,
|
6784 |
+
allowDots,
|
6785 |
+
serializeDate,
|
6786 |
+
formatter,
|
6787 |
+
encodeValuesOnly
|
6788 |
+
));
|
6789 |
+
}
|
6790 |
+
}
|
6791 |
+
|
6792 |
+
return values;
|
6793 |
+
};
|
6794 |
+
|
6795 |
+
module.exports = function (object, opts) {
|
6796 |
+
var obj = object;
|
6797 |
+
var options = opts ? utils.assign({}, opts) : {};
|
6798 |
+
|
6799 |
+
if (options.encoder !== null && options.encoder !== undefined && typeof options.encoder !== 'function') {
|
6800 |
+
throw new TypeError('Encoder has to be a function.');
|
6801 |
+
}
|
6802 |
+
|
6803 |
+
var delimiter = typeof options.delimiter === 'undefined' ? defaults.delimiter : options.delimiter;
|
6804 |
+
var strictNullHandling = typeof options.strictNullHandling === 'boolean' ? options.strictNullHandling : defaults.strictNullHandling;
|
6805 |
+
var skipNulls = typeof options.skipNulls === 'boolean' ? options.skipNulls : defaults.skipNulls;
|
6806 |
+
var encode = typeof options.encode === 'boolean' ? options.encode : defaults.encode;
|
6807 |
+
var encoder = typeof options.encoder === 'function' ? options.encoder : defaults.encoder;
|
6808 |
+
var sort = typeof options.sort === 'function' ? options.sort : null;
|
6809 |
+
var allowDots = typeof options.allowDots === 'undefined' ? false : options.allowDots;
|
6810 |
+
var serializeDate = typeof options.serializeDate === 'function' ? options.serializeDate : defaults.serializeDate;
|
6811 |
+
var encodeValuesOnly = typeof options.encodeValuesOnly === 'boolean' ? options.encodeValuesOnly : defaults.encodeValuesOnly;
|
6812 |
+
if (typeof options.format === 'undefined') {
|
6813 |
+
options.format = formats['default'];
|
6814 |
+
} else if (!Object.prototype.hasOwnProperty.call(formats.formatters, options.format)) {
|
6815 |
+
throw new TypeError('Unknown format option provided.');
|
6816 |
+
}
|
6817 |
+
var formatter = formats.formatters[options.format];
|
6818 |
+
var objKeys;
|
6819 |
+
var filter;
|
6820 |
+
|
6821 |
+
if (typeof options.filter === 'function') {
|
6822 |
+
filter = options.filter;
|
6823 |
+
obj = filter('', obj);
|
6824 |
+
} else if (Array.isArray(options.filter)) {
|
6825 |
+
filter = options.filter;
|
6826 |
+
objKeys = filter;
|
6827 |
+
}
|
6828 |
+
|
6829 |
+
var keys = [];
|
6830 |
+
|
6831 |
+
if (typeof obj !== 'object' || obj === null) {
|
6832 |
+
return '';
|
6833 |
+
}
|
6834 |
+
|
6835 |
+
var arrayFormat;
|
6836 |
+
if (options.arrayFormat in arrayPrefixGenerators) {
|
6837 |
+
arrayFormat = options.arrayFormat;
|
6838 |
+
} else if ('indices' in options) {
|
6839 |
+
arrayFormat = options.indices ? 'indices' : 'repeat';
|
6840 |
+
} else {
|
6841 |
+
arrayFormat = 'indices';
|
6842 |
+
}
|
6843 |
+
|
6844 |
+
var generateArrayPrefix = arrayPrefixGenerators[arrayFormat];
|
6845 |
+
|
6846 |
+
if (!objKeys) {
|
6847 |
+
objKeys = Object.keys(obj);
|
6848 |
+
}
|
6849 |
+
|
6850 |
+
if (sort) {
|
6851 |
+
objKeys.sort(sort);
|
6852 |
+
}
|
6853 |
+
|
6854 |
+
for (var i = 0; i < objKeys.length; ++i) {
|
6855 |
+
var key = objKeys[i];
|
6856 |
+
|
6857 |
+
if (skipNulls && obj[key] === null) {
|
6858 |
+
continue;
|
6859 |
+
}
|
6860 |
+
|
6861 |
+
keys = keys.concat(stringify(
|
6862 |
+
obj[key],
|
6863 |
+
key,
|
6864 |
+
generateArrayPrefix,
|
6865 |
+
strictNullHandling,
|
6866 |
+
skipNulls,
|
6867 |
+
encode ? encoder : null,
|
6868 |
+
filter,
|
6869 |
+
sort,
|
6870 |
+
allowDots,
|
6871 |
+
serializeDate,
|
6872 |
+
formatter,
|
6873 |
+
encodeValuesOnly
|
6874 |
+
));
|
6875 |
+
}
|
6876 |
+
|
6877 |
+
var joined = keys.join(delimiter);
|
6878 |
+
var prefix = options.addQueryPrefix === true ? '?' : '';
|
6879 |
+
|
6880 |
+
return joined.length > 0 ? prefix + joined : '';
|
6881 |
+
};
|
6882 |
+
|
6883 |
+
|
6884 |
+
/***/ }),
|
6885 |
+
/* 168 */
|
6886 |
+
/***/ (function(module, exports, __webpack_require__) {
|
6887 |
+
|
6888 |
+
"use strict";
|
6889 |
+
|
6890 |
+
|
6891 |
+
var utils = __webpack_require__(73);
|
6892 |
+
|
6893 |
+
var has = Object.prototype.hasOwnProperty;
|
6894 |
+
|
6895 |
+
var defaults = {
|
6896 |
+
allowDots: false,
|
6897 |
+
allowPrototypes: false,
|
6898 |
+
arrayLimit: 20,
|
6899 |
+
decoder: utils.decode,
|
6900 |
+
delimiter: '&',
|
6901 |
+
depth: 5,
|
6902 |
+
parameterLimit: 1000,
|
6903 |
+
plainObjects: false,
|
6904 |
+
strictNullHandling: false
|
6905 |
+
};
|
6906 |
+
|
6907 |
+
var parseValues = function parseQueryStringValues(str, options) {
|
6908 |
+
var obj = {};
|
6909 |
+
var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str;
|
6910 |
+
var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;
|
6911 |
+
var parts = cleanStr.split(options.delimiter, limit);
|
6912 |
+
|
6913 |
+
for (var i = 0; i < parts.length; ++i) {
|
6914 |
+
var part = parts[i];
|
6915 |
+
|
6916 |
+
var bracketEqualsPos = part.indexOf(']=');
|
6917 |
+
var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1;
|
6918 |
+
|
6919 |
+
var key, val;
|
6920 |
+
if (pos === -1) {
|
6921 |
+
key = options.decoder(part, defaults.decoder);
|
6922 |
+
val = options.strictNullHandling ? null : '';
|
6923 |
+
} else {
|
6924 |
+
key = options.decoder(part.slice(0, pos), defaults.decoder);
|
6925 |
+
val = options.decoder(part.slice(pos + 1), defaults.decoder);
|
6926 |
+
}
|
6927 |
+
if (has.call(obj, key)) {
|
6928 |
+
obj[key] = [].concat(obj[key]).concat(val);
|
6929 |
+
} else {
|
6930 |
+
obj[key] = val;
|
6931 |
+
}
|
6932 |
+
}
|
6933 |
+
|
6934 |
+
return obj;
|
6935 |
+
};
|
6936 |
+
|
6937 |
+
var parseObject = function (chain, val, options) {
|
6938 |
+
var leaf = val;
|
6939 |
+
|
6940 |
+
for (var i = chain.length - 1; i >= 0; --i) {
|
6941 |
+
var obj;
|
6942 |
+
var root = chain[i];
|
6943 |
+
|
6944 |
+
if (root === '[]') {
|
6945 |
+
obj = [];
|
6946 |
+
obj = obj.concat(leaf);
|
6947 |
+
} else {
|
6948 |
+
obj = options.plainObjects ? Object.create(null) : {};
|
6949 |
+
var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;
|
6950 |
+
var index = parseInt(cleanRoot, 10);
|
6951 |
+
if (
|
6952 |
+
!isNaN(index)
|
6953 |
+
&& root !== cleanRoot
|
6954 |
+
&& String(index) === cleanRoot
|
6955 |
+
&& index >= 0
|
6956 |
+
&& (options.parseArrays && index <= options.arrayLimit)
|
6957 |
+
) {
|
6958 |
+
obj = [];
|
6959 |
+
obj[index] = leaf;
|
6960 |
+
} else {
|
6961 |
+
obj[cleanRoot] = leaf;
|
6962 |
+
}
|
6963 |
+
}
|
6964 |
+
|
6965 |
+
leaf = obj;
|
6966 |
+
}
|
6967 |
+
|
6968 |
+
return leaf;
|
6969 |
+
};
|
6970 |
+
|
6971 |
+
var parseKeys = function parseQueryStringKeys(givenKey, val, options) {
|
6972 |
+
if (!givenKey) {
|
6973 |
+
return;
|
6974 |
+
}
|
6975 |
+
|
6976 |
+
// Transform dot notation to bracket notation
|
6977 |
+
var key = options.allowDots ? givenKey.replace(/\.([^.[]+)/g, '[$1]') : givenKey;
|
6978 |
+
|
6979 |
+
// The regex chunks
|
6980 |
+
|
6981 |
+
var brackets = /(\[[^[\]]*])/;
|
6982 |
+
var child = /(\[[^[\]]*])/g;
|
6983 |
+
|
6984 |
+
// Get the parent
|
6985 |
+
|
6986 |
+
var segment = brackets.exec(key);
|
6987 |
+
var parent = segment ? key.slice(0, segment.index) : key;
|
6988 |
+
|
6989 |
+
// Stash the parent if it exists
|
6990 |
+
|
6991 |
+
var keys = [];
|
6992 |
+
if (parent) {
|
6993 |
+
// If we aren't using plain objects, optionally prefix keys
|
6994 |
+
// that would overwrite object prototype properties
|
6995 |
+
if (!options.plainObjects && has.call(Object.prototype, parent)) {
|
6996 |
+
if (!options.allowPrototypes) {
|
6997 |
+
return;
|
6998 |
+
}
|
6999 |
+
}
|
7000 |
+
|
7001 |
+
keys.push(parent);
|
7002 |
+
}
|
7003 |
+
|
7004 |
+
// Loop through children appending to the array until we hit depth
|
7005 |
+
|
7006 |
+
var i = 0;
|
7007 |
+
while ((segment = child.exec(key)) !== null && i < options.depth) {
|
7008 |
+
i += 1;
|
7009 |
+
if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) {
|
7010 |
+
if (!options.allowPrototypes) {
|
7011 |
+
return;
|
7012 |
+
}
|
7013 |
+
}
|
7014 |
+
keys.push(segment[1]);
|
7015 |
+
}
|
7016 |
+
|
7017 |
+
// If there's a remainder, just add whatever is left
|
7018 |
+
|
7019 |
+
if (segment) {
|
7020 |
+
keys.push('[' + key.slice(segment.index) + ']');
|
7021 |
+
}
|
7022 |
+
|
7023 |
+
return parseObject(keys, val, options);
|
7024 |
+
};
|
7025 |
+
|
7026 |
+
module.exports = function (str, opts) {
|
7027 |
+
var options = opts ? utils.assign({}, opts) : {};
|
7028 |
+
|
7029 |
+
if (options.decoder !== null && options.decoder !== undefined && typeof options.decoder !== 'function') {
|
7030 |
+
throw new TypeError('Decoder has to be a function.');
|
7031 |
+
}
|
7032 |
+
|
7033 |
+
options.ignoreQueryPrefix = options.ignoreQueryPrefix === true;
|
7034 |
+
options.delimiter = typeof options.delimiter === 'string' || utils.isRegExp(options.delimiter) ? options.delimiter : defaults.delimiter;
|
7035 |
+
options.depth = typeof options.depth === 'number' ? options.depth : defaults.depth;
|
7036 |
+
options.arrayLimit = typeof options.arrayLimit === 'number' ? options.arrayLimit : defaults.arrayLimit;
|
7037 |
+
options.parseArrays = options.parseArrays !== false;
|
7038 |
+
options.decoder = typeof options.decoder === 'function' ? options.decoder : defaults.decoder;
|
7039 |
+
options.allowDots = typeof options.allowDots === 'boolean' ? options.allowDots : defaults.allowDots;
|
7040 |
+
options.plainObjects = typeof options.plainObjects === 'boolean' ? options.plainObjects : defaults.plainObjects;
|
7041 |
+
options.allowPrototypes = typeof options.allowPrototypes === 'boolean' ? options.allowPrototypes : defaults.allowPrototypes;
|
7042 |
+
options.parameterLimit = typeof options.parameterLimit === 'number' ? options.parameterLimit : defaults.parameterLimit;
|
7043 |
+
options.strictNullHandling = typeof options.strictNullHandling === 'boolean' ? options.strictNullHandling : defaults.strictNullHandling;
|
7044 |
+
|
7045 |
+
if (str === '' || str === null || typeof str === 'undefined') {
|
7046 |
+
return options.plainObjects ? Object.create(null) : {};
|
7047 |
+
}
|
7048 |
+
|
7049 |
+
var tempObj = typeof str === 'string' ? parseValues(str, options) : str;
|
7050 |
+
var obj = options.plainObjects ? Object.create(null) : {};
|
7051 |
+
|
7052 |
+
// Iterate over the keys and setup the new object
|
7053 |
+
|
7054 |
+
var keys = Object.keys(tempObj);
|
7055 |
+
for (var i = 0; i < keys.length; ++i) {
|
7056 |
+
var key = keys[i];
|
7057 |
+
var newObj = parseKeys(key, tempObj[key], options);
|
7058 |
+
obj = utils.merge(obj, newObj, options);
|
7059 |
+
}
|
7060 |
+
|
7061 |
+
return utils.compact(obj);
|
7062 |
+
};
|
7063 |
+
|
7064 |
+
|
7065 |
+
/***/ }),
|
7066 |
+
/* 169 */
|
7067 |
+
/***/ (function(module, exports, __webpack_require__) {
|
7068 |
+
|
7069 |
+
"use strict";
|
7070 |
+
|
7071 |
+
|
7072 |
+
Object.defineProperty(exports, "__esModule", {
|
7073 |
+
value: true
|
7074 |
+
});
|
7075 |
+
|
7076 |
+
var _getPrototypeOf = __webpack_require__(1);
|
7077 |
+
|
7078 |
+
var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
|
7079 |
+
|
7080 |
+
var _classCallCheck2 = __webpack_require__(2);
|
7081 |
+
|
7082 |
+
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
|
7083 |
+
|
7084 |
+
var _createClass2 = __webpack_require__(3);
|
7085 |
+
|
7086 |
+
var _createClass3 = _interopRequireDefault(_createClass2);
|
7087 |
+
|
7088 |
+
var _possibleConstructorReturn2 = __webpack_require__(4);
|
7089 |
+
|
7090 |
+
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
|
7091 |
+
|
7092 |
+
var _inherits2 = __webpack_require__(5);
|
7093 |
+
|
7094 |
+
var _inherits3 = _interopRequireDefault(_inherits2);
|
7095 |
+
|
7096 |
+
var _react = __webpack_require__(0);
|
7097 |
+
|
7098 |
+
var _react2 = _interopRequireDefault(_react);
|
7099 |
+
|
7100 |
+
var _get_options = __webpack_require__(72);
|
7101 |
+
|
7102 |
+
var _save_options = __webpack_require__(6);
|
7103 |
+
|
7104 |
+
var _reactRedux = __webpack_require__(7);
|
7105 |
+
|
7106 |
+
var _automatic_updates = __webpack_require__(193);
|
7107 |
+
|
7108 |
+
var _automatic_updates2 = _interopRequireDefault(_automatic_updates);
|
7109 |
+
|
7110 |
+
var _disable_updates = __webpack_require__(200);
|
7111 |
+
|
7112 |
+
var _disable_updates2 = _interopRequireDefault(_disable_updates);
|
7113 |
+
|
7114 |
+
var _logs = __webpack_require__(201);
|
7115 |
+
|
7116 |
+
var _logs2 = _interopRequireDefault(_logs);
|
7117 |
+
|
7118 |
+
var _browser_nag = __webpack_require__(202);
|
7119 |
+
|
7120 |
+
var _browser_nag2 = _interopRequireDefault(_browser_nag);
|
7121 |
+
|
7122 |
+
var _version_footer = __webpack_require__(203);
|
7123 |
+
|
7124 |
+
var _version_footer2 = _interopRequireDefault(_version_footer);
|
7125 |
+
|
7126 |
+
var _emails = __webpack_require__(204);
|
7127 |
+
|
7128 |
+
var _emails2 = _interopRequireDefault(_emails);
|
7129 |
+
|
7130 |
+
var _coreUpdates = __webpack_require__(205);
|
7131 |
+
|
7132 |
+
var _coreUpdates2 = _interopRequireDefault(_coreUpdates);
|
7133 |
+
|
7134 |
+
var _plugin_updates = __webpack_require__(206);
|
7135 |
+
|
7136 |
+
var _plugin_updates2 = _interopRequireDefault(_plugin_updates);
|
7137 |
+
|
7138 |
+
var _theme_updates = __webpack_require__(207);
|
7139 |
+
|
7140 |
+
var _theme_updates2 = _interopRequireDefault(_theme_updates);
|
7141 |
+
|
7142 |
+
var _translation_updates = __webpack_require__(208);
|
7143 |
+
|
7144 |
+
var _translation_updates2 = _interopRequireDefault(_translation_updates);
|
7145 |
+
|
7146 |
+
var _loading = __webpack_require__(8);
|
7147 |
+
|
7148 |
+
var _loading2 = _interopRequireDefault(_loading);
|
7149 |
+
|
7150 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
7151 |
+
|
7152 |
+
var Main = function (_Component) {
|
7153 |
+
(0, _inherits3.default)(Main, _Component);
|
7154 |
+
|
7155 |
+
function Main(props) {
|
7156 |
+
(0, _classCallCheck3.default)(this, Main);
|
7157 |
+
return (0, _possibleConstructorReturn3.default)(this, (Main.__proto__ || (0, _getPrototypeOf2.default)(Main)).call(this, props));
|
7158 |
+
}
|
7159 |
+
|
7160 |
+
(0, _createClass3.default)(Main, [{
|
7161 |
+
key: 'componentDidMount',
|
7162 |
+
value: function componentDidMount() {
|
7163 |
+
this.props.getOptions();
|
7164 |
+
}
|
7165 |
+
}, {
|
7166 |
+
key: 'render',
|
7167 |
+
value: function render() {
|
7168 |
+
if (this.props.options.length === 0) {
|
7169 |
+
return _react2.default.createElement(_loading2.default, null);
|
7170 |
+
} else {
|
7171 |
+
return _react2.default.createElement(
|
7172 |
+
_react.Fragment,
|
7173 |
+
null,
|
7174 |
+
_react2.default.createElement(_disable_updates2.default, null),
|
7175 |
+
_react2.default.createElement(_automatic_updates2.default, null),
|
7176 |
+
_react2.default.createElement(_logs2.default, null),
|
7177 |
+
_react2.default.createElement(_emails2.default, null),
|
7178 |
+
_react2.default.createElement(_coreUpdates2.default, null),
|
7179 |
+
_react2.default.createElement(_plugin_updates2.default, null),
|
7180 |
+
_react2.default.createElement(_theme_updates2.default, null),
|
7181 |
+
_react2.default.createElement(_translation_updates2.default, null),
|
7182 |
+
_react2.default.createElement(_browser_nag2.default, null),
|
7183 |
+
_react2.default.createElement(_version_footer2.default, null)
|
7184 |
+
);
|
7185 |
+
}
|
7186 |
+
}
|
7187 |
+
}]);
|
7188 |
+
return Main;
|
7189 |
+
}(_react.Component);
|
7190 |
+
|
7191 |
+
function mapStateToProps(state) {
|
7192 |
+
return { options: state.options };
|
7193 |
+
}
|
7194 |
+
|
7195 |
+
exports.default = (0, _reactRedux.connect)(mapStateToProps, { getOptions: _get_options.getOptions, saveOptions: _save_options.saveOptions })(Main);
|
7196 |
+
|
7197 |
+
/***/ }),
|
7198 |
+
/* 170 */
|
7199 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7200 |
+
|
7201 |
+
"use strict";
|
7202 |
+
/* harmony export (immutable) */ __webpack_exports__["a"] = createProvider;
|
7203 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
7204 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
7205 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_prop_types__ = __webpack_require__(44);
|
7206 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_prop_types__);
|
7207 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__utils_PropTypes__ = __webpack_require__(76);
|
7208 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__utils_warning__ = __webpack_require__(45);
|
7209 |
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
7210 |
+
|
7211 |
+
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
7212 |
+
|
7213 |
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
7214 |
+
|
7215 |
+
|
7216 |
+
|
7217 |
+
|
7218 |
+
|
7219 |
+
|
7220 |
+
var didWarnAboutReceivingStore = false;
|
7221 |
+
function warnAboutReceivingStore() {
|
7222 |
+
if (didWarnAboutReceivingStore) {
|
7223 |
+
return;
|
7224 |
+
}
|
7225 |
+
didWarnAboutReceivingStore = true;
|
7226 |
+
|
7227 |
+
Object(__WEBPACK_IMPORTED_MODULE_3__utils_warning__["a" /* default */])('<Provider> does not support changing `store` on the fly. ' + 'It is most likely that you see this error because you updated to ' + 'Redux 2.x and React Redux 2.x which no longer hot reload reducers ' + 'automatically. See https://github.com/reactjs/react-redux/releases/' + 'tag/v2.0.0 for the migration instructions.');
|
7228 |
+
}
|
7229 |
+
|
7230 |
+
function createProvider() {
|
7231 |
+
var _Provider$childContex;
|
7232 |
+
|
7233 |
+
var storeKey = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'store';
|
7234 |
+
var subKey = arguments[1];
|
7235 |
+
|
7236 |
+
var subscriptionKey = subKey || storeKey + 'Subscription';
|
7237 |
+
|
7238 |
+
var Provider = function (_Component) {
|
7239 |
+
_inherits(Provider, _Component);
|
7240 |
+
|
7241 |
+
Provider.prototype.getChildContext = function getChildContext() {
|
7242 |
+
var _ref;
|
7243 |
+
|
7244 |
+
return _ref = {}, _ref[storeKey] = this[storeKey], _ref[subscriptionKey] = null, _ref;
|
7245 |
+
};
|
7246 |
+
|
7247 |
+
function Provider(props, context) {
|
7248 |
+
_classCallCheck(this, Provider);
|
7249 |
+
|
7250 |
+
var _this = _possibleConstructorReturn(this, _Component.call(this, props, context));
|
7251 |
+
|
7252 |
+
_this[storeKey] = props.store;
|
7253 |
+
return _this;
|
7254 |
+
}
|
7255 |
+
|
7256 |
+
Provider.prototype.render = function render() {
|
7257 |
+
return __WEBPACK_IMPORTED_MODULE_0_react__["Children"].only(this.props.children);
|
7258 |
+
};
|
7259 |
+
|
7260 |
+
return Provider;
|
7261 |
+
}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);
|
7262 |
+
|
7263 |
+
if (false) {
|
7264 |
+
Provider.prototype.componentWillReceiveProps = function (nextProps) {
|
7265 |
+
if (this[storeKey] !== nextProps.store) {
|
7266 |
+
warnAboutReceivingStore();
|
7267 |
+
}
|
7268 |
+
};
|
7269 |
+
}
|
7270 |
+
|
7271 |
+
Provider.propTypes = {
|
7272 |
+
store: __WEBPACK_IMPORTED_MODULE_2__utils_PropTypes__["a" /* storeShape */].isRequired,
|
7273 |
+
children: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.element.isRequired
|
7274 |
+
};
|
7275 |
+
Provider.childContextTypes = (_Provider$childContex = {}, _Provider$childContex[storeKey] = __WEBPACK_IMPORTED_MODULE_2__utils_PropTypes__["a" /* storeShape */].isRequired, _Provider$childContex[subscriptionKey] = __WEBPACK_IMPORTED_MODULE_2__utils_PropTypes__["b" /* subscriptionShape */], _Provider$childContex);
|
7276 |
+
|
7277 |
+
return Provider;
|
7278 |
+
}
|
7279 |
+
|
7280 |
+
/* harmony default export */ __webpack_exports__["b"] = (createProvider());
|
7281 |
+
|
7282 |
+
/***/ }),
|
7283 |
+
/* 171 */
|
7284 |
+
/***/ (function(module, exports, __webpack_require__) {
|
7285 |
+
|
7286 |
+
"use strict";
|
7287 |
+
/**
|
7288 |
+
* Copyright (c) 2013-present, Facebook, Inc.
|
7289 |
+
*
|
7290 |
+
* This source code is licensed under the MIT license found in the
|
7291 |
+
* LICENSE file in the root directory of this source tree.
|
7292 |
+
*/
|
7293 |
+
|
7294 |
+
|
7295 |
+
|
7296 |
+
var emptyFunction = __webpack_require__(24);
|
7297 |
+
var invariant = __webpack_require__(172);
|
7298 |
+
var ReactPropTypesSecret = __webpack_require__(173);
|
7299 |
+
|
7300 |
+
module.exports = function() {
|
7301 |
+
function shim(props, propName, componentName, location, propFullName, secret) {
|
7302 |
+
if (secret === ReactPropTypesSecret) {
|
7303 |
+
// It is still safe when called from React.
|
7304 |
+
return;
|
7305 |
+
}
|
7306 |
+
invariant(
|
7307 |
+
false,
|
7308 |
+
'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
|
7309 |
+
'Use PropTypes.checkPropTypes() to call them. ' +
|
7310 |
+
'Read more at http://fb.me/use-check-prop-types'
|
7311 |
+
);
|
7312 |
+
};
|
7313 |
+
shim.isRequired = shim;
|
7314 |
+
function getShim() {
|
7315 |
+
return shim;
|
7316 |
+
};
|
7317 |
+
// Important!
|
7318 |
+
// Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
|
7319 |
+
var ReactPropTypes = {
|
7320 |
+
array: shim,
|
7321 |
+
bool: shim,
|
7322 |
+
func: shim,
|
7323 |
+
number: shim,
|
7324 |
+
object: shim,
|
7325 |
+
string: shim,
|
7326 |
+
symbol: shim,
|
7327 |
+
|
7328 |
+
any: shim,
|
7329 |
+
arrayOf: getShim,
|
7330 |
+
element: shim,
|
7331 |
+
instanceOf: getShim,
|
7332 |
+
node: shim,
|
7333 |
+
objectOf: getShim,
|
7334 |
+
oneOf: getShim,
|
7335 |
+
oneOfType: getShim,
|
7336 |
+
shape: getShim,
|
7337 |
+
exact: getShim
|
7338 |
+
};
|
7339 |
+
|
7340 |
+
ReactPropTypes.checkPropTypes = emptyFunction;
|
7341 |
+
ReactPropTypes.PropTypes = ReactPropTypes;
|
7342 |
+
|
7343 |
+
return ReactPropTypes;
|
7344 |
+
};
|
7345 |
+
|
7346 |
+
|
7347 |
+
/***/ }),
|
7348 |
+
/* 172 */
|
7349 |
+
/***/ (function(module, exports, __webpack_require__) {
|
7350 |
+
|
7351 |
+
"use strict";
|
7352 |
+
/**
|
7353 |
+
* Copyright (c) 2013-present, Facebook, Inc.
|
7354 |
+
*
|
7355 |
+
* This source code is licensed under the MIT license found in the
|
7356 |
+
* LICENSE file in the root directory of this source tree.
|
7357 |
+
*
|
7358 |
+
*/
|
7359 |
+
|
7360 |
+
|
7361 |
+
|
7362 |
+
/**
|
7363 |
+
* Use invariant() to assert state which your program assumes to be true.
|
7364 |
+
*
|
7365 |
+
* Provide sprintf-style format (only %s is supported) and arguments
|
7366 |
+
* to provide information about what broke and what you were
|
7367 |
+
* expecting.
|
7368 |
+
*
|
7369 |
+
* The invariant message will be stripped in production, but the invariant
|
7370 |
+
* will remain to ensure logic does not differ in production.
|
7371 |
+
*/
|
7372 |
+
|
7373 |
+
var validateFormat = function validateFormat(format) {};
|
7374 |
+
|
7375 |
+
if (false) {
|
7376 |
+
validateFormat = function validateFormat(format) {
|
7377 |
+
if (format === undefined) {
|
7378 |
+
throw new Error('invariant requires an error message argument');
|
7379 |
+
}
|
7380 |
+
};
|
7381 |
+
}
|
7382 |
+
|
7383 |
+
function invariant(condition, format, a, b, c, d, e, f) {
|
7384 |
+
validateFormat(format);
|
7385 |
+
|
7386 |
+
if (!condition) {
|
7387 |
+
var error;
|
7388 |
+
if (format === undefined) {
|
7389 |
+
error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');
|
7390 |
+
} else {
|
7391 |
+
var args = [a, b, c, d, e, f];
|
7392 |
+
var argIndex = 0;
|
7393 |
+
error = new Error(format.replace(/%s/g, function () {
|
7394 |
+
return args[argIndex++];
|
7395 |
+
}));
|
7396 |
+
error.name = 'Invariant Violation';
|
7397 |
+
}
|
7398 |
+
|
7399 |
+
error.framesToPop = 1; // we don't care about invariant's own frame
|
7400 |
+
throw error;
|
7401 |
+
}
|
7402 |
+
}
|
7403 |
+
|
7404 |
+
module.exports = invariant;
|
7405 |
+
|
7406 |
+
/***/ }),
|
7407 |
+
/* 173 */
|
7408 |
+
/***/ (function(module, exports, __webpack_require__) {
|
7409 |
+
|
7410 |
+
"use strict";
|
7411 |
+
/**
|
7412 |
+
* Copyright (c) 2013-present, Facebook, Inc.
|
7413 |
+
*
|
7414 |
+
* This source code is licensed under the MIT license found in the
|
7415 |
+
* LICENSE file in the root directory of this source tree.
|
7416 |
+
*/
|
7417 |
+
|
7418 |
+
|
7419 |
+
|
7420 |
+
var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
|
7421 |
+
|
7422 |
+
module.exports = ReactPropTypesSecret;
|
7423 |
+
|
7424 |
+
|
7425 |
+
/***/ }),
|
7426 |
+
/* 174 */
|
7427 |
+
/***/ (function(module, exports, __webpack_require__) {
|
7428 |
+
|
7429 |
+
/**
|
7430 |
+
* Copyright 2015, Yahoo! Inc.
|
7431 |
+
* Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
|
7432 |
+
*/
|
7433 |
+
(function (global, factory) {
|
7434 |
+
true ? module.exports = factory() :
|
7435 |
+
typeof define === 'function' && define.amd ? define(factory) :
|
7436 |
+
(global.hoistNonReactStatics = factory());
|
7437 |
+
}(this, (function () {
|
7438 |
+
'use strict';
|
7439 |
+
|
7440 |
+
var REACT_STATICS = {
|
7441 |
+
childContextTypes: true,
|
7442 |
+
contextTypes: true,
|
7443 |
+
defaultProps: true,
|
7444 |
+
displayName: true,
|
7445 |
+
getDefaultProps: true,
|
7446 |
+
getDerivedStateFromProps: true,
|
7447 |
+
mixins: true,
|
7448 |
+
propTypes: true,
|
7449 |
+
type: true
|
7450 |
+
};
|
7451 |
+
|
7452 |
+
var KNOWN_STATICS = {
|
7453 |
+
name: true,
|
7454 |
+
length: true,
|
7455 |
+
prototype: true,
|
7456 |
+
caller: true,
|
7457 |
+
callee: true,
|
7458 |
+
arguments: true,
|
7459 |
+
arity: true
|
7460 |
+
};
|
7461 |
+
|
7462 |
+
var defineProperty = Object.defineProperty;
|
7463 |
+
var getOwnPropertyNames = Object.getOwnPropertyNames;
|
7464 |
+
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
7465 |
+
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
7466 |
+
var getPrototypeOf = Object.getPrototypeOf;
|
7467 |
+
var objectPrototype = getPrototypeOf && getPrototypeOf(Object);
|
7468 |
+
|
7469 |
+
return function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
|
7470 |
+
if (typeof sourceComponent !== 'string') { // don't hoist over string (html) components
|
7471 |
+
|
7472 |
+
if (objectPrototype) {
|
7473 |
+
var inheritedComponent = getPrototypeOf(sourceComponent);
|
7474 |
+
if (inheritedComponent && inheritedComponent !== objectPrototype) {
|
7475 |
+
hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
|
7476 |
+
}
|
7477 |
+
}
|
7478 |
+
|
7479 |
+
var keys = getOwnPropertyNames(sourceComponent);
|
7480 |
+
|
7481 |
+
if (getOwnPropertySymbols) {
|
7482 |
+
keys = keys.concat(getOwnPropertySymbols(sourceComponent));
|
7483 |
+
}
|
7484 |
+
|
7485 |
+
for (var i = 0; i < keys.length; ++i) {
|
7486 |
+
var key = keys[i];
|
7487 |
+
if (!REACT_STATICS[key] && !KNOWN_STATICS[key] && (!blacklist || !blacklist[key])) {
|
7488 |
+
var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
|
7489 |
+
try { // Avoid failures from read-only properties
|
7490 |
+
defineProperty(targetComponent, key, descriptor);
|
7491 |
+
} catch (e) {}
|
7492 |
+
}
|
7493 |
+
}
|
7494 |
+
|
7495 |
+
return targetComponent;
|
7496 |
+
}
|
7497 |
+
|
7498 |
+
return targetComponent;
|
7499 |
+
};
|
7500 |
+
})));
|
7501 |
+
|
7502 |
+
|
7503 |
+
/***/ }),
|
7504 |
+
/* 175 */
|
7505 |
+
/***/ (function(module, exports, __webpack_require__) {
|
7506 |
+
|
7507 |
+
"use strict";
|
7508 |
+
/**
|
7509 |
+
* Copyright 2013-2015, Facebook, Inc.
|
7510 |
+
* All rights reserved.
|
7511 |
+
*
|
7512 |
+
* This source code is licensed under the BSD-style license found in the
|
7513 |
+
* LICENSE file in the root directory of this source tree. An additional grant
|
7514 |
+
* of patent rights can be found in the PATENTS file in the same directory.
|
7515 |
+
*/
|
7516 |
+
|
7517 |
+
|
7518 |
+
|
7519 |
+
/**
|
7520 |
+
* Use invariant() to assert state which your program assumes to be true.
|
7521 |
+
*
|
7522 |
+
* Provide sprintf-style format (only %s is supported) and arguments
|
7523 |
+
* to provide information about what broke and what you were
|
7524 |
+
* expecting.
|
7525 |
+
*
|
7526 |
+
* The invariant message will be stripped in production, but the invariant
|
7527 |
+
* will remain to ensure logic does not differ in production.
|
7528 |
+
*/
|
7529 |
+
|
7530 |
+
var invariant = function(condition, format, a, b, c, d, e, f) {
|
7531 |
+
if (false) {
|
7532 |
+
if (format === undefined) {
|
7533 |
+
throw new Error('invariant requires an error message argument');
|
7534 |
+
}
|
7535 |
+
}
|
7536 |
+
|
7537 |
+
if (!condition) {
|
7538 |
+
var error;
|
7539 |
+
if (format === undefined) {
|
7540 |
+
error = new Error(
|
7541 |
+
'Minified exception occurred; use the non-minified dev environment ' +
|
7542 |
+
'for the full error message and additional helpful warnings.'
|
7543 |
+
);
|
7544 |
+
} else {
|
7545 |
+
var args = [a, b, c, d, e, f];
|
7546 |
+
var argIndex = 0;
|
7547 |
+
error = new Error(
|
7548 |
+
format.replace(/%s/g, function() { return args[argIndex++]; })
|
7549 |
+
);
|
7550 |
+
error.name = 'Invariant Violation';
|
7551 |
+
}
|
7552 |
+
|
7553 |
+
error.framesToPop = 1; // we don't care about invariant's own frame
|
7554 |
+
throw error;
|
7555 |
+
}
|
7556 |
+
};
|
7557 |
+
|
7558 |
+
module.exports = invariant;
|
7559 |
+
|
7560 |
+
|
7561 |
+
/***/ }),
|
7562 |
+
/* 176 */
|
7563 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7564 |
+
|
7565 |
+
"use strict";
|
7566 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Subscription; });
|
7567 |
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
7568 |
+
|
7569 |
+
// encapsulates the subscription logic for connecting a component to the redux store, as
|
7570 |
+
// well as nesting subscriptions of descendant components, so that we can ensure the
|
7571 |
+
// ancestor components re-render before descendants
|
7572 |
+
|
7573 |
+
var CLEARED = null;
|
7574 |
+
var nullListeners = {
|
7575 |
+
notify: function notify() {}
|
7576 |
+
};
|
7577 |
+
|
7578 |
+
function createListenerCollection() {
|
7579 |
+
// the current/next pattern is copied from redux's createStore code.
|
7580 |
+
// TODO: refactor+expose that code to be reusable here?
|
7581 |
+
var current = [];
|
7582 |
+
var next = [];
|
7583 |
+
|
7584 |
+
return {
|
7585 |
+
clear: function clear() {
|
7586 |
+
next = CLEARED;
|
7587 |
+
current = CLEARED;
|
7588 |
+
},
|
7589 |
+
notify: function notify() {
|
7590 |
+
var listeners = current = next;
|
7591 |
+
for (var i = 0; i < listeners.length; i++) {
|
7592 |
+
listeners[i]();
|
7593 |
+
}
|
7594 |
+
},
|
7595 |
+
get: function get() {
|
7596 |
+
return next;
|
7597 |
+
},
|
7598 |
+
subscribe: function subscribe(listener) {
|
7599 |
+
var isSubscribed = true;
|
7600 |
+
if (next === current) next = current.slice();
|
7601 |
+
next.push(listener);
|
7602 |
+
|
7603 |
+
return function unsubscribe() {
|
7604 |
+
if (!isSubscribed || current === CLEARED) return;
|
7605 |
+
isSubscribed = false;
|
7606 |
+
|
7607 |
+
if (next === current) next = current.slice();
|
7608 |
+
next.splice(next.indexOf(listener), 1);
|
7609 |
+
};
|
7610 |
+
}
|
7611 |
+
};
|
7612 |
+
}
|
7613 |
+
|
7614 |
+
var Subscription = function () {
|
7615 |
+
function Subscription(store, parentSub, onStateChange) {
|
7616 |
+
_classCallCheck(this, Subscription);
|
7617 |
+
|
7618 |
+
this.store = store;
|
7619 |
+
this.parentSub = parentSub;
|
7620 |
+
this.onStateChange = onStateChange;
|
7621 |
+
this.unsubscribe = null;
|
7622 |
+
this.listeners = nullListeners;
|
7623 |
+
}
|
7624 |
+
|
7625 |
+
Subscription.prototype.addNestedSub = function addNestedSub(listener) {
|
7626 |
+
this.trySubscribe();
|
7627 |
+
return this.listeners.subscribe(listener);
|
7628 |
+
};
|
7629 |
+
|
7630 |
+
Subscription.prototype.notifyNestedSubs = function notifyNestedSubs() {
|
7631 |
+
this.listeners.notify();
|
7632 |
+
};
|
7633 |
+
|
7634 |
+
Subscription.prototype.isSubscribed = function isSubscribed() {
|
7635 |
+
return Boolean(this.unsubscribe);
|
7636 |
+
};
|
7637 |
+
|
7638 |
+
Subscription.prototype.trySubscribe = function trySubscribe() {
|
7639 |
+
if (!this.unsubscribe) {
|
7640 |
+
this.unsubscribe = this.parentSub ? this.parentSub.addNestedSub(this.onStateChange) : this.store.subscribe(this.onStateChange);
|
7641 |
+
|
7642 |
+
this.listeners = createListenerCollection();
|
7643 |
+
}
|
7644 |
+
};
|
7645 |
+
|
7646 |
+
Subscription.prototype.tryUnsubscribe = function tryUnsubscribe() {
|
7647 |
+
if (this.unsubscribe) {
|
7648 |
+
this.unsubscribe();
|
7649 |
+
this.unsubscribe = null;
|
7650 |
+
this.listeners.clear();
|
7651 |
+
this.listeners = nullListeners;
|
7652 |
+
}
|
7653 |
+
};
|
7654 |
+
|
7655 |
+
return Subscription;
|
7656 |
+
}();
|
7657 |
+
|
7658 |
+
|
7659 |
+
|
7660 |
+
/***/ }),
|
7661 |
+
/* 177 */
|
7662 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7663 |
+
|
7664 |
+
"use strict";
|
7665 |
+
/* unused harmony export createConnect */
|
7666 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__components_connectAdvanced__ = __webpack_require__(77);
|
7667 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__utils_shallowEqual__ = __webpack_require__(178);
|
7668 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__mapDispatchToProps__ = __webpack_require__(179);
|
7669 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__mapStateToProps__ = __webpack_require__(189);
|
7670 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__mergeProps__ = __webpack_require__(190);
|
7671 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__selectorFactory__ = __webpack_require__(191);
|
7672 |
+
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
7673 |
+
|
7674 |
+
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
7675 |
+
|
7676 |
+
|
7677 |
+
|
7678 |
+
|
7679 |
+
|
7680 |
+
|
7681 |
+
|
7682 |
+
|
7683 |
+
/*
|
7684 |
+
connect is a facade over connectAdvanced. It turns its args into a compatible
|
7685 |
+
selectorFactory, which has the signature:
|
7686 |
+
|
7687 |
+
(dispatch, options) => (nextState, nextOwnProps) => nextFinalProps
|
7688 |
+
|
7689 |
+
connect passes its args to connectAdvanced as options, which will in turn pass them to
|
7690 |
+
selectorFactory each time a Connect component instance is instantiated or hot reloaded.
|
7691 |
+
|
7692 |
+
selectorFactory returns a final props selector from its mapStateToProps,
|
7693 |
+
mapStateToPropsFactories, mapDispatchToProps, mapDispatchToPropsFactories, mergeProps,
|
7694 |
+
mergePropsFactories, and pure args.
|
7695 |
+
|
7696 |
+
The resulting final props selector is called by the Connect component instance whenever
|
7697 |
+
it receives new props or store state.
|
7698 |
+
*/
|
7699 |
+
|
7700 |
+
function match(arg, factories, name) {
|
7701 |
+
for (var i = factories.length - 1; i >= 0; i--) {
|
7702 |
+
var result = factories[i](arg);
|
7703 |
+
if (result) return result;
|
7704 |
+
}
|
7705 |
+
|
7706 |
+
return function (dispatch, options) {
|
7707 |
+
throw new Error('Invalid value of type ' + typeof arg + ' for ' + name + ' argument when connecting component ' + options.wrappedComponentName + '.');
|
7708 |
+
};
|
7709 |
+
}
|
7710 |
+
|
7711 |
+
function strictEqual(a, b) {
|
7712 |
+
return a === b;
|
7713 |
+
}
|
7714 |
+
|
7715 |
+
// createConnect with default args builds the 'official' connect behavior. Calling it with
|
7716 |
+
// different options opens up some testing and extensibility scenarios
|
7717 |
+
function createConnect() {
|
7718 |
+
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
7719 |
+
_ref$connectHOC = _ref.connectHOC,
|
7720 |
+
connectHOC = _ref$connectHOC === undefined ? __WEBPACK_IMPORTED_MODULE_0__components_connectAdvanced__["a" /* default */] : _ref$connectHOC,
|
7721 |
+
_ref$mapStateToPropsF = _ref.mapStateToPropsFactories,
|
7722 |
+
mapStateToPropsFactories = _ref$mapStateToPropsF === undefined ? __WEBPACK_IMPORTED_MODULE_3__mapStateToProps__["a" /* default */] : _ref$mapStateToPropsF,
|
7723 |
+
_ref$mapDispatchToPro = _ref.mapDispatchToPropsFactories,
|
7724 |
+
mapDispatchToPropsFactories = _ref$mapDispatchToPro === undefined ? __WEBPACK_IMPORTED_MODULE_2__mapDispatchToProps__["a" /* default */] : _ref$mapDispatchToPro,
|
7725 |
+
_ref$mergePropsFactor = _ref.mergePropsFactories,
|
7726 |
+
mergePropsFactories = _ref$mergePropsFactor === undefined ? __WEBPACK_IMPORTED_MODULE_4__mergeProps__["a" /* default */] : _ref$mergePropsFactor,
|
7727 |
+
_ref$selectorFactory = _ref.selectorFactory,
|
7728 |
+
selectorFactory = _ref$selectorFactory === undefined ? __WEBPACK_IMPORTED_MODULE_5__selectorFactory__["a" /* default */] : _ref$selectorFactory;
|
7729 |
+
|
7730 |
+
return function connect(mapStateToProps, mapDispatchToProps, mergeProps) {
|
7731 |
+
var _ref2 = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {},
|
7732 |
+
_ref2$pure = _ref2.pure,
|
7733 |
+
pure = _ref2$pure === undefined ? true : _ref2$pure,
|
7734 |
+
_ref2$areStatesEqual = _ref2.areStatesEqual,
|
7735 |
+
areStatesEqual = _ref2$areStatesEqual === undefined ? strictEqual : _ref2$areStatesEqual,
|
7736 |
+
_ref2$areOwnPropsEqua = _ref2.areOwnPropsEqual,
|
7737 |
+
areOwnPropsEqual = _ref2$areOwnPropsEqua === undefined ? __WEBPACK_IMPORTED_MODULE_1__utils_shallowEqual__["a" /* default */] : _ref2$areOwnPropsEqua,
|
7738 |
+
_ref2$areStatePropsEq = _ref2.areStatePropsEqual,
|
7739 |
+
areStatePropsEqual = _ref2$areStatePropsEq === undefined ? __WEBPACK_IMPORTED_MODULE_1__utils_shallowEqual__["a" /* default */] : _ref2$areStatePropsEq,
|
7740 |
+
_ref2$areMergedPropsE = _ref2.areMergedPropsEqual,
|
7741 |
+
areMergedPropsEqual = _ref2$areMergedPropsE === undefined ? __WEBPACK_IMPORTED_MODULE_1__utils_shallowEqual__["a" /* default */] : _ref2$areMergedPropsE,
|
7742 |
+
extraOptions = _objectWithoutProperties(_ref2, ['pure', 'areStatesEqual', 'areOwnPropsEqual', 'areStatePropsEqual', 'areMergedPropsEqual']);
|
7743 |
+
|
7744 |
+
var initMapStateToProps = match(mapStateToProps, mapStateToPropsFactories, 'mapStateToProps');
|
7745 |
+
var initMapDispatchToProps = match(mapDispatchToProps, mapDispatchToPropsFactories, 'mapDispatchToProps');
|
7746 |
+
var initMergeProps = match(mergeProps, mergePropsFactories, 'mergeProps');
|
7747 |
+
|
7748 |
+
return connectHOC(selectorFactory, _extends({
|
7749 |
+
// used in error messages
|
7750 |
+
methodName: 'connect',
|
7751 |
+
|
7752 |
+
// used to compute Connect's displayName from the wrapped component's displayName.
|
7753 |
+
getDisplayName: function getDisplayName(name) {
|
7754 |
+
return 'Connect(' + name + ')';
|
7755 |
+
},
|
7756 |
+
|
7757 |
+
// if mapStateToProps is falsy, the Connect component doesn't subscribe to store state changes
|
7758 |
+
shouldHandleStateChanges: Boolean(mapStateToProps),
|
7759 |
+
|
7760 |
+
// passed through to selectorFactory
|
7761 |
+
initMapStateToProps: initMapStateToProps,
|
7762 |
+
initMapDispatchToProps: initMapDispatchToProps,
|
7763 |
+
initMergeProps: initMergeProps,
|
7764 |
+
pure: pure,
|
7765 |
+
areStatesEqual: areStatesEqual,
|
7766 |
+
areOwnPropsEqual: areOwnPropsEqual,
|
7767 |
+
areStatePropsEqual: areStatePropsEqual,
|
7768 |
+
areMergedPropsEqual: areMergedPropsEqual
|
7769 |
+
|
7770 |
+
}, extraOptions));
|
7771 |
+
};
|
7772 |
+
}
|
7773 |
+
|
7774 |
+
/* harmony default export */ __webpack_exports__["a"] = (createConnect());
|
7775 |
+
|
7776 |
+
/***/ }),
|
7777 |
+
/* 178 */
|
7778 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7779 |
+
|
7780 |
+
"use strict";
|
7781 |
+
/* harmony export (immutable) */ __webpack_exports__["a"] = shallowEqual;
|
7782 |
+
var hasOwn = Object.prototype.hasOwnProperty;
|
7783 |
+
|
7784 |
+
function is(x, y) {
|
7785 |
+
if (x === y) {
|
7786 |
+
return x !== 0 || y !== 0 || 1 / x === 1 / y;
|
7787 |
+
} else {
|
7788 |
+
return x !== x && y !== y;
|
7789 |
+
}
|
7790 |
+
}
|
7791 |
+
|
7792 |
+
function shallowEqual(objA, objB) {
|
7793 |
+
if (is(objA, objB)) return true;
|
7794 |
+
|
7795 |
+
if (typeof objA !== 'object' || objA === null || typeof objB !== 'object' || objB === null) {
|
7796 |
+
return false;
|
7797 |
+
}
|
7798 |
+
|
7799 |
+
var keysA = Object.keys(objA);
|
7800 |
+
var keysB = Object.keys(objB);
|
7801 |
+
|
7802 |
+
if (keysA.length !== keysB.length) return false;
|
7803 |
+
|
7804 |
+
for (var i = 0; i < keysA.length; i++) {
|
7805 |
+
if (!hasOwn.call(objB, keysA[i]) || !is(objA[keysA[i]], objB[keysA[i]])) {
|
7806 |
+
return false;
|
7807 |
+
}
|
7808 |
+
}
|
7809 |
+
|
7810 |
+
return true;
|
7811 |
+
}
|
7812 |
+
|
7813 |
+
/***/ }),
|
7814 |
+
/* 179 */
|
7815 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7816 |
+
|
7817 |
+
"use strict";
|
7818 |
+
/* unused harmony export whenMapDispatchToPropsIsFunction */
|
7819 |
+
/* unused harmony export whenMapDispatchToPropsIsMissing */
|
7820 |
+
/* unused harmony export whenMapDispatchToPropsIsObject */
|
7821 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_redux__ = __webpack_require__(42);
|
7822 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__wrapMapToProps__ = __webpack_require__(78);
|
7823 |
+
|
7824 |
+
|
7825 |
+
|
7826 |
+
function whenMapDispatchToPropsIsFunction(mapDispatchToProps) {
|
7827 |
+
return typeof mapDispatchToProps === 'function' ? Object(__WEBPACK_IMPORTED_MODULE_1__wrapMapToProps__["b" /* wrapMapToPropsFunc */])(mapDispatchToProps, 'mapDispatchToProps') : undefined;
|
7828 |
+
}
|
7829 |
+
|
7830 |
+
function whenMapDispatchToPropsIsMissing(mapDispatchToProps) {
|
7831 |
+
return !mapDispatchToProps ? Object(__WEBPACK_IMPORTED_MODULE_1__wrapMapToProps__["a" /* wrapMapToPropsConstant */])(function (dispatch) {
|
7832 |
+
return { dispatch: dispatch };
|
7833 |
+
}) : undefined;
|
7834 |
+
}
|
7835 |
+
|
7836 |
+
function whenMapDispatchToPropsIsObject(mapDispatchToProps) {
|
7837 |
+
return mapDispatchToProps && typeof mapDispatchToProps === 'object' ? Object(__WEBPACK_IMPORTED_MODULE_1__wrapMapToProps__["a" /* wrapMapToPropsConstant */])(function (dispatch) {
|
7838 |
+
return Object(__WEBPACK_IMPORTED_MODULE_0_redux__["bindActionCreators"])(mapDispatchToProps, dispatch);
|
7839 |
+
}) : undefined;
|
7840 |
+
}
|
7841 |
+
|
7842 |
+
/* harmony default export */ __webpack_exports__["a"] = ([whenMapDispatchToPropsIsFunction, whenMapDispatchToPropsIsMissing, whenMapDispatchToPropsIsObject]);
|
7843 |
+
|
7844 |
+
/***/ }),
|
7845 |
+
/* 180 */
|
7846 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7847 |
+
|
7848 |
+
"use strict";
|
7849 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__baseGetTag_js__ = __webpack_require__(181);
|
7850 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__getPrototype_js__ = __webpack_require__(186);
|
7851 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__isObjectLike_js__ = __webpack_require__(188);
|
7852 |
+
|
7853 |
+
|
7854 |
+
|
7855 |
+
|
7856 |
+
/** `Object#toString` result references. */
|
7857 |
+
var objectTag = '[object Object]';
|
7858 |
+
|
7859 |
+
/** Used for built-in method references. */
|
7860 |
+
var funcProto = Function.prototype,
|
7861 |
+
objectProto = Object.prototype;
|
7862 |
+
|
7863 |
+
/** Used to resolve the decompiled source of functions. */
|
7864 |
+
var funcToString = funcProto.toString;
|
7865 |
+
|
7866 |
+
/** Used to check objects for own properties. */
|
7867 |
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
7868 |
+
|
7869 |
+
/** Used to infer the `Object` constructor. */
|
7870 |
+
var objectCtorString = funcToString.call(Object);
|
7871 |
+
|
7872 |
+
/**
|
7873 |
+
* Checks if `value` is a plain object, that is, an object created by the
|
7874 |
+
* `Object` constructor or one with a `[[Prototype]]` of `null`.
|
7875 |
+
*
|
7876 |
+
* @static
|
7877 |
+
* @memberOf _
|
7878 |
+
* @since 0.8.0
|
7879 |
+
* @category Lang
|
7880 |
+
* @param {*} value The value to check.
|
7881 |
+
* @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
|
7882 |
+
* @example
|
7883 |
+
*
|
7884 |
+
* function Foo() {
|
7885 |
+
* this.a = 1;
|
7886 |
+
* }
|
7887 |
+
*
|
7888 |
+
* _.isPlainObject(new Foo);
|
7889 |
+
* // => false
|
7890 |
+
*
|
7891 |
+
* _.isPlainObject([1, 2, 3]);
|
7892 |
+
* // => false
|
7893 |
+
*
|
7894 |
+
* _.isPlainObject({ 'x': 0, 'y': 0 });
|
7895 |
+
* // => true
|
7896 |
+
*
|
7897 |
+
* _.isPlainObject(Object.create(null));
|
7898 |
+
* // => true
|
7899 |
+
*/
|
7900 |
+
function isPlainObject(value) {
|
7901 |
+
if (!Object(__WEBPACK_IMPORTED_MODULE_2__isObjectLike_js__["a" /* default */])(value) || Object(__WEBPACK_IMPORTED_MODULE_0__baseGetTag_js__["a" /* default */])(value) != objectTag) {
|
7902 |
+
return false;
|
7903 |
+
}
|
7904 |
+
var proto = Object(__WEBPACK_IMPORTED_MODULE_1__getPrototype_js__["a" /* default */])(value);
|
7905 |
+
if (proto === null) {
|
7906 |
+
return true;
|
7907 |
+
}
|
7908 |
+
var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;
|
7909 |
+
return typeof Ctor == 'function' && Ctor instanceof Ctor &&
|
7910 |
+
funcToString.call(Ctor) == objectCtorString;
|
7911 |
+
}
|
7912 |
+
|
7913 |
+
/* harmony default export */ __webpack_exports__["a"] = (isPlainObject);
|
7914 |
+
|
7915 |
+
|
7916 |
+
/***/ }),
|
7917 |
+
/* 181 */
|
7918 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7919 |
+
|
7920 |
+
"use strict";
|
7921 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Symbol_js__ = __webpack_require__(80);
|
7922 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__getRawTag_js__ = __webpack_require__(184);
|
7923 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__objectToString_js__ = __webpack_require__(185);
|
7924 |
+
|
7925 |
+
|
7926 |
+
|
7927 |
+
|
7928 |
+
/** `Object#toString` result references. */
|
7929 |
+
var nullTag = '[object Null]',
|
7930 |
+
undefinedTag = '[object Undefined]';
|
7931 |
+
|
7932 |
+
/** Built-in value references. */
|
7933 |
+
var symToStringTag = __WEBPACK_IMPORTED_MODULE_0__Symbol_js__["a" /* default */] ? __WEBPACK_IMPORTED_MODULE_0__Symbol_js__["a" /* default */].toStringTag : undefined;
|
7934 |
+
|
7935 |
+
/**
|
7936 |
+
* The base implementation of `getTag` without fallbacks for buggy environments.
|
7937 |
+
*
|
7938 |
+
* @private
|
7939 |
+
* @param {*} value The value to query.
|
7940 |
+
* @returns {string} Returns the `toStringTag`.
|
7941 |
+
*/
|
7942 |
+
function baseGetTag(value) {
|
7943 |
+
if (value == null) {
|
7944 |
+
return value === undefined ? undefinedTag : nullTag;
|
7945 |
+
}
|
7946 |
+
return (symToStringTag && symToStringTag in Object(value))
|
7947 |
+
? Object(__WEBPACK_IMPORTED_MODULE_1__getRawTag_js__["a" /* default */])(value)
|
7948 |
+
: Object(__WEBPACK_IMPORTED_MODULE_2__objectToString_js__["a" /* default */])(value);
|
7949 |
+
}
|
7950 |
+
|
7951 |
+
/* harmony default export */ __webpack_exports__["a"] = (baseGetTag);
|
7952 |
+
|
7953 |
+
|
7954 |
+
/***/ }),
|
7955 |
+
/* 182 */
|
7956 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7957 |
+
|
7958 |
+
"use strict";
|
7959 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__freeGlobal_js__ = __webpack_require__(183);
|
7960 |
+
|
7961 |
+
|
7962 |
+
/** Detect free variable `self`. */
|
7963 |
+
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
7964 |
+
|
7965 |
+
/** Used as a reference to the global object. */
|
7966 |
+
var root = __WEBPACK_IMPORTED_MODULE_0__freeGlobal_js__["a" /* default */] || freeSelf || Function('return this')();
|
7967 |
+
|
7968 |
+
/* harmony default export */ __webpack_exports__["a"] = (root);
|
7969 |
+
|
7970 |
+
|
7971 |
+
/***/ }),
|
7972 |
+
/* 183 */
|
7973 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7974 |
+
|
7975 |
+
"use strict";
|
7976 |
+
/* WEBPACK VAR INJECTION */(function(global) {/** Detect free variable `global` from Node.js. */
|
7977 |
+
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
|
7978 |
+
|
7979 |
+
/* harmony default export */ __webpack_exports__["a"] = (freeGlobal);
|
7980 |
+
|
7981 |
+
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(26)))
|
7982 |
+
|
7983 |
+
/***/ }),
|
7984 |
+
/* 184 */
|
7985 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
7986 |
+
|
7987 |
+
"use strict";
|
7988 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Symbol_js__ = __webpack_require__(80);
|
7989 |
+
|
7990 |
+
|
7991 |
+
/** Used for built-in method references. */
|
7992 |
+
var objectProto = Object.prototype;
|
7993 |
+
|
7994 |
+
/** Used to check objects for own properties. */
|
7995 |
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
7996 |
+
|
7997 |
+
/**
|
7998 |
+
* Used to resolve the
|
7999 |
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
8000 |
+
* of values.
|
8001 |
+
*/
|
8002 |
+
var nativeObjectToString = objectProto.toString;
|
8003 |
+
|
8004 |
+
/** Built-in value references. */
|
8005 |
+
var symToStringTag = __WEBPACK_IMPORTED_MODULE_0__Symbol_js__["a" /* default */] ? __WEBPACK_IMPORTED_MODULE_0__Symbol_js__["a" /* default */].toStringTag : undefined;
|
8006 |
+
|
8007 |
+
/**
|
8008 |
+
* A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
|
8009 |
+
*
|
8010 |
+
* @private
|
8011 |
+
* @param {*} value The value to query.
|
8012 |
+
* @returns {string} Returns the raw `toStringTag`.
|
8013 |
+
*/
|
8014 |
+
function getRawTag(value) {
|
8015 |
+
var isOwn = hasOwnProperty.call(value, symToStringTag),
|
8016 |
+
tag = value[symToStringTag];
|
8017 |
+
|
8018 |
+
try {
|
8019 |
+
value[symToStringTag] = undefined;
|
8020 |
+
var unmasked = true;
|
8021 |
+
} catch (e) {}
|
8022 |
+
|
8023 |
+
var result = nativeObjectToString.call(value);
|
8024 |
+
if (unmasked) {
|
8025 |
+
if (isOwn) {
|
8026 |
+
value[symToStringTag] = tag;
|
8027 |
+
} else {
|
8028 |
+
delete value[symToStringTag];
|
8029 |
+
}
|
8030 |
+
}
|
8031 |
+
return result;
|
8032 |
+
}
|
8033 |
+
|
8034 |
+
/* harmony default export */ __webpack_exports__["a"] = (getRawTag);
|
8035 |
+
|
8036 |
+
|
8037 |
+
/***/ }),
|
8038 |
+
/* 185 */
|
8039 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8040 |
+
|
8041 |
+
"use strict";
|
8042 |
+
/** Used for built-in method references. */
|
8043 |
+
var objectProto = Object.prototype;
|
8044 |
+
|
8045 |
+
/**
|
8046 |
+
* Used to resolve the
|
8047 |
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
8048 |
+
* of values.
|
8049 |
+
*/
|
8050 |
+
var nativeObjectToString = objectProto.toString;
|
8051 |
+
|
8052 |
+
/**
|
8053 |
+
* Converts `value` to a string using `Object.prototype.toString`.
|
8054 |
+
*
|
8055 |
+
* @private
|
8056 |
+
* @param {*} value The value to convert.
|
8057 |
+
* @returns {string} Returns the converted string.
|
8058 |
+
*/
|
8059 |
+
function objectToString(value) {
|
8060 |
+
return nativeObjectToString.call(value);
|
8061 |
+
}
|
8062 |
+
|
8063 |
+
/* harmony default export */ __webpack_exports__["a"] = (objectToString);
|
8064 |
+
|
8065 |
+
|
8066 |
+
/***/ }),
|
8067 |
+
/* 186 */
|
8068 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8069 |
+
|
8070 |
+
"use strict";
|
8071 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__overArg_js__ = __webpack_require__(187);
|
8072 |
+
|
8073 |
+
|
8074 |
+
/** Built-in value references. */
|
8075 |
+
var getPrototype = Object(__WEBPACK_IMPORTED_MODULE_0__overArg_js__["a" /* default */])(Object.getPrototypeOf, Object);
|
8076 |
+
|
8077 |
+
/* harmony default export */ __webpack_exports__["a"] = (getPrototype);
|
8078 |
+
|
8079 |
+
|
8080 |
+
/***/ }),
|
8081 |
+
/* 187 */
|
8082 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8083 |
+
|
8084 |
+
"use strict";
|
8085 |
+
/**
|
8086 |
+
* Creates a unary function that invokes `func` with its argument transformed.
|
8087 |
+
*
|
8088 |
+
* @private
|
8089 |
+
* @param {Function} func The function to wrap.
|
8090 |
+
* @param {Function} transform The argument transform.
|
8091 |
+
* @returns {Function} Returns the new function.
|
8092 |
+
*/
|
8093 |
+
function overArg(func, transform) {
|
8094 |
+
return function(arg) {
|
8095 |
+
return func(transform(arg));
|
8096 |
+
};
|
8097 |
+
}
|
8098 |
+
|
8099 |
+
/* harmony default export */ __webpack_exports__["a"] = (overArg);
|
8100 |
+
|
8101 |
+
|
8102 |
+
/***/ }),
|
8103 |
+
/* 188 */
|
8104 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8105 |
+
|
8106 |
+
"use strict";
|
8107 |
+
/**
|
8108 |
+
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
8109 |
+
* and has a `typeof` result of "object".
|
8110 |
+
*
|
8111 |
+
* @static
|
8112 |
+
* @memberOf _
|
8113 |
+
* @since 4.0.0
|
8114 |
+
* @category Lang
|
8115 |
+
* @param {*} value The value to check.
|
8116 |
+
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
8117 |
+
* @example
|
8118 |
+
*
|
8119 |
+
* _.isObjectLike({});
|
8120 |
+
* // => true
|
8121 |
+
*
|
8122 |
+
* _.isObjectLike([1, 2, 3]);
|
8123 |
+
* // => true
|
8124 |
+
*
|
8125 |
+
* _.isObjectLike(_.noop);
|
8126 |
+
* // => false
|
8127 |
+
*
|
8128 |
+
* _.isObjectLike(null);
|
8129 |
+
* // => false
|
8130 |
+
*/
|
8131 |
+
function isObjectLike(value) {
|
8132 |
+
return value != null && typeof value == 'object';
|
8133 |
+
}
|
8134 |
+
|
8135 |
+
/* harmony default export */ __webpack_exports__["a"] = (isObjectLike);
|
8136 |
+
|
8137 |
+
|
8138 |
+
/***/ }),
|
8139 |
+
/* 189 */
|
8140 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8141 |
+
|
8142 |
+
"use strict";
|
8143 |
+
/* unused harmony export whenMapStateToPropsIsFunction */
|
8144 |
+
/* unused harmony export whenMapStateToPropsIsMissing */
|
8145 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__wrapMapToProps__ = __webpack_require__(78);
|
8146 |
+
|
8147 |
+
|
8148 |
+
function whenMapStateToPropsIsFunction(mapStateToProps) {
|
8149 |
+
return typeof mapStateToProps === 'function' ? Object(__WEBPACK_IMPORTED_MODULE_0__wrapMapToProps__["b" /* wrapMapToPropsFunc */])(mapStateToProps, 'mapStateToProps') : undefined;
|
8150 |
+
}
|
8151 |
+
|
8152 |
+
function whenMapStateToPropsIsMissing(mapStateToProps) {
|
8153 |
+
return !mapStateToProps ? Object(__WEBPACK_IMPORTED_MODULE_0__wrapMapToProps__["a" /* wrapMapToPropsConstant */])(function () {
|
8154 |
+
return {};
|
8155 |
+
}) : undefined;
|
8156 |
+
}
|
8157 |
+
|
8158 |
+
/* harmony default export */ __webpack_exports__["a"] = ([whenMapStateToPropsIsFunction, whenMapStateToPropsIsMissing]);
|
8159 |
+
|
8160 |
+
/***/ }),
|
8161 |
+
/* 190 */
|
8162 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8163 |
+
|
8164 |
+
"use strict";
|
8165 |
+
/* unused harmony export defaultMergeProps */
|
8166 |
+
/* unused harmony export wrapMergePropsFunc */
|
8167 |
+
/* unused harmony export whenMergePropsIsFunction */
|
8168 |
+
/* unused harmony export whenMergePropsIsOmitted */
|
8169 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__utils_verifyPlainObject__ = __webpack_require__(79);
|
8170 |
+
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
8171 |
+
|
8172 |
+
|
8173 |
+
|
8174 |
+
function defaultMergeProps(stateProps, dispatchProps, ownProps) {
|
8175 |
+
return _extends({}, ownProps, stateProps, dispatchProps);
|
8176 |
+
}
|
8177 |
+
|
8178 |
+
function wrapMergePropsFunc(mergeProps) {
|
8179 |
+
return function initMergePropsProxy(dispatch, _ref) {
|
8180 |
+
var displayName = _ref.displayName,
|
8181 |
+
pure = _ref.pure,
|
8182 |
+
areMergedPropsEqual = _ref.areMergedPropsEqual;
|
8183 |
+
|
8184 |
+
var hasRunOnce = false;
|
8185 |
+
var mergedProps = void 0;
|
8186 |
+
|
8187 |
+
return function mergePropsProxy(stateProps, dispatchProps, ownProps) {
|
8188 |
+
var nextMergedProps = mergeProps(stateProps, dispatchProps, ownProps);
|
8189 |
+
|
8190 |
+
if (hasRunOnce) {
|
8191 |
+
if (!pure || !areMergedPropsEqual(nextMergedProps, mergedProps)) mergedProps = nextMergedProps;
|
8192 |
+
} else {
|
8193 |
+
hasRunOnce = true;
|
8194 |
+
mergedProps = nextMergedProps;
|
8195 |
+
|
8196 |
+
if (false) verifyPlainObject(mergedProps, displayName, 'mergeProps');
|
8197 |
+
}
|
8198 |
+
|
8199 |
+
return mergedProps;
|
8200 |
+
};
|
8201 |
+
};
|
8202 |
+
}
|
8203 |
+
|
8204 |
+
function whenMergePropsIsFunction(mergeProps) {
|
8205 |
+
return typeof mergeProps === 'function' ? wrapMergePropsFunc(mergeProps) : undefined;
|
8206 |
+
}
|
8207 |
+
|
8208 |
+
function whenMergePropsIsOmitted(mergeProps) {
|
8209 |
+
return !mergeProps ? function () {
|
8210 |
+
return defaultMergeProps;
|
8211 |
+
} : undefined;
|
8212 |
+
}
|
8213 |
+
|
8214 |
+
/* harmony default export */ __webpack_exports__["a"] = ([whenMergePropsIsFunction, whenMergePropsIsOmitted]);
|
8215 |
+
|
8216 |
+
/***/ }),
|
8217 |
+
/* 191 */
|
8218 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8219 |
+
|
8220 |
+
"use strict";
|
8221 |
+
/* unused harmony export impureFinalPropsSelectorFactory */
|
8222 |
+
/* unused harmony export pureFinalPropsSelectorFactory */
|
8223 |
+
/* harmony export (immutable) */ __webpack_exports__["a"] = finalPropsSelectorFactory;
|
8224 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__verifySubselectors__ = __webpack_require__(192);
|
8225 |
+
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
8226 |
+
|
8227 |
+
|
8228 |
+
|
8229 |
+
function impureFinalPropsSelectorFactory(mapStateToProps, mapDispatchToProps, mergeProps, dispatch) {
|
8230 |
+
return function impureFinalPropsSelector(state, ownProps) {
|
8231 |
+
return mergeProps(mapStateToProps(state, ownProps), mapDispatchToProps(dispatch, ownProps), ownProps);
|
8232 |
+
};
|
8233 |
+
}
|
8234 |
+
|
8235 |
+
function pureFinalPropsSelectorFactory(mapStateToProps, mapDispatchToProps, mergeProps, dispatch, _ref) {
|
8236 |
+
var areStatesEqual = _ref.areStatesEqual,
|
8237 |
+
areOwnPropsEqual = _ref.areOwnPropsEqual,
|
8238 |
+
areStatePropsEqual = _ref.areStatePropsEqual;
|
8239 |
+
|
8240 |
+
var hasRunAtLeastOnce = false;
|
8241 |
+
var state = void 0;
|
8242 |
+
var ownProps = void 0;
|
8243 |
+
var stateProps = void 0;
|
8244 |
+
var dispatchProps = void 0;
|
8245 |
+
var mergedProps = void 0;
|
8246 |
+
|
8247 |
+
function handleFirstCall(firstState, firstOwnProps) {
|
8248 |
+
state = firstState;
|
8249 |
+
ownProps = firstOwnProps;
|
8250 |
+
stateProps = mapStateToProps(state, ownProps);
|
8251 |
+
dispatchProps = mapDispatchToProps(dispatch, ownProps);
|
8252 |
+
mergedProps = mergeProps(stateProps, dispatchProps, ownProps);
|
8253 |
+
hasRunAtLeastOnce = true;
|
8254 |
+
return mergedProps;
|
8255 |
+
}
|
8256 |
+
|
8257 |
+
function handleNewPropsAndNewState() {
|
8258 |
+
stateProps = mapStateToProps(state, ownProps);
|
8259 |
+
|
8260 |
+
if (mapDispatchToProps.dependsOnOwnProps) dispatchProps = mapDispatchToProps(dispatch, ownProps);
|
8261 |
+
|
8262 |
+
mergedProps = mergeProps(stateProps, dispatchProps, ownProps);
|
8263 |
+
return mergedProps;
|
8264 |
+
}
|
8265 |
+
|
8266 |
+
function handleNewProps() {
|
8267 |
+
if (mapStateToProps.dependsOnOwnProps) stateProps = mapStateToProps(state, ownProps);
|
8268 |
+
|
8269 |
+
if (mapDispatchToProps.dependsOnOwnProps) dispatchProps = mapDispatchToProps(dispatch, ownProps);
|
8270 |
+
|
8271 |
+
mergedProps = mergeProps(stateProps, dispatchProps, ownProps);
|
8272 |
+
return mergedProps;
|
8273 |
+
}
|
8274 |
+
|
8275 |
+
function handleNewState() {
|
8276 |
+
var nextStateProps = mapStateToProps(state, ownProps);
|
8277 |
+
var statePropsChanged = !areStatePropsEqual(nextStateProps, stateProps);
|
8278 |
+
stateProps = nextStateProps;
|
8279 |
+
|
8280 |
+
if (statePropsChanged) mergedProps = mergeProps(stateProps, dispatchProps, ownProps);
|
8281 |
+
|
8282 |
+
return mergedProps;
|
8283 |
+
}
|
8284 |
+
|
8285 |
+
function handleSubsequentCalls(nextState, nextOwnProps) {
|
8286 |
+
var propsChanged = !areOwnPropsEqual(nextOwnProps, ownProps);
|
8287 |
+
var stateChanged = !areStatesEqual(nextState, state);
|
8288 |
+
state = nextState;
|
8289 |
+
ownProps = nextOwnProps;
|
8290 |
+
|
8291 |
+
if (propsChanged && stateChanged) return handleNewPropsAndNewState();
|
8292 |
+
if (propsChanged) return handleNewProps();
|
8293 |
+
if (stateChanged) return handleNewState();
|
8294 |
+
return mergedProps;
|
8295 |
+
}
|
8296 |
+
|
8297 |
+
return function pureFinalPropsSelector(nextState, nextOwnProps) {
|
8298 |
+
return hasRunAtLeastOnce ? handleSubsequentCalls(nextState, nextOwnProps) : handleFirstCall(nextState, nextOwnProps);
|
8299 |
+
};
|
8300 |
+
}
|
8301 |
+
|
8302 |
+
// TODO: Add more comments
|
8303 |
+
|
8304 |
+
// If pure is true, the selector returned by selectorFactory will memoize its results,
|
8305 |
+
// allowing connectAdvanced's shouldComponentUpdate to return false if final
|
8306 |
+
// props have not changed. If false, the selector will always return a new
|
8307 |
+
// object and shouldComponentUpdate will always return true.
|
8308 |
+
|
8309 |
+
function finalPropsSelectorFactory(dispatch, _ref2) {
|
8310 |
+
var initMapStateToProps = _ref2.initMapStateToProps,
|
8311 |
+
initMapDispatchToProps = _ref2.initMapDispatchToProps,
|
8312 |
+
initMergeProps = _ref2.initMergeProps,
|
8313 |
+
options = _objectWithoutProperties(_ref2, ['initMapStateToProps', 'initMapDispatchToProps', 'initMergeProps']);
|
8314 |
+
|
8315 |
+
var mapStateToProps = initMapStateToProps(dispatch, options);
|
8316 |
+
var mapDispatchToProps = initMapDispatchToProps(dispatch, options);
|
8317 |
+
var mergeProps = initMergeProps(dispatch, options);
|
8318 |
+
|
8319 |
+
if (false) {
|
8320 |
+
verifySubselectors(mapStateToProps, mapDispatchToProps, mergeProps, options.displayName);
|
8321 |
+
}
|
8322 |
+
|
8323 |
+
var selectorFactory = options.pure ? pureFinalPropsSelectorFactory : impureFinalPropsSelectorFactory;
|
8324 |
+
|
8325 |
+
return selectorFactory(mapStateToProps, mapDispatchToProps, mergeProps, dispatch, options);
|
8326 |
+
}
|
8327 |
+
|
8328 |
+
/***/ }),
|
8329 |
+
/* 192 */
|
8330 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
8331 |
+
|
8332 |
+
"use strict";
|
8333 |
+
/* unused harmony export default */
|
8334 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__utils_warning__ = __webpack_require__(45);
|
8335 |
+
|
8336 |
+
|
8337 |
+
function verify(selector, methodName, displayName) {
|
8338 |
+
if (!selector) {
|
8339 |
+
throw new Error('Unexpected value for ' + methodName + ' in ' + displayName + '.');
|
8340 |
+
} else if (methodName === 'mapStateToProps' || methodName === 'mapDispatchToProps') {
|
8341 |
+
if (!selector.hasOwnProperty('dependsOnOwnProps')) {
|
8342 |
+
Object(__WEBPACK_IMPORTED_MODULE_0__utils_warning__["a" /* default */])('The selector for ' + methodName + ' of ' + displayName + ' did not specify a value for dependsOnOwnProps.');
|
8343 |
+
}
|
8344 |
+
}
|
8345 |
+
}
|
8346 |
+
|
8347 |
+
function verifySubselectors(mapStateToProps, mapDispatchToProps, mergeProps, displayName) {
|
8348 |
+
verify(mapStateToProps, 'mapStateToProps', displayName);
|
8349 |
+
verify(mapDispatchToProps, 'mapDispatchToProps', displayName);
|
8350 |
+
verify(mergeProps, 'mergeProps', displayName);
|
8351 |
+
}
|
8352 |
+
|
8353 |
+
/***/ }),
|
8354 |
+
/* 193 */
|
8355 |
+
/***/ (function(module, exports, __webpack_require__) {
|
8356 |
+
|
8357 |
+
"use strict";
|
8358 |
+
|
8359 |
+
|
8360 |
+
Object.defineProperty(exports, "__esModule", {
|
8361 |
+
value: true
|
8362 |
+
});
|
8363 |
+
|
8364 |
+
var _getPrototypeOf = __webpack_require__(1);
|
8365 |
+
|
8366 |
+
var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
|
8367 |
+
|
8368 |
+
var _classCallCheck2 = __webpack_require__(2);
|
8369 |
+
|
8370 |
+
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
|
8371 |
+
|
8372 |
+
var _createClass2 = __webpack_require__(3);
|
8373 |
+
|
8374 |
+
var _createClass3 = _interopRequireDefault(_createClass2);
|
8375 |
+
|
8376 |
+
var _possibleConstructorReturn2 = __webpack_require__(4);
|
8377 |
+
|
8378 |
+
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
|
8379 |
+
|
8380 |
+
var _inherits2 = __webpack_require__(5);
|
8381 |
+
|
8382 |
+
var _inherits3 = _interopRequireDefault(_inherits2);
|
8383 |
+
|
8384 |
+
var _react = __webpack_require__(0);
|
8385 |
+
|
8386 |
+
var _react2 = _interopRequireDefault(_react);
|
8387 |
+
|
8388 |
+
var _loading = __webpack_require__(8);
|
8389 |
+
|
8390 |
+
var _loading2 = _interopRequireDefault(_loading);
|
8391 |
+
|
8392 |
+
var _automatic_updates_major = __webpack_require__(194);
|
8393 |
+
|
8394 |
+
var _automatic_updates_major2 = _interopRequireDefault(_automatic_updates_major);
|
8395 |
+
|
8396 |
+
var _automatic_updates_minor = __webpack_require__(195);
|
8397 |
+
|
8398 |
+
var _automatic_updates_minor2 = _interopRequireDefault(_automatic_updates_minor);
|
8399 |
+
|
8400 |
+
var _automatic_updates_development = __webpack_require__(196);
|
8401 |
+
|
8402 |
+
var _automatic_updates_development2 = _interopRequireDefault(_automatic_updates_development);
|
8403 |
+
|
8404 |
+
var _automatic_updates_translations = __webpack_require__(197);
|
8405 |
+
|
8406 |
+
var _automatic_updates_translations2 = _interopRequireDefault(_automatic_updates_translations);
|
8407 |
+
|
8408 |
+
var _automatic_updates_plugins = __webpack_require__(198);
|
8409 |
+
|
8410 |
+
var _automatic_updates_plugins2 = _interopRequireDefault(_automatic_updates_plugins);
|
8411 |
+
|
8412 |
+
var _automatic_updates_themes = __webpack_require__(199);
|
8413 |
+
|
8414 |
+
var _automatic_updates_themes2 = _interopRequireDefault(_automatic_updates_themes);
|
8415 |
+
|
8416 |
+
var _save_options = __webpack_require__(6);
|
8417 |
+
|
8418 |
+
var _reactRedux = __webpack_require__(7);
|
8419 |
+
|
8420 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
8421 |
+
|
8422 |
+
var AutomaticUpdates = function (_Component) {
|
8423 |
+
(0, _inherits3.default)(AutomaticUpdates, _Component);
|
8424 |
+
|
8425 |
+
function AutomaticUpdates(props) {
|
8426 |
+
(0, _classCallCheck3.default)(this, AutomaticUpdates);
|
8427 |
+
|
8428 |
+
var _this = (0, _possibleConstructorReturn3.default)(this, (AutomaticUpdates.__proto__ || (0, _getPrototypeOf2.default)(AutomaticUpdates)).call(this, props));
|
8429 |
+
|
8430 |
+
_this.onButtonClick = function (event) {
|
8431 |
+
event.preventDefault();
|
8432 |
+
_this.setState({
|
8433 |
+
loading: true
|
8434 |
+
});
|
8435 |
+
|
8436 |
+
_this.props.saveOptions(event.target.getAttribute('data-id'), event.target.value);
|
8437 |
+
};
|
8438 |
+
|
8439 |
+
_this.state = {
|
8440 |
+
loading: false
|
8441 |
+
};
|
8442 |
+
return _this;
|
8443 |
+
}
|
8444 |
+
|
8445 |
+
(0, _createClass3.default)(AutomaticUpdates, [{
|
8446 |
+
key: 'componentWillReceiveProps',
|
8447 |
+
value: function componentWillReceiveProps() {
|
8448 |
+
this.setState({
|
8449 |
+
loading: false
|
8450 |
+
});
|
8451 |
+
}
|
8452 |
+
}, {
|
8453 |
+
key: 'render',
|
8454 |
+
value: function render() {
|
8455 |
+
var options = this.props.options;
|
8456 |
+
|
8457 |
+
return _react2.default.createElement(
|
8458 |
+
'div',
|
8459 |
+
{ className: 'eum-section' },
|
8460 |
+
_react2.default.createElement(
|
8461 |
+
'h2',
|
8462 |
+
null,
|
8463 |
+
mpsum.I18N.automatic_updates
|
8464 |
+
),
|
8465 |
+
_react2.default.createElement(
|
8466 |
+
'p',
|
8467 |
+
{ className: 'eum-description' },
|
8468 |
+
mpsum.I18N.automatic_updates_description
|
8469 |
+
),
|
8470 |
+
_react2.default.createElement(
|
8471 |
+
'p',
|
8472 |
+
{ className: 'eum-status' },
|
8473 |
+
'on' == options.automatic_updates && mpsum.I18N.automatic_updates_on_status,
|
8474 |
+
'off' == options.automatic_updates && mpsum.I18N.automatic_updates_off_status,
|
8475 |
+
'default' == options.automatic_updates && mpsum.I18N.automatic_updates_default_status,
|
8476 |
+
'custom' == options.automatic_updates && mpsum.I18N.automatic_updates_custom_status
|
8477 |
+
),
|
8478 |
+
!this.state.loading && _react2.default.createElement(
|
8479 |
+
_react.Fragment,
|
8480 |
+
null,
|
8481 |
+
_react2.default.createElement(
|
8482 |
+
'div',
|
8483 |
+
{ 'class': 'toggle-wrapper' },
|
8484 |
+
_react2.default.createElement(
|
8485 |
+
'button',
|
8486 |
+
{
|
8487 |
+
'data-id': 'automatic-updates-default',
|
8488 |
+
className: 'eum-toggle-button ' + ('default' == options.automatic_updates ? 'eum-active' : ''),
|
8489 |
+
'aria-label': mpsum.I18N.default,
|
8490 |
+
onClick: this.onButtonClick,
|
8491 |
+
value: 'default'
|
8492 |
+
},
|
8493 |
+
mpsum.I18N.default
|
8494 |
+
),
|
8495 |
+
_react2.default.createElement(
|
8496 |
+
'button',
|
8497 |
+
{
|
8498 |
+
'data-id': 'automatic-updates-on',
|
8499 |
+
className: 'eum-toggle-button ' + ('on' == options.automatic_updates ? 'eum-active' : ''),
|
8500 |
+
'aria-label': mpsum.I18N.on,
|
8501 |
+
onClick: this.onButtonClick,
|
8502 |
+
value: 'on'
|
8503 |
+
},
|
8504 |
+
mpsum.I18N.on
|
8505 |
+
),
|
8506 |
+
_react2.default.createElement(
|
8507 |
+
'button',
|
8508 |
+
{
|
8509 |
+
'data-id': 'automatic-updates-off',
|
8510 |
+
className: 'eum-toggle-button ' + ('off' == options.automatic_updates ? 'eum-active' : ''),
|
8511 |
+
'aria-label': mpsum.I18N.off,
|
8512 |
+
onClick: this.onButtonClick,
|
8513 |
+
value: 'off'
|
8514 |
+
},
|
8515 |
+
mpsum.I18N.off
|
8516 |
+
),
|
8517 |
+
_react2.default.createElement(
|
8518 |
+
'button',
|
8519 |
+
{
|
8520 |
+
'data-id': 'automatic-updates-custom',
|
8521 |
+
className: 'eum-toggle-button ' + ('custom' == options.automatic_updates ? 'eum-active' : ''),
|
8522 |
+
'aria-label': mpsum.I18N.off,
|
8523 |
+
onClick: this.onButtonClick,
|
8524 |
+
value: 'custom'
|
8525 |
+
},
|
8526 |
+
mpsum.I18N.custom
|
8527 |
+
)
|
8528 |
+
)
|
8529 |
+
),
|
8530 |
+
this.state.loading && _react2.default.createElement(_loading2.default, null),
|
8531 |
+
options.automatic_updates == 'custom' && !this.state.loading && _react2.default.createElement(
|
8532 |
+
_react.Fragment,
|
8533 |
+
null,
|
8534 |
+
_react2.default.createElement(_automatic_updates_major2.default, null),
|
8535 |
+
_react2.default.createElement('hr', null),
|
8536 |
+
_react2.default.createElement(_automatic_updates_minor2.default, null),
|
8537 |
+
_react2.default.createElement('hr', null),
|
8538 |
+
_react2.default.createElement(_automatic_updates_development2.default, null),
|
8539 |
+
_react2.default.createElement('hr', null),
|
8540 |
+
_react2.default.createElement(_automatic_updates_translations2.default, null),
|
8541 |
+
_react2.default.createElement('hr', null),
|
8542 |
+
_react2.default.createElement(_automatic_updates_plugins2.default, null),
|
8543 |
+
_react2.default.createElement('hr', null),
|
8544 |
+
_react2.default.createElement(_automatic_updates_themes2.default, null)
|
8545 |
+
)
|
8546 |
+
);
|
8547 |
+
}
|
8548 |
+
}]);
|
8549 |
+
return AutomaticUpdates;
|
8550 |
+
}(_react.Component);
|
8551 |
+
|
8552 |
+
function mapStateToProps(state) {
|
8553 |
+
return {
|
8554 |
+
options: state.options,
|
8555 |
+
saveOptions: state.saveOptions
|
8556 |
+
};
|
8557 |
+
}
|
8558 |
+
|
8559 |
+
exports.default = (0, _reactRedux.connect)(mapStateToProps, { saveOptions: _save_options.saveOptions })(AutomaticUpdates);
|
8560 |
+
|
8561 |
+
/***/ }),
|
8562 |
+
/* 194 */
|
8563 |
+
/***/ (function(module, exports, __webpack_require__) {
|
8564 |
+
|
8565 |
+
"use strict";
|
8566 |
+
|
8567 |
+
|
8568 |
+
Object.defineProperty(exports, "__esModule", {
|
8569 |
+
value: true
|
8570 |
+
});
|
8571 |
+
|
8572 |
+
var _getPrototypeOf = __webpack_require__(1);
|
8573 |
+
|
8574 |
+
var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
|
8575 |
+
|
8576 |
+
var _classCallCheck2 = __webpack_require__(2);
|
8577 |
+
|
8578 |
+
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
|
8579 |
+
|
8580 |
+
var _createClass2 = __webpack_require__(3);
|
8581 |
+
|
8582 |
+
var _createClass3 = _interopRequireDefault(_createClass2);
|
8583 |
+
|
8584 |
+
var _possibleConstructorReturn2 = __webpack_require__(4);
|
8585 |
+
|
8586 |
+
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
|
8587 |
+
|
8588 |
+
var _inherits2 = __webpack_require__(5);
|
8589 |
+
|
8590 |
+
var _inherits3 = _interopRequireDefault(_inherits2);
|
8591 |
+
|
8592 |
+
var _react = __webpack_require__(0);
|
8593 |
+
|
8594 |
+
var _react2 = _interopRequireDefault(_react);
|
8595 |
+
|
8596 |
+
var _loading = __webpack_require__(8);
|
8597 |
+
|
8598 |
+
var _loading2 = _interopRequireDefault(_loading);
|
8599 |
+
|
8600 |
+
var _save_options = __webpack_require__(6);
|
8601 |
+
|
8602 |
+
var _reactRedux = __webpack_require__(7);
|
8603 |
+
|
8604 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
8605 |
+
|
8606 |
+
var AutomaticUpdatesMajor = function (_Component) {
|
8607 |
+
(0, _inherits3.default)(AutomaticUpdatesMajor, _Component);
|
8608 |
+
|
8609 |
+
function AutomaticUpdatesMajor(props) {
|
8610 |
+
(0, _classCallCheck3.default)(this, AutomaticUpdatesMajor);
|
8611 |
+
|
8612 |
+
var _this = (0, _possibleConstructorReturn3.default)(this, (AutomaticUpdatesMajor.__proto__ || (0, _getPrototypeOf2.default)(AutomaticUpdatesMajor)).call(this, props));
|
8613 |
+
|
8614 |
+
_this.onButtonClick = function (event) {
|
8615 |
+
event.preventDefault();
|
8616 |
+
_this.setState({
|
8617 |
+
loading: true
|
8618 |
+
});
|
8619 |
+
|
8620 |
+
_this.props.saveOptions(event.target.getAttribute('data-id'), event.target.value);
|
8621 |
+
};
|
8622 |
+
|
8623 |
+
_this.state = {
|
8624 |
+
loading: false,
|
8625 |
+
checked: 'off'
|
8626 |
+
};
|
8627 |
+
return _this;
|
8628 |
+
}
|
8629 |
+
|
8630 |
+
(0, _createClass3.default)(AutomaticUpdatesMajor, [{
|
8631 |
+
key: 'componentWillReceiveProps',
|
8632 |
+
value: function componentWillReceiveProps() {
|
8633 |
+
this.setState({
|
8634 |
+
loading: false
|
8635 |
+
});
|
8636 |
+
}
|
8637 |
+
}, {
|
8638 |
+
key: 'render',
|
8639 |
+
value: function render() {
|
8640 |
+
var options = this.props.options;
|
8641 |
+
|
8642 |
+
return _react2.default.createElement(
|
8643 |
+
'div',
|
8644 |
+
{ className: 'automatic-updates-custom' },
|
8645 |
+
_react2.default.createElement(
|
8646 |
+
'h3',
|
8647 |
+
null,
|
8648 |
+
mpsum.I18N.major_releases
|
8649 |
+
),
|
8650 |
+
_react2.default.createElement(
|
8651 |
+
'p',
|
8652 |
+
{ className: 'eum-description' },
|
8653 |
+
mpsum.I18N.major_releases_description
|
8654 |
+
),
|
8655 |
+
_react2.default.createElement(
|
8656 |
+
'p',
|
8657 |
+
{ className: 'eum-status' },
|
8658 |
+
'on' == options.automatic_major_updates ? mpsum.I18N.major_releases_label_on_status : mpsum.I18N.major_releases_label_off_status
|
8659 |
+
),
|
8660 |
+
!this.state.loading && _react2.default.createElement(
|
8661 |
+
'div',
|
8662 |
+
{ className: 'toggle-wrapper' },
|
8663 |
+
_react2.default.createElement(
|
8664 |
+
'button',
|
8665 |
+
{
|
8666 |
+
'data-id': 'automatic-major-updates',
|
8667 |
+
className: 'eum-toggle-button ' + ('on' == options.automatic_major_updates ? 'eum-active' : ''),
|
8668 |
+
'aria-label': mpsum.I18N.major_releases_label_on,
|
8669 |
+
onClick: this.onButtonClick,
|
8670 |
+
value: 'on'
|
8671 |
+
},
|
8672 |
+
mpsum.I18N.major_releases_label_on
|
8673 |
+
),
|
8674 |
+
_react2.default.createElement(
|
8675 |
+
'button',
|
8676 |
+
{
|
8677 |
+
'data-id': 'automatic-major-updates',
|
8678 |
+
className: 'eum-toggle-button ' + ('off' == options.automatic_major_updates ? 'eum-active' : ''),
|
8679 |
+
'aria-label': mpsum.I18N.major_releases_label_off,
|
8680 |
+
onClick: this.onButtonClick,
|
8681 |
+
value: 'off'
|
8682 |
+
},
|
8683 |
+
mpsum.I18N.major_releases_label_off
|
8684 |
+
)
|
8685 |
+
),
|
8686 |
+
this.state.loading && _react2.default.createElement(_loading2.default, null)
|
8687 |
+
);
|
8688 |
+
}
|
8689 |
+
}]);
|
8690 |
+
return AutomaticUpdatesMajor;
|
8691 |
+
}(_react.Component);
|
8692 |
+
|
8693 |
+
function mapStateToProps(state) {
|
8694 |
+
return {
|
8695 |
+
options: state.options,
|
8696 |
+
saveOptions: state.saveOptions
|
8697 |
+
};
|
8698 |
+
}
|
8699 |
+
|
8700 |
+
exports.default = (0, _reactRedux.connect)(mapStateToProps, { saveOptions: _save_options.saveOptions })(AutomaticUpdatesMajor);
|
8701 |
+
|
8702 |
+
/***/ }),
|
8703 |
+
/* 195 */
|
8704 |
+
/***/ (function(module, exports, __webpack_require__) {
|
8705 |
+
|
8706 |
+
"use strict";
|
8707 |
+
|
8708 |
+
|
8709 |
+
Object.defineProperty(exports, "__esModule", {
|
8710 |
+
value: true
|
8711 |
+
});
|
8712 |
+
|
8713 |
+
var _getPrototypeOf = __webpack_require__(1);
|
8714 |
+
|
8715 |
+
var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
|
8716 |
+
|
8717 |
+
var _classCallCheck2 = __webpack_require__(2);
|
8718 |
+
|
8719 |
+
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
|
8720 |
+
|
8721 |
+
var _createClass2 = __webpack_require__(3);
|
8722 |
+
|
8723 |
+
var _createClass3 = _interopRequireDefault(_createClass2);
|
8724 |
+
|
8725 |
+
var _possibleConstructorReturn2 = __webpack_require__(4);
|
8726 |
+
|
8727 |
+
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
|
8728 |
+
|
8729 |
+
var _inherits2 = __webpack_require__(5);
|
8730 |
+
|
8731 |
+
var _inherits3 = _interopRequireDefault(_inherits2);
|
8732 |
+
|
8733 |
+
var _react = __webpack_require__(0);
|
8734 |
+
|
8735 |
+
var _react2 = _interopRequireDefault(_react);
|
8736 |
+
|
8737 |
+
var _loading = __webpack_require__(8);
|
8738 |
+
|
8739 |
+
var _loading2 = _interopRequireDefault(_loading);
|
8740 |
+
|
8741 |
+
var _save_options = __webpack_require__(6);
|
8742 |
+
|
8743 |
+
var _reactRedux = __webpack_require__(7);
|
8744 |
+
|
8745 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
8746 |
+
|
8747 |
+
var AutomaticUpdatesMinor = function (_Component) {
|
8748 |
+
(0, _inherits3.default)(AutomaticUpdatesMinor, _Component);
|
8749 |
+
|
8750 |
+
function AutomaticUpdatesMinor(props) {
|
8751 |
+
(0, _classCallCheck3.default)(this, AutomaticUpdatesMinor);
|
8752 |
+
|
8753 |
+
var _this = (0, _possibleConstructorReturn3.default)(this, (AutomaticUpdatesMinor.__proto__ || (0, _getPrototypeOf2.default)(AutomaticUpdatesMinor)).call(this, props));
|
8754 |
+
|
8755 |
+
_this.onButtonClick = function (event) {
|
8756 |
+
event.preventDefault();
|
8757 |
+
_this.setState({
|
8758 |
+
loading: true
|
8759 |
+
});
|
8760 |
+
|
8761 |
+
_this.props.saveOptions(event.target.getAttribute('data-id'), event.target.value);
|
8762 |
+
};
|
8763 |
+
|
8764 |
+
_this.state = {
|
8765 |
+
loading: false,
|
8766 |
+
checked: 'off'
|
8767 |
+
};
|
8768 |
+
return _this;
|
8769 |
+
}
|
8770 |
+
|
8771 |
+
(0, _createClass3.default)(AutomaticUpdatesMinor, [{
|
8772 |
+
key: 'componentWillReceiveProps',
|
8773 |
+
value: function componentWillReceiveProps() {
|
8774 |
+
this.setState({
|
8775 |
+
loading: false
|
8776 |
+
});
|
8777 |
+
}
|
8778 |
+
}, {
|
8779 |
+
key: 'render',
|
8780 |
+
value: function render() {
|
8781 |
+
var options = this.props.options;
|
8782 |
+
|
8783 |
+
return _react2.default.createElement(
|
8784 |
+
'div',
|
8785 |
+
{ className: 'automatic-updates-custom' },
|
8786 |
+
_react2.default.createElement(
|
8787 |
+
'h3',
|
8788 |
+
null,
|
8789 |
+
mpsum.I18N.minor_releases
|
8790 |
+
),
|
8791 |
+
_react2.default.createElement(
|
8792 |
+
'p',
|
8793 |
+
{ className: 'eum-description' },
|
8794 |
+
mpsum.I18N.minor_releases_description
|
8795 |
+
),
|
8796 |
+
_react2.default.createElement(
|
8797 |
+
'p',
|
8798 |
+
{ className: 'eum-status' },
|
8799 |
+
'on' == options.automatic_minor_updates ? mpsum.I18N.minor_releases_label_on_status : mpsum.I18N.minor_releases_label_off_status
|
8800 |
+
),
|
8801 |
+
!this.state.loading && _react2.default.createElement(
|
8802 |
+
'div',
|
8803 |
+
{ className: 'toggle-wrapper' },
|
8804 |
+
_react2.default.createElement(
|
8805 |
+
'button',
|
8806 |
+
{
|
8807 |
+
'data-id': 'automatic-minor-updates',
|
8808 |
+
className: 'eum-toggle-button ' + ('on' == options.automatic_minor_updates ? 'eum-active' : ''),
|
8809 |
+
'aria-label': mpsum.I18N.minor_releases_label_on,
|
8810 |
+
onClick: this.onButtonClick,
|
8811 |
+
value: 'on'
|
8812 |
+
},
|
8813 |
+
mpsum.I18N.minor_releases_label_on
|
8814 |
+
),
|
8815 |
+
_react2.default.createElement(
|
8816 |
+
'button',
|
8817 |
+
{
|
8818 |
+
'data-id': 'automatic-minor-updates',
|
8819 |
+
className: 'eum-toggle-button ' + ('off' == options.automatic_minor_updates ? 'eum-active' : ''),
|
8820 |
+
'aria-label': mpsum.I18N.minor_releases_label_off,
|
8821 |
+
onClick: this.onButtonClick,
|
8822 |
+
value: 'off'
|
8823 |
+
},
|
8824 |
+
mpsum.I18N.minor_releases_label_off
|
8825 |
+
)
|
8826 |
+
),
|
8827 |
+
this.state.loading && _react2.default.createElement(_loading2.default, null)
|
8828 |
+
);
|
8829 |
+
}
|
8830 |
+
}]);
|
8831 |
+
return AutomaticUpdatesMinor;
|
8832 |
+
}(_react.Component);
|
8833 |
+
|
8834 |
+
function mapStateToProps(state) {
|
8835 |
+
return {
|
8836 |
+
options: state.options,
|
8837 |
+
saveOptions: state.saveOptions
|
8838 |
+
};
|
8839 |
+
}
|
8840 |
+
|
8841 |
+
exports.default = (0, _reactRedux.connect)(mapStateToProps, { saveOptions: _save_options.saveOptions })(AutomaticUpdatesMinor);
|
8842 |
+
|
8843 |
+
/***/ }),
|
8844 |
+
/* 196 */
|
8845 |
+
/***/ (function(module, exports, __webpack_require__) {
|
8846 |
+
|
8847 |
+
"use strict";
|
8848 |
+
|
8849 |
+
|
8850 |
+
Object.defineProperty(exports, "__esModule", {
|
8851 |
+
value: true
|
8852 |
+
});
|
8853 |
+
|
8854 |
+
var _getPrototypeOf = __webpack_require__(1);
|
8855 |
+
|
8856 |
+
var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
|
8857 |
+
|
8858 |
+
var _classCallCheck2 = __webpack_require__(2);
|
8859 |
+
|
8860 |
+
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
|
8861 |
+
|
8862 |
+
var _createClass2 = __webpack_require__(3);
|
8863 |
+
|
8864 |
+
var _createClass3 = _interopRequireDefault(_createClass2);
|
8865 |
+
|
8866 |
+
var _possibleConstructorReturn2 = __webpack_require__(4);
|
8867 |
+
|
8868 |
+
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
|
8869 |
+
|
8870 |
+
var _inherits2 = __webpack_require__(5);
|
8871 |
+
|
8872 |
+
var _inherits3 = _interopRequireDefault(_inherits2);
|
8873 |
+
|
8874 |
+
var _react = __webpack_require__(0);
|
8875 |
+
|
8876 |
+
var _react2 = _interopRequireDefault(_react);
|
8877 |
+
|
8878 |
+
var _loading = __webpack_require__(8);
|
8879 |
+
|
8880 |
+
var _loading2 = _interopRequireDefault(_loading);
|
8881 |
+
|
8882 |
+
var _save_options = __webpack_require__(6);
|
8883 |
+
|
8884 |
+
var _reactRedux = __webpack_require__(7);
|
8885 |
+
|
8886 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
8887 |
+
|
8888 |
+
var AutomaticUpdatesDevelopment = function (_Component) {
|
8889 |
+
(0, _inherits3.default)(AutomaticUpdatesDevelopment, _Component);
|
8890 |
+
|
8891 |
+
function AutomaticUpdatesDevelopment(props) {
|
8892 |
+
(0, _classCallCheck3.default)(this, AutomaticUpdatesDevelopment);
|
8893 |
+
|
8894 |
+
var _this = (0, _possibleConstructorReturn3.default)(this, (AutomaticUpdatesDevelopment.__proto__ || (0, _getPrototypeOf2.default)(AutomaticUpdatesDevelopment)).call(this, props));
|
8895 |
+
|
8896 |
+
_this.onButtonClick = function (event) {
|
8897 |
+
event.preventDefault();
|
8898 |
+
_this.setState({
|
8899 |
+
loading: true
|
8900 |
+
});
|
8901 |
+
|
8902 |
+
_this.props.saveOptions(event.target.getAttribute('data-id'), event.target.value);
|
8903 |
+
};
|
8904 |
+
|
8905 |
+
_this.state = {
|
8906 |
+
loading: false,
|
8907 |
+
checked: 'off'
|
8908 |
+
};
|
8909 |
+
return _this;
|
8910 |
+
}
|
8911 |
+
|
8912 |
+
(0, _createClass3.default)(AutomaticUpdatesDevelopment, [{
|
8913 |
+
key: 'componentWillReceiveProps',
|
8914 |
+
value: function componentWillReceiveProps() {
|
8915 |
+
this.setState({
|
8916 |
+
loading: false
|
8917 |
+
});
|
8918 |
+
}
|
8919 |
+
}, {
|
8920 |
+
key: 'render',
|
8921 |
+
value: function render() {
|
8922 |
+
var options = this.props.options;
|
8923 |
+
|
8924 |
+
return _react2.default.createElement(
|
8925 |
+
'div',
|
8926 |
+
{ className: 'automatic-updates-custom' },
|
8927 |
+
_react2.default.createElement(
|
8928 |
+
'h3',
|
8929 |
+
null,
|
8930 |
+
mpsum.I18N.development_releases
|
8931 |
+
),
|
8932 |
+
_react2.default.createElement(
|
8933 |
+
'p',
|
8934 |
+
{ className: 'eum-description' },
|
8935 |
+
mpsum.I18N.development_releases_description
|
8936 |
+
),
|
8937 |
+
_react2.default.createElement(
|
8938 |
+
'p',
|
8939 |
+
{ className: 'eum-status' },
|
8940 |
+
'on' == options.automatic_development_updates ? mpsum.I18N.development_releases_label_on_status : mpsum.I18N.development_releases_label_off_status
|
8941 |
+
),
|
8942 |
+
!this.state.loading && _react2.default.createElement(
|
8943 |
+
'div',
|
8944 |
+
{ className: 'toggle-wrapper' },
|
8945 |
+
_react2.default.createElement(
|
8946 |
+
'button',
|
8947 |
+
{
|
8948 |
+
'data-id': 'automatic-development-updates',
|
8949 |
+
className: 'eum-toggle-button ' + ('on' == options.automatic_development_updates ? 'eum-active' : ''),
|
8950 |
+
'aria-label': mpsum.I18N.development_releases_label_on,
|
8951 |
+
onClick: this.onButtonClick,
|
8952 |
+
value: 'on'
|
8953 |
+
},
|
8954 |
+
mpsum.I18N.development_releases_label_on
|
8955 |
+
),
|
8956 |
+
_react2.default.createElement(
|
8957 |
+
'button',
|
8958 |
+
{
|
8959 |
+
'data-id': 'automatic-development-updates',
|
8960 |
+
className: 'eum-toggle-button ' + ('off' == options.automatic_development_updates ? 'eum-active' : ''),
|
8961 |
+
'aria-label': mpsum.I18N.development_releases_label_off,
|
8962 |
+
onClick: this.onButtonClick,
|
8963 |
+
value: 'off'
|
8964 |
+
},
|
8965 |
+
mpsum.I18N.development_releases_label_off
|
8966 |
+
)
|
8967 |
+
),
|
8968 |
+
this.state.loading && _react2.default.createElement(_loading2.default, null)
|
8969 |
+
);
|
8970 |
+
}
|
8971 |
+
}]);
|
8972 |
+
return AutomaticUpdatesDevelopment;
|
8973 |
+
}(_react.Component);
|
8974 |
+
|
8975 |
+
function mapStateToProps(state) {
|
8976 |
+
return {
|
8977 |
+
options: state.options,
|
8978 |
+
saveOptions: state.saveOptions
|
8979 |
+
};
|
8980 |
+
}
|
8981 |
+
|
8982 |
+
exports.default = (0, _reactRedux.connect)(mapStateToProps, { saveOptions: _save_options.saveOptions })(AutomaticUpdatesDevelopment);
|
8983 |
+
|
8984 |
+
/***/ }),
|
8985 |
+
/* 197 */
|
8986 |
+
/***/ (function(module, exports, __webpack_require__) {
|
8987 |
+
|
8988 |
+
"use strict";
|
8989 |
+
|
8990 |
+
|
8991 |
+
Object.defineProperty(exports, "__esModule", {
|
8992 |
+
value: true
|
8993 |
+
});
|
8994 |
+
|
8995 |
+
var _getPrototypeOf = __webpack_require__(1);
|
8996 |
+
|
8997 |
+
var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
|
8998 |
+
|
8999 |
+
var _classCallCheck2 = __webpack_require__(2);
|
9000 |
+
|
9001 |
+
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
|
9002 |
+
|
9003 |
+
var _createClass2 = __webpack_require__(3);
|
9004 |
+
|
9005 |
+
var _createClass3 = _interopRequireDefault(_createClass2);
|
9006 |
+
|
9007 |
+
var _possibleConstructorReturn2 = __webpack_require__(4);
|
9008 |
+
|
9009 |
+
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
|
9010 |
+
|
9011 |
+
var _inherits2 = __webpack_require__(5);
|
9012 |
+
|
9013 |
+
var _inherits3 = _interopRequireDefault(_inherits2);
|
9014 |
+
|
9015 |
+
var _react = __webpack_require__(0);
|
9016 |
+
|
9017 |
+
var _react2 = _interopRequireDefault(_react);
|
9018 |
+
|
9019 |
+
var _loading = __webpack_require__(8);
|
9020 |
+
|
9021 |
+
var _loading2 = _interopRequireDefault(_loading);
|
9022 |
+
|
9023 |
+
var _save_options = __webpack_require__(6);
|
9024 |
+
|
9025 |
+
var _reactRedux = __webpack_require__(7);
|
9026 |
+
|
9027 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
9028 |
+
|
9029 |
+
var AutomaticUpdatesTranslations = function (_Component) {
|
9030 |
+
(0, _inherits3.default)(AutomaticUpdatesTranslations, _Component);
|
9031 |
+
|
9032 |
+
function AutomaticUpdatesTranslations(props) {
|
9033 |
+
(0, _classCallCheck3.default)(this, AutomaticUpdatesTranslations);
|
9034 |
+
|
9035 |
+
var _this = (0, _possibleConstructorReturn3.default)(this, (AutomaticUpdatesTranslations.__proto__ || (0, _getPrototypeOf2.default)(AutomaticUpdatesTranslations)).call(this, props));
|
9036 |
+
|
9037 |
+
_this.onButtonClick = function (event) {
|
9038 |
+
event.preventDefault();
|
9039 |
+
_this.setState({
|
9040 |
+
loading: true
|
9041 |
+
});
|
9042 |
+
|
9043 |
+
_this.props.saveOptions(event.target.getAttribute('data-id'), event.target.value);
|
9044 |
+
};
|
9045 |
+
|
9046 |
+
_this.state = {
|
9047 |
+
loading: false,
|
9048 |
+
checked: 'off'
|
9049 |
+
};
|
9050 |
+
return _this;
|
9051 |
+
}
|
9052 |
+
|
9053 |
+
(0, _createClass3.default)(AutomaticUpdatesTranslations, [{
|
9054 |
+
key: 'componentWillReceiveProps',
|
9055 |
+
value: function componentWillReceiveProps() {
|
9056 |
+
this.setState({
|
9057 |
+
loading: false
|
9058 |
+
});
|
9059 |
+
}
|
9060 |
+
}, {
|
9061 |
+
key: 'render',
|
9062 |
+
value: function render() {
|
9063 |
+
var options = this.props.options;
|
9064 |
+
|
9065 |
+
return _react2.default.createElement(
|
9066 |
+
'div',
|
9067 |
+
{ className: 'automatic-updates-custom' },
|
9068 |
+
_react2.default.createElement(
|
9069 |
+
'h3',
|
9070 |
+
null,
|
9071 |
+
mpsum.I18N.translation_releases
|
9072 |
+
),
|
9073 |
+
_react2.default.createElement(
|
9074 |
+
'p',
|
9075 |
+
{ className: 'eum-description' },
|
9076 |
+
mpsum.I18N.translation_releases_description
|
9077 |
+
),
|
9078 |
+
_react2.default.createElement(
|
9079 |
+
'p',
|
9080 |
+
{ className: 'eum-status' },
|
9081 |
+
'on' == options.automatic_translation_updates ? mpsum.I18N.translation_releases_label_on_status : mpsum.I18N.translation_releases_label_off_status
|
9082 |
+
),
|
9083 |
+
!this.state.loading && _react2.default.createElement(
|
9084 |
+
'div',
|
9085 |
+
{ className: 'toggle-wrapper' },
|
9086 |
+
_react2.default.createElement(
|
9087 |
+
'button',
|
9088 |
+
{
|
9089 |
+
'data-id': 'automatic-translation-updates',
|
9090 |
+
className: 'eum-toggle-button ' + ('on' == options.automatic_translation_updates ? 'eum-active' : ''),
|
9091 |
+
'aria-label': mpsum.I18N.translation_releases_label_on,
|
9092 |
+
onClick: this.onButtonClick,
|
9093 |
+
value: 'on'
|
9094 |
+
},
|
9095 |
+
mpsum.I18N.translation_releases_label_on
|
9096 |
+
),
|
9097 |
+
_react2.default.createElement(
|
9098 |
+
'button',
|
9099 |
+
{
|
9100 |
+
'data-id': 'automatic-translation-updates',
|
9101 |
+
className: 'eum-toggle-button ' + ('off' == options.automatic_translation_updates ? 'eum-active' : ''),
|
9102 |
+
'aria-label': mpsum.I18N.translation_releases_label_off,
|
9103 |
+
onClick: this.onButtonClick,
|
9104 |
+
value: 'off'
|
9105 |
+
},
|
9106 |
+
mpsum.I18N.translation_releases_label_off
|
9107 |
+
)
|
9108 |
+
),
|
9109 |
+
this.state.loading && _react2.default.createElement(_loading2.default, null)
|
9110 |
+
);
|
9111 |
+
}
|
9112 |
+
}]);
|
9113 |
+
return AutomaticUpdatesTranslations;
|
9114 |
+
}(_react.Component);
|
9115 |
+
|
9116 |
+
function mapStateToProps(state) {
|
9117 |
+
return {
|
9118 |
+
options: state.options,
|
9119 |
+
saveOptions: state.saveOptions
|
9120 |
+
};
|
9121 |
+
}
|
9122 |
+
|
9123 |
+
exports.default = (0, _reactRedux.connect)(mapStateToProps, { saveOptions: _save_options.saveOptions })(AutomaticUpdatesTranslations);
|
9124 |
+
|
9125 |
+
/***/ }),
|
9126 |
+
/* 198 */
|
9127 |
+
/***/ (function(module, exports, __webpack_require__) {
|
9128 |
+
|
9129 |
+
"use strict";
|
9130 |
+
|
9131 |
+
|
9132 |
+
Object.defineProperty(exports, "__esModule", {
|
9133 |
+
value: true
|
9134 |
+
});
|
9135 |
+
|
9136 |
+
var _getPrototypeOf = __webpack_require__(1);
|
9137 |
+
|
9138 |
+
var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
|
9139 |
+
|
9140 |
+
var _classCallCheck2 = __webpack_require__(2);
|
9141 |
+
|
9142 |
+
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
|
9143 |
+
|
9144 |
+
var _createClass2 = __webpack_require__(3);
|
9145 |
+
|
9146 |
+
var _createClass3 = _interopRequireDefault(_createClass2);
|
9147 |
+
|
9148 |
+
var _possibleConstructorReturn2 = __webpack_require__(4);
|
9149 |
+
|
9150 |
+
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
|
9151 |
+
|
9152 |
+
var _inherits2 = __webpack_require__(5);
|
9153 |
+
|
9154 |
+
var _inherits3 = _interopRequireDefault(_inherits2);
|
9155 |
+
|
9156 |
+
var _react = __webpack_require__(0);
|
9157 |
+
|
9158 |
+
var _react2 = _interopRequireDefault(_react);
|
9159 |
+
|
9160 |
+
var _loading = __webpack_require__(8);
|
9161 |
+
|
9162 |
+
var _loading2 = _interopRequireDefault(_loading);
|
9163 |
+
|
9164 |
+
var _save_options = __webpack_require__(6);
|
9165 |
+
|
9166 |
+
var _reactRedux = __webpack_require__(7);
|
9167 |
+
|
9168 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
9169 |
+
|
9170 |
+
var AutomaticUpdatesPlugins = function (_Component) {
|
9171 |
+
(0, _inherits3.default)(AutomaticUpdatesPlugins, _Component);
|
9172 |
+
|
9173 |
+
function AutomaticUpdatesPlugins(props) {
|
9174 |
+
(0, _classCallCheck3.default)(this, AutomaticUpdatesPlugins);
|
9175 |
+
|
9176 |
+
var _this = (0, _possibleConstructorReturn3.default)(this, (AutomaticUpdatesPlugins.__proto__ || (0, _getPrototypeOf2.default)(AutomaticUpdatesPlugins)).call(this, props));
|
9177 |
+
|
9178 |
+
_this.onButtonClick = function (event) {
|
9179 |
+
event.preventDefault();
|
9180 |
+
_this.setState({
|
9181 |
+
loading: true
|
9182 |
+
});
|
9183 |
+
|
9184 |
+
_this.props.saveOptions(event.target.getAttribute('data-id'), event.target.value);
|
9185 |
+
};
|
9186 |
+
|
9187 |
+
_this.state = {
|
9188 |
+
loading: false
|
9189 |
+
};
|
9190 |
+
return _this;
|
9191 |
+
}
|
9192 |
+
|
9193 |
+
(0, _createClass3.default)(AutomaticUpdatesPlugins, [{
|
9194 |
+
key: 'componentWillReceiveProps',
|
9195 |
+
value: function componentWillReceiveProps() {
|
9196 |
+
this.setState({
|
9197 |
+
loading: false
|
9198 |
+
});
|
9199 |
+
}
|
9200 |
+
}, {
|
9201 |
+
key: 'render',
|
9202 |
+
value: function render() {
|
9203 |
+
var options = this.props.options;
|
9204 |
+
|
9205 |
+
return _react2.default.createElement(
|
9206 |
+
'div',
|
9207 |
+
{ className: 'eum-radio-group' },
|
9208 |
+
_react2.default.createElement(
|
9209 |
+
'h2',
|
9210 |
+
null,
|
9211 |
+
mpsum.I18N.automatic_plugin_updates
|
9212 |
+
),
|
9213 |
+
_react2.default.createElement(
|
9214 |
+
'p',
|
9215 |
+
{ className: 'eum-description' },
|
9216 |
+
mpsum.I18N.automatic_plugin_updates_description
|
9217 |
+
),
|
9218 |
+
_react2.default.createElement(
|
9219 |
+
'p',
|
9220 |
+
{ className: 'eum-status' },
|
9221 |
+
'default' == options.automatic_plugin_updates && mpsum.I18N.automatic_plugin_updates_default_status,
|
9222 |
+
'on' == options.automatic_plugin_updates && mpsum.I18N.automatic_plugin_updates_on_status,
|
9223 |
+
'off' == options.automatic_plugin_updates && mpsum.I18N.automatic_plugin_updates_off_status,
|
9224 |
+
'individual' == options.automatic_plugin_updates && mpsum.I18N.automatic_plugin_updates_individual_status
|
9225 |
+
),
|
9226 |
+
!this.state.loading && _react2.default.createElement(
|
9227 |
+
_react.Fragment,
|
9228 |
+
null,
|
9229 |
+
_react2.default.createElement(
|
9230 |
+
'div',
|
9231 |
+
{ 'class': 'toggle-wrapper' },
|
9232 |
+
_react2.default.createElement(
|
9233 |
+
'button',
|
9234 |
+
{
|
9235 |
+
'data-id': 'automatic-plugin-updates-default',
|
9236 |
+
className: 'eum-toggle-button ' + ('default' == options.automatic_plugin_updates ? 'eum-active' : ''),
|
9237 |
+
'aria-label': mpsum.I18N.default,
|
9238 |
+
onClick: this.onButtonClick,
|
9239 |
+
value: 'default'
|
9240 |
+
},
|
9241 |
+
mpsum.I18N.default
|
9242 |
+
),
|
9243 |
+
_react2.default.createElement(
|
9244 |
+
'button',
|
9245 |
+
{
|
9246 |
+
'data-id': 'automatic-plugin-updates-on',
|
9247 |
+
className: 'eum-toggle-button ' + ('on' == options.automatic_plugin_updates ? 'eum-active' : ''),
|
9248 |
+
'aria-label': mpsum.I18N.on,
|
9249 |
+
onClick: this.onButtonClick,
|
9250 |
+
value: 'on'
|
9251 |
+
},
|
9252 |
+
mpsum.I18N.on
|
9253 |
+
),
|
9254 |
+
_react2.default.createElement(
|
9255 |
+
'button',
|
9256 |
+
{
|
9257 |
+
'data-id': 'automatic-plugin-updates-off',
|
9258 |
+
className: 'eum-toggle-button ' + ('off' == options.automatic_plugin_updates ? 'eum-active' : ''),
|
9259 |
+
'aria-label': mpsum.I18N.off,
|
9260 |
+
onClick: this.onButtonClick,
|
9261 |
+
value: 'off'
|
9262 |
+
},
|
9263 |
+
mpsum.I18N.off
|
9264 |
+
),
|
9265 |
+
_react2.default.createElement(
|
9266 |
+
'button',
|
9267 |
+
{
|
9268 |
+
'data-id': 'automatic-plugin-updates-individual',
|
9269 |
+
className: 'eum-toggle-button ' + ('individual' == options.automatic_plugin_updates ? 'eum-active' : ''),
|
9270 |
+
'aria-label': mpsum.I18N.select_individually,
|
9271 |
+
onClick: this.onButtonClick,
|
9272 |
+
value: 'individual'
|
9273 |
+
},
|
9274 |
+
mpsum.I18N.select_individually
|
9275 |
+
)
|
9276 |
+
)
|
9277 |
+
),
|
9278 |
+
this.state.loading && _react2.default.createElement(_loading2.default, null)
|
9279 |
+
);
|
9280 |
+
}
|
9281 |
+
}]);
|
9282 |
+
return AutomaticUpdatesPlugins;
|
9283 |
+
}(_react.Component);
|
9284 |
+
|
9285 |
+
function mapStateToProps(state) {
|
9286 |
+
return {
|
9287 |
+
options: state.options,
|
9288 |
+
saveOptions: state.saveOptions
|
9289 |
+
};
|
9290 |
+
}
|
9291 |
+
|
9292 |
+
exports.default = (0, _reactRedux.connect)(mapStateToProps, { saveOptions: _save_options.saveOptions })(AutomaticUpdatesPlugins);
|
9293 |
+
|
9294 |
+
/***/ }),
|
9295 |
+
/* 199 */
|
9296 |
+
/***/ (function(module, exports, __webpack_require__) {
|
9297 |
+
|
9298 |
+
"use strict";
|
9299 |
+
|
9300 |
+
|
9301 |
+
Object.defineProperty(exports, "__esModule", {
|
9302 |
+
value: true
|
9303 |
+
});
|
9304 |
+
|
9305 |
+
var _getPrototypeOf = __webpack_require__(1);
|
9306 |
+
|
9307 |
+
var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
|
9308 |
+
|
9309 |
+
var _classCallCheck2 = __webpack_require__(2);
|
9310 |
+
|
9311 |
+
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
|
9312 |
+
|
9313 |
+
var _createClass2 = __webpack_require__(3);
|
9314 |
+
|
9315 |
+
var _createClass3 = _interopRequireDefault(_createClass2);
|
9316 |
+
|
9317 |
+
var _possibleConstructorReturn2 = __webpack_require__(4);
|
9318 |
+
|
9319 |
+
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
|
9320 |
+
|
9321 |
+
var _inherits2 = __webpack_require__(5);
|
9322 |
+
|
9323 |
+
var _inherits3 = _interopRequireDefault(_inherits2);
|
9324 |
+
|
9325 |
+
var _react = __webpack_require__(0);
|
9326 |
+
|
9327 |
+
var _react2 = _interopRequireDefault(_react);
|
9328 |
+
|
9329 |
+
var _loading = __webpack_require__(8);
|
9330 |
+
|
9331 |
+
var _loading2 = _interopRequireDefault(_loading);
|
9332 |
+
|
9333 |
+
var _save_options = __webpack_require__(6);
|
9334 |
+
|
9335 |
+
var _reactRedux = __webpack_require__(7);
|
9336 |
+
|
9337 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
9338 |
+
|
9339 |
+
var AutomaticUpdatesThemes = function (_Component) {
|
9340 |
+
(0, _inherits3.default)(AutomaticUpdatesThemes, _Component);
|
9341 |
+
|
9342 |
+
function AutomaticUpdatesThemes(props) {
|
9343 |
+
(0, _classCallCheck3.default)(this, AutomaticUpdatesThemes);
|
9344 |
+
|
9345 |
+
var _this = (0, _possibleConstructorReturn3.default)(this, (AutomaticUpdatesThemes.__proto__ || (0, _getPrototypeOf2.default)(AutomaticUpdatesThemes)).call(this, props));
|
9346 |
+
|
9347 |
+
_this.onButtonClick = function (event) {
|
9348 |
+
event.preventDefault();
|
9349 |
+
_this.setState({
|
9350 |
+
loading: true
|
9351 |
+
});
|
9352 |
+
|
9353 |
+
_this.props.saveOptions(event.target.getAttribute('data-id'), event.target.value);
|
9354 |
+
};
|
9355 |
+
|
9356 |
+
_this.state = {
|
9357 |
+
loading: false
|
9358 |
+
};
|
9359 |
+
return _this;
|
9360 |
+
}
|
9361 |
+
|
9362 |
+
(0, _createClass3.default)(AutomaticUpdatesThemes, [{
|
9363 |
+
key: 'componentWillReceiveProps',
|
9364 |
+
value: function componentWillReceiveProps() {
|
9365 |
+
this.setState({
|
9366 |
+
loading: false
|
9367 |
+
});
|
9368 |
+
}
|
9369 |
+
}, {
|
9370 |
+
key: 'render',
|
9371 |
+
value: function render() {
|
9372 |
+
var options = this.props.options;
|
9373 |
+
|
9374 |
+
return _react2.default.createElement(
|
9375 |
+
'div',
|
9376 |
+
{ className: 'eum-radio-group' },
|
9377 |
+
_react2.default.createElement(
|
9378 |
+
'h2',
|
9379 |
+
null,
|
9380 |
+
mpsum.I18N.automatic_theme_updates
|
9381 |
+
),
|
9382 |
+
_react2.default.createElement(
|
9383 |
+
'p',
|
9384 |
+
{ className: 'eum-description' },
|
9385 |
+
mpsum.I18N.automatic_theme_updates_description
|
9386 |
+
),
|
9387 |
+
_react2.default.createElement(
|
9388 |
+
'p',
|
9389 |
+
{ className: 'eum-status' },
|
9390 |
+
'default' == options.automatic_theme_updates && mpsum.I18N.automatic_theme_updates_default_status,
|
9391 |
+
'on' == options.automatic_theme_updates && mpsum.I18N.automatic_theme_updates_on_status,
|
9392 |
+
'off' == options.automatic_theme_updates && mpsum.I18N.automatic_theme_updates_off_status,
|
9393 |
+
'individual' == options.automatic_theme_updates && mpsum.I18N.automatic_theme_updates_individual_status
|
9394 |
+
),
|
9395 |
+
!this.state.loading && _react2.default.createElement(
|
9396 |
+
_react.Fragment,
|
9397 |
+
null,
|
9398 |
+
_react2.default.createElement(
|
9399 |
+
'div',
|
9400 |
+
{ 'class': 'toggle-wrapper' },
|
9401 |
+
_react2.default.createElement(
|
9402 |
+
'button',
|
9403 |
+
{
|
9404 |
+
'data-id': 'automatic-theme-updates-default',
|
9405 |
+
className: 'eum-toggle-button ' + ('default' == options.automatic_theme_updates ? 'eum-active' : ''),
|
9406 |
+
'aria-label': mpsum.I18N.default,
|
9407 |
+
onClick: this.onButtonClick,
|
9408 |
+
value: 'default'
|
9409 |
+
},
|
9410 |
+
mpsum.I18N.default
|
9411 |
+
),
|
9412 |
+
_react2.default.createElement(
|
9413 |
+
'button',
|
9414 |
+
{
|
9415 |
+
'data-id': 'automatic-theme-updates-on',
|
9416 |
+
className: 'eum-toggle-button ' + ('on' == options.automatic_theme_updates ? 'eum-active' : ''),
|
9417 |
+
'aria-label': mpsum.I18N.on,
|
9418 |
+
onClick: this.onButtonClick,
|
9419 |
+
value: 'on'
|
9420 |
+
},
|
9421 |
+
mpsum.I18N.on
|
9422 |
+
),
|
9423 |
+
_react2.default.createElement(
|
9424 |
+
'button',
|
9425 |
+
{
|
9426 |
+
'data-id': 'automatic-theme-updates-off',
|
9427 |
+
className: 'eum-toggle-button ' + ('off' == options.automatic_theme_updates ? 'eum-active' : ''),
|
9428 |
+
'aria-label': mpsum.I18N.off,
|
9429 |
+
onClick: this.onButtonClick,
|
9430 |
+
value: 'off'
|
9431 |
+
},
|
9432 |
+
mpsum.I18N.off
|
9433 |
+
),
|
9434 |
+
_react2.default.createElement(
|
9435 |
+
'button',
|
9436 |
+
{
|
9437 |
+
'data-id': 'automatic-theme-updates-individual',
|
9438 |
+
className: 'eum-toggle-button ' + ('individual' == options.automatic_theme_updates ? 'eum-active' : ''),
|
9439 |
+
'aria-label': mpsum.I18N.select_individually,
|
9440 |
+
onClick: this.onButtonClick,
|
9441 |
+
value: 'individual'
|
9442 |
+
},
|
9443 |
+
mpsum.I18N.select_individually
|
9444 |
+
)
|
9445 |
+
)
|
9446 |
+
),
|
9447 |
+
this.state.loading && _react2.default.createElement(_loading2.default, null)
|
9448 |
+
);
|
9449 |
+
}
|
9450 |
+
}]);
|
9451 |
+
return AutomaticUpdatesThemes;
|
9452 |
+
}(_react.Component);
|
9453 |
+
|
9454 |
+
function mapStateToProps(state) {
|
9455 |
+
return {
|
9456 |
+
options: state.options,
|
9457 |
+
saveOptions: state.saveOptions
|
9458 |
+
};
|
9459 |
+
}
|
9460 |
+
|
9461 |
+
exports.default = (0, _reactRedux.connect)(mapStateToProps, { saveOptions: _save_options.saveOptions })(AutomaticUpdatesThemes);
|
9462 |
+
|
9463 |
+
/***/ }),
|
9464 |
+
/* 200 */
|
9465 |
+
/***/ (function(module, exports, __webpack_require__) {
|
9466 |
+
|
9467 |
+
"use strict";
|
9468 |
+
|
9469 |
+
|
9470 |
+
Object.defineProperty(exports, "__esModule", {
|
9471 |
+
value: true
|
9472 |
+
});
|
9473 |
+
|
9474 |
+
var _getPrototypeOf = __webpack_require__(1);
|
9475 |
+
|
9476 |
+
var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
|
9477 |
+
|
9478 |
+
var _classCallCheck2 = __webpack_require__(2);
|
9479 |
+
|
9480 |
+
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
|
9481 |
+
|
9482 |
+
var _createClass2 = __webpack_require__(3);
|
9483 |
+
|
9484 |
+
var _createClass3 = _interopRequireDefault(_createClass2);
|
9485 |
+
|
9486 |
+
var _possibleConstructorReturn2 = __webpack_require__(4);
|
9487 |
+
|
9488 |
+
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
|
9489 |
+
|
9490 |
+
var _inherits2 = __webpack_require__(5);
|
9491 |
+
|
9492 |
+
var _inherits3 = _interopRequireDefault(_inherits2);
|
9493 |
+
|
9494 |
+
var _react = __webpack_require__(0);
|
9495 |
+
|
9496 |
+
var _react2 = _interopRequireDefault(_react);
|
9497 |
+
|
9498 |
+
var _loading = __webpack_require__(8);
|
9499 |
+
|
9500 |
+
var _loading2 = _interopRequireDefault(_loading);
|
9501 |
+
|
9502 |
+
var _save_options = __webpack_require__(6);
|
9503 |
+
|
9504 |
+
var _reactRedux = __webpack_require__(7);
|
9505 |
+
|
9506 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
9507 |
+
|
9508 |
+
var DisableUpdates = function (_Component) {
|
9509 |
+
(0, _inherits3.default)(DisableUpdates, _Component);
|
9510 |
+
|
9511 |
+
function DisableUpdates(props) {
|
9512 |
+
(0, _classCallCheck3.default)(this, DisableUpdates);
|
9513 |
+
|
9514 |
+
var _this = (0, _possibleConstructorReturn3.default)(this, (DisableUpdates.__proto__ || (0, _getPrototypeOf2.default)(DisableUpdates)).call(this, props));
|
9515 |
+
|
9516 |
+
_this.onButtonClick = function (event) {
|
9517 |
+
event.preventDefault();
|
9518 |
+
_this.setState({
|
9519 |
+
loading: true
|
9520 |
+
});
|
9521 |
+
|
9522 |
+
_this.props.saveOptions(event.target.getAttribute('data-id'), event.target.value);
|
9523 |
+
};
|
9524 |
+
|
9525 |
+
_this.state = {
|
9526 |
+
loading: false
|
9527 |
+
};
|
9528 |
+
return _this;
|
9529 |
+
}
|
9530 |
+
|
9531 |
+
(0, _createClass3.default)(DisableUpdates, [{
|
9532 |
+
key: 'componentWillReceiveProps',
|
9533 |
+
value: function componentWillReceiveProps() {
|
9534 |
+
this.setState({
|
9535 |
+
loading: false
|
9536 |
+
});
|
9537 |
+
}
|
9538 |
+
}, {
|
9539 |
+
key: 'render',
|
9540 |
+
value: function render() {
|
9541 |
+
var options = this.props.options;
|
9542 |
+
|
9543 |
+
return _react2.default.createElement(
|
9544 |
+
'div',
|
9545 |
+
{ className: 'eum-section' },
|
9546 |
+
_react2.default.createElement(
|
9547 |
+
'h3',
|
9548 |
+
null,
|
9549 |
+
mpsum.I18N.disable_updates
|
9550 |
+
),
|
9551 |
+
_react2.default.createElement(
|
9552 |
+
'p',
|
9553 |
+
{ className: 'eum-description' },
|
9554 |
+
mpsum.I18N.disable_updates_description
|
9555 |
+
),
|
9556 |
+
_react2.default.createElement(
|
9557 |
+
'p',
|
9558 |
+
{ className: 'eum-status' },
|
9559 |
+
'on' == options.all_updates ? mpsum.I18N.disable_updates_label_on_status : mpsum.I18N.disable_updates_label_off_status
|
9560 |
+
),
|
9561 |
+
!this.state.loading && _react2.default.createElement(
|
9562 |
+
'div',
|
9563 |
+
{ className: 'toggle-wrapper' },
|
9564 |
+
_react2.default.createElement(
|
9565 |
+
'button',
|
9566 |
+
{
|
9567 |
+
'data-id': 'disable-updates',
|
9568 |
+
className: 'eum-toggle-button ' + ('on' == options.all_updates ? 'eum-active' : ''),
|
9569 |
+
'aria-label': mpsum.I18N.disable_updates_label_on,
|
9570 |
+
onClick: this.onButtonClick,
|
9571 |
+
value: 'on'
|
9572 |
+
},
|
9573 |
+
mpsum.I18N.disable_updates_label_on
|
9574 |
+
),
|
9575 |
+
_react2.default.createElement(
|
9576 |
+
'button',
|
9577 |
+
{
|
9578 |
+
'data-id': 'disable-updates',
|
9579 |
+
className: 'eum-toggle-button ' + ('off' == options.all_updates ? 'eum-active' : ''),
|
9580 |
+
'aria-label': mpsum.I18N.disable_updates_label_off,
|
9581 |
+
onClick: this.onButtonClick,
|
9582 |
+
value: 'off'
|
9583 |
+
},
|
9584 |
+
mpsum.I18N.disable_updates_label_off
|
9585 |
+
)
|
9586 |
+
),
|
9587 |
+
this.state.loading && _react2.default.createElement(_loading2.default, null)
|
9588 |
+
);
|
9589 |
+
}
|
9590 |
+
}]);
|
9591 |
+
return DisableUpdates;
|
9592 |
+
}(_react.Component);
|
9593 |
+
|
9594 |
+
function mapStateToProps(state) {
|
9595 |
+
return {
|
9596 |
+
options: state.options,
|
9597 |
+
saveOptions: state.saveOptions
|
9598 |
+
};
|
9599 |
+
}
|
9600 |
+
|
9601 |
+
exports.default = (0, _reactRedux.connect)(mapStateToProps, { saveOptions: _save_options.saveOptions })(DisableUpdates);
|
9602 |
+
|
9603 |
+
/***/ }),
|
9604 |
+
/* 201 */
|
9605 |
+
/***/ (function(module, exports, __webpack_require__) {
|
9606 |
+
|
9607 |
+
"use strict";
|
9608 |
+
|
9609 |
+
|
9610 |
+
Object.defineProperty(exports, "__esModule", {
|
9611 |
+
value: true
|
9612 |
+
});
|
9613 |
+
|
9614 |
+
var _getPrototypeOf = __webpack_require__(1);
|
9615 |
+
|
9616 |
+
var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
|
9617 |
+
|
9618 |
+
var _classCallCheck2 = __webpack_require__(2);
|
9619 |
+
|
9620 |
+
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
|
9621 |
+
|
9622 |
+
var _createClass2 = __webpack_require__(3);
|
9623 |
+
|
9624 |
+
var _createClass3 = _interopRequireDefault(_createClass2);
|
9625 |
+
|
9626 |
+
var _possibleConstructorReturn2 = __webpack_require__(4);
|
9627 |
+
|
9628 |
+
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
|
9629 |
+
|
9630 |
+
var _inherits2 = __webpack_require__(5);
|
9631 |
+
|
9632 |
+
var _inherits3 = _interopRequireDefault(_inherits2);
|
9633 |
+
|
9634 |
+
var _react = __webpack_require__(0);
|
9635 |
+
|
9636 |
+
var _react2 = _interopRequireDefault(_react);
|
9637 |
+
|
9638 |
+
var _loading = __webpack_require__(8);
|
9639 |
+
|
9640 |
+
var _loading2 = _interopRequireDefault(_loading);
|
9641 |
+
|
9642 |
+
var _save_options = __webpack_require__(6);
|
9643 |
+
|
9644 |
+
var _reactRedux = __webpack_require__(7);
|
9645 |
+
|
9646 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
9647 |
+
|
9648 |
+
var Logs = function (_Component) {
|
9649 |
+
(0, _inherits3.default)(Logs, _Component);
|
9650 |
+
|
9651 |
+
function Logs(props) {
|
9652 |
+
(0, _classCallCheck3.default)(this, Logs);
|
9653 |
+
|
9654 |
+
var _this = (0, _possibleConstructorReturn3.default)(this, (Logs.__proto__ || (0, _getPrototypeOf2.default)(Logs)).call(this, props));
|
9655 |
+
|
9656 |
+
_this.onButtonClick = function (event) {
|
9657 |
+
event.preventDefault();
|
9658 |
+
_this.setState({
|
9659 |
+
loading: true
|
9660 |
+
});
|
9661 |
+
|
9662 |
+
_this.props.saveOptions(event.target.getAttribute('data-id'), event.target.value);
|
9663 |
+
};
|
9664 |
+
|
9665 |
+
_this.state = {
|
9666 |
+
loading: false,
|
9667 |
+
checked: 'off'
|
9668 |
+
};
|
9669 |
+
return _this;
|
9670 |
+
}
|
9671 |
+
|
9672 |
+
(0, _createClass3.default)(Logs, [{
|
9673 |
+
key: 'componentWillReceiveProps',
|
9674 |
+
value: function componentWillReceiveProps() {
|
9675 |
+
this.setState({
|
9676 |
+
loading: false
|
9677 |
+
});
|
9678 |
+
}
|
9679 |
+
}, {
|
9680 |
+
key: 'render',
|
9681 |
+
value: function render() {
|
9682 |
+
var options = this.props.options;
|
9683 |
+
|
9684 |
+
return _react2.default.createElement(
|
9685 |
+
'div',
|
9686 |
+
{ className: 'eum-section' },
|
9687 |
+
_react2.default.createElement(
|
9688 |
+
'h3',
|
9689 |
+
null,
|
9690 |
+
mpsum.I18N.logs
|
9691 |
+
),
|
9692 |
+
_react2.default.createElement(
|
9693 |
+
'p',
|
9694 |
+
{ className: 'eum-description' },
|
9695 |
+
mpsum.I18N.logs_description
|
9696 |
+
),
|
9697 |
+
_react2.default.createElement(
|
9698 |
+
'p',
|
9699 |
+
{ className: 'eum-status' },
|
9700 |
+
'on' == options.logs ? mpsum.I18N.logs_label_on_status : mpsum.I18N.logs_label_off_status
|
9701 |
+
),
|
9702 |
+
!this.state.loading && _react2.default.createElement(
|
9703 |
+
'div',
|
9704 |
+
{ className: 'toggle-wrapper' },
|
9705 |
+
_react2.default.createElement(
|
9706 |
+
'button',
|
9707 |
+
{
|
9708 |
+
'data-id': 'logs',
|
9709 |
+
className: 'eum-toggle-button ' + ('on' == options.logs ? 'eum-active' : ''),
|
9710 |
+
'aria-label': mpsum.I18N.logs_label_on,
|
9711 |
+
onClick: this.onButtonClick,
|
9712 |
+
value: 'on'
|
9713 |
+
},
|
9714 |
+
mpsum.I18N.logs_label_on
|
9715 |
+
),
|
9716 |
+
_react2.default.createElement(
|
9717 |
+
'button',
|
9718 |
+
{
|
9719 |
+
'data-id': 'logs',
|
9720 |
+
className: 'eum-toggle-button ' + ('off' == options.logs ? 'eum-active' : ''),
|
9721 |
+
'aria-label': mpsum.I18N.logs_label_off,
|
9722 |
+
onClick: this.onButtonClick,
|
9723 |
+
value: 'off'
|
9724 |
+
},
|
9725 |
+
mpsum.I18N.logs_label_off
|
9726 |
+
)
|
9727 |
+
),
|
9728 |
+
this.state.loading && _react2.default.createElement(_loading2.default, null)
|
9729 |
+
);
|
9730 |
+
}
|
9731 |
+
}]);
|
9732 |
+
return Logs;
|
9733 |
+
}(_react.Component);
|
9734 |
+
|
9735 |
+
function mapStateToProps(state) {
|
9736 |
+
return {
|
9737 |
+
options: state.options,
|
9738 |
+
saveOptions: state.saveOptions
|
9739 |
+
};
|
9740 |
+
}
|
9741 |
+
|
9742 |
+
exports.default = (0, _reactRedux.connect)(mapStateToProps, { saveOptions: _save_options.saveOptions })(Logs);
|
9743 |
+
|
9744 |
+
/***/ }),
|
9745 |
+
/* 202 */
|
9746 |
+
/***/ (function(module, exports, __webpack_require__) {
|
9747 |
+
|
9748 |
+
"use strict";
|
9749 |
+
|
9750 |
+
|
9751 |
+
Object.defineProperty(exports, "__esModule", {
|
9752 |
+
value: true
|
9753 |
+
});
|
9754 |
+
|
9755 |
+
var _getPrototypeOf = __webpack_require__(1);
|
9756 |
+
|
9757 |
+
var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
|
9758 |
+
|
9759 |
+
var _classCallCheck2 = __webpack_require__(2);
|
9760 |
+
|
9761 |
+
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
|
9762 |
+
|
9763 |
+
var _createClass2 = __webpack_require__(3);
|
9764 |
+
|
9765 |
+
var _createClass3 = _interopRequireDefault(_createClass2);
|
9766 |
+
|
9767 |
+
var _possibleConstructorReturn2 = __webpack_require__(4);
|
9768 |
+
|
9769 |
+
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
|
9770 |
+
|
9771 |
+
var _inherits2 = __webpack_require__(5);
|
9772 |
+
|
9773 |
+
var _inherits3 = _interopRequireDefault(_inherits2);
|
9774 |
+
|
9775 |
+
var _react = __webpack_require__(0);
|
9776 |
+
|
9777 |
+
var _react2 = _interopRequireDefault(_react);
|
9778 |
+
|
9779 |
+
var _loading = __webpack_require__(8);
|
9780 |
+
|
9781 |
+
var _loading2 = _interopRequireDefault(_loading);
|
9782 |
+
|
9783 |
+
var _save_options = __webpack_require__(6);
|
9784 |
+
|
9785 |
+
var _reactRedux = __webpack_require__(7);
|
9786 |
+
|
9787 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
9788 |
+
|
9789 |
+
var BrowserNag = function (_Component) {
|
9790 |
+
(0, _inherits3.default)(BrowserNag, _Component);
|
9791 |
+
|
9792 |
+
function BrowserNag(props) {
|
9793 |
+
(0, _classCallCheck3.default)(this, BrowserNag);
|
9794 |
+
|
9795 |
+
var _this = (0, _possibleConstructorReturn3.default)(this, (BrowserNag.__proto__ || (0, _getPrototypeOf2.default)(BrowserNag)).call(this, props));
|
9796 |
+
|
9797 |
+
_this.onButtonClick = function (event) {
|
9798 |
+
event.preventDefault();
|
9799 |
+
_this.setState({
|
9800 |
+
loading: true
|
9801 |
+
});
|
9802 |
+
|
9803 |
+
_this.props.saveOptions(event.target.getAttribute('data-id'), event.target.value);
|
9804 |
+
};
|
9805 |
+
|
9806 |
+
_this.state = {
|
9807 |
+
loading: false,
|
9808 |
+
checked: 'off'
|
9809 |
+
};
|
9810 |
+
return _this;
|
9811 |
+
}
|
9812 |
+
|
9813 |
+
(0, _createClass3.default)(BrowserNag, [{
|
9814 |
+
key: 'componentWillReceiveProps',
|
9815 |
+
value: function componentWillReceiveProps() {
|
9816 |
+
this.setState({
|
9817 |
+
loading: false
|
9818 |
+
});
|
9819 |
+
}
|
9820 |
+
}, {
|
9821 |
+
key: 'render',
|
9822 |
+
value: function render() {
|
9823 |
+
var options = this.props.options;
|
9824 |
+
|
9825 |
+
return _react2.default.createElement(
|
9826 |
+
'div',
|
9827 |
+
{ className: 'eum-section' },
|
9828 |
+
_react2.default.createElement(
|
9829 |
+
'h3',
|
9830 |
+
null,
|
9831 |
+
mpsum.I18N.browser_nag
|
9832 |
+
),
|
9833 |
+
_react2.default.createElement(
|
9834 |
+
'p',
|
9835 |
+
{ className: 'eum-description' },
|
9836 |
+
mpsum.I18N.browser_nag_description
|
9837 |
+
),
|
9838 |
+
_react2.default.createElement(
|
9839 |
+
'p',
|
9840 |
+
{ className: 'eum-status' },
|
9841 |
+
'on' == options.misc_browser_nag ? mpsum.I18N.browser_nag_label_on_status : mpsum.I18N.browser_nag_label_off_status
|
9842 |
+
),
|
9843 |
+
!this.state.loading && _react2.default.createElement(
|
9844 |
+
'div',
|
9845 |
+
{ className: 'toggle-wrapper' },
|
9846 |
+
_react2.default.createElement(
|
9847 |
+
'button',
|
9848 |
+
{
|
9849 |
+
'data-id': 'browser-nag',
|
9850 |
+
className: 'eum-toggle-button ' + ('on' == options.misc_browser_nag ? 'eum-active' : ''),
|
9851 |
+
'aria-label': mpsum.I18N.browser_nag_label_on,
|
9852 |
+
onClick: this.onButtonClick,
|
9853 |
+
value: 'on'
|
9854 |
+
},
|
9855 |
+
mpsum.I18N.browser_nag_label_on
|
9856 |
+
),
|
9857 |
+
_react2.default.createElement(
|
9858 |
+
'button',
|
9859 |
+
{
|
9860 |
+
'data-id': 'browser-nag',
|
9861 |
+
className: 'eum-toggle-button ' + ('off' == options.misc_browser_nag ? 'eum-active' : ''),
|
9862 |
+
'aria-label': mpsum.I18N.browser_nag_label_off,
|
9863 |
+
onClick: this.onButtonClick,
|
9864 |
+
value: 'off'
|
9865 |
+
},
|
9866 |
+
mpsum.I18N.browser_nag_label_off
|
9867 |
+
)
|
9868 |
+
),
|
9869 |
+
this.state.loading && _react2.default.createElement(_loading2.default, null)
|
9870 |
+
);
|
9871 |
+
}
|
9872 |
+
}]);
|
9873 |
+
return BrowserNag;
|
9874 |
+
}(_react.Component);
|
9875 |
+
|
9876 |
+
function mapStateToProps(state) {
|
9877 |
+
return {
|
9878 |
+
options: state.options,
|
9879 |
+
saveOptions: state.saveOptions
|
9880 |
+
};
|
9881 |
+
}
|
9882 |
+
|
9883 |
+
exports.default = (0, _reactRedux.connect)(mapStateToProps, { saveOptions: _save_options.saveOptions })(BrowserNag);
|
9884 |
+
|
9885 |
+
/***/ }),
|
9886 |
+
/* 203 */
|
9887 |
+
/***/ (function(module, exports, __webpack_require__) {
|
9888 |
+
|
9889 |
+
"use strict";
|
9890 |
+
|
9891 |
+
|
9892 |
+
Object.defineProperty(exports, "__esModule", {
|
9893 |
+
value: true
|
9894 |
+
});
|
9895 |
+
|
9896 |
+
var _getPrototypeOf = __webpack_require__(1);
|
9897 |
+
|
9898 |
+
var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
|
9899 |
+
|
9900 |
+
var _classCallCheck2 = __webpack_require__(2);
|
9901 |
+
|
9902 |
+
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
|
9903 |
+
|
9904 |
+
var _createClass2 = __webpack_require__(3);
|
9905 |
+
|
9906 |
+
var _createClass3 = _interopRequireDefault(_createClass2);
|
9907 |
+
|
9908 |
+
var _possibleConstructorReturn2 = __webpack_require__(4);
|
9909 |
+
|
9910 |
+
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
|
9911 |
+
|
9912 |
+
var _inherits2 = __webpack_require__(5);
|
9913 |
+
|
9914 |
+
var _inherits3 = _interopRequireDefault(_inherits2);
|
9915 |
+
|
9916 |
+
var _react = __webpack_require__(0);
|
9917 |
+
|
9918 |
+
var _react2 = _interopRequireDefault(_react);
|
9919 |
+
|
9920 |
+
var _loading = __webpack_require__(8);
|
9921 |
+
|
9922 |
+
var _loading2 = _interopRequireDefault(_loading);
|
9923 |
+
|
9924 |
+
var _save_options = __webpack_require__(6);
|
9925 |
+
|
9926 |
+
var _reactRedux = __webpack_require__(7);
|
9927 |
+
|
9928 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
9929 |
+
|
9930 |
+
var VersionFooter = function (_Component) {
|
9931 |
+
(0, _inherits3.default)(VersionFooter, _Component);
|
9932 |
+
|
9933 |
+
function VersionFooter(props) {
|
9934 |
+
(0, _classCallCheck3.default)(this, VersionFooter);
|
9935 |
+
|
9936 |
+
var _this = (0, _possibleConstructorReturn3.default)(this, (VersionFooter.__proto__ || (0, _getPrototypeOf2.default)(VersionFooter)).call(this, props));
|
9937 |
+
|
9938 |
+
_this.onButtonClick = function (event) {
|
9939 |
+
event.preventDefault();
|
9940 |
+
_this.setState({
|
9941 |
+
loading: true
|
9942 |
+
});
|
9943 |
+
|
9944 |
+
_this.props.saveOptions(event.target.getAttribute('data-id'), event.target.value);
|
9945 |
+
};
|
9946 |
+
|
9947 |
+
_this.state = {
|
9948 |
+
loading: false,
|
9949 |
+
checked: 'off'
|
9950 |
+
};
|
9951 |
+
return _this;
|
9952 |
+
}
|
9953 |
+
|
9954 |
+
(0, _createClass3.default)(VersionFooter, [{
|
9955 |
+
key: 'componentWillReceiveProps',
|
9956 |
+
value: function componentWillReceiveProps() {
|
9957 |
+
this.setState({
|
9958 |
+
loading: false
|
9959 |
+
});
|
9960 |
+
}
|
9961 |
+
}, {
|
9962 |
+
key: 'render',
|
9963 |
+
value: function render() {
|
9964 |
+
var options = this.props.options;
|
9965 |
+
|
9966 |
+
return _react2.default.createElement(
|
9967 |
+
'div',
|
9968 |
+
{ className: 'eum-section' },
|
9969 |
+
_react2.default.createElement(
|
9970 |
+
'h3',
|
9971 |
+
null,
|
9972 |
+
mpsum.I18N.version_footer
|
9973 |
+
),
|
9974 |
+
_react2.default.createElement(
|
9975 |
+
'p',
|
9976 |
+
{ className: 'eum-description' },
|
9977 |
+
mpsum.I18N.version_footer_description
|
9978 |
+
),
|
9979 |
+
_react2.default.createElement(
|
9980 |
+
'p',
|
9981 |
+
{ className: 'eum-status' },
|
9982 |
+
'on' == options.misc_wp_footer ? mpsum.I18N.version_footer_label_on_status : mpsum.I18N.version_footer_label_off_status
|
9983 |
+
),
|
9984 |
+
!this.state.loading && _react2.default.createElement(
|
9985 |
+
'div',
|
9986 |
+
{ className: 'toggle-wrapper' },
|
9987 |
+
_react2.default.createElement(
|
9988 |
+
'button',
|
9989 |
+
{
|
9990 |
+
'data-id': 'version-footer',
|
9991 |
+
className: 'eum-toggle-button ' + ('on' == options.misc_wp_footer ? 'eum-active' : ''),
|
9992 |
+
'aria-label': mpsum.I18N.version_footer_label_on,
|
9993 |
+
onClick: this.onButtonClick,
|
9994 |
+
value: 'on'
|
9995 |
+
},
|
9996 |
+
mpsum.I18N.version_footer_label_on
|
9997 |
+
),
|
9998 |
+
_react2.default.createElement(
|
9999 |
+
'button',
|
10000 |
+
{
|
10001 |
+
'data-id': 'version-footer',
|
10002 |
+
className: 'eum-toggle-button ' + ('off' == options.misc_wp_footer ? 'eum-active' : ''),
|
10003 |
+
'aria-label': mpsum.I18N.version_footer_label_off,
|
10004 |
+
onClick: this.onButtonClick,
|
10005 |
+
value: 'off'
|
10006 |
+
},
|
10007 |
+
mpsum.I18N.version_footer_label_off
|
10008 |
+
)
|
10009 |
+
),
|
10010 |
+
this.state.loading && _react2.default.createElement(_loading2.default, null)
|
10011 |
+
);
|
10012 |
+
}
|
10013 |
+
}]);
|
10014 |
+
return VersionFooter;
|
10015 |
+
}(_react.Component);
|
10016 |
+
|
10017 |
+
function mapStateToProps(state) {
|
10018 |
+
return {
|
10019 |
+
options: state.options,
|
10020 |
+
saveOptions: state.saveOptions
|
10021 |
+
};
|
10022 |
+
}
|
10023 |
+
|
10024 |
+
exports.default = (0, _reactRedux.connect)(mapStateToProps, { saveOptions: _save_options.saveOptions })(VersionFooter);
|
10025 |
+
|
10026 |
+
/***/ }),
|
10027 |
+
/* 204 */
|
10028 |
+
/***/ (function(module, exports, __webpack_require__) {
|
10029 |
+
|
10030 |
+
"use strict";
|
10031 |
+
|
10032 |
+
|
10033 |
+
Object.defineProperty(exports, "__esModule", {
|
10034 |
+
value: true
|
10035 |
+
});
|
10036 |
+
|
10037 |
+
var _getPrototypeOf = __webpack_require__(1);
|
10038 |
+
|
10039 |
+
var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
|
10040 |
+
|
10041 |
+
var _classCallCheck2 = __webpack_require__(2);
|
10042 |
+
|
10043 |
+
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
|
10044 |
+
|
10045 |
+
var _createClass2 = __webpack_require__(3);
|
10046 |
+
|
10047 |
+
var _createClass3 = _interopRequireDefault(_createClass2);
|
10048 |
+
|
10049 |
+
var _possibleConstructorReturn2 = __webpack_require__(4);
|
10050 |
+
|
10051 |
+
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
|
10052 |
+
|
10053 |
+
var _inherits2 = __webpack_require__(5);
|
10054 |
+
|
10055 |
+
var _inherits3 = _interopRequireDefault(_inherits2);
|
10056 |
+
|
10057 |
+
var _react = __webpack_require__(0);
|
10058 |
+
|
10059 |
+
var _react2 = _interopRequireDefault(_react);
|
10060 |
+
|
10061 |
+
var _loading = __webpack_require__(8);
|
10062 |
+
|
10063 |
+
var _loading2 = _interopRequireDefault(_loading);
|
10064 |
+
|
10065 |
+
var _save_options = __webpack_require__(6);
|
10066 |
+
|
10067 |
+
var _reactRedux = __webpack_require__(7);
|
10068 |
+
|
10069 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
10070 |
+
|
10071 |
+
var Emails = function (_Component) {
|
10072 |
+
(0, _inherits3.default)(Emails, _Component);
|
10073 |
+
|
10074 |
+
function Emails(props) {
|
10075 |
+
(0, _classCallCheck3.default)(this, Emails);
|
10076 |
+
|
10077 |
+
var _this = (0, _possibleConstructorReturn3.default)(this, (Emails.__proto__ || (0, _getPrototypeOf2.default)(Emails)).call(this, props));
|
10078 |
+
|
10079 |
+
_this.onButtonClick = function (event) {
|
10080 |
+
event.preventDefault();
|
10081 |
+
_this.setState({
|
10082 |
+
loading: true
|
10083 |
+
});
|
10084 |
+
|
10085 |
+
_this.props.saveOptions(event.target.getAttribute('data-id'), event.target.value);
|
10086 |
+
};
|
10087 |
+
|
10088 |
+
_this.onInputChangeEmails = function (event) {
|
10089 |
+
event.preventDefault();
|
10090 |
+
_this.setState({
|
10091 |
+
emails: event.target.value
|
10092 |
+
});
|
10093 |
+
};
|
10094 |
+
|
10095 |
+
_this.handleEmailSave = function (event) {
|
10096 |
+
_this.setState({
|
10097 |
+
saving: true
|
10098 |
+
});
|
10099 |
+
|
10100 |
+
var emails = '';
|
10101 |
+
|
10102 |
+
if (!_this.state.emails) {
|
10103 |
+
emails = 'unset';
|
10104 |
+
} else {
|
10105 |
+
emails = _this.state.emails;
|
10106 |
+
}
|
10107 |
+
|
10108 |
+
_this.props.saveOptions('notification-emails', emails);
|
10109 |
+
};
|
10110 |
+
|
10111 |
+
_this.state = {
|
10112 |
+
loading: false,
|
10113 |
+
checked: 'off',
|
10114 |
+
emails: props.options.email_addresses,
|
10115 |
+
errors: false,
|
10116 |
+
saving: false
|
10117 |
+
};
|
10118 |
+
return _this;
|
10119 |
+
}
|
10120 |
+
|
10121 |
+
(0, _createClass3.default)(Emails, [{
|
10122 |
+
key: 'componentWillReceiveProps',
|
10123 |
+
value: function componentWillReceiveProps(newProps) {
|
10124 |
+
var _this2 = this;
|
10125 |
+
|
10126 |
+
this.setState({
|
10127 |
+
loading: false,
|
10128 |
+
saving: false,
|
10129 |
+
emails: newProps.options.email_addresses,
|
10130 |
+
errors: newProps.options.errors
|
10131 |
+
});
|
10132 |
+
setTimeout(function () {
|
10133 |
+
_this2.setState({
|
10134 |
+
errors: false
|
10135 |
+
});
|
10136 |
+
}, 3000);
|
10137 |
+
}
|
10138 |
+
}, {
|
10139 |
+
key: 'render',
|
10140 |
+
value: function render() {
|
10141 |
+
var options = this.props.options;
|
10142 |
+
|
10143 |
+
return _react2.default.createElement(
|
10144 |
+
'div',
|
10145 |
+
{ className: 'eum-section' },
|
10146 |
+
_react2.default.createElement(
|
10147 |
+
'h3',
|
10148 |
+
null,
|
10149 |
+
mpsum.I18N.emails
|
10150 |
+
),
|
10151 |
+
_react2.default.createElement(
|
10152 |
+
'p',
|
10153 |
+
{ className: 'eum-description' },
|
10154 |
+
mpsum.I18N.emails_description
|
10155 |
+
),
|
10156 |
+
_react2.default.createElement(
|
10157 |
+
'p',
|
10158 |
+
{ className: 'eum-status' },
|
10159 |
+
'on' == options.notification_core_update_emails ? mpsum.I18N.emails_label_on_status : mpsum.I18N.emails_label_off_status
|
10160 |
+
),
|
10161 |
+
!this.state.loading && _react2.default.createElement(
|
10162 |
+
'div',
|
10163 |
+
{ className: 'toggle-wrapper' },
|
10164 |
+
_react2.default.createElement(
|
10165 |
+
'button',
|
10166 |
+
{
|
10167 |
+
'data-id': 'email-notifications',
|
10168 |
+
className: 'eum-toggle-button ' + ('on' == options.notification_core_update_emails ? 'eum-active' : ''),
|
10169 |
+
'aria-label': mpsum.I18N.emails_label_on,
|
10170 |
+
onClick: this.onButtonClick,
|
10171 |
+
value: 'on'
|
10172 |
+
},
|
10173 |
+
mpsum.I18N.emails_label_on
|
10174 |
+
),
|
10175 |
+
_react2.default.createElement(
|
10176 |
+
'button',
|
10177 |
+
{
|
10178 |
+
'data-id': 'email-notifications',
|
10179 |
+
className: 'eum-toggle-button ' + ('off' == options.notification_core_update_emails ? 'eum-active' : ''),
|
10180 |
+
'aria-label': mpsum.I18N.emails_label_off,
|
10181 |
+
onClick: this.onButtonClick,
|
10182 |
+
value: 'off'
|
10183 |
+
},
|
10184 |
+
mpsum.I18N.emails_label_off
|
10185 |
+
)
|
10186 |
+
),
|
10187 |
+
this.state.loading && _react2.default.createElement(_loading2.default, null),
|
10188 |
+
'on' == options.notification_core_update_emails && _react2.default.createElement(
|
10189 |
+
_react.Fragment,
|
10190 |
+
null,
|
10191 |
+
_react2.default.createElement(
|
10192 |
+
'p',
|
10193 |
+
null,
|
10194 |
+
_react2.default.createElement(
|
10195 |
+
'label',
|
10196 |
+
{ htmlFor: 'notification-emails', className: 'eum-input-label' },
|
10197 |
+
mpsum.I18N.emails_input_label
|
10198 |
+
)
|
10199 |
+
),
|
10200 |
+
_react2.default.createElement('input', {
|
10201 |
+
id: 'notification-emails',
|
10202 |
+
className: 'eum-input-email',
|
10203 |
+
type: 'email',
|
10204 |
+
placeholder: mpsum.I18N.emails_placeholder,
|
10205 |
+
onChange: this.onInputChangeEmails,
|
10206 |
+
value: this.state.emails
|
10207 |
+
}),
|
10208 |
+
_react2.default.createElement(
|
10209 |
+
'div',
|
10210 |
+
null,
|
10211 |
+
_react2.default.createElement(
|
10212 |
+
'button',
|
10213 |
+
{
|
10214 |
+
disabled: this.state.saving ? true : false, className: 'eum-save button button-primary',
|
10215 |
+
onClick: this.handleEmailSave
|
10216 |
+
},
|
10217 |
+
this.state.saving ? mpsum.I18N.emails_saving : mpsum.I18N.emails_save
|
10218 |
+
)
|
10219 |
+
),
|
10220 |
+
this.state.errors && _react2.default.createElement(
|
10221 |
+
_react.Fragment,
|
10222 |
+
null,
|
10223 |
+
_react2.default.createElement(
|
10224 |
+
'div',
|
10225 |
+
{ className: 'mpsum-error' },
|
10226 |
+
_react2.default.createElement(
|
10227 |
+
'p',
|
10228 |
+
null,
|
10229 |
+
mpsum.I18N.emails_invalid
|
10230 |
+
)
|
10231 |
+
)
|
10232 |
+
)
|
10233 |
+
)
|
10234 |
+
);
|
10235 |
+
}
|
10236 |
+
}]);
|
10237 |
+
return Emails;
|
10238 |
+
}(_react.Component);
|
10239 |
+
|
10240 |
+
function mapStateToProps(state) {
|
10241 |
+
return {
|
10242 |
+
options: state.options,
|
10243 |
+
saveOptions: state.saveOptions
|
10244 |
+
};
|
10245 |
+
}
|
10246 |
+
|
10247 |
+
exports.default = (0, _reactRedux.connect)(mapStateToProps, { saveOptions: _save_options.saveOptions })(Emails);
|
10248 |
+
|
10249 |
+
/***/ }),
|
10250 |
+
/* 205 */
|
10251 |
+
/***/ (function(module, exports, __webpack_require__) {
|
10252 |
+
|
10253 |
+
"use strict";
|
10254 |
+
|
10255 |
+
|
10256 |
+
Object.defineProperty(exports, "__esModule", {
|
10257 |
+
value: true
|
10258 |
+
});
|
10259 |
+
|
10260 |
+
var _getPrototypeOf = __webpack_require__(1);
|
10261 |
+
|
10262 |
+
var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
|
10263 |
+
|
10264 |
+
var _classCallCheck2 = __webpack_require__(2);
|
10265 |
+
|
10266 |
+
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
|
10267 |
+
|
10268 |
+
var _createClass2 = __webpack_require__(3);
|
10269 |
+
|
10270 |
+
var _createClass3 = _interopRequireDefault(_createClass2);
|
10271 |
+
|
10272 |
+
var _possibleConstructorReturn2 = __webpack_require__(4);
|
10273 |
+
|
10274 |
+
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
|
10275 |
+
|
10276 |
+
var _inherits2 = __webpack_require__(5);
|
10277 |
+
|
10278 |
+
var _inherits3 = _interopRequireDefault(_inherits2);
|
10279 |
+
|
10280 |
+
var _react = __webpack_require__(0);
|
10281 |
+
|
10282 |
+
var _react2 = _interopRequireDefault(_react);
|
10283 |
+
|
10284 |
+
var _loading = __webpack_require__(8);
|
10285 |
+
|
10286 |
+
var _loading2 = _interopRequireDefault(_loading);
|
10287 |
+
|
10288 |
+
var _save_options = __webpack_require__(6);
|
10289 |
+
|
10290 |
+
var _reactRedux = __webpack_require__(7);
|
10291 |
+
|
10292 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
10293 |
+
|
10294 |
+
var CoreUpdates = function (_Component) {
|
10295 |
+
(0, _inherits3.default)(CoreUpdates, _Component);
|
10296 |
+
|
10297 |
+
function CoreUpdates(props) {
|
10298 |
+
(0, _classCallCheck3.default)(this, CoreUpdates);
|
10299 |
+
|
10300 |
+
var _this = (0, _possibleConstructorReturn3.default)(this, (CoreUpdates.__proto__ || (0, _getPrototypeOf2.default)(CoreUpdates)).call(this, props));
|
10301 |
+
|
10302 |
+
_this.onButtonClick = function (event) {
|
10303 |
+
event.preventDefault();
|
10304 |
+
_this.setState({
|
10305 |
+
loading: true
|
10306 |
+
});
|
10307 |
+
|
10308 |
+
_this.props.saveOptions(event.target.getAttribute('data-id'), event.target.value);
|
10309 |
+
};
|
10310 |
+
|
10311 |
+
_this.state = {
|
10312 |
+
loading: false
|
10313 |
+
};
|
10314 |
+
return _this;
|
10315 |
+
}
|
10316 |
+
|
10317 |
+
(0, _createClass3.default)(CoreUpdates, [{
|
10318 |
+
key: 'componentWillReceiveProps',
|
10319 |
+
value: function componentWillReceiveProps() {
|
10320 |
+
this.setState({
|
10321 |
+
loading: false
|
10322 |
+
});
|
10323 |
+
}
|
10324 |
+
}, {
|
10325 |
+
key: 'render',
|
10326 |
+
value: function render() {
|
10327 |
+
var options = this.props.options;
|
10328 |
+
|
10329 |
+
return _react2.default.createElement(
|
10330 |
+
'div',
|
10331 |
+
{ className: 'eum-section' },
|
10332 |
+
_react2.default.createElement(
|
10333 |
+
'h3',
|
10334 |
+
null,
|
10335 |
+
mpsum.I18N.core_updates
|
10336 |
+
),
|
10337 |
+
_react2.default.createElement(
|
10338 |
+
'p',
|
10339 |
+
{ className: 'eum-description' },
|
10340 |
+
mpsum.I18N.core_updates_description
|
10341 |
+
),
|
10342 |
+
_react2.default.createElement(
|
10343 |
+
'p',
|
10344 |
+
{ className: 'eum-status' },
|
10345 |
+
'on' == options.core_updates ? mpsum.I18N.core_updates_label_on_status : mpsum.I18N.core_updates_label_off_status
|
10346 |
+
),
|
10347 |
+
!this.state.loading && _react2.default.createElement(
|
10348 |
+
'div',
|
10349 |
+
{ className: 'toggle-wrapper' },
|
10350 |
+
_react2.default.createElement(
|
10351 |
+
'button',
|
10352 |
+
{
|
10353 |
+
'data-id': 'core-updates',
|
10354 |
+
className: 'eum-toggle-button ' + ('on' == options.core_updates ? 'eum-active' : ''),
|
10355 |
+
'aria-label': mpsum.I18N.core_updates_label_on,
|
10356 |
+
onClick: this.onButtonClick,
|
10357 |
+
value: 'on'
|
10358 |
+
},
|
10359 |
+
mpsum.I18N.core_updates_label_on
|
10360 |
+
),
|
10361 |
+
_react2.default.createElement(
|
10362 |
+
'button',
|
10363 |
+
{
|
10364 |
+
'data-id': 'core-updates',
|
10365 |
+
className: 'eum-toggle-button ' + ('off' == options.core_updates ? 'eum-active' : ''),
|
10366 |
+
'aria-label': mpsum.I18N.core_updates_label_off,
|
10367 |
+
onClick: this.onButtonClick,
|
10368 |
+
value: 'off'
|
10369 |
+
},
|
10370 |
+
mpsum.I18N.core_updates_label_off
|
10371 |
+
)
|
10372 |
+
),
|
10373 |
+
this.state.loading && _react2.default.createElement(_loading2.default, null)
|
10374 |
+
);
|
10375 |
+
}
|
10376 |
+
}]);
|
10377 |
+
return CoreUpdates;
|
10378 |
+
}(_react.Component);
|
10379 |
+
|
10380 |
+
function mapStateToProps(state) {
|
10381 |
+
return {
|
10382 |
+
options: state.options,
|
10383 |
+
saveOptions: state.saveOptions
|
10384 |
+
};
|
10385 |
+
}
|
10386 |
+
|
10387 |
+
exports.default = (0, _reactRedux.connect)(mapStateToProps, { saveOptions: _save_options.saveOptions })(CoreUpdates);
|
10388 |
+
|
10389 |
+
/***/ }),
|
10390 |
+
/* 206 */
|
10391 |
+
/***/ (function(module, exports, __webpack_require__) {
|
10392 |
+
|
10393 |
+
"use strict";
|
10394 |
+
|
10395 |
+
|
10396 |
+
Object.defineProperty(exports, "__esModule", {
|
10397 |
+
value: true
|
10398 |
+
});
|
10399 |
+
|
10400 |
+
var _getPrototypeOf = __webpack_require__(1);
|
10401 |
+
|
10402 |
+
var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
|
10403 |
+
|
10404 |
+
var _classCallCheck2 = __webpack_require__(2);
|
10405 |
+
|
10406 |
+
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
|
10407 |
+
|
10408 |
+
var _createClass2 = __webpack_require__(3);
|
10409 |
+
|
10410 |
+
var _createClass3 = _interopRequireDefault(_createClass2);
|
10411 |
+
|
10412 |
+
var _possibleConstructorReturn2 = __webpack_require__(4);
|
10413 |
+
|
10414 |
+
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
|
10415 |
+
|
10416 |
+
var _inherits2 = __webpack_require__(5);
|
10417 |
+
|
10418 |
+
var _inherits3 = _interopRequireDefault(_inherits2);
|
10419 |
+
|
10420 |
+
var _react = __webpack_require__(0);
|
10421 |
+
|
10422 |
+
var _react2 = _interopRequireDefault(_react);
|
10423 |
+
|
10424 |
+
var _loading = __webpack_require__(8);
|
10425 |
+
|
10426 |
+
var _loading2 = _interopRequireDefault(_loading);
|
10427 |
+
|
10428 |
+
var _save_options = __webpack_require__(6);
|
10429 |
+
|
10430 |
+
var _reactRedux = __webpack_require__(7);
|
10431 |
+
|
10432 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
10433 |
+
|
10434 |
+
var PluginUpdates = function (_Component) {
|
10435 |
+
(0, _inherits3.default)(PluginUpdates, _Component);
|
10436 |
+
|
10437 |
+
function PluginUpdates(props) {
|
10438 |
+
(0, _classCallCheck3.default)(this, PluginUpdates);
|
10439 |
+
|
10440 |
+
var _this = (0, _possibleConstructorReturn3.default)(this, (PluginUpdates.__proto__ || (0, _getPrototypeOf2.default)(PluginUpdates)).call(this, props));
|
10441 |
+
|
10442 |
+
_this.onButtonClick = function (event) {
|
10443 |
+
event.preventDefault();
|
10444 |
+
_this.setState({
|
10445 |
+
loading: true
|
10446 |
+
});
|
10447 |
+
|
10448 |
+
_this.props.saveOptions(event.target.getAttribute('data-id'), event.target.value);
|
10449 |
+
};
|
10450 |
+
|
10451 |
+
_this.state = {
|
10452 |
+
loading: false
|
10453 |
+
};
|
10454 |
+
return _this;
|
10455 |
+
}
|
10456 |
+
|
10457 |
+
(0, _createClass3.default)(PluginUpdates, [{
|
10458 |
+
key: 'componentWillReceiveProps',
|
10459 |
+
value: function componentWillReceiveProps() {
|
10460 |
+
this.setState({
|
10461 |
+
loading: false
|
10462 |
+
});
|
10463 |
+
}
|
10464 |
+
}, {
|
10465 |
+
key: 'render',
|
10466 |
+
value: function render() {
|
10467 |
+
var options = this.props.options;
|
10468 |
+
|
10469 |
+
return _react2.default.createElement(
|
10470 |
+
'div',
|
10471 |
+
{ className: 'eum-section' },
|
10472 |
+
_react2.default.createElement(
|
10473 |
+
'h3',
|
10474 |
+
null,
|
10475 |
+
mpsum.I18N.plugin_updates
|
10476 |
+
),
|
10477 |
+
_react2.default.createElement(
|
10478 |
+
'p',
|
10479 |
+
{ className: 'eum-description' },
|
10480 |
+
mpsum.I18N.plugin_updates_description
|
10481 |
+
),
|
10482 |
+
_react2.default.createElement(
|
10483 |
+
'p',
|
10484 |
+
{ className: 'eum-status' },
|
10485 |
+
'on' == options.plugin_updates ? mpsum.I18N.plugin_updates_label_on_status : mpsum.I18N.plugin_updates_label_off_status
|
10486 |
+
),
|
10487 |
+
!this.state.loading && _react2.default.createElement(
|
10488 |
+
'div',
|
10489 |
+
{ className: 'toggle-wrapper' },
|
10490 |
+
_react2.default.createElement(
|
10491 |
+
'button',
|
10492 |
+
{
|
10493 |
+
'data-id': 'plugin-updates',
|
10494 |
+
className: 'eum-toggle-button ' + ('on' == options.plugin_updates ? 'eum-active' : ''),
|
10495 |
+
'aria-label': mpsum.I18N.plugin_updates_label_on,
|
10496 |
+
onClick: this.onButtonClick,
|
10497 |
+
value: 'on'
|
10498 |
+
},
|
10499 |
+
mpsum.I18N.plugin_updates_label_on
|
10500 |
+
),
|
10501 |
+
_react2.default.createElement(
|
10502 |
+
'button',
|
10503 |
+
{
|
10504 |
+
'data-id': 'plugin-updates',
|
10505 |
+
className: 'eum-toggle-button ' + ('off' == options.plugin_updates ? 'eum-active' : ''),
|
10506 |
+
'aria-label': mpsum.I18N.plugin_updates_label_off,
|
10507 |
+
onClick: this.onButtonClick,
|
10508 |
+
value: 'off'
|
10509 |
+
},
|
10510 |
+
mpsum.I18N.plugin_updates_label_off
|
10511 |
+
)
|
10512 |
+
),
|
10513 |
+
this.state.loading && _react2.default.createElement(_loading2.default, null)
|
10514 |
+
);
|
10515 |
+
}
|
10516 |
+
}]);
|
10517 |
+
return PluginUpdates;
|
10518 |
+
}(_react.Component);
|
10519 |
+
|
10520 |
+
function mapStateToProps(state) {
|
10521 |
+
return {
|
10522 |
+
options: state.options,
|
10523 |
+
saveOptions: state.saveOptions
|
10524 |
+
};
|
10525 |
+
}
|
10526 |
+
|
10527 |
+
exports.default = (0, _reactRedux.connect)(mapStateToProps, { saveOptions: _save_options.saveOptions })(PluginUpdates);
|
10528 |
+
|
10529 |
+
/***/ }),
|
10530 |
+
/* 207 */
|
10531 |
+
/***/ (function(module, exports, __webpack_require__) {
|
10532 |
+
|
10533 |
+
"use strict";
|
10534 |
+
|
10535 |
+
|
10536 |
+
Object.defineProperty(exports, "__esModule", {
|
10537 |
+
value: true
|
10538 |
+
});
|
10539 |
+
|
10540 |
+
var _getPrototypeOf = __webpack_require__(1);
|
10541 |
+
|
10542 |
+
var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
|
10543 |
+
|
10544 |
+
var _classCallCheck2 = __webpack_require__(2);
|
10545 |
+
|
10546 |
+
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
|
10547 |
+
|
10548 |
+
var _createClass2 = __webpack_require__(3);
|
10549 |
+
|
10550 |
+
var _createClass3 = _interopRequireDefault(_createClass2);
|
10551 |
+
|
10552 |
+
var _possibleConstructorReturn2 = __webpack_require__(4);
|
10553 |
+
|
10554 |
+
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
|
10555 |
+
|
10556 |
+
var _inherits2 = __webpack_require__(5);
|
10557 |
+
|
10558 |
+
var _inherits3 = _interopRequireDefault(_inherits2);
|
10559 |
+
|
10560 |
+
var _react = __webpack_require__(0);
|
10561 |
+
|
10562 |
+
var _react2 = _interopRequireDefault(_react);
|
10563 |
+
|
10564 |
+
var _loading = __webpack_require__(8);
|
10565 |
+
|
10566 |
+
var _loading2 = _interopRequireDefault(_loading);
|
10567 |
+
|
10568 |
+
var _save_options = __webpack_require__(6);
|
10569 |
+
|
10570 |
+
var _reactRedux = __webpack_require__(7);
|
10571 |
+
|
10572 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
10573 |
+
|
10574 |
+
var ThemeUpdates = function (_Component) {
|
10575 |
+
(0, _inherits3.default)(ThemeUpdates, _Component);
|
10576 |
+
|
10577 |
+
function ThemeUpdates(props) {
|
10578 |
+
(0, _classCallCheck3.default)(this, ThemeUpdates);
|
10579 |
+
|
10580 |
+
var _this = (0, _possibleConstructorReturn3.default)(this, (ThemeUpdates.__proto__ || (0, _getPrototypeOf2.default)(ThemeUpdates)).call(this, props));
|
10581 |
+
|
10582 |
+
_this.onButtonClick = function (event) {
|
10583 |
+
event.preventDefault();
|
10584 |
+
_this.setState({
|
10585 |
+
loading: true
|
10586 |
+
});
|
10587 |
+
|
10588 |
+
_this.props.saveOptions(event.target.getAttribute('data-id'), event.target.value);
|
10589 |
+
};
|
10590 |
+
|
10591 |
+
_this.state = {
|
10592 |
+
loading: false
|
10593 |
+
};
|
10594 |
+
return _this;
|
10595 |
+
}
|
10596 |
+
|
10597 |
+
(0, _createClass3.default)(ThemeUpdates, [{
|
10598 |
+
key: 'componentWillReceiveProps',
|
10599 |
+
value: function componentWillReceiveProps() {
|
10600 |
+
this.setState({
|
10601 |
+
loading: false
|
10602 |
+
});
|
10603 |
+
}
|
10604 |
+
}, {
|
10605 |
+
key: 'render',
|
10606 |
+
value: function render() {
|
10607 |
+
var options = this.props.options;
|
10608 |
+
|
10609 |
+
return _react2.default.createElement(
|
10610 |
+
'div',
|
10611 |
+
{ className: 'eum-section' },
|
10612 |
+
_react2.default.createElement(
|
10613 |
+
'h3',
|
10614 |
+
null,
|
10615 |
+
mpsum.I18N.theme_updates
|
10616 |
+
),
|
10617 |
+
_react2.default.createElement(
|
10618 |
+
'p',
|
10619 |
+
{ className: 'eum-description' },
|
10620 |
+
mpsum.I18N.theme_updates_description
|
10621 |
+
),
|
10622 |
+
_react2.default.createElement(
|
10623 |
+
'p',
|
10624 |
+
{ className: 'eum-status' },
|
10625 |
+
'on' == options.theme_updates ? mpsum.I18N.theme_updates_label_on_status : mpsum.I18N.theme_updates_label_off_status
|
10626 |
+
),
|
10627 |
+
!this.state.loading && _react2.default.createElement(
|
10628 |
+
'div',
|
10629 |
+
{ className: 'toggle-wrapper' },
|
10630 |
+
_react2.default.createElement(
|
10631 |
+
'button',
|
10632 |
+
{
|
10633 |
+
'data-id': 'theme-updates',
|
10634 |
+
className: 'eum-toggle-button ' + ('on' == options.theme_updates ? 'eum-active' : ''),
|
10635 |
+
'aria-label': mpsum.I18N.theme_updates_label_on,
|
10636 |
+
onClick: this.onButtonClick,
|
10637 |
+
value: 'on'
|
10638 |
+
},
|
10639 |
+
mpsum.I18N.theme_updates_label_on
|
10640 |
+
),
|
10641 |
+
_react2.default.createElement(
|
10642 |
+
'button',
|
10643 |
+
{
|
10644 |
+
'data-id': 'theme-updates',
|
10645 |
+
className: 'eum-toggle-button ' + ('off' == options.theme_updates ? 'eum-active' : ''),
|
10646 |
+
'aria-label': mpsum.I18N.theme_updates_label_off,
|
10647 |
+
onClick: this.onButtonClick,
|
10648 |
+
value: 'off'
|
10649 |
+
},
|
10650 |
+
mpsum.I18N.theme_updates_label_off
|
10651 |
+
)
|
10652 |
+
),
|
10653 |
+
this.state.loading && _react2.default.createElement(_loading2.default, null)
|
10654 |
+
);
|
10655 |
+
}
|
10656 |
+
}]);
|
10657 |
+
return ThemeUpdates;
|
10658 |
+
}(_react.Component);
|
10659 |
+
|
10660 |
+
function mapStateToProps(state) {
|
10661 |
+
return {
|
10662 |
+
options: state.options,
|
10663 |
+
saveOptions: state.saveOptions
|
10664 |
+
};
|
10665 |
+
}
|
10666 |
+
|
10667 |
+
exports.default = (0, _reactRedux.connect)(mapStateToProps, { saveOptions: _save_options.saveOptions })(ThemeUpdates);
|
10668 |
+
|
10669 |
+
/***/ }),
|
10670 |
+
/* 208 */
|
10671 |
+
/***/ (function(module, exports, __webpack_require__) {
|
10672 |
+
|
10673 |
+
"use strict";
|
10674 |
+
|
10675 |
+
|
10676 |
+
Object.defineProperty(exports, "__esModule", {
|
10677 |
+
value: true
|
10678 |
+
});
|
10679 |
+
|
10680 |
+
var _getPrototypeOf = __webpack_require__(1);
|
10681 |
+
|
10682 |
+
var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
|
10683 |
+
|
10684 |
+
var _classCallCheck2 = __webpack_require__(2);
|
10685 |
+
|
10686 |
+
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
|
10687 |
+
|
10688 |
+
var _createClass2 = __webpack_require__(3);
|
10689 |
+
|
10690 |
+
var _createClass3 = _interopRequireDefault(_createClass2);
|
10691 |
+
|
10692 |
+
var _possibleConstructorReturn2 = __webpack_require__(4);
|
10693 |
+
|
10694 |
+
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
|
10695 |
+
|
10696 |
+
var _inherits2 = __webpack_require__(5);
|
10697 |
+
|
10698 |
+
var _inherits3 = _interopRequireDefault(_inherits2);
|
10699 |
+
|
10700 |
+
var _react = __webpack_require__(0);
|
10701 |
+
|
10702 |
+
var _react2 = _interopRequireDefault(_react);
|
10703 |
+
|
10704 |
+
var _loading = __webpack_require__(8);
|
10705 |
+
|
10706 |
+
var _loading2 = _interopRequireDefault(_loading);
|
10707 |
+
|
10708 |
+
var _save_options = __webpack_require__(6);
|
10709 |
+
|
10710 |
+
var _reactRedux = __webpack_require__(7);
|
10711 |
+
|
10712 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
10713 |
+
|
10714 |
+
var TranslationUpdates = function (_Component) {
|
10715 |
+
(0, _inherits3.default)(TranslationUpdates, _Component);
|
10716 |
+
|
10717 |
+
function TranslationUpdates(props) {
|
10718 |
+
(0, _classCallCheck3.default)(this, TranslationUpdates);
|
10719 |
+
|
10720 |
+
var _this = (0, _possibleConstructorReturn3.default)(this, (TranslationUpdates.__proto__ || (0, _getPrototypeOf2.default)(TranslationUpdates)).call(this, props));
|
10721 |
+
|
10722 |
+
_this.onButtonClick = function (event) {
|
10723 |
+
event.preventDefault();
|
10724 |
+
_this.setState({
|
10725 |
+
loading: true
|
10726 |
+
});
|
10727 |
+
|
10728 |
+
_this.props.saveOptions(event.target.getAttribute('data-id'), event.target.value);
|
10729 |
+
};
|
10730 |
+
|
10731 |
+
_this.state = {
|
10732 |
+
loading: false
|
10733 |
+
};
|
10734 |
+
return _this;
|
10735 |
+
}
|
10736 |
+
|
10737 |
+
(0, _createClass3.default)(TranslationUpdates, [{
|
10738 |
+
key: 'componentWillReceiveProps',
|
10739 |
+
value: function componentWillReceiveProps() {
|
10740 |
+
this.setState({
|
10741 |
+
loading: false
|
10742 |
+
});
|
10743 |
+
}
|
10744 |
+
}, {
|
10745 |
+
key: 'render',
|
10746 |
+
value: function render() {
|
10747 |
+
var options = this.props.options;
|
10748 |
+
|
10749 |
+
return _react2.default.createElement(
|
10750 |
+
'div',
|
10751 |
+
{ className: 'eum-section' },
|
10752 |
+
_react2.default.createElement(
|
10753 |
+
'h3',
|
10754 |
+
null,
|
10755 |
+
mpsum.I18N.translation_updates
|
10756 |
+
),
|
10757 |
+
_react2.default.createElement(
|
10758 |
+
'p',
|
10759 |
+
{ className: 'eum-description' },
|
10760 |
+
mpsum.I18N.translation_updates_description
|
10761 |
+
),
|
10762 |
+
_react2.default.createElement(
|
10763 |
+
'p',
|
10764 |
+
{ className: 'eum-status' },
|
10765 |
+
'on' == options.translation_updates ? mpsum.I18N.translation_updates_label_on_status : mpsum.I18N.translation_updates_label_off_status
|
10766 |
+
),
|
10767 |
+
!this.state.loading && _react2.default.createElement(
|
10768 |
+
'div',
|
10769 |
+
{ className: 'toggle-wrapper' },
|
10770 |
+
_react2.default.createElement(
|
10771 |
+
'button',
|
10772 |
+
{
|
10773 |
+
'data-id': 'translation-updates',
|
10774 |
+
className: 'eum-toggle-button ' + ('on' == options.translation_updates ? 'eum-active' : ''),
|
10775 |
+
'aria-label': mpsum.I18N.translation_updates_label_on,
|
10776 |
+
onClick: this.onButtonClick,
|
10777 |
+
value: 'on'
|
10778 |
+
},
|
10779 |
+
mpsum.I18N.translation_updates_label_on
|
10780 |
+
),
|
10781 |
+
_react2.default.createElement(
|
10782 |
+
'button',
|
10783 |
+
{
|
10784 |
+
'data-id': 'translation-updates',
|
10785 |
+
className: 'eum-toggle-button ' + ('off' == options.translation_updates ? 'eum-active' : ''),
|
10786 |
+
'aria-label': mpsum.I18N.translation_updates_label_off,
|
10787 |
+
onClick: this.onButtonClick,
|
10788 |
+
value: 'off'
|
10789 |
+
},
|
10790 |
+
mpsum.I18N.translation_updates_label_off
|
10791 |
+
)
|
10792 |
+
),
|
10793 |
+
this.state.loading && _react2.default.createElement(_loading2.default, null)
|
10794 |
+
);
|
10795 |
+
}
|
10796 |
+
}]);
|
10797 |
+
return TranslationUpdates;
|
10798 |
+
}(_react.Component);
|
10799 |
+
|
10800 |
+
function mapStateToProps(state) {
|
10801 |
+
return {
|
10802 |
+
options: state.options,
|
10803 |
+
saveOptions: state.saveOptions
|
10804 |
+
};
|
10805 |
+
}
|
10806 |
+
|
10807 |
+
exports.default = (0, _reactRedux.connect)(mapStateToProps, { saveOptions: _save_options.saveOptions })(TranslationUpdates);
|
10808 |
+
|
10809 |
+
/***/ }),
|
10810 |
+
/* 209 */
|
10811 |
+
/***/ (function(module, exports, __webpack_require__) {
|
10812 |
+
|
10813 |
+
"use strict";
|
10814 |
+
|
10815 |
+
|
10816 |
+
exports.__esModule = true;
|
10817 |
+
|
10818 |
+
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
10819 |
+
|
10820 |
+
exports['default'] = promiseMiddleware;
|
10821 |
+
|
10822 |
+
var _fluxStandardAction = __webpack_require__(210);
|
10823 |
+
|
10824 |
+
function isPromise(val) {
|
10825 |
+
return val && typeof val.then === 'function';
|
10826 |
+
}
|
10827 |
+
|
10828 |
+
function promiseMiddleware(_ref) {
|
10829 |
+
var dispatch = _ref.dispatch;
|
10830 |
+
|
10831 |
+
return function (next) {
|
10832 |
+
return function (action) {
|
10833 |
+
if (!_fluxStandardAction.isFSA(action)) {
|
10834 |
+
return isPromise(action) ? action.then(dispatch) : next(action);
|
10835 |
+
}
|
10836 |
+
|
10837 |
+
return isPromise(action.payload) ? action.payload.then(function (result) {
|
10838 |
+
return dispatch(_extends({}, action, { payload: result }));
|
10839 |
+
}, function (error) {
|
10840 |
+
return dispatch(_extends({}, action, { payload: error, error: true }));
|
10841 |
+
}) : next(action);
|
10842 |
+
};
|
10843 |
+
};
|
10844 |
+
}
|
10845 |
+
|
10846 |
+
module.exports = exports['default'];
|
10847 |
+
|
10848 |
+
/***/ }),
|
10849 |
+
/* 210 */
|
10850 |
+
/***/ (function(module, exports, __webpack_require__) {
|
10851 |
+
|
10852 |
+
"use strict";
|
10853 |
+
|
10854 |
+
|
10855 |
+
exports.__esModule = true;
|
10856 |
+
exports.isFSA = isFSA;
|
10857 |
+
exports.isError = isError;
|
10858 |
+
|
10859 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
|
10860 |
+
|
10861 |
+
var _lodashIsplainobject = __webpack_require__(211);
|
10862 |
+
|
10863 |
+
var _lodashIsplainobject2 = _interopRequireDefault(_lodashIsplainobject);
|
10864 |
+
|
10865 |
+
var validKeys = ['type', 'payload', 'error', 'meta'];
|
10866 |
+
|
10867 |
+
function isValidKey(key) {
|
10868 |
+
return validKeys.indexOf(key) > -1;
|
10869 |
+
}
|
10870 |
+
|
10871 |
+
function isFSA(action) {
|
10872 |
+
return _lodashIsplainobject2['default'](action) && typeof action.type !== 'undefined' && Object.keys(action).every(isValidKey);
|
10873 |
+
}
|
10874 |
+
|
10875 |
+
function isError(action) {
|
10876 |
+
return action.error === true;
|
10877 |
+
}
|
10878 |
+
|
10879 |
+
/***/ }),
|
10880 |
+
/* 211 */
|
10881 |
+
/***/ (function(module, exports, __webpack_require__) {
|
10882 |
+
|
10883 |
+
/**
|
10884 |
+
* lodash 3.2.0 (Custom Build) <https://lodash.com/>
|
10885 |
+
* Build: `lodash modern modularize exports="npm" -o ./`
|
10886 |
+
* Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
|
10887 |
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
10888 |
+
* Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
10889 |
+
* Available under MIT license <https://lodash.com/license>
|
10890 |
+
*/
|
10891 |
+
var baseFor = __webpack_require__(212),
|
10892 |
+
isArguments = __webpack_require__(81),
|
10893 |
+
keysIn = __webpack_require__(213);
|
10894 |
+
|
10895 |
+
/** `Object#toString` result references. */
|
10896 |
+
var objectTag = '[object Object]';
|
10897 |
+
|
10898 |
+
/**
|
10899 |
+
* Checks if `value` is object-like.
|
10900 |
+
*
|
10901 |
+
* @private
|
10902 |
+
* @param {*} value The value to check.
|
10903 |
+
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
10904 |
+
*/
|
10905 |
+
function isObjectLike(value) {
|
10906 |
+
return !!value && typeof value == 'object';
|
10907 |
+
}
|
10908 |
+
|
10909 |
+
/** Used for native method references. */
|
10910 |
+
var objectProto = Object.prototype;
|
10911 |
+
|
10912 |
+
/** Used to check objects for own properties. */
|
10913 |
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
10914 |
+
|
10915 |
+
/**
|
10916 |
+
* Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)
|
10917 |
+
* of values.
|
10918 |
+
*/
|
10919 |
+
var objToString = objectProto.toString;
|
10920 |
+
|
10921 |
+
/**
|
10922 |
+
* The base implementation of `_.forIn` without support for callback
|
10923 |
+
* shorthands and `this` binding.
|
10924 |
+
*
|
10925 |
+
* @private
|
10926 |
+
* @param {Object} object The object to iterate over.
|
10927 |
+
* @param {Function} iteratee The function invoked per iteration.
|
10928 |
+
* @returns {Object} Returns `object`.
|
10929 |
+
*/
|
10930 |
+
function baseForIn(object, iteratee) {
|
10931 |
+
return baseFor(object, iteratee, keysIn);
|
10932 |
+
}
|
10933 |
+
|
10934 |
+
/**
|
10935 |
+
* Checks if `value` is a plain object, that is, an object created by the
|
10936 |
+
* `Object` constructor or one with a `[[Prototype]]` of `null`.
|
10937 |
+
*
|
10938 |
+
* **Note:** This method assumes objects created by the `Object` constructor
|
10939 |
+
* have no inherited enumerable properties.
|
10940 |
+
*
|
10941 |
+
* @static
|
10942 |
+
* @memberOf _
|
10943 |
+
* @category Lang
|
10944 |
+
* @param {*} value The value to check.
|
10945 |
+
* @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
|
10946 |
+
* @example
|
10947 |
+
*
|
10948 |
+
* function Foo() {
|
10949 |
+
* this.a = 1;
|
10950 |
+
* }
|
10951 |
+
*
|
10952 |
+
* _.isPlainObject(new Foo);
|
10953 |
+
* // => false
|
10954 |
+
*
|
10955 |
+
* _.isPlainObject([1, 2, 3]);
|
10956 |
+
* // => false
|
10957 |
+
*
|
10958 |
+
* _.isPlainObject({ 'x': 0, 'y': 0 });
|
10959 |
+
* // => true
|
10960 |
+
*
|
10961 |
+
* _.isPlainObject(Object.create(null));
|
10962 |
+
* // => true
|
10963 |
+
*/
|
10964 |
+
function isPlainObject(value) {
|
10965 |
+
var Ctor;
|
10966 |
+
|
10967 |
+
// Exit early for non `Object` objects.
|
10968 |
+
if (!(isObjectLike(value) && objToString.call(value) == objectTag && !isArguments(value)) ||
|
10969 |
+
(!hasOwnProperty.call(value, 'constructor') && (Ctor = value.constructor, typeof Ctor == 'function' && !(Ctor instanceof Ctor)))) {
|
10970 |
+
return false;
|
10971 |
+
}
|
10972 |
+
// IE < 9 iterates inherited properties before own properties. If the first
|
10973 |
+
// iterated property is an object's own property then there are no inherited
|
10974 |
+
// enumerable properties.
|
10975 |
+
var result;
|
10976 |
+
// In most environments an object's own properties are iterated before
|
10977 |
+
// its inherited properties. If the last iterated property is an object's
|
10978 |
+
// own property then there are no inherited enumerable properties.
|
10979 |
+
baseForIn(value, function(subValue, key) {
|
10980 |
+
result = key;
|
10981 |
+
});
|
10982 |
+
return result === undefined || hasOwnProperty.call(value, result);
|
10983 |
+
}
|
10984 |
+
|
10985 |
+
module.exports = isPlainObject;
|
10986 |
+
|
10987 |
+
|
10988 |
+
/***/ }),
|
10989 |
+
/* 212 */
|
10990 |
+
/***/ (function(module, exports) {
|
10991 |
+
|
10992 |
+
/**
|
10993 |
+
* lodash 3.0.3 (Custom Build) <https://lodash.com/>
|
10994 |
+
* Build: `lodash modularize exports="npm" -o ./`
|
10995 |
+
* Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/>
|
10996 |
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
10997 |
+
* Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
10998 |
+
* Available under MIT license <https://lodash.com/license>
|
10999 |
+
*/
|
11000 |
+
|
11001 |
+
/**
|
11002 |
+
* The base implementation of `baseForIn` and `baseForOwn` which iterates
|
11003 |
+
* over `object` properties returned by `keysFunc` invoking `iteratee` for
|
11004 |
+
* each property. Iteratee functions may exit iteration early by explicitly
|
11005 |
+
* returning `false`.
|
11006 |
+
*
|
11007 |
+
* @private
|
11008 |
+
* @param {Object} object The object to iterate over.
|
11009 |
+
* @param {Function} iteratee The function invoked per iteration.
|
11010 |
+
* @param {Function} keysFunc The function to get the keys of `object`.
|
11011 |
+
* @returns {Object} Returns `object`.
|
11012 |
+
*/
|
11013 |
+
var baseFor = createBaseFor();
|
11014 |
+
|
11015 |
+
/**
|
11016 |
+
* Creates a base function for methods like `_.forIn`.
|
11017 |
+
*
|
11018 |
+
* @private
|
11019 |
+
* @param {boolean} [fromRight] Specify iterating from right to left.
|
11020 |
+
* @returns {Function} Returns the new base function.
|
11021 |
+
*/
|
11022 |
+
function createBaseFor(fromRight) {
|
11023 |
+
return function(object, iteratee, keysFunc) {
|
11024 |
+
var index = -1,
|
11025 |
+
iterable = Object(object),
|
11026 |
+
props = keysFunc(object),
|
11027 |
+
length = props.length;
|
11028 |
+
|
11029 |
+
while (length--) {
|
11030 |
+
var key = props[fromRight ? length : ++index];
|
11031 |
+
if (iteratee(iterable[key], key, iterable) === false) {
|
11032 |
+
break;
|
11033 |
+
}
|
11034 |
+
}
|
11035 |
+
return object;
|
11036 |
+
};
|
11037 |
+
}
|
11038 |
+
|
11039 |
+
module.exports = baseFor;
|
11040 |
+
|
11041 |
+
|
11042 |
+
/***/ }),
|
11043 |
+
/* 213 */
|
11044 |
+
/***/ (function(module, exports, __webpack_require__) {
|
11045 |
+
|
11046 |
+
/**
|
11047 |
+
* lodash 3.0.8 (Custom Build) <https://lodash.com/>
|
11048 |
+
* Build: `lodash modern modularize exports="npm" -o ./`
|
11049 |
+
* Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
|
11050 |
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
11051 |
+
* Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
11052 |
+
* Available under MIT license <https://lodash.com/license>
|
11053 |
+
*/
|
11054 |
+
var isArguments = __webpack_require__(81),
|
11055 |
+
isArray = __webpack_require__(214);
|
11056 |
+
|
11057 |
+
/** Used to detect unsigned integer values. */
|
11058 |
+
var reIsUint = /^\d+$/;
|
11059 |
+
|
11060 |
+
/** Used for native method references. */
|
11061 |
+
var objectProto = Object.prototype;
|
11062 |
+
|
11063 |
+
/** Used to check objects for own properties. */
|
11064 |
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
11065 |
+
|
11066 |
+
/**
|
11067 |
+
* Used as the [maximum length](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.max_safe_integer)
|
11068 |
+
* of an array-like value.
|
11069 |
+
*/
|
11070 |
+
var MAX_SAFE_INTEGER = 9007199254740991;
|
11071 |
+
|
11072 |
+
/**
|
11073 |
+
* Checks if `value` is a valid array-like index.
|
11074 |
+
*
|
11075 |
+
* @private
|
11076 |
+
* @param {*} value The value to check.
|
11077 |
+
* @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
|
11078 |
+
* @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
|
11079 |
+
*/
|
11080 |
+
function isIndex(value, length) {
|
11081 |
+
value = (typeof value == 'number' || reIsUint.test(value)) ? +value : -1;
|
11082 |
+
length = length == null ? MAX_SAFE_INTEGER : length;
|
11083 |
+
return value > -1 && value % 1 == 0 && value < length;
|
11084 |
+
}
|
11085 |
+
|
11086 |
+
/**
|
11087 |
+
* Checks if `value` is a valid array-like length.
|
11088 |
+
*
|
11089 |
+
* **Note:** This function is based on [`ToLength`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength).
|
11090 |
+
*
|
11091 |
+
* @private
|
11092 |
+
* @param {*} value The value to check.
|
11093 |
+
* @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
|
11094 |
+
*/
|
11095 |
+
function isLength(value) {
|
11096 |
+
return typeof value == 'number' && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
11097 |
+
}
|
11098 |
+
|
11099 |
+
/**
|
11100 |
+
* Checks if `value` is the [language type](https://es5.github.io/#x8) of `Object`.
|
11101 |
+
* (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
11102 |
+
*
|
11103 |
+
* @static
|
11104 |
+
* @memberOf _
|
11105 |
+
* @category Lang
|
11106 |
+
* @param {*} value The value to check.
|
11107 |
+
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
11108 |
+
* @example
|
11109 |
+
*
|
11110 |
+
* _.isObject({});
|
11111 |
+
* // => true
|
11112 |
+
*
|
11113 |
+
* _.isObject([1, 2, 3]);
|
11114 |
+
* // => true
|
11115 |
+
*
|
11116 |
+
* _.isObject(1);
|
11117 |
+
* // => false
|
11118 |
+
*/
|
11119 |
+
function isObject(value) {
|
11120 |
+
// Avoid a V8 JIT bug in Chrome 19-20.
|
11121 |
+
// See https://code.google.com/p/v8/issues/detail?id=2291 for more details.
|
11122 |
+
var type = typeof value;
|
11123 |
+
return !!value && (type == 'object' || type == 'function');
|
11124 |
+
}
|
11125 |
+
|
11126 |
+
/**
|
11127 |
+
* Creates an array of the own and inherited enumerable property names of `object`.
|
11128 |
+
*
|
11129 |
+
* **Note:** Non-object values are coerced to objects.
|
11130 |
+
*
|
11131 |
+
* @static
|
11132 |
+
* @memberOf _
|
11133 |
+
* @category Object
|
11134 |
+
* @param {Object} object The object to query.
|
11135 |
+
* @returns {Array} Returns the array of property names.
|
11136 |
+
* @example
|
11137 |
+
*
|
11138 |
+
* function Foo() {
|
11139 |
+
* this.a = 1;
|
11140 |
+
* this.b = 2;
|
11141 |
+
* }
|
11142 |
+
*
|
11143 |
+
* Foo.prototype.c = 3;
|
11144 |
+
*
|
11145 |
+
* _.keysIn(new Foo);
|
11146 |
+
* // => ['a', 'b', 'c'] (iteration order is not guaranteed)
|
11147 |
+
*/
|
11148 |
+
function keysIn(object) {
|
11149 |
+
if (object == null) {
|
11150 |
+
return [];
|
11151 |
+
}
|
11152 |
+
if (!isObject(object)) {
|
11153 |
+
object = Object(object);
|
11154 |
+
}
|
11155 |
+
var length = object.length;
|
11156 |
+
length = (length && isLength(length) &&
|
11157 |
+
(isArray(object) || isArguments(object)) && length) || 0;
|
11158 |
+
|
11159 |
+
var Ctor = object.constructor,
|
11160 |
+
index = -1,
|
11161 |
+
isProto = typeof Ctor == 'function' && Ctor.prototype === object,
|
11162 |
+
result = Array(length),
|
11163 |
+
skipIndexes = length > 0;
|
11164 |
+
|
11165 |
+
while (++index < length) {
|
11166 |
+
result[index] = (index + '');
|
11167 |
+
}
|
11168 |
+
for (var key in object) {
|
11169 |
+
if (!(skipIndexes && isIndex(key, length)) &&
|
11170 |
+
!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {
|
11171 |
+
result.push(key);
|
11172 |
+
}
|
11173 |
+
}
|
11174 |
+
return result;
|
11175 |
+
}
|
11176 |
+
|
11177 |
+
module.exports = keysIn;
|
11178 |
+
|
11179 |
+
|
11180 |
+
/***/ }),
|
11181 |
+
/* 214 */
|
11182 |
+
/***/ (function(module, exports) {
|
11183 |
+
|
11184 |
+
/**
|
11185 |
+
* lodash 3.0.4 (Custom Build) <https://lodash.com/>
|
11186 |
+
* Build: `lodash modern modularize exports="npm" -o ./`
|
11187 |
+
* Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
|
11188 |
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
11189 |
+
* Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
11190 |
+
* Available under MIT license <https://lodash.com/license>
|
11191 |
+
*/
|
11192 |
+
|
11193 |
+
/** `Object#toString` result references. */
|
11194 |
+
var arrayTag = '[object Array]',
|
11195 |
+
funcTag = '[object Function]';
|
11196 |
+
|
11197 |
+
/** Used to detect host constructors (Safari > 5). */
|
11198 |
+
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
11199 |
+
|
11200 |
+
/**
|
11201 |
+
* Checks if `value` is object-like.
|
11202 |
+
*
|
11203 |
+
* @private
|
11204 |
+
* @param {*} value The value to check.
|
11205 |
+
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
11206 |
+
*/
|
11207 |
+
function isObjectLike(value) {
|
11208 |
+
return !!value && typeof value == 'object';
|
11209 |
+
}
|
11210 |
+
|
11211 |
+
/** Used for native method references. */
|
11212 |
+
var objectProto = Object.prototype;
|
11213 |
+
|
11214 |
+
/** Used to resolve the decompiled source of functions. */
|
11215 |
+
var fnToString = Function.prototype.toString;
|
11216 |
+
|
11217 |
+
/** Used to check objects for own properties. */
|
11218 |
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
11219 |
+
|
11220 |
+
/**
|
11221 |
+
* Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)
|
11222 |
+
* of values.
|
11223 |
+
*/
|
11224 |
+
var objToString = objectProto.toString;
|
11225 |
+
|
11226 |
+
/** Used to detect if a method is native. */
|
11227 |
+
var reIsNative = RegExp('^' +
|
11228 |
+
fnToString.call(hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g, '\\$&')
|
11229 |
+
.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
|
11230 |
+
);
|
11231 |
+
|
11232 |
+
/* Native method references for those with the same name as other `lodash` methods. */
|
11233 |
+
var nativeIsArray = getNative(Array, 'isArray');
|
11234 |
+
|
11235 |
+
/**
|
11236 |
+
* Used as the [maximum length](http://ecma-international.org/ecma-262/6.0/#sec-number.max_safe_integer)
|
11237 |
+
* of an array-like value.
|
11238 |
+
*/
|
11239 |
+
var MAX_SAFE_INTEGER = 9007199254740991;
|
11240 |
+
|
11241 |
+
/**
|
11242 |
+
* Gets the native function at `key` of `object`.
|
11243 |
+
*
|
11244 |
+
* @private
|
11245 |
+
* @param {Object} object The object to query.
|
11246 |
+
* @param {string} key The key of the method to get.
|
11247 |
+
* @returns {*} Returns the function if it's native, else `undefined`.
|
11248 |
+
*/
|
11249 |
+
function getNative(object, key) {
|
11250 |
+
var value = object == null ? undefined : object[key];
|
11251 |
+
return isNative(value) ? value : undefined;
|
11252 |
+
}
|
11253 |
+
|
11254 |
+
/**
|
11255 |
+
* Checks if `value` is a valid array-like length.
|
11256 |
+
*
|
11257 |
+
* **Note:** This function is based on [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength).
|
11258 |
+
*
|
11259 |
+
* @private
|
11260 |
+
* @param {*} value The value to check.
|
11261 |
+
* @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
|
11262 |
+
*/
|
11263 |
+
function isLength(value) {
|
11264 |
+
return typeof value == 'number' && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
11265 |
+
}
|
11266 |
+
|
11267 |
+
/**
|
11268 |
+
* Checks if `value` is classified as an `Array` object.
|
11269 |
+
*
|
11270 |
+
* @static
|
11271 |
+
* @memberOf _
|
11272 |
+
* @category Lang
|
11273 |
+
* @param {*} value The value to check.
|
11274 |
+
* @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.
|
11275 |
+
* @example
|
11276 |
+
*
|
11277 |
+
* _.isArray([1, 2, 3]);
|
11278 |
+
* // => true
|
11279 |
+
*
|
11280 |
+
* _.isArray(function() { return arguments; }());
|
11281 |
+
* // => false
|
11282 |
+
*/
|
11283 |
+
var isArray = nativeIsArray || function(value) {
|
11284 |
+
return isObjectLike(value) && isLength(value.length) && objToString.call(value) == arrayTag;
|
11285 |
+
};
|
11286 |
+
|
11287 |
+
/**
|
11288 |
+
* Checks if `value` is classified as a `Function` object.
|
11289 |
+
*
|
11290 |
+
* @static
|
11291 |
+
* @memberOf _
|
11292 |
+
* @category Lang
|
11293 |
+
* @param {*} value The value to check.
|
11294 |
+
* @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.
|
11295 |
+
* @example
|
11296 |
+
*
|
11297 |
+
* _.isFunction(_);
|
11298 |
+
* // => true
|
11299 |
+
*
|
11300 |
+
* _.isFunction(/abc/);
|
11301 |
+
* // => false
|
11302 |
+
*/
|
11303 |
+
function isFunction(value) {
|
11304 |
+
// The use of `Object#toString` avoids issues with the `typeof` operator
|
11305 |
+
// in older versions of Chrome and Safari which return 'function' for regexes
|
11306 |
+
// and Safari 8 equivalents which return 'object' for typed array constructors.
|
11307 |
+
return isObject(value) && objToString.call(value) == funcTag;
|
11308 |
+
}
|
11309 |
+
|
11310 |
+
/**
|
11311 |
+
* Checks if `value` is the [language type](https://es5.github.io/#x8) of `Object`.
|
11312 |
+
* (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
11313 |
+
*
|
11314 |
+
* @static
|
11315 |
+
* @memberOf _
|
11316 |
+
* @category Lang
|
11317 |
+
* @param {*} value The value to check.
|
11318 |
+
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
11319 |
+
* @example
|
11320 |
+
*
|
11321 |
+
* _.isObject({});
|
11322 |
+
* // => true
|
11323 |
+
*
|
11324 |
+
* _.isObject([1, 2, 3]);
|
11325 |
+
* // => true
|
11326 |
+
*
|
11327 |
+
* _.isObject(1);
|
11328 |
+
* // => false
|
11329 |
+
*/
|
11330 |
+
function isObject(value) {
|
11331 |
+
// Avoid a V8 JIT bug in Chrome 19-20.
|
11332 |
+
// See https://code.google.com/p/v8/issues/detail?id=2291 for more details.
|
11333 |
+
var type = typeof value;
|
11334 |
+
return !!value && (type == 'object' || type == 'function');
|
11335 |
+
}
|
11336 |
+
|
11337 |
+
/**
|
11338 |
+
* Checks if `value` is a native function.
|
11339 |
+
*
|
11340 |
+
* @static
|
11341 |
+
* @memberOf _
|
11342 |
+
* @category Lang
|
11343 |
+
* @param {*} value The value to check.
|
11344 |
+
* @returns {boolean} Returns `true` if `value` is a native function, else `false`.
|
11345 |
+
* @example
|
11346 |
+
*
|
11347 |
+
* _.isNative(Array.prototype.push);
|
11348 |
+
* // => true
|
11349 |
+
*
|
11350 |
+
* _.isNative(_);
|
11351 |
+
* // => false
|
11352 |
+
*/
|
11353 |
+
function isNative(value) {
|
11354 |
+
if (value == null) {
|
11355 |
+
return false;
|
11356 |
+
}
|
11357 |
+
if (isFunction(value)) {
|
11358 |
+
return reIsNative.test(fnToString.call(value));
|
11359 |
+
}
|
11360 |
+
return isObjectLike(value) && reIsHostCtor.test(value);
|
11361 |
+
}
|
11362 |
+
|
11363 |
+
module.exports = isArray;
|
11364 |
+
|
11365 |
+
|
11366 |
+
/***/ }),
|
11367 |
+
/* 215 */
|
11368 |
+
/***/ (function(module, exports, __webpack_require__) {
|
11369 |
+
|
11370 |
+
__webpack_require__(216).polyfill()
|
11371 |
+
|
11372 |
+
|
11373 |
+
/***/ }),
|
11374 |
+
/* 216 */
|
11375 |
+
/***/ (function(module, exports, __webpack_require__) {
|
11376 |
+
|
11377 |
+
/* WEBPACK VAR INJECTION */(function(global) {var now = __webpack_require__(217)
|
11378 |
+
, root = typeof window === 'undefined' ? global : window
|
11379 |
+
, vendors = ['moz', 'webkit']
|
11380 |
+
, suffix = 'AnimationFrame'
|
11381 |
+
, raf = root['request' + suffix]
|
11382 |
+
, caf = root['cancel' + suffix] || root['cancelRequest' + suffix]
|
11383 |
+
|
11384 |
+
for(var i = 0; !raf && i < vendors.length; i++) {
|
11385 |
+
raf = root[vendors[i] + 'Request' + suffix]
|
11386 |
+
caf = root[vendors[i] + 'Cancel' + suffix]
|
11387 |
+
|| root[vendors[i] + 'CancelRequest' + suffix]
|
11388 |
+
}
|
11389 |
+
|
11390 |
+
// Some versions of FF have rAF but not cAF
|
11391 |
+
if(!raf || !caf) {
|
11392 |
+
var last = 0
|
11393 |
+
, id = 0
|
11394 |
+
, queue = []
|
11395 |
+
, frameDuration = 1000 / 60
|
11396 |
+
|
11397 |
+
raf = function(callback) {
|
11398 |
+
if(queue.length === 0) {
|
11399 |
+
var _now = now()
|
11400 |
+
, next = Math.max(0, frameDuration - (_now - last))
|
11401 |
+
last = next + _now
|
11402 |
+
setTimeout(function() {
|
11403 |
+
var cp = queue.slice(0)
|
11404 |
+
// Clear queue here to prevent
|
11405 |
+
// callbacks from appending listeners
|
11406 |
+
// to the current frame's queue
|
11407 |
+
queue.length = 0
|
11408 |
+
for(var i = 0; i < cp.length; i++) {
|
11409 |
+
if(!cp[i].cancelled) {
|
11410 |
+
try{
|
11411 |
+
cp[i].callback(last)
|
11412 |
+
} catch(e) {
|
11413 |
+
setTimeout(function() { throw e }, 0)
|
11414 |
+
}
|
11415 |
+
}
|
11416 |
+
}
|
11417 |
+
}, Math.round(next))
|
11418 |
+
}
|
11419 |
+
queue.push({
|
11420 |
+
handle: ++id,
|
11421 |
+
callback: callback,
|
11422 |
+
cancelled: false
|
11423 |
+
})
|
11424 |
+
return id
|
11425 |
+
}
|
11426 |
+
|
11427 |
+
caf = function(handle) {
|
11428 |
+
for(var i = 0; i < queue.length; i++) {
|
11429 |
+
if(queue[i].handle === handle) {
|
11430 |
+
queue[i].cancelled = true
|
11431 |
+
}
|
11432 |
+
}
|
11433 |
+
}
|
11434 |
+
}
|
11435 |
+
|
11436 |
+
module.exports = function(fn) {
|
11437 |
+
// Wrap in a new function to prevent
|
11438 |
+
// `cancel` potentially being assigned
|
11439 |
+
// to the native rAF function
|
11440 |
+
return raf.call(root, fn)
|
11441 |
+
}
|
11442 |
+
module.exports.cancel = function() {
|
11443 |
+
caf.apply(root, arguments)
|
11444 |
+
}
|
11445 |
+
module.exports.polyfill = function(object) {
|
11446 |
+
if (!object) {
|
11447 |
+
object = root;
|
11448 |
+
}
|
11449 |
+
object.requestAnimationFrame = raf
|
11450 |
+
object.cancelAnimationFrame = caf
|
11451 |
+
}
|
11452 |
+
|
11453 |
+
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(26)))
|
11454 |
+
|
11455 |
+
/***/ }),
|
11456 |
+
/* 217 */
|
11457 |
+
/***/ (function(module, exports, __webpack_require__) {
|
11458 |
+
|
11459 |
+
/* WEBPACK VAR INJECTION */(function(process) {// Generated by CoffeeScript 1.12.2
|
11460 |
+
(function() {
|
11461 |
+
var getNanoSeconds, hrtime, loadTime, moduleLoadTime, nodeLoadTime, upTime;
|
11462 |
+
|
11463 |
+
if ((typeof performance !== "undefined" && performance !== null) && performance.now) {
|
11464 |
+
module.exports = function() {
|
11465 |
+
return performance.now();
|
11466 |
+
};
|
11467 |
+
} else if ((typeof process !== "undefined" && process !== null) && process.hrtime) {
|
11468 |
+
module.exports = function() {
|
11469 |
+
return (getNanoSeconds() - nodeLoadTime) / 1e6;
|
11470 |
+
};
|
11471 |
+
hrtime = process.hrtime;
|
11472 |
+
getNanoSeconds = function() {
|
11473 |
+
var hr;
|
11474 |
+
hr = hrtime();
|
11475 |
+
return hr[0] * 1e9 + hr[1];
|
11476 |
+
};
|
11477 |
+
moduleLoadTime = getNanoSeconds();
|
11478 |
+
upTime = process.uptime() * 1e9;
|
11479 |
+
nodeLoadTime = moduleLoadTime - upTime;
|
11480 |
+
} else if (Date.now) {
|
11481 |
+
module.exports = function() {
|
11482 |
+
return Date.now() - loadTime;
|
11483 |
+
};
|
11484 |
+
loadTime = Date.now();
|
11485 |
+
} else {
|
11486 |
+
module.exports = function() {
|
11487 |
+
return new Date().getTime() - loadTime;
|
11488 |
+
};
|
11489 |
+
loadTime = new Date().getTime();
|
11490 |
+
}
|
11491 |
+
|
11492 |
+
}).call(this);
|
11493 |
+
|
11494 |
+
//# sourceMappingURL=performance-now.js.map
|
11495 |
+
|
11496 |
+
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(62)))
|
11497 |
+
|
11498 |
+
/***/ })
|
11499 |
+
/******/ ]);
|
js/index.php
DELETED
File without changes
|
js/qs.js
ADDED
@@ -0,0 +1,627 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Qs = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
|
2 |
+
'use strict';
|
3 |
+
|
4 |
+
var replace = String.prototype.replace;
|
5 |
+
var percentTwenties = /%20/g;
|
6 |
+
|
7 |
+
module.exports = {
|
8 |
+
'default': 'RFC3986',
|
9 |
+
formatters: {
|
10 |
+
RFC1738: function (value) {
|
11 |
+
return replace.call(value, percentTwenties, '+');
|
12 |
+
},
|
13 |
+
RFC3986: function (value) {
|
14 |
+
return value;
|
15 |
+
}
|
16 |
+
},
|
17 |
+
RFC1738: 'RFC1738',
|
18 |
+
RFC3986: 'RFC3986'
|
19 |
+
};
|
20 |
+
|
21 |
+
},{}],2:[function(require,module,exports){
|
22 |
+
'use strict';
|
23 |
+
|
24 |
+
var stringify = require('./stringify');
|
25 |
+
var parse = require('./parse');
|
26 |
+
var formats = require('./formats');
|
27 |
+
|
28 |
+
module.exports = {
|
29 |
+
formats: formats,
|
30 |
+
parse: parse,
|
31 |
+
stringify: stringify
|
32 |
+
};
|
33 |
+
|
34 |
+
},{"./formats":1,"./parse":3,"./stringify":4}],3:[function(require,module,exports){
|
35 |
+
'use strict';
|
36 |
+
|
37 |
+
var utils = require('./utils');
|
38 |
+
|
39 |
+
var has = Object.prototype.hasOwnProperty;
|
40 |
+
|
41 |
+
var defaults = {
|
42 |
+
allowDots: false,
|
43 |
+
allowPrototypes: false,
|
44 |
+
arrayLimit: 20,
|
45 |
+
decoder: utils.decode,
|
46 |
+
delimiter: '&',
|
47 |
+
depth: 5,
|
48 |
+
parameterLimit: 1000,
|
49 |
+
plainObjects: false,
|
50 |
+
strictNullHandling: false
|
51 |
+
};
|
52 |
+
|
53 |
+
var parseValues = function parseQueryStringValues(str, options) {
|
54 |
+
var obj = {};
|
55 |
+
var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str;
|
56 |
+
var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;
|
57 |
+
var parts = cleanStr.split(options.delimiter, limit);
|
58 |
+
|
59 |
+
for (var i = 0; i < parts.length; ++i) {
|
60 |
+
var part = parts[i];
|
61 |
+
|
62 |
+
var bracketEqualsPos = part.indexOf(']=');
|
63 |
+
var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1;
|
64 |
+
|
65 |
+
var key, val;
|
66 |
+
if (pos === -1) {
|
67 |
+
key = options.decoder(part, defaults.decoder);
|
68 |
+
val = options.strictNullHandling ? null : '';
|
69 |
+
} else {
|
70 |
+
key = options.decoder(part.slice(0, pos), defaults.decoder);
|
71 |
+
val = options.decoder(part.slice(pos + 1), defaults.decoder);
|
72 |
+
}
|
73 |
+
if (has.call(obj, key)) {
|
74 |
+
obj[key] = [].concat(obj[key]).concat(val);
|
75 |
+
} else {
|
76 |
+
obj[key] = val;
|
77 |
+
}
|
78 |
+
}
|
79 |
+
|
80 |
+
return obj;
|
81 |
+
};
|
82 |
+
|
83 |
+
var parseObject = function (chain, val, options) {
|
84 |
+
var leaf = val;
|
85 |
+
|
86 |
+
for (var i = chain.length - 1; i >= 0; --i) {
|
87 |
+
var obj;
|
88 |
+
var root = chain[i];
|
89 |
+
|
90 |
+
if (root === '[]') {
|
91 |
+
obj = [];
|
92 |
+
obj = obj.concat(leaf);
|
93 |
+
} else {
|
94 |
+
obj = options.plainObjects ? Object.create(null) : {};
|
95 |
+
var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;
|
96 |
+
var index = parseInt(cleanRoot, 10);
|
97 |
+
if (
|
98 |
+
!isNaN(index)
|
99 |
+
&& root !== cleanRoot
|
100 |
+
&& String(index) === cleanRoot
|
101 |
+
&& index >= 0
|
102 |
+
&& (options.parseArrays && index <= options.arrayLimit)
|
103 |
+
) {
|
104 |
+
obj = [];
|
105 |
+
obj[index] = leaf;
|
106 |
+
} else {
|
107 |
+
obj[cleanRoot] = leaf;
|
108 |
+
}
|
109 |
+
}
|
110 |
+
|
111 |
+
leaf = obj;
|
112 |
+
}
|
113 |
+
|
114 |
+
return leaf;
|
115 |
+
};
|
116 |
+
|
117 |
+
var parseKeys = function parseQueryStringKeys(givenKey, val, options) {
|
118 |
+
if (!givenKey) {
|
119 |
+
return;
|
120 |
+
}
|
121 |
+
|
122 |
+
// Transform dot notation to bracket notation
|
123 |
+
var key = options.allowDots ? givenKey.replace(/\.([^.[]+)/g, '[$1]') : givenKey;
|
124 |
+
|
125 |
+
// The regex chunks
|
126 |
+
|
127 |
+
var brackets = /(\[[^[\]]*])/;
|
128 |
+
var child = /(\[[^[\]]*])/g;
|
129 |
+
|
130 |
+
// Get the parent
|
131 |
+
|
132 |
+
var segment = brackets.exec(key);
|
133 |
+
var parent = segment ? key.slice(0, segment.index) : key;
|
134 |
+
|
135 |
+
// Stash the parent if it exists
|
136 |
+
|
137 |
+
var keys = [];
|
138 |
+
if (parent) {
|
139 |
+
// If we aren't using plain objects, optionally prefix keys
|
140 |
+
// that would overwrite object prototype properties
|
141 |
+
if (!options.plainObjects && has.call(Object.prototype, parent)) {
|
142 |
+
if (!options.allowPrototypes) {
|
143 |
+
return;
|
144 |
+
}
|
145 |
+
}
|
146 |
+
|
147 |
+
keys.push(parent);
|
148 |
+
}
|
149 |
+
|
150 |
+
// Loop through children appending to the array until we hit depth
|
151 |
+
|
152 |
+
var i = 0;
|
153 |
+
while ((segment = child.exec(key)) !== null && i < options.depth) {
|
154 |
+
i += 1;
|
155 |
+
if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) {
|
156 |
+
if (!options.allowPrototypes) {
|
157 |
+
return;
|
158 |
+
}
|
159 |
+
}
|
160 |
+
keys.push(segment[1]);
|
161 |
+
}
|
162 |
+
|
163 |
+
// If there's a remainder, just add whatever is left
|
164 |
+
|
165 |
+
if (segment) {
|
166 |
+
keys.push('[' + key.slice(segment.index) + ']');
|
167 |
+
}
|
168 |
+
|
169 |
+
return parseObject(keys, val, options);
|
170 |
+
};
|
171 |
+
|
172 |
+
module.exports = function (str, opts) {
|
173 |
+
var options = opts ? utils.assign({}, opts) : {};
|
174 |
+
|
175 |
+
if (options.decoder !== null && options.decoder !== undefined && typeof options.decoder !== 'function') {
|
176 |
+
throw new TypeError('Decoder has to be a function.');
|
177 |
+
}
|
178 |
+
|
179 |
+
options.ignoreQueryPrefix = options.ignoreQueryPrefix === true;
|
180 |
+
options.delimiter = typeof options.delimiter === 'string' || utils.isRegExp(options.delimiter) ? options.delimiter : defaults.delimiter;
|
181 |
+
options.depth = typeof options.depth === 'number' ? options.depth : defaults.depth;
|
182 |
+
options.arrayLimit = typeof options.arrayLimit === 'number' ? options.arrayLimit : defaults.arrayLimit;
|
183 |
+
options.parseArrays = options.parseArrays !== false;
|
184 |
+
options.decoder = typeof options.decoder === 'function' ? options.decoder : defaults.decoder;
|
185 |
+
options.allowDots = typeof options.allowDots === 'boolean' ? options.allowDots : defaults.allowDots;
|
186 |
+
options.plainObjects = typeof options.plainObjects === 'boolean' ? options.plainObjects : defaults.plainObjects;
|
187 |
+
options.allowPrototypes = typeof options.allowPrototypes === 'boolean' ? options.allowPrototypes : defaults.allowPrototypes;
|
188 |
+
options.parameterLimit = typeof options.parameterLimit === 'number' ? options.parameterLimit : defaults.parameterLimit;
|
189 |
+
options.strictNullHandling = typeof options.strictNullHandling === 'boolean' ? options.strictNullHandling : defaults.strictNullHandling;
|
190 |
+
|
191 |
+
if (str === '' || str === null || typeof str === 'undefined') {
|
192 |
+
return options.plainObjects ? Object.create(null) : {};
|
193 |
+
}
|
194 |
+
|
195 |
+
var tempObj = typeof str === 'string' ? parseValues(str, options) : str;
|
196 |
+
var obj = options.plainObjects ? Object.create(null) : {};
|
197 |
+
|
198 |
+
// Iterate over the keys and setup the new object
|
199 |
+
|
200 |
+
var keys = Object.keys(tempObj);
|
201 |
+
for (var i = 0; i < keys.length; ++i) {
|
202 |
+
var key = keys[i];
|
203 |
+
var newObj = parseKeys(key, tempObj[key], options);
|
204 |
+
obj = utils.merge(obj, newObj, options);
|
205 |
+
}
|
206 |
+
|
207 |
+
return utils.compact(obj);
|
208 |
+
};
|
209 |
+
|
210 |
+
},{"./utils":5}],4:[function(require,module,exports){
|
211 |
+
'use strict';
|
212 |
+
|
213 |
+
var utils = require('./utils');
|
214 |
+
var formats = require('./formats');
|
215 |
+
|
216 |
+
var arrayPrefixGenerators = {
|
217 |
+
brackets: function brackets(prefix) { // eslint-disable-line func-name-matching
|
218 |
+
return prefix + '[]';
|
219 |
+
},
|
220 |
+
indices: function indices(prefix, key) { // eslint-disable-line func-name-matching
|
221 |
+
return prefix + '[' + key + ']';
|
222 |
+
},
|
223 |
+
repeat: function repeat(prefix) { // eslint-disable-line func-name-matching
|
224 |
+
return prefix;
|
225 |
+
}
|
226 |
+
};
|
227 |
+
|
228 |
+
var toISO = Date.prototype.toISOString;
|
229 |
+
|
230 |
+
var defaults = {
|
231 |
+
delimiter: '&',
|
232 |
+
encode: true,
|
233 |
+
encoder: utils.encode,
|
234 |
+
encodeValuesOnly: false,
|
235 |
+
serializeDate: function serializeDate(date) { // eslint-disable-line func-name-matching
|
236 |
+
return toISO.call(date);
|
237 |
+
},
|
238 |
+
skipNulls: false,
|
239 |
+
strictNullHandling: false
|
240 |
+
};
|
241 |
+
|
242 |
+
var stringify = function stringify( // eslint-disable-line func-name-matching
|
243 |
+
object,
|
244 |
+
prefix,
|
245 |
+
generateArrayPrefix,
|
246 |
+
strictNullHandling,
|
247 |
+
skipNulls,
|
248 |
+
encoder,
|
249 |
+
filter,
|
250 |
+
sort,
|
251 |
+
allowDots,
|
252 |
+
serializeDate,
|
253 |
+
formatter,
|
254 |
+
encodeValuesOnly
|
255 |
+
) {
|
256 |
+
var obj = object;
|
257 |
+
if (typeof filter === 'function') {
|
258 |
+
obj = filter(prefix, obj);
|
259 |
+
} else if (obj instanceof Date) {
|
260 |
+
obj = serializeDate(obj);
|
261 |
+
} else if (obj === null) {
|
262 |
+
if (strictNullHandling) {
|
263 |
+
return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder) : prefix;
|
264 |
+
}
|
265 |
+
|
266 |
+
obj = '';
|
267 |
+
}
|
268 |
+
|
269 |
+
if (typeof obj === 'string' || typeof obj === 'number' || typeof obj === 'boolean' || utils.isBuffer(obj)) {
|
270 |
+
if (encoder) {
|
271 |
+
var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder);
|
272 |
+
return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder))];
|
273 |
+
}
|
274 |
+
return [formatter(prefix) + '=' + formatter(String(obj))];
|
275 |
+
}
|
276 |
+
|
277 |
+
var values = [];
|
278 |
+
|
279 |
+
if (typeof obj === 'undefined') {
|
280 |
+
return values;
|
281 |
+
}
|
282 |
+
|
283 |
+
var objKeys;
|
284 |
+
if (Array.isArray(filter)) {
|
285 |
+
objKeys = filter;
|
286 |
+
} else {
|
287 |
+
var keys = Object.keys(obj);
|
288 |
+
objKeys = sort ? keys.sort(sort) : keys;
|
289 |
+
}
|
290 |
+
|
291 |
+
for (var i = 0; i < objKeys.length; ++i) {
|
292 |
+
var key = objKeys[i];
|
293 |
+
|
294 |
+
if (skipNulls && obj[key] === null) {
|
295 |
+
continue;
|
296 |
+
}
|
297 |
+
|
298 |
+
if (Array.isArray(obj)) {
|
299 |
+
values = values.concat(stringify(
|
300 |
+
obj[key],
|
301 |
+
generateArrayPrefix(prefix, key),
|
302 |
+
generateArrayPrefix,
|
303 |
+
strictNullHandling,
|
304 |
+
skipNulls,
|
305 |
+
encoder,
|
306 |
+
filter,
|
307 |
+
sort,
|
308 |
+
allowDots,
|
309 |
+
serializeDate,
|
310 |
+
formatter,
|
311 |
+
encodeValuesOnly
|
312 |
+
));
|
313 |
+
} else {
|
314 |
+
values = values.concat(stringify(
|
315 |
+
obj[key],
|
316 |
+
prefix + (allowDots ? '.' + key : '[' + key + ']'),
|
317 |
+
generateArrayPrefix,
|
318 |
+
strictNullHandling,
|
319 |
+
skipNulls,
|
320 |
+
encoder,
|
321 |
+
filter,
|
322 |
+
sort,
|
323 |
+
allowDots,
|
324 |
+
serializeDate,
|
325 |
+
formatter,
|
326 |
+
encodeValuesOnly
|
327 |
+
));
|
328 |
+
}
|
329 |
+
}
|
330 |
+
|
331 |
+
return values;
|
332 |
+
};
|
333 |
+
|
334 |
+
module.exports = function (object, opts) {
|
335 |
+
var obj = object;
|
336 |
+
var options = opts ? utils.assign({}, opts) : {};
|
337 |
+
|
338 |
+
if (options.encoder !== null && options.encoder !== undefined && typeof options.encoder !== 'function') {
|
339 |
+
throw new TypeError('Encoder has to be a function.');
|
340 |
+
}
|
341 |
+
|
342 |
+
var delimiter = typeof options.delimiter === 'undefined' ? defaults.delimiter : options.delimiter;
|
343 |
+
var strictNullHandling = typeof options.strictNullHandling === 'boolean' ? options.strictNullHandling : defaults.strictNullHandling;
|
344 |
+
var skipNulls = typeof options.skipNulls === 'boolean' ? options.skipNulls : defaults.skipNulls;
|
345 |
+
var encode = typeof options.encode === 'boolean' ? options.encode : defaults.encode;
|
346 |
+
var encoder = typeof options.encoder === 'function' ? options.encoder : defaults.encoder;
|
347 |
+
var sort = typeof options.sort === 'function' ? options.sort : null;
|
348 |
+
var allowDots = typeof options.allowDots === 'undefined' ? false : options.allowDots;
|
349 |
+
var serializeDate = typeof options.serializeDate === 'function' ? options.serializeDate : defaults.serializeDate;
|
350 |
+
var encodeValuesOnly = typeof options.encodeValuesOnly === 'boolean' ? options.encodeValuesOnly : defaults.encodeValuesOnly;
|
351 |
+
if (typeof options.format === 'undefined') {
|
352 |
+
options.format = formats['default'];
|
353 |
+
} else if (!Object.prototype.hasOwnProperty.call(formats.formatters, options.format)) {
|
354 |
+
throw new TypeError('Unknown format option provided.');
|
355 |
+
}
|
356 |
+
var formatter = formats.formatters[options.format];
|
357 |
+
var objKeys;
|
358 |
+
var filter;
|
359 |
+
|
360 |
+
if (typeof options.filter === 'function') {
|
361 |
+
filter = options.filter;
|
362 |
+
obj = filter('', obj);
|
363 |
+
} else if (Array.isArray(options.filter)) {
|
364 |
+
filter = options.filter;
|
365 |
+
objKeys = filter;
|
366 |
+
}
|
367 |
+
|
368 |
+
var keys = [];
|
369 |
+
|
370 |
+
if (typeof obj !== 'object' || obj === null) {
|
371 |
+
return '';
|
372 |
+
}
|
373 |
+
|
374 |
+
var arrayFormat;
|
375 |
+
if (options.arrayFormat in arrayPrefixGenerators) {
|
376 |
+
arrayFormat = options.arrayFormat;
|
377 |
+
} else if ('indices' in options) {
|
378 |
+
arrayFormat = options.indices ? 'indices' : 'repeat';
|
379 |
+
} else {
|
380 |
+
arrayFormat = 'indices';
|
381 |
+
}
|
382 |
+
|
383 |
+
var generateArrayPrefix = arrayPrefixGenerators[arrayFormat];
|
384 |
+
|
385 |
+
if (!objKeys) {
|
386 |
+
objKeys = Object.keys(obj);
|
387 |
+
}
|
388 |
+
|
389 |
+
if (sort) {
|
390 |
+
objKeys.sort(sort);
|
391 |
+
}
|
392 |
+
|
393 |
+
for (var i = 0; i < objKeys.length; ++i) {
|
394 |
+
var key = objKeys[i];
|
395 |
+
|
396 |
+
if (skipNulls && obj[key] === null) {
|
397 |
+
continue;
|
398 |
+
}
|
399 |
+
|
400 |
+
keys = keys.concat(stringify(
|
401 |
+
obj[key],
|
402 |
+
key,
|
403 |
+
generateArrayPrefix,
|
404 |
+
strictNullHandling,
|
405 |
+
skipNulls,
|
406 |
+
encode ? encoder : null,
|
407 |
+
filter,
|
408 |
+
sort,
|
409 |
+
allowDots,
|
410 |
+
serializeDate,
|
411 |
+
formatter,
|
412 |
+
encodeValuesOnly
|
413 |
+
));
|
414 |
+
}
|
415 |
+
|
416 |
+
var joined = keys.join(delimiter);
|
417 |
+
var prefix = options.addQueryPrefix === true ? '?' : '';
|
418 |
+
|
419 |
+
return joined.length > 0 ? prefix + joined : '';
|
420 |
+
};
|
421 |
+
|
422 |
+
},{"./formats":1,"./utils":5}],5:[function(require,module,exports){
|
423 |
+
'use strict';
|
424 |
+
|
425 |
+
var has = Object.prototype.hasOwnProperty;
|
426 |
+
|
427 |
+
var hexTable = (function () {
|
428 |
+
var array = [];
|
429 |
+
for (var i = 0; i < 256; ++i) {
|
430 |
+
array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase());
|
431 |
+
}
|
432 |
+
|
433 |
+
return array;
|
434 |
+
}());
|
435 |
+
|
436 |
+
var compactQueue = function compactQueue(queue) {
|
437 |
+
var obj;
|
438 |
+
|
439 |
+
while (queue.length) {
|
440 |
+
var item = queue.pop();
|
441 |
+
obj = item.obj[item.prop];
|
442 |
+
|
443 |
+
if (Array.isArray(obj)) {
|
444 |
+
var compacted = [];
|
445 |
+
|
446 |
+
for (var j = 0; j < obj.length; ++j) {
|
447 |
+
if (typeof obj[j] !== 'undefined') {
|
448 |
+
compacted.push(obj[j]);
|
449 |
+
}
|
450 |
+
}
|
451 |
+
|
452 |
+
item.obj[item.prop] = compacted;
|
453 |
+
}
|
454 |
+
}
|
455 |
+
|
456 |
+
return obj;
|
457 |
+
};
|
458 |
+
|
459 |
+
exports.arrayToObject = function arrayToObject(source, options) {
|
460 |
+
var obj = options && options.plainObjects ? Object.create(null) : {};
|
461 |
+
for (var i = 0; i < source.length; ++i) {
|
462 |
+
if (typeof source[i] !== 'undefined') {
|
463 |
+
obj[i] = source[i];
|
464 |
+
}
|
465 |
+
}
|
466 |
+
|
467 |
+
return obj;
|
468 |
+
};
|
469 |
+
|
470 |
+
exports.merge = function merge(target, source, options) {
|
471 |
+
if (!source) {
|
472 |
+
return target;
|
473 |
+
}
|
474 |
+
|
475 |
+
if (typeof source !== 'object') {
|
476 |
+
if (Array.isArray(target)) {
|
477 |
+
target.push(source);
|
478 |
+
} else if (typeof target === 'object') {
|
479 |
+
if (options.plainObjects || options.allowPrototypes || !has.call(Object.prototype, source)) {
|
480 |
+
target[source] = true;
|
481 |
+
}
|
482 |
+
} else {
|
483 |
+
return [target, source];
|
484 |
+
}
|
485 |
+
|
486 |
+
return target;
|
487 |
+
}
|
488 |
+
|
489 |
+
if (typeof target !== 'object') {
|
490 |
+
return [target].concat(source);
|
491 |
+
}
|
492 |
+
|
493 |
+
var mergeTarget = target;
|
494 |
+
if (Array.isArray(target) && !Array.isArray(source)) {
|
495 |
+
mergeTarget = exports.arrayToObject(target, options);
|
496 |
+
}
|
497 |
+
|
498 |
+
if (Array.isArray(target) && Array.isArray(source)) {
|
499 |
+
source.forEach(function (item, i) {
|
500 |
+
if (has.call(target, i)) {
|
501 |
+
if (target[i] && typeof target[i] === 'object') {
|
502 |
+
target[i] = exports.merge(target[i], item, options);
|
503 |
+
} else {
|
504 |
+
target.push(item);
|
505 |
+
}
|
506 |
+
} else {
|
507 |
+
target[i] = item;
|
508 |
+
}
|
509 |
+
});
|
510 |
+
return target;
|
511 |
+
}
|
512 |
+
|
513 |
+
return Object.keys(source).reduce(function (acc, key) {
|
514 |
+
var value = source[key];
|
515 |
+
|
516 |
+
if (has.call(acc, key)) {
|
517 |
+
acc[key] = exports.merge(acc[key], value, options);
|
518 |
+
} else {
|
519 |
+
acc[key] = value;
|
520 |
+
}
|
521 |
+
return acc;
|
522 |
+
}, mergeTarget);
|
523 |
+
};
|
524 |
+
|
525 |
+
exports.assign = function assignSingleSource(target, source) {
|
526 |
+
return Object.keys(source).reduce(function (acc, key) {
|
527 |
+
acc[key] = source[key];
|
528 |
+
return acc;
|
529 |
+
}, target);
|
530 |
+
};
|
531 |
+
|
532 |
+
exports.decode = function (str) {
|
533 |
+
try {
|
534 |
+
return decodeURIComponent(str.replace(/\+/g, ' '));
|
535 |
+
} catch (e) {
|
536 |
+
return str;
|
537 |
+
}
|
538 |
+
};
|
539 |
+
|
540 |
+
exports.encode = function encode(str) {
|
541 |
+
// This code was originally written by Brian White (mscdex) for the io.js core querystring library.
|
542 |
+
// It has been adapted here for stricter adherence to RFC 3986
|
543 |
+
if (str.length === 0) {
|
544 |
+
return str;
|
545 |
+
}
|
546 |
+
|
547 |
+
var string = typeof str === 'string' ? str : String(str);
|
548 |
+
|
549 |
+
var out = '';
|
550 |
+
for (var i = 0; i < string.length; ++i) {
|
551 |
+
var c = string.charCodeAt(i);
|
552 |
+
|
553 |
+
if (
|
554 |
+
c === 0x2D // -
|
555 |
+
|| c === 0x2E // .
|
556 |
+
|| c === 0x5F // _
|
557 |
+
|| c === 0x7E // ~
|
558 |
+
|| (c >= 0x30 && c <= 0x39) // 0-9
|
559 |
+
|| (c >= 0x41 && c <= 0x5A) // a-z
|
560 |
+
|| (c >= 0x61 && c <= 0x7A) // A-Z
|
561 |
+
) {
|
562 |
+
out += string.charAt(i);
|
563 |
+
continue;
|
564 |
+
}
|
565 |
+
|
566 |
+
if (c < 0x80) {
|
567 |
+
out = out + hexTable[c];
|
568 |
+
continue;
|
569 |
+
}
|
570 |
+
|
571 |
+
if (c < 0x800) {
|
572 |
+
out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]);
|
573 |
+
continue;
|
574 |
+
}
|
575 |
+
|
576 |
+
if (c < 0xD800 || c >= 0xE000) {
|
577 |
+
out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]);
|
578 |
+
continue;
|
579 |
+
}
|
580 |
+
|
581 |
+
i += 1;
|
582 |
+
c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF));
|
583 |
+
out += hexTable[0xF0 | (c >> 18)]
|
584 |
+
+ hexTable[0x80 | ((c >> 12) & 0x3F)]
|
585 |
+
+ hexTable[0x80 | ((c >> 6) & 0x3F)]
|
586 |
+
+ hexTable[0x80 | (c & 0x3F)];
|
587 |
+
}
|
588 |
+
|
589 |
+
return out;
|
590 |
+
};
|
591 |
+
|
592 |
+
exports.compact = function compact(value) {
|
593 |
+
var queue = [{ obj: { o: value }, prop: 'o' }];
|
594 |
+
var refs = [];
|
595 |
+
|
596 |
+
for (var i = 0; i < queue.length; ++i) {
|
597 |
+
var item = queue[i];
|
598 |
+
var obj = item.obj[item.prop];
|
599 |
+
|
600 |
+
var keys = Object.keys(obj);
|
601 |
+
for (var j = 0; j < keys.length; ++j) {
|
602 |
+
var key = keys[j];
|
603 |
+
var val = obj[key];
|
604 |
+
if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) {
|
605 |
+
queue.push({ obj: obj, prop: key });
|
606 |
+
refs.push(val);
|
607 |
+
}
|
608 |
+
}
|
609 |
+
}
|
610 |
+
|
611 |
+
return compactQueue(queue);
|
612 |
+
};
|
613 |
+
|
614 |
+
exports.isRegExp = function isRegExp(obj) {
|
615 |
+
return Object.prototype.toString.call(obj) === '[object RegExp]';
|
616 |
+
};
|
617 |
+
|
618 |
+
exports.isBuffer = function isBuffer(obj) {
|
619 |
+
if (obj === null || typeof obj === 'undefined') {
|
620 |
+
return false;
|
621 |
+
}
|
622 |
+
|
623 |
+
return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));
|
624 |
+
};
|
625 |
+
|
626 |
+
},{}]},{},[2])(2)
|
627 |
+
});
|
js/qs.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var r;r="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,r.Qs=e()}}(function(){return function e(r,t,o){function n(a,l){if(!t[a]){if(!r[a]){var c="function"==typeof require&&require;if(!l&&c)return c(a,!0);if(i)return i(a,!0);var f=new Error("Cannot find module '"+a+"'");throw f.code="MODULE_NOT_FOUND",f}var u=t[a]={exports:{}};r[a][0].call(u.exports,function(e){var t=r[a][1][e];return n(t?t:e)},u,u.exports,e,r,t,o)}return t[a].exports}for(var i="function"==typeof require&&require,a=0;a<o.length;a++)n(o[a]);return n}({1:[function(e,r,t){"use strict";var o=String.prototype.replace,n=/%20/g;r.exports={"default":"RFC3986",formatters:{RFC1738:function(e){return o.call(e,n,"+")},RFC3986:function(e){return e}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},{}],2:[function(e,r,t){"use strict";var o=e("./stringify"),n=e("./parse"),i=e("./formats");r.exports={formats:i,parse:n,stringify:o}},{"./formats":1,"./parse":3,"./stringify":4}],3:[function(e,r,t){"use strict";var o=e("./utils"),n=Object.prototype.hasOwnProperty,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:o.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},a=function(e,r){for(var t={},o=r.ignoreQueryPrefix?e.replace(/^\?/,""):e,a=r.parameterLimit===1/0?void 0:r.parameterLimit,l=o.split(r.delimiter,a),c=0;c<l.length;++c){var f,u,s=l[c],p=s.indexOf("]="),d=p===-1?s.indexOf("="):p+1;d===-1?(f=r.decoder(s,i.decoder),u=r.strictNullHandling?null:""):(f=r.decoder(s.slice(0,d),i.decoder),u=r.decoder(s.slice(d+1),i.decoder)),n.call(t,f)?t[f]=[].concat(t[f]).concat(u):t[f]=u}return t},l=function(e,r,t){for(var o=r,n=e.length-1;n>=0;--n){var i,a=e[n];if("[]"===a)i=[],i=i.concat(o);else{i=t.plainObjects?Object.create(null):{};var l="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,c=parseInt(l,10);!isNaN(c)&&a!==l&&String(c)===l&&c>=0&&t.parseArrays&&c<=t.arrayLimit?(i=[],i[c]=o):i[l]=o}o=i}return o},c=function(e,r,t){if(e){var o=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/,a=/(\[[^[\]]*])/g,c=i.exec(o),f=c?o.slice(0,c.index):o,u=[];if(f){if(!t.plainObjects&&n.call(Object.prototype,f)&&!t.allowPrototypes)return;u.push(f)}for(var s=0;null!==(c=a.exec(o))&&s<t.depth;){if(s+=1,!t.plainObjects&&n.call(Object.prototype,c[1].slice(1,-1))&&!t.allowPrototypes)return;u.push(c[1])}return c&&u.push("["+o.slice(c.index)+"]"),l(u,r,t)}};r.exports=function(e,r){var t=r?o.assign({},r):{};if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(t.ignoreQueryPrefix=t.ignoreQueryPrefix===!0,t.delimiter="string"==typeof t.delimiter||o.isRegExp(t.delimiter)?t.delimiter:i.delimiter,t.depth="number"==typeof t.depth?t.depth:i.depth,t.arrayLimit="number"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,t.parseArrays=t.parseArrays!==!1,t.decoder="function"==typeof t.decoder?t.decoder:i.decoder,t.allowDots="boolean"==typeof t.allowDots?t.allowDots:i.allowDots,t.plainObjects="boolean"==typeof t.plainObjects?t.plainObjects:i.plainObjects,t.allowPrototypes="boolean"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,t.parameterLimit="number"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,t.strictNullHandling="boolean"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling,""===e||null===e||"undefined"==typeof e)return t.plainObjects?Object.create(null):{};for(var n="string"==typeof e?a(e,t):e,l=t.plainObjects?Object.create(null):{},f=Object.keys(n),u=0;u<f.length;++u){var s=f[u],p=c(s,n[s],t);l=o.merge(l,p,t)}return o.compact(l)}},{"./utils":5}],4:[function(e,r,t){"use strict";var o=e("./utils"),n=e("./formats"),i={brackets:function(e){return e+"[]"},indices:function(e,r){return e+"["+r+"]"},repeat:function(e){return e}},a=Date.prototype.toISOString,l={delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,serializeDate:function(e){return a.call(e)},skipNulls:!1,strictNullHandling:!1},c=function f(e,r,t,n,i,a,c,u,s,p,d,y){var b=e;if("function"==typeof c)b=c(r,b);else if(b instanceof Date)b=p(b);else if(null===b){if(n)return a&&!y?a(r,l.encoder):r;b=""}if("string"==typeof b||"number"==typeof b||"boolean"==typeof b||o.isBuffer(b)){if(a){var m=y?r:a(r,l.encoder);return[d(m)+"="+d(a(b,l.encoder))]}return[d(r)+"="+d(String(b))]}var g=[];if("undefined"==typeof b)return g;var v;if(Array.isArray(c))v=c;else{var h=Object.keys(b);v=u?h.sort(u):h}for(var j=0;j<v.length;++j){var O=v[j];i&&null===b[O]||(g=Array.isArray(b)?g.concat(f(b[O],t(r,O),t,n,i,a,c,u,s,p,d,y)):g.concat(f(b[O],r+(s?"."+O:"["+O+"]"),t,n,i,a,c,u,s,p,d,y)))}return g};r.exports=function(e,r){var t=e,a=r?o.assign({},r):{};if(null!==a.encoder&&void 0!==a.encoder&&"function"!=typeof a.encoder)throw new TypeError("Encoder has to be a function.");var f="undefined"==typeof a.delimiter?l.delimiter:a.delimiter,u="boolean"==typeof a.strictNullHandling?a.strictNullHandling:l.strictNullHandling,s="boolean"==typeof a.skipNulls?a.skipNulls:l.skipNulls,p="boolean"==typeof a.encode?a.encode:l.encode,d="function"==typeof a.encoder?a.encoder:l.encoder,y="function"==typeof a.sort?a.sort:null,b="undefined"!=typeof a.allowDots&&a.allowDots,m="function"==typeof a.serializeDate?a.serializeDate:l.serializeDate,g="boolean"==typeof a.encodeValuesOnly?a.encodeValuesOnly:l.encodeValuesOnly;if("undefined"==typeof a.format)a.format=n["default"];else if(!Object.prototype.hasOwnProperty.call(n.formatters,a.format))throw new TypeError("Unknown format option provided.");var v,h,j=n.formatters[a.format];"function"==typeof a.filter?(h=a.filter,t=h("",t)):Array.isArray(a.filter)&&(h=a.filter,v=h);var O=[];if("object"!=typeof t||null===t)return"";var w;w=a.arrayFormat in i?a.arrayFormat:"indices"in a?a.indices?"indices":"repeat":"indices";var A=i[w];v||(v=Object.keys(t)),y&&v.sort(y);for(var x=0;x<v.length;++x){var N=v[x];s&&null===t[N]||(O=O.concat(c(t[N],N,A,u,s,p?d:null,h,y,b,m,j,g)))}var D=O.join(f),P=a.addQueryPrefix===!0?"?":"";return D.length>0?P+D:""}},{"./formats":1,"./utils":5}],5:[function(e,r,t){"use strict";var o=Object.prototype.hasOwnProperty,n=function(){for(var e=[],r=0;r<256;++r)e.push("%"+((r<16?"0":"")+r.toString(16)).toUpperCase());return e}(),i=function(e){for(var r;e.length;){var t=e.pop();if(r=t.obj[t.prop],Array.isArray(r)){for(var o=[],n=0;n<r.length;++n)"undefined"!=typeof r[n]&&o.push(r[n]);t.obj[t.prop]=o}}return r};t.arrayToObject=function(e,r){for(var t=r&&r.plainObjects?Object.create(null):{},o=0;o<e.length;++o)"undefined"!=typeof e[o]&&(t[o]=e[o]);return t},t.merge=function(e,r,n){if(!r)return e;if("object"!=typeof r){if(Array.isArray(e))e.push(r);else{if("object"!=typeof e)return[e,r];(n.plainObjects||n.allowPrototypes||!o.call(Object.prototype,r))&&(e[r]=!0)}return e}if("object"!=typeof e)return[e].concat(r);var i=e;return Array.isArray(e)&&!Array.isArray(r)&&(i=t.arrayToObject(e,n)),Array.isArray(e)&&Array.isArray(r)?(r.forEach(function(r,i){o.call(e,i)?e[i]&&"object"==typeof e[i]?e[i]=t.merge(e[i],r,n):e.push(r):e[i]=r}),e):Object.keys(r).reduce(function(e,i){var a=r[i];return o.call(e,i)?e[i]=t.merge(e[i],a,n):e[i]=a,e},i)},t.assign=function(e,r){return Object.keys(r).reduce(function(e,t){return e[t]=r[t],e},e)},t.decode=function(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(r){return e}},t.encode=function(e){if(0===e.length)return e;for(var r="string"==typeof e?e:String(e),t="",o=0;o<r.length;++o){var i=r.charCodeAt(o);45===i||46===i||95===i||126===i||i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122?t+=r.charAt(o):i<128?t+=n[i]:i<2048?t+=n[192|i>>6]+n[128|63&i]:i<55296||i>=57344?t+=n[224|i>>12]+n[128|i>>6&63]+n[128|63&i]:(o+=1,i=65536+((1023&i)<<10|1023&r.charCodeAt(o)),t+=n[240|i>>18]+n[128|i>>12&63]+n[128|i>>6&63]+n[128|63&i])}return t},t.compact=function(e){for(var r=[{obj:{o:e},prop:"o"}],t=[],o=0;o<r.length;++o)for(var n=r[o],a=n.obj[n.prop],l=Object.keys(a),c=0;c<l.length;++c){var f=l[c],u=a[f];"object"==typeof u&&null!==u&&t.indexOf(u)===-1&&(r.push({obj:a,prop:f}),t.push(u))}return i(r)},t.isRegExp=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},t.isBuffer=function(e){return null!==e&&"undefined"!=typeof e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}},{}]},{},[2])(2)});
|
languages/stops-core-theme-and-plugin-updates.pot
ADDED
@@ -0,0 +1,1185 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2018 stops-core-theme-and-plugin-updates
|
2 |
+
# This file is distributed under the same license as the stops-core-theme-and-plugin-updates package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: stops-core-theme-and-plugin-updates\n"
|
6 |
+
"Report-Msgid-Bugs-To: http://example.com\n"
|
7 |
+
"MIME-Version: 1.0\n"
|
8 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
9 |
+
"Content-Transfer-Encoding: 8bit\n"
|
10 |
+
"PO-Revision-Date: 2018-MO-DA HO:MI+ZONE\n"
|
11 |
+
"Last-Translator: John Doe <mail@example.com>\n"
|
12 |
+
"Language-Team: Team Updraft <mail@example.com>\n"
|
13 |
+
"X-Poedit-Basepath: ..\n"
|
14 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
+
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
16 |
+
"X-Poedit-SearchPath-0: .\n"
|
17 |
+
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
18 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
19 |
+
|
20 |
+
#: src/includes/MPSUM_Admin_Advanced.php:155
|
21 |
+
msgid "The exclusion of users option has been updated."
|
22 |
+
msgstr ""
|
23 |
+
|
24 |
+
#: src/includes/MPSUM_Admin_Advanced.php:158
|
25 |
+
msgid "The plugin settings have now been reset."
|
26 |
+
msgstr ""
|
27 |
+
|
28 |
+
#: src/includes/MPSUM_Admin_Advanced.php:161
|
29 |
+
msgid "Force update checks have been initialized. Please check your site in 90 seconds, and refresh to test automatic updates."
|
30 |
+
msgstr ""
|
31 |
+
|
32 |
+
#: src/includes/MPSUM_Admin_Advanced.php:164
|
33 |
+
msgid "Logs are now enabled"
|
34 |
+
msgstr ""
|
35 |
+
|
36 |
+
#: src/includes/MPSUM_Admin_Advanced.php:167
|
37 |
+
msgid "Logs have been disabled"
|
38 |
+
msgstr ""
|
39 |
+
|
40 |
+
#: src/includes/MPSUM_Admin_Advanced.php:170
|
41 |
+
msgid "Logs have been emptied"
|
42 |
+
msgstr ""
|
43 |
+
|
44 |
+
#: src/includes/MPSUM_Admin_Advanced.php:173, src/includes/MPSUM_Admin_Core.php:171
|
45 |
+
msgid "Options saved."
|
46 |
+
msgstr ""
|
47 |
+
|
48 |
+
#: src/includes/MPSUM_Admin_Advanced.php:185
|
49 |
+
msgid "Exclude Users"
|
50 |
+
msgstr ""
|
51 |
+
|
52 |
+
#: src/includes/MPSUM_Admin_Advanced.php:186
|
53 |
+
msgid "Select which users to be excluded from the settings of this plugin. Default WordPress behavior will be used."
|
54 |
+
msgstr ""
|
55 |
+
|
56 |
+
#: src/includes/MPSUM_Admin_Advanced.php:187
|
57 |
+
msgid "This option is useful if, for example, you would like to disable updates, but have a user account that can still update WordPress."
|
58 |
+
msgstr ""
|
59 |
+
|
60 |
+
#: src/includes/MPSUM_Admin_Advanced.php:190
|
61 |
+
msgid "Users to be Excluded"
|
62 |
+
msgstr ""
|
63 |
+
|
64 |
+
#: src/includes/MPSUM_Admin_Advanced.php:229
|
65 |
+
msgid "Save Users"
|
66 |
+
msgstr ""
|
67 |
+
|
68 |
+
#: src/includes/MPSUM_Admin_Advanced.php:235
|
69 |
+
msgid "Force Automatic Updates"
|
70 |
+
msgstr ""
|
71 |
+
|
72 |
+
#: src/includes/MPSUM_Admin_Advanced.php:248
|
73 |
+
msgid "This will attempt to force automatic updates. This is useful for debugging."
|
74 |
+
msgstr ""
|
75 |
+
|
76 |
+
#: src/includes/MPSUM_Admin_Advanced.php:253
|
77 |
+
msgid "Force Updates"
|
78 |
+
msgstr ""
|
79 |
+
|
80 |
+
#: src/includes/MPSUM_Admin_Advanced.php:263, src/includes/MPSUM_Admin_Advanced.php:273
|
81 |
+
msgctxt "Advanced title heading"
|
82 |
+
msgid "Logs"
|
83 |
+
msgstr ""
|
84 |
+
|
85 |
+
#: src/includes/MPSUM_Admin_Advanced.php:264
|
86 |
+
msgid "This feature enables a Logs tab which will log all updates that occur. <a href=\"%s\">See Logs on YouTube</a>."
|
87 |
+
msgstr ""
|
88 |
+
|
89 |
+
#: src/includes/MPSUM_Admin_Advanced.php:267, src/includes/MPSUM_Admin.php:317
|
90 |
+
msgid "Enable Logs"
|
91 |
+
msgstr ""
|
92 |
+
|
93 |
+
#: src/includes/MPSUM_Admin_Advanced.php:278
|
94 |
+
msgid "This will clear the log table."
|
95 |
+
msgstr ""
|
96 |
+
|
97 |
+
#: src/includes/MPSUM_Admin_Advanced.php:280
|
98 |
+
msgid "Clear Logs"
|
99 |
+
msgstr ""
|
100 |
+
|
101 |
+
#: src/includes/MPSUM_Admin_Advanced.php:288
|
102 |
+
msgid "Reset Options"
|
103 |
+
msgstr ""
|
104 |
+
|
105 |
+
#: src/includes/MPSUM_Admin_Advanced.php:289
|
106 |
+
msgid "This will reset all options to as if you have just installed the plugin. WARNING!: This also disables and clears the logs."
|
107 |
+
msgstr ""
|
108 |
+
|
109 |
+
#: src/includes/MPSUM_Admin_Advanced.php:294
|
110 |
+
msgid "Reset All Options"
|
111 |
+
msgstr ""
|
112 |
+
|
113 |
+
#: src/includes/MPSUM_Admin_Core.php:178
|
114 |
+
msgid "The email address is not valid"
|
115 |
+
msgstr ""
|
116 |
+
|
117 |
+
#: src/includes/MPSUM_Admin_Core.php:189
|
118 |
+
msgid "Global Settings"
|
119 |
+
msgstr ""
|
120 |
+
|
121 |
+
#: src/includes/MPSUM_Admin_Core.php:192
|
122 |
+
msgid "All Updates"
|
123 |
+
msgstr ""
|
124 |
+
|
125 |
+
#: src/includes/MPSUM_Admin_Core.php:194, src/includes/MPSUM_Admin_Core.php:202, src/includes/MPSUM_Admin_Core.php:210, src/includes/MPSUM_Admin_Core.php:217, src/includes/MPSUM_Admin_Core.php:224, src/includes/MPSUM_Admin_Core.php:235, src/includes/MPSUM_Admin_Core.php:243, src/includes/MPSUM_Admin_Core.php:251, src/includes/MPSUM_Admin_Core.php:259, src/includes/MPSUM_Admin_Core.php:269, src/includes/MPSUM_Admin_Core.php:279, src/includes/MPSUM_Admin_Core.php:329, src/includes/MPSUM_Admin_Core.php:337, src/includes/MPSUM_Admin.php:376
|
126 |
+
msgid "Enabled"
|
127 |
+
msgstr ""
|
128 |
+
|
129 |
+
#: src/includes/MPSUM_Admin_Core.php:195, src/includes/MPSUM_Admin_Core.php:203, src/includes/MPSUM_Admin_Core.php:211, src/includes/MPSUM_Admin_Core.php:218, src/includes/MPSUM_Admin_Core.php:225, src/includes/MPSUM_Admin_Core.php:236, src/includes/MPSUM_Admin_Core.php:244, src/includes/MPSUM_Admin_Core.php:252, src/includes/MPSUM_Admin_Core.php:260, src/includes/MPSUM_Admin_Core.php:270, src/includes/MPSUM_Admin_Core.php:280, src/includes/MPSUM_Admin_Core.php:330, src/includes/MPSUM_Admin_Core.php:338, src/includes/MPSUM_Admin.php:377
|
130 |
+
msgid "Disabled"
|
131 |
+
msgstr ""
|
132 |
+
|
133 |
+
#: src/includes/MPSUM_Admin_Core.php:196
|
134 |
+
msgid "If this option is disabled, this will override all settings."
|
135 |
+
msgstr ""
|
136 |
+
|
137 |
+
#: src/includes/MPSUM_Admin_Core.php:200, src/includes/MPSUM_Admin.php:345
|
138 |
+
msgid "WordPress Core Updates"
|
139 |
+
msgstr ""
|
140 |
+
|
141 |
+
#: src/includes/MPSUM_Admin_Core.php:204
|
142 |
+
msgid "Prevents WordPress from showing it needs to be updated."
|
143 |
+
msgstr ""
|
144 |
+
|
145 |
+
#: src/includes/MPSUM_Admin_Core.php:208
|
146 |
+
msgid "All Plugin Updates"
|
147 |
+
msgstr ""
|
148 |
+
|
149 |
+
#: src/includes/MPSUM_Admin_Core.php:215
|
150 |
+
msgid "All Theme Updates"
|
151 |
+
msgstr ""
|
152 |
+
|
153 |
+
#: src/includes/MPSUM_Admin_Core.php:222
|
154 |
+
msgid "All Translation Updates"
|
155 |
+
msgstr ""
|
156 |
+
|
157 |
+
#: src/includes/MPSUM_Admin_Core.php:229, src/includes/MPSUM_Admin.php:270
|
158 |
+
msgid "Automatic Updates"
|
159 |
+
msgstr ""
|
160 |
+
|
161 |
+
#: src/includes/MPSUM_Admin_Core.php:230
|
162 |
+
msgid "These options will enable or disable automatic updates (background updates) of certain parts of WordPress."
|
163 |
+
msgstr ""
|
164 |
+
|
165 |
+
#: src/includes/MPSUM_Admin_Core.php:233
|
166 |
+
msgid "Major Releases"
|
167 |
+
msgstr ""
|
168 |
+
|
169 |
+
#: src/includes/MPSUM_Admin_Core.php:237, src/includes/MPSUM_Admin.php:273
|
170 |
+
msgid "Automatically update to major releases (e.g., 4.1, 4.2, 4.3)."
|
171 |
+
msgstr ""
|
172 |
+
|
173 |
+
#: src/includes/MPSUM_Admin_Core.php:241
|
174 |
+
msgid "Minor Releases"
|
175 |
+
msgstr ""
|
176 |
+
|
177 |
+
#: src/includes/MPSUM_Admin_Core.php:245, src/includes/MPSUM_Admin.php:279
|
178 |
+
msgid "Automatically update to minor releases (e.g., 4.1.1, 4.1.2, 4.1.3)."
|
179 |
+
msgstr ""
|
180 |
+
|
181 |
+
#: src/includes/MPSUM_Admin_Core.php:249
|
182 |
+
msgid "Development Updates"
|
183 |
+
msgstr ""
|
184 |
+
|
185 |
+
#: src/includes/MPSUM_Admin_Core.php:253
|
186 |
+
msgid "Update automatically to Bleeding Edge releases."
|
187 |
+
msgstr ""
|
188 |
+
|
189 |
+
#: src/includes/MPSUM_Admin_Core.php:257, src/includes/MPSUM_Admin.php:297
|
190 |
+
msgid "Automatic Plugin Updates"
|
191 |
+
msgstr ""
|
192 |
+
|
193 |
+
#: src/includes/MPSUM_Admin_Core.php:261, src/includes/MPSUM_Admin_Core.php:271
|
194 |
+
msgid "Default"
|
195 |
+
msgstr ""
|
196 |
+
|
197 |
+
#: src/includes/MPSUM_Admin_Core.php:262, src/includes/MPSUM_Admin_Core.php:272, src/includes/MPSUM_Admin.php:296
|
198 |
+
msgid "Select Individually"
|
199 |
+
msgstr ""
|
200 |
+
|
201 |
+
#: src/includes/MPSUM_Admin_Core.php:263
|
202 |
+
msgid "Automatically update your plugins. Select always on, always off, the WordPress default, or select plugins individually."
|
203 |
+
msgstr ""
|
204 |
+
|
205 |
+
#: src/includes/MPSUM_Admin_Core.php:267, src/includes/MPSUM_Admin.php:303
|
206 |
+
msgid "Automatic Theme Updates"
|
207 |
+
msgstr ""
|
208 |
+
|
209 |
+
#: src/includes/MPSUM_Admin_Core.php:273
|
210 |
+
msgid "Automatically update your themes. Select always on, always off, the WordPress default, or select themes individually."
|
211 |
+
msgstr ""
|
212 |
+
|
213 |
+
#: src/includes/MPSUM_Admin_Core.php:277
|
214 |
+
msgid "Translation Updates"
|
215 |
+
msgstr ""
|
216 |
+
|
217 |
+
#: src/includes/MPSUM_Admin_Core.php:281, src/includes/MPSUM_Admin.php:291
|
218 |
+
msgid "Automatically update your translations."
|
219 |
+
msgstr ""
|
220 |
+
|
221 |
+
#: src/includes/MPSUM_Admin_Core.php:285
|
222 |
+
msgid "Notifications"
|
223 |
+
msgstr ""
|
224 |
+
|
225 |
+
#: src/includes/MPSUM_Admin_Core.php:288
|
226 |
+
msgid "Core E-mails"
|
227 |
+
msgstr ""
|
228 |
+
|
229 |
+
#: src/includes/MPSUM_Admin_Core.php:291
|
230 |
+
msgid "Core Update Emails"
|
231 |
+
msgstr ""
|
232 |
+
|
233 |
+
#: src/includes/MPSUM_Admin_Core.php:299
|
234 |
+
msgid "Notification E-mail"
|
235 |
+
msgstr ""
|
236 |
+
|
237 |
+
#: src/includes/MPSUM_Admin_Core.php:320
|
238 |
+
msgid "Emails can be comma separated"
|
239 |
+
msgstr ""
|
240 |
+
|
241 |
+
#: src/includes/MPSUM_Admin_Core.php:324
|
242 |
+
msgid "Miscellaneous"
|
243 |
+
msgstr ""
|
244 |
+
|
245 |
+
#: src/includes/MPSUM_Admin_Core.php:327
|
246 |
+
msgid "Browser Nag"
|
247 |
+
msgstr ""
|
248 |
+
|
249 |
+
#: src/includes/MPSUM_Admin_Core.php:331
|
250 |
+
msgid "Removes the browser nag for people using older browsers."
|
251 |
+
msgstr ""
|
252 |
+
|
253 |
+
#: src/includes/MPSUM_Admin_Core.php:335, src/includes/MPSUM_Admin.php:327
|
254 |
+
msgid "WordPress Version in Footer"
|
255 |
+
msgstr ""
|
256 |
+
|
257 |
+
#: src/includes/MPSUM_Admin_Core.php:339
|
258 |
+
msgid "Removes the WordPress version in the footer."
|
259 |
+
msgstr ""
|
260 |
+
|
261 |
+
#: src/includes/MPSUM_Admin_Core.php:347
|
262 |
+
msgid "Save Changes"
|
263 |
+
msgstr ""
|
264 |
+
|
265 |
+
#: src/includes/MPSUM_Admin_Core.php:349
|
266 |
+
msgid "Reset to Defaults"
|
267 |
+
msgstr ""
|
268 |
+
|
269 |
+
#: src/includes/MPSUM_Admin_Help.php:28
|
270 |
+
msgid "Our Website"
|
271 |
+
msgstr ""
|
272 |
+
|
273 |
+
#: src/includes/MPSUM_Admin_Help.php:29
|
274 |
+
msgid "Donate"
|
275 |
+
msgstr ""
|
276 |
+
|
277 |
+
#: src/includes/MPSUM_Admin_Help.php:30
|
278 |
+
msgid "Support on WordPress"
|
279 |
+
msgstr ""
|
280 |
+
|
281 |
+
#: src/includes/MPSUM_Admin_Help.php:31
|
282 |
+
msgid "GitHub Repository"
|
283 |
+
msgstr ""
|
284 |
+
|
285 |
+
#: src/includes/MPSUM_Admin_Help.php:32
|
286 |
+
msgid "Official Documentation"
|
287 |
+
msgstr ""
|
288 |
+
|
289 |
+
#: src/includes/MPSUM_Admin_Help.php:42
|
290 |
+
msgid "This is the Easy Updates Manager settings help tab. Here you will find helpful information on what Easy Updates Manager does and how to use it."
|
291 |
+
msgstr ""
|
292 |
+
|
293 |
+
#: src/includes/MPSUM_Admin_Help.php:44
|
294 |
+
msgid "Please Note!"
|
295 |
+
msgstr ""
|
296 |
+
|
297 |
+
#: src/includes/MPSUM_Admin_Help.php:44
|
298 |
+
msgid "If either your WordPress core, theme, or plugins get too out of date, you may run into compatibility problems. Check the capability tab for more information."
|
299 |
+
msgstr ""
|
300 |
+
|
301 |
+
#: src/includes/MPSUM_Admin_Help.php:46
|
302 |
+
msgid "Check out our Wiki for updated documentation and videos."
|
303 |
+
msgstr ""
|
304 |
+
|
305 |
+
#: src/includes/MPSUM_Admin_Help.php:49
|
306 |
+
msgid "You will see multiple tabs where you can configure the update options."
|
307 |
+
msgstr ""
|
308 |
+
|
309 |
+
#: src/includes/MPSUM_Admin_Help.php:50, src/includes/MPSUM_Admin.php:451, src/includes/MPSUM_Admin.php:458
|
310 |
+
msgid "General"
|
311 |
+
msgstr ""
|
312 |
+
|
313 |
+
#: src/includes/MPSUM_Admin_Help.php:50
|
314 |
+
msgid "Use this screen to finely tune which updates and automatic updates you would like to see."
|
315 |
+
msgstr ""
|
316 |
+
|
317 |
+
#: src/includes/MPSUM_Admin_Help.php:51, src/includes/MPSUM_Admin.php:466
|
318 |
+
msgid "Plugins"
|
319 |
+
msgstr ""
|
320 |
+
|
321 |
+
#: src/includes/MPSUM_Admin_Help.php:51
|
322 |
+
msgid "If plugin updates are enabled and/or automatic updates for plugins are enabled, you can configure which plugins will receive updates and/or automatic updates."
|
323 |
+
msgstr ""
|
324 |
+
|
325 |
+
#: src/includes/MPSUM_Admin_Help.php:52, src/includes/MPSUM_Admin.php:472
|
326 |
+
msgid "Themes"
|
327 |
+
msgstr ""
|
328 |
+
|
329 |
+
#: src/includes/MPSUM_Admin_Help.php:52
|
330 |
+
msgid "If theme updates are enabled and/or automatic updates for themes are enabled, you can configure which themes will receive updates and/or automatic updates."
|
331 |
+
msgstr ""
|
332 |
+
|
333 |
+
#: src/includes/MPSUM_Admin_Help.php:53, src/includes/MPSUM_Admin.php:479
|
334 |
+
msgid "Logs"
|
335 |
+
msgstr ""
|
336 |
+
|
337 |
+
#: src/includes/MPSUM_Admin_Help.php:53
|
338 |
+
msgid "Logs all plugin, theme, and core updates. This tab is only visible if enabled in the \"Advanced\" tab."
|
339 |
+
msgstr ""
|
340 |
+
|
341 |
+
#: src/includes/MPSUM_Admin_Help.php:54, src/includes/MPSUM_Admin.php:486
|
342 |
+
msgid "Advanced"
|
343 |
+
msgstr ""
|
344 |
+
|
345 |
+
#: src/includes/MPSUM_Admin_Help.php:54
|
346 |
+
msgid "Reset all options or allow certain users to see all updates regardless of what settings you have set."
|
347 |
+
msgstr ""
|
348 |
+
|
349 |
+
#: src/includes/MPSUM_Admin_Help.php:77
|
350 |
+
msgid "Easy Updates Manager Contributors:"
|
351 |
+
msgstr ""
|
352 |
+
|
353 |
+
#: src/includes/MPSUM_Admin_Help.php:94
|
354 |
+
msgid "WordPress encourages you to update your plugins, themes, and core to make sure that there are no bugs. Even though you most likely want to disable all the updates and never think about updating again, you should still consider updating every once in a while to avoid major bugs and errors on your WordPress website."
|
355 |
+
msgstr ""
|
356 |
+
|
357 |
+
#: src/includes/MPSUM_Admin_Help.php:95
|
358 |
+
msgid "This plugin is tested with the most recent versions of WordPress to ensure that there are no major issues."
|
359 |
+
msgstr ""
|
360 |
+
|
361 |
+
#: src/includes/MPSUM_Admin_Help.php:100
|
362 |
+
msgid "Overview"
|
363 |
+
msgstr ""
|
364 |
+
|
365 |
+
#: src/includes/MPSUM_Admin_Help.php:106
|
366 |
+
msgid "Navigation"
|
367 |
+
msgstr ""
|
368 |
+
|
369 |
+
#: src/includes/MPSUM_Admin_Help.php:112
|
370 |
+
msgid "Documentation"
|
371 |
+
msgstr ""
|
372 |
+
|
373 |
+
#: src/includes/MPSUM_Admin_Help.php:118
|
374 |
+
msgid "Capability"
|
375 |
+
msgstr ""
|
376 |
+
|
377 |
+
#: src/includes/MPSUM_Admin_Logs.php:58
|
378 |
+
msgid "Update Logs"
|
379 |
+
msgstr ""
|
380 |
+
|
381 |
+
#: src/includes/MPSUM_Admin_Logs.php:59
|
382 |
+
msgid "Please note that this feature does not necessarily work for premium themes and plugins."
|
383 |
+
msgstr ""
|
384 |
+
|
385 |
+
#: src/includes/MPSUM_Admin_Plugins.php:212, src/includes/MPSUM_Admin_Themes.php:196
|
386 |
+
msgid "Settings have been updated."
|
387 |
+
msgstr ""
|
388 |
+
|
389 |
+
#: src/includes/MPSUM_Admin_Plugins.php:215
|
390 |
+
msgid "The selected plugins have had automatic updates enabled."
|
391 |
+
msgstr ""
|
392 |
+
|
393 |
+
#: src/includes/MPSUM_Admin_Plugins.php:217
|
394 |
+
msgid "The selected plugins have had automatic updates disabled."
|
395 |
+
msgstr ""
|
396 |
+
|
397 |
+
#: src/includes/MPSUM_Admin_Plugins.php:219
|
398 |
+
msgid "The selected plugin updates have been disabled."
|
399 |
+
msgstr ""
|
400 |
+
|
401 |
+
#: src/includes/MPSUM_Admin_Plugins.php:221
|
402 |
+
msgid "The selected plugin updates have been enabled."
|
403 |
+
msgstr ""
|
404 |
+
|
405 |
+
#: src/includes/MPSUM_Admin_Plugins.php:237
|
406 |
+
msgid "Plugin Update Options"
|
407 |
+
msgstr ""
|
408 |
+
|
409 |
+
#: src/includes/MPSUM_Admin_Plugins.php:241
|
410 |
+
msgid "All plugin updates have been disabled."
|
411 |
+
msgstr ""
|
412 |
+
|
413 |
+
#: src/includes/MPSUM_Admin_Screen_Options.php:81
|
414 |
+
msgid "Items Per Page"
|
415 |
+
msgstr ""
|
416 |
+
|
417 |
+
#: src/includes/MPSUM_Admin_Themes.php:198
|
418 |
+
msgid "The selected themes have had automatic updates enabled."
|
419 |
+
msgstr ""
|
420 |
+
|
421 |
+
#: src/includes/MPSUM_Admin_Themes.php:200
|
422 |
+
msgid "The selected themes have had automatic updates disabled."
|
423 |
+
msgstr ""
|
424 |
+
|
425 |
+
#: src/includes/MPSUM_Admin_Themes.php:202
|
426 |
+
msgid "The selected theme updates have been disabled."
|
427 |
+
msgstr ""
|
428 |
+
|
429 |
+
#: src/includes/MPSUM_Admin_Themes.php:204
|
430 |
+
msgid "The selected theme updates have been enabled."
|
431 |
+
msgstr ""
|
432 |
+
|
433 |
+
#: src/includes/MPSUM_Admin_Themes.php:221
|
434 |
+
msgid "Theme Update Options"
|
435 |
+
msgstr ""
|
436 |
+
|
437 |
+
#: src/includes/MPSUM_Admin_Themes.php:226
|
438 |
+
msgid "All theme updates have been disabled."
|
439 |
+
msgstr ""
|
440 |
+
|
441 |
+
#: src/includes/MPSUM_Admin.php:262
|
442 |
+
msgctxt "Option as Default"
|
443 |
+
msgid "Default"
|
444 |
+
msgstr ""
|
445 |
+
|
446 |
+
#: src/includes/MPSUM_Admin.php:263
|
447 |
+
msgctxt "Option enabled"
|
448 |
+
msgid "On"
|
449 |
+
msgstr ""
|
450 |
+
|
451 |
+
#: src/includes/MPSUM_Admin.php:264
|
452 |
+
msgctxt "Option disabled"
|
453 |
+
msgid "Off"
|
454 |
+
msgstr ""
|
455 |
+
|
456 |
+
#: src/includes/MPSUM_Admin.php:265
|
457 |
+
msgctxt "Option allows for configuration"
|
458 |
+
msgid "Custom"
|
459 |
+
msgstr ""
|
460 |
+
|
461 |
+
#: src/includes/MPSUM_Admin.php:266
|
462 |
+
msgid "You have selected default. WordPress will behave as if this plugin is not installed for automatic updates."
|
463 |
+
msgstr ""
|
464 |
+
|
465 |
+
#: src/includes/MPSUM_Admin.php:267
|
466 |
+
msgid "Automatic updates are on."
|
467 |
+
msgstr ""
|
468 |
+
|
469 |
+
#: src/includes/MPSUM_Admin.php:268
|
470 |
+
msgid "Automatic updates are off."
|
471 |
+
msgstr ""
|
472 |
+
|
473 |
+
#: src/includes/MPSUM_Admin.php:269
|
474 |
+
msgid "You have selected to customize the updates below."
|
475 |
+
msgstr ""
|
476 |
+
|
477 |
+
#: src/includes/MPSUM_Admin.php:271
|
478 |
+
msgid "These options will enable or disable automatic updates (background updates) of certain parts of WordPress. Select Custom for more flexibility. Leave as Default for normal WordPress behavior"
|
479 |
+
msgstr ""
|
480 |
+
|
481 |
+
#: src/includes/MPSUM_Admin.php:272
|
482 |
+
msgctxt "Major WordPress releases"
|
483 |
+
msgid "Major Releases"
|
484 |
+
msgstr ""
|
485 |
+
|
486 |
+
#: src/includes/MPSUM_Admin.php:274
|
487 |
+
msgid "Enable Major Releases"
|
488 |
+
msgstr ""
|
489 |
+
|
490 |
+
#: src/includes/MPSUM_Admin.php:275
|
491 |
+
msgid "Automatic major release updates are now turned on."
|
492 |
+
msgstr ""
|
493 |
+
|
494 |
+
#: src/includes/MPSUM_Admin.php:276
|
495 |
+
msgid "Disable Major Releases"
|
496 |
+
msgstr ""
|
497 |
+
|
498 |
+
#: src/includes/MPSUM_Admin.php:277
|
499 |
+
msgid "Automatic major release updates are now turned off."
|
500 |
+
msgstr ""
|
501 |
+
|
502 |
+
#: src/includes/MPSUM_Admin.php:278
|
503 |
+
msgctxt "Minor point releases for WordPress"
|
504 |
+
msgid "Minor Releases"
|
505 |
+
msgstr ""
|
506 |
+
|
507 |
+
#: src/includes/MPSUM_Admin.php:280
|
508 |
+
msgid "Enable Minor Releases"
|
509 |
+
msgstr ""
|
510 |
+
|
511 |
+
#: src/includes/MPSUM_Admin.php:281
|
512 |
+
msgid "Automatic minor release updates are now turned on."
|
513 |
+
msgstr ""
|
514 |
+
|
515 |
+
#: src/includes/MPSUM_Admin.php:282
|
516 |
+
msgid "Disable Minor Releases"
|
517 |
+
msgstr ""
|
518 |
+
|
519 |
+
#: src/includes/MPSUM_Admin.php:283
|
520 |
+
msgid "Automatic minor release updates are now turned off."
|
521 |
+
msgstr ""
|
522 |
+
|
523 |
+
#: src/includes/MPSUM_Admin.php:284
|
524 |
+
msgctxt "Beta and RC releases for WordPress"
|
525 |
+
msgid "Development Updates"
|
526 |
+
msgstr ""
|
527 |
+
|
528 |
+
#: src/includes/MPSUM_Admin.php:285
|
529 |
+
msgid "Allow your install to receive development updates from WordPress (for advanced users only)"
|
530 |
+
msgstr ""
|
531 |
+
|
532 |
+
#: src/includes/MPSUM_Admin.php:286
|
533 |
+
msgid "Enable Development Updates"
|
534 |
+
msgstr ""
|
535 |
+
|
536 |
+
#: src/includes/MPSUM_Admin.php:287
|
537 |
+
msgid "Automatic development release updates are now turned on."
|
538 |
+
msgstr ""
|
539 |
+
|
540 |
+
#: src/includes/MPSUM_Admin.php:288
|
541 |
+
msgid "Disable Development Updates"
|
542 |
+
msgstr ""
|
543 |
+
|
544 |
+
#: src/includes/MPSUM_Admin.php:289
|
545 |
+
msgid "Automatic development release updates are now turned off."
|
546 |
+
msgstr ""
|
547 |
+
|
548 |
+
#: src/includes/MPSUM_Admin.php:290
|
549 |
+
msgctxt "Enable or disable translation updates"
|
550 |
+
msgid "Translation Updates"
|
551 |
+
msgstr ""
|
552 |
+
|
553 |
+
#: src/includes/MPSUM_Admin.php:292
|
554 |
+
msgid "Enable Translation Updates"
|
555 |
+
msgstr ""
|
556 |
+
|
557 |
+
#: src/includes/MPSUM_Admin.php:293
|
558 |
+
msgid "Automatic translation updates are now turned on."
|
559 |
+
msgstr ""
|
560 |
+
|
561 |
+
#: src/includes/MPSUM_Admin.php:294
|
562 |
+
msgid "Disable Translation Updates"
|
563 |
+
msgstr ""
|
564 |
+
|
565 |
+
#: src/includes/MPSUM_Admin.php:295
|
566 |
+
msgid "Automatic translation updates are now turned off."
|
567 |
+
msgstr ""
|
568 |
+
|
569 |
+
#: src/includes/MPSUM_Admin.php:298
|
570 |
+
msgid "Automatically update your plugins. Select always on, always off, the WordPress default, or select plugins individually using the Plugins tab."
|
571 |
+
msgstr ""
|
572 |
+
|
573 |
+
#: src/includes/MPSUM_Admin.php:299
|
574 |
+
msgid "Automatic updates for plugins are now at their default setting (default is off)."
|
575 |
+
msgstr ""
|
576 |
+
|
577 |
+
#: src/includes/MPSUM_Admin.php:300
|
578 |
+
msgid "Automatic updates for plugins are now on."
|
579 |
+
msgstr ""
|
580 |
+
|
581 |
+
#: src/includes/MPSUM_Admin.php:301
|
582 |
+
msgid "Automatic updates for plugins are now off."
|
583 |
+
msgstr ""
|
584 |
+
|
585 |
+
#: src/includes/MPSUM_Admin.php:302
|
586 |
+
msgid "Automatic updates for plugins can be customized in the Plugins tab."
|
587 |
+
msgstr ""
|
588 |
+
|
589 |
+
#: src/includes/MPSUM_Admin.php:304
|
590 |
+
msgid "Automatically update your themes. Select always on, always off, the WordPress default, or select themes individually using the Themes tab."
|
591 |
+
msgstr ""
|
592 |
+
|
593 |
+
#: src/includes/MPSUM_Admin.php:305
|
594 |
+
msgid "Automatic updates for themes are now at their default setting (default is off)."
|
595 |
+
msgstr ""
|
596 |
+
|
597 |
+
#: src/includes/MPSUM_Admin.php:306
|
598 |
+
msgid "Automatic updates for themes are now on."
|
599 |
+
msgstr ""
|
600 |
+
|
601 |
+
#: src/includes/MPSUM_Admin.php:307
|
602 |
+
msgid "Automatic updates for themes are now off."
|
603 |
+
msgstr ""
|
604 |
+
|
605 |
+
#: src/includes/MPSUM_Admin.php:308
|
606 |
+
msgid "Automatic updates for themes can be customized in the Themes tab."
|
607 |
+
msgstr ""
|
608 |
+
|
609 |
+
#: src/includes/MPSUM_Admin.php:309
|
610 |
+
msgid "Disable All Updates"
|
611 |
+
msgstr ""
|
612 |
+
|
613 |
+
#: src/includes/MPSUM_Admin.php:310
|
614 |
+
msgid "This is a master switch and will enable or disable updates for the WordPress installation. Switching updates off is not recommended."
|
615 |
+
msgstr ""
|
616 |
+
|
617 |
+
#: src/includes/MPSUM_Admin.php:311
|
618 |
+
msgid "Enable All Updates "
|
619 |
+
msgstr ""
|
620 |
+
|
621 |
+
#: src/includes/MPSUM_Admin.php:312
|
622 |
+
msgid "All updates are allowed, however, you still need to configure the updates below."
|
623 |
+
msgstr ""
|
624 |
+
|
625 |
+
#: src/includes/MPSUM_Admin.php:313
|
626 |
+
msgid "Disable All Updates "
|
627 |
+
msgstr ""
|
628 |
+
|
629 |
+
#: src/includes/MPSUM_Admin.php:314
|
630 |
+
msgid "All updates are disabled."
|
631 |
+
msgstr ""
|
632 |
+
|
633 |
+
#: src/includes/MPSUM_Admin.php:315
|
634 |
+
msgctxt "Log what is stored when assets update"
|
635 |
+
msgid "Logs"
|
636 |
+
msgstr ""
|
637 |
+
|
638 |
+
#: src/includes/MPSUM_Admin.php:316
|
639 |
+
msgid "Logs will show you what assets have updated and will show up in the Logs tab."
|
640 |
+
msgstr ""
|
641 |
+
|
642 |
+
#: src/includes/MPSUM_Admin.php:318
|
643 |
+
msgid "Logs are enabled. You will find Logs in the Logs tab."
|
644 |
+
msgstr ""
|
645 |
+
|
646 |
+
#: src/includes/MPSUM_Admin.php:319
|
647 |
+
msgid "Disable Logs"
|
648 |
+
msgstr ""
|
649 |
+
|
650 |
+
#: src/includes/MPSUM_Admin.php:320
|
651 |
+
msgid "Logs are disabled."
|
652 |
+
msgstr ""
|
653 |
+
|
654 |
+
#: src/includes/MPSUM_Admin.php:321
|
655 |
+
msgctxt "WordPress shows a warning for older browsers"
|
656 |
+
msgid "Browser Nag"
|
657 |
+
msgstr ""
|
658 |
+
|
659 |
+
#: src/includes/MPSUM_Admin.php:322
|
660 |
+
msgid "Enables or disables the browser nag for users using older browsers."
|
661 |
+
msgstr ""
|
662 |
+
|
663 |
+
#: src/includes/MPSUM_Admin.php:323
|
664 |
+
msgid "Enable the Browser Nag"
|
665 |
+
msgstr ""
|
666 |
+
|
667 |
+
#: src/includes/MPSUM_Admin.php:324
|
668 |
+
msgid "The Browser Nag for older browsers is on."
|
669 |
+
msgstr ""
|
670 |
+
|
671 |
+
#: src/includes/MPSUM_Admin.php:325
|
672 |
+
msgid "Disable the Browser Nag"
|
673 |
+
msgstr ""
|
674 |
+
|
675 |
+
#: src/includes/MPSUM_Admin.php:326
|
676 |
+
msgid "The Browser Nag for older browsers is off."
|
677 |
+
msgstr ""
|
678 |
+
|
679 |
+
#: src/includes/MPSUM_Admin.php:328
|
680 |
+
msgid "Enables or disables the WordPress version from showing in the footer of the admin area."
|
681 |
+
msgstr ""
|
682 |
+
|
683 |
+
#: src/includes/MPSUM_Admin.php:329
|
684 |
+
msgid "Enable the Version in the Footer"
|
685 |
+
msgstr ""
|
686 |
+
|
687 |
+
#: src/includes/MPSUM_Admin.php:330
|
688 |
+
msgid "Showing the WordPress version in the footer is on."
|
689 |
+
msgstr ""
|
690 |
+
|
691 |
+
#: src/includes/MPSUM_Admin.php:331
|
692 |
+
msgid "Showing the WordPress version in the footer is off."
|
693 |
+
msgstr ""
|
694 |
+
|
695 |
+
#: src/includes/MPSUM_Admin.php:332
|
696 |
+
msgid "Disable the Version in the Footer"
|
697 |
+
msgstr ""
|
698 |
+
|
699 |
+
#: src/includes/MPSUM_Admin.php:333
|
700 |
+
msgid "Core Notification E-mails"
|
701 |
+
msgstr ""
|
702 |
+
|
703 |
+
#: src/includes/MPSUM_Admin.php:334
|
704 |
+
msgid "WordPress periodically sends update notification e-mails, such as in the case of automatic updates. By default, the email used is the one in Settings->General, but you can override this below."
|
705 |
+
msgstr ""
|
706 |
+
|
707 |
+
#: src/includes/MPSUM_Admin.php:335
|
708 |
+
msgid "Enable Core Notification E-mails"
|
709 |
+
msgstr ""
|
710 |
+
|
711 |
+
#: src/includes/MPSUM_Admin.php:336
|
712 |
+
msgid "E-mail notifications are on. You can configure which e-mail addresses are sent to below."
|
713 |
+
msgstr ""
|
714 |
+
|
715 |
+
#: src/includes/MPSUM_Admin.php:337
|
716 |
+
msgid "Disable Core Notification E-mails"
|
717 |
+
msgstr ""
|
718 |
+
|
719 |
+
#: src/includes/MPSUM_Admin.php:338
|
720 |
+
msgid "E-mail notifications are off"
|
721 |
+
msgstr ""
|
722 |
+
|
723 |
+
#: src/includes/MPSUM_Admin.php:339
|
724 |
+
msgid "Add an e-mail address"
|
725 |
+
msgstr ""
|
726 |
+
|
727 |
+
#: src/includes/MPSUM_Admin.php:340
|
728 |
+
msgid "Enter Comma Separated E-mail Addresses"
|
729 |
+
msgstr ""
|
730 |
+
|
731 |
+
#: src/includes/MPSUM_Admin.php:341
|
732 |
+
msgid "One or more e-mail addresses are invalid."
|
733 |
+
msgstr ""
|
734 |
+
|
735 |
+
#: src/includes/MPSUM_Admin.php:342
|
736 |
+
msgid "Save E-mail Addresses"
|
737 |
+
msgstr ""
|
738 |
+
|
739 |
+
#: src/includes/MPSUM_Admin.php:343
|
740 |
+
msgid "Please enter an e-mail address"
|
741 |
+
msgstr ""
|
742 |
+
|
743 |
+
#: src/includes/MPSUM_Admin.php:344
|
744 |
+
msgid "Saving..."
|
745 |
+
msgstr ""
|
746 |
+
|
747 |
+
#: src/includes/MPSUM_Admin.php:346
|
748 |
+
msgid "This allows you to disable or enable all core updates, including automatic updates."
|
749 |
+
msgstr ""
|
750 |
+
|
751 |
+
#: src/includes/MPSUM_Admin.php:347
|
752 |
+
msgid "Enable Core Updates "
|
753 |
+
msgstr ""
|
754 |
+
|
755 |
+
#: src/includes/MPSUM_Admin.php:348
|
756 |
+
msgid "Core updates are enabled."
|
757 |
+
msgstr ""
|
758 |
+
|
759 |
+
#: src/includes/MPSUM_Admin.php:349
|
760 |
+
msgid "Disable Core Updates "
|
761 |
+
msgstr ""
|
762 |
+
|
763 |
+
#: src/includes/MPSUM_Admin.php:350
|
764 |
+
msgid "Core updates are disabled."
|
765 |
+
msgstr ""
|
766 |
+
|
767 |
+
#: src/includes/MPSUM_Admin.php:351
|
768 |
+
msgid "WordPress Plugin Updates"
|
769 |
+
msgstr ""
|
770 |
+
|
771 |
+
#: src/includes/MPSUM_Admin.php:352
|
772 |
+
msgid "This allows you to disable or enable all plugin updates. Disabling this option will also disable automatic updates."
|
773 |
+
msgstr ""
|
774 |
+
|
775 |
+
#: src/includes/MPSUM_Admin.php:353
|
776 |
+
msgid "Enable Plugin Updates "
|
777 |
+
msgstr ""
|
778 |
+
|
779 |
+
#: src/includes/MPSUM_Admin.php:354
|
780 |
+
msgid "Plugin updates are enabled."
|
781 |
+
msgstr ""
|
782 |
+
|
783 |
+
#: src/includes/MPSUM_Admin.php:355
|
784 |
+
msgid "Disable Plugin Updates "
|
785 |
+
msgstr ""
|
786 |
+
|
787 |
+
#: src/includes/MPSUM_Admin.php:356
|
788 |
+
msgid "Plugin updates are disabled."
|
789 |
+
msgstr ""
|
790 |
+
|
791 |
+
#: src/includes/MPSUM_Admin.php:357
|
792 |
+
msgid "WordPress Theme Updates"
|
793 |
+
msgstr ""
|
794 |
+
|
795 |
+
#: src/includes/MPSUM_Admin.php:358
|
796 |
+
msgid "This allows you to disable or enable all theme updates. Disabling this option will also disable automatic updates."
|
797 |
+
msgstr ""
|
798 |
+
|
799 |
+
#: src/includes/MPSUM_Admin.php:359
|
800 |
+
msgid "Enable Theme Updates "
|
801 |
+
msgstr ""
|
802 |
+
|
803 |
+
#: src/includes/MPSUM_Admin.php:360
|
804 |
+
msgid "Theme updates are enabled."
|
805 |
+
msgstr ""
|
806 |
+
|
807 |
+
#: src/includes/MPSUM_Admin.php:361
|
808 |
+
msgid "Disable Theme Updates "
|
809 |
+
msgstr ""
|
810 |
+
|
811 |
+
#: src/includes/MPSUM_Admin.php:362
|
812 |
+
msgid "Theme updates are disabled."
|
813 |
+
msgstr ""
|
814 |
+
|
815 |
+
#: src/includes/MPSUM_Admin.php:363
|
816 |
+
msgid "WordPress Translation Updates"
|
817 |
+
msgstr ""
|
818 |
+
|
819 |
+
#: src/includes/MPSUM_Admin.php:364
|
820 |
+
msgid "This allows you to disable or enable all translations. Disabling this option will also disable automatic translation updates."
|
821 |
+
msgstr ""
|
822 |
+
|
823 |
+
#: src/includes/MPSUM_Admin.php:365
|
824 |
+
msgid "Enable Translation Updates "
|
825 |
+
msgstr ""
|
826 |
+
|
827 |
+
#: src/includes/MPSUM_Admin.php:366
|
828 |
+
msgid "Translation updates are enabled."
|
829 |
+
msgstr ""
|
830 |
+
|
831 |
+
#: src/includes/MPSUM_Admin.php:367
|
832 |
+
msgid "Disable Translation Updates "
|
833 |
+
msgstr ""
|
834 |
+
|
835 |
+
#: src/includes/MPSUM_Admin.php:368
|
836 |
+
msgid "Translation updates are disabled."
|
837 |
+
msgstr ""
|
838 |
+
|
839 |
+
#: src/includes/MPSUM_Admin.php:373
|
840 |
+
msgctxt "Show or hide admin tabs"
|
841 |
+
msgid "Tabs"
|
842 |
+
msgstr ""
|
843 |
+
|
844 |
+
#: src/includes/MPSUM_Admin.php:374
|
845 |
+
msgctxt "Show or hide the dashboard"
|
846 |
+
msgid "Show Dashboard"
|
847 |
+
msgstr ""
|
848 |
+
|
849 |
+
#: src/includes/MPSUM_Admin.php:380
|
850 |
+
msgid "Hey there! If Easy Updates Manager has helped you, can you do us a HUGE favor and give us a rating? THANKS! - The Easy Updates Manager team"
|
851 |
+
msgstr ""
|
852 |
+
|
853 |
+
#: src/includes/MPSUM_Admin.php:382
|
854 |
+
msgid "Sure! Absolutely."
|
855 |
+
msgstr ""
|
856 |
+
|
857 |
+
#: src/includes/MPSUM_Admin.php:383
|
858 |
+
msgid "No thanks!"
|
859 |
+
msgstr ""
|
860 |
+
|
861 |
+
#: src/includes/MPSUM_Admin.php:405, src/includes/MPSUM_Admin.php:405, src/includes/MPSUM_Admin.php:423, src/includes/MPSUM_Admin.php:423
|
862 |
+
msgid "Updates Options"
|
863 |
+
msgstr ""
|
864 |
+
|
865 |
+
#: src/includes/MPSUM_Admin.php:443
|
866 |
+
msgid "Manage Updates"
|
867 |
+
msgstr ""
|
868 |
+
|
869 |
+
#: src/includes/MPSUM_Admin.php:545
|
870 |
+
msgid "Configure"
|
871 |
+
msgstr ""
|
872 |
+
|
873 |
+
#: src/includes/MPSUM_Admin.php:575
|
874 |
+
msgid "Please Rate Easy Updates Manager!"
|
875 |
+
msgstr ""
|
876 |
+
|
877 |
+
#: src/includes/MPSUM_Logs_List_Table.php:124
|
878 |
+
msgid "Filter by date"
|
879 |
+
msgstr ""
|
880 |
+
|
881 |
+
#: src/includes/MPSUM_Logs_List_Table.php:126
|
882 |
+
msgid "All dates"
|
883 |
+
msgstr ""
|
884 |
+
|
885 |
+
#: src/includes/MPSUM_Logs_List_Table.php:150
|
886 |
+
msgid "Filter by Upgrade Type"
|
887 |
+
msgstr ""
|
888 |
+
|
889 |
+
#: src/includes/MPSUM_Logs_List_Table.php:152
|
890 |
+
msgctxt "Upgrade types: translation, core, plugin, theme"
|
891 |
+
msgid "All Types"
|
892 |
+
msgstr ""
|
893 |
+
|
894 |
+
#: src/includes/MPSUM_Logs_List_Table.php:153
|
895 |
+
msgctxt "Show WordPress core updates"
|
896 |
+
msgid "Core"
|
897 |
+
msgstr ""
|
898 |
+
|
899 |
+
#: src/includes/MPSUM_Logs_List_Table.php:154
|
900 |
+
msgctxt "Show WordPress Plugin updates"
|
901 |
+
msgid "Plugins"
|
902 |
+
msgstr ""
|
903 |
+
|
904 |
+
#: src/includes/MPSUM_Logs_List_Table.php:155
|
905 |
+
msgctxt "Show WordPress Theme updates"
|
906 |
+
msgid "Themes"
|
907 |
+
msgstr ""
|
908 |
+
|
909 |
+
#: src/includes/MPSUM_Logs_List_Table.php:156
|
910 |
+
msgctxt "Show WordPress translation updates"
|
911 |
+
msgid "Translations"
|
912 |
+
msgstr ""
|
913 |
+
|
914 |
+
#: src/includes/MPSUM_Logs_List_Table.php:164
|
915 |
+
msgid "Filter by Status"
|
916 |
+
msgstr ""
|
917 |
+
|
918 |
+
#: src/includes/MPSUM_Logs_List_Table.php:166
|
919 |
+
msgid "All Statuses"
|
920 |
+
msgstr ""
|
921 |
+
|
922 |
+
#: src/includes/MPSUM_Logs_List_Table.php:167
|
923 |
+
msgctxt "Show status updates that are successful"
|
924 |
+
msgid "Success"
|
925 |
+
msgstr ""
|
926 |
+
|
927 |
+
#: src/includes/MPSUM_Logs_List_Table.php:168
|
928 |
+
msgctxt "Show status updates that are not successful"
|
929 |
+
msgid "Failures"
|
930 |
+
msgstr ""
|
931 |
+
|
932 |
+
#: src/includes/MPSUM_Logs_List_Table.php:176
|
933 |
+
msgid "Filter by Action"
|
934 |
+
msgstr ""
|
935 |
+
|
936 |
+
#: src/includes/MPSUM_Logs_List_Table.php:178
|
937 |
+
msgid "All Actions"
|
938 |
+
msgstr ""
|
939 |
+
|
940 |
+
#: src/includes/MPSUM_Logs_List_Table.php:179
|
941 |
+
msgctxt "Show log items that are automatic updates only"
|
942 |
+
msgid "Automatic Updates"
|
943 |
+
msgstr ""
|
944 |
+
|
945 |
+
#: src/includes/MPSUM_Logs_List_Table.php:180
|
946 |
+
msgctxt "Show log items that are manual updates only"
|
947 |
+
msgid "Manual Updates"
|
948 |
+
msgstr ""
|
949 |
+
|
950 |
+
#: src/includes/MPSUM_Logs_List_Table.php:204
|
951 |
+
msgid "Filter"
|
952 |
+
msgstr ""
|
953 |
+
|
954 |
+
#: src/includes/MPSUM_Logs_List_Table.php:235
|
955 |
+
msgctxt "Column header for logs"
|
956 |
+
msgid "User"
|
957 |
+
msgstr ""
|
958 |
+
|
959 |
+
#: src/includes/MPSUM_Logs_List_Table.php:236
|
960 |
+
msgctxt "Column header for logs"
|
961 |
+
msgid "Name"
|
962 |
+
msgstr ""
|
963 |
+
|
964 |
+
#: src/includes/MPSUM_Logs_List_Table.php:237
|
965 |
+
msgctxt "Column header for logs"
|
966 |
+
msgid "Type"
|
967 |
+
msgstr ""
|
968 |
+
|
969 |
+
#: src/includes/MPSUM_Logs_List_Table.php:238
|
970 |
+
msgctxt "Column header for version number in logs"
|
971 |
+
msgid "From"
|
972 |
+
msgstr ""
|
973 |
+
|
974 |
+
#: src/includes/MPSUM_Logs_List_Table.php:239
|
975 |
+
msgctxt "Column header for version number in logs"
|
976 |
+
msgid "To"
|
977 |
+
msgstr ""
|
978 |
+
|
979 |
+
#: src/includes/MPSUM_Logs_List_Table.php:240
|
980 |
+
msgctxt "Column header for logs"
|
981 |
+
msgid "Action"
|
982 |
+
msgstr ""
|
983 |
+
|
984 |
+
#: src/includes/MPSUM_Logs_List_Table.php:241
|
985 |
+
msgctxt "Column header for logs"
|
986 |
+
msgid "Status"
|
987 |
+
msgstr ""
|
988 |
+
|
989 |
+
#: src/includes/MPSUM_Logs_List_Table.php:242
|
990 |
+
msgctxt "Column header for logs"
|
991 |
+
msgid "Date"
|
992 |
+
msgstr ""
|
993 |
+
|
994 |
+
#: src/includes/MPSUM_Logs_List_Table.php:277
|
995 |
+
msgctxt "No user found"
|
996 |
+
msgid "None"
|
997 |
+
msgstr ""
|
998 |
+
|
999 |
+
#: src/includes/MPSUM_Logs_List_Table.php:291
|
1000 |
+
msgctxt "update type"
|
1001 |
+
msgid "core"
|
1002 |
+
msgstr ""
|
1003 |
+
|
1004 |
+
#: src/includes/MPSUM_Logs_List_Table.php:293
|
1005 |
+
msgctxt "update type"
|
1006 |
+
msgid "translation"
|
1007 |
+
msgstr ""
|
1008 |
+
|
1009 |
+
#: src/includes/MPSUM_Logs_List_Table.php:295
|
1010 |
+
msgctxt "update type"
|
1011 |
+
msgid "plugin"
|
1012 |
+
msgstr ""
|
1013 |
+
|
1014 |
+
#: src/includes/MPSUM_Logs_List_Table.php:297
|
1015 |
+
msgctxt "update type"
|
1016 |
+
msgid "theme"
|
1017 |
+
msgstr ""
|
1018 |
+
|
1019 |
+
#: src/includes/MPSUM_Logs_List_Table.php:310
|
1020 |
+
msgctxt "update type - manual or automatic updates"
|
1021 |
+
msgid "manual"
|
1022 |
+
msgstr ""
|
1023 |
+
|
1024 |
+
#: src/includes/MPSUM_Logs_List_Table.php:312
|
1025 |
+
msgctxt "update type - manual or automatic updates"
|
1026 |
+
msgid "automatic"
|
1027 |
+
msgstr ""
|
1028 |
+
|
1029 |
+
#: src/includes/MPSUM_Logs_List_Table.php:320
|
1030 |
+
msgid "Success"
|
1031 |
+
msgstr ""
|
1032 |
+
|
1033 |
+
#: src/includes/MPSUM_Logs_List_Table.php:322
|
1034 |
+
msgid "Failure"
|
1035 |
+
msgstr ""
|
1036 |
+
|
1037 |
+
#: src/includes/MPSUM_Plugins_List_Table.php:189
|
1038 |
+
msgid "No plugins found."
|
1039 |
+
msgstr ""
|
1040 |
+
|
1041 |
+
#: src/includes/MPSUM_Plugins_List_Table.php:191
|
1042 |
+
msgid "You do not appear to have any plugins available at this time."
|
1043 |
+
msgstr ""
|
1044 |
+
|
1045 |
+
#: src/includes/MPSUM_Plugins_List_Table.php:199
|
1046 |
+
msgid "Plugin"
|
1047 |
+
msgstr ""
|
1048 |
+
|
1049 |
+
#: src/includes/MPSUM_Plugins_List_Table.php:200, src/includes/MPSUM_Themes_List_Table.php:210
|
1050 |
+
msgid "Description"
|
1051 |
+
msgstr ""
|
1052 |
+
|
1053 |
+
#: src/includes/MPSUM_Plugins_List_Table.php:221, src/includes/MPSUM_Themes_List_Table.php:234
|
1054 |
+
msgid "Updates Enabled <span class=\"count\">(%s)</span>"
|
1055 |
+
msgid_plural "Updates Enabled <span class=\"count\">(%s)</span>"
|
1056 |
+
msgstr[0] ""
|
1057 |
+
msgstr[1] ""
|
1058 |
+
|
1059 |
+
#: src/includes/MPSUM_Plugins_List_Table.php:224, src/includes/MPSUM_Themes_List_Table.php:231
|
1060 |
+
msgid "Updates Disabled <span class=\"count\">(%s)</span>"
|
1061 |
+
msgid_plural "Updates Disabled <span class=\"count\">(%s)</span>"
|
1062 |
+
msgstr[0] ""
|
1063 |
+
msgstr[1] ""
|
1064 |
+
|
1065 |
+
#: src/includes/MPSUM_Plugins_List_Table.php:227, src/includes/MPSUM_Themes_List_Table.php:237
|
1066 |
+
msgid "Automatic Updates <span class=\"count\">(%s)</span>"
|
1067 |
+
msgid_plural "Automatic Updates <span class=\"count\">(%s)</span>"
|
1068 |
+
msgstr[0] ""
|
1069 |
+
msgstr[1] ""
|
1070 |
+
|
1071 |
+
#: src/includes/MPSUM_Plugins_List_Table.php:253
|
1072 |
+
msgid "Plugin Updates On"
|
1073 |
+
msgstr ""
|
1074 |
+
|
1075 |
+
#: src/includes/MPSUM_Plugins_List_Table.php:254
|
1076 |
+
msgid "Plugin Updates Off"
|
1077 |
+
msgstr ""
|
1078 |
+
|
1079 |
+
#: src/includes/MPSUM_Plugins_List_Table.php:257, src/includes/MPSUM_Themes_List_Table.php:268
|
1080 |
+
msgid "Automatic Updates On"
|
1081 |
+
msgstr ""
|
1082 |
+
|
1083 |
+
#: src/includes/MPSUM_Plugins_List_Table.php:258, src/includes/MPSUM_Themes_List_Table.php:269
|
1084 |
+
msgid "Automatic Updates Off"
|
1085 |
+
msgstr ""
|
1086 |
+
|
1087 |
+
#: src/includes/MPSUM_Plugins_List_Table.php:292
|
1088 |
+
msgid "Clear List"
|
1089 |
+
msgstr ""
|
1090 |
+
|
1091 |
+
#: src/includes/MPSUM_Plugins_List_Table.php:297
|
1092 |
+
msgid "Files in the %s directory are executed automatically."
|
1093 |
+
msgstr ""
|
1094 |
+
|
1095 |
+
#: src/includes/MPSUM_Plugins_List_Table.php:305
|
1096 |
+
msgid "Drop-ins are advanced plugins in the %s directory that replace WordPress functionality when present."
|
1097 |
+
msgstr ""
|
1098 |
+
|
1099 |
+
#: src/includes/MPSUM_Plugins_List_Table.php:362
|
1100 |
+
msgid "Select %s"
|
1101 |
+
msgstr ""
|
1102 |
+
|
1103 |
+
#: src/includes/MPSUM_Plugins_List_Table.php:410, src/includes/MPSUM_Themes_List_Table.php:343
|
1104 |
+
msgid "Allow Updates"
|
1105 |
+
msgstr ""
|
1106 |
+
|
1107 |
+
#: src/includes/MPSUM_Plugins_List_Table.php:410, src/includes/MPSUM_Plugins_List_Table.php:435, src/includes/MPSUM_Themes_List_Table.php:365
|
1108 |
+
msgid "On"
|
1109 |
+
msgstr ""
|
1110 |
+
|
1111 |
+
#: src/includes/MPSUM_Plugins_List_Table.php:414, src/includes/MPSUM_Themes_List_Table.php:347
|
1112 |
+
msgid "Disallow Updates"
|
1113 |
+
msgstr ""
|
1114 |
+
|
1115 |
+
#: src/includes/MPSUM_Plugins_List_Table.php:416, src/includes/MPSUM_Plugins_List_Table.php:440, src/includes/MPSUM_Themes_List_Table.php:347, src/includes/MPSUM_Themes_List_Table.php:369
|
1116 |
+
msgid "Off"
|
1117 |
+
msgstr ""
|
1118 |
+
|
1119 |
+
#: src/includes/MPSUM_Plugins_List_Table.php:433, src/includes/MPSUM_Plugins_List_Table.php:439, src/includes/MPSUM_Themes_List_Table.php:365
|
1120 |
+
msgid "Enable Automatic Updates"
|
1121 |
+
msgstr ""
|
1122 |
+
|
1123 |
+
#: src/includes/MPSUM_Plugins_List_Table.php:455, src/includes/MPSUM_Themes_List_Table.php:388
|
1124 |
+
msgid "Version %s"
|
1125 |
+
msgstr ""
|
1126 |
+
|
1127 |
+
#: src/includes/MPSUM_Plugins_List_Table.php:460, src/includes/MPSUM_Themes_List_Table.php:390
|
1128 |
+
msgid "By %s"
|
1129 |
+
msgstr ""
|
1130 |
+
|
1131 |
+
#: src/includes/MPSUM_Plugins_List_Table.php:468
|
1132 |
+
msgid "More information about %s"
|
1133 |
+
msgstr ""
|
1134 |
+
|
1135 |
+
#: src/includes/MPSUM_Plugins_List_Table.php:470
|
1136 |
+
msgid "View details"
|
1137 |
+
msgstr ""
|
1138 |
+
|
1139 |
+
#: src/includes/MPSUM_Plugins_List_Table.php:475
|
1140 |
+
msgid "Visit plugin site"
|
1141 |
+
msgstr ""
|
1142 |
+
|
1143 |
+
#: src/includes/MPSUM_Themes_List_Table.php:199
|
1144 |
+
msgid "No themes found."
|
1145 |
+
msgstr ""
|
1146 |
+
|
1147 |
+
#: src/includes/MPSUM_Themes_List_Table.php:201
|
1148 |
+
msgid "You do not appear to have any themes available at this time."
|
1149 |
+
msgstr ""
|
1150 |
+
|
1151 |
+
#: src/includes/MPSUM_Themes_List_Table.php:209
|
1152 |
+
msgid "Theme"
|
1153 |
+
msgstr ""
|
1154 |
+
|
1155 |
+
#: src/includes/MPSUM_Themes_List_Table.php:264
|
1156 |
+
msgid "Theme Updates On"
|
1157 |
+
msgstr ""
|
1158 |
+
|
1159 |
+
#: src/includes/MPSUM_Themes_List_Table.php:265
|
1160 |
+
msgid "Theme Updates Off"
|
1161 |
+
msgstr ""
|
1162 |
+
|
1163 |
+
#: src/includes/MPSUM_Themes_List_Table.php:305
|
1164 |
+
msgid "Select"
|
1165 |
+
msgstr ""
|
1166 |
+
|
1167 |
+
#: src/includes/MPSUM_Themes_List_Table.php:343
|
1168 |
+
msgid "on"
|
1169 |
+
msgstr ""
|
1170 |
+
|
1171 |
+
#: src/includes/MPSUM_Themes_List_Table.php:369
|
1172 |
+
msgid "Disallow Automatic Updates"
|
1173 |
+
msgstr ""
|
1174 |
+
|
1175 |
+
#: src/includes/MPSUM_Themes_List_Table.php:379
|
1176 |
+
msgid "Broken Theme:"
|
1177 |
+
msgstr ""
|
1178 |
+
|
1179 |
+
#: src/includes/MPSUM_Themes_List_Table.php:393
|
1180 |
+
msgid "Visit theme homepage"
|
1181 |
+
msgstr ""
|
1182 |
+
|
1183 |
+
#: src/includes/MPSUM_Themes_List_Table.php:393
|
1184 |
+
msgid "Visit Theme Site"
|
1185 |
+
msgstr ""
|
main.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Easy Updates Manager
|
|
4 |
Plugin URI: https://easyupdatesmanager.com
|
5 |
Description: Manage and disable WordPress updates, including core, plugin, theme, and automatic updates - Works with Multisite and has built-in logging features.
|
6 |
Author: Easy Updates Manager Team
|
7 |
-
Version: 7.0.
|
8 |
Requires at least: 4.7
|
9 |
Author URI: https://easyupdatesmanager.com
|
10 |
Contributors: kidsguide, ronalfy
|
@@ -90,9 +90,6 @@ class MPSUM_Updates_Manager {
|
|
90 |
add_action( 'init', array( $this, 'init' ) );
|
91 |
add_action( 'plugins_loaded', array( $this, 'plugins_loaded' ) );
|
92 |
|
93 |
-
add_filter( 'cron_schedules', array( $this, 'set_monthly_cron_schedule' ) );
|
94 |
-
|
95 |
-
add_action( 'eum-monthly', array( 'MPSUM_Tracking', 'send' ) );
|
96 |
} //end constructor
|
97 |
|
98 |
/**
|
@@ -114,8 +111,7 @@ class MPSUM_Updates_Manager {
|
|
114 |
MPSUM_Logs::run();
|
115 |
}
|
116 |
|
117 |
-
|
118 |
-
MPSUM_Rest::run();
|
119 |
}
|
120 |
|
121 |
/**
|
@@ -324,19 +320,11 @@ class MPSUM_Updates_Manager {
|
|
324 |
|
325 |
$not_doing_ajax = ( !defined( 'DOING_AJAX' ) || !DOING_AJAX );
|
326 |
$not_admin_disabled = ( !defined( 'MPSUM_DISABLE_ADMIN' ) || !MPSUM_DISABLE_ADMIN );
|
327 |
-
if ( is_admin() && $not_doing_ajax && $not_admin_disabled ) {
|
328 |
MPSUM_Admin::run();
|
329 |
}
|
330 |
}
|
331 |
|
332 |
-
public function set_monthly_cron_schedule( $schedules ) {
|
333 |
-
$schedules['eum-monthly'] = array(
|
334 |
-
'interval' => MONTH_IN_SECONDS,
|
335 |
-
'display' => __('Once Monthly')
|
336 |
-
);
|
337 |
-
return $schedules;
|
338 |
-
}
|
339 |
-
|
340 |
/**
|
341 |
* Save plugin options.
|
342 |
*
|
4 |
Plugin URI: https://easyupdatesmanager.com
|
5 |
Description: Manage and disable WordPress updates, including core, plugin, theme, and automatic updates - Works with Multisite and has built-in logging features.
|
6 |
Author: Easy Updates Manager Team
|
7 |
+
Version: 7.0.1
|
8 |
Requires at least: 4.7
|
9 |
Author URI: https://easyupdatesmanager.com
|
10 |
Contributors: kidsguide, ronalfy
|
90 |
add_action( 'init', array( $this, 'init' ) );
|
91 |
add_action( 'plugins_loaded', array( $this, 'plugins_loaded' ) );
|
92 |
|
|
|
|
|
|
|
93 |
} //end constructor
|
94 |
|
95 |
/**
|
111 |
MPSUM_Logs::run();
|
112 |
}
|
113 |
|
114 |
+
MPSUM_Admin_Ajax::run();
|
|
|
115 |
}
|
116 |
|
117 |
/**
|
320 |
|
321 |
$not_doing_ajax = ( !defined( 'DOING_AJAX' ) || !DOING_AJAX );
|
322 |
$not_admin_disabled = ( !defined( 'MPSUM_DISABLE_ADMIN' ) || !MPSUM_DISABLE_ADMIN );
|
323 |
+
if ( is_admin() && $not_doing_ajax && $not_admin_disabled && !$disable_updates_skip ) {
|
324 |
MPSUM_Admin::run();
|
325 |
}
|
326 |
}
|
327 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
328 |
/**
|
329 |
* Save plugin options.
|
330 |
*
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: davidanderson, kidsguide, ronalfy, roary86, bigwing
|
|
3 |
Tags: updates manager, easy updates manager, disable updates manager, disable updates, update control, plugin updates, theme updates, core updates, automatic updates, multisite, logs
|
4 |
Requires at least: 4.7
|
5 |
Tested up to: 4.9
|
6 |
-
Stable tag: 7.0.
|
7 |
License: GPLv2 or later
|
8 |
|
9 |
Manage all your WordPress updates, including individual updates, automatic updates, logs, and loads more. Also works very well with WordPress Multisite.
|
@@ -103,6 +103,14 @@ For additional information and FAQs for Easy Updates Manager check out our <a hr
|
|
103 |
|
104 |
== Changelog ==
|
105 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
= 7.0.0 =
|
107 |
Released 2018-01-28
|
108 |
|
@@ -138,10 +146,5 @@ Released 2017-08-01
|
|
138 |
For past changelogs, please visit our <a href="https://github.com/easy-updates-manager/easy-updates-manager/releases">GitHub</a>.
|
139 |
|
140 |
== Upgrade Notice ==
|
|
|
141 |
|
142 |
-
= 7.0.0 =
|
143 |
-
Admin UI overhaul based on past data. It is now very obvious which settings are enabled. Thanks for all the feedback.
|
144 |
-
|
145 |
-
= 6.4.6 =
|
146 |
-
|
147 |
-
New icons in the plugins and themes tabs.
|
3 |
Tags: updates manager, easy updates manager, disable updates manager, disable updates, update control, plugin updates, theme updates, core updates, automatic updates, multisite, logs
|
4 |
Requires at least: 4.7
|
5 |
Tested up to: 4.9
|
6 |
+
Stable tag: 7.0.1
|
7 |
License: GPLv2 or later
|
8 |
|
9 |
Manage all your WordPress updates, including individual updates, automatic updates, logs, and loads more. Also works very well with WordPress Multisite.
|
103 |
|
104 |
== Changelog ==
|
105 |
|
106 |
+
= 7.0.1 =
|
107 |
+
Released 2018-03-05
|
108 |
+
|
109 |
+
* FIX: Enabling Log from Advanced tab does not use default options
|
110 |
+
* FIX: Plugin settings page is not accessible for excluded users
|
111 |
+
* TWEAK: Changed settings page to use admin-ajax.php instead of REST API
|
112 |
+
* TWEAK: Removed the usage tracking code (which was always explicit opt-in)
|
113 |
+
|
114 |
= 7.0.0 =
|
115 |
Released 2018-01-28
|
116 |
|
146 |
For past changelogs, please visit our <a href="https://github.com/easy-updates-manager/easy-updates-manager/releases">GitHub</a>.
|
147 |
|
148 |
== Upgrade Notice ==
|
149 |
+
* 7.0.1: Switching back to admin ajax from REST API and few small tweaks and improvements
|
150 |
|
|
|
|
|
|
|
|
|
|
|
|