Easy Updates Manager - Version 6.4.4

Version Description

Released 2017-11-07

  • Removed wizard. It was annoying too many people. A better admin UI may help with this.
  • Bug fix: tracking could not be disabled if you enabled it, and Reset All Options. Tracking be disabled under the Advanced Tab.
  • Enhancement: Logs now show a From (version) and a To (version) to satisfy a user feature request and will hopefully make logs that more useful.
Download this release

Release Info

Developer ronalfy
Plugin Icon 128x128 Easy Updates Manager
Version 6.4.4
Comparing to
See all releases

Code changes from version 6.4.0 to 6.4.4

Files changed (51) hide show
  1. contributing.md +24 -0
  2. css/index.php +0 -0
  3. css/source/style.scss +0 -0
  4. css/style.css +1 -359
  5. css/sweetalert2.css +0 -0
  6. images/index.php +0 -0
  7. images/spinner.gif +0 -0
  8. includes/MPSUM_Admin.php +3 -6
  9. includes/MPSUM_Admin_Advanced.php +125 -120
  10. includes/MPSUM_Admin_Core.php +0 -0
  11. includes/MPSUM_Admin_Dashboard.php +0 -0
  12. includes/MPSUM_Admin_Help.php +0 -0
  13. includes/MPSUM_Admin_Logs.php +0 -0
  14. includes/MPSUM_Admin_Plugins.php +0 -0
  15. includes/MPSUM_Admin_Screen_Options.php +0 -0
  16. includes/MPSUM_Admin_Themes.php +0 -0
  17. includes/MPSUM_Disable_Updates.php +0 -0
  18. includes/MPSUM_Disable_Updates_All.php +0 -0
  19. includes/MPSUM_Disable_Updates_Plugins.php +0 -0
  20. includes/MPSUM_Disable_Updates_Themes.php +0 -0
  21. includes/MPSUM_Disable_Updates_Translations.php +0 -0
  22. includes/MPSUM_Disable_Updates_WordPress.php +0 -0
  23. includes/MPSUM_List_Table.php +0 -0
  24. includes/MPSUM_Logs.php +212 -95
  25. includes/MPSUM_Logs_List_Table.php +6 -2
  26. includes/MPSUM_Plugins_List_Table.php +0 -0
  27. includes/MPSUM_Themes_List_Table.php +0 -0
  28. includes/MPSUM_Tracking.php +0 -0
  29. js/admin.js +3 -3
  30. js/index.php +0 -0
  31. js/source/dashboard/components/loading.jsx +0 -0
  32. js/source/dashboard/components/main.jsx +0 -0
  33. js/source/dashboard/components/ratingsnag.jsx +0 -0
  34. js/source/dashboard/components/toggleitem.jsx +0 -0
  35. js/source/dashboard/components/toggleiteminput.jsx +0 -0
  36. js/source/dashboard/components/toggleitemradio.jsx +0 -0
  37. js/source/dashboard/components/toggletabs.jsx +0 -0
  38. js/source/dashboard/components/togglewrapper.jsx +0 -0
  39. js/source/dashboard/components/trackingnag.jsx +0 -0
  40. js/source/dashboard/data/EUMActionTypes.jsx +0 -0
  41. js/source/dashboard/data/EUMActions.jsx +0 -0
  42. js/source/dashboard/data/EUMDispatcher.jsx +0 -0
  43. js/source/main.js +0 -0
  44. js/source/screenoptions.js +0 -0
  45. js/source/sweetalert2.common.js +0 -0
  46. js/source/sweetalert2.js +0 -0
  47. license.txt +0 -0
  48. main.php +7 -7
  49. readme.md +15 -0
  50. readme.txt +10 -3
  51. uninstall.php +2 -0
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 CHANGED
File without changes
css/source/style.scss CHANGED
File without changes
css/style.css CHANGED
@@ -1,359 +1 @@
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
- #eum-dashboard-wrappers {
11
- clear: both;
12
- display: -webkit-box;
13
- display: -webkit-flex;
14
- display: -moz-flex;
15
- display: -ms-flexbox;
16
- display: flex;
17
- -webkit-box-pack: justify;
18
- -ms-flex-pack: justify;
19
- -webkit-justify-content: space-between;
20
- -moz-justify-content: space-between;
21
- justify-content: space-between;
22
- -webkit-flex-wrap: wrap;
23
- -moz-flex-wrap: wrap;
24
- -ms-flex-wrap: wrap;
25
- flex-wrap: wrap; }
26
-
27
- /* CSS hack for uneven items */
28
- #eum-dashboard-wrappers:after {
29
- content: ' ';
30
- display: block;
31
- width: 100%;
32
- max-width: 32%; }
33
-
34
- .dashboard-main-wrapper {
35
- width: 100%;
36
- max-width: 32%;
37
- display: inline-block;
38
- text-align: left;
39
- vertical-align: top;
40
- margin-bottom: 30px;
41
- -webkit-box-sizing: border-box;
42
- -moz-box-sizing: border-box;
43
- box-sizing: border-box; }
44
-
45
- #dashboard-main-columns {
46
- margin-bottom: 30px; }
47
-
48
- #dashboard-main-columns .dashboard-main-wrapper:last-child {
49
- padding: 0; }
50
-
51
- .dashboard-item-wrapper {
52
- background: #e4e4e4;
53
- /* Old browsers */
54
- border-radius: 0px 0px 10px 10px;
55
- -moz-border-radius: 0px 0px 10px 10px;
56
- -webkit-border-radius: 0px 0px 10px 10px;
57
- border: 0px solid #eb3835;
58
- overflow: hidden;
59
- color: #000;
60
- font-weight: 700; }
61
-
62
- .dashboard-main-header {
63
- background: #111014;
64
- border-radius: 10px 10px 0px 0px;
65
- -moz-border-radius: 10px 10px 0px 0px;
66
- -webkit-border-radius: 10px 10px 0px 0px;
67
- border: 1px solid #e4e4e4;
68
- padding: 15px 10px;
69
- color: #fafafa;
70
- font-size: 14px;
71
- font-weight: 400; }
72
-
73
- .dashboard-item-choice input {
74
- max-height: 0;
75
- max-width: 0;
76
- opacity: 0;
77
- visibility: 0; }
78
- .dashboard-item-choice input:disabled {
79
- opacity: 0;
80
- visibility: 0; }
81
-
82
- .dashboard-item-choice input + label {
83
- display: block;
84
- position: relative;
85
- text-indent: -5000px;
86
- height: 19px;
87
- width: 37px;
88
- border-radius: 15px;
89
- float: right; }
90
- .dashboard-item-choice input + label:before {
91
- content: "";
92
- position: absolute;
93
- display: block;
94
- height: 20px;
95
- width: 40px;
96
- top: 0;
97
- left: 0;
98
- border-radius: 15px;
99
- background: rgba(19, 191, 17, 0);
100
- box-shadow: inset 0 0 0px 1px #e33524;
101
- -moz-transition: .25s ease-in-out;
102
- -webkit-transition: .25s ease-in-out;
103
- transition: .25s ease-in-out; }
104
- .dashboard-item-choice input + label:after {
105
- content: "";
106
- position: absolute;
107
- display: block;
108
- height: 12px;
109
- width: 12px;
110
- top: 4px;
111
- left: 5px;
112
- border-radius: 15px;
113
- background: #e33524;
114
- -moz-transition: .25s ease-in-out;
115
- -webkit-transition: .25s ease-in-out;
116
- transition: .25s ease-in-out; }
117
-
118
- .dashboard-item-choice .mpsum-spinner {
119
- float: right; }
120
-
121
- .dashboard-main-wrapper input:checked:before {
122
- display: none; }
123
-
124
- .dashboard-main-wrapper input:checked + label:before {
125
- width: 40px;
126
- background: rgba(208, 208, 208, 0.3);
127
- box-shadow: inset 0 0 0px 1px #0daf88; }
128
-
129
- .dashboard-main-wrapper input:checked + label:after {
130
- left: 23px;
131
- background: #25af76; }
132
-
133
- .dashboard-main-wrapper input:disabled + label:after {
134
- background: gray; }
135
-
136
- #dashboard-main-outputs .dashboard-hide {
137
- display: none; }
138
-
139
- .dashboard-item-header {
140
- clear: both;
141
- float: left;
142
- width: 60%;
143
- font-weight: 100; }
144
-
145
- .dashboard-item {
146
- cursor: pointer;
147
- clear: both;
148
- border-bottom: 1px solid #d2d2d2;
149
- padding: 18px 15px;
150
- overflow: hidden;
151
- -webkit-transition: all 0.2s ease;
152
- -moz-transition: all 0.2s ease;
153
- -ms-transition: all 0.2s ease;
154
- -o-transition: all 0.2s ease;
155
- transition: all 0.2s ease; }
156
- .dashboard-item:first-child {
157
- border-top: none; }
158
- .dashboard-item:hover {
159
- background: #ececec;
160
- -webkit-transition: all 0.2s ease;
161
- -moz-transition: all 0.2s ease;
162
- -ms-transition: all 0.2s ease;
163
- -o-transition: all 0.2s ease;
164
- transition: all 0.2s ease; }
165
-
166
- .dashboard-item-header {
167
- color: #888;
168
- -webkit-transition: all 0.2s ease;
169
- -moz-transition: all 0.2s ease;
170
- -ms-transition: all 0.2s ease;
171
- -o-transition: all 0.2s ease;
172
- transition: all 0.2s ease; }
173
-
174
- .dashboard-item.active .dashboard-item-header {
175
- color: #000;
176
- -webkit-transition: all 0.2s ease;
177
- -moz-transition: all 0.2s ease;
178
- -ms-transition: all 0.2s ease;
179
- -o-transition: all 0.2s ease;
180
- transition: all 0.2s ease; }
181
-
182
- .dashboard-item.active .dashboard-item-header.input-radio {
183
- font-weight: 700; }
184
-
185
- .dashboard-item-header.input-radio {
186
- color: #555;
187
- font-weight: 400; }
188
-
189
- .dashboard-tab-item {
190
- background: #FFF;
191
- width: 50%;
192
- float: left;
193
- text-align: center;
194
- overflow: hidden;
195
- color: #ddd; }
196
-
197
- .dashboard-tab-item a,
198
- .dashboard-tab-item a:link,
199
- .dashboard-tab-item a:active,
200
- .dashboard-tab-item a:visited {
201
- display: block;
202
- width: 100%;
203
- background: #FFF;
204
- color: #aaa;
205
- text-decoration: none;
206
- padding: 15px 0;
207
- text-transform: uppercase; }
208
-
209
- .dashboard-tab-item.active a {
210
- font-weight: 800;
211
- color: #000;
212
- border-bottom: 2px solid #1990f8; }
213
-
214
- .dashboard-tab-content.active {
215
- display: block; }
216
-
217
- .dashboard-tab-content {
218
- display: none; }
219
-
220
- .dashboard-tab {
221
- overflow: hidden;
222
- border: 1px solid #e4e4e4;
223
- border-top: none; }
224
-
225
- .dashboard-item-wrapper {
226
- max-height: 700px;
227
- overflow: auto;
228
- padding-bottom: 20px; }
229
-
230
- .dashboard-item-wrapper p {
231
- padding: 15px;
232
- padding-bottom: 0;
233
- margin-bottom: 0; }
234
-
235
- /*
236
- .dashboard-main-wrapper:nth-child( odd ) {
237
- clear: left;
238
- }
239
- */
240
- .multi-choice {
241
- clear: both;
242
- margin-top: 20px; }
243
-
244
- label {
245
- font-weight: 100 !important; }
246
-
247
- .multi-choice-item input[type=radio] {
248
- -webkit-appearance: none;
249
- /* remove default */
250
- margin: 10px;
251
- width: 15px;
252
- height: 16px;
253
- border-radius: 12px;
254
- cursor: pointer;
255
- vertical-align: middle;
256
- outline: none;
257
- border: 1px solid #e33524;
258
- background-color: #dddddd;
259
- -webkit-transition: background-position 0.15s cubic-bezier(0.8, 0, 1, 1), -webkit-transform 0.25s cubic-bezier(0.8, 0, 1, 1); }
260
-
261
- .multi-choice-item input[type=checkbox]:checked:before,
262
- .multi-choice-item input[type=radio]:checked:before {
263
- background-color: #0daf88 !important; }
264
-
265
- .multi-choice-item input[type=checkbox]:checked,
266
- .multi-choice-item input[type="radio"]:checked {
267
- -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);
268
- background: #25af76;
269
- border: 1px solid #0daf88; }
270
-
271
- .multi-choice-item input[type="radio"]:checked:disabled {
272
- background: grey; }
273
-
274
- .multi-choice-item input[type=radio]:active {
275
- -webkit-transform: scale(1.5);
276
- -webkit-transition: -webkit-transform 0.1s cubic-bezier(0, 0, 0.2, 1);
277
- background: #25af76; }
278
-
279
- .multi-choice-item input[type="radio"]:active:disabled {
280
- background: inherit; }
281
-
282
- /* The up/down direction logic */
283
- #dashboard-main-outputs input,
284
- #dashboard-main-outputs input:active {
285
- background-position: 0 24px; }
286
-
287
- #dashboard-main-outputs input:checked {
288
- background-position: 0 0; }
289
-
290
- #dashboard-main-outputs input:checked ~ input,
291
- #dashboard-main-outputs input:checked ~ input:active {
292
- background-position: 0 -24px; }
293
-
294
- .button.delete {
295
- background-color: #e14d43;
296
- color: #FFF; }
297
-
298
- .mpsum-error,
299
- .mpsum-notice {
300
- background: #fff;
301
- border-left: 4px solid #dc3232;
302
- -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
303
- box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
304
- margin: 5px 15px 2px;
305
- padding: 1px 12px;
306
- margin: 5px 0 15px;
307
- color: #ff0000; }
308
-
309
- .mpsum-notice {
310
- border-left-color: #00a0d2;
311
- color: #000; }
312
-
313
- .mpsum-error p,
314
- .mpsum-notice p {
315
- margin: 0.5em 0;
316
- padding: 2px; }
317
-
318
- .eum-ratings-nag li {
319
- display: inline-block;
320
- margin-right: 10px; }
321
-
322
- .eum-ratings-nag a {
323
- display: inline-block; }
324
-
325
- @media only screen and (max-width: 1200px) {
326
- #eum-dashboard-app {
327
- width: 100%; } }
328
-
329
- @media only screen and (max-width: 1000px) {
330
- #eum-dashboard-app .dashboard-main-wrapper {
331
- width: 48.5%;
332
- max-width: 48.5%;
333
- padding: 0; }
334
- .dashboard-item-wrapper {
335
- min-height: auto;
336
- max-height: 700px;
337
- overflow: auto; } }
338
-
339
- @media only screen and (max-width: 782px) {
340
- #eum-dashboard-app .dashboard-main-wrapper {
341
- width: 98.5%;
342
- max-width: 98.5%; }
343
- #eum-dashboard-app {
344
- margin-top: 20px; }
345
- #eum-dashboard-app input[type=radio]:checked:before {
346
- margin: 0 !important; } }
347
-
348
- .eum-button {
349
- padding: 20 10px;
350
- display: block;
351
- width: 90%;
352
- margin: 0 auto;
353
- margin-top: 20px !important; }
354
-
355
- .swal2-confirm {
356
- display: none; }
357
-
358
- .swal2-cancel {
359
- display: none !important; }
1
+ #eum-dashboard-app{width:99%;margin:30px auto 0}#eum-dashboard-app:after{display:inline-block;width:100%;content:"";clear:both}#eum-dashboard-wrappers{clear:both;display:-webkit-box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;-moz-justify-content:space-between;justify-content:space-between;-webkit-flex-wrap:wrap;-moz-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}#eum-dashboard-wrappers:after{content:" ";display:block;width:100%;max-width:32%}.dashboard-main-wrapper{width:100%;max-width:32%;display:inline-block;text-align:left;vertical-align:top;margin-bottom:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#dashboard-main-columns{margin-bottom:30px}#dashboard-main-columns .dashboard-main-wrapper:last-child{padding:0}.dashboard-item-wrapper{background:#e4e4e4;border-radius:0 0 10px 10px;-moz-border-radius:0 0 10px 10px;-webkit-border-radius:0 0 10px 10px;border:0 solid #eb3835;overflow:hidden;color:#000;font-weight:700}.dashboard-main-header{background:#111014;border-radius:10px 10px 0 0;-moz-border-radius:10px 10px 0 0;-webkit-border-radius:10px 10px 0 0;border:1px solid #e4e4e4;padding:15px 10px;color:#fafafa;font-size:14px;font-weight:400}.dashboard-item-choice input{max-height:0;max-width:0;opacity:0;visibility:0}.dashboard-item-choice input:disabled{opacity:0;visibility:0}.dashboard-item-choice input+label{display:block;position:relative;text-indent:-5000px;height:19px;width:37px;border-radius:15px;float:right}.dashboard-item-choice input+label:before{height:20px;width:40px;top:0;left:0;background:rgba(19,191,17,0);box-shadow:inset 0 0 0 1px #e33524}.dashboard-item-choice input+label:after,.dashboard-item-choice input+label:before{content:"";position:absolute;display:block;border-radius:15px;-moz-transition:.25s ease-in-out;-webkit-transition:.25s ease-in-out;transition:.25s ease-in-out}.dashboard-item-choice input+label:after{height:12px;width:12px;top:4px;left:5px;background:#e33524}.dashboard-item-choice .mpsum-spinner{float:right}.dashboard-main-wrapper input:checked:before{display:none}.dashboard-main-wrapper input:checked+label:before{width:40px;background:hsla(0,0%,82%,.3);box-shadow:inset 0 0 0 1px #0daf88}.dashboard-main-wrapper input:checked+label:after{left:23px;background:#25af76}.dashboard-main-wrapper input:disabled+label:after{background:gray}#dashboard-main-outputs .dashboard-hide{display:none}.dashboard-item-header{clear:both;float:left;width:60%;font-weight:100}.dashboard-item{cursor:pointer;clear:both;border-bottom:1px solid #d2d2d2;padding:18px 15px;overflow:hidden;-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.dashboard-item:first-child{border-top:none}.dashboard-item:hover{background:#ececec}.dashboard-item-header,.dashboard-item:hover{-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.dashboard-item-header{color:#888}.dashboard-item.active .dashboard-item-header{color:#000;-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.dashboard-item.active .dashboard-item-header.input-radio{font-weight:700}.dashboard-item-header.input-radio{color:#555;font-weight:400}.dashboard-tab-item{background:#fff;width:50%;float:left;text-align:center;overflow:hidden;color:#ddd}.dashboard-tab-item a,.dashboard-tab-item a:active,.dashboard-tab-item a:link,.dashboard-tab-item a:visited{display:block;width:100%;background:#fff;color:#aaa;text-decoration:none;padding:15px 0;text-transform:uppercase}.dashboard-tab-item.active a{font-weight:800;color:#000;border-bottom:2px solid #1990f8}.dashboard-tab-content.active{display:block}.dashboard-tab-content{display:none}.dashboard-tab{overflow:hidden;border:1px solid #e4e4e4;border-top:none}.dashboard-item-wrapper{max-height:700px;overflow:auto;padding-bottom:20px}.dashboard-item-wrapper p{padding:15px;padding-bottom:0;margin-bottom:0}.multi-choice{clear:both;margin-top:20px}label{font-weight:100!important}.multi-choice-item input[type=radio]{-webkit-appearance:none;margin:10px;width:15px;height:16px;border-radius:12px;cursor:pointer;vertical-align:middle;outline:none;border:1px solid #e33524;background-color:#ddd;-webkit-transition:background-position .15s cubic-bezier(.8,0,1,1),-webkit-transform .25s cubic-bezier(.8,0,1,1)}.multi-choice-item input[type=checkbox]:checked:before,.multi-choice-item input[type=radio]:checked:before{background-color:#0daf88!important}.multi-choice-item input[type=checkbox]:checked,.multi-choice-item input[type=radio]:checked{-webkit-transition:background-position .2s cubic-bezier(0,0,.2,1) .15s,-webkit-transform .25s cubic-bezier(0,0,.2,1);background:#25af76;border:1px solid #0daf88}.multi-choice-item input[type=radio]:checked:disabled{background:grey}.multi-choice-item input[type=radio]:active{-webkit-transform:scale(1.5);-webkit-transition:-webkit-transform .1s cubic-bezier(0,0,.2,1);background:#25af76}.multi-choice-item input[type=radio]:active:disabled{background:inherit}#dashboard-main-outputs input,#dashboard-main-outputs input:active{background-position:0 24px}#dashboard-main-outputs input:checked{background-position:0 0}#dashboard-main-outputs input:checked~input,#dashboard-main-outputs input:checked~input:active{background-position:0 -24px}.button.delete{background-color:#e14d43;color:#fff}.mpsum-error,.mpsum-notice{background:#fff;border-left:4px solid #dc3232;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin:5px 15px 2px;padding:1px 12px;margin:5px 0 15px;color:red}.mpsum-notice{border-left-color:#00a0d2;color:#000}.mpsum-error p,.mpsum-notice p{margin:.5em 0;padding:2px}.eum-ratings-nag li{margin-right:10px}.eum-ratings-nag a,.eum-ratings-nag li{display:inline-block}@media only screen and (max-width:1200px){#eum-dashboard-app{width:100%}}@media only screen and (max-width:1000px){#eum-dashboard-app .dashboard-main-wrapper{width:48.5%;max-width:48.5%;padding:0}.dashboard-item-wrapper{min-height:auto;max-height:700px;overflow:auto}}@media only screen and (max-width:782px){#eum-dashboard-app .dashboard-main-wrapper{width:98.5%;max-width:98.5%}#eum-dashboard-app{margin-top:20px}#eum-dashboard-app input[type=radio]:checked:before{margin:0!important}}.eum-button{padding:20 10px;display:block;width:90%;margin:0 auto;margin-top:20px!important}.swal2-confirm{display:none}.swal2-cancel{display:none!important}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
css/sweetalert2.css CHANGED
File without changes
images/index.php CHANGED
File without changes
images/spinner.gif CHANGED
File without changes
includes/MPSUM_Admin.php CHANGED
@@ -797,11 +797,8 @@ class MPSUM_Admin {
797
 
798
  // Get options
799
  $options = MPSUM_Updates_Manager::get_options( 'core' );
800
-
801
- wp_enqueue_script( 'sweetalert', MPSUM_Updates_Manager::get_plugin_url( '/js/source/sweetalert2.js' ), array( 'jquery' ), '6.6.6', true );
802
- //wp_enqueue_script( 'sweetalert2', MPSUM_Updates_Manager::get_plugin_url( '/js/source/sweetalert2.common.js' ), array( 'sweetalert', 'jquery' ), '6.6.6', true );
803
-
804
- wp_enqueue_script( 'mpsum_dashboard', MPSUM_Updates_Manager::get_plugin_url( '/js/admin.js' ), array( 'jquery' ), '20170801', true );
805
 
806
  $user_id = get_current_user_id();
807
  $dashboard_showing = get_user_meta( $user_id, 'mpsum_dashboard', true );
@@ -838,7 +835,7 @@ class MPSUM_Admin {
838
  $has_wizard = 'off';
839
  $maybe_has_wizard = MPSUM_Updates_Manager::get_options( 'core' );
840
  if ( empty( $maybe_has_wizard ) ) {
841
- $has_wizard = 'on';
842
  }
843
 
844
  // tracking_nag
797
 
798
  // Get options
799
  $options = MPSUM_Updates_Manager::get_options( 'core' );
800
+
801
+ wp_enqueue_script( 'mpsum_dashboard', MPSUM_Updates_Manager::get_plugin_url( '/js/admin.js' ), array( 'jquery' ), '20171106', true );
 
 
 
802
 
803
  $user_id = get_current_user_id();
804
  $dashboard_showing = get_user_meta( $user_id, 'mpsum_dashboard', true );
835
  $has_wizard = 'off';
836
  $maybe_has_wizard = MPSUM_Updates_Manager::get_options( 'core' );
837
  if ( empty( $maybe_has_wizard ) ) {
838
+ $has_wizard = 'off'; // Change to "on" to turn back on modal
839
  }
840
 
841
  // tracking_nag
includes/MPSUM_Admin_Advanced.php CHANGED
@@ -85,44 +85,49 @@ class MPSUM_Admin_Advanced {
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';
91
- $sql = "drop table if exists $tablename";
92
- $wpdb->query( $sql );
93
 
94
  break;
95
- case 'mpsum_force_updates':
96
- wp_schedule_single_event( time() + 10, 'wp_update_plugins' );
97
- wp_schedule_single_event( time() + 10, 'wp_version_check' );
98
- wp_schedule_single_event( time() + 10, 'wp_update_themes' );
99
- wp_schedule_single_event( time() + 45, 'wp_maybe_auto_update' );
100
- break;
101
- case 'mpsum_enable_logs':
102
- check_admin_referer( 'mpsum_logs', '_mpsum' );
103
- $options = MPSUM_Updates_Manager::get_options( 'core' );
104
- $options[ 'logs' ] = 'on';
105
- MPSUM_Updates_Manager::update_options( $options, 'core' );
106
- break;
107
- case 'mpsum_delete_logs':
108
- check_admin_referer( 'mpsum_logs', '_mpsum' );
109
- $options = MPSUM_Updates_Manager::get_options( 'core' );
110
- $options[ 'logs' ] = 'off';
111
- MPSUM_Updates_Manager::update_options( $options, 'core' );
112
- update_site_option( 'mpsum_log_table_version', '0' );
113
- MPSUM_Logs::drop();
114
- break;
115
- case 'mpsum_clear_logs':
116
- MPSUM_Logs::clear();
117
- break;
118
- case 'mpsum_disable_tracking':
119
- check_admin_referer( 'mpsum_disable_tracking', '_mpsum' );
120
- $options = MPSUM_Updates_Manager::get_options( 'core' );
121
- $options[ 'tracking_enabled' ] = 'off';
122
- $options[ 'tracking_nag' ] = 'off';
123
- MPSUM_Updates_Manager::update_options( $options, 'core' );
124
- MPSUM_Tracking::disable_cron();
125
- break;
 
 
126
  default:
127
  return;
128
  }
@@ -150,33 +155,33 @@ class MPSUM_Admin_Advanced {
150
  * @internal Uses the mpsum_admin_tab_main action
151
  */
152
  public function tab_output() {
153
-
154
- if ( isset( $_GET[ 'updated' ] ) ) {
155
- $action = isset( $_GET[ 'mpaction' ] ) ? $_GET[ 'mpaction' ] : '';
156
- switch( $action ) {
157
- case 'mpsum_save_excluded_users':
158
- $message = __( 'The exclusion of users option has been updated.', 'stops-core-theme-and-plugin-updates' );
159
- break;
160
- case 'mpsum_reset_options':
161
- $message = __( 'The plugin settings have now been reset.', 'stops-core-theme-and-plugin-updates' );
162
- break;
163
- case 'mpsum_force_updates':
164
- $message = __( 'Force update checks have been initialized. Please check your site in 90 seconds, and refresh to test automatic updates.', 'stops-core-theme-and-plugin-updates' );
165
- break;
166
- case 'mpsum_enable_logs':
167
- $message = __( 'Logs are now enabled', 'stops-core-theme-and-plugin-updates' );
168
- break;
169
- case 'mpsum_delete_logs':
170
- $message = __( 'Logs have been disabled', 'stops-core-theme-and-plugin-updates' );
171
- break;
172
- case 'mpsum_clear_logs':
173
- $message = __( 'Logs have been emptied', 'stops-core-theme-and-plugin-updates' );
174
- break;
175
- default:
176
- $message = __( 'Options saved.', 'stops-core-theme-and-plugin-updates' );
177
- break;
178
- }
179
-
180
  ?>
181
  <br />
182
  <div class="updated"><p><strong><?php echo esc_html( $message ); ?></strong></p></div>
@@ -184,9 +189,9 @@ class MPSUM_Admin_Advanced {
184
  }
185
 
186
  ?>
187
- <form action="<?php echo esc_url( add_query_arg( array() ) ); ?>" method="post">
188
  <h3><?php esc_html_e( 'Exclude Users', 'stops-core-theme-and-plugin-updates' ); ?></h3>
189
- <p><?php esc_html_e( 'Select which users to be excluded from the settings of this plugin. Default WordPress behavior will be used.', 'stops-core-theme-and-plugin-updates' ); ?></p>
190
  <p><?php esc_html_e( 'This option is useful if, for example, you would like to disable updates, but have a user account that can still update WordPress.', 'stops-core-theme-and-plugin-updates' ); ?></p>
191
  <table class="form-table">
192
  <tr>
@@ -208,7 +213,7 @@ class MPSUM_Admin_Advanced {
208
  *
209
  * @since 5.0.0
210
  *
211
- * @param string $var administrator.
212
  */
213
  $role = apply_filters( 'mpsum_admin_role', 'administrator' );
214
  $users = get_users( array( 'role' => $role, 'orderby' => 'display_name', 'order' => 'ASC', 'fields' => 'ID' ) );
@@ -226,25 +231,25 @@ class MPSUM_Admin_Advanced {
226
  </tr>
227
  </table>
228
  <input type="hidden" name="action" value='mpsum_save_excluded_users' />
229
- <?php
230
  wp_nonce_field( 'mpsum_exclude_users', '_mpsum' );
231
  echo '<p class="submit">';
232
  submit_button( __( 'Save Users', 'stops-core-theme-and-plugin-updates' ) , 'primary', 'submit', false );
233
  echo '</p>';
234
  ?>
235
- </form>
236
- <form action="<?php echo esc_url( add_query_arg( array() ) ); ?>" method="post">
237
  <h3><?php esc_html_e( 'Reset Options', 'stops-core-theme-and-plugin-updates' ); ?></h3>
238
  <p><?php esc_html_e( 'This will reset all options to as if you have just installed the plugin. WARNING!: This also disables and clears the logs.', 'stops-core-theme-and-plugin-updates' ); ?></p>
239
  <input type="hidden" name="action" value='mpsum_reset_options' />
240
- <?php
241
  wp_nonce_field( 'mpsum_reset_options', '_mpsum' );
242
  echo '<p class="submit">';
243
  submit_button( __( 'Reset All Options', 'stops-core-theme-and-plugin-updates' ) , 'primary', 'submit', false );
244
  echo '</p>';
245
  ?>
246
- </form>
247
- <form action="<?php echo esc_url( add_query_arg( array() ) ); ?>" method="post">
248
  <h3><?php esc_html_e( 'Force Automatic Updates', 'stops-core-theme-and-plugin-updates' ); ?></h3>
249
  <?php
250
  if ( defined( 'AUTOMATIC_UPDATER_DISABLED' ) && true == AUTOMATIC_UPDATER_DISABLED ) {
@@ -260,67 +265,67 @@ class MPSUM_Admin_Advanced {
260
  ?>
261
  <p><?php esc_html_e( 'This will attempt to force automatic updates. This is useful for debugging.', 'stops-core-theme-and-plugin-updates' ); ?></p>
262
  <input type="hidden" name="action" value='mpsum_force_updates' />
263
- <?php
264
  wp_nonce_field( 'mpsum_force_updates', '_mpsum' );
265
  echo '<p class="submit">';
266
  submit_button( __( 'Force Updates', 'stops-core-theme-and-plugin-updates' ) , 'primary', 'submit', false );
267
  echo '</p>';
268
  ?>
269
- </form>
270
- <?php
271
- $options = MPSUM_Updates_Manager::get_options( 'core' );
272
- if ( !isset( $options[ 'logs' ] ) || 'off' == $options[ 'logs' ] ):
273
- ?>
274
- <form action="<?php echo esc_url( add_query_arg( array() ) ); ?>" method="post">
275
- <?php wp_nonce_field( 'mpsum_logs', '_mpsum' ); ?>
276
- <h3><?php echo esc_html( _x( 'Logs', 'Advanced title heading', 'stops-core-theme-and-plugin-updates' ) ); ?></h3>
277
- <p><?php printf( __( 'This feature enables a Logs tab which will log all updates that occur. <a href="%s">See Logs on YouTube</a>.', 'stops-core-theme-and-plugin-updates', 'stops-core-theme-and-plugin-updates' ), 'https://www.youtube.com/watch?v=Z6dPPv8Wttc' );?></p>
278
- <input type="hidden" name="action" value='mpsum_enable_logs' />
279
- <p class="submit">
280
- <?php submit_button( __( 'Enable Logs', 'stops-core-theme-and-plugin-updates' ), 'primary', 'enable-log', false ); ?>
281
- </p>
282
- </form>
283
- <?php
284
- else:
285
- ?>
286
- <h3><?php echo esc_html( _x( 'Logs', 'Advanced title heading', 'stops-core-theme-and-plugin-updates' ) ); ?></h3>
287
- <form action="<?php echo esc_url( add_query_arg( array() ) ); ?>" method="post">
288
- <?php wp_nonce_field( 'mpsum_logs', '_mpsum' ); ?>
289
- <input type="hidden" name="action" value='mpsum_clear_logs' />
290
- <?php
291
- echo '<p><em>' . __( 'This will clear the log table.', 'stops-core-theme-and-plugin-updates' ) . '</em></p>';
292
- echo '<p class="submit">';
293
- submit_button( __( 'Clear Logs', 'stops-core-theme-and-plugin-updates' ) , 'primary', 'clear-log', false );
294
- echo '</p>';
295
- ?>
296
- </form>
297
- <form action="<?php echo esc_url( add_query_arg( array() ) ); ?>" method="post">
298
- <?php wp_nonce_field( 'mpsum_logs', '_mpsum' ); ?>
299
- <input type="hidden" name="action" value='mpsum_delete_logs' />
300
- <?php
301
- echo '<p><em>' . __( 'This will remove the log table and disable logging.', 'stops-core-theme-and-plugin-updates' ) . '</em></p>';
302
- echo '<p class="submit">';
303
- submit_button( __( 'Disable Logging', 'stops-core-theme-and-plugin-updates' ) , 'delete', 'delete-log', false );
304
- echo '</p>';
305
- ?>
306
- </form>
307
- <?php
308
- endif;
309
- $options = MPSUM_Updates_Manager::get_options( 'core' );
310
- $tracking_enabled = isset( $options[ 'tracking_enabled' ] ) ? $options[ 'tracking_enabled' ] : 'off';
311
- if ( 'on' === $tracking_enabled ):
312
- ?>
313
- <form action="<?php echo esc_url( add_query_arg( array() ) ); ?>" method="post">
314
  <h3><?php esc_html_e( 'Tracking', 'stops-core-theme-and-plugin-updates' ); ?></h3>
315
  <input type="hidden" name="action" value='mpsum_disable_tracking' />
316
- <?php
317
  wp_nonce_field( 'mpsum_disable_tracking', '_mpsum' );
318
  echo '<p class="submit">';
319
  submit_button( __( 'Disable Tracking', 'stops-core-theme-and-plugin-updates' ) , 'primary', 'submit', false );
320
  echo '</p>';
321
  ?>
322
- </form>
323
- <?php
324
- endif;
325
  } //end tab_output
326
  }
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';
94
+ $sql = "drop table if exists $tablename";
95
+ $wpdb->query( $sql );
96
 
97
  break;
98
+ case 'mpsum_force_updates':
99
+ wp_schedule_single_event( time() + 10, 'wp_update_plugins' );
100
+ wp_schedule_single_event( time() + 10, 'wp_version_check' );
101
+ wp_schedule_single_event( time() + 10, 'wp_update_themes' );
102
+ wp_schedule_single_event( time() + 45, 'wp_maybe_auto_update' );
103
+ delete_site_transient( 'MPSUM_PLUGINS' );
104
+ delete_site_transient( 'MPSUM_THEMES' );
105
+ break;
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;
112
+ case 'mpsum_delete_logs':
113
+ check_admin_referer( 'mpsum_logs', '_mpsum' );
114
+ $options = MPSUM_Updates_Manager::get_options( 'core' );
115
+ $options[ 'logs' ] = 'off';
116
+ MPSUM_Updates_Manager::update_options( $options, 'core' );
117
+ update_site_option( 'mpsum_log_table_version', '0' );
118
+ MPSUM_Logs::drop();
119
+ break;
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
  }
155
  * @internal Uses the mpsum_admin_tab_main action
156
  */
157
  public function tab_output() {
158
+
159
+ if ( isset( $_GET[ 'updated' ] ) ) {
160
+ $action = isset( $_GET[ 'mpaction' ] ) ? $_GET[ 'mpaction' ] : '';
161
+ switch( $action ) {
162
+ case 'mpsum_save_excluded_users':
163
+ $message = __( 'The exclusion of users option has been updated.', 'stops-core-theme-and-plugin-updates' );
164
+ break;
165
+ case 'mpsum_reset_options':
166
+ $message = __( 'The plugin settings have now been reset.', 'stops-core-theme-and-plugin-updates' );
167
+ break;
168
+ case 'mpsum_force_updates':
169
+ $message = __( 'Force update checks have been initialized. Please check your site in 90 seconds, and refresh to test automatic updates.', 'stops-core-theme-and-plugin-updates' );
170
+ break;
171
+ case 'mpsum_enable_logs':
172
+ $message = __( 'Logs are now enabled', 'stops-core-theme-and-plugin-updates' );
173
+ break;
174
+ case 'mpsum_delete_logs':
175
+ $message = __( 'Logs have been disabled', 'stops-core-theme-and-plugin-updates' );
176
+ break;
177
+ case 'mpsum_clear_logs':
178
+ $message = __( 'Logs have been emptied', 'stops-core-theme-and-plugin-updates' );
179
+ break;
180
+ default:
181
+ $message = __( 'Options saved.', 'stops-core-theme-and-plugin-updates' );
182
+ break;
183
+ }
184
+
185
  ?>
186
  <br />
187
  <div class="updated"><p><strong><?php echo esc_html( $message ); ?></strong></p></div>
189
  }
190
 
191
  ?>
192
+ <form action="<?php echo esc_url( add_query_arg( array() ) ); ?>" method="post">
193
  <h3><?php esc_html_e( 'Exclude Users', 'stops-core-theme-and-plugin-updates' ); ?></h3>
194
+ <p><?php esc_html_e( 'Select which users to be excluded from the settings of this plugin. Default WordPress behavior will be used.', 'stops-core-theme-and-plugin-updates' ); ?></p>
195
  <p><?php esc_html_e( 'This option is useful if, for example, you would like to disable updates, but have a user account that can still update WordPress.', 'stops-core-theme-and-plugin-updates' ); ?></p>
196
  <table class="form-table">
197
  <tr>
213
  *
214
  * @since 5.0.0
215
  *
216
+ * @param string $var administrator.
217
  */
218
  $role = apply_filters( 'mpsum_admin_role', 'administrator' );
219
  $users = get_users( array( 'role' => $role, 'orderby' => 'display_name', 'order' => 'ASC', 'fields' => 'ID' ) );
231
  </tr>
232
  </table>
233
  <input type="hidden" name="action" value='mpsum_save_excluded_users' />
234
+ <?php
235
  wp_nonce_field( 'mpsum_exclude_users', '_mpsum' );
236
  echo '<p class="submit">';
237
  submit_button( __( 'Save Users', 'stops-core-theme-and-plugin-updates' ) , 'primary', 'submit', false );
238
  echo '</p>';
239
  ?>
240
+ </form>
241
+ <form action="<?php echo esc_url( add_query_arg( array() ) ); ?>" method="post">
242
  <h3><?php esc_html_e( 'Reset Options', 'stops-core-theme-and-plugin-updates' ); ?></h3>
243
  <p><?php esc_html_e( 'This will reset all options to as if you have just installed the plugin. WARNING!: This also disables and clears the logs.', 'stops-core-theme-and-plugin-updates' ); ?></p>
244
  <input type="hidden" name="action" value='mpsum_reset_options' />
245
+ <?php
246
  wp_nonce_field( 'mpsum_reset_options', '_mpsum' );
247
  echo '<p class="submit">';
248
  submit_button( __( 'Reset All Options', 'stops-core-theme-and-plugin-updates' ) , 'primary', 'submit', false );
249
  echo '</p>';
250
  ?>
251
+ </form>
252
+ <form action="<?php echo esc_url( add_query_arg( array() ) ); ?>" method="post">
253
  <h3><?php esc_html_e( 'Force Automatic Updates', 'stops-core-theme-and-plugin-updates' ); ?></h3>
254
  <?php
255
  if ( defined( 'AUTOMATIC_UPDATER_DISABLED' ) && true == AUTOMATIC_UPDATER_DISABLED ) {
265
  ?>
266
  <p><?php esc_html_e( 'This will attempt to force automatic updates. This is useful for debugging.', 'stops-core-theme-and-plugin-updates' ); ?></p>
267
  <input type="hidden" name="action" value='mpsum_force_updates' />
268
+ <?php
269
  wp_nonce_field( 'mpsum_force_updates', '_mpsum' );
270
  echo '<p class="submit">';
271
  submit_button( __( 'Force Updates', 'stops-core-theme-and-plugin-updates' ) , 'primary', 'submit', false );
272
  echo '</p>';
273
  ?>
274
+ </form>
275
+ <?php
276
+ $options = MPSUM_Updates_Manager::get_options( 'core' );
277
+ if ( !isset( $options[ 'logs' ] ) || 'off' == $options[ 'logs' ] ):
278
+ ?>
279
+ <form action="<?php echo esc_url( add_query_arg( array() ) ); ?>" method="post">
280
+ <?php wp_nonce_field( 'mpsum_logs', '_mpsum' ); ?>
281
+ <h3><?php echo esc_html( _x( 'Logs', 'Advanced title heading', 'stops-core-theme-and-plugin-updates' ) ); ?></h3>
282
+ <p><?php printf( __( 'This feature enables a Logs tab which will log all updates that occur. <a href="%s">See Logs on YouTube</a>.', 'stops-core-theme-and-plugin-updates', 'stops-core-theme-and-plugin-updates' ), 'https://www.youtube.com/watch?v=Z6dPPv8Wttc' );?></p>
283
+ <input type="hidden" name="action" value='mpsum_enable_logs' />
284
+ <p class="submit">
285
+ <?php submit_button( __( 'Enable Logs', 'stops-core-theme-and-plugin-updates' ), 'primary', 'enable-log', false ); ?>
286
+ </p>
287
+ </form>
288
+ <?php
289
+ else:
290
+ ?>
291
+ <h3><?php echo esc_html( _x( 'Logs', 'Advanced title heading', 'stops-core-theme-and-plugin-updates' ) ); ?></h3>
292
+ <form action="<?php echo esc_url( add_query_arg( array() ) ); ?>" method="post">
293
+ <?php wp_nonce_field( 'mpsum_logs', '_mpsum' ); ?>
294
+ <input type="hidden" name="action" value='mpsum_clear_logs' />
295
+ <?php
296
+ echo '<p><em>' . __( 'This will clear the log table.', 'stops-core-theme-and-plugin-updates' ) . '</em></p>';
297
+ echo '<p class="submit">';
298
+ submit_button( __( 'Clear Logs', 'stops-core-theme-and-plugin-updates' ) , 'primary', 'clear-log', false );
299
+ echo '</p>';
300
+ ?>
301
+ </form>
302
+ <form action="<?php echo esc_url( add_query_arg( array() ) ); ?>" method="post">
303
+ <?php wp_nonce_field( 'mpsum_logs', '_mpsum' ); ?>
304
+ <input type="hidden" name="action" value='mpsum_delete_logs' />
305
+ <?php
306
+ echo '<p><em>' . __( 'This will remove the log table and disable logging.', 'stops-core-theme-and-plugin-updates' ) . '</em></p>';
307
+ echo '<p class="submit">';
308
+ submit_button( __( 'Disable Logging', 'stops-core-theme-and-plugin-updates' ) , 'delete', 'delete-log', false );
309
+ echo '</p>';
310
+ ?>
311
+ </form>
312
+ <?php
313
+ endif;
314
+ $options = MPSUM_Updates_Manager::get_options( 'core' );
315
+ $tracking_enabled = isset( $options[ 'tracking_enabled' ] ) ? $options[ 'tracking_enabled' ] : 'off';
316
+ if ( 'on' === $tracking_enabled || false !== wp_next_scheduled( 'eum-monthly' ) ):
317
+ ?>
318
+ <form action="<?php echo esc_url( add_query_arg( array() ) ); ?>" method="post">
319
  <h3><?php esc_html_e( 'Tracking', 'stops-core-theme-and-plugin-updates' ); ?></h3>
320
  <input type="hidden" name="action" value='mpsum_disable_tracking' />
321
+ <?php
322
  wp_nonce_field( 'mpsum_disable_tracking', '_mpsum' );
323
  echo '<p class="submit">';
324
  submit_button( __( 'Disable Tracking', 'stops-core-theme-and-plugin-updates' ) , 'primary', 'submit', false );
325
  echo '</p>';
326
  ?>
327
+ </form>
328
+ <?php
329
+ endif;
330
  } //end tab_output
331
  }
includes/MPSUM_Admin_Core.php CHANGED
File without changes
includes/MPSUM_Admin_Dashboard.php CHANGED
File without changes
includes/MPSUM_Admin_Help.php CHANGED
File without changes
includes/MPSUM_Admin_Logs.php CHANGED
File without changes
includes/MPSUM_Admin_Plugins.php CHANGED
File without changes
includes/MPSUM_Admin_Screen_Options.php CHANGED
File without changes
includes/MPSUM_Admin_Themes.php CHANGED
File without changes
includes/MPSUM_Disable_Updates.php CHANGED
File without changes
includes/MPSUM_Disable_Updates_All.php CHANGED
File without changes
includes/MPSUM_Disable_Updates_Plugins.php CHANGED
File without changes
includes/MPSUM_Disable_Updates_Themes.php CHANGED
File without changes
includes/MPSUM_Disable_Updates_Translations.php CHANGED
File without changes
includes/MPSUM_Disable_Updates_WordPress.php CHANGED
File without changes
includes/MPSUM_List_Table.php CHANGED
File without changes
includes/MPSUM_Logs.php CHANGED
@@ -20,23 +20,41 @@ class MPSUM_Logs {
20
  private static $instance = null;
21
 
22
  /**
23
- * Holds the class instance.
24
  *
25
- * @since 6.2.9
26
  * @access private
27
  * @var stdClass plugins
28
  */
29
  private $plugins_cache = null;
30
 
31
  /**
32
- * Holds the class instance.
33
  *
34
- * @since 6.2.9
35
  * @access private
36
  * @var stdClass $themes
37
  */
38
  private $themes_cache = null;
39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  /**
41
  * Holds version number of the table
42
  *
@@ -44,7 +62,7 @@ class MPSUM_Logs {
44
  * @access static
45
  * @var string $slug
46
  */
47
- private $version = '1.0.0';
48
 
49
  /**
50
  * Set a class instance.
@@ -77,24 +95,42 @@ class MPSUM_Logs {
77
  update_site_option( 'mpsum_log_table_version', $this->version );
78
  }
79
 
80
- // Set plugin/theme variables for log error checking
81
- $this->plugins_cache = get_site_transient( 'update_plugins' );
82
- $this->themes_cache = get_site_transient( 'update_themes' );
 
 
 
 
 
 
 
 
83
 
 
 
 
 
 
 
 
 
 
 
84
  add_action( 'automatic_updates_complete', array( $this, 'automatic_updates' ) );
85
  add_action( 'upgrader_process_complete', array( $this, 'manual_updates' ), 5, 2 );
86
 
87
  } //end constructor
88
 
89
  /**
90
- * automatic_updates
91
- *
92
- * Log automatic updates
93
- *
94
- * @since 6.0.0
95
- * @access public
96
- *
97
- */
98
  public function automatic_updates( $update_results ) {
99
  global $wpdb;
100
  $tablename = $wpdb->base_prefix . 'eum_logs';
@@ -104,13 +140,24 @@ class MPSUM_Logs {
104
  switch( $type ) {
105
  case 'core':
106
  $core = $results[ 0 ];
107
- $status = is_wp_error( $core->result ) ? 0: 1;
108
- $version = ( 1 == $status ) ? $core->result : '';
 
 
 
 
 
 
 
 
 
 
109
  $wpdb->insert(
110
  $tablename,
111
  array(
112
  'name' => $core->name,
113
  'type' => $type,
 
114
  'version' => $version,
115
  'action' => 'automatic',
116
  'status' => $status,
@@ -123,23 +170,41 @@ class MPSUM_Logs {
123
  '%s',
124
  '%s',
125
  '%s',
 
126
  )
127
  );
128
  break;
129
  case 'plugin':
130
  foreach( $results as $plugin ) {
131
- $status = is_wp_error( $plugin->result ) ? 0: 1;
 
132
  $version = isset( $plugin->item->new_version ) ? $plugin->item->new_version : '0.00';
 
 
 
 
 
 
 
 
 
 
 
 
133
  $name = ( isset( $plugin->name ) && !empty( $plugin->name ) ) ? $plugin->name : $plugin->item->slug;
 
 
 
134
  $wpdb->insert(
135
  $tablename,
136
  array(
137
- 'name' => $name,
138
- 'type' => $type,
139
- 'version' => $version,
140
- 'action' => 'automatic',
141
- 'status' => $status,
142
- 'date' => current_time( 'mysql' ),
 
143
  ),
144
  array(
145
  '%s',
@@ -151,26 +216,36 @@ class MPSUM_Logs {
151
  )
152
  );
153
  }
 
154
  break;
155
  case 'theme':
156
  foreach( $results as $theme ) {
157
- $status = ( is_wp_error( $theme->result ) || empty( $theme->result ) ) ? 0: 1;
158
- if ( 0 == $status ) {
159
- $theme_data_from_cache = wp_get_themes();
160
- $theme_data = $theme_data_from_cache[ $theme->item->theme ];
161
- $version = $theme_data->get( 'Version' );
162
- } else {
163
- $version = $theme->item->new_version;
 
 
 
 
 
 
 
164
  }
 
165
  $wpdb->insert(
166
  $tablename,
167
  array(
168
- 'name' => $theme->name,
169
- 'type' => $type,
170
- 'version' => $version,
171
- 'action' => 'automatic',
172
- 'status' => $status,
173
- 'date' => current_time( 'mysql' ),
 
174
  ),
175
  array(
176
  '%s',
@@ -179,9 +254,11 @@ class MPSUM_Logs {
179
  '%s',
180
  '%s',
181
  '%s',
 
182
  )
183
  );
184
  }
 
185
  break;
186
  case 'translation':
187
  foreach( $results as $translation ) {
@@ -193,12 +270,13 @@ class MPSUM_Logs {
193
  $wpdb->insert(
194
  $tablename,
195
  array(
196
- 'name' => $name . ' (' . $translation->item->language . ')',
197
- 'type' => $type,
198
- 'version' => $version,
199
- 'action' => 'automatic',
200
- 'status' => $status,
201
- 'date' => current_time( 'mysql' ),
 
202
  ),
203
  array(
204
  '%s',
@@ -207,6 +285,7 @@ class MPSUM_Logs {
207
  '%s',
208
  '%s',
209
  '%s',
 
210
  )
211
  );
212
  }
@@ -248,6 +327,38 @@ class MPSUM_Logs {
248
  return '';
249
  }
250
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
251
  public function manual_updates( $upgrader_object, $options ) {
252
  if ( !isset( $options[ 'action' ] ) || 'update' !== $options[ 'action' ] ) return;
253
  global $wpdb;
@@ -260,13 +371,14 @@ class MPSUM_Logs {
260
  $wpdb->insert(
261
  $tablename,
262
  array(
263
- 'user_id' => $user_id,
264
- 'name' => 'WordPress ' . $wp_version,
265
- 'type' => $options[ 'type' ],
266
- 'version' => $wp_version,
267
- 'action' => 'manual',
268
- 'status' => 1,
269
- 'date' => current_time( 'mysql' ),
 
270
  ),
271
  array(
272
  '%d',
@@ -276,36 +388,33 @@ class MPSUM_Logs {
276
  '%s',
277
  '%s',
278
  '%s',
 
279
  )
280
  );
281
  break;
282
  case 'plugin':
283
- $plugins = array();
284
- if ( ! function_exists( 'get_plugins' ) ) {
285
- require_once ABSPATH . 'wp-admin/includes/plugin.php';
286
- }
287
- $plugins_from_cache = get_site_transient( 'update_plugins' );
288
- wp_clean_plugins_cache();
289
- if ( false === $plugins_from_cache ) {
290
- $plugins_from_cache = $this->plugins_cache;
291
- }
292
- $plugins = get_plugins();
293
- if ( !empty( $plugins ) && isset( $options[ 'plugins' ] ) && !empty( $options[ 'plugins' ] ) ) {
294
  foreach( $options[ 'plugins' ] as $plugin ) {
295
  $plugin_data = isset( $plugins[ $plugin ] ) ? $plugins[ $plugin ] : false;
296
- $current_plugin = isset( $plugins_from_cache->checked[ $plugin ] ) ? $plugins_from_cache->checked[ $plugin ] : false;
297
- if ( false !== $plugin_data && false !== $current_plugin ) {
298
- $status = ( $plugin_data[ 'Version' ] == $current_plugin ) ? 0 : 1;
 
 
 
 
299
  $wpdb->insert(
300
  $tablename,
301
  array(
302
- 'user_id' => $user_id,
303
- 'name' => $plugin_data[ 'Name' ],
304
- 'type' => $options[ 'type' ],
305
- 'version' => $plugin_data[ 'Version' ],
306
- 'action' => 'manual',
307
- 'status' => $status,
308
- 'date' => current_time( 'mysql' ),
 
309
  ),
310
  array(
311
  '%d',
@@ -315,35 +424,38 @@ class MPSUM_Logs {
315
  '%s',
316
  '%s',
317
  '%s',
 
318
  )
319
  );
320
  }
321
  }
322
  }
 
323
  break;
324
  case 'theme':
325
  if ( isset( $options[ 'themes' ] ) && !empty( $options[ 'themes' ] ) ) {
326
-
327
- $theme_data_from_cache = get_site_transient( 'update_themes' );
328
- wp_clean_themes_cache();
329
- if ( false === $theme_data_from_cache ) {
330
- $theme_data_from_cache = $this->themes_cache;
331
- }
332
  foreach( $options[ 'themes' ] as $theme ) {
333
  $theme_data = wp_get_theme( $theme );
334
- $theme_from_cache_version = isset( $theme_data_from_cache->checked[ $theme ] ) ? $theme_data_from_cache->checked[ $theme ] : false;
335
- if ( $theme_data->exists() && false !== $theme_from_cache_version ) {
336
- $status = ( $theme_from_cache_version == $theme_data->get( 'Version' ) ) ? 0 : 1;
 
 
 
 
 
337
  $wpdb->insert(
338
  $tablename,
339
  array(
340
- 'user_id' => $user_id,
341
- 'name' => $theme_data->get( 'Name' ),
342
- 'type' => $options[ 'type' ],
343
- 'version' => $theme_data->get( 'Version' ),
344
- 'action' => 'manual',
345
- 'status' => $status,
346
- 'date' => current_time( 'mysql' ),
 
347
  ),
348
  array(
349
  '%d',
@@ -353,11 +465,13 @@ class MPSUM_Logs {
353
  '%s',
354
  '%s',
355
  '%s',
 
356
  )
357
  );
358
  }
359
  }
360
  }
 
361
  break;
362
  case 'translation':
363
  foreach( $options[ 'translations' ] as $translation ) {
@@ -369,13 +483,14 @@ class MPSUM_Logs {
369
  $wpdb->insert(
370
  $tablename,
371
  array(
372
- 'user_id' => $user_id,
373
- 'name' => $name . ' (' . $translation[ 'language' ] . ')',
374
- 'type' => $translation[ 'type' ],
375
- 'version' => $version,
376
- 'action' => 'manual',
377
- 'status' => $status,
378
- 'date' => current_time( 'mysql' ),
 
379
  ),
380
  array(
381
  '%d',
@@ -385,6 +500,7 @@ class MPSUM_Logs {
385
  '%s',
386
  '%s',
387
  '%s',
 
388
  )
389
  );
390
  }
@@ -418,6 +534,7 @@ class MPSUM_Logs {
418
  user_id BIGINT(20) NOT NULL DEFAULT 0,
419
  name VARCHAR(255) NOT NULL,
420
  type VARCHAR(255) NOT NULL,
 
421
  version VARCHAR(255) NOT NULL,
422
  action VARCHAR(255) NOT NULL,
423
  status VARCHAR(255) NOT NULL,
20
  private static $instance = null;
21
 
22
  /**
23
+ * Plugin cache for version compares.
24
  *
25
+ * @since 6.4.4
26
  * @access private
27
  * @var stdClass plugins
28
  */
29
  private $plugins_cache = null;
30
 
31
  /**
32
+ * Theme cache for version compares.
33
  *
34
+ * @since 6.4.4
35
  * @access private
36
  * @var stdClass $themes
37
  */
38
  private $themes_cache = null;
39
 
40
+ /**
41
+ * Holds the WordPress Version.
42
+ *
43
+ * @since 6.4.4
44
+ * @access private
45
+ * @var string $wp_version
46
+ */
47
+ private $wp_version = null;
48
+
49
+ /**
50
+ * Holds the Translation cache for version compares.
51
+ *
52
+ * @since 6.4.4
53
+ * @access private
54
+ * @var string $wp_version
55
+ */
56
+ private $translations_cache = null;
57
+
58
  /**
59
  * Holds version number of the table
60
  *
62
  * @access static
63
  * @var string $slug
64
  */
65
+ private $version = '1.1.3';
66
 
67
  /**
68
  * Set a class instance.
95
  update_site_option( 'mpsum_log_table_version', $this->version );
96
  }
97
 
98
+ // Set plugin/theme/wordpress/translation variables for log error checking
99
+ if ( ! function_exists( 'get_plugins' ) ) {
100
+ require_once ABSPATH . 'wp-admin/includes/plugin.php';
101
+ }
102
+
103
+ // Store plugins cache for later use in version compares
104
+ $this->plugins_cache = get_site_transient( 'MPSUM_PLUGINS' );
105
+ if ( false === $this->plugins_cache ) {
106
+ $this->plugins_cache = get_plugins();
107
+ set_site_transient( 'MPSUM_PLUGINS', $this->plugins_cache, 5 * MINUTE_IN_SECONDS );
108
+ }
109
 
110
+ // Store themes cache for later use in version compares
111
+ $this->themes_cache = get_site_transient( 'MPSUM_THEMES' );
112
+ if ( false === $this->themes_cache ) {
113
+ $this->themes_cache = wp_get_themes();
114
+ set_site_transient( 'MPSUM_THEMES', $this->themes_cache, 5 * MINUTE_IN_SECONDS );
115
+ }
116
+ $this->translations_cache = wp_get_translation_updates();
117
+ include( ABSPATH . WPINC . '/version.php' );
118
+ $this->wp_version = $wp_version;
119
+
120
  add_action( 'automatic_updates_complete', array( $this, 'automatic_updates' ) );
121
  add_action( 'upgrader_process_complete', array( $this, 'manual_updates' ), 5, 2 );
122
 
123
  } //end constructor
124
 
125
  /**
126
+ * automatic_updates
127
+ *
128
+ * Log automatic updates
129
+ *
130
+ * @since 6.0.0
131
+ * @access public
132
+ *
133
+ */
134
  public function automatic_updates( $update_results ) {
135
  global $wpdb;
136
  $tablename = $wpdb->base_prefix . 'eum_logs';
140
  switch( $type ) {
141
  case 'core':
142
  $core = $results[ 0 ];
143
+ $status = 0;
144
+ $version = '';
145
+ if ( ! is_wp_error( $core->result ) ) {
146
+ $version = $core->result;
147
+
148
+ if ( $core->result == $this->wp_version || NULL === $core->result) {
149
+ $version = $this->wp_version;
150
+ $status = 0;
151
+ } else {
152
+ $status = 1;
153
+ }
154
+ }
155
  $wpdb->insert(
156
  $tablename,
157
  array(
158
  'name' => $core->name,
159
  'type' => $type,
160
+ 'version_from' => $this->wp_version,
161
  'version' => $version,
162
  'action' => 'automatic',
163
  'status' => $status,
170
  '%s',
171
  '%s',
172
  '%s',
173
+ '%s',
174
  )
175
  );
176
  break;
177
  case 'plugin':
178
  foreach( $results as $plugin ) {
179
+
180
+ $status = 0;
181
  $version = isset( $plugin->item->new_version ) ? $plugin->item->new_version : '0.00';
182
+
183
+ // Get older version
184
+ $plugin_data = $this->plugins_cache[ $plugin->item->plugin ];
185
+
186
+ if ( ! is_wp_error( $plugin->result ) ) {
187
+ if ( $version == $plugin_data['Version'] || NULL === $plugin->result ) {
188
+ $status = 0;
189
+ } else {
190
+ $status = 1;
191
+ }
192
+ }
193
+
194
  $name = ( isset( $plugin->name ) && !empty( $plugin->name ) ) ? $plugin->name : $plugin->item->slug;
195
+
196
+
197
+
198
  $wpdb->insert(
199
  $tablename,
200
  array(
201
+ 'name' => $name,
202
+ 'type' => $type,
203
+ 'version_from' => $plugin_data['Version'],
204
+ 'version' => $version,
205
+ 'action' => 'automatic',
206
+ 'status' => $status,
207
+ 'date' => current_time( 'mysql' ),
208
  ),
209
  array(
210
  '%s',
216
  )
217
  );
218
  }
219
+ delete_site_transient( 'MPSUM_PLUGINS' );
220
  break;
221
  case 'theme':
222
  foreach( $results as $theme ) {
223
+ $status = 0;
224
+
225
+ // Retrive Older Version
226
+ $old_theme_version = $this->themes_cache[ $theme->item->theme ];
227
+ $from_version = $old_theme_version->get( 'Version' );
228
+
229
+ if ( ! is_wp_error( $theme->result ) ) {
230
+ if ( $from_version == $theme->item->new_version || NULL === $theme->result ) {
231
+ $version = $from_version;
232
+ $status = 0;
233
+ } else {
234
+ $version = $theme->item->new_version;
235
+ $status = 1;
236
+ }
237
  }
238
+
239
  $wpdb->insert(
240
  $tablename,
241
  array(
242
+ 'name' => $theme->name,
243
+ 'type' => $type,
244
+ 'version_from' => $from_version,
245
+ 'version' => $version,
246
+ 'action' => 'automatic',
247
+ 'status' => $status,
248
+ 'date' => current_time( 'mysql' ),
249
  ),
250
  array(
251
  '%s',
254
  '%s',
255
  '%s',
256
  '%s',
257
+ '%s',
258
  )
259
  );
260
  }
261
+ delete_site_transient( 'MPSUM_THEMES' );
262
  break;
263
  case 'translation':
264
  foreach( $results as $translation ) {
270
  $wpdb->insert(
271
  $tablename,
272
  array(
273
+ 'name' => $name . ' (' . $translation->item->language . ')',
274
+ 'type' => $type,
275
+ 'version_from' => $this->get_version_for_type( $type, $slug ),
276
+ 'version' => $version,
277
+ 'action' => 'automatic',
278
+ 'status' => $status,
279
+ 'date' => current_time( 'mysql' ),
280
  ),
281
  array(
282
  '%s',
285
  '%s',
286
  '%s',
287
  '%s',
288
+ '%s',
289
  )
290
  );
291
  }
327
  return '';
328
  }
329
 
330
+ /**
331
+ * Get the version of a translation item to be updated
332
+ *
333
+ * @since 6.4.4
334
+ * @access private
335
+ *
336
+ * @param string type of translation update
337
+ * @param string $slug of item
338
+ * @return string The name of the item being updated.
339
+ */
340
+ private function get_version_for_type( $type, $slug ) {
341
+ $translation_updates = $this->translations_cache;
342
+ switch ( $type ) {
343
+ case 'core':
344
+ return $this->wp_version;
345
+ break;
346
+ case 'translation':
347
+ case 'theme':
348
+ case 'plugin':
349
+ if ( is_array( $translation_updates ) && ! empty( $translation_updates ) ) {
350
+ foreach( $translation_updates as $translation_update ) {
351
+ if ( $slug == $translation_update->slug ) {
352
+ return $translation_update->version;
353
+ }
354
+ }
355
+ }
356
+
357
+ break;
358
+ }
359
+ return '';
360
+ }
361
+
362
  public function manual_updates( $upgrader_object, $options ) {
363
  if ( !isset( $options[ 'action' ] ) || 'update' !== $options[ 'action' ] ) return;
364
  global $wpdb;
371
  $wpdb->insert(
372
  $tablename,
373
  array(
374
+ 'user_id' => $user_id,
375
+ 'name' => 'WordPress ' . $wp_version,
376
+ 'type' => $options[ 'type' ],
377
+ 'version_from' => $this->wp_version,
378
+ 'version' => $wp_version,
379
+ 'action' => 'manual',
380
+ 'status' => 1,
381
+ 'date' => current_time( 'mysql' ),
382
  ),
383
  array(
384
  '%d',
388
  '%s',
389
  '%s',
390
  '%s',
391
+ '%s',
392
  )
393
  );
394
  break;
395
  case 'plugin':
396
+ if ( ! empty( $this->plugins_cache ) && isset( $options[ 'plugins' ] ) && !empty( $options[ 'plugins' ] ) ) {
397
+ $plugins = get_plugins();
 
 
 
 
 
 
 
 
 
398
  foreach( $options[ 'plugins' ] as $plugin ) {
399
  $plugin_data = isset( $plugins[ $plugin ] ) ? $plugins[ $plugin ] : false;
400
+ $version_from = '';
401
+ if ( isset( $this->plugins_cache[ $plugin ] ) ) {
402
+ $version_from = $this->plugins_cache[ $plugin ][ 'Version' ];
403
+ }
404
+
405
+ if ( false !== $plugin_data ) {
406
+ $status = ( $plugin_data[ 'Version' ] == $version_from ) ? 0 : 1;
407
  $wpdb->insert(
408
  $tablename,
409
  array(
410
+ 'user_id' => $user_id,
411
+ 'name' => $plugin_data[ 'Name' ],
412
+ 'type' => $options[ 'type' ],
413
+ 'version_from' => $version_from,
414
+ 'version' => $plugin_data[ 'Version' ],
415
+ 'action' => 'manual',
416
+ 'status' => $status,
417
+ 'date' => current_time( 'mysql' ),
418
  ),
419
  array(
420
  '%d',
424
  '%s',
425
  '%s',
426
  '%s',
427
+ '%s',
428
  )
429
  );
430
  }
431
  }
432
  }
433
+ delete_site_transient( 'MPSUM_PLUGINS' );
434
  break;
435
  case 'theme':
436
  if ( isset( $options[ 'themes' ] ) && !empty( $options[ 'themes' ] ) ) {
437
+
 
 
 
 
 
438
  foreach( $options[ 'themes' ] as $theme ) {
439
  $theme_data = wp_get_theme( $theme );
440
+
441
+ if ( $theme_data->exists() ) {
442
+
443
+ $version_from = '';
444
+ if ( isset( $this->themes_cache[ $theme ] ) ) {
445
+ $version_from = $this->themes_cache[ $theme ]->get( 'Version' );
446
+ }
447
+ $status = ( $version_from == $theme_data->get( 'Version' ) ) ? 0 : 1;
448
  $wpdb->insert(
449
  $tablename,
450
  array(
451
+ 'user_id' => $user_id,
452
+ 'name' => $theme_data->get( 'Name' ),
453
+ 'type' => $options[ 'type' ],
454
+ 'version_from' => $version_from,
455
+ 'version' => $theme_data->get( 'Version' ),
456
+ 'action' => 'manual',
457
+ 'status' => $status,
458
+ 'date' => current_time( 'mysql' ),
459
  ),
460
  array(
461
  '%d',
465
  '%s',
466
  '%s',
467
  '%s',
468
+ '%s',
469
  )
470
  );
471
  }
472
  }
473
  }
474
+ delete_site_transient( 'MPSUM_THEMES' );
475
  break;
476
  case 'translation':
477
  foreach( $options[ 'translations' ] as $translation ) {
483
  $wpdb->insert(
484
  $tablename,
485
  array(
486
+ 'user_id' => $user_id,
487
+ 'name' => $name . ' (' . $translation[ 'language' ] . ')',
488
+ 'type' => $translation[ 'type' ],
489
+ 'version_from' => $this->get_version_for_type( $translation[ 'type' ], $slug ),
490
+ 'version' => $version,
491
+ 'action' => 'manual',
492
+ 'status' => $status,
493
+ 'date' => current_time( 'mysql' ),
494
  ),
495
  array(
496
  '%d',
500
  '%s',
501
  '%s',
502
  '%s',
503
+ '%s',
504
  )
505
  );
506
  }
534
  user_id BIGINT(20) NOT NULL DEFAULT 0,
535
  name VARCHAR(255) NOT NULL,
536
  type VARCHAR(255) NOT NULL,
537
+ version_from VARCHAR(255) NOT NULL,
538
  version VARCHAR(255) NOT NULL,
539
  action VARCHAR(255) NOT NULL,
540
  status VARCHAR(255) NOT NULL,
includes/MPSUM_Logs_List_Table.php CHANGED
@@ -76,7 +76,7 @@ class MPSUM_Logs_List_Table extends MPSUM_List_Table {
76
  $where .= $wpdb->prepare( " and $tablename.type = %s ", sanitize_text_field( $_GET[ 'type' ] ) );
77
  }
78
 
79
- $select = "select * from $tablename WHERE 1=1";
80
  $orderby = " order by log_id DESC";
81
  $limit = " limit %d,%d";
82
  $query = $select . $where . $orderby . $limit;
@@ -235,7 +235,8 @@ class MPSUM_Logs_List_Table extends MPSUM_List_Table {
235
  'user' => _x( 'User', 'Column header for logs', 'stops-core-theme-and-plugin-updates' ),
236
  'name' => _x( 'Name', 'Column header for logs', 'stops-core-theme-and-plugin-updates' ),
237
  'type' => _x( 'Type', 'Column header for logs', 'stops-core-theme-and-plugin-updates' ),
238
- 'version' => _x( 'Version', 'Column header for logs', 'stops-core-theme-and-plugin-updates' ),
 
239
  'action' => _x( 'Action', 'Column header for logs', 'stops-core-theme-and-plugin-updates' ),
240
  'status' => _x( 'Status', 'Column header for logs', 'stops-core-theme-and-plugin-updates' ),
241
  'date' => _x( 'Date', 'Column header for logs', 'stops-core-theme-and-plugin-updates' ),
@@ -298,6 +299,9 @@ class MPSUM_Logs_List_Table extends MPSUM_List_Table {
298
  echo esc_html( ucfirst( $record_data ) );
299
  }
300
  break;
 
 
 
301
  case 'version':
302
  echo esc_html( $record_data );
303
  break;
76
  $where .= $wpdb->prepare( " and $tablename.type = %s ", sanitize_text_field( $_GET[ 'type' ] ) );
77
  }
78
 
79
+ $select = "select log_id, user_id, name, type, version_from, version, action, status, date from $tablename WHERE 1=1";
80
  $orderby = " order by log_id DESC";
81
  $limit = " limit %d,%d";
82
  $query = $select . $where . $orderby . $limit;
235
  'user' => _x( 'User', 'Column header for logs', 'stops-core-theme-and-plugin-updates' ),
236
  'name' => _x( 'Name', 'Column header for logs', 'stops-core-theme-and-plugin-updates' ),
237
  'type' => _x( 'Type', 'Column header for logs', 'stops-core-theme-and-plugin-updates' ),
238
+ 'version_from' => _x( 'From', 'Column header for version number in logs', 'stops-core-theme-and-plugin-updates' ),
239
+ 'version' => _x( 'To', 'Column header for version number in logs', 'stops-core-theme-and-plugin-updates' ),
240
  'action' => _x( 'Action', 'Column header for logs', 'stops-core-theme-and-plugin-updates' ),
241
  'status' => _x( 'Status', 'Column header for logs', 'stops-core-theme-and-plugin-updates' ),
242
  'date' => _x( 'Date', 'Column header for logs', 'stops-core-theme-and-plugin-updates' ),
299
  echo esc_html( ucfirst( $record_data ) );
300
  }
301
  break;
302
+ case 'version_from':
303
+ echo esc_html( $record_data );
304
+ break;
305
  case 'version':
306
  echo esc_html( $record_data );
307
  break;
includes/MPSUM_Plugins_List_Table.php CHANGED
File without changes
includes/MPSUM_Themes_List_Table.php CHANGED
File without changes
includes/MPSUM_Tracking.php CHANGED
File without changes
js/admin.js CHANGED
@@ -20,6 +20,6 @@ for(t.style.display="none",n(158).appendChild(t),t.src="javascript:",e=t.content
20
  */
21
  function r(e,t){if(!i.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var a=document.createElement("div");a.setAttribute(n,"return;"),r="function"==typeof a[n]}return!r&&o&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var o,i=n(5);i.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=null===e||e===!1,r=null===t||t===!1;if(n||r)return n===r;var o=typeof e,i=typeof t;return"string"===o||"number"===o?"string"===i||"number"===i:"object"===i&&e.type===t.type&&e.key===t.key}e.exports=r},function(e,t,n){"use strict";var r=(n(3),n(6)),o=(n(1),r);e.exports=o},function(e,t,n){"use strict";function r(e,t,n){this.props=e,this.context=t,this.refs=a,this.updater=n||i}var o=n(34),i=n(86),a=(n(131),n(37));n(0),n(1);r.prototype.isReactComponent={},r.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e?o("85"):void 0,this.updater.enqueueSetState(this,e),t&&this.updater.enqueueCallback(this,t,"setState")},r.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this),e&&this.updater.enqueueCallback(this,e,"forceUpdate")};e.exports=r},function(e,t,n){"use strict";function r(e,t){}var o=(n(1),{isMounted:function(e){return!1},enqueueCallback:function(e,t){},enqueueForceUpdate:function(e){r(e,"forceUpdate")},enqueueReplaceState:function(e,t){r(e,"replaceState")},enqueueSetState:function(e,t){r(e,"setState")}});e.exports=o},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(10),i=r(o),a=n(11),u=r(a),s=n(12),l=r(s),c=n(14),p=r(c),d=n(13),f=r(d),h=n(18),m=r(h),v=(n(15),n(53)),g=r(v),y=n(42),_=(r(y),n(54)),b=r(_),C=function(e){function t(e){(0,u.default)(this,t);var n=(0,p.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={checked:n.props.checked,itemClasses:n.maybeActiveItem(),disabled:n.props.disabled,label:mpsum.enabled,loading:!1},n.itemChange=n.itemChange.bind(n),n}return(0,f.default)(t,e),(0,l.default)(t,[{key:"maybeSetActive",value:function(e){return e?"dashboard-item active":"dashboard-item"}},{key:"maybeActiveItem",value:function(){return this.maybeSetActive(this.props.checked)}},{key:"itemChange",value:function(e){this.setState({loading:!0}),b.default.itemToggle(this.props.context,this.props.name,this.state.checked?"off":"on",this.props.id)}},{key:"getLabel",value:function(){return this.state.loading?m.default.createElement(g.default,null):m.default.createElement("label",{htmlFor:this.props.name},this.state.label)}},{key:"componentWillReceiveProps",value:function(e){this.setState({loading:e.loading,checked:e.checked,disabled:e.disabled})}},{key:"render",value:function(){return m.default.createElement("div",{className:this.maybeActiveItem()},m.default.createElement("div",{className:"dashboard-item-header input-radio"},this.props.title),m.default.createElement("div",{className:"dashboard-item-choice"},m.default.createElement("input",{id:this.props.name,type:"checkbox",className:"dashboard-hide",name:this.props.name,value:"on",onChange:this.itemChange,checked:this.state.checked,disabled:this.state.disabled}),this.getLabel()))}}]),t}(m.default.Component);C.propTypes={id:m.default.PropTypes.string,checked:m.default.PropTypes.bool.isRequired,disabled:m.default.PropTypes.bool.isRequired,name:m.default.PropTypes.string.isRequired,context:m.default.PropTypes.string.isRequired,loading:m.default.PropTypes.bool.isRequired},C.defaultProps={id:"",checked:!1,disabled:!1,name:"",context:"",loading:!1},t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={ITEM_TOGGLE:"ITEM_TOGGLE"};t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(209);t.default=new r.Dispatcher},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(145),i=r(o),a=n(144),u=r(a),s="function"==typeof u.default&&"symbol"==typeof i.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"===s(i.default)?function(e){return"undefined"==typeof e?"undefined":s(e)}:function(e){return e&&"function"==typeof u.default&&e.constructor===u.default&&e!==u.default.prototype?"symbol":"undefined"==typeof e?"undefined":s(e)}},function(e,t,n){var r=n(153);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){var r=n(36),o=n(19).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){e.exports=!n(21)&&!n(35)(function(){return 7!=Object.defineProperty(n(92)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";var r=n(58),o=n(27),i=n(100),a=n(28),u=n(22),s=n(44),l=n(161),c=n(61),p=n(98),d=n(20)("iterator"),f=!([].keys&&"next"in[].keys()),h="@@iterator",m="keys",v="values",g=function(){return this};e.exports=function(e,t,n,y,_,b,C){l(n,t,y);var E,x,w,k=function(e){if(!f&&e in O)return O[e];switch(e){case m:return function(){return new n(this,e)};case v:return function(){return new n(this,e)}}return function(){return new n(this,e)}},T=t+" Iterator",P=_==v,S=!1,O=e.prototype,M=O[d]||O[h]||_&&O[_],N=M||k(_),I=_?P?k("entries"):N:void 0,A="Array"==t?O.entries||M:M;if(A&&(w=p(A.call(new e)),w!==Object.prototype&&(c(w,T,!0),r||u(w,d)||a(w,d,g))),P&&M&&M.name!==v&&(S=!0,N=function(){return M.call(this)}),r&&!C||!f&&!S&&O[d]||a(O,d,N),s[t]=N,s[T]=g,_)if(E={values:P?N:k(v),keys:b?N:k(m),entries:I},C)for(x in E)x in O||i(O,x,E[x]);else o(o.P+o.F*(f||S),t,E);return E}},function(e,t,n){var r=n(60),o=n(46),i=n(24),a=n(65),u=n(22),s=n(93),l=Object.getOwnPropertyDescriptor;t.f=n(21)?l:function(e,t){if(e=i(e),t=a(t,!0),s)try{return l(e,t)}catch(e){}if(u(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(99),o=n(57).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(22),o=n(101),i=n(62)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var r=n(22),o=n(24),i=n(155)(!1),a=n(62)("IE_PROTO");e.exports=function(e,t){var n,u=o(e),s=0,l=[];for(n in u)n!=a&&r(u,n)&&l.push(n);for(;t.length>s;)r(u,n=t[s++])&&(~i(l,n)||l.push(n));return l}},function(e,t,n){e.exports=n(28)},function(e,t,n){var r=n(56);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r=n(169)(!0);n(94)(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){n(174);for(var r=n(19),o=n(28),i=n(44),a=n(20)("toStringTag"),u=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],s=0;s<5;s++){var l=u[s],c=r[l],p=c&&c.prototype;p&&!p[a]&&o(p,a,l),i[l]=i.Array}},function(e,t,n){"use strict";var r=n(6),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){try{e.focus()}catch(e){}}e.exports=r},function(e,t,n){"use strict";function r(){if("undefined"==typeof document)return null;try{return document.activeElement||document.body}catch(e){return document.body}}e.exports=r},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 i(e){if(p===clearTimeout)return clearTimeout(e);if((p===r||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(e);try{return p(e)}catch(t){try{return p.call(null,e)}catch(t){return p.call(this,e)}}}function a(){m&&f&&(m=!1,f.length?h=f.concat(h):v=-1,h.length&&u())}function u(){if(!m){var e=o(a);m=!0;for(var t=h.length;t;){for(f=h,h=[];++v<t;)f&&f[v].run();v=-1,t=h.length}f=null,m=!1,i(e)}}function s(e,t){this.fun=e,this.array=t}function l(){}var c,p,d=e.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:n}catch(e){c=n}try{p="function"==typeof clearTimeout?clearTimeout:r}catch(e){p=r}}();var f,h=[],m=!1,v=-1;d.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];h.push(new s(e,t)),1!==h.length||m||o(u)},s.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=l,d.addListener=l,d.once=l,d.off=l,d.removeListener=l,d.removeAllListeners=l,d.emit=l,d.binding=function(e){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(e){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}},function(e,t,n){"use strict";function r(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var o={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!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},i=["Webkit","ms","Moz","O"];Object.keys(o).forEach(function(e){i.forEach(function(t){o[r(t,e)]=o[e]})});var a={background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}},u={isUnitlessNumber:o,shorthandPropertyExpansions:a};e.exports=u},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=n(2),i=n(25),a=(n(0),function(){function e(t){r(this,e),this._callbacks=null,this._contexts=null,this._arg=t}return e.prototype.enqueue=function(e,t){this._callbacks=this._callbacks||[],this._callbacks.push(e),this._contexts=this._contexts||[],this._contexts.push(t)},e.prototype.notifyAll=function(){var e=this._callbacks,t=this._contexts,n=this._arg;if(e&&t){e.length!==t.length?o("24"):void 0,this._callbacks=null,this._contexts=null;for(var r=0;r<e.length;r++)e[r].call(t[r],n);e.length=0,t.length=0}},e.prototype.checkpoint=function(){return this._callbacks?this._callbacks.length:0},e.prototype.rollback=function(e){this._callbacks&&this._contexts&&(this._callbacks.length=e,this._contexts.length=e)},e.prototype.reset=function(){this._callbacks=null,this._contexts=null},e.prototype.destructor=function(){this.reset()},e}());e.exports=i.addPoolingTo(a)},function(e,t,n){"use strict";function r(e){return!!l.hasOwnProperty(e)||!s.hasOwnProperty(e)&&(u.test(e)?(l[e]=!0,!0):(s[e]=!0,!1))}function o(e,t){return null==t||e.hasBooleanValue&&!t||e.hasNumericValue&&isNaN(t)||e.hasPositiveNumericValue&&t<1||e.hasOverloadedBooleanValue&&t===!1}var i=n(30),a=(n(4),n(7),n(275)),u=(n(1),new RegExp("^["+i.ATTRIBUTE_NAME_START_CHAR+"]["+i.ATTRIBUTE_NAME_CHAR+"]*$")),s={},l={},c={createMarkupForID:function(e){return i.ID_ATTRIBUTE_NAME+"="+a(e)},setAttributeForID:function(e,t){e.setAttribute(i.ID_ATTRIBUTE_NAME,t)},createMarkupForRoot:function(){return i.ROOT_ATTRIBUTE_NAME+'=""'},setAttributeForRoot:function(e){e.setAttribute(i.ROOT_ATTRIBUTE_NAME,"")},createMarkupForProperty:function(e,t){var n=i.properties.hasOwnProperty(e)?i.properties[e]:null;if(n){if(o(n,t))return"";var r=n.attributeName;return n.hasBooleanValue||n.hasOverloadedBooleanValue&&t===!0?r+'=""':r+"="+a(t)}return i.isCustomAttribute(e)?null==t?"":e+"="+a(t):null},createMarkupForCustomAttribute:function(e,t){return r(e)&&null!=t?e+"="+a(t):""},setValueForProperty:function(e,t,n){var r=i.properties.hasOwnProperty(t)?i.properties[t]:null;if(r){var a=r.mutationMethod;if(a)a(e,n);else{if(o(r,n))return void this.deleteValueForProperty(e,t);if(r.mustUseProperty)e[r.propertyName]=n;else{var u=r.attributeName,s=r.attributeNamespace;s?e.setAttributeNS(s,u,""+n):r.hasBooleanValue||r.hasOverloadedBooleanValue&&n===!0?e.setAttribute(u,""):e.setAttribute(u,""+n)}}}else if(i.isCustomAttribute(t))return void c.setValueForAttribute(e,t,n)},setValueForAttribute:function(e,t,n){if(r(t)){null==n?e.removeAttribute(t):e.setAttribute(t,""+n)}},deleteValueForAttribute:function(e,t){e.removeAttribute(t)},deleteValueForProperty:function(e,t){var n=i.properties.hasOwnProperty(t)?i.properties[t]:null;if(n){var r=n.mutationMethod;if(r)r(e,void 0);else if(n.mustUseProperty){var o=n.propertyName;n.hasBooleanValue?e[o]=!1:e[o]=""}else e.removeAttribute(n.attributeName)}else i.isCustomAttribute(t)&&e.removeAttribute(t)}};e.exports=c},function(e,t,n){"use strict";var r={hasCachedChildNodes:1};e.exports=r},function(e,t,n){"use strict";function r(){if(this._rootNodeID&&this._wrapperState.pendingUpdate){this._wrapperState.pendingUpdate=!1;var e=this._currentElement.props,t=u.getValue(e);null!=t&&o(this,Boolean(e.multiple),t)}}function o(e,t,n){var r,o,i=s.getNodeFromInstance(e).options;if(t){for(r={},o=0;o<n.length;o++)r[""+n[o]]=!0;for(o=0;o<i.length;o++){var a=r.hasOwnProperty(i[o].value);i[o].selected!==a&&(i[o].selected=a)}}else{for(r=""+n,o=0;o<i.length;o++)if(i[o].value===r)return void(i[o].selected=!0);i.length&&(i[0].selected=!0)}}function i(e){var t=this._currentElement.props,n=u.executeOnChange(t,e);return this._rootNodeID&&(this._wrapperState.pendingUpdate=!0),l.asap(r,this),n}var a=n(3),u=n(74),s=n(4),l=n(9),c=(n(1),!1),p={getHostProps:function(e,t){return a({},t,{onChange:e._wrapperState.onChange,value:void 0})},mountWrapper:function(e,t){var n=u.getValue(t);e._wrapperState={pendingUpdate:!1,initialValue:null!=n?n:t.defaultValue,listeners:null,onChange:i.bind(e),wasMultiple:Boolean(t.multiple)},void 0===t.value||void 0===t.defaultValue||c||(c=!0)},getSelectValueContext:function(e){return e._wrapperState.initialValue},postUpdateWrapper:function(e){var t=e._currentElement.props;e._wrapperState.initialValue=void 0;var n=e._wrapperState.wasMultiple;e._wrapperState.wasMultiple=Boolean(t.multiple);var r=u.getValue(t);null!=r?(e._wrapperState.pendingUpdate=!1,o(e,Boolean(t.multiple),r)):n!==Boolean(t.multiple)&&(null!=t.defaultValue?o(e,Boolean(t.multiple),t.defaultValue):o(e,Boolean(t.multiple),t.multiple?[]:""))}};e.exports=p},function(e,t,n){"use strict";var r,o={injectEmptyComponentFactory:function(e){r=e}},i={create:function(e){return r(e)}};i.injection=o,e.exports=i},function(e,t,n){"use strict";var r={logTopLevelRenders:!1};e.exports=r},function(e,t,n){"use strict";function r(e){return u?void 0:a("111",e.type),new u(e)}function o(e){return new s(e)}function i(e){return e instanceof s}var a=n(2),u=(n(0),null),s=null,l={injectGenericComponentClass:function(e){u=e},injectTextComponentClass:function(e){s=e}},c={createInternalComponent:r,createInstanceForText:o,isTextComponent:i,injection:l};e.exports=c},function(e,t,n){"use strict";function r(e){return i(document.documentElement,e)}var o=n(234),i=n(199),a=n(105),u=n(106),s={hasSelectionCapabilities:function(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&"text"===e.type||"textarea"===t||"true"===e.contentEditable)},getSelectionInformation:function(){var e=u();return{focusedElem:e,selectionRange:s.hasSelectionCapabilities(e)?s.getSelection(e):null}},restoreSelection:function(e){var t=u(),n=e.focusedElem,o=e.selectionRange;t!==n&&r(n)&&(s.hasSelectionCapabilities(n)&&s.setSelection(n,o),a(n))},getSelection:function(e){var t;if("selectionStart"in e)t={start:e.selectionStart,end:e.selectionEnd};else if(document.selection&&e.nodeName&&"input"===e.nodeName.toLowerCase()){var n=document.selection.createRange();n.parentElement()===e&&(t={start:-n.moveStart("character",-e.value.length),end:-n.moveEnd("character",-e.value.length)})}else t=o.getOffsets(e);return t||{start:0,end:0}},setSelection:function(e,t){var n=t.start,r=t.end;if(void 0===r&&(r=n),"selectionStart"in e)e.selectionStart=n,e.selectionEnd=Math.min(r,e.value.length);else if(document.selection&&e.nodeName&&"input"===e.nodeName.toLowerCase()){var i=e.createTextRange();i.collapse(!0),i.moveStart("character",n),i.moveEnd("character",r-n),i.select()}else o.setOffsets(e,t)}};e.exports=s},function(e,t,n){"use strict";function r(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++)if(e.charAt(r)!==t.charAt(r))return r;return e.length===t.length?-1:n}function o(e){return e?e.nodeType===R?e.documentElement:e.firstChild:null}function i(e){return e.getAttribute&&e.getAttribute(N)||""}function a(e,t,n,r,o){var i;if(C.logTopLevelRenders){var a=e._currentElement.props.child,u=a.type;i="React mount: "+("string"==typeof u?u:u.displayName||u.name),console.time(i)}var s=w.mountComponent(e,n,null,_(e,t),o,0);i&&console.timeEnd(i),e._renderedComponent._topLevelWrapper=e,F._mountImageIntoNode(s,t,e,r,n)}function u(e,t,n,r){var o=T.ReactReconcileTransaction.getPooled(!n&&b.useCreateElement);o.perform(a,null,e,t,o,n,r),T.ReactReconcileTransaction.release(o)}function s(e,t,n){for(w.unmountComponent(e,n),t.nodeType===R&&(t=t.documentElement);t.lastChild;)t.removeChild(t.lastChild)}function l(e){var t=o(e);if(t){var n=y.getInstanceFromNode(t);return!(!n||!n._hostParent)}}function c(e){return!(!e||e.nodeType!==A&&e.nodeType!==R&&e.nodeType!==D)}function p(e){var t=o(e),n=t&&y.getInstanceFromNode(t);return n&&!n._hostParent?n:null}function d(e){var t=p(e);return t?t._hostContainerInfo._topLevelWrapper:null}var f=n(2),h=n(29),m=n(30),v=n(32),g=n(48),y=(n(17),n(4)),_=n(228),b=n(230),C=n(114),E=n(40),x=(n(7),n(244)),w=n(31),k=n(77),T=n(9),P=n(37),S=n(124),O=(n(0),n(52)),M=n(83),N=(n(1),m.ID_ATTRIBUTE_NAME),I=m.ROOT_ATTRIBUTE_NAME,A=1,R=9,D=11,j={},L=1,U=function(){this.rootID=L++};U.prototype.isReactComponent={},U.prototype.render=function(){return this.props.child},U.isReactTopLevelWrapper=!0;var F={TopLevelWrapper:U,_instancesByReactRootID:j,scrollMonitor:function(e,t){t()},_updateRootComponent:function(e,t,n,r,o){return F.scrollMonitor(r,function(){k.enqueueElementInternal(e,t,n),o&&k.enqueueCallbackInternal(e,o)}),e},_renderNewRootComponent:function(e,t,n,r){c(t)?void 0:f("37"),g.ensureScrollValueMonitoring();var o=S(e,!1);T.batchedUpdates(u,o,t,n,r);var i=o._instance.rootID;return j[i]=o,o},renderSubtreeIntoContainer:function(e,t,n,r){return null!=e&&E.has(e)?void 0:f("38"),F._renderSubtreeIntoContainer(e,t,n,r)},_renderSubtreeIntoContainer:function(e,t,n,r){k.validateCallback(r,"ReactDOM.render"),v.isValidElement(t)?void 0:f("39","string"==typeof t?" Instead of passing a string like 'div', pass React.createElement('div') or <div />.":"function"==typeof t?" Instead of passing a class like Foo, pass React.createElement(Foo) or <Foo />.":null!=t&&void 0!==t.props?" This may be caused by unintentionally loading two independent copies of React.":"");var a,u=v.createElement(U,{child:t});if(e){var s=E.get(e);a=s._processChildContext(s._context)}else a=P;var c=d(n);if(c){var p=c._currentElement,h=p.props.child;if(M(h,t)){var m=c._renderedComponent.getPublicInstance(),g=r&&function(){r.call(m)};return F._updateRootComponent(c,u,a,n,g),m}F.unmountComponentAtNode(n)}var y=o(n),_=y&&!!i(y),b=l(n),C=_&&!c&&!b,x=F._renderNewRootComponent(u,n,C,a)._renderedComponent.getPublicInstance();return r&&r.call(x),x},render:function(e,t,n){return F._renderSubtreeIntoContainer(null,e,t,n)},unmountComponentAtNode:function(e){c(e)?void 0:f("40");var t=d(e);if(!t){l(e),1===e.nodeType&&e.hasAttribute(I);return!1}return delete j[t._instance.rootID],T.batchedUpdates(s,t,e,!1),!0},_mountImageIntoNode:function(e,t,n,i,a){if(c(t)?void 0:f("41"),i){var u=o(t);if(x.canReuseMarkup(e,u))return void y.precacheNode(n,u);var s=u.getAttribute(x.CHECKSUM_ATTR_NAME);u.removeAttribute(x.CHECKSUM_ATTR_NAME);var l=u.outerHTML;u.setAttribute(x.CHECKSUM_ATTR_NAME,s);var p=e,d=r(p,l),m=" (client) "+p.substring(d-20,d+20)+"\n (server) "+l.substring(d-20,d+20);t.nodeType===R?f("42",m):void 0}if(t.nodeType===R?f("43"):void 0,a.useCreateElement){for(;t.lastChild;)t.removeChild(t.lastChild);h.insertTreeBefore(t,e,null)}else O(t,e),y.precacheNode(n,t.firstChild)}};e.exports=F},function(e,t,n){"use strict";var r=n(2),o=n(32),i=(n(0),{HOST:0,COMPOSITE:1,EMPTY:2,getType:function(e){return null===e||e===!1?i.EMPTY:o.isValidElement(e)?"function"==typeof e.type?i.COMPOSITE:i.HOST:void r("26",e)}});e.exports=i},function(e,t,n){"use strict";var r={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(e){r.currentScrollLeft=e.x,r.currentScrollTop=e.y}};e.exports=r},function(e,t,n){"use strict";function r(e,t){return null==t?o("30"):void 0,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]}var o=n(2);n(0);e.exports=r},function(e,t,n){"use strict";function r(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}e.exports=r},function(e,t,n){"use strict";function r(e){for(var t;(t=e._renderedNodeType)===o.COMPOSITE;)e=e._renderedComponent;return t===o.HOST?e._renderedComponent:t===o.EMPTY?null:void 0}var o=n(118);e.exports=r},function(e,t,n){"use strict";function r(){return!i&&o.canUseDOM&&(i="textContent"in document.documentElement?"textContent":"innerText"),i}var o=n(5),i=null;e.exports=r},function(e,t,n){"use strict";function r(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}function o(e){return"function"==typeof e&&"undefined"!=typeof e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent}function i(e,t){var n;if(null===e||e===!1)n=l.create(i);else if("object"==typeof e){var u=e,s=u.type;if("function"!=typeof s&&"string"!=typeof s){var d="";d+=r(u._owner),a("130",null==s?s:typeof s,d)}"string"==typeof u.type?n=c.createInternalComponent(u):o(u.type)?(n=new u.type(u),n.getHostNode||(n.getHostNode=n.getNativeNode)):n=new p(u)}else"string"==typeof e||"number"==typeof e?n=c.createInstanceForText(e):a("131",typeof e);return n._mountIndex=0,n._mountImage=null,n}var a=n(2),u=n(3),s=n(225),l=n(113),c=n(115),p=(n(272),n(0),n(1),function(e){this.construct(e)});u(p.prototype,s,{_instantiateReactComponent:i}),e.exports=i},function(e,t,n){"use strict";function r(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!o[e.type]:"textarea"===t}var o={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};e.exports=r},function(e,t,n){"use strict";var r=n(5),o=n(51),i=n(52),a=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t};r.canUseDOM&&("textContent"in document.documentElement||(a=function(e,t){return 3===e.nodeType?void(e.nodeValue=t):void i(e,o(t))})),e.exports=a},function(e,t,n){"use strict";function r(e,t){return e&&"object"==typeof e&&null!=e.key?l.escape(e.key):t.toString(36)}function o(e,t,n,i){var d=typeof e;if("undefined"!==d&&"boolean"!==d||(e=null),null===e||"string"===d||"number"===d||"object"===d&&e.$$typeof===u)return n(i,e,""===t?c+r(e,0):t),1;var f,h,m=0,v=""===t?c:t+p;if(Array.isArray(e))for(var g=0;g<e.length;g++)f=e[g],h=v+r(f,g),m+=o(f,h,n,i);else{var y=s(e);if(y){var _,b=y.call(e);if(y!==e.entries)for(var C=0;!(_=b.next()).done;)f=_.value,h=v+r(f,C++),m+=o(f,h,n,i);else for(;!(_=b.next()).done;){var E=_.value;E&&(f=E[1],h=v+l.escape(E[0])+p+r(f,0),m+=o(f,h,n,i))}}else if("object"===d){var x="",w=String(e);a("31","[object Object]"===w?"object with keys {"+Object.keys(e).join(", ")+"}":w,x)}}return m}function i(e,t,n){return null==e?0:o(e,"",t,n)}var a=n(2),u=(n(17),n(240)),s=n(271),l=(n(0),n(73)),c=(n(1),"."),p=":";e.exports=i},function(e,t,n){"use strict";function r(e){var t=Function.prototype.toString,n=Object.prototype.hasOwnProperty,r=RegExp("^"+t.call(n).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");try{var o=t.call(e);return r.test(o)}catch(e){return!1}}function o(e){var t=l(e);if(t){var n=t.childIDs;c(e),n.forEach(o)}}function i(e,t,n){return"\n in "+(e||"Unknown")+(t?" (at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+")":n?" (created by "+n+")":"")}function a(e){return null==e?"#empty":"string"==typeof e||"number"==typeof e?"#text":"string"==typeof e.type?e.type:e.type.displayName||e.type.name||"Unknown"}function u(e){var t,n=k.getDisplayName(e),r=k.getElement(e),o=k.getOwnerID(e);return o&&(t=k.getDisplayName(o)),i(n,r&&r._source,t)}var s,l,c,p,d,f,h,m=n(34),v=n(17),g=(n(0),n(1),"function"==typeof Array.from&&"function"==typeof Map&&r(Map)&&null!=Map.prototype&&"function"==typeof Map.prototype.keys&&r(Map.prototype.keys)&&"function"==typeof Set&&r(Set)&&null!=Set.prototype&&"function"==typeof Set.prototype.keys&&r(Set.prototype.keys));if(g){var y=new Map,_=new Set;s=function(e,t){y.set(e,t)},l=function(e){return y.get(e)},c=function(e){y.delete(e)},p=function(){return Array.from(y.keys())},d=function(e){_.add(e)},f=function(e){_.delete(e)},h=function(){return Array.from(_.keys())}}else{var b={},C={},E=function(e){return"."+e},x=function(e){return parseInt(e.substr(1),10)};s=function(e,t){var n=E(e);b[n]=t},l=function(e){var t=E(e);return b[t]},c=function(e){var t=E(e);delete b[t]},p=function(){return Object.keys(b).map(x)},d=function(e){var t=E(e);C[t]=!0},f=function(e){var t=E(e);delete C[t]},h=function(){return Object.keys(C).map(x)}}var w=[],k={onSetChildren:function(e,t){var n=l(e);n?void 0:m("144"),n.childIDs=t;for(var r=0;r<t.length;r++){var o=t[r],i=l(o);i?void 0:m("140"),null==i.childIDs&&"object"==typeof i.element&&null!=i.element?m("141"):void 0,i.isMounted?void 0:m("71"),null==i.parentID&&(i.parentID=e),i.parentID!==e?m("142",o,i.parentID,e):void 0}},onBeforeMountComponent:function(e,t,n){var r={element:t,parentID:n,text:null,childIDs:[],isMounted:!1,updateCount:0};s(e,r)},onBeforeUpdateComponent:function(e,t){var n=l(e);n&&n.isMounted&&(n.element=t)},onMountComponent:function(e){var t=l(e);t?void 0:m("144"),t.isMounted=!0;var n=0===t.parentID;n&&d(e)},onUpdateComponent:function(e){var t=l(e);t&&t.isMounted&&t.updateCount++},onUnmountComponent:function(e){var t=l(e);if(t){t.isMounted=!1;var n=0===t.parentID;n&&f(e)}w.push(e)},purgeUnmountedComponents:function(){if(!k._preventPurging){for(var e=0;e<w.length;e++){var t=w[e];o(t)}w.length=0}},isMounted:function(e){var t=l(e);return!!t&&t.isMounted},getCurrentStackAddendum:function(e){var t="";if(e){var n=a(e),r=e._owner;t+=i(n,e._source,r&&r.getName())}var o=v.current,u=o&&o._debugID;return t+=k.getStackAddendumByID(u)},getStackAddendumByID:function(e){for(var t="";e;)t+=u(e),e=k.getParentID(e);return t},getChildIDs:function(e){var t=l(e);return t?t.childIDs:[]},getDisplayName:function(e){var t=k.getElement(e);return t?a(t):null},getElement:function(e){var t=l(e);return t?t.element:null},getOwnerID:function(e){var t=k.getElement(e);return t&&t._owner?t._owner._debugID:null},getParentID:function(e){var t=l(e);return t?t.parentID:null},getSource:function(e){var t=l(e),n=t?t.element:null,r=null!=n?n._source:null;return r},getText:function(e){var t=k.getElement(e);return"string"==typeof t?t:"number"==typeof t?""+t:null},getUpdateCount:function(e){var t=l(e);return t?t.updateCount:0},getRootIDs:h,getRegisteredIDs:p};e.exports=k},function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=r},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t,n){"use strict";var r=!1;e.exports=r},function(e,t,n){"use strict";function r(e){var t=e&&(o&&e[o]||e[i]);if("function"==typeof t)return t}var o="function"==typeof Symbol&&Symbol.iterator,i="@@iterator";e.exports=r},function(e,t,n){"use strict";jQuery(document).ready(function(e){var t="";"on"==mpsum.dashboard_showing&&(t=' checked="checked"');var n='<fieldset class="screen-options">';n+="<legend>"+mpsum.tabs+"</legend>",n+='<input type="hidden" value="off" name="mpsum_dashboard" />',n+='<input type="checkbox" id="mpsum_dashboard" value="on" name="mpsum_dashboard"'+t+"/>",n+='&nbsp;<label for="mpsum_dashboard">'+mpsum.dashboard+"</label>",n+="</fieldset>",e("#screen-options-wrap #adv-settings").prepend(n),"on"==mpsum.new_user&&swal({html:'<div id="mpsum-welcome-modal"><h2>'+mpsum.welcome+"</h2>, <h3>"+mpsum.welcome_intro+'</h3><button id="eum-enable-autoupdates" class="eum-button button button-primary" name="eum_enable_automatic" value="on" id="eum_type_1">'+mpsum.welcome_automatic+'</button><button id="eum-disable-manually" class="eum-button button button-primary" name="eum_type_disable_updates" value="on" id="eum_type_2">'+mpsum.welcome_disable+'</button><button id="eum-configure-manually" class="eum-button button button-primary" name="eum_enable_automatic" value="on" id="eum_type_1">Configure Manually</button></div>',type:"question",showCloseButton:!0}),jQuery("body").on("click","#eum-configure-manually",function(e){e.preventDefault(),jQuery("#mpsum-welcome-modal").html(),jQuery.post(ajaxurl,{action:"mpsum_ajax_remove_wizard",_ajax_nonce:mpsum.admin_nonce},function(e){window.top.location.reload()})}),jQuery("body").on("click","#eum-disable-manually",function(e){e.preventDefault(),jQuery("#mpsum-welcome-modal").html(),jQuery.post(ajaxurl,{action:"mpsum_ajax_disable_updates",_ajax_nonce:mpsum.admin_nonce},function(e){window.top.location.reload()})}),jQuery("body").on("click","#eum-enable-autoupdates",function(e){e.preventDefault(),jQuery("#mpsum-welcome-modal").html(),jQuery.post(ajaxurl,{action:"mpsum_ajax_enable_automatic_updates",_ajax_nonce:mpsum.admin_nonce},function(e){window.top.location.reload()})})})},function(e,t,n){"use strict";var r,o,i,a,u,s,l,c=n(183),p=n(192),d=Function.prototype.apply,f=Function.prototype.call,h=Object.create,m=Object.defineProperty,v=Object.defineProperties,g=Object.prototype.hasOwnProperty,y={configurable:!0,enumerable:!1,writable:!0};r=function(e,t){var n;return p(t),g.call(this,"__ee__")?n=this.__ee__:(n=y.value=h(null),m(this,"__ee__",y),y.value=null),n[e]?"object"==typeof n[e]?n[e].push(t):n[e]=[n[e],t]:n[e]=t,this},o=function(e,t){var n,o;return p(t),o=this,r.call(this,e,n=function(){i.call(o,e,n),d.call(t,this,arguments)}),n.__eeOnceListener__=t,this},i=function(e,t){var n,r,o,i;if(p(t),!g.call(this,"__ee__"))return this;if(n=this.__ee__,!n[e])return this;if(r=n[e],"object"==typeof r)for(i=0;o=r[i];++i)o!==t&&o.__eeOnceListener__!==t||(2===r.length?n[e]=r[i?0:1]:r.splice(i,1));else r!==t&&r.__eeOnceListener__!==t||delete n[e];
22
  return this},a=function(e){var t,n,r,o,i;if(g.call(this,"__ee__")&&(o=this.__ee__[e]))if("object"==typeof o){for(n=arguments.length,i=new Array(n-1),t=1;t<n;++t)i[t-1]=arguments[t];for(o=o.slice(),t=0;r=o[t];++t)d.call(r,this,i)}else switch(arguments.length){case 1:f.call(o,this);break;case 2:f.call(o,this,arguments[1]);break;case 3:f.call(o,this,arguments[1],arguments[2]);break;default:for(n=arguments.length,i=new Array(n-1),t=1;t<n;++t)i[t-1]=arguments[t];d.call(o,this,i)}},u={on:r,once:o,off:i,emit:a},s={on:c(r),once:c(o),off:c(i),emit:c(a)},l=v({},s),e.exports=t=function(e){return null==e?h(l):v(Object(e),s)},t.methods=u},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(10),i=r(o),a=n(11),u=r(a),s=n(12),l=r(s),c=n(14),p=r(c),d=n(13),f=r(d),h=n(18),m=r(h),v=(n(15),function(e){function t(e){(0,u.default)(this,t);var n=(0,p.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={disabled:!mpsum.ratings_nag.enabled},n.disabled=n.disabled.bind(n),n}return(0,f.default)(t,e),(0,l.default)(t,[{key:"disabled",value:function(e){e.preventDefault(),this.setState({disabled:!0});var t=new XMLHttpRequest;t.open("POST",ajaxurl),t.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),t.send("action=mpsum_ajax_remove_ratings_nag&_ajax_nonce="+mpsum.admin_nonce)}},{key:"display",value:function(){if(!1===this.state.disabled)return m.default.createElement("div",{className:"eum-ratings-nag mpsum-notice"},m.default.createElement("p",null,m.default.createElement("strong",null,mpsum.ratings_nag.text)),m.default.createElement("ul",null,m.default.createElement("li",null,m.default.createElement("a",{className:"button button-primary",target:"_new",href:mpsum.ratings_nag.url},mpsum.ratings_nag.affirm)),m.default.createElement("li",null,m.default.createElement("a",{className:"button button-secondary",href:"#",onClick:this.disabled},mpsum.ratings_nag.cancel))))}},{key:"render",value:function(){return m.default.createElement("div",null,this.display())}}]),t}(m.default.Component));t.default=v},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(10),i=r(o),a=n(11),u=r(a),s=n(12),l=r(s),c=n(14),p=r(c),d=n(13),f=r(d),h=n(18),m=r(h),v=(n(15),n(42)),g=(r(v),n(54)),y=(r(g),n(87)),_=r(y),b=function(e){function t(e){(0,u.default)(this,t);var n=(0,p.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={checked:n.props.checked,disabled:n.props.disabled,label:mpsum.enabled,loading:!1},n}return(0,f.default)(t,e),(0,l.default)(t,[{key:"componentWillReceiveProps",value:function(e){this.setState({loading:e.loading,checked:e.checked,disabled:e.disabled})}},{key:"render",value:function(){return m.default.createElement("div",null,m.default.createElement(_.default,{id:this.props.id,name:this.props.name,onChange:this.itemChange,checked:this.state.checked,disabled:this.state.disabled,context:this.props.context,title:this.props.title}))}}]),t}(m.default.Component);b.propTypes={id:m.default.PropTypes.string,checked:m.default.PropTypes.bool.isRequired,title:m.default.PropTypes.string.isRequired,disabled:m.default.PropTypes.bool.isRequired,name:m.default.PropTypes.string.isRequired,context:m.default.PropTypes.string.isRequired,loading:m.default.PropTypes.bool.isRequired},b.defaultProps={id:"",checked:!1,title:"",disabled:!1,name:"",context:"",loading:!1},t.default=b},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(43),i=r(o),a=n(10),u=r(a),s=n(11),l=r(s),c=n(12),p=r(c),d=n(14),f=r(d),h=n(13),m=r(h),v=n(18),g=r(v),y=(n(15),n(53)),_=r(y),b=n(42),C=(r(b),n(54)),E=r(C),x=function(e){function t(e){(0,l.default)(this,t);var n=(0,f.default)(this,(t.__proto__||(0,u.default)(t)).call(this,e));return n.state={checked:n.props.checked,disabled:n.props.disabled,label:mpsum.enabled,loading:!1,choices:n.props.choices},n.itemChange=n.itemChange.bind(n),n}return(0,m.default)(t,e),(0,p.default)(t,[{key:"itemChange",value:function(e){e.preventDefault(),this.setState({loading:!0}),E.default.itemToggle(this.props.context,this.props.name,e.target.value)}},{key:"displayChoices",value:function(){if(!1===this.state.loading){var e=[],t=!0,n=!1,r=void 0;try{for(var o,a=(0,i.default)(this.props.choices);!(t=(o=a.next()).done);t=!0){var u=o.value;e.push(g.default.createElement("div",{key:u.id,className:"multi-choice-item"},g.default.createElement("input",{type:"radio",value:u.value,id:u.id,checked:this.state.checked==u.value,onChange:this.itemChange,disabled:this.state.disabled})," ",g.default.createElement("label",{htmlFor:u.id},u.label)))}}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}return g.default.createElement("div",{className:"multi-choice"},e)}return g.default.createElement(_.default,null)}},{key:"componentWillReceiveProps",value:function(e){this.setState({loading:e.loading,checked:e.checked,disabled:e.disabled})}},{key:"render",value:function(){return g.default.createElement("div",null,g.default.createElement("div",{className:"dashboard-item active"},g.default.createElement("div",{className:"dashboard-item-header input-radio"},this.props.title),this.displayChoices()))}}]),t}(g.default.Component);x.propTypes={checked:g.default.PropTypes.string.isRequired,title:g.default.PropTypes.string.isRequired,disabled:g.default.PropTypes.bool.isRequired,name:g.default.PropTypes.string.isRequired,context:g.default.PropTypes.string.isRequired,loading:g.default.PropTypes.bool.isRequired},x.defaultProps={checked:"default",title:"",disabled:!1,name:"",context:"",loading:!1},t.default=x},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(43),i=r(o),a=n(10),u=r(a),s=n(11),l=r(s),c=n(12),p=r(c),d=n(14),f=r(d),h=n(13),m=r(h),v=n(18),g=r(v),y=(n(15),n(87)),_=r(y),b=function(e){function t(e){(0,l.default)(this,t);var n=(0,f.default)(this,(t.__proto__||(0,u.default)(t)).call(this,e));return n.state={tabs:n.props.tabs,active:n.props.active},n.tabClicked=n.tabClicked.bind(n),n}return(0,m.default)(t,e),(0,p.default)(t,[{key:"tabClicked",value:function(e){e.preventDefault(),this.setState({active:e.target.id})}},{key:"showTabs",value:function(){var e=[],t=[],n=!0,r=!1,o=void 0;try{for(var a,u=(0,i.default)(this.props.tabs);!(n=(a=u.next()).done);n=!0){var s=a.value,l="dashboard-tab-header-plugin dashboard-tab-item "+(this.state.active==s.id?"active":"");e.push(g.default.createElement("div",{className:l,key:s.id},g.default.createElement("a",{href:"#",onClick:this.tabClicked,id:s.id},s.label)));var c="dashboard-tab-content "+(this.state.active==s.id?"active":null),p=[],d=!0,f=!1,h=void 0;try{for(var m,v=(0,i.default)(s.items);!(d=(m=v.next()).done);d=!0){var y=m.value;p.push(g.default.createElement(_.default,{id:y.id,title:y.title,name:y.id+"_"+y.context,key:y.id+"_"+y.context,checked:y.checked,disabled:y.disabled,context:s.context,loading:s.loading}))}}catch(e){f=!0,h=e}finally{try{!d&&v.return&&v.return()}finally{if(f)throw h}}t.push(g.default.createElement("div",{className:c,key:s.id},p))}}catch(e){r=!0,o=e}finally{try{!n&&u.return&&u.return()}finally{if(r)throw o}}return g.default.createElement("div",{className:"dashboard-tab"},e,t)}},{key:"render",value:function(){return g.default.createElement("div",null,this.showTabs())}}]),t}(g.default.Component);t.default=b},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(43),i=r(o),a=n(10),u=r(a),s=n(11),l=r(s),c=n(12),p=r(c),d=n(14),f=r(d),h=n(13),m=r(h),v=n(18),g=r(v),y=(n(15),n(136)),_=r(y),b=n(137),C=r(b),E=n(138),x=r(E),w=function(e){function t(e){return(0,l.default)(this,t),(0,f.default)(this,(t.__proto__||(0,u.default)(t)).call(this,e))}return(0,m.default)(t,e),(0,p.default)(t,[{key:"createItems",value:function(){var e=[],t=!0,n=!1,r=void 0;try{for(var o,a=(0,i.default)(this.props.items);!(t=(o=a.next()).done);t=!0){var u=o.value;"ToggleItem"==u.component?e.push(this.createToggleComponent(u)):"ToggleItemRadio"==u.component?e.push(this.createToggleRadioComponent(u)):"ToggleTabs"==u.component&&e.push(this.createToggleTabsComponent(u))}}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}return e}},{key:"createToggleTabsComponent",value:function(e){return g.default.createElement("div",{key:e.id},g.default.createElement(x.default,{tabs:e.tabs,active:e.active}))}},{key:"createToggleComponent",value:function(e){return g.default.createElement("div",{key:e.name},g.default.createElement(_.default,{title:e.title,name:e.name,checked:e.checked,disabled:e.disabled,context:e.context,loading:e.loading}))}},{key:"createToggleRadioComponent",value:function(e){return g.default.createElement("div",{key:e.name},g.default.createElement(C.default,{title:e.title,name:e.name,checked:e.checked,disabled:e.disabled,context:e.context,update:this.props.update,loading:e.loading,choices:e.choices}))}},{key:"render",value:function(){return g.default.createElement("div",{className:"dashboard-main-wrapper"},g.default.createElement("div",{className:"dashboard-main-header"},this.props.title),g.default.createElement("div",{className:"dashboard-item-wrapper"},this.createItems()))}}]),t}(g.default.Component);w.propTypes={title:g.default.PropTypes.string.isRequired},w.defaultProps={title:""},t.default=w},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(10),i=r(o),a=n(11),u=r(a),s=n(12),l=r(s),c=n(14),p=r(c),d=n(13),f=r(d),h=n(18),m=r(h),v=(n(15),function(e){function t(e){(0,u.default)(this,t);var n=(0,p.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={disabled:"off"===mpsum.tracking_nag.enabled},n.disabled=n.disabled.bind(n),n.enabled=n.enabled.bind(n),console.log(mpsum),n}return(0,f.default)(t,e),(0,l.default)(t,[{key:"disabled",value:function(e){e.preventDefault(),this.setState({disabled:!0});var t=new XMLHttpRequest;t.open("POST",ajaxurl),t.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),t.send("action=mpsum_ajax_remove_tracking_nag&_ajax_nonce="+mpsum.admin_nonce)}},{key:"enabled",value:function(e){e.preventDefault(),this.setState({disabled:!0});var t=new XMLHttpRequest;t.open("POST",ajaxurl),t.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),t.send("action=mpsum_ajax_enable_tracking&_ajax_nonce="+mpsum.admin_nonce)}},{key:"display",value:function(){if(!1===this.state.disabled)return m.default.createElement("div",{className:"eum-tracking-nag mpsum-notice"},m.default.createElement("p",null,m.default.createElement("strong",null,mpsum.tracking_nag.text)," ",m.default.createElement("a",{target:"_blank",href:mpsum.tracking_nag.url},mpsum.tracking_nag.help)),m.default.createElement("ul",null,m.default.createElement("li",null,m.default.createElement("button",{className:"button button-primary",onClick:this.enabled},mpsum.tracking_nag.affirm)),m.default.createElement("li",null,m.default.createElement("button",{className:"button button-secondary",onClick:this.disabled},mpsum.tracking_nag.cancel))))}},{key:"render",value:function(){return m.default.createElement("div",null,this.display())}}]),t}(m.default.Component));t.default=v},function(e,t,n){e.exports={default:n(147),__esModule:!0}},function(e,t,n){e.exports={default:n(148),__esModule:!0}},function(e,t,n){e.exports={default:n(150),__esModule:!0}},function(e,t,n){e.exports={default:n(151),__esModule:!0}},function(e,t,n){e.exports={default:n(152),__esModule:!0}},function(e,t,n){n(103),n(102),e.exports=n(173)},function(e,t,n){n(175);var r=n(8).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){n(176);var r=n(8).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){n(177),e.exports=n(8).Object.getPrototypeOf},function(e,t,n){n(178),e.exports=n(8).Object.setPrototypeOf},function(e,t,n){n(180),n(179),n(181),n(182),e.exports=n(8).Symbol},function(e,t,n){n(102),n(103),e.exports=n(67).f("iterator")},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){e.exports=function(){}},function(e,t,n){var r=n(24),o=n(171),i=n(170);e.exports=function(e){return function(t,n,a){var u,s=r(t),l=o(s.length),c=i(a,l);if(e&&n!=n){for(;l>c;)if(u=s[c++],u!=u)return!0}else for(;l>c;c++)if((e||c in s)&&s[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(55),o=n(20)("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,u;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),o))?n:i?r(t):"Object"==(u=r(t))&&"function"==typeof t.callee?"Arguments":u}},function(e,t,n){var r=n(45),o=n(97),i=n(60);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,u=n(e),s=i.f,l=0;u.length>l;)s.call(e,a=u[l++])&&t.push(a);return t}},function(e,t,n){e.exports=n(19).document&&document.documentElement},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(55);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){"use strict";var r=n(59),o=n(46),i=n(61),a={};n(28)(a,n(20)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r=n(45),o=n(24);e.exports=function(e,t){for(var n,i=o(e),a=r(i),u=a.length,s=0;u>s;)if(i[n=a[s++]]===t)return n}},function(e,t,n){var r=n(47)("meta"),o=n(36),i=n(22),a=n(23).f,u=0,s=Object.isExtensible||function(){return!0},l=!n(35)(function(){return s(Object.preventExtensions({}))}),c=function(e){a(e,r,{value:{i:"O"+ ++u,w:{}}})},p=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!s(e))return"F";if(!t)return"E";c(e)}return e[r].i},d=function(e,t){if(!i(e,r)){if(!s(e))return!0;if(!t)return!1;c(e)}return e[r].w},f=function(e){return l&&h.NEED&&s(e)&&!i(e,r)&&c(e),e},h=e.exports={KEY:r,NEED:!1,fastKey:p,getWeak:d,onFreeze:f}},function(e,t,n){var r=n(23),o=n(26),i=n(45);e.exports=n(21)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),u=a.length,s=0;u>s;)r.f(e,n=a[s++],t[n]);return e}},function(e,t,n){var r=n(24),o=n(96).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(e){try{return o(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?u(e):o(r(e))}},function(e,t,n){var r=n(27),o=n(8),i=n(35);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},function(e,t,n){var r=n(36),o=n(26),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n(91)(Function.call,n(95).f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){var r=n(64),o=n(56);e.exports=function(e){return function(t,n){var i,a,u=String(o(t)),s=r(n),l=u.length;return s<0||s>=l?e?"":void 0:(i=u.charCodeAt(s),i<55296||i>56319||s+1===l||(a=u.charCodeAt(s+1))<56320||a>57343?e?u.charAt(s):i:e?u.slice(s,s+2):(i-55296<<10)+(a-56320)+65536)}}},function(e,t,n){var r=n(64),o=Math.max,i=Math.min;e.exports=function(e,t){return e=r(e),e<0?o(e+t,0):i(e,t)}},function(e,t,n){var r=n(64),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(156),o=n(20)("iterator"),i=n(44);e.exports=n(8).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(26),o=n(172);e.exports=n(8).getIterator=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t,n){"use strict";var r=n(154),o=n(162),i=n(44),a=n(24);e.exports=n(94)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,n):"values"==t?o(0,e[n]):o(0,[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(27);r(r.S,"Object",{create:n(59)})},function(e,t,n){var r=n(27);r(r.S+r.F*!n(21),"Object",{defineProperty:n(23).f})},function(e,t,n){var r=n(101),o=n(98);n(167)("getPrototypeOf",function(){return function(e){return o(r(e))}})},function(e,t,n){var r=n(27);r(r.S,"Object",{setPrototypeOf:n(168).set})},function(e,t){},function(e,t,n){"use strict";var r=n(19),o=n(22),i=n(21),a=n(27),u=n(100),s=n(164).KEY,l=n(35),c=n(63),p=n(61),d=n(47),f=n(20),h=n(67),m=n(66),v=n(163),g=n(157),y=n(160),_=n(26),b=n(24),C=n(65),E=n(46),x=n(59),w=n(166),k=n(95),T=n(23),P=n(45),S=k.f,O=T.f,M=w.f,N=r.Symbol,I=r.JSON,A=I&&I.stringify,R="prototype",D=f("_hidden"),j=f("toPrimitive"),L={}.propertyIsEnumerable,U=c("symbol-registry"),F=c("symbols"),V=c("op-symbols"),B=Object[R],W="function"==typeof N,H=r.QObject,q=!H||!H[R]||!H[R].findChild,K=i&&l(function(){return 7!=x(O({},"a",{get:function(){return O(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=S(B,t);r&&delete B[t],O(e,t,n),r&&e!==B&&O(B,t,r)}:O,z=function(e){var t=F[e]=x(N[R]);return t._k=e,t},Y=W&&"symbol"==typeof N.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof N},$=function(e,t,n){return e===B&&$(V,t,n),_(e),t=C(t,!0),_(n),o(F,t)?(n.enumerable?(o(e,D)&&e[D][t]&&(e[D][t]=!1),n=x(n,{enumerable:E(0,!1)})):(o(e,D)||O(e,D,E(1,{})),e[D][t]=!0),K(e,t,n)):O(e,t,n)},G=function(e,t){_(e);for(var n,r=g(t=b(t)),o=0,i=r.length;i>o;)$(e,n=r[o++],t[n]);return e},X=function(e,t){return void 0===t?x(e):G(x(e),t)},Q=function(e){var t=L.call(this,e=C(e,!0));return!(this===B&&o(F,e)&&!o(V,e))&&(!(t||!o(this,e)||!o(F,e)||o(this,D)&&this[D][e])||t)},J=function(e,t){if(e=b(e),t=C(t,!0),e!==B||!o(F,t)||o(V,t)){var n=S(e,t);return!n||!o(F,t)||o(e,D)&&e[D][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=M(b(e)),r=[],i=0;n.length>i;)o(F,t=n[i++])||t==D||t==s||r.push(t);return r},ee=function(e){for(var t,n=e===B,r=M(n?V:b(e)),i=[],a=0;r.length>a;)!o(F,t=r[a++])||n&&!o(B,t)||i.push(F[t]);return i};W||(N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===B&&t.call(V,n),o(this,D)&&o(this[D],e)&&(this[D][e]=!1),K(this,e,E(1,n))};return i&&q&&K(B,e,{configurable:!0,set:t}),z(e)},u(N[R],"toString",function(){return this._k}),k.f=J,T.f=$,n(96).f=w.f=Z,n(60).f=Q,n(97).f=ee,i&&!n(58)&&u(B,"propertyIsEnumerable",Q,!0),h.f=function(e){return z(f(e))}),a(a.G+a.W+a.F*!W,{Symbol:N});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)f(te[ne++]);for(var te=P(f.store),ne=0;te.length>ne;)m(te[ne++]);a(a.S+a.F*!W,"Symbol",{for:function(e){return o(U,e+="")?U[e]:U[e]=N(e)},keyFor:function(e){if(Y(e))return v(U,e);throw TypeError(e+" is not a symbol!")},useSetter:function(){q=!0},useSimple:function(){q=!1}}),a(a.S+a.F*!W,"Object",{create:X,defineProperty:$,defineProperties:G,getOwnPropertyDescriptor:J,getOwnPropertyNames:Z,getOwnPropertySymbols:ee}),I&&a(a.S+a.F*(!W||l(function(){var e=N();return"[null]"!=A([e])||"{}"!=A({a:e})||"{}"!=A(Object(e))})),"JSON",{stringify:function(e){if(void 0!==e&&!Y(e)){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);return t=r[1],"function"==typeof t&&(n=t),!n&&y(t)||(t=function(e,t){if(n&&(t=n.call(this,e,t)),!Y(t))return t}),r[1]=t,A.apply(I,r)}}}),N[R][j]||n(28)(N[R],j,N[R].valueOf),p(N,"Symbol"),p(Math,"Math",!0),p(r.JSON,"JSON",!0)},function(e,t,n){n(66)("asyncIterator")},function(e,t,n){n(66)("observable")},function(e,t,n){"use strict";var r,o=n(184),i=n(191),a=n(187),u=n(194);r=e.exports=function(e,t){var n,r,a,s,l;return arguments.length<2||"string"!=typeof e?(s=t,t=e,e=null):s=arguments[2],null==e?(n=a=!0,r=!1):(n=u.call(e,"c"),r=u.call(e,"e"),a=u.call(e,"w")),l={value:t,configurable:n,enumerable:r,writable:a},s?o(i(s),l):l},r.gs=function(e,t,n){var r,s,l,c;return"string"!=typeof e?(l=n,n=t,t=e,e=null):l=arguments[3],null==t?t=void 0:a(t)?null==n?n=void 0:a(n)||(l=n,n=void 0):(l=t,t=n=void 0),null==e?(r=!0,s=!1):(r=u.call(e,"c"),s=u.call(e,"e")),c={get:t,set:n,configurable:r,enumerable:s},l?o(i(l),c):c}},function(e,t,n){"use strict";e.exports=n(185)()?Object.assign:n(186)},function(e,t,n){"use strict";e.exports=function(){var e,t=Object.assign;return"function"==typeof t&&(e={foo:"raz"},t(e,{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},function(e,t,n){"use strict";var r=n(188),o=n(193),i=Math.max;e.exports=function(e,t){var n,a,u,s=i(arguments.length,2);for(e=Object(o(e)),u=function(r){try{e[r]=t[r]}catch(e){n||(n=e)}},a=1;a<s;++a)t=arguments[a],r(t).forEach(u);if(void 0!==n)throw n;return e}},function(e,t,n){"use strict";e.exports=function(e){return"function"==typeof e}},function(e,t,n){"use strict";e.exports=n(189)()?Object.keys:n(190)},function(e,t,n){"use strict";e.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}},function(e,t,n){"use strict";var r=Object.keys;e.exports=function(e){return r(null==e?e:Object(e))}},function(e,t,n){"use strict";var r=Array.prototype.forEach,o=Object.create,i=function(e,t){var n;for(n in e)t[n]=e[n]};e.exports=function(e){var t=o(null);return r.call(arguments,function(e){null!=e&&i(Object(e),t)}),t}},function(e,t,n){"use strict";e.exports=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}},function(e,t,n){"use strict";e.exports=function(e){if(null==e)throw new TypeError("Cannot use null or undefined");return e}},function(e,t,n){"use strict";e.exports=n(195)()?String.prototype.contains:n(196)},function(e,t,n){"use strict";var r="razdwatrzy";e.exports=function(){return"function"==typeof r.contains&&(r.contains("dwa")===!0&&r.contains("foo")===!1)}},function(e,t,n){"use strict";var r=String.prototype.indexOf;e.exports=function(e){return r.call(this,e,arguments[1])>-1}},function(e,t,n){"use strict";function r(e){return e.replace(o,function(e,t){return t.toUpperCase()})}var o=/-(.)/g;e.exports=r},function(e,t,n){"use strict";function r(e){return o(e.replace(i,"ms-"))}var o=n(197),i=/^-ms-/;e.exports=r},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(207);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.length;if(Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e?a(!1):void 0,"number"!=typeof t?a(!1):void 0,0===t||t-1 in e?void 0:a(!1),"function"==typeof e.callee?a(!1):void 0,e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),r=0;r<t;r++)n[r]=e[r];return n}function o(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}function i(e){return o(e)?Array.isArray(e)?e.slice():r(e):[e]}var a=n(0);e.exports=i},function(e,t,n){"use strict";function r(e){var t=e.match(c);return t&&t[1].toLowerCase()}function o(e,t){var n=l;l?void 0:s(!1);var o=r(e),i=o&&u(o);if(i){n.innerHTML=i[1]+e+i[2];for(var c=i[0];c--;)n=n.lastChild}else n.innerHTML=e;var p=n.getElementsByTagName("script");p.length&&(t?void 0:s(!1),a(p).forEach(t));for(var d=Array.from(n.childNodes);n.lastChild;)n.removeChild(n.lastChild);return d}var i=n(5),a=n(200),u=n(202),s=n(0),l=i.canUseDOM?document.createElement("div"):null,c=/^\s*<(\w+)/;e.exports=o},function(e,t,n){"use strict";function r(e){return a?void 0:i(!1),d.hasOwnProperty(e)||(e="*"),u.hasOwnProperty(e)||("*"===e?a.innerHTML="<link />":a.innerHTML="<"+e+"></"+e+">",u[e]=!a.firstChild),u[e]?d[e]:null}var o=n(5),i=n(0),a=o.canUseDOM?document.createElement("div"):null,u={},s=[1,'<select multiple="true">',"</select>"],l=[1,"<table>","</table>"],c=[3,"<table><tbody><tr>","</tr></tbody></table>"],p=[1,'<svg xmlns="http://www.w3.org/2000/svg">',"</svg>"],d={"*":[1,"?<div>","</div>"],area:[1,"<map>","</map>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],legend:[1,"<fieldset>","</fieldset>"],param:[1,"<object>","</object>"],tr:[2,"<table><tbody>","</tbody></table>"],optgroup:s,option:s,caption:l,colgroup:l,tbody:l,tfoot:l,thead:l,td:c,th:c},f=["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];f.forEach(function(e){d[e]=p,u[e]=!0}),e.exports=r},function(e,t,n){"use strict";function r(e){return e===window?{x:window.pageXOffset||document.documentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}e.exports=r},function(e,t,n){"use strict";function r(e){return e.replace(o,"-$1").toLowerCase()}var o=/([A-Z])/g;e.exports=r},function(e,t,n){"use strict";function r(e){return o(e).replace(i,"-ms-")}var o=n(204),i=/^ms-/;e.exports=r},function(e,t,n){"use strict";function r(e){return!(!e||!("function"==typeof Node?e instanceof Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=r},function(e,t,n){"use strict";function r(e){return o(e)&&3==e.nodeType}var o=n(206);e.exports=r},function(e,t,n){"use strict";function r(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}e.exports=r},function(e,t,n){e.exports.Dispatcher=n(210)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var o=n(0),i="ID_",a=function(){function e(){r(this,e),this._callbacks={},this._isDispatching=!1,this._isHandled={},this._isPending={},this._lastID=1}return e.prototype.register=function(e){var t=i+this._lastID++;return this._callbacks[t]=e,t},e.prototype.unregister=function(e){this._callbacks[e]?void 0:o(!1),delete this._callbacks[e]},e.prototype.waitFor=function(e){this._isDispatching?void 0:o(!1);for(var t=0;t<e.length;t++){var n=e[t];this._isPending[n]?this._isHandled[n]?void 0:o(!1):(this._callbacks[n]?void 0:o(!1),this._invokeCallback(n))}},e.prototype.dispatch=function(e){this._isDispatching?o(!1):void 0,this._startDispatching(e);try{for(var t in this._callbacks)this._isPending[t]||this._invokeCallback(t)}finally{this._stopDispatching()}},e.prototype.isDispatching=function(){return this._isDispatching},e.prototype._invokeCallback=function(e){this._isPending[e]=!0,this._callbacks[e](this._pendingPayload),this._isHandled[e]=!0},e.prototype._startDispatching=function(e){for(var t in this._callbacks)this._isPending[t]=!1,this._isHandled[t]=!1;this._pendingPayload=e,this._isDispatching=!0},e.prototype._stopDispatching=function(){delete this._pendingPayload,this._isDispatching=!1},e}();e.exports=a},function(e,t,n){function r(e){return e instanceof Array?e.slice():e&&"object"==typeof e?h(new e.constructor,e):e}function o(){function e(n,o){p(!Array.isArray(o),"update(): You provided an invalid spec to update(). The spec may not contain an array except as the value of $set, $push, $unshift, $splice or any custom command allowing an array value."),p("object"==typeof o&&null!==o,"update(): You provided an invalid spec to update(). The spec and every included key path must be plain objects containing one of the following commands: %s.",Object.keys(t).join(", "));var i,a,u=n,s=m(o);for(i=0;i<s.length;i++){var a=s[i];if(d.call(t,a))u=t[a](o[a],u,o,n);else{var l=e(n[a],o[a]);l!==u[a]&&(u===n&&(u=r(n)),u[a]=l)}}return u}var t=h({},v);return e.extend=function(e,n){t[e]=n},e}function i(e,t,n){p(Array.isArray(e),"update(): expected target of %s to be an array; got %s.",n,e);var r=t[n];p(Array.isArray(r),"update(): expected spec of %s to be an array; got %s. Did you forget to wrap your parameter in an array?",n,r)}function a(e,t){p(Array.isArray(e),"Expected $splice target to be an array; got %s",e),u(t.$splice)}function u(e){p(Array.isArray(e),"update(): expected spec of $splice to be an array of arrays; got %s. Did you forget to wrap your parameters in an array?",e)}function s(e){p("function"==typeof e,"update(): expected spec of $apply to be a function; got %s.",e)}function l(e){p(1===Object.keys(e).length,"Cannot have more than one key in an object with $set")}function c(e,t){p(t&&"object"==typeof t,"update(): $merge expects a spec of type 'object'; got %s",t),p(e&&"object"==typeof e,"update(): $merge expects a target of type 'object'; got %s",e)}var p=n(212),d=Object.prototype.hasOwnProperty,f=Array.prototype.splice,h=Object.assign||function(e,t){for(var n=m(t),r=0;r<n.length;r++){var o=n[r];d.call(t,o)&&(e[o]=t[o])}return e},m="function"==typeof Object.getOwnPropertySymbols?function(e){return Object.keys(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.keys(e)},v={$push:function(e,t,n){return i(t,n,"$push"),t.concat(e)},$unshift:function(e,t,n){return i(t,n,"$unshift"),e.concat(t)},$splice:function(e,t,n,o){var i=t===o?r(o):t;return a(i,n),e.forEach(function(e){u(e),f.apply(i,e)}),i},$set:function(e,t,n){return l(n),e},$merge:function(e,t,n,o){var i=t===o?r(o):t;return c(i,e),m(e).forEach(function(t){i[t]=e[t]}),i},$apply:function(e,t){return s(e),e(t)}};e.exports=o(),e.exports.newContext=o},function(e,t,n){"use strict";var r=function(e,t,n,r,o,i,a,u){if(!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 l=[n,r,o,i,a,u],c=0;s=new Error(t.replace(/%s/g,function(){return l[c++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}};e.exports=r},function(e,t,n){"use strict";var r={Properties:{"aria-current":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},DOMAttributeNames:{},DOMPropertyNames:{}};e.exports=r},function(e,t,n){"use strict";var r=n(4),o=n(105),i={focusDOMComponent:function(){o(r.getNodeFromInstance(this))}};e.exports=i},function(e,t,n){"use strict";function r(){var e=window.opera;return"object"==typeof e&&"function"==typeof e.version&&parseInt(e.version(),10)<=12}function o(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function i(e){switch(e){case"topCompositionStart":return T.compositionStart;case"topCompositionEnd":return T.compositionEnd;case"topCompositionUpdate":return T.compositionUpdate}}function a(e,t){return"topKeyDown"===e&&t.keyCode===_}function u(e,t){switch(e){case"topKeyUp":return y.indexOf(t.keyCode)!==-1;case"topKeyDown":return t.keyCode!==_;case"topKeyPress":case"topMouseDown":case"topBlur":return!0;default:return!1}}function s(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}function l(e,t,n,r){
23
- var o,l;if(b?o=i(e):S?u(e,n)&&(o=T.compositionEnd):a(e,n)&&(o=T.compositionStart),!o)return null;x&&(S||o!==T.compositionStart?o===T.compositionEnd&&S&&(l=S.getData()):S=m.getPooled(r));var c=v.getPooled(o,t,n,r);if(l)c.data=l;else{var p=s(n);null!==p&&(c.data=p)}return f.accumulateTwoPhaseDispatches(c),c}function c(e,t){switch(e){case"topCompositionEnd":return s(t);case"topKeyPress":var n=t.which;return n!==w?null:(P=!0,k);case"topTextInput":var r=t.data;return r===k&&P?null:r;default:return null}}function p(e,t){if(S){if("topCompositionEnd"===e||!b&&u(e,t)){var n=S.getData();return m.release(S),S=null,n}return null}switch(e){case"topPaste":return null;case"topKeyPress":return t.which&&!o(t)?String.fromCharCode(t.which):null;case"topCompositionEnd":return x?null:t.data;default:return null}}function d(e,t,n,r){var o;if(o=E?c(e,n):p(e,n),!o)return null;var i=g.getPooled(T.beforeInput,t,n,r);return i.data=o,f.accumulateTwoPhaseDispatches(i),i}var f=n(39),h=n(5),m=n(221),v=n(258),g=n(261),y=[9,13,27,32],_=229,b=h.canUseDOM&&"CompositionEvent"in window,C=null;h.canUseDOM&&"documentMode"in document&&(C=document.documentMode);var E=h.canUseDOM&&"TextEvent"in window&&!C&&!r(),x=h.canUseDOM&&(!b||C&&C>8&&C<=11),w=32,k=String.fromCharCode(w),T={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},P=!1,S=null,O={eventTypes:T,extractEvents:function(e,t,n,r){return[l(e,t,n,r),d(e,t,n,r)]}};e.exports=O},function(e,t,n){"use strict";var r=n(108),o=n(5),i=(n(7),n(198),n(267)),a=n(205),u=n(208),s=(n(1),u(function(e){return a(e)})),l=!1,c="cssFloat";if(o.canUseDOM){var p=document.createElement("div").style;try{p.font=""}catch(e){l=!0}void 0===document.documentElement.style.cssFloat&&(c="styleFloat")}var d={createMarkupForStyles:function(e,t){var n="";for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];null!=o&&(n+=s(r)+":",n+=i(r,o,t)+";")}return n||null},setValueForStyles:function(e,t,n){var o=e.style;for(var a in t)if(t.hasOwnProperty(a)){var u=i(a,t[a],n);if("float"!==a&&"cssFloat"!==a||(a=c),u)o[a]=u;else{var s=l&&r.shorthandPropertyExpansions[a];if(s)for(var p in s)o[p]="";else o[a]=""}}}};e.exports=d},function(e,t,n){"use strict";function r(e){var t=e.nodeName&&e.nodeName.toLowerCase();return"select"===t||"input"===t&&"file"===e.type}function o(e){var t=x.getPooled(P.change,O,e,w(e));_.accumulateTwoPhaseDispatches(t),E.batchedUpdates(i,t)}function i(e){y.enqueueEvents(e),y.processEventQueue(!1)}function a(e,t){S=e,O=t,S.attachEvent("onchange",o)}function u(){S&&(S.detachEvent("onchange",o),S=null,O=null)}function s(e,t){if("topChange"===e)return t}function l(e,t,n){"topFocus"===e?(u(),a(t,n)):"topBlur"===e&&u()}function c(e,t){S=e,O=t,M=e.value,N=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value"),Object.defineProperty(S,"value",R),S.attachEvent?S.attachEvent("onpropertychange",d):S.addEventListener("propertychange",d,!1)}function p(){S&&(delete S.value,S.detachEvent?S.detachEvent("onpropertychange",d):S.removeEventListener("propertychange",d,!1),S=null,O=null,M=null,N=null)}function d(e){if("value"===e.propertyName){var t=e.srcElement.value;t!==M&&(M=t,o(e))}}function f(e,t){if("topInput"===e)return t}function h(e,t,n){"topFocus"===e?(p(),c(t,n)):"topBlur"===e&&p()}function m(e,t){if(("topSelectionChange"===e||"topKeyUp"===e||"topKeyDown"===e)&&S&&S.value!==M)return M=S.value,O}function v(e){return e.nodeName&&"input"===e.nodeName.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}function g(e,t){if("topClick"===e)return t}var y=n(38),_=n(39),b=n(5),C=n(4),E=n(9),x=n(16),w=n(81),k=n(82),T=n(125),P={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:["topBlur","topChange","topClick","topFocus","topInput","topKeyDown","topKeyUp","topSelectionChange"]}},S=null,O=null,M=null,N=null,I=!1;b.canUseDOM&&(I=k("change")&&(!document.documentMode||document.documentMode>8));var A=!1;b.canUseDOM&&(A=k("input")&&(!document.documentMode||document.documentMode>11));var R={get:function(){return N.get.call(this)},set:function(e){M=""+e,N.set.call(this,e)}},D={eventTypes:P,extractEvents:function(e,t,n,o){var i,a,u=t?C.getNodeFromInstance(t):window;if(r(u)?I?i=s:a=l:T(u)?A?i=f:(i=m,a=h):v(u)&&(i=g),i){var c=i(e,t);if(c){var p=x.getPooled(P.change,c,n,o);return p.type="change",_.accumulateTwoPhaseDispatches(p),p}}a&&a(e,u,t)}};e.exports=D},function(e,t,n){"use strict";var r=n(2),o=n(29),i=n(5),a=n(201),u=n(6),s=(n(0),{dangerouslyReplaceNodeWithMarkup:function(e,t){if(i.canUseDOM?void 0:r("56"),t?void 0:r("57"),"HTML"===e.nodeName?r("58"):void 0,"string"==typeof t){var n=a(t,u)[0];e.parentNode.replaceChild(n,e)}else o.replaceChildWithTree(e,t)}});e.exports=s},function(e,t,n){"use strict";var r=["ResponderEventPlugin","SimpleEventPlugin","TapEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"];e.exports=r},function(e,t,n){"use strict";var r=n(39),o=n(4),i=n(49),a={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},u={eventTypes:a,extractEvents:function(e,t,n,u){if("topMouseOver"===e&&(n.relatedTarget||n.fromElement))return null;if("topMouseOut"!==e&&"topMouseOver"!==e)return null;var s;if(u.window===u)s=u;else{var l=u.ownerDocument;s=l?l.defaultView||l.parentWindow:window}var c,p;if("topMouseOut"===e){c=t;var d=n.relatedTarget||n.toElement;p=d?o.getClosestInstanceFromNode(d):null}else c=null,p=t;if(c===p)return null;var f=null==c?s:o.getNodeFromInstance(c),h=null==p?s:o.getNodeFromInstance(p),m=i.getPooled(a.mouseLeave,c,n,u);m.type="mouseleave",m.target=f,m.relatedTarget=h;var v=i.getPooled(a.mouseEnter,p,n,u);return v.type="mouseenter",v.target=h,v.relatedTarget=f,r.accumulateEnterLeaveDispatches(m,v,c,p),[m,v]}};e.exports=u},function(e,t,n){"use strict";function r(e){this._root=e,this._startText=this.getText(),this._fallbackText=null}var o=n(3),i=n(25),a=n(123);o(r.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[a()]},getData:function(){if(this._fallbackText)return this._fallbackText;var e,t,n=this._startText,r=n.length,o=this.getText(),i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);var u=t>1?1-t:void 0;return this._fallbackText=o.slice(e,u),this._fallbackText}}),i.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";var r=n(30),o=r.injection.MUST_USE_PROPERTY,i=r.injection.HAS_BOOLEAN_VALUE,a=r.injection.HAS_NUMERIC_VALUE,u=r.injection.HAS_POSITIVE_NUMERIC_VALUE,s=r.injection.HAS_OVERLOADED_BOOLEAN_VALUE,l={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+r.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:i,allowTransparency:0,alt:0,as:0,async:i,autoComplete:0,autoPlay:i,capture:i,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:o|i,cite:0,classID:0,className:0,cols:u,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:i,coords:0,crossOrigin:0,data:0,dateTime:0,default:i,defer:i,dir:0,disabled:i,download:s,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:i,formTarget:0,frameBorder:0,headers:0,height:0,hidden:i,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:i,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:o|i,muted:o|i,name:0,nonce:0,noValidate:i,open:i,optimum:0,pattern:0,placeholder:0,playsInline:i,poster:0,preload:0,profile:0,radioGroup:0,readOnly:i,referrerPolicy:0,rel:0,required:i,reversed:i,role:0,rows:u,rowSpan:a,sandbox:0,scope:0,scoped:i,scrolling:0,seamless:i,selected:o|i,shape:0,size:u,sizes:0,span:u,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:a,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:i,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{}};e.exports=l},function(e,t,n){"use strict";(function(t){function r(e,t,n,r){var o=void 0===e[n];null!=t&&o&&(e[n]=i(t,!0))}var o=n(31),i=n(124),a=(n(73),n(83)),u=n(127);n(1);"undefined"!=typeof t&&t.env,1;var s={instantiateChildren:function(e,t,n,o){if(null==e)return null;var i={};return u(e,r,i),i},updateChildren:function(e,t,n,r,u,s,l,c,p){if(t||e){var d,f;for(d in t)if(t.hasOwnProperty(d)){f=e&&e[d];var h=f&&f._currentElement,m=t[d];if(null!=f&&a(h,m))o.receiveComponent(f,m,u,c),t[d]=f;else{f&&(r[d]=o.getHostNode(f),o.unmountComponent(f,!1));var v=i(m,!0);t[d]=v;var g=o.mountComponent(v,u,s,l,c,p);n.push(g)}}for(d in e)!e.hasOwnProperty(d)||t&&t.hasOwnProperty(d)||(f=e[d],r[d]=o.getHostNode(f),o.unmountComponent(f,!1))}},unmountChildren:function(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];o.unmountComponent(r,t)}}};e.exports=s}).call(t,n(107))},function(e,t,n){"use strict";var r=n(69),o=n(231),i={processChildrenUpdates:o.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkup:r.dangerouslyReplaceNodeWithMarkup};e.exports=i},function(e,t,n){"use strict";function r(e){}function o(e,t){}function i(e){return!(!e.prototype||!e.prototype.isReactComponent)}function a(e){return!(!e.prototype||!e.prototype.isPureReactComponent)}var u=n(2),s=n(3),l=n(32),c=n(75),p=n(17),d=n(76),f=n(40),h=(n(7),n(118)),m=n(31),v=n(37),g=(n(0),n(68)),y=n(83),_=(n(1),{ImpureClass:0,PureClass:1,StatelessFunctional:2});r.prototype.render=function(){var e=f.get(this)._currentElement.type,t=e(this.props,this.context,this.updater);return o(e,t),t};var b=1,C={construct:function(e){this._currentElement=e,this._rootNodeID=0,this._compositeType=null,this._instance=null,this._hostParent=null,this._hostContainerInfo=null,this._updateBatchNumber=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedNodeType=null,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._topLevelWrapper=null,this._pendingCallbacks=null,this._calledComponentWillUnmount=!1},mountComponent:function(e,t,n,s){this._context=s,this._mountOrder=b++,this._hostParent=t,this._hostContainerInfo=n;var c,p=this._currentElement.props,d=this._processContext(s),h=this._currentElement.type,m=e.getUpdateQueue(),g=i(h),y=this._constructComponent(g,p,d,m);g||null!=y&&null!=y.render?a(h)?this._compositeType=_.PureClass:this._compositeType=_.ImpureClass:(c=y,o(h,c),null===y||y===!1||l.isValidElement(y)?void 0:u("105",h.displayName||h.name||"Component"),y=new r(h),this._compositeType=_.StatelessFunctional);y.props=p,y.context=d,y.refs=v,y.updater=m,this._instance=y,f.set(y,this);var C=y.state;void 0===C&&(y.state=C=null),"object"!=typeof C||Array.isArray(C)?u("106",this.getName()||"ReactCompositeComponent"):void 0,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1;var E;return E=y.unstable_handleError?this.performInitialMountWithErrorHandling(c,t,n,e,s):this.performInitialMount(c,t,n,e,s),y.componentDidMount&&e.getReactMountReady().enqueue(y.componentDidMount,y),E},_constructComponent:function(e,t,n,r){return this._constructComponentWithoutOwner(e,t,n,r)},_constructComponentWithoutOwner:function(e,t,n,r){var o=this._currentElement.type;return e?new o(t,n,r):o(t,n,r)},performInitialMountWithErrorHandling:function(e,t,n,r,o){var i,a=r.checkpoint();try{i=this.performInitialMount(e,t,n,r,o)}catch(u){r.rollback(a),this._instance.unstable_handleError(u),this._pendingStateQueue&&(this._instance.state=this._processPendingState(this._instance.props,this._instance.context)),a=r.checkpoint(),this._renderedComponent.unmountComponent(!0),r.rollback(a),i=this.performInitialMount(e,t,n,r,o)}return i},performInitialMount:function(e,t,n,r,o){var i=this._instance,a=0;i.componentWillMount&&(i.componentWillMount(),this._pendingStateQueue&&(i.state=this._processPendingState(i.props,i.context))),void 0===e&&(e=this._renderValidatedComponent());var u=h.getType(e);this._renderedNodeType=u;var s=this._instantiateReactComponent(e,u!==h.EMPTY);this._renderedComponent=s;var l=m.mountComponent(s,r,t,n,this._processChildContext(o),a);return l},getHostNode:function(){return m.getHostNode(this._renderedComponent)},unmountComponent:function(e){if(this._renderedComponent){var t=this._instance;if(t.componentWillUnmount&&!t._calledComponentWillUnmount)if(t._calledComponentWillUnmount=!0,e){var n=this.getName()+".componentWillUnmount()";d.invokeGuardedCallback(n,t.componentWillUnmount.bind(t))}else t.componentWillUnmount();this._renderedComponent&&(m.unmountComponent(this._renderedComponent,e),this._renderedNodeType=null,this._renderedComponent=null,this._instance=null),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._rootNodeID=0,this._topLevelWrapper=null,f.remove(t)}},_maskContext:function(e){var t=this._currentElement.type,n=t.contextTypes;if(!n)return v;var r={};for(var o in n)r[o]=e[o];return r},_processContext:function(e){var t=this._maskContext(e);return t},_processChildContext:function(e){var t,n=this._currentElement.type,r=this._instance;if(r.getChildContext&&(t=r.getChildContext()),t){"object"!=typeof n.childContextTypes?u("107",this.getName()||"ReactCompositeComponent"):void 0;for(var o in t)o in n.childContextTypes?void 0:u("108",this.getName()||"ReactCompositeComponent",o);return s({},e,t)}return e},_checkContextTypes:function(e,t,n){},receiveComponent:function(e,t,n){var r=this._currentElement,o=this._context;this._pendingElement=null,this.updateComponent(t,r,e,o,n)},performUpdateIfNecessary:function(e){null!=this._pendingElement?m.receiveComponent(this,this._pendingElement,e,this._context):null!==this._pendingStateQueue||this._pendingForceUpdate?this.updateComponent(e,this._currentElement,this._currentElement,this._context,this._context):this._updateBatchNumber=null},updateComponent:function(e,t,n,r,o){var i=this._instance;null==i?u("136",this.getName()||"ReactCompositeComponent"):void 0;var a,s=!1;this._context===o?a=i.context:(a=this._processContext(o),s=!0);var l=t.props,c=n.props;t!==n&&(s=!0),s&&i.componentWillReceiveProps&&i.componentWillReceiveProps(c,a);var p=this._processPendingState(c,a),d=!0;this._pendingForceUpdate||(i.shouldComponentUpdate?d=i.shouldComponentUpdate(c,p,a):this._compositeType===_.PureClass&&(d=!g(l,c)||!g(i.state,p))),this._updateBatchNumber=null,d?(this._pendingForceUpdate=!1,this._performComponentUpdate(n,c,p,a,e,o)):(this._currentElement=n,this._context=o,i.props=c,i.state=p,i.context=a)},_processPendingState:function(e,t){var n=this._instance,r=this._pendingStateQueue,o=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!r)return n.state;if(o&&1===r.length)return r[0];for(var i=s({},o?r[0]:n.state),a=o?1:0;a<r.length;a++){var u=r[a];s(i,"function"==typeof u?u.call(n,i,e,t):u)}return i},_performComponentUpdate:function(e,t,n,r,o,i){var a,u,s,l=this._instance,c=Boolean(l.componentDidUpdate);c&&(a=l.props,u=l.state,s=l.context),l.componentWillUpdate&&l.componentWillUpdate(t,n,r),this._currentElement=e,this._context=i,l.props=t,l.state=n,l.context=r,this._updateRenderedComponent(o,i),c&&o.getReactMountReady().enqueue(l.componentDidUpdate.bind(l,a,u,s),l)},_updateRenderedComponent:function(e,t){var n=this._renderedComponent,r=n._currentElement,o=this._renderValidatedComponent(),i=0;if(y(r,o))m.receiveComponent(n,o,e,this._processChildContext(t));else{var a=m.getHostNode(n);m.unmountComponent(n,!1);var u=h.getType(o);this._renderedNodeType=u;var s=this._instantiateReactComponent(o,u!==h.EMPTY);this._renderedComponent=s;var l=m.mountComponent(s,e,this._hostParent,this._hostContainerInfo,this._processChildContext(t),i);this._replaceNodeWithMarkup(a,l,n)}},_replaceNodeWithMarkup:function(e,t,n){c.replaceNodeWithMarkup(e,t,n)},_renderValidatedComponentWithoutOwnerOrContext:function(){var e,t=this._instance;return e=t.render()},_renderValidatedComponent:function(){var e;if(this._compositeType!==_.StatelessFunctional){p.current=this;try{e=this._renderValidatedComponentWithoutOwnerOrContext()}finally{p.current=null}}else e=this._renderValidatedComponentWithoutOwnerOrContext();return null===e||e===!1||l.isValidElement(e)?void 0:u("109",this.getName()||"ReactCompositeComponent"),e},attachRef:function(e,t){var n=this.getPublicInstance();null==n?u("110"):void 0;var r=t.getPublicInstance(),o=n.refs===v?n.refs={}:n.refs;o[e]=r},detachRef:function(e){var t=this.getPublicInstance().refs;delete t[e]},getName:function(){var e=this._currentElement.type,t=this._instance&&this._instance.constructor;return e.displayName||t&&t.displayName||e.name||t&&t.name||null},getPublicInstance:function(){var e=this._instance;return this._compositeType===_.StatelessFunctional?null:e},_instantiateReactComponent:null};e.exports=C},function(e,t,n){"use strict";var r=n(4),o=n(239),i=n(117),a=n(31),u=n(9),s=n(252),l=n(268),c=n(122),p=n(276);n(1);o.inject();var d={findDOMNode:l,render:i.render,unmountComponentAtNode:i.unmountComponentAtNode,version:s,unstable_batchedUpdates:u.batchedUpdates,unstable_renderSubtreeIntoContainer:p};"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({ComponentTree:{getClosestInstanceFromNode:r.getClosestInstanceFromNode,getNodeFromInstance:function(e){return e._renderedComponent&&(e=c(e)),e?r.getNodeFromInstance(e):null}},Mount:i,Reconciler:a});e.exports=d},function(e,t,n){"use strict";function r(e){if(e){var t=e._currentElement._owner||null;if(t){var n=t.getName();if(n)return" This DOM node was rendered by `"+n+"`."}}return""}function o(e,t){t&&($[e._tag]&&(null!=t.children||null!=t.dangerouslySetInnerHTML?m("137",e._tag,e._currentElement._owner?" Check the render method of "+e._currentElement._owner.getName()+".":""):void 0),null!=t.dangerouslySetInnerHTML&&(null!=t.children?m("60"):void 0,"object"==typeof t.dangerouslySetInnerHTML&&W in t.dangerouslySetInnerHTML?void 0:m("61")),null!=t.style&&"object"!=typeof t.style?m("62",r(e)):void 0)}function i(e,t,n,r){if(!(r instanceof A)){var o=e._hostContainerInfo,i=o._node&&o._node.nodeType===q,u=i?o._node:o._ownerDocument;U(t,u),r.getReactMountReady().enqueue(a,{inst:e,registrationName:t,listener:n})}}function a(){var e=this;x.putListener(e.inst,e.registrationName,e.listener)}function u(){var e=this;S.postMountWrapper(e)}function s(){var e=this;N.postMountWrapper(e)}function l(){var e=this;O.postMountWrapper(e)}function c(){var e=this;e._rootNodeID?void 0:m("63");var t=L(e);switch(t?void 0:m("64"),e._tag){case"iframe":case"object":e._wrapperState.listeners=[k.trapBubbledEvent("topLoad","load",t)];break;case"video":case"audio":e._wrapperState.listeners=[];for(var n in K)K.hasOwnProperty(n)&&e._wrapperState.listeners.push(k.trapBubbledEvent(n,K[n],t));break;case"source":e._wrapperState.listeners=[k.trapBubbledEvent("topError","error",t)];break;case"img":e._wrapperState.listeners=[k.trapBubbledEvent("topError","error",t),k.trapBubbledEvent("topLoad","load",t)];break;case"form":e._wrapperState.listeners=[k.trapBubbledEvent("topReset","reset",t),k.trapBubbledEvent("topSubmit","submit",t)];break;case"input":case"select":case"textarea":e._wrapperState.listeners=[k.trapBubbledEvent("topInvalid","invalid",t)]}}function p(){M.postUpdateWrapper(this)}function d(e){Q.call(X,e)||(G.test(e)?void 0:m("65",e),X[e]=!0)}function f(e,t){return e.indexOf("-")>=0||null!=t.is}function h(e){var t=e.type;d(t),this._currentElement=e,this._tag=t.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}var m=n(2),v=n(3),g=n(214),y=n(216),_=n(29),b=n(70),C=n(30),E=n(110),x=n(38),w=n(71),k=n(48),T=n(111),P=n(4),S=n(232),O=n(233),M=n(112),N=n(236),I=(n(7),n(245)),A=n(250),R=(n(6),n(51)),D=(n(0),n(82),n(68),n(84),n(1),T),j=x.deleteListener,L=P.getNodeFromInstance,U=k.listenTo,F=w.registrationNameModules,V={string:!0,number:!0},B="style",W="__html",H={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},q=11,K={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"},z={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},Y={listing:!0,pre:!0,textarea:!0},$=v({menuitem:!0},z),G=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,X={},Q={}.hasOwnProperty,J=1;h.displayName="ReactDOMComponent",h.Mixin={mountComponent:function(e,t,n,r){this._rootNodeID=J++,this._domID=n._idCounter++,this._hostParent=t,this._hostContainerInfo=n;var i=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},e.getReactMountReady().enqueue(c,this);break;case"input":S.mountWrapper(this,i,t),i=S.getHostProps(this,i),e.getReactMountReady().enqueue(c,this);break;case"option":O.mountWrapper(this,i,t),i=O.getHostProps(this,i);break;case"select":M.mountWrapper(this,i,t),i=M.getHostProps(this,i),e.getReactMountReady().enqueue(c,this);break;case"textarea":N.mountWrapper(this,i,t),i=N.getHostProps(this,i),e.getReactMountReady().enqueue(c,this)}o(this,i);var a,p;null!=t?(a=t._namespaceURI,p=t._tag):n._tag&&(a=n._namespaceURI,p=n._tag),(null==a||a===b.svg&&"foreignobject"===p)&&(a=b.html),a===b.html&&("svg"===this._tag?a=b.svg:"math"===this._tag&&(a=b.mathml)),this._namespaceURI=a;var d;if(e.useCreateElement){var f,h=n._ownerDocument;if(a===b.html)if("script"===this._tag){var m=h.createElement("div"),v=this._currentElement.type;m.innerHTML="<"+v+"></"+v+">",f=m.removeChild(m.firstChild)}else f=i.is?h.createElement(this._currentElement.type,i.is):h.createElement(this._currentElement.type);else f=h.createElementNS(a,this._currentElement.type);P.precacheNode(this,f),this._flags|=D.hasCachedChildNodes,this._hostParent||E.setAttributeForRoot(f),this._updateDOMProperties(null,i,e);var y=_(f);this._createInitialChildren(e,i,r,y),d=y}else{var C=this._createOpenTagMarkupAndPutListeners(e,i),x=this._createContentMarkup(e,i,r);d=!x&&z[this._tag]?C+"/>":C+">"+x+"</"+this._currentElement.type+">"}switch(this._tag){case"input":e.getReactMountReady().enqueue(u,this),i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"textarea":e.getReactMountReady().enqueue(s,this),i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"select":i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"button":i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"option":e.getReactMountReady().enqueue(l,this)}return d},_createOpenTagMarkupAndPutListeners:function(e,t){var n="<"+this._currentElement.type;for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];if(null!=o)if(F.hasOwnProperty(r))o&&i(this,r,o,e);else{r===B&&(o&&(o=this._previousStyleCopy=v({},t.style)),o=y.createMarkupForStyles(o,this));var a=null;null!=this._tag&&f(this._tag,t)?H.hasOwnProperty(r)||(a=E.createMarkupForCustomAttribute(r,o)):a=E.createMarkupForProperty(r,o),a&&(n+=" "+a)}}return e.renderToStaticMarkup?n:(this._hostParent||(n+=" "+E.createMarkupForRoot()),n+=" "+E.createMarkupForID(this._domID))},_createContentMarkup:function(e,t,n){var r="",o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&(r=o.__html);else{var i=V[typeof t.children]?t.children:null,a=null!=i?null:t.children;if(null!=i)r=R(i);else if(null!=a){var u=this.mountChildren(a,e,n);r=u.join("")}}return Y[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(e,t,n,r){var o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&_.queueHTML(r,o.__html);else{var i=V[typeof t.children]?t.children:null,a=null!=i?null:t.children;if(null!=i)""!==i&&_.queueText(r,i);else if(null!=a)for(var u=this.mountChildren(a,e,n),s=0;s<u.length;s++)_.queueChild(r,u[s])}},receiveComponent:function(e,t,n){var r=this._currentElement;this._currentElement=e,this.updateComponent(t,r,e,n)},updateComponent:function(e,t,n,r){var i=t.props,a=this._currentElement.props;switch(this._tag){case"input":i=S.getHostProps(this,i),a=S.getHostProps(this,a);break;case"option":i=O.getHostProps(this,i),a=O.getHostProps(this,a);break;case"select":i=M.getHostProps(this,i),a=M.getHostProps(this,a);break;case"textarea":i=N.getHostProps(this,i),a=N.getHostProps(this,a)}switch(o(this,a),this._updateDOMProperties(i,a,e),this._updateDOMChildren(i,a,e,r),this._tag){case"input":S.updateWrapper(this);break;case"textarea":N.updateWrapper(this);break;case"select":e.getReactMountReady().enqueue(p,this)}},_updateDOMProperties:function(e,t,n){var r,o,a;for(r in e)if(!t.hasOwnProperty(r)&&e.hasOwnProperty(r)&&null!=e[r])if(r===B){var u=this._previousStyleCopy;for(o in u)u.hasOwnProperty(o)&&(a=a||{},a[o]="");this._previousStyleCopy=null}else F.hasOwnProperty(r)?e[r]&&j(this,r):f(this._tag,e)?H.hasOwnProperty(r)||E.deleteValueForAttribute(L(this),r):(C.properties[r]||C.isCustomAttribute(r))&&E.deleteValueForProperty(L(this),r);for(r in t){var s=t[r],l=r===B?this._previousStyleCopy:null!=e?e[r]:void 0;if(t.hasOwnProperty(r)&&s!==l&&(null!=s||null!=l))if(r===B)if(s?s=this._previousStyleCopy=v({},s):this._previousStyleCopy=null,l){for(o in l)!l.hasOwnProperty(o)||s&&s.hasOwnProperty(o)||(a=a||{},a[o]="");for(o in s)s.hasOwnProperty(o)&&l[o]!==s[o]&&(a=a||{},a[o]=s[o])}else a=s;else if(F.hasOwnProperty(r))s?i(this,r,s,n):l&&j(this,r);else if(f(this._tag,t))H.hasOwnProperty(r)||E.setValueForAttribute(L(this),r,s);else if(C.properties[r]||C.isCustomAttribute(r)){var c=L(this);null!=s?E.setValueForProperty(c,r,s):E.deleteValueForProperty(c,r)}}a&&y.setValueForStyles(L(this),a,this)},_updateDOMChildren:function(e,t,n,r){var o=V[typeof e.children]?e.children:null,i=V[typeof t.children]?t.children:null,a=e.dangerouslySetInnerHTML&&e.dangerouslySetInnerHTML.__html,u=t.dangerouslySetInnerHTML&&t.dangerouslySetInnerHTML.__html,s=null!=o?null:e.children,l=null!=i?null:t.children,c=null!=o||null!=a,p=null!=i||null!=u;null!=s&&null==l?this.updateChildren(null,n,r):c&&!p&&this.updateTextContent(""),null!=i?o!==i&&this.updateTextContent(""+i):null!=u?a!==u&&this.updateMarkup(""+u):null!=l&&this.updateChildren(l,n,r)},getHostNode:function(){return L(this)},unmountComponent:function(e){switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":var t=this._wrapperState.listeners;if(t)for(var n=0;n<t.length;n++)t[n].remove();break;case"html":case"head":case"body":m("66",this._tag)}this.unmountChildren(e),P.uncacheNode(this),x.deleteAllListeners(this),this._rootNodeID=0,this._domID=0,this._wrapperState=null},getPublicInstance:function(){return L(this)}},v(h.prototype,h.Mixin,I.Mixin),e.exports=h},function(e,t,n){"use strict";function r(e,t){var n={_topLevelWrapper:e,_idCounter:1,_ownerDocument:t?t.nodeType===o?t:t.ownerDocument:null,_node:t,_tag:t?t.nodeName.toLowerCase():null,_namespaceURI:t?t.namespaceURI:null};return n}var o=(n(84),9);e.exports=r},function(e,t,n){"use strict";var r=n(3),o=n(29),i=n(4),a=function(e){this._currentElement=null,this._hostNode=null,this._hostParent=null,this._hostContainerInfo=null,this._domID=0};r(a.prototype,{mountComponent:function(e,t,n,r){var a=n._idCounter++;this._domID=a,this._hostParent=t,this._hostContainerInfo=n;var u=" react-empty: "+this._domID+" ";if(e.useCreateElement){var s=n._ownerDocument,l=s.createComment(u);return i.precacheNode(this,l),o(l)}return e.renderToStaticMarkup?"":"<!--"+u+"-->"},receiveComponent:function(){},getHostNode:function(){return i.getNodeFromInstance(this)},unmountComponent:function(){i.uncacheNode(this)}}),e.exports=a},function(e,t,n){"use strict";var r={useCreateElement:!0,useFiber:!1};e.exports=r},function(e,t,n){"use strict";var r=n(69),o=n(4),i={dangerouslyProcessChildrenUpdates:function(e,t){var n=o.getNodeFromInstance(e);r.processUpdates(n,t)}};e.exports=i},function(e,t,n){"use strict";function r(){this._rootNodeID&&p.updateWrapper(this)}function o(e){var t=this._currentElement.props,n=s.executeOnChange(t,e);c.asap(r,this);var o=t.name;if("radio"===t.type&&null!=o){for(var a=l.getNodeFromInstance(this),u=a;u.parentNode;)u=u.parentNode;for(var p=u.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),d=0;d<p.length;d++){var f=p[d];if(f!==a&&f.form===a.form){var h=l.getInstanceFromNode(f);h?void 0:i("90"),c.asap(r,h)}}}return n}var i=n(2),a=n(3),u=n(110),s=n(74),l=n(4),c=n(9),p=(n(0),n(1),{getHostProps:function(e,t){var n=s.getValue(t),r=s.getChecked(t),o=a({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,onChange:e._wrapperState.onChange});return o},mountWrapper:function(e,t){var n=t.defaultValue;e._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:null!=t.value?t.value:n,listeners:null,onChange:o.bind(e)}},updateWrapper:function(e){var t=e._currentElement.props,n=t.checked;null!=n&&u.setValueForProperty(l.getNodeFromInstance(e),"checked",n||!1);var r=l.getNodeFromInstance(e),o=s.getValue(t);if(null!=o){var i=""+o;i!==r.value&&(r.value=i)}else null==t.value&&null!=t.defaultValue&&r.defaultValue!==""+t.defaultValue&&(r.defaultValue=""+t.defaultValue),null==t.checked&&null!=t.defaultChecked&&(r.defaultChecked=!!t.defaultChecked)},postMountWrapper:function(e){var t=e._currentElement.props,n=l.getNodeFromInstance(e);switch(t.type){case"submit":case"reset":break;case"color":case"date":case"datetime":case"datetime-local":case"month":case"time":case"week":n.value="",n.value=n.defaultValue;break;default:n.value=n.value}var r=n.name;""!==r&&(n.name=""),n.defaultChecked=!n.defaultChecked,n.defaultChecked=!n.defaultChecked,""!==r&&(n.name=r)}});e.exports=p},function(e,t,n){"use strict";function r(e){var t="";return i.Children.forEach(e,function(e){null!=e&&("string"==typeof e||"number"==typeof e?t+=e:s||(s=!0))}),t}var o=n(3),i=n(32),a=n(4),u=n(112),s=(n(1),!1),l={mountWrapper:function(e,t,n){var o=null;if(null!=n){var i=n;"optgroup"===i._tag&&(i=i._hostParent),null!=i&&"select"===i._tag&&(o=u.getSelectValueContext(i));
24
- }var a=null;if(null!=o){var s;if(s=null!=t.value?t.value+"":r(t.children),a=!1,Array.isArray(o)){for(var l=0;l<o.length;l++)if(""+o[l]===s){a=!0;break}}else a=""+o===s}e._wrapperState={selected:a}},postMountWrapper:function(e){var t=e._currentElement.props;if(null!=t.value){var n=a.getNodeFromInstance(e);n.setAttribute("value",t.value)}},getHostProps:function(e,t){var n=o({selected:void 0,children:void 0},t);null!=e._wrapperState.selected&&(n.selected=e._wrapperState.selected);var i=r(t.children);return i&&(n.children=i),n}};e.exports=l},function(e,t,n){"use strict";function r(e,t,n,r){return e===n&&t===r}function o(e){var t=document.selection,n=t.createRange(),r=n.text.length,o=n.duplicate();o.moveToElementText(e),o.setEndPoint("EndToStart",n);var i=o.text.length,a=i+r;return{start:i,end:a}}function i(e){var t=window.getSelection&&window.getSelection();if(!t||0===t.rangeCount)return null;var n=t.anchorNode,o=t.anchorOffset,i=t.focusNode,a=t.focusOffset,u=t.getRangeAt(0);try{u.startContainer.nodeType,u.endContainer.nodeType}catch(e){return null}var s=r(t.anchorNode,t.anchorOffset,t.focusNode,t.focusOffset),l=s?0:u.toString().length,c=u.cloneRange();c.selectNodeContents(e),c.setEnd(u.startContainer,u.startOffset);var p=r(c.startContainer,c.startOffset,c.endContainer,c.endOffset),d=p?0:c.toString().length,f=d+l,h=document.createRange();h.setStart(n,o),h.setEnd(i,a);var m=h.collapsed;return{start:m?f:d,end:m?d:f}}function a(e,t){var n,r,o=document.selection.createRange().duplicate();void 0===t.end?(n=t.start,r=n):t.start>t.end?(n=t.end,r=t.start):(n=t.start,r=t.end),o.moveToElementText(e),o.moveStart("character",n),o.setEndPoint("EndToStart",o),o.moveEnd("character",r-n),o.select()}function u(e,t){if(window.getSelection){var n=window.getSelection(),r=e[c()].length,o=Math.min(t.start,r),i=void 0===t.end?o:Math.min(t.end,r);if(!n.extend&&o>i){var a=i;i=o,o=a}var u=l(e,o),s=l(e,i);if(u&&s){var p=document.createRange();p.setStart(u.node,u.offset),n.removeAllRanges(),o>i?(n.addRange(p),n.extend(s.node,s.offset)):(p.setEnd(s.node,s.offset),n.addRange(p))}}}var s=n(5),l=n(273),c=n(123),p=s.canUseDOM&&"selection"in document&&!("getSelection"in window),d={getOffsets:p?o:i,setOffsets:p?a:u};e.exports=d},function(e,t,n){"use strict";var r=n(2),o=n(3),i=n(69),a=n(29),u=n(4),s=n(51),l=(n(0),n(84),function(e){this._currentElement=e,this._stringText=""+e,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});o(l.prototype,{mountComponent:function(e,t,n,r){var o=n._idCounter++,i=" react-text: "+o+" ",l=" /react-text ";if(this._domID=o,this._hostParent=t,e.useCreateElement){var c=n._ownerDocument,p=c.createComment(i),d=c.createComment(l),f=a(c.createDocumentFragment());return a.queueChild(f,a(p)),this._stringText&&a.queueChild(f,a(c.createTextNode(this._stringText))),a.queueChild(f,a(d)),u.precacheNode(this,p),this._closingComment=d,f}var h=s(this._stringText);return e.renderToStaticMarkup?h:"<!--"+i+"-->"+h+"<!--"+l+"-->"},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();i.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var e=this._commentNodes;if(e)return e;if(!this._closingComment)for(var t=u.getNodeFromInstance(this),n=t.nextSibling;;){if(null==n?r("67",this._domID):void 0,8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return e=[this._hostNode,this._closingComment],this._commentNodes=e,e},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,u.uncacheNode(this)}}),e.exports=l},function(e,t,n){"use strict";function r(){this._rootNodeID&&c.updateWrapper(this)}function o(e){var t=this._currentElement.props,n=u.executeOnChange(t,e);return l.asap(r,this),n}var i=n(2),a=n(3),u=n(74),s=n(4),l=n(9),c=(n(0),n(1),{getHostProps:function(e,t){null!=t.dangerouslySetInnerHTML?i("91"):void 0;var n=a({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue,onChange:e._wrapperState.onChange});return n},mountWrapper:function(e,t){var n=u.getValue(t),r=n;if(null==n){var a=t.defaultValue,s=t.children;null!=s&&(null!=a?i("92"):void 0,Array.isArray(s)&&(s.length<=1?void 0:i("93"),s=s[0]),a=""+s),null==a&&(a=""),r=a}e._wrapperState={initialValue:""+r,listeners:null,onChange:o.bind(e)}},updateWrapper:function(e){var t=e._currentElement.props,n=s.getNodeFromInstance(e),r=u.getValue(t);if(null!=r){var o=""+r;o!==n.value&&(n.value=o),null==t.defaultValue&&(n.defaultValue=o)}null!=t.defaultValue&&(n.defaultValue=t.defaultValue)},postMountWrapper:function(e){var t=s.getNodeFromInstance(e),n=t.textContent;n===e._wrapperState.initialValue&&(t.value=n)}});e.exports=c},function(e,t,n){"use strict";function r(e,t){"_hostNode"in e?void 0:s("33"),"_hostNode"in t?void 0:s("33");for(var n=0,r=e;r;r=r._hostParent)n++;for(var o=0,i=t;i;i=i._hostParent)o++;for(;n-o>0;)e=e._hostParent,n--;for(;o-n>0;)t=t._hostParent,o--;for(var a=n;a--;){if(e===t)return e;e=e._hostParent,t=t._hostParent}return null}function o(e,t){"_hostNode"in e?void 0:s("35"),"_hostNode"in t?void 0:s("35");for(;t;){if(t===e)return!0;t=t._hostParent}return!1}function i(e){return"_hostNode"in e?void 0:s("36"),e._hostParent}function a(e,t,n){for(var r=[];e;)r.push(e),e=e._hostParent;var o;for(o=r.length;o-- >0;)t(r[o],"captured",n);for(o=0;o<r.length;o++)t(r[o],"bubbled",n)}function u(e,t,n,o,i){for(var a=e&&t?r(e,t):null,u=[];e&&e!==a;)u.push(e),e=e._hostParent;for(var s=[];t&&t!==a;)s.push(t),t=t._hostParent;var l;for(l=0;l<u.length;l++)n(u[l],"bubbled",o);for(l=s.length;l-- >0;)n(s[l],"captured",i)}var s=n(2);n(0);e.exports={isAncestor:o,getLowestCommonAncestor:r,getParentInstance:i,traverseTwoPhase:a,traverseEnterLeave:u}},function(e,t,n){"use strict";function r(){this.reinitializeTransaction()}var o=n(3),i=n(9),a=n(50),u=n(6),s={initialize:u,close:function(){d.isBatchingUpdates=!1}},l={initialize:u,close:i.flushBatchedUpdates.bind(i)},c=[l,s];o(r.prototype,a,{getTransactionWrappers:function(){return c}});var p=new r,d={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,o,i){var a=d.isBatchingUpdates;return d.isBatchingUpdates=!0,a?e(t,n,r,o,i):p.perform(e,null,t,n,r,o,i)}};e.exports=d},function(e,t,n){"use strict";function r(){x||(x=!0,y.EventEmitter.injectReactEventListener(g),y.EventPluginHub.injectEventPluginOrder(u),y.EventPluginUtils.injectComponentTree(d),y.EventPluginUtils.injectTreeTraversal(h),y.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:E,EnterLeaveEventPlugin:s,ChangeEventPlugin:a,SelectEventPlugin:C,BeforeInputEventPlugin:i}),y.HostComponent.injectGenericComponentClass(p),y.HostComponent.injectTextComponentClass(m),y.DOMProperty.injectDOMPropertyConfig(o),y.DOMProperty.injectDOMPropertyConfig(l),y.DOMProperty.injectDOMPropertyConfig(b),y.EmptyComponent.injectEmptyComponentFactory(function(e){return new f(e)}),y.Updates.injectReconcileTransaction(_),y.Updates.injectBatchingStrategy(v),y.Component.injectEnvironment(c))}var o=n(213),i=n(215),a=n(217),u=n(219),s=n(220),l=n(222),c=n(224),p=n(227),d=n(4),f=n(229),h=n(237),m=n(235),v=n(238),g=n(242),y=n(243),_=n(248),b=n(253),C=n(254),E=n(255),x=!1;e.exports={inject:r}},function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=r},function(e,t,n){"use strict";function r(e){o.enqueueEvents(e),o.processEventQueue(!1)}var o=n(38),i={handleTopLevel:function(e,t,n,i){var a=o.extractEvents(e,t,n,i);r(a)}};e.exports=i},function(e,t,n){"use strict";function r(e){for(;e._hostParent;)e=e._hostParent;var t=p.getNodeFromInstance(e),n=t.parentNode;return p.getClosestInstanceFromNode(n)}function o(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function i(e){var t=f(e.nativeEvent),n=p.getClosestInstanceFromNode(t),o=n;do e.ancestors.push(o),o=o&&r(o);while(o);for(var i=0;i<e.ancestors.length;i++)n=e.ancestors[i],m._handleTopLevel(e.topLevelType,n,e.nativeEvent,f(e.nativeEvent))}function a(e){var t=h(window);e(t)}var u=n(3),s=n(104),l=n(5),c=n(25),p=n(4),d=n(9),f=n(81),h=n(203);u(o.prototype,{destructor:function(){this.topLevelType=null,this.nativeEvent=null,this.ancestors.length=0}}),c.addPoolingTo(o,c.twoArgumentPooler);var m={_enabled:!0,_handleTopLevel:null,WINDOW_HANDLE:l.canUseDOM?window:null,setHandleTopLevel:function(e){m._handleTopLevel=e},setEnabled:function(e){m._enabled=!!e},isEnabled:function(){return m._enabled},trapBubbledEvent:function(e,t,n){return n?s.listen(n,t,m.dispatchEvent.bind(null,e)):null},trapCapturedEvent:function(e,t,n){return n?s.capture(n,t,m.dispatchEvent.bind(null,e)):null},monitorScrollValue:function(e){var t=a.bind(null,e);s.listen(window,"scroll",t)},dispatchEvent:function(e,t){if(m._enabled){var n=o.getPooled(e,t);try{d.batchedUpdates(i,n)}finally{o.release(n)}}}};e.exports=m},function(e,t,n){"use strict";var r=n(30),o=n(38),i=n(72),a=n(75),u=n(113),s=n(48),l=n(115),c=n(9),p={Component:a.injection,DOMProperty:r.injection,EmptyComponent:u.injection,EventPluginHub:o.injection,EventPluginUtils:i.injection,EventEmitter:s.injection,HostComponent:l.injection,Updates:c.injection};e.exports=p},function(e,t,n){"use strict";var r=n(266),o=/\/?>/,i=/^<\!\-\-/,a={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return i.test(e)?e:e.replace(o," "+a.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(a.CHECKSUM_ATTR_NAME);n=n&&parseInt(n,10);var o=r(e);return o===n}};e.exports=a},function(e,t,n){"use strict";function r(e,t,n){return{type:"INSERT_MARKUP",content:e,fromIndex:null,fromNode:null,toIndex:n,afterNode:t}}function o(e,t,n){return{type:"MOVE_EXISTING",content:null,fromIndex:e._mountIndex,fromNode:d.getHostNode(e),toIndex:n,afterNode:t}}function i(e,t){return{type:"REMOVE_NODE",content:null,fromIndex:e._mountIndex,fromNode:t,toIndex:null,afterNode:null}}function a(e){return{type:"SET_MARKUP",content:e,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function u(e){return{type:"TEXT_CONTENT",content:e,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function s(e,t){return t&&(e=e||[],e.push(t)),e}function l(e,t){p.processChildrenUpdates(e,t)}var c=n(2),p=n(75),d=(n(40),n(7),n(17),n(31)),f=n(223),h=(n(6),n(269)),m=(n(0),{Mixin:{_reconcilerInstantiateChildren:function(e,t,n){return f.instantiateChildren(e,t,n)},_reconcilerUpdateChildren:function(e,t,n,r,o,i){var a,u=0;return a=h(t,u),f.updateChildren(e,a,n,r,o,this,this._hostContainerInfo,i,u),a},mountChildren:function(e,t,n){var r=this._reconcilerInstantiateChildren(e,t,n);this._renderedChildren=r;var o=[],i=0;for(var a in r)if(r.hasOwnProperty(a)){var u=r[a],s=0,l=d.mountComponent(u,t,this,this._hostContainerInfo,n,s);u._mountIndex=i++,o.push(l)}return o},updateTextContent:function(e){var t=this._renderedChildren;f.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&c("118");var r=[u(e)];l(this,r)},updateMarkup:function(e){var t=this._renderedChildren;f.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&c("118");var r=[a(e)];l(this,r)},updateChildren:function(e,t,n){this._updateChildren(e,t,n)},_updateChildren:function(e,t,n){var r=this._renderedChildren,o={},i=[],a=this._reconcilerUpdateChildren(r,e,i,o,t,n);if(a||r){var u,c=null,p=0,f=0,h=0,m=null;for(u in a)if(a.hasOwnProperty(u)){var v=r&&r[u],g=a[u];v===g?(c=s(c,this.moveChild(v,m,p,f)),f=Math.max(v._mountIndex,f),v._mountIndex=p):(v&&(f=Math.max(v._mountIndex,f)),c=s(c,this._mountChildAtIndex(g,i[h],m,p,t,n)),h++),p++,m=d.getHostNode(g)}for(u in o)o.hasOwnProperty(u)&&(c=s(c,this._unmountChild(r[u],o[u])));c&&l(this,c),this._renderedChildren=a}},unmountChildren:function(e){var t=this._renderedChildren;f.unmountChildren(t,e),this._renderedChildren=null},moveChild:function(e,t,n,r){if(e._mountIndex<r)return o(e,t,n)},createChild:function(e,t,n){return r(n,t,e._mountIndex)},removeChild:function(e,t){return i(e,t)},_mountChildAtIndex:function(e,t,n,r,o,i){return e._mountIndex=r,this.createChild(e,n,t)},_unmountChild:function(e,t){var n=this.removeChild(e,t);return e._mountIndex=null,n}}});e.exports=m},function(e,t,n){"use strict";function r(e){return!(!e||"function"!=typeof e.attachRef||"function"!=typeof e.detachRef)}var o=n(2),i=(n(0),{addComponentAsRefTo:function(e,t,n){r(n)?void 0:o("119"),n.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,n){r(n)?void 0:o("120");var i=n.getPublicInstance();i&&i.refs[t]===e.getPublicInstance()&&n.detachRef(t)}});e.exports=i},function(e,t,n){"use strict";var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=r},function(e,t,n){"use strict";function r(e){this.reinitializeTransaction(),this.renderToStaticMarkup=!1,this.reactMountReady=i.getPooled(null),this.useCreateElement=e}var o=n(3),i=n(109),a=n(25),u=n(48),s=n(116),l=(n(7),n(50)),c=n(77),p={initialize:s.getSelectionInformation,close:s.restoreSelection},d={initialize:function(){var e=u.isEnabled();return u.setEnabled(!1),e},close:function(e){u.setEnabled(e)}},f={initialize:function(){this.reactMountReady.reset()},close:function(){this.reactMountReady.notifyAll()}},h=[p,d,f],m={getTransactionWrappers:function(){return h},getReactMountReady:function(){return this.reactMountReady},getUpdateQueue:function(){return c},checkpoint:function(){return this.reactMountReady.checkpoint()},rollback:function(e){this.reactMountReady.rollback(e)},destructor:function(){i.release(this.reactMountReady),this.reactMountReady=null}};o(r.prototype,l,m),a.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";function r(e,t,n){"function"==typeof e?e(t.getPublicInstance()):i.addComponentAsRefTo(t,e,n)}function o(e,t,n){"function"==typeof e?e(null):i.removeComponentAsRefFrom(t,e,n)}var i=n(246),a={};a.attachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&r(n,e,t._owner)}},a.shouldUpdateRefs=function(e,t){var n=null,r=null;null!==e&&"object"==typeof e&&(n=e.ref,r=e._owner);var o=null,i=null;return null!==t&&"object"==typeof t&&(o=t.ref,i=t._owner),n!==o||"string"==typeof o&&i!==r},a.detachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&o(n,e,t._owner)}},e.exports=a},function(e,t,n){"use strict";function r(e){this.reinitializeTransaction(),this.renderToStaticMarkup=e,this.useCreateElement=!1,this.updateQueue=new u(this)}var o=n(3),i=n(25),a=n(50),u=(n(7),n(251)),s=[],l={enqueue:function(){}},c={getTransactionWrappers:function(){return s},getReactMountReady:function(){return l},getUpdateQueue:function(){return this.updateQueue},destructor:function(){},checkpoint:function(){},rollback:function(){}};o(r.prototype,a,c),i.addPoolingTo(r),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(e,t){}var i=n(77),a=(n(1),function(){function e(t){r(this,e),this.transaction=t}return e.prototype.isMounted=function(e){return!1},e.prototype.enqueueCallback=function(e,t,n){this.transaction.isInTransaction()&&i.enqueueCallback(e,t,n)},e.prototype.enqueueForceUpdate=function(e){this.transaction.isInTransaction()?i.enqueueForceUpdate(e):o(e,"forceUpdate")},e.prototype.enqueueReplaceState=function(e,t){this.transaction.isInTransaction()?i.enqueueReplaceState(e,t):o(e,"replaceState")},e.prototype.enqueueSetState=function(e,t){this.transaction.isInTransaction()?i.enqueueSetState(e,t):o(e,"setState")},e}());e.exports=a},function(e,t,n){"use strict";e.exports="15.4.2"},function(e,t,n){"use strict";var r={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},o={accentHeight:"accent-height",accumulate:0,additive:0,alignmentBaseline:"alignment-baseline",allowReorder:"allowReorder",alphabetic:0,amplitude:0,arabicForm:"arabic-form",ascent:0,attributeName:"attributeName",attributeType:"attributeType",autoReverse:"autoReverse",azimuth:0,baseFrequency:"baseFrequency",baseProfile:"baseProfile",baselineShift:"baseline-shift",bbox:0,begin:0,bias:0,by:0,calcMode:"calcMode",capHeight:"cap-height",clip:0,clipPath:"clip-path",clipRule:"clip-rule",clipPathUnits:"clipPathUnits",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",contentScriptType:"contentScriptType",contentStyleType:"contentStyleType",cursor:0,cx:0,cy:0,d:0,decelerate:0,descent:0,diffuseConstant:"diffuseConstant",direction:0,display:0,divisor:0,dominantBaseline:"dominant-baseline",dur:0,dx:0,dy:0,edgeMode:"edgeMode",elevation:0,enableBackground:"enable-background",end:0,exponent:0,externalResourcesRequired:"externalResourcesRequired",fill:0,fillOpacity:"fill-opacity",fillRule:"fill-rule",filter:0,filterRes:"filterRes",filterUnits:"filterUnits",floodColor:"flood-color",floodOpacity:"flood-opacity",focusable:0,fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",glyphRef:"glyphRef",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",hanging:0,horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",ideographic:0,imageRendering:"image-rendering",in:0,in2:0,intercept:0,k:0,k1:0,k2:0,k3:0,k4:0,kernelMatrix:"kernelMatrix",kernelUnitLength:"kernelUnitLength",kerning:0,keyPoints:"keyPoints",keySplines:"keySplines",keyTimes:"keyTimes",lengthAdjust:"lengthAdjust",letterSpacing:"letter-spacing",lightingColor:"lighting-color",limitingConeAngle:"limitingConeAngle",local:0,markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",markerHeight:"markerHeight",markerUnits:"markerUnits",markerWidth:"markerWidth",mask:0,maskContentUnits:"maskContentUnits",maskUnits:"maskUnits",mathematical:0,mode:0,numOctaves:"numOctaves",offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pathLength:"pathLength",patternContentUnits:"patternContentUnits",patternTransform:"patternTransform",patternUnits:"patternUnits",pointerEvents:"pointer-events",points:0,pointsAtX:"pointsAtX",pointsAtY:"pointsAtY",pointsAtZ:"pointsAtZ",preserveAlpha:"preserveAlpha",preserveAspectRatio:"preserveAspectRatio",primitiveUnits:"primitiveUnits",r:0,radius:0,refX:"refX",refY:"refY",renderingIntent:"rendering-intent",repeatCount:"repeatCount",repeatDur:"repeatDur",requiredExtensions:"requiredExtensions",requiredFeatures:"requiredFeatures",restart:0,result:0,rotate:0,rx:0,ry:0,scale:0,seed:0,shapeRendering:"shape-rendering",slope:0,spacing:0,specularConstant:"specularConstant",specularExponent:"specularExponent",speed:0,spreadMethod:"spreadMethod",startOffset:"startOffset",stdDeviation:"stdDeviation",stemh:0,stemv:0,stitchTiles:"stitchTiles",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",string:0,stroke:0,strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",surfaceScale:"surfaceScale",systemLanguage:"systemLanguage",tableValues:"tableValues",targetX:"targetX",targetY:"targetY",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",textLength:"textLength",to:0,transform:0,u1:0,u2:0,underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicode:0,unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",values:0,vectorEffect:"vector-effect",version:0,vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",viewBox:"viewBox",viewTarget:"viewTarget",visibility:0,widths:0,wordSpacing:"word-spacing",writingMode:"writing-mode",x:0,xHeight:"x-height",x1:0,x2:0,xChannelSelector:"xChannelSelector",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlns:0,xmlnsXlink:"xmlns:xlink",xmlLang:"xml:lang",xmlSpace:"xml:space",y:0,y1:0,y2:0,yChannelSelector:"yChannelSelector",z:0,zoomAndPan:"zoomAndPan"},i={Properties:{},DOMAttributeNamespaces:{xlinkActuate:r.xlink,xlinkArcrole:r.xlink,xlinkHref:r.xlink,xlinkRole:r.xlink,xlinkShow:r.xlink,xlinkTitle:r.xlink,xlinkType:r.xlink,xmlBase:r.xml,xmlLang:r.xml,xmlSpace:r.xml},DOMAttributeNames:{}};Object.keys(o).forEach(function(e){i.Properties[e]=0,o[e]&&(i.DOMAttributeNames[e]=o[e])}),e.exports=i},function(e,t,n){"use strict";function r(e){if("selectionStart"in e&&s.hasSelectionCapabilities(e))return{start:e.selectionStart,end:e.selectionEnd};if(window.getSelection){var t=window.getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function o(e,t){if(y||null==m||m!==c())return null;var n=r(m);if(!g||!d(g,n)){g=n;var o=l.getPooled(h.select,v,e,t);return o.type="select",o.target=m,i.accumulateTwoPhaseDispatches(o),o}return null}var i=n(39),a=n(5),u=n(4),s=n(116),l=n(16),c=n(106),p=n(125),d=n(68),f=a.canUseDOM&&"documentMode"in document&&document.documentMode<=11,h={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:["topBlur","topContextMenu","topFocus","topKeyDown","topKeyUp","topMouseDown","topMouseUp","topSelectionChange"]}},m=null,v=null,g=null,y=!1,_=!1,b={eventTypes:h,extractEvents:function(e,t,n,r){if(!_)return null;var i=t?u.getNodeFromInstance(t):window;switch(e){case"topFocus":(p(i)||"true"===i.contentEditable)&&(m=i,v=t,g=null);break;case"topBlur":m=null,v=null,g=null;break;case"topMouseDown":y=!0;break;case"topContextMenu":case"topMouseUp":return y=!1,o(n,r);case"topSelectionChange":if(f)break;case"topKeyDown":case"topKeyUp":return o(n,r)}return null},didPutListener:function(e,t,n){"onSelect"===t&&(_=!0)}};e.exports=b},function(e,t,n){"use strict";function r(e){return"."+e._rootNodeID}function o(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}var i=n(2),a=n(104),u=n(39),s=n(4),l=n(256),c=n(257),p=n(16),d=n(260),f=n(262),h=n(49),m=n(259),v=n(263),g=n(264),y=n(41),_=n(265),b=n(6),C=n(79),E=(n(0),{}),x={};["abort","animationEnd","animationIteration","animationStart","blur","canPlay","canPlayThrough","click","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","touchCancel","touchEnd","touchMove","touchStart","transitionEnd","volumeChange","waiting","wheel"].forEach(function(e){var t=e[0].toUpperCase()+e.slice(1),n="on"+t,r="top"+t,o={phasedRegistrationNames:{bubbled:n,captured:n+"Capture"},dependencies:[r]};E[e]=o,x[r]=o});var w={},k={eventTypes:E,extractEvents:function(e,t,n,r){var o=x[e];if(!o)return null;var a;switch(e){case"topAbort":case"topCanPlay":case"topCanPlayThrough":case"topDurationChange":case"topEmptied":case"topEncrypted":case"topEnded":case"topError":case"topInput":case"topInvalid":case"topLoad":case"topLoadedData":case"topLoadedMetadata":case"topLoadStart":case"topPause":case"topPlay":case"topPlaying":case"topProgress":case"topRateChange":case"topReset":case"topSeeked":case"topSeeking":case"topStalled":case"topSubmit":case"topSuspend":case"topTimeUpdate":case"topVolumeChange":case"topWaiting":a=p;break;case"topKeyPress":if(0===C(n))return null;case"topKeyDown":case"topKeyUp":a=f;break;case"topBlur":case"topFocus":a=d;break;case"topClick":if(2===n.button)return null;case"topDoubleClick":case"topMouseDown":case"topMouseMove":case"topMouseUp":case"topMouseOut":case"topMouseOver":case"topContextMenu":a=h;break;case"topDrag":case"topDragEnd":case"topDragEnter":case"topDragExit":case"topDragLeave":case"topDragOver":case"topDragStart":case"topDrop":a=m;break;case"topTouchCancel":case"topTouchEnd":case"topTouchMove":case"topTouchStart":a=v;break;case"topAnimationEnd":case"topAnimationIteration":case"topAnimationStart":a=l;break;case"topTransitionEnd":a=g;break;case"topScroll":a=y;break;case"topWheel":a=_;break;case"topCopy":case"topCut":case"topPaste":a=c}a?void 0:i("86",e);var s=a.getPooled(o,t,n,r);return u.accumulateTwoPhaseDispatches(s),s},didPutListener:function(e,t,n){if("onClick"===t&&!o(e._tag)){var i=r(e),u=s.getNodeFromInstance(e);w[i]||(w[i]=a.listen(u,"click",b))}},willDeleteListener:function(e,t){if("onClick"===t&&!o(e._tag)){var n=r(e);w[n].remove(),delete w[n]}}};e.exports=k},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(16),i={animationName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(16),i={clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(16),i={data:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(49),i={dataTransfer:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(41),i={relatedTarget:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(16),i={data:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(41),i=n(79),a=n(270),u=n(80),s={key:a,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:u,charCode:function(e){return"keypress"===e.type?i(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?i(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}};o.augmentClass(r,s),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(41),i=n(80),a={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:i};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(16),i={propertyName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(49),i={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};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e){for(var t=1,n=0,r=0,i=e.length,a=i&-4;r<a;){for(var u=Math.min(r+4096,a);r<u;r+=4)n+=(t+=e.charCodeAt(r))+(t+=e.charCodeAt(r+1))+(t+=e.charCodeAt(r+2))+(t+=e.charCodeAt(r+3));t%=o,n%=o}for(;r<i;r++)n+=t+=e.charCodeAt(r);return t%=o,n%=o,t|n<<16}var o=65521;e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r=null==t||"boolean"==typeof t||""===t;if(r)return"";var o=isNaN(t);if(o||0===t||i.hasOwnProperty(e)&&i[e])return""+t;if("string"==typeof t){t=t.trim()}return t+"px"}var o=n(108),i=(n(1),o.isUnitlessNumber);e.exports=r},function(e,t,n){"use strict";function r(e){if(null==e)return null;if(1===e.nodeType)return e;var t=a.get(e);return t?(t=u(t),t?i.getNodeFromInstance(t):null):void("function"==typeof e.render?o("44"):o("45",Object.keys(e)))}var o=n(2),i=(n(17),n(4)),a=n(40),u=n(122);n(0),n(1);e.exports=r},function(e,t,n){"use strict";(function(t){function r(e,t,n,r){if(e&&"object"==typeof e){var o=e,i=void 0===o[n];i&&null!=t&&(o[n]=t)}}function o(e,t){if(null==e)return e;var n={};return i(e,r,n),n}var i=(n(73),n(127));n(1);"undefined"!=typeof t&&t.env,1,e.exports=o}).call(t,n(107))},function(e,t,n){"use strict";function r(e){if(e.key){var t=i[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=o(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?a[e.keyCode]||"Unidentified":""}var o=n(79),i={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},a={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"};e.exports=r},function(e,t,n){"use strict";function r(e){var t=e&&(o&&e[o]||e[i]);if("function"==typeof t)return t}var o="function"==typeof Symbol&&Symbol.iterator,i="@@iterator";e.exports=r},function(e,t,n){"use strict";function r(){return o++}var o=1;e.exports=r},function(e,t,n){"use strict";function r(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function o(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function i(e,t){for(var n=r(e),i=0,a=0;n;){if(3===n.nodeType){if(a=i+n.textContent.length,i<=t&&a>=t)return{node:n,offset:t-i};i=a}n=r(o(n))}}e.exports=i},function(e,t,n){"use strict";function r(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 o(e){if(u[e])return u[e];if(!a[e])return e;var t=a[e];for(var n in t)if(t.hasOwnProperty(n)&&n in s)return u[e]=t[n];return""}var i=n(5),a={animationend:r("Animation","AnimationEnd"),animationiteration:r("Animation","AnimationIteration"),animationstart:r("Animation","AnimationStart"),transitionend:r("Transition","TransitionEnd")},u={},s={};i.canUseDOM&&(s=document.createElement("div").style,"AnimationEvent"in window||(delete a.animationend.animation,delete a.animationiteration.animation,delete a.animationstart.animation),"TransitionEvent"in window||delete a.transitionend.transition),e.exports=o},function(e,t,n){"use strict";function r(e){return'"'+o(e)+'"'}var o=n(51);e.exports=r},function(e,t,n){"use strict";var r=n(117);e.exports=r.renderSubtreeIntoContainer},function(e,t,n){"use strict";function r(e){var t=/[=:]/g,n={"=":"=0",":":"=2"},r=(""+e).replace(t,function(e){return n[e]});return"$"+r}function o(e){var t=/(=0|=2)/g,n={"=0":"=","=2":":"},r="."===e[0]&&"$"===e[1]?e.substring(2):e.substring(1);return(""+r).replace(t,function(e){return n[e]})}var i={escape:r,unescape:o};e.exports=i},function(e,t,n){"use strict";var r=n(34),o=(n(0),function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)}),i=function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)},a=function(e,t,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,e,t,n),o}return new r(e,t,n)},u=function(e,t,n,r){var o=this;if(o.instancePool.length){
25
- var i=o.instancePool.pop();return o.call(i,e,t,n,r),i}return new o(e,t,n,r)},s=function(e){var t=this;e instanceof t?void 0:r("25"),e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},l=10,c=o,p=function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||c,n.poolSize||(n.poolSize=l),n.release=s,n},d={addPoolingTo:p,oneArgumentPooler:o,twoArgumentPooler:i,threeArgumentPooler:a,fourArgumentPooler:u};e.exports=d},function(e,t,n){"use strict";function r(e){return(""+e).replace(b,"$&/")}function o(e,t){this.func=e,this.context=t,this.count=0}function i(e,t,n){var r=e.func,o=e.context;r.call(o,t,e.count++)}function a(e,t,n){if(null==e)return e;var r=o.getPooled(t,n);g(e,i,r),o.release(r)}function u(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function s(e,t,n){var o=e.result,i=e.keyPrefix,a=e.func,u=e.context,s=a.call(u,t,e.count++);Array.isArray(s)?l(s,o,n,v.thatReturnsArgument):null!=s&&(m.isValidElement(s)&&(s=m.cloneAndReplaceKey(s,i+(!s.key||t&&t.key===s.key?"":r(s.key)+"/")+n)),o.push(s))}function l(e,t,n,o,i){var a="";null!=n&&(a=r(n)+"/");var l=u.getPooled(t,a,o,i);g(e,s,l),u.release(l)}function c(e,t,n){if(null==e)return e;var r=[];return l(e,r,null,t,n),r}function p(e,t,n){return null}function d(e,t){return g(e,p,null)}function f(e){var t=[];return l(e,t,null,v.thatReturnsArgument),t}var h=n(278),m=n(33),v=n(6),g=n(287),y=h.twoArgumentPooler,_=h.fourArgumentPooler,b=/\/+/g;o.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},h.addPoolingTo(o,y),u.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},h.addPoolingTo(u,_);var C={forEach:a,map:c,mapIntoWithKeyPrefixInternal:l,count:d,toArray:f};e.exports=C},function(e,t,n){"use strict";function r(e){return e}function o(e,t){var n=b.hasOwnProperty(t)?b[t]:null;E.hasOwnProperty(t)&&("OVERRIDE_BASE"!==n?d("73",t):void 0),e&&("DEFINE_MANY"!==n&&"DEFINE_MANY_MERGED"!==n?d("74",t):void 0)}function i(e,t){if(t){"function"==typeof t?d("75"):void 0,m.isValidElement(t)?d("76"):void 0;var n=e.prototype,r=n.__reactAutoBindPairs;t.hasOwnProperty(y)&&C.mixins(e,t.mixins);for(var i in t)if(t.hasOwnProperty(i)&&i!==y){var a=t[i],u=n.hasOwnProperty(i);if(o(u,i),C.hasOwnProperty(i))C[i](e,a);else{var c=b.hasOwnProperty(i),p="function"==typeof a,f=p&&!c&&!u&&t.autobind!==!1;if(f)r.push(i,a),n[i]=a;else if(u){var h=b[i];!c||"DEFINE_MANY_MERGED"!==h&&"DEFINE_MANY"!==h?d("77",h,i):void 0,"DEFINE_MANY_MERGED"===h?n[i]=s(n[i],a):"DEFINE_MANY"===h&&(n[i]=l(n[i],a))}else n[i]=a}}}else;}function a(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){var o=n in C;o?d("78",n):void 0;var i=n in e;i?d("79",n):void 0,e[n]=r}}}function u(e,t){e&&t&&"object"==typeof e&&"object"==typeof t?void 0:d("80");for(var n in t)t.hasOwnProperty(n)&&(void 0!==e[n]?d("81",n):void 0,e[n]=t[n]);return e}function s(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return u(o,n),u(o,r),o}}function l(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function c(e,t){var n=t.bind(e);return n}function p(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var r=t[n],o=t[n+1];e[r]=c(e,o)}}var d=n(34),f=n(3),h=n(85),m=n(33),v=(n(130),n(86)),g=n(37),y=(n(0),n(1),"mixins"),_=[],b={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},C={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)i(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=f({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=f({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=s(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=f({},e.propTypes,t)},statics:function(e,t){a(e,t)},autobind:function(){}},E={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e),t&&this.updater.enqueueCallback(this,t,"replaceState")},isMounted:function(){return this.updater.isMounted(this)}},x=function(){};f(x.prototype,h.prototype,E);var w={createClass:function(e){var t=r(function(e,n,r){this.__reactAutoBindPairs.length&&p(this),this.props=e,this.context=n,this.refs=g,this.updater=r||v,this.state=null;var o=this.getInitialState?this.getInitialState():null;"object"!=typeof o||Array.isArray(o)?d("82",t.displayName||"ReactCompositeComponent"):void 0,this.state=o});t.prototype=new x,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],_.forEach(i.bind(null,t)),i(t,e),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),t.prototype.render?void 0:d("83");for(var n in b)t.prototype[n]||(t.prototype[n]=null);return t},injection:{injectMixin:function(e){_.push(e)}}};e.exports=w},function(e,t,n){"use strict";var r=n(33),o=r.createFactory,i={a:o("a"),abbr:o("abbr"),address:o("address"),area:o("area"),article:o("article"),aside:o("aside"),audio:o("audio"),b:o("b"),base:o("base"),bdi:o("bdi"),bdo:o("bdo"),big:o("big"),blockquote:o("blockquote"),body:o("body"),br:o("br"),button:o("button"),canvas:o("canvas"),caption:o("caption"),cite:o("cite"),code:o("code"),col:o("col"),colgroup:o("colgroup"),data:o("data"),datalist:o("datalist"),dd:o("dd"),del:o("del"),details:o("details"),dfn:o("dfn"),dialog:o("dialog"),div:o("div"),dl:o("dl"),dt:o("dt"),em:o("em"),embed:o("embed"),fieldset:o("fieldset"),figcaption:o("figcaption"),figure:o("figure"),footer:o("footer"),form:o("form"),h1:o("h1"),h2:o("h2"),h3:o("h3"),h4:o("h4"),h5:o("h5"),h6:o("h6"),head:o("head"),header:o("header"),hgroup:o("hgroup"),hr:o("hr"),html:o("html"),i:o("i"),iframe:o("iframe"),img:o("img"),input:o("input"),ins:o("ins"),kbd:o("kbd"),keygen:o("keygen"),label:o("label"),legend:o("legend"),li:o("li"),link:o("link"),main:o("main"),map:o("map"),mark:o("mark"),menu:o("menu"),menuitem:o("menuitem"),meta:o("meta"),meter:o("meter"),nav:o("nav"),noscript:o("noscript"),object:o("object"),ol:o("ol"),optgroup:o("optgroup"),option:o("option"),output:o("output"),p:o("p"),param:o("param"),picture:o("picture"),pre:o("pre"),progress:o("progress"),q:o("q"),rp:o("rp"),rt:o("rt"),ruby:o("ruby"),s:o("s"),samp:o("samp"),script:o("script"),section:o("section"),select:o("select"),small:o("small"),source:o("source"),span:o("span"),strong:o("strong"),style:o("style"),sub:o("sub"),summary:o("summary"),sup:o("sup"),table:o("table"),tbody:o("tbody"),td:o("td"),textarea:o("textarea"),tfoot:o("tfoot"),th:o("th"),thead:o("thead"),time:o("time"),title:o("title"),tr:o("tr"),track:o("track"),u:o("u"),ul:o("ul"),var:o("var"),video:o("video"),wbr:o("wbr"),circle:o("circle"),clipPath:o("clipPath"),defs:o("defs"),ellipse:o("ellipse"),g:o("g"),image:o("image"),line:o("line"),linearGradient:o("linearGradient"),mask:o("mask"),path:o("path"),pattern:o("pattern"),polygon:o("polygon"),polyline:o("polyline"),radialGradient:o("radialGradient"),rect:o("rect"),stop:o("stop"),svg:o("svg"),text:o("text"),tspan:o("tspan")};e.exports=i},function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function o(e){this.message=e,this.stack=""}function i(e){function t(t,n,r,i,a,u,s){i=i||T,u=u||r;if(null==n[r]){var l=E[a];return t?new o(null===n[r]?"The "+l+" `"+u+"` is marked as required "+("in `"+i+"`, but its value is `null`."):"The "+l+" `"+u+"` is marked as required in "+("`"+i+"`, but its value is `undefined`.")):null}return e(n,r,i,a,u)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function a(e){function t(t,n,r,i,a,u){var s=t[n],l=y(s);if(l!==e){var c=E[i],p=_(s);return new o("Invalid "+c+" `"+a+"` of type "+("`"+p+"` supplied to `"+r+"`, expected ")+("`"+e+"`."))}return null}return i(t)}function u(){return i(w.thatReturns(null))}function s(e){function t(t,n,r,i,a){if("function"!=typeof e)return new o("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var u=t[n];if(!Array.isArray(u)){var s=E[i],l=y(u);return new o("Invalid "+s+" `"+a+"` of type "+("`"+l+"` supplied to `"+r+"`, expected an array."))}for(var c=0;c<u.length;c++){var p=e(u,c,r,i,a+"["+c+"]",x);if(p instanceof Error)return p}return null}return i(t)}function l(){function e(e,t,n,r,i){var a=e[t];if(!C.isValidElement(a)){var u=E[r],s=y(a);return new o("Invalid "+u+" `"+i+"` of type "+("`"+s+"` supplied to `"+n+"`, expected a single ReactElement."))}return null}return i(e)}function c(e){function t(t,n,r,i,a){if(!(t[n]instanceof e)){var u=E[i],s=e.name||T,l=b(t[n]);return new o("Invalid "+u+" `"+a+"` of type "+("`"+l+"` supplied to `"+r+"`, expected ")+("instance of `"+s+"`."))}return null}return i(t)}function p(e){function t(t,n,i,a,u){for(var s=t[n],l=0;l<e.length;l++)if(r(s,e[l]))return null;var c=E[a],p=JSON.stringify(e);return new o("Invalid "+c+" `"+u+"` of value `"+s+"` "+("supplied to `"+i+"`, expected one of "+p+"."))}return Array.isArray(e)?i(t):w.thatReturnsNull}function d(e){function t(t,n,r,i,a){if("function"!=typeof e)return new o("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var u=t[n],s=y(u);if("object"!==s){var l=E[i];return new o("Invalid "+l+" `"+a+"` of type "+("`"+s+"` supplied to `"+r+"`, expected an object."))}for(var c in u)if(u.hasOwnProperty(c)){var p=e(u,c,r,i,a+"."+c,x);if(p instanceof Error)return p}return null}return i(t)}function f(e){function t(t,n,r,i,a){for(var u=0;u<e.length;u++){var s=e[u];if(null==s(t,n,r,i,a,x))return null}var l=E[i];return new o("Invalid "+l+" `"+a+"` supplied to "+("`"+r+"`."))}return Array.isArray(e)?i(t):w.thatReturnsNull}function h(){function e(e,t,n,r,i){if(!v(e[t])){var a=E[r];return new o("Invalid "+a+" `"+i+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return null}return i(e)}function m(e){function t(t,n,r,i,a){var u=t[n],s=y(u);if("object"!==s){var l=E[i];return new o("Invalid "+l+" `"+a+"` of type `"+s+"` "+("supplied to `"+r+"`, expected `object`."))}for(var c in e){var p=e[c];if(p){var d=p(u,c,r,i,a+"."+c,x);if(d)return d}}return null}return i(t)}function v(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(v);if(null===e||C.isValidElement(e))return!0;var t=k(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!v(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!v(o[1]))return!1}return!0;default:return!1}}function g(e,t){return"symbol"===e||("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}function y(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":g(t,e)?"symbol":t}function _(e){var t=y(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function b(e){return e.constructor&&e.constructor.name?e.constructor.name:T}var C=n(33),E=n(130),x=n(283),w=n(6),k=n(132),T=(n(1),"<<anonymous>>"),P={array:a("array"),bool:a("boolean"),func:a("function"),number:a("number"),object:a("object"),string:a("string"),symbol:a("symbol"),any:u(),arrayOf:s,element:l(),instanceOf:c,node:h(),objectOf:d,oneOf:p,oneOfType:f,shape:m};o.prototype=Error.prototype,e.exports=P},function(e,t,n){"use strict";var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=r},function(e,t,n){"use strict";function r(e,t,n){this.props=e,this.context=t,this.refs=s,this.updater=n||u}function o(){}var i=n(3),a=n(85),u=n(86),s=n(37);o.prototype=a.prototype,r.prototype=new o,r.prototype.constructor=r,i(r.prototype,a.prototype),r.prototype.isPureReactComponent=!0,e.exports=r},function(e,t,n){"use strict";e.exports="15.4.2"},function(e,t,n){"use strict";function r(e){return i.isValidElement(e)?void 0:o("143"),e}var o=n(34),i=n(33);n(0);e.exports=r},function(e,t,n){"use strict";function r(e,t){return e&&"object"==typeof e&&null!=e.key?l.escape(e.key):t.toString(36)}function o(e,t,n,i){var d=typeof e;if("undefined"!==d&&"boolean"!==d||(e=null),null===e||"string"===d||"number"===d||"object"===d&&e.$$typeof===u)return n(i,e,""===t?c+r(e,0):t),1;var f,h,m=0,v=""===t?c:t+p;if(Array.isArray(e))for(var g=0;g<e.length;g++)f=e[g],h=v+r(f,g),m+=o(f,h,n,i);else{var y=s(e);if(y){var _,b=y.call(e);if(y!==e.entries)for(var C=0;!(_=b.next()).done;)f=_.value,h=v+r(f,C++),m+=o(f,h,n,i);else for(;!(_=b.next()).done;){var E=_.value;E&&(f=E[1],h=v+l.escape(E[0])+p+r(f,0),m+=o(f,h,n,i))}}else if("object"===d){var x="",w=String(e);a("31","[object Object]"===w?"object with keys {"+Object.keys(e).join(", ")+"}":w,x)}}return m}function i(e,t,n){return null==e?0:o(e,"",t,n)}var a=n(34),u=(n(17),n(129)),s=n(132),l=(n(0),n(277)),c=(n(1),"."),p=":";e.exports=i},function(e,t,n){"use strict";n(42),n(133)}]);
20
  */
21
  function r(e,t){if(!i.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var a=document.createElement("div");a.setAttribute(n,"return;"),r="function"==typeof a[n]}return!r&&o&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var o,i=n(5);i.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=null===e||e===!1,r=null===t||t===!1;if(n||r)return n===r;var o=typeof e,i=typeof t;return"string"===o||"number"===o?"string"===i||"number"===i:"object"===i&&e.type===t.type&&e.key===t.key}e.exports=r},function(e,t,n){"use strict";var r=(n(3),n(6)),o=(n(1),r);e.exports=o},function(e,t,n){"use strict";function r(e,t,n){this.props=e,this.context=t,this.refs=a,this.updater=n||i}var o=n(34),i=n(86),a=(n(131),n(37));n(0),n(1);r.prototype.isReactComponent={},r.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e?o("85"):void 0,this.updater.enqueueSetState(this,e),t&&this.updater.enqueueCallback(this,t,"setState")},r.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this),e&&this.updater.enqueueCallback(this,e,"forceUpdate")};e.exports=r},function(e,t,n){"use strict";function r(e,t){}var o=(n(1),{isMounted:function(e){return!1},enqueueCallback:function(e,t){},enqueueForceUpdate:function(e){r(e,"forceUpdate")},enqueueReplaceState:function(e,t){r(e,"replaceState")},enqueueSetState:function(e,t){r(e,"setState")}});e.exports=o},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(10),i=r(o),a=n(11),u=r(a),s=n(12),l=r(s),c=n(14),p=r(c),d=n(13),f=r(d),h=n(18),m=r(h),v=(n(15),n(53)),g=r(v),y=n(42),_=(r(y),n(54)),b=r(_),C=function(e){function t(e){(0,u.default)(this,t);var n=(0,p.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={checked:n.props.checked,itemClasses:n.maybeActiveItem(),disabled:n.props.disabled,label:mpsum.enabled,loading:!1},n.itemChange=n.itemChange.bind(n),n}return(0,f.default)(t,e),(0,l.default)(t,[{key:"maybeSetActive",value:function(e){return e?"dashboard-item active":"dashboard-item"}},{key:"maybeActiveItem",value:function(){return this.maybeSetActive(this.props.checked)}},{key:"itemChange",value:function(e){this.setState({loading:!0}),b.default.itemToggle(this.props.context,this.props.name,this.state.checked?"off":"on",this.props.id)}},{key:"getLabel",value:function(){return this.state.loading?m.default.createElement(g.default,null):m.default.createElement("label",{htmlFor:this.props.name},this.state.label)}},{key:"componentWillReceiveProps",value:function(e){this.setState({loading:e.loading,checked:e.checked,disabled:e.disabled})}},{key:"render",value:function(){return m.default.createElement("div",{className:this.maybeActiveItem()},m.default.createElement("div",{className:"dashboard-item-header input-radio"},this.props.title),m.default.createElement("div",{className:"dashboard-item-choice"},m.default.createElement("input",{id:this.props.name,type:"checkbox",className:"dashboard-hide",name:this.props.name,value:"on",onChange:this.itemChange,checked:this.state.checked,disabled:this.state.disabled}),this.getLabel()))}}]),t}(m.default.Component);C.propTypes={id:m.default.PropTypes.string,checked:m.default.PropTypes.bool.isRequired,disabled:m.default.PropTypes.bool.isRequired,name:m.default.PropTypes.string.isRequired,context:m.default.PropTypes.string.isRequired,loading:m.default.PropTypes.bool.isRequired},C.defaultProps={id:"",checked:!1,disabled:!1,name:"",context:"",loading:!1},t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={ITEM_TOGGLE:"ITEM_TOGGLE"};t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(209);t.default=new r.Dispatcher},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(145),i=r(o),a=n(144),u=r(a),s="function"==typeof u.default&&"symbol"==typeof i.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"===s(i.default)?function(e){return"undefined"==typeof e?"undefined":s(e)}:function(e){return e&&"function"==typeof u.default&&e.constructor===u.default&&e!==u.default.prototype?"symbol":"undefined"==typeof e?"undefined":s(e)}},function(e,t,n){var r=n(153);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){var r=n(36),o=n(19).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){e.exports=!n(21)&&!n(35)(function(){return 7!=Object.defineProperty(n(92)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";var r=n(58),o=n(27),i=n(100),a=n(28),u=n(22),s=n(44),l=n(161),c=n(61),p=n(98),d=n(20)("iterator"),f=!([].keys&&"next"in[].keys()),h="@@iterator",m="keys",v="values",g=function(){return this};e.exports=function(e,t,n,y,_,b,C){l(n,t,y);var E,x,w,k=function(e){if(!f&&e in O)return O[e];switch(e){case m:return function(){return new n(this,e)};case v:return function(){return new n(this,e)}}return function(){return new n(this,e)}},T=t+" Iterator",P=_==v,S=!1,O=e.prototype,M=O[d]||O[h]||_&&O[_],N=M||k(_),I=_?P?k("entries"):N:void 0,A="Array"==t?O.entries||M:M;if(A&&(w=p(A.call(new e)),w!==Object.prototype&&(c(w,T,!0),r||u(w,d)||a(w,d,g))),P&&M&&M.name!==v&&(S=!0,N=function(){return M.call(this)}),r&&!C||!f&&!S&&O[d]||a(O,d,N),s[t]=N,s[T]=g,_)if(E={values:P?N:k(v),keys:b?N:k(m),entries:I},C)for(x in E)x in O||i(O,x,E[x]);else o(o.P+o.F*(f||S),t,E);return E}},function(e,t,n){var r=n(60),o=n(46),i=n(24),a=n(65),u=n(22),s=n(93),l=Object.getOwnPropertyDescriptor;t.f=n(21)?l:function(e,t){if(e=i(e),t=a(t,!0),s)try{return l(e,t)}catch(e){}if(u(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(99),o=n(57).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(22),o=n(101),i=n(62)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var r=n(22),o=n(24),i=n(155)(!1),a=n(62)("IE_PROTO");e.exports=function(e,t){var n,u=o(e),s=0,l=[];for(n in u)n!=a&&r(u,n)&&l.push(n);for(;t.length>s;)r(u,n=t[s++])&&(~i(l,n)||l.push(n));return l}},function(e,t,n){e.exports=n(28)},function(e,t,n){var r=n(56);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r=n(169)(!0);n(94)(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){n(174);for(var r=n(19),o=n(28),i=n(44),a=n(20)("toStringTag"),u=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],s=0;s<5;s++){var l=u[s],c=r[l],p=c&&c.prototype;p&&!p[a]&&o(p,a,l),i[l]=i.Array}},function(e,t,n){"use strict";var r=n(6),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){try{e.focus()}catch(e){}}e.exports=r},function(e,t,n){"use strict";function r(){if("undefined"==typeof document)return null;try{return document.activeElement||document.body}catch(e){return document.body}}e.exports=r},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 i(e){if(p===clearTimeout)return clearTimeout(e);if((p===r||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(e);try{return p(e)}catch(t){try{return p.call(null,e)}catch(t){return p.call(this,e)}}}function a(){m&&f&&(m=!1,f.length?h=f.concat(h):v=-1,h.length&&u())}function u(){if(!m){var e=o(a);m=!0;for(var t=h.length;t;){for(f=h,h=[];++v<t;)f&&f[v].run();v=-1,t=h.length}f=null,m=!1,i(e)}}function s(e,t){this.fun=e,this.array=t}function l(){}var c,p,d=e.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:n}catch(e){c=n}try{p="function"==typeof clearTimeout?clearTimeout:r}catch(e){p=r}}();var f,h=[],m=!1,v=-1;d.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];h.push(new s(e,t)),1!==h.length||m||o(u)},s.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=l,d.addListener=l,d.once=l,d.off=l,d.removeListener=l,d.removeAllListeners=l,d.emit=l,d.binding=function(e){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(e){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}},function(e,t,n){"use strict";function r(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var o={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!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},i=["Webkit","ms","Moz","O"];Object.keys(o).forEach(function(e){i.forEach(function(t){o[r(t,e)]=o[e]})});var a={background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}},u={isUnitlessNumber:o,shorthandPropertyExpansions:a};e.exports=u},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=n(2),i=n(25),a=(n(0),function(){function e(t){r(this,e),this._callbacks=null,this._contexts=null,this._arg=t}return e.prototype.enqueue=function(e,t){this._callbacks=this._callbacks||[],this._callbacks.push(e),this._contexts=this._contexts||[],this._contexts.push(t)},e.prototype.notifyAll=function(){var e=this._callbacks,t=this._contexts,n=this._arg;if(e&&t){e.length!==t.length?o("24"):void 0,this._callbacks=null,this._contexts=null;for(var r=0;r<e.length;r++)e[r].call(t[r],n);e.length=0,t.length=0}},e.prototype.checkpoint=function(){return this._callbacks?this._callbacks.length:0},e.prototype.rollback=function(e){this._callbacks&&this._contexts&&(this._callbacks.length=e,this._contexts.length=e)},e.prototype.reset=function(){this._callbacks=null,this._contexts=null},e.prototype.destructor=function(){this.reset()},e}());e.exports=i.addPoolingTo(a)},function(e,t,n){"use strict";function r(e){return!!l.hasOwnProperty(e)||!s.hasOwnProperty(e)&&(u.test(e)?(l[e]=!0,!0):(s[e]=!0,!1))}function o(e,t){return null==t||e.hasBooleanValue&&!t||e.hasNumericValue&&isNaN(t)||e.hasPositiveNumericValue&&t<1||e.hasOverloadedBooleanValue&&t===!1}var i=n(30),a=(n(4),n(7),n(275)),u=(n(1),new RegExp("^["+i.ATTRIBUTE_NAME_START_CHAR+"]["+i.ATTRIBUTE_NAME_CHAR+"]*$")),s={},l={},c={createMarkupForID:function(e){return i.ID_ATTRIBUTE_NAME+"="+a(e)},setAttributeForID:function(e,t){e.setAttribute(i.ID_ATTRIBUTE_NAME,t)},createMarkupForRoot:function(){return i.ROOT_ATTRIBUTE_NAME+'=""'},setAttributeForRoot:function(e){e.setAttribute(i.ROOT_ATTRIBUTE_NAME,"")},createMarkupForProperty:function(e,t){var n=i.properties.hasOwnProperty(e)?i.properties[e]:null;if(n){if(o(n,t))return"";var r=n.attributeName;return n.hasBooleanValue||n.hasOverloadedBooleanValue&&t===!0?r+'=""':r+"="+a(t)}return i.isCustomAttribute(e)?null==t?"":e+"="+a(t):null},createMarkupForCustomAttribute:function(e,t){return r(e)&&null!=t?e+"="+a(t):""},setValueForProperty:function(e,t,n){var r=i.properties.hasOwnProperty(t)?i.properties[t]:null;if(r){var a=r.mutationMethod;if(a)a(e,n);else{if(o(r,n))return void this.deleteValueForProperty(e,t);if(r.mustUseProperty)e[r.propertyName]=n;else{var u=r.attributeName,s=r.attributeNamespace;s?e.setAttributeNS(s,u,""+n):r.hasBooleanValue||r.hasOverloadedBooleanValue&&n===!0?e.setAttribute(u,""):e.setAttribute(u,""+n)}}}else if(i.isCustomAttribute(t))return void c.setValueForAttribute(e,t,n)},setValueForAttribute:function(e,t,n){if(r(t)){null==n?e.removeAttribute(t):e.setAttribute(t,""+n)}},deleteValueForAttribute:function(e,t){e.removeAttribute(t)},deleteValueForProperty:function(e,t){var n=i.properties.hasOwnProperty(t)?i.properties[t]:null;if(n){var r=n.mutationMethod;if(r)r(e,void 0);else if(n.mustUseProperty){var o=n.propertyName;n.hasBooleanValue?e[o]=!1:e[o]=""}else e.removeAttribute(n.attributeName)}else i.isCustomAttribute(t)&&e.removeAttribute(t)}};e.exports=c},function(e,t,n){"use strict";var r={hasCachedChildNodes:1};e.exports=r},function(e,t,n){"use strict";function r(){if(this._rootNodeID&&this._wrapperState.pendingUpdate){this._wrapperState.pendingUpdate=!1;var e=this._currentElement.props,t=u.getValue(e);null!=t&&o(this,Boolean(e.multiple),t)}}function o(e,t,n){var r,o,i=s.getNodeFromInstance(e).options;if(t){for(r={},o=0;o<n.length;o++)r[""+n[o]]=!0;for(o=0;o<i.length;o++){var a=r.hasOwnProperty(i[o].value);i[o].selected!==a&&(i[o].selected=a)}}else{for(r=""+n,o=0;o<i.length;o++)if(i[o].value===r)return void(i[o].selected=!0);i.length&&(i[0].selected=!0)}}function i(e){var t=this._currentElement.props,n=u.executeOnChange(t,e);return this._rootNodeID&&(this._wrapperState.pendingUpdate=!0),l.asap(r,this),n}var a=n(3),u=n(74),s=n(4),l=n(9),c=(n(1),!1),p={getHostProps:function(e,t){return a({},t,{onChange:e._wrapperState.onChange,value:void 0})},mountWrapper:function(e,t){var n=u.getValue(t);e._wrapperState={pendingUpdate:!1,initialValue:null!=n?n:t.defaultValue,listeners:null,onChange:i.bind(e),wasMultiple:Boolean(t.multiple)},void 0===t.value||void 0===t.defaultValue||c||(c=!0)},getSelectValueContext:function(e){return e._wrapperState.initialValue},postUpdateWrapper:function(e){var t=e._currentElement.props;e._wrapperState.initialValue=void 0;var n=e._wrapperState.wasMultiple;e._wrapperState.wasMultiple=Boolean(t.multiple);var r=u.getValue(t);null!=r?(e._wrapperState.pendingUpdate=!1,o(e,Boolean(t.multiple),r)):n!==Boolean(t.multiple)&&(null!=t.defaultValue?o(e,Boolean(t.multiple),t.defaultValue):o(e,Boolean(t.multiple),t.multiple?[]:""))}};e.exports=p},function(e,t,n){"use strict";var r,o={injectEmptyComponentFactory:function(e){r=e}},i={create:function(e){return r(e)}};i.injection=o,e.exports=i},function(e,t,n){"use strict";var r={logTopLevelRenders:!1};e.exports=r},function(e,t,n){"use strict";function r(e){return u?void 0:a("111",e.type),new u(e)}function o(e){return new s(e)}function i(e){return e instanceof s}var a=n(2),u=(n(0),null),s=null,l={injectGenericComponentClass:function(e){u=e},injectTextComponentClass:function(e){s=e}},c={createInternalComponent:r,createInstanceForText:o,isTextComponent:i,injection:l};e.exports=c},function(e,t,n){"use strict";function r(e){return i(document.documentElement,e)}var o=n(234),i=n(199),a=n(105),u=n(106),s={hasSelectionCapabilities:function(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&"text"===e.type||"textarea"===t||"true"===e.contentEditable)},getSelectionInformation:function(){var e=u();return{focusedElem:e,selectionRange:s.hasSelectionCapabilities(e)?s.getSelection(e):null}},restoreSelection:function(e){var t=u(),n=e.focusedElem,o=e.selectionRange;t!==n&&r(n)&&(s.hasSelectionCapabilities(n)&&s.setSelection(n,o),a(n))},getSelection:function(e){var t;if("selectionStart"in e)t={start:e.selectionStart,end:e.selectionEnd};else if(document.selection&&e.nodeName&&"input"===e.nodeName.toLowerCase()){var n=document.selection.createRange();n.parentElement()===e&&(t={start:-n.moveStart("character",-e.value.length),end:-n.moveEnd("character",-e.value.length)})}else t=o.getOffsets(e);return t||{start:0,end:0}},setSelection:function(e,t){var n=t.start,r=t.end;if(void 0===r&&(r=n),"selectionStart"in e)e.selectionStart=n,e.selectionEnd=Math.min(r,e.value.length);else if(document.selection&&e.nodeName&&"input"===e.nodeName.toLowerCase()){var i=e.createTextRange();i.collapse(!0),i.moveStart("character",n),i.moveEnd("character",r-n),i.select()}else o.setOffsets(e,t)}};e.exports=s},function(e,t,n){"use strict";function r(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++)if(e.charAt(r)!==t.charAt(r))return r;return e.length===t.length?-1:n}function o(e){return e?e.nodeType===R?e.documentElement:e.firstChild:null}function i(e){return e.getAttribute&&e.getAttribute(N)||""}function a(e,t,n,r,o){var i;if(C.logTopLevelRenders){var a=e._currentElement.props.child,u=a.type;i="React mount: "+("string"==typeof u?u:u.displayName||u.name),console.time(i)}var s=w.mountComponent(e,n,null,_(e,t),o,0);i&&console.timeEnd(i),e._renderedComponent._topLevelWrapper=e,F._mountImageIntoNode(s,t,e,r,n)}function u(e,t,n,r){var o=T.ReactReconcileTransaction.getPooled(!n&&b.useCreateElement);o.perform(a,null,e,t,o,n,r),T.ReactReconcileTransaction.release(o)}function s(e,t,n){for(w.unmountComponent(e,n),t.nodeType===R&&(t=t.documentElement);t.lastChild;)t.removeChild(t.lastChild)}function l(e){var t=o(e);if(t){var n=y.getInstanceFromNode(t);return!(!n||!n._hostParent)}}function c(e){return!(!e||e.nodeType!==A&&e.nodeType!==R&&e.nodeType!==D)}function p(e){var t=o(e),n=t&&y.getInstanceFromNode(t);return n&&!n._hostParent?n:null}function d(e){var t=p(e);return t?t._hostContainerInfo._topLevelWrapper:null}var f=n(2),h=n(29),m=n(30),v=n(32),g=n(48),y=(n(17),n(4)),_=n(228),b=n(230),C=n(114),E=n(40),x=(n(7),n(244)),w=n(31),k=n(77),T=n(9),P=n(37),S=n(124),O=(n(0),n(52)),M=n(83),N=(n(1),m.ID_ATTRIBUTE_NAME),I=m.ROOT_ATTRIBUTE_NAME,A=1,R=9,D=11,j={},L=1,U=function(){this.rootID=L++};U.prototype.isReactComponent={},U.prototype.render=function(){return this.props.child},U.isReactTopLevelWrapper=!0;var F={TopLevelWrapper:U,_instancesByReactRootID:j,scrollMonitor:function(e,t){t()},_updateRootComponent:function(e,t,n,r,o){return F.scrollMonitor(r,function(){k.enqueueElementInternal(e,t,n),o&&k.enqueueCallbackInternal(e,o)}),e},_renderNewRootComponent:function(e,t,n,r){c(t)?void 0:f("37"),g.ensureScrollValueMonitoring();var o=S(e,!1);T.batchedUpdates(u,o,t,n,r);var i=o._instance.rootID;return j[i]=o,o},renderSubtreeIntoContainer:function(e,t,n,r){return null!=e&&E.has(e)?void 0:f("38"),F._renderSubtreeIntoContainer(e,t,n,r)},_renderSubtreeIntoContainer:function(e,t,n,r){k.validateCallback(r,"ReactDOM.render"),v.isValidElement(t)?void 0:f("39","string"==typeof t?" Instead of passing a string like 'div', pass React.createElement('div') or <div />.":"function"==typeof t?" Instead of passing a class like Foo, pass React.createElement(Foo) or <Foo />.":null!=t&&void 0!==t.props?" This may be caused by unintentionally loading two independent copies of React.":"");var a,u=v.createElement(U,{child:t});if(e){var s=E.get(e);a=s._processChildContext(s._context)}else a=P;var c=d(n);if(c){var p=c._currentElement,h=p.props.child;if(M(h,t)){var m=c._renderedComponent.getPublicInstance(),g=r&&function(){r.call(m)};return F._updateRootComponent(c,u,a,n,g),m}F.unmountComponentAtNode(n)}var y=o(n),_=y&&!!i(y),b=l(n),C=_&&!c&&!b,x=F._renderNewRootComponent(u,n,C,a)._renderedComponent.getPublicInstance();return r&&r.call(x),x},render:function(e,t,n){return F._renderSubtreeIntoContainer(null,e,t,n)},unmountComponentAtNode:function(e){c(e)?void 0:f("40");var t=d(e);if(!t){l(e),1===e.nodeType&&e.hasAttribute(I);return!1}return delete j[t._instance.rootID],T.batchedUpdates(s,t,e,!1),!0},_mountImageIntoNode:function(e,t,n,i,a){if(c(t)?void 0:f("41"),i){var u=o(t);if(x.canReuseMarkup(e,u))return void y.precacheNode(n,u);var s=u.getAttribute(x.CHECKSUM_ATTR_NAME);u.removeAttribute(x.CHECKSUM_ATTR_NAME);var l=u.outerHTML;u.setAttribute(x.CHECKSUM_ATTR_NAME,s);var p=e,d=r(p,l),m=" (client) "+p.substring(d-20,d+20)+"\n (server) "+l.substring(d-20,d+20);t.nodeType===R?f("42",m):void 0}if(t.nodeType===R?f("43"):void 0,a.useCreateElement){for(;t.lastChild;)t.removeChild(t.lastChild);h.insertTreeBefore(t,e,null)}else O(t,e),y.precacheNode(n,t.firstChild)}};e.exports=F},function(e,t,n){"use strict";var r=n(2),o=n(32),i=(n(0),{HOST:0,COMPOSITE:1,EMPTY:2,getType:function(e){return null===e||e===!1?i.EMPTY:o.isValidElement(e)?"function"==typeof e.type?i.COMPOSITE:i.HOST:void r("26",e)}});e.exports=i},function(e,t,n){"use strict";var r={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(e){r.currentScrollLeft=e.x,r.currentScrollTop=e.y}};e.exports=r},function(e,t,n){"use strict";function r(e,t){return null==t?o("30"):void 0,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]}var o=n(2);n(0);e.exports=r},function(e,t,n){"use strict";function r(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}e.exports=r},function(e,t,n){"use strict";function r(e){for(var t;(t=e._renderedNodeType)===o.COMPOSITE;)e=e._renderedComponent;return t===o.HOST?e._renderedComponent:t===o.EMPTY?null:void 0}var o=n(118);e.exports=r},function(e,t,n){"use strict";function r(){return!i&&o.canUseDOM&&(i="textContent"in document.documentElement?"textContent":"innerText"),i}var o=n(5),i=null;e.exports=r},function(e,t,n){"use strict";function r(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}function o(e){return"function"==typeof e&&"undefined"!=typeof e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent}function i(e,t){var n;if(null===e||e===!1)n=l.create(i);else if("object"==typeof e){var u=e,s=u.type;if("function"!=typeof s&&"string"!=typeof s){var d="";d+=r(u._owner),a("130",null==s?s:typeof s,d)}"string"==typeof u.type?n=c.createInternalComponent(u):o(u.type)?(n=new u.type(u),n.getHostNode||(n.getHostNode=n.getNativeNode)):n=new p(u)}else"string"==typeof e||"number"==typeof e?n=c.createInstanceForText(e):a("131",typeof e);return n._mountIndex=0,n._mountImage=null,n}var a=n(2),u=n(3),s=n(225),l=n(113),c=n(115),p=(n(272),n(0),n(1),function(e){this.construct(e)});u(p.prototype,s,{_instantiateReactComponent:i}),e.exports=i},function(e,t,n){"use strict";function r(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!o[e.type]:"textarea"===t}var o={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};e.exports=r},function(e,t,n){"use strict";var r=n(5),o=n(51),i=n(52),a=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t};r.canUseDOM&&("textContent"in document.documentElement||(a=function(e,t){return 3===e.nodeType?void(e.nodeValue=t):void i(e,o(t))})),e.exports=a},function(e,t,n){"use strict";function r(e,t){return e&&"object"==typeof e&&null!=e.key?l.escape(e.key):t.toString(36)}function o(e,t,n,i){var d=typeof e;if("undefined"!==d&&"boolean"!==d||(e=null),null===e||"string"===d||"number"===d||"object"===d&&e.$$typeof===u)return n(i,e,""===t?c+r(e,0):t),1;var f,h,m=0,v=""===t?c:t+p;if(Array.isArray(e))for(var g=0;g<e.length;g++)f=e[g],h=v+r(f,g),m+=o(f,h,n,i);else{var y=s(e);if(y){var _,b=y.call(e);if(y!==e.entries)for(var C=0;!(_=b.next()).done;)f=_.value,h=v+r(f,C++),m+=o(f,h,n,i);else for(;!(_=b.next()).done;){var E=_.value;E&&(f=E[1],h=v+l.escape(E[0])+p+r(f,0),m+=o(f,h,n,i))}}else if("object"===d){var x="",w=String(e);a("31","[object Object]"===w?"object with keys {"+Object.keys(e).join(", ")+"}":w,x)}}return m}function i(e,t,n){return null==e?0:o(e,"",t,n)}var a=n(2),u=(n(17),n(240)),s=n(271),l=(n(0),n(73)),c=(n(1),"."),p=":";e.exports=i},function(e,t,n){"use strict";function r(e){var t=Function.prototype.toString,n=Object.prototype.hasOwnProperty,r=RegExp("^"+t.call(n).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");try{var o=t.call(e);return r.test(o)}catch(e){return!1}}function o(e){var t=l(e);if(t){var n=t.childIDs;c(e),n.forEach(o)}}function i(e,t,n){return"\n in "+(e||"Unknown")+(t?" (at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+")":n?" (created by "+n+")":"")}function a(e){return null==e?"#empty":"string"==typeof e||"number"==typeof e?"#text":"string"==typeof e.type?e.type:e.type.displayName||e.type.name||"Unknown"}function u(e){var t,n=k.getDisplayName(e),r=k.getElement(e),o=k.getOwnerID(e);return o&&(t=k.getDisplayName(o)),i(n,r&&r._source,t)}var s,l,c,p,d,f,h,m=n(34),v=n(17),g=(n(0),n(1),"function"==typeof Array.from&&"function"==typeof Map&&r(Map)&&null!=Map.prototype&&"function"==typeof Map.prototype.keys&&r(Map.prototype.keys)&&"function"==typeof Set&&r(Set)&&null!=Set.prototype&&"function"==typeof Set.prototype.keys&&r(Set.prototype.keys));if(g){var y=new Map,_=new Set;s=function(e,t){y.set(e,t)},l=function(e){return y.get(e)},c=function(e){y.delete(e)},p=function(){return Array.from(y.keys())},d=function(e){_.add(e)},f=function(e){_.delete(e)},h=function(){return Array.from(_.keys())}}else{var b={},C={},E=function(e){return"."+e},x=function(e){return parseInt(e.substr(1),10)};s=function(e,t){var n=E(e);b[n]=t},l=function(e){var t=E(e);return b[t]},c=function(e){var t=E(e);delete b[t]},p=function(){return Object.keys(b).map(x)},d=function(e){var t=E(e);C[t]=!0},f=function(e){var t=E(e);delete C[t]},h=function(){return Object.keys(C).map(x)}}var w=[],k={onSetChildren:function(e,t){var n=l(e);n?void 0:m("144"),n.childIDs=t;for(var r=0;r<t.length;r++){var o=t[r],i=l(o);i?void 0:m("140"),null==i.childIDs&&"object"==typeof i.element&&null!=i.element?m("141"):void 0,i.isMounted?void 0:m("71"),null==i.parentID&&(i.parentID=e),i.parentID!==e?m("142",o,i.parentID,e):void 0}},onBeforeMountComponent:function(e,t,n){var r={element:t,parentID:n,text:null,childIDs:[],isMounted:!1,updateCount:0};s(e,r)},onBeforeUpdateComponent:function(e,t){var n=l(e);n&&n.isMounted&&(n.element=t)},onMountComponent:function(e){var t=l(e);t?void 0:m("144"),t.isMounted=!0;var n=0===t.parentID;n&&d(e)},onUpdateComponent:function(e){var t=l(e);t&&t.isMounted&&t.updateCount++},onUnmountComponent:function(e){var t=l(e);if(t){t.isMounted=!1;var n=0===t.parentID;n&&f(e)}w.push(e)},purgeUnmountedComponents:function(){if(!k._preventPurging){for(var e=0;e<w.length;e++){var t=w[e];o(t)}w.length=0}},isMounted:function(e){var t=l(e);return!!t&&t.isMounted},getCurrentStackAddendum:function(e){var t="";if(e){var n=a(e),r=e._owner;t+=i(n,e._source,r&&r.getName())}var o=v.current,u=o&&o._debugID;return t+=k.getStackAddendumByID(u)},getStackAddendumByID:function(e){for(var t="";e;)t+=u(e),e=k.getParentID(e);return t},getChildIDs:function(e){var t=l(e);return t?t.childIDs:[]},getDisplayName:function(e){var t=k.getElement(e);return t?a(t):null},getElement:function(e){var t=l(e);return t?t.element:null},getOwnerID:function(e){var t=k.getElement(e);return t&&t._owner?t._owner._debugID:null},getParentID:function(e){var t=l(e);return t?t.parentID:null},getSource:function(e){var t=l(e),n=t?t.element:null,r=null!=n?n._source:null;return r},getText:function(e){var t=k.getElement(e);return"string"==typeof t?t:"number"==typeof t?""+t:null},getUpdateCount:function(e){var t=l(e);return t?t.updateCount:0},getRootIDs:h,getRegisteredIDs:p};e.exports=k},function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=r},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t,n){"use strict";var r=!1;e.exports=r},function(e,t,n){"use strict";function r(e){var t=e&&(o&&e[o]||e[i]);if("function"==typeof t)return t}var o="function"==typeof Symbol&&Symbol.iterator,i="@@iterator";e.exports=r},function(e,t,n){"use strict";jQuery(document).ready(function(e){var t="";"on"==mpsum.dashboard_showing&&(t=' checked="checked"');var n='<fieldset class="screen-options">';n+="<legend>"+mpsum.tabs+"</legend>",n+='<input type="hidden" value="off" name="mpsum_dashboard" />',n+='<input type="checkbox" id="mpsum_dashboard" value="on" name="mpsum_dashboard"'+t+"/>",n+='&nbsp;<label for="mpsum_dashboard">'+mpsum.dashboard+"</label>",n+="</fieldset>",e("#screen-options-wrap #adv-settings").prepend(n),"on"==mpsum.new_user&&swal({html:'<div id="mpsum-welcome-modal"><h2>'+mpsum.welcome+"</h2>, <h3>"+mpsum.welcome_intro+'</h3><button id="eum-enable-autoupdates" class="eum-button button button-primary" name="eum_enable_automatic" value="on" id="eum_type_1">'+mpsum.welcome_automatic+'</button><button id="eum-disable-manually" class="eum-button button button-primary" name="eum_type_disable_updates" value="on" id="eum_type_2">'+mpsum.welcome_disable+'</button><button id="eum-configure-manually" class="eum-button button button-primary" name="eum_enable_automatic" value="on" id="eum_type_1">Configure Manually</button></div>',type:"question",showCloseButton:!0}),jQuery("body").on("click","#eum-configure-manually",function(e){e.preventDefault(),jQuery("#mpsum-welcome-modal").html(),jQuery.post(ajaxurl,{action:"mpsum_ajax_remove_wizard",_ajax_nonce:mpsum.admin_nonce},function(e){window.top.location.reload()})}),jQuery("body").on("click","#eum-disable-manually",function(e){e.preventDefault(),jQuery("#mpsum-welcome-modal").html(),jQuery.post(ajaxurl,{action:"mpsum_ajax_disable_updates",_ajax_nonce:mpsum.admin_nonce},function(e){window.top.location.reload()})}),jQuery("body").on("click","#eum-enable-autoupdates",function(e){e.preventDefault(),jQuery("#mpsum-welcome-modal").html(),jQuery.post(ajaxurl,{action:"mpsum_ajax_enable_automatic_updates",_ajax_nonce:mpsum.admin_nonce},function(e){window.top.location.reload()})})})},function(e,t,n){"use strict";var r,o,i,a,u,s,l,c=n(183),p=n(192),d=Function.prototype.apply,f=Function.prototype.call,h=Object.create,m=Object.defineProperty,v=Object.defineProperties,g=Object.prototype.hasOwnProperty,y={configurable:!0,enumerable:!1,writable:!0};r=function(e,t){var n;return p(t),g.call(this,"__ee__")?n=this.__ee__:(n=y.value=h(null),m(this,"__ee__",y),y.value=null),n[e]?"object"==typeof n[e]?n[e].push(t):n[e]=[n[e],t]:n[e]=t,this},o=function(e,t){var n,o;return p(t),o=this,r.call(this,e,n=function(){i.call(o,e,n),d.call(t,this,arguments)}),n.__eeOnceListener__=t,this},i=function(e,t){var n,r,o,i;if(p(t),!g.call(this,"__ee__"))return this;if(n=this.__ee__,!n[e])return this;if(r=n[e],"object"==typeof r)for(i=0;o=r[i];++i)o!==t&&o.__eeOnceListener__!==t||(2===r.length?n[e]=r[i?0:1]:r.splice(i,1));else r!==t&&r.__eeOnceListener__!==t||delete n[e];
22
  return this},a=function(e){var t,n,r,o,i;if(g.call(this,"__ee__")&&(o=this.__ee__[e]))if("object"==typeof o){for(n=arguments.length,i=new Array(n-1),t=1;t<n;++t)i[t-1]=arguments[t];for(o=o.slice(),t=0;r=o[t];++t)d.call(r,this,i)}else switch(arguments.length){case 1:f.call(o,this);break;case 2:f.call(o,this,arguments[1]);break;case 3:f.call(o,this,arguments[1],arguments[2]);break;default:for(n=arguments.length,i=new Array(n-1),t=1;t<n;++t)i[t-1]=arguments[t];d.call(o,this,i)}},u={on:r,once:o,off:i,emit:a},s={on:c(r),once:c(o),off:c(i),emit:c(a)},l=v({},s),e.exports=t=function(e){return null==e?h(l):v(Object(e),s)},t.methods=u},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(10),i=r(o),a=n(11),u=r(a),s=n(12),l=r(s),c=n(14),p=r(c),d=n(13),f=r(d),h=n(18),m=r(h),v=(n(15),function(e){function t(e){(0,u.default)(this,t);var n=(0,p.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={disabled:!mpsum.ratings_nag.enabled},n.disabled=n.disabled.bind(n),n}return(0,f.default)(t,e),(0,l.default)(t,[{key:"disabled",value:function(e){e.preventDefault(),this.setState({disabled:!0});var t=new XMLHttpRequest;t.open("POST",ajaxurl),t.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),t.send("action=mpsum_ajax_remove_ratings_nag&_ajax_nonce="+mpsum.admin_nonce)}},{key:"display",value:function(){if(!1===this.state.disabled)return m.default.createElement("div",{className:"eum-ratings-nag mpsum-notice"},m.default.createElement("p",null,m.default.createElement("strong",null,mpsum.ratings_nag.text)),m.default.createElement("ul",null,m.default.createElement("li",null,m.default.createElement("a",{className:"button button-primary",target:"_new",href:mpsum.ratings_nag.url},mpsum.ratings_nag.affirm)),m.default.createElement("li",null,m.default.createElement("a",{className:"button button-secondary",href:"#",onClick:this.disabled},mpsum.ratings_nag.cancel))))}},{key:"render",value:function(){return m.default.createElement("div",null,this.display())}}]),t}(m.default.Component));t.default=v},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(10),i=r(o),a=n(11),u=r(a),s=n(12),l=r(s),c=n(14),p=r(c),d=n(13),f=r(d),h=n(18),m=r(h),v=(n(15),n(42)),g=(r(v),n(54)),y=(r(g),n(87)),_=r(y),b=function(e){function t(e){(0,u.default)(this,t);var n=(0,p.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={checked:n.props.checked,disabled:n.props.disabled,label:mpsum.enabled,loading:!1},n}return(0,f.default)(t,e),(0,l.default)(t,[{key:"componentWillReceiveProps",value:function(e){this.setState({loading:e.loading,checked:e.checked,disabled:e.disabled})}},{key:"render",value:function(){return m.default.createElement("div",null,m.default.createElement(_.default,{id:this.props.id,name:this.props.name,onChange:this.itemChange,checked:this.state.checked,disabled:this.state.disabled,context:this.props.context,title:this.props.title}))}}]),t}(m.default.Component);b.propTypes={id:m.default.PropTypes.string,checked:m.default.PropTypes.bool.isRequired,title:m.default.PropTypes.string.isRequired,disabled:m.default.PropTypes.bool.isRequired,name:m.default.PropTypes.string.isRequired,context:m.default.PropTypes.string.isRequired,loading:m.default.PropTypes.bool.isRequired},b.defaultProps={id:"",checked:!1,title:"",disabled:!1,name:"",context:"",loading:!1},t.default=b},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(43),i=r(o),a=n(10),u=r(a),s=n(11),l=r(s),c=n(12),p=r(c),d=n(14),f=r(d),h=n(13),m=r(h),v=n(18),g=r(v),y=(n(15),n(53)),_=r(y),b=n(42),C=(r(b),n(54)),E=r(C),x=function(e){function t(e){(0,l.default)(this,t);var n=(0,f.default)(this,(t.__proto__||(0,u.default)(t)).call(this,e));return n.state={checked:n.props.checked,disabled:n.props.disabled,label:mpsum.enabled,loading:!1,choices:n.props.choices},n.itemChange=n.itemChange.bind(n),n}return(0,m.default)(t,e),(0,p.default)(t,[{key:"itemChange",value:function(e){e.preventDefault(),this.setState({loading:!0}),E.default.itemToggle(this.props.context,this.props.name,e.target.value)}},{key:"displayChoices",value:function(){if(!1===this.state.loading){var e=[],t=!0,n=!1,r=void 0;try{for(var o,a=(0,i.default)(this.props.choices);!(t=(o=a.next()).done);t=!0){var u=o.value;e.push(g.default.createElement("div",{key:u.id,className:"multi-choice-item"},g.default.createElement("input",{type:"radio",value:u.value,id:u.id,checked:this.state.checked==u.value,onChange:this.itemChange,disabled:this.state.disabled})," ",g.default.createElement("label",{htmlFor:u.id},u.label)))}}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}return g.default.createElement("div",{className:"multi-choice"},e)}return g.default.createElement(_.default,null)}},{key:"componentWillReceiveProps",value:function(e){this.setState({loading:e.loading,checked:e.checked,disabled:e.disabled})}},{key:"render",value:function(){return g.default.createElement("div",null,g.default.createElement("div",{className:"dashboard-item active"},g.default.createElement("div",{className:"dashboard-item-header input-radio"},this.props.title),this.displayChoices()))}}]),t}(g.default.Component);x.propTypes={checked:g.default.PropTypes.string.isRequired,title:g.default.PropTypes.string.isRequired,disabled:g.default.PropTypes.bool.isRequired,name:g.default.PropTypes.string.isRequired,context:g.default.PropTypes.string.isRequired,loading:g.default.PropTypes.bool.isRequired},x.defaultProps={checked:"default",title:"",disabled:!1,name:"",context:"",loading:!1},t.default=x},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(43),i=r(o),a=n(10),u=r(a),s=n(11),l=r(s),c=n(12),p=r(c),d=n(14),f=r(d),h=n(13),m=r(h),v=n(18),g=r(v),y=(n(15),n(87)),_=r(y),b=function(e){function t(e){(0,l.default)(this,t);var n=(0,f.default)(this,(t.__proto__||(0,u.default)(t)).call(this,e));return n.state={tabs:n.props.tabs,active:n.props.active},n.tabClicked=n.tabClicked.bind(n),n}return(0,m.default)(t,e),(0,p.default)(t,[{key:"tabClicked",value:function(e){e.preventDefault(),this.setState({active:e.target.id})}},{key:"showTabs",value:function(){var e=[],t=[],n=!0,r=!1,o=void 0;try{for(var a,u=(0,i.default)(this.props.tabs);!(n=(a=u.next()).done);n=!0){var s=a.value,l="dashboard-tab-header-plugin dashboard-tab-item "+(this.state.active==s.id?"active":"");e.push(g.default.createElement("div",{className:l,key:s.id},g.default.createElement("a",{href:"#",onClick:this.tabClicked,id:s.id},s.label)));var c="dashboard-tab-content "+(this.state.active==s.id?"active":null),p=[],d=!0,f=!1,h=void 0;try{for(var m,v=(0,i.default)(s.items);!(d=(m=v.next()).done);d=!0){var y=m.value;p.push(g.default.createElement(_.default,{id:y.id,title:y.title,name:y.id+"_"+y.context,key:y.id+"_"+y.context,checked:y.checked,disabled:y.disabled,context:s.context,loading:s.loading}))}}catch(e){f=!0,h=e}finally{try{!d&&v.return&&v.return()}finally{if(f)throw h}}t.push(g.default.createElement("div",{className:c,key:s.id},p))}}catch(e){r=!0,o=e}finally{try{!n&&u.return&&u.return()}finally{if(r)throw o}}return g.default.createElement("div",{className:"dashboard-tab"},e,t)}},{key:"render",value:function(){return g.default.createElement("div",null,this.showTabs())}}]),t}(g.default.Component);t.default=b},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(43),i=r(o),a=n(10),u=r(a),s=n(11),l=r(s),c=n(12),p=r(c),d=n(14),f=r(d),h=n(13),m=r(h),v=n(18),g=r(v),y=(n(15),n(136)),_=r(y),b=n(137),C=r(b),E=n(138),x=r(E),w=function(e){function t(e){return(0,l.default)(this,t),(0,f.default)(this,(t.__proto__||(0,u.default)(t)).call(this,e))}return(0,m.default)(t,e),(0,p.default)(t,[{key:"createItems",value:function(){var e=[],t=!0,n=!1,r=void 0;try{for(var o,a=(0,i.default)(this.props.items);!(t=(o=a.next()).done);t=!0){var u=o.value;"ToggleItem"==u.component?e.push(this.createToggleComponent(u)):"ToggleItemRadio"==u.component?e.push(this.createToggleRadioComponent(u)):"ToggleTabs"==u.component&&e.push(this.createToggleTabsComponent(u))}}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}return e}},{key:"createToggleTabsComponent",value:function(e){return g.default.createElement("div",{key:e.id},g.default.createElement(x.default,{tabs:e.tabs,active:e.active}))}},{key:"createToggleComponent",value:function(e){return g.default.createElement("div",{key:e.name},g.default.createElement(_.default,{title:e.title,name:e.name,checked:e.checked,disabled:e.disabled,context:e.context,loading:e.loading}))}},{key:"createToggleRadioComponent",value:function(e){return g.default.createElement("div",{key:e.name},g.default.createElement(C.default,{title:e.title,name:e.name,checked:e.checked,disabled:e.disabled,context:e.context,update:this.props.update,loading:e.loading,choices:e.choices}))}},{key:"render",value:function(){return g.default.createElement("div",{className:"dashboard-main-wrapper"},g.default.createElement("div",{className:"dashboard-main-header"},this.props.title),g.default.createElement("div",{className:"dashboard-item-wrapper"},this.createItems()))}}]),t}(g.default.Component);w.propTypes={title:g.default.PropTypes.string.isRequired},w.defaultProps={title:""},t.default=w},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(10),i=r(o),a=n(11),u=r(a),s=n(12),l=r(s),c=n(14),p=r(c),d=n(13),f=r(d),h=n(18),m=r(h),v=(n(15),function(e){function t(e){(0,u.default)(this,t);var n=(0,p.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={disabled:"off"===mpsum.tracking_nag.enabled},n.disabled=n.disabled.bind(n),n.enabled=n.enabled.bind(n),console.log(mpsum),n}return(0,f.default)(t,e),(0,l.default)(t,[{key:"disabled",value:function(e){e.preventDefault(),this.setState({disabled:!0});var t=new XMLHttpRequest;t.open("POST",ajaxurl),t.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),t.send("action=mpsum_ajax_remove_tracking_nag&_ajax_nonce="+mpsum.admin_nonce)}},{key:"enabled",value:function(e){e.preventDefault(),this.setState({disabled:!0});var t=new XMLHttpRequest;t.open("POST",ajaxurl),t.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),t.send("action=mpsum_ajax_enable_tracking&_ajax_nonce="+mpsum.admin_nonce)}},{key:"display",value:function(){if(!1===this.state.disabled)return m.default.createElement("div",{className:"eum-tracking-nag mpsum-notice"},m.default.createElement("p",null,m.default.createElement("strong",null,mpsum.tracking_nag.text)," ",m.default.createElement("a",{target:"_blank",href:mpsum.tracking_nag.url},mpsum.tracking_nag.help)),m.default.createElement("ul",null,m.default.createElement("li",null,m.default.createElement("button",{className:"button button-primary",onClick:this.enabled},mpsum.tracking_nag.affirm)),m.default.createElement("li",null,m.default.createElement("button",{className:"button button-secondary",onClick:this.disabled},mpsum.tracking_nag.cancel))))}},{key:"render",value:function(){return m.default.createElement("div",null,this.display())}}]),t}(m.default.Component));t.default=v},function(e,t,n){e.exports={default:n(147),__esModule:!0}},function(e,t,n){e.exports={default:n(148),__esModule:!0}},function(e,t,n){e.exports={default:n(150),__esModule:!0}},function(e,t,n){e.exports={default:n(151),__esModule:!0}},function(e,t,n){e.exports={default:n(152),__esModule:!0}},function(e,t,n){n(103),n(102),e.exports=n(173)},function(e,t,n){n(175);var r=n(8).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){n(176);var r=n(8).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){n(177),e.exports=n(8).Object.getPrototypeOf},function(e,t,n){n(178),e.exports=n(8).Object.setPrototypeOf},function(e,t,n){n(180),n(179),n(181),n(182),e.exports=n(8).Symbol},function(e,t,n){n(102),n(103),e.exports=n(67).f("iterator")},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){e.exports=function(){}},function(e,t,n){var r=n(24),o=n(171),i=n(170);e.exports=function(e){return function(t,n,a){var u,s=r(t),l=o(s.length),c=i(a,l);if(e&&n!=n){for(;l>c;)if(u=s[c++],u!=u)return!0}else for(;l>c;c++)if((e||c in s)&&s[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(55),o=n(20)("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,u;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),o))?n:i?r(t):"Object"==(u=r(t))&&"function"==typeof t.callee?"Arguments":u}},function(e,t,n){var r=n(45),o=n(97),i=n(60);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,u=n(e),s=i.f,l=0;u.length>l;)s.call(e,a=u[l++])&&t.push(a);return t}},function(e,t,n){e.exports=n(19).document&&document.documentElement},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(55);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){"use strict";var r=n(59),o=n(46),i=n(61),a={};n(28)(a,n(20)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r=n(45),o=n(24);e.exports=function(e,t){for(var n,i=o(e),a=r(i),u=a.length,s=0;u>s;)if(i[n=a[s++]]===t)return n}},function(e,t,n){var r=n(47)("meta"),o=n(36),i=n(22),a=n(23).f,u=0,s=Object.isExtensible||function(){return!0},l=!n(35)(function(){return s(Object.preventExtensions({}))}),c=function(e){a(e,r,{value:{i:"O"+ ++u,w:{}}})},p=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!s(e))return"F";if(!t)return"E";c(e)}return e[r].i},d=function(e,t){if(!i(e,r)){if(!s(e))return!0;if(!t)return!1;c(e)}return e[r].w},f=function(e){return l&&h.NEED&&s(e)&&!i(e,r)&&c(e),e},h=e.exports={KEY:r,NEED:!1,fastKey:p,getWeak:d,onFreeze:f}},function(e,t,n){var r=n(23),o=n(26),i=n(45);e.exports=n(21)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),u=a.length,s=0;u>s;)r.f(e,n=a[s++],t[n]);return e}},function(e,t,n){var r=n(24),o=n(96).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(e){try{return o(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?u(e):o(r(e))}},function(e,t,n){var r=n(27),o=n(8),i=n(35);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},function(e,t,n){var r=n(36),o=n(26),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n(91)(Function.call,n(95).f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){var r=n(64),o=n(56);e.exports=function(e){return function(t,n){var i,a,u=String(o(t)),s=r(n),l=u.length;return s<0||s>=l?e?"":void 0:(i=u.charCodeAt(s),i<55296||i>56319||s+1===l||(a=u.charCodeAt(s+1))<56320||a>57343?e?u.charAt(s):i:e?u.slice(s,s+2):(i-55296<<10)+(a-56320)+65536)}}},function(e,t,n){var r=n(64),o=Math.max,i=Math.min;e.exports=function(e,t){return e=r(e),e<0?o(e+t,0):i(e,t)}},function(e,t,n){var r=n(64),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(156),o=n(20)("iterator"),i=n(44);e.exports=n(8).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(26),o=n(172);e.exports=n(8).getIterator=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t,n){"use strict";var r=n(154),o=n(162),i=n(44),a=n(24);e.exports=n(94)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,n):"values"==t?o(0,e[n]):o(0,[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(27);r(r.S,"Object",{create:n(59)})},function(e,t,n){var r=n(27);r(r.S+r.F*!n(21),"Object",{defineProperty:n(23).f})},function(e,t,n){var r=n(101),o=n(98);n(167)("getPrototypeOf",function(){return function(e){return o(r(e))}})},function(e,t,n){var r=n(27);r(r.S,"Object",{setPrototypeOf:n(168).set})},function(e,t){},function(e,t,n){"use strict";var r=n(19),o=n(22),i=n(21),a=n(27),u=n(100),s=n(164).KEY,l=n(35),c=n(63),p=n(61),d=n(47),f=n(20),h=n(67),m=n(66),v=n(163),g=n(157),y=n(160),_=n(26),b=n(24),C=n(65),E=n(46),x=n(59),w=n(166),k=n(95),T=n(23),P=n(45),S=k.f,O=T.f,M=w.f,N=r.Symbol,I=r.JSON,A=I&&I.stringify,R="prototype",D=f("_hidden"),j=f("toPrimitive"),L={}.propertyIsEnumerable,U=c("symbol-registry"),F=c("symbols"),V=c("op-symbols"),B=Object[R],W="function"==typeof N,H=r.QObject,q=!H||!H[R]||!H[R].findChild,K=i&&l(function(){return 7!=x(O({},"a",{get:function(){return O(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=S(B,t);r&&delete B[t],O(e,t,n),r&&e!==B&&O(B,t,r)}:O,z=function(e){var t=F[e]=x(N[R]);return t._k=e,t},Y=W&&"symbol"==typeof N.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof N},$=function(e,t,n){return e===B&&$(V,t,n),_(e),t=C(t,!0),_(n),o(F,t)?(n.enumerable?(o(e,D)&&e[D][t]&&(e[D][t]=!1),n=x(n,{enumerable:E(0,!1)})):(o(e,D)||O(e,D,E(1,{})),e[D][t]=!0),K(e,t,n)):O(e,t,n)},G=function(e,t){_(e);for(var n,r=g(t=b(t)),o=0,i=r.length;i>o;)$(e,n=r[o++],t[n]);return e},X=function(e,t){return void 0===t?x(e):G(x(e),t)},Q=function(e){var t=L.call(this,e=C(e,!0));return!(this===B&&o(F,e)&&!o(V,e))&&(!(t||!o(this,e)||!o(F,e)||o(this,D)&&this[D][e])||t)},J=function(e,t){if(e=b(e),t=C(t,!0),e!==B||!o(F,t)||o(V,t)){var n=S(e,t);return!n||!o(F,t)||o(e,D)&&e[D][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=M(b(e)),r=[],i=0;n.length>i;)o(F,t=n[i++])||t==D||t==s||r.push(t);return r},ee=function(e){for(var t,n=e===B,r=M(n?V:b(e)),i=[],a=0;r.length>a;)!o(F,t=r[a++])||n&&!o(B,t)||i.push(F[t]);return i};W||(N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===B&&t.call(V,n),o(this,D)&&o(this[D],e)&&(this[D][e]=!1),K(this,e,E(1,n))};return i&&q&&K(B,e,{configurable:!0,set:t}),z(e)},u(N[R],"toString",function(){return this._k}),k.f=J,T.f=$,n(96).f=w.f=Z,n(60).f=Q,n(97).f=ee,i&&!n(58)&&u(B,"propertyIsEnumerable",Q,!0),h.f=function(e){return z(f(e))}),a(a.G+a.W+a.F*!W,{Symbol:N});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)f(te[ne++]);for(var te=P(f.store),ne=0;te.length>ne;)m(te[ne++]);a(a.S+a.F*!W,"Symbol",{for:function(e){return o(U,e+="")?U[e]:U[e]=N(e)},keyFor:function(e){if(Y(e))return v(U,e);throw TypeError(e+" is not a symbol!")},useSetter:function(){q=!0},useSimple:function(){q=!1}}),a(a.S+a.F*!W,"Object",{create:X,defineProperty:$,defineProperties:G,getOwnPropertyDescriptor:J,getOwnPropertyNames:Z,getOwnPropertySymbols:ee}),I&&a(a.S+a.F*(!W||l(function(){var e=N();return"[null]"!=A([e])||"{}"!=A({a:e})||"{}"!=A(Object(e))})),"JSON",{stringify:function(e){if(void 0!==e&&!Y(e)){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);return t=r[1],"function"==typeof t&&(n=t),!n&&y(t)||(t=function(e,t){if(n&&(t=n.call(this,e,t)),!Y(t))return t}),r[1]=t,A.apply(I,r)}}}),N[R][j]||n(28)(N[R],j,N[R].valueOf),p(N,"Symbol"),p(Math,"Math",!0),p(r.JSON,"JSON",!0)},function(e,t,n){n(66)("asyncIterator")},function(e,t,n){n(66)("observable")},function(e,t,n){"use strict";var r,o=n(184),i=n(191),a=n(187),u=n(194);r=e.exports=function(e,t){var n,r,a,s,l;return arguments.length<2||"string"!=typeof e?(s=t,t=e,e=null):s=arguments[2],null==e?(n=a=!0,r=!1):(n=u.call(e,"c"),r=u.call(e,"e"),a=u.call(e,"w")),l={value:t,configurable:n,enumerable:r,writable:a},s?o(i(s),l):l},r.gs=function(e,t,n){var r,s,l,c;return"string"!=typeof e?(l=n,n=t,t=e,e=null):l=arguments[3],null==t?t=void 0:a(t)?null==n?n=void 0:a(n)||(l=n,n=void 0):(l=t,t=n=void 0),null==e?(r=!0,s=!1):(r=u.call(e,"c"),s=u.call(e,"e")),c={get:t,set:n,configurable:r,enumerable:s},l?o(i(l),c):c}},function(e,t,n){"use strict";e.exports=n(185)()?Object.assign:n(186)},function(e,t,n){"use strict";e.exports=function(){var e,t=Object.assign;return"function"==typeof t&&(e={foo:"raz"},t(e,{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},function(e,t,n){"use strict";var r=n(188),o=n(193),i=Math.max;e.exports=function(e,t){var n,a,u,s=i(arguments.length,2);for(e=Object(o(e)),u=function(r){try{e[r]=t[r]}catch(e){n||(n=e)}},a=1;a<s;++a)t=arguments[a],r(t).forEach(u);if(void 0!==n)throw n;return e}},function(e,t,n){"use strict";e.exports=function(e){return"function"==typeof e}},function(e,t,n){"use strict";e.exports=n(189)()?Object.keys:n(190)},function(e,t,n){"use strict";e.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}},function(e,t,n){"use strict";var r=Object.keys;e.exports=function(e){return r(null==e?e:Object(e))}},function(e,t,n){"use strict";var r=Array.prototype.forEach,o=Object.create,i=function(e,t){var n;for(n in e)t[n]=e[n]};e.exports=function(e){var t=o(null);return r.call(arguments,function(e){null!=e&&i(Object(e),t)}),t}},function(e,t,n){"use strict";e.exports=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}},function(e,t,n){"use strict";e.exports=function(e){if(null==e)throw new TypeError("Cannot use null or undefined");return e}},function(e,t,n){"use strict";e.exports=n(195)()?String.prototype.contains:n(196)},function(e,t,n){"use strict";var r="razdwatrzy";e.exports=function(){return"function"==typeof r.contains&&(r.contains("dwa")===!0&&r.contains("foo")===!1)}},function(e,t,n){"use strict";var r=String.prototype.indexOf;e.exports=function(e){return r.call(this,e,arguments[1])>-1}},function(e,t,n){"use strict";function r(e){return e.replace(o,function(e,t){return t.toUpperCase()})}var o=/-(.)/g;e.exports=r},function(e,t,n){"use strict";function r(e){return o(e.replace(i,"ms-"))}var o=n(197),i=/^-ms-/;e.exports=r},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(207);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.length;if(Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e?a(!1):void 0,"number"!=typeof t?a(!1):void 0,0===t||t-1 in e?void 0:a(!1),"function"==typeof e.callee?a(!1):void 0,e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),r=0;r<t;r++)n[r]=e[r];return n}function o(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}function i(e){return o(e)?Array.isArray(e)?e.slice():r(e):[e]}var a=n(0);e.exports=i},function(e,t,n){"use strict";function r(e){var t=e.match(c);return t&&t[1].toLowerCase()}function o(e,t){var n=l;l?void 0:s(!1);var o=r(e),i=o&&u(o);if(i){n.innerHTML=i[1]+e+i[2];for(var c=i[0];c--;)n=n.lastChild}else n.innerHTML=e;var p=n.getElementsByTagName("script");p.length&&(t?void 0:s(!1),a(p).forEach(t));for(var d=Array.from(n.childNodes);n.lastChild;)n.removeChild(n.lastChild);return d}var i=n(5),a=n(200),u=n(202),s=n(0),l=i.canUseDOM?document.createElement("div"):null,c=/^\s*<(\w+)/;e.exports=o},function(e,t,n){"use strict";function r(e){return a?void 0:i(!1),d.hasOwnProperty(e)||(e="*"),u.hasOwnProperty(e)||("*"===e?a.innerHTML="<link />":a.innerHTML="<"+e+"></"+e+">",u[e]=!a.firstChild),u[e]?d[e]:null}var o=n(5),i=n(0),a=o.canUseDOM?document.createElement("div"):null,u={},s=[1,'<select multiple="true">',"</select>"],l=[1,"<table>","</table>"],c=[3,"<table><tbody><tr>","</tr></tbody></table>"],p=[1,'<svg xmlns="http://www.w3.org/2000/svg">',"</svg>"],d={"*":[1,"?<div>","</div>"],area:[1,"<map>","</map>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],legend:[1,"<fieldset>","</fieldset>"],param:[1,"<object>","</object>"],tr:[2,"<table><tbody>","</tbody></table>"],optgroup:s,option:s,caption:l,colgroup:l,tbody:l,tfoot:l,thead:l,td:c,th:c},f=["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];f.forEach(function(e){d[e]=p,u[e]=!0}),e.exports=r},function(e,t,n){"use strict";function r(e){return e===window?{x:window.pageXOffset||document.documentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}e.exports=r},function(e,t,n){"use strict";function r(e){return e.replace(o,"-$1").toLowerCase()}var o=/([A-Z])/g;e.exports=r},function(e,t,n){"use strict";function r(e){return o(e).replace(i,"-ms-")}var o=n(204),i=/^ms-/;e.exports=r},function(e,t,n){"use strict";function r(e){return!(!e||!("function"==typeof Node?e instanceof Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=r},function(e,t,n){"use strict";function r(e){return o(e)&&3==e.nodeType}var o=n(206);e.exports=r},function(e,t,n){"use strict";function r(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}e.exports=r},function(e,t,n){e.exports.Dispatcher=n(210)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var o=n(0),i="ID_",a=function(){function e(){r(this,e),this._callbacks={},this._isDispatching=!1,this._isHandled={},this._isPending={},this._lastID=1}return e.prototype.register=function(e){var t=i+this._lastID++;return this._callbacks[t]=e,t},e.prototype.unregister=function(e){this._callbacks[e]?void 0:o(!1),delete this._callbacks[e]},e.prototype.waitFor=function(e){this._isDispatching?void 0:o(!1);for(var t=0;t<e.length;t++){var n=e[t];this._isPending[n]?this._isHandled[n]?void 0:o(!1):(this._callbacks[n]?void 0:o(!1),this._invokeCallback(n))}},e.prototype.dispatch=function(e){this._isDispatching?o(!1):void 0,this._startDispatching(e);try{for(var t in this._callbacks)this._isPending[t]||this._invokeCallback(t)}finally{this._stopDispatching()}},e.prototype.isDispatching=function(){return this._isDispatching},e.prototype._invokeCallback=function(e){this._isPending[e]=!0,this._callbacks[e](this._pendingPayload),this._isHandled[e]=!0},e.prototype._startDispatching=function(e){for(var t in this._callbacks)this._isPending[t]=!1,this._isHandled[t]=!1;this._pendingPayload=e,this._isDispatching=!0},e.prototype._stopDispatching=function(){delete this._pendingPayload,this._isDispatching=!1},e}();e.exports=a},function(e,t,n){function r(e){return e instanceof Array?e.slice():e&&"object"==typeof e?h(new e.constructor,e):e}function o(){function e(n,o){p(!Array.isArray(o),"update(): You provided an invalid spec to update(). The spec may not contain an array except as the value of $set, $push, $unshift, $splice or any custom command allowing an array value."),p("object"==typeof o&&null!==o,"update(): You provided an invalid spec to update(). The spec and every included key path must be plain objects containing one of the following commands: %s.",Object.keys(t).join(", "));var i,a,u=n,s=m(o);for(i=0;i<s.length;i++){var a=s[i];if(d.call(t,a))u=t[a](o[a],u,o,n);else{var l=e(n[a],o[a]);l!==u[a]&&(u===n&&(u=r(n)),u[a]=l)}}return u}var t=h({},v);return e.extend=function(e,n){t[e]=n},e}function i(e,t,n){p(Array.isArray(e),"update(): expected target of %s to be an array; got %s.",n,e);var r=t[n];p(Array.isArray(r),"update(): expected spec of %s to be an array; got %s. Did you forget to wrap your parameter in an array?",n,r)}function a(e,t){p(Array.isArray(e),"Expected $splice target to be an array; got %s",e),u(t.$splice)}function u(e){p(Array.isArray(e),"update(): expected spec of $splice to be an array of arrays; got %s. Did you forget to wrap your parameters in an array?",e)}function s(e){p("function"==typeof e,"update(): expected spec of $apply to be a function; got %s.",e)}function l(e){p(1===Object.keys(e).length,"Cannot have more than one key in an object with $set")}function c(e,t){p(t&&"object"==typeof t,"update(): $merge expects a spec of type 'object'; got %s",t),p(e&&"object"==typeof e,"update(): $merge expects a target of type 'object'; got %s",e)}var p=n(212),d=Object.prototype.hasOwnProperty,f=Array.prototype.splice,h=Object.assign||function(e,t){for(var n=m(t),r=0;r<n.length;r++){var o=n[r];d.call(t,o)&&(e[o]=t[o])}return e},m="function"==typeof Object.getOwnPropertySymbols?function(e){return Object.keys(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.keys(e)},v={$push:function(e,t,n){return i(t,n,"$push"),t.concat(e)},$unshift:function(e,t,n){return i(t,n,"$unshift"),e.concat(t)},$splice:function(e,t,n,o){var i=t===o?r(o):t;return a(i,n),e.forEach(function(e){u(e),f.apply(i,e)}),i},$set:function(e,t,n){return l(n),e},$merge:function(e,t,n,o){var i=t===o?r(o):t;return c(i,e),m(e).forEach(function(t){i[t]=e[t]}),i},$apply:function(e,t){return s(e),e(t)}};e.exports=o(),e.exports.newContext=o},function(e,t,n){"use strict";var r=function(e,t,n,r,o,i,a,u){if(!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 l=[n,r,o,i,a,u],c=0;s=new Error(t.replace(/%s/g,function(){return l[c++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}};e.exports=r},function(e,t,n){"use strict";var r={Properties:{"aria-current":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},DOMAttributeNames:{},DOMPropertyNames:{}};e.exports=r},function(e,t,n){"use strict";var r=n(4),o=n(105),i={focusDOMComponent:function(){o(r.getNodeFromInstance(this))}};e.exports=i},function(e,t,n){"use strict";function r(){var e=window.opera;return"object"==typeof e&&"function"==typeof e.version&&parseInt(e.version(),10)<=12}function o(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function i(e){switch(e){case"topCompositionStart":return T.compositionStart;case"topCompositionEnd":return T.compositionEnd;case"topCompositionUpdate":return T.compositionUpdate}}function a(e,t){return"topKeyDown"===e&&t.keyCode===_}function u(e,t){switch(e){case"topKeyUp":return y.indexOf(t.keyCode)!==-1;case"topKeyDown":return t.keyCode!==_;case"topKeyPress":case"topMouseDown":case"topBlur":return!0;default:return!1}}function s(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}function l(e,t,n,r){
23
+ var o,l;if(b?o=i(e):S?u(e,n)&&(o=T.compositionEnd):a(e,n)&&(o=T.compositionStart),!o)return null;x&&(S||o!==T.compositionStart?o===T.compositionEnd&&S&&(l=S.getData()):S=m.getPooled(r));var c=v.getPooled(o,t,n,r);if(l)c.data=l;else{var p=s(n);null!==p&&(c.data=p)}return f.accumulateTwoPhaseDispatches(c),c}function c(e,t){switch(e){case"topCompositionEnd":return s(t);case"topKeyPress":var n=t.which;return n!==w?null:(P=!0,k);case"topTextInput":var r=t.data;return r===k&&P?null:r;default:return null}}function p(e,t){if(S){if("topCompositionEnd"===e||!b&&u(e,t)){var n=S.getData();return m.release(S),S=null,n}return null}switch(e){case"topPaste":return null;case"topKeyPress":return t.which&&!o(t)?String.fromCharCode(t.which):null;case"topCompositionEnd":return x?null:t.data;default:return null}}function d(e,t,n,r){var o;if(o=E?c(e,n):p(e,n),!o)return null;var i=g.getPooled(T.beforeInput,t,n,r);return i.data=o,f.accumulateTwoPhaseDispatches(i),i}var f=n(39),h=n(5),m=n(221),v=n(258),g=n(261),y=[9,13,27,32],_=229,b=h.canUseDOM&&"CompositionEvent"in window,C=null;h.canUseDOM&&"documentMode"in document&&(C=document.documentMode);var E=h.canUseDOM&&"TextEvent"in window&&!C&&!r(),x=h.canUseDOM&&(!b||C&&C>8&&C<=11),w=32,k=String.fromCharCode(w),T={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},P=!1,S=null,O={eventTypes:T,extractEvents:function(e,t,n,r){return[l(e,t,n,r),d(e,t,n,r)]}};e.exports=O},function(e,t,n){"use strict";var r=n(108),o=n(5),i=(n(7),n(198),n(267)),a=n(205),u=n(208),s=(n(1),u(function(e){return a(e)})),l=!1,c="cssFloat";if(o.canUseDOM){var p=document.createElement("div").style;try{p.font=""}catch(e){l=!0}void 0===document.documentElement.style.cssFloat&&(c="styleFloat")}var d={createMarkupForStyles:function(e,t){var n="";for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];null!=o&&(n+=s(r)+":",n+=i(r,o,t)+";")}return n||null},setValueForStyles:function(e,t,n){var o=e.style;for(var a in t)if(t.hasOwnProperty(a)){var u=i(a,t[a],n);if("float"!==a&&"cssFloat"!==a||(a=c),u)o[a]=u;else{var s=l&&r.shorthandPropertyExpansions[a];if(s)for(var p in s)o[p]="";else o[a]=""}}}};e.exports=d},function(e,t,n){"use strict";function r(e){var t=e.nodeName&&e.nodeName.toLowerCase();return"select"===t||"input"===t&&"file"===e.type}function o(e){var t=x.getPooled(P.change,O,e,w(e));_.accumulateTwoPhaseDispatches(t),E.batchedUpdates(i,t)}function i(e){y.enqueueEvents(e),y.processEventQueue(!1)}function a(e,t){S=e,O=t,S.attachEvent("onchange",o)}function u(){S&&(S.detachEvent("onchange",o),S=null,O=null)}function s(e,t){if("topChange"===e)return t}function l(e,t,n){"topFocus"===e?(u(),a(t,n)):"topBlur"===e&&u()}function c(e,t){S=e,O=t,M=e.value,N=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value"),Object.defineProperty(S,"value",R),S.attachEvent?S.attachEvent("onpropertychange",d):S.addEventListener("propertychange",d,!1)}function p(){S&&(delete S.value,S.detachEvent?S.detachEvent("onpropertychange",d):S.removeEventListener("propertychange",d,!1),S=null,O=null,M=null,N=null)}function d(e){if("value"===e.propertyName){var t=e.srcElement.value;t!==M&&(M=t,o(e))}}function f(e,t){if("topInput"===e)return t}function h(e,t,n){"topFocus"===e?(p(),c(t,n)):"topBlur"===e&&p()}function m(e,t){if(("topSelectionChange"===e||"topKeyUp"===e||"topKeyDown"===e)&&S&&S.value!==M)return M=S.value,O}function v(e){return e.nodeName&&"input"===e.nodeName.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}function g(e,t){if("topClick"===e)return t}var y=n(38),_=n(39),b=n(5),C=n(4),E=n(9),x=n(16),w=n(81),k=n(82),T=n(125),P={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:["topBlur","topChange","topClick","topFocus","topInput","topKeyDown","topKeyUp","topSelectionChange"]}},S=null,O=null,M=null,N=null,I=!1;b.canUseDOM&&(I=k("change")&&(!document.documentMode||document.documentMode>8));var A=!1;b.canUseDOM&&(A=k("input")&&(!document.documentMode||document.documentMode>11));var R={get:function(){return N.get.call(this)},set:function(e){M=""+e,N.set.call(this,e)}},D={eventTypes:P,extractEvents:function(e,t,n,o){var i,a,u=t?C.getNodeFromInstance(t):window;if(r(u)?I?i=s:a=l:T(u)?A?i=f:(i=m,a=h):v(u)&&(i=g),i){var c=i(e,t);if(c){var p=x.getPooled(P.change,c,n,o);return p.type="change",_.accumulateTwoPhaseDispatches(p),p}}a&&a(e,u,t)}};e.exports=D},function(e,t,n){"use strict";var r=n(2),o=n(29),i=n(5),a=n(201),u=n(6),s=(n(0),{dangerouslyReplaceNodeWithMarkup:function(e,t){if(i.canUseDOM?void 0:r("56"),t?void 0:r("57"),"HTML"===e.nodeName?r("58"):void 0,"string"==typeof t){var n=a(t,u)[0];e.parentNode.replaceChild(n,e)}else o.replaceChildWithTree(e,t)}});e.exports=s},function(e,t,n){"use strict";var r=["ResponderEventPlugin","SimpleEventPlugin","TapEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"];e.exports=r},function(e,t,n){"use strict";var r=n(39),o=n(4),i=n(49),a={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},u={eventTypes:a,extractEvents:function(e,t,n,u){if("topMouseOver"===e&&(n.relatedTarget||n.fromElement))return null;if("topMouseOut"!==e&&"topMouseOver"!==e)return null;var s;if(u.window===u)s=u;else{var l=u.ownerDocument;s=l?l.defaultView||l.parentWindow:window}var c,p;if("topMouseOut"===e){c=t;var d=n.relatedTarget||n.toElement;p=d?o.getClosestInstanceFromNode(d):null}else c=null,p=t;if(c===p)return null;var f=null==c?s:o.getNodeFromInstance(c),h=null==p?s:o.getNodeFromInstance(p),m=i.getPooled(a.mouseLeave,c,n,u);m.type="mouseleave",m.target=f,m.relatedTarget=h;var v=i.getPooled(a.mouseEnter,p,n,u);return v.type="mouseenter",v.target=h,v.relatedTarget=f,r.accumulateEnterLeaveDispatches(m,v,c,p),[m,v]}};e.exports=u},function(e,t,n){"use strict";function r(e){this._root=e,this._startText=this.getText(),this._fallbackText=null}var o=n(3),i=n(25),a=n(123);o(r.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[a()]},getData:function(){if(this._fallbackText)return this._fallbackText;var e,t,n=this._startText,r=n.length,o=this.getText(),i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);var u=t>1?1-t:void 0;return this._fallbackText=o.slice(e,u),this._fallbackText}}),i.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";var r=n(30),o=r.injection.MUST_USE_PROPERTY,i=r.injection.HAS_BOOLEAN_VALUE,a=r.injection.HAS_NUMERIC_VALUE,u=r.injection.HAS_POSITIVE_NUMERIC_VALUE,s=r.injection.HAS_OVERLOADED_BOOLEAN_VALUE,l={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+r.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:i,allowTransparency:0,alt:0,as:0,async:i,autoComplete:0,autoPlay:i,capture:i,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:o|i,cite:0,classID:0,className:0,cols:u,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:i,coords:0,crossOrigin:0,data:0,dateTime:0,default:i,defer:i,dir:0,disabled:i,download:s,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:i,formTarget:0,frameBorder:0,headers:0,height:0,hidden:i,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:i,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:o|i,muted:o|i,name:0,nonce:0,noValidate:i,open:i,optimum:0,pattern:0,placeholder:0,playsInline:i,poster:0,preload:0,profile:0,radioGroup:0,readOnly:i,referrerPolicy:0,rel:0,required:i,reversed:i,role:0,rows:u,rowSpan:a,sandbox:0,scope:0,scoped:i,scrolling:0,seamless:i,selected:o|i,shape:0,size:u,sizes:0,span:u,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:a,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:i,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{}};e.exports=l},function(e,t,n){"use strict";(function(t){function r(e,t,n,r){var o=void 0===e[n];null!=t&&o&&(e[n]=i(t,!0))}var o=n(31),i=n(124),a=(n(73),n(83)),u=n(127);n(1);"undefined"!=typeof t&&n.i({NODE_ENV:"production"}),1;var s={instantiateChildren:function(e,t,n,o){if(null==e)return null;var i={};return u(e,r,i),i},updateChildren:function(e,t,n,r,u,s,l,c,p){if(t||e){var d,f;for(d in t)if(t.hasOwnProperty(d)){f=e&&e[d];var h=f&&f._currentElement,m=t[d];if(null!=f&&a(h,m))o.receiveComponent(f,m,u,c),t[d]=f;else{f&&(r[d]=o.getHostNode(f),o.unmountComponent(f,!1));var v=i(m,!0);t[d]=v;var g=o.mountComponent(v,u,s,l,c,p);n.push(g)}}for(d in e)!e.hasOwnProperty(d)||t&&t.hasOwnProperty(d)||(f=e[d],r[d]=o.getHostNode(f),o.unmountComponent(f,!1))}},unmountChildren:function(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];o.unmountComponent(r,t)}}};e.exports=s}).call(t,n(107))},function(e,t,n){"use strict";var r=n(69),o=n(231),i={processChildrenUpdates:o.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkup:r.dangerouslyReplaceNodeWithMarkup};e.exports=i},function(e,t,n){"use strict";function r(e){}function o(e,t){}function i(e){return!(!e.prototype||!e.prototype.isReactComponent)}function a(e){return!(!e.prototype||!e.prototype.isPureReactComponent)}var u=n(2),s=n(3),l=n(32),c=n(75),p=n(17),d=n(76),f=n(40),h=(n(7),n(118)),m=n(31),v=n(37),g=(n(0),n(68)),y=n(83),_=(n(1),{ImpureClass:0,PureClass:1,StatelessFunctional:2});r.prototype.render=function(){var e=f.get(this)._currentElement.type,t=e(this.props,this.context,this.updater);return o(e,t),t};var b=1,C={construct:function(e){this._currentElement=e,this._rootNodeID=0,this._compositeType=null,this._instance=null,this._hostParent=null,this._hostContainerInfo=null,this._updateBatchNumber=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedNodeType=null,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._topLevelWrapper=null,this._pendingCallbacks=null,this._calledComponentWillUnmount=!1},mountComponent:function(e,t,n,s){this._context=s,this._mountOrder=b++,this._hostParent=t,this._hostContainerInfo=n;var c,p=this._currentElement.props,d=this._processContext(s),h=this._currentElement.type,m=e.getUpdateQueue(),g=i(h),y=this._constructComponent(g,p,d,m);g||null!=y&&null!=y.render?a(h)?this._compositeType=_.PureClass:this._compositeType=_.ImpureClass:(c=y,o(h,c),null===y||y===!1||l.isValidElement(y)?void 0:u("105",h.displayName||h.name||"Component"),y=new r(h),this._compositeType=_.StatelessFunctional);y.props=p,y.context=d,y.refs=v,y.updater=m,this._instance=y,f.set(y,this);var C=y.state;void 0===C&&(y.state=C=null),"object"!=typeof C||Array.isArray(C)?u("106",this.getName()||"ReactCompositeComponent"):void 0,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1;var E;return E=y.unstable_handleError?this.performInitialMountWithErrorHandling(c,t,n,e,s):this.performInitialMount(c,t,n,e,s),y.componentDidMount&&e.getReactMountReady().enqueue(y.componentDidMount,y),E},_constructComponent:function(e,t,n,r){return this._constructComponentWithoutOwner(e,t,n,r)},_constructComponentWithoutOwner:function(e,t,n,r){var o=this._currentElement.type;return e?new o(t,n,r):o(t,n,r)},performInitialMountWithErrorHandling:function(e,t,n,r,o){var i,a=r.checkpoint();try{i=this.performInitialMount(e,t,n,r,o)}catch(u){r.rollback(a),this._instance.unstable_handleError(u),this._pendingStateQueue&&(this._instance.state=this._processPendingState(this._instance.props,this._instance.context)),a=r.checkpoint(),this._renderedComponent.unmountComponent(!0),r.rollback(a),i=this.performInitialMount(e,t,n,r,o)}return i},performInitialMount:function(e,t,n,r,o){var i=this._instance,a=0;i.componentWillMount&&(i.componentWillMount(),this._pendingStateQueue&&(i.state=this._processPendingState(i.props,i.context))),void 0===e&&(e=this._renderValidatedComponent());var u=h.getType(e);this._renderedNodeType=u;var s=this._instantiateReactComponent(e,u!==h.EMPTY);this._renderedComponent=s;var l=m.mountComponent(s,r,t,n,this._processChildContext(o),a);return l},getHostNode:function(){return m.getHostNode(this._renderedComponent)},unmountComponent:function(e){if(this._renderedComponent){var t=this._instance;if(t.componentWillUnmount&&!t._calledComponentWillUnmount)if(t._calledComponentWillUnmount=!0,e){var n=this.getName()+".componentWillUnmount()";d.invokeGuardedCallback(n,t.componentWillUnmount.bind(t))}else t.componentWillUnmount();this._renderedComponent&&(m.unmountComponent(this._renderedComponent,e),this._renderedNodeType=null,this._renderedComponent=null,this._instance=null),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._rootNodeID=0,this._topLevelWrapper=null,f.remove(t)}},_maskContext:function(e){var t=this._currentElement.type,n=t.contextTypes;if(!n)return v;var r={};for(var o in n)r[o]=e[o];return r},_processContext:function(e){var t=this._maskContext(e);return t},_processChildContext:function(e){var t,n=this._currentElement.type,r=this._instance;if(r.getChildContext&&(t=r.getChildContext()),t){"object"!=typeof n.childContextTypes?u("107",this.getName()||"ReactCompositeComponent"):void 0;for(var o in t)o in n.childContextTypes?void 0:u("108",this.getName()||"ReactCompositeComponent",o);return s({},e,t)}return e},_checkContextTypes:function(e,t,n){},receiveComponent:function(e,t,n){var r=this._currentElement,o=this._context;this._pendingElement=null,this.updateComponent(t,r,e,o,n)},performUpdateIfNecessary:function(e){null!=this._pendingElement?m.receiveComponent(this,this._pendingElement,e,this._context):null!==this._pendingStateQueue||this._pendingForceUpdate?this.updateComponent(e,this._currentElement,this._currentElement,this._context,this._context):this._updateBatchNumber=null},updateComponent:function(e,t,n,r,o){var i=this._instance;null==i?u("136",this.getName()||"ReactCompositeComponent"):void 0;var a,s=!1;this._context===o?a=i.context:(a=this._processContext(o),s=!0);var l=t.props,c=n.props;t!==n&&(s=!0),s&&i.componentWillReceiveProps&&i.componentWillReceiveProps(c,a);var p=this._processPendingState(c,a),d=!0;this._pendingForceUpdate||(i.shouldComponentUpdate?d=i.shouldComponentUpdate(c,p,a):this._compositeType===_.PureClass&&(d=!g(l,c)||!g(i.state,p))),this._updateBatchNumber=null,d?(this._pendingForceUpdate=!1,this._performComponentUpdate(n,c,p,a,e,o)):(this._currentElement=n,this._context=o,i.props=c,i.state=p,i.context=a)},_processPendingState:function(e,t){var n=this._instance,r=this._pendingStateQueue,o=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!r)return n.state;if(o&&1===r.length)return r[0];for(var i=s({},o?r[0]:n.state),a=o?1:0;a<r.length;a++){var u=r[a];s(i,"function"==typeof u?u.call(n,i,e,t):u)}return i},_performComponentUpdate:function(e,t,n,r,o,i){var a,u,s,l=this._instance,c=Boolean(l.componentDidUpdate);c&&(a=l.props,u=l.state,s=l.context),l.componentWillUpdate&&l.componentWillUpdate(t,n,r),this._currentElement=e,this._context=i,l.props=t,l.state=n,l.context=r,this._updateRenderedComponent(o,i),c&&o.getReactMountReady().enqueue(l.componentDidUpdate.bind(l,a,u,s),l)},_updateRenderedComponent:function(e,t){var n=this._renderedComponent,r=n._currentElement,o=this._renderValidatedComponent(),i=0;if(y(r,o))m.receiveComponent(n,o,e,this._processChildContext(t));else{var a=m.getHostNode(n);m.unmountComponent(n,!1);var u=h.getType(o);this._renderedNodeType=u;var s=this._instantiateReactComponent(o,u!==h.EMPTY);this._renderedComponent=s;var l=m.mountComponent(s,e,this._hostParent,this._hostContainerInfo,this._processChildContext(t),i);this._replaceNodeWithMarkup(a,l,n)}},_replaceNodeWithMarkup:function(e,t,n){c.replaceNodeWithMarkup(e,t,n)},_renderValidatedComponentWithoutOwnerOrContext:function(){var e,t=this._instance;return e=t.render()},_renderValidatedComponent:function(){var e;if(this._compositeType!==_.StatelessFunctional){p.current=this;try{e=this._renderValidatedComponentWithoutOwnerOrContext()}finally{p.current=null}}else e=this._renderValidatedComponentWithoutOwnerOrContext();return null===e||e===!1||l.isValidElement(e)?void 0:u("109",this.getName()||"ReactCompositeComponent"),e},attachRef:function(e,t){var n=this.getPublicInstance();null==n?u("110"):void 0;var r=t.getPublicInstance(),o=n.refs===v?n.refs={}:n.refs;o[e]=r},detachRef:function(e){var t=this.getPublicInstance().refs;delete t[e]},getName:function(){var e=this._currentElement.type,t=this._instance&&this._instance.constructor;return e.displayName||t&&t.displayName||e.name||t&&t.name||null},getPublicInstance:function(){var e=this._instance;return this._compositeType===_.StatelessFunctional?null:e},_instantiateReactComponent:null};e.exports=C},function(e,t,n){"use strict";var r=n(4),o=n(239),i=n(117),a=n(31),u=n(9),s=n(252),l=n(268),c=n(122),p=n(276);n(1);o.inject();var d={findDOMNode:l,render:i.render,unmountComponentAtNode:i.unmountComponentAtNode,version:s,unstable_batchedUpdates:u.batchedUpdates,unstable_renderSubtreeIntoContainer:p};"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({ComponentTree:{getClosestInstanceFromNode:r.getClosestInstanceFromNode,getNodeFromInstance:function(e){return e._renderedComponent&&(e=c(e)),e?r.getNodeFromInstance(e):null}},Mount:i,Reconciler:a});e.exports=d},function(e,t,n){"use strict";function r(e){if(e){var t=e._currentElement._owner||null;if(t){var n=t.getName();if(n)return" This DOM node was rendered by `"+n+"`."}}return""}function o(e,t){t&&($[e._tag]&&(null!=t.children||null!=t.dangerouslySetInnerHTML?m("137",e._tag,e._currentElement._owner?" Check the render method of "+e._currentElement._owner.getName()+".":""):void 0),null!=t.dangerouslySetInnerHTML&&(null!=t.children?m("60"):void 0,"object"==typeof t.dangerouslySetInnerHTML&&W in t.dangerouslySetInnerHTML?void 0:m("61")),null!=t.style&&"object"!=typeof t.style?m("62",r(e)):void 0)}function i(e,t,n,r){if(!(r instanceof A)){var o=e._hostContainerInfo,i=o._node&&o._node.nodeType===q,u=i?o._node:o._ownerDocument;U(t,u),r.getReactMountReady().enqueue(a,{inst:e,registrationName:t,listener:n})}}function a(){var e=this;x.putListener(e.inst,e.registrationName,e.listener)}function u(){var e=this;S.postMountWrapper(e)}function s(){var e=this;N.postMountWrapper(e)}function l(){var e=this;O.postMountWrapper(e)}function c(){var e=this;e._rootNodeID?void 0:m("63");var t=L(e);switch(t?void 0:m("64"),e._tag){case"iframe":case"object":e._wrapperState.listeners=[k.trapBubbledEvent("topLoad","load",t)];break;case"video":case"audio":e._wrapperState.listeners=[];for(var n in K)K.hasOwnProperty(n)&&e._wrapperState.listeners.push(k.trapBubbledEvent(n,K[n],t));break;case"source":e._wrapperState.listeners=[k.trapBubbledEvent("topError","error",t)];break;case"img":e._wrapperState.listeners=[k.trapBubbledEvent("topError","error",t),k.trapBubbledEvent("topLoad","load",t)];break;case"form":e._wrapperState.listeners=[k.trapBubbledEvent("topReset","reset",t),k.trapBubbledEvent("topSubmit","submit",t)];break;case"input":case"select":case"textarea":e._wrapperState.listeners=[k.trapBubbledEvent("topInvalid","invalid",t)]}}function p(){M.postUpdateWrapper(this)}function d(e){Q.call(X,e)||(G.test(e)?void 0:m("65",e),X[e]=!0)}function f(e,t){return e.indexOf("-")>=0||null!=t.is}function h(e){var t=e.type;d(t),this._currentElement=e,this._tag=t.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}var m=n(2),v=n(3),g=n(214),y=n(216),_=n(29),b=n(70),C=n(30),E=n(110),x=n(38),w=n(71),k=n(48),T=n(111),P=n(4),S=n(232),O=n(233),M=n(112),N=n(236),I=(n(7),n(245)),A=n(250),R=(n(6),n(51)),D=(n(0),n(82),n(68),n(84),n(1),T),j=x.deleteListener,L=P.getNodeFromInstance,U=k.listenTo,F=w.registrationNameModules,V={string:!0,number:!0},B="style",W="__html",H={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},q=11,K={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"},z={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},Y={listing:!0,pre:!0,textarea:!0},$=v({menuitem:!0},z),G=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,X={},Q={}.hasOwnProperty,J=1;h.displayName="ReactDOMComponent",h.Mixin={mountComponent:function(e,t,n,r){this._rootNodeID=J++,this._domID=n._idCounter++,this._hostParent=t,this._hostContainerInfo=n;var i=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},e.getReactMountReady().enqueue(c,this);break;case"input":S.mountWrapper(this,i,t),i=S.getHostProps(this,i),e.getReactMountReady().enqueue(c,this);break;case"option":O.mountWrapper(this,i,t),i=O.getHostProps(this,i);break;case"select":M.mountWrapper(this,i,t),i=M.getHostProps(this,i),e.getReactMountReady().enqueue(c,this);break;case"textarea":N.mountWrapper(this,i,t),i=N.getHostProps(this,i),e.getReactMountReady().enqueue(c,this)}o(this,i);var a,p;null!=t?(a=t._namespaceURI,p=t._tag):n._tag&&(a=n._namespaceURI,p=n._tag),(null==a||a===b.svg&&"foreignobject"===p)&&(a=b.html),a===b.html&&("svg"===this._tag?a=b.svg:"math"===this._tag&&(a=b.mathml)),this._namespaceURI=a;var d;if(e.useCreateElement){var f,h=n._ownerDocument;if(a===b.html)if("script"===this._tag){var m=h.createElement("div"),v=this._currentElement.type;m.innerHTML="<"+v+"></"+v+">",f=m.removeChild(m.firstChild)}else f=i.is?h.createElement(this._currentElement.type,i.is):h.createElement(this._currentElement.type);else f=h.createElementNS(a,this._currentElement.type);P.precacheNode(this,f),this._flags|=D.hasCachedChildNodes,this._hostParent||E.setAttributeForRoot(f),this._updateDOMProperties(null,i,e);var y=_(f);this._createInitialChildren(e,i,r,y),d=y}else{var C=this._createOpenTagMarkupAndPutListeners(e,i),x=this._createContentMarkup(e,i,r);d=!x&&z[this._tag]?C+"/>":C+">"+x+"</"+this._currentElement.type+">"}switch(this._tag){case"input":e.getReactMountReady().enqueue(u,this),i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"textarea":e.getReactMountReady().enqueue(s,this),i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"select":i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"button":i.autoFocus&&e.getReactMountReady().enqueue(g.focusDOMComponent,this);break;case"option":e.getReactMountReady().enqueue(l,this)}return d},_createOpenTagMarkupAndPutListeners:function(e,t){var n="<"+this._currentElement.type;for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];if(null!=o)if(F.hasOwnProperty(r))o&&i(this,r,o,e);else{r===B&&(o&&(o=this._previousStyleCopy=v({},t.style)),o=y.createMarkupForStyles(o,this));var a=null;null!=this._tag&&f(this._tag,t)?H.hasOwnProperty(r)||(a=E.createMarkupForCustomAttribute(r,o)):a=E.createMarkupForProperty(r,o),a&&(n+=" "+a)}}return e.renderToStaticMarkup?n:(this._hostParent||(n+=" "+E.createMarkupForRoot()),n+=" "+E.createMarkupForID(this._domID))},_createContentMarkup:function(e,t,n){var r="",o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&(r=o.__html);else{var i=V[typeof t.children]?t.children:null,a=null!=i?null:t.children;if(null!=i)r=R(i);else if(null!=a){var u=this.mountChildren(a,e,n);r=u.join("")}}return Y[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(e,t,n,r){var o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&_.queueHTML(r,o.__html);else{var i=V[typeof t.children]?t.children:null,a=null!=i?null:t.children;if(null!=i)""!==i&&_.queueText(r,i);else if(null!=a)for(var u=this.mountChildren(a,e,n),s=0;s<u.length;s++)_.queueChild(r,u[s])}},receiveComponent:function(e,t,n){var r=this._currentElement;this._currentElement=e,this.updateComponent(t,r,e,n)},updateComponent:function(e,t,n,r){var i=t.props,a=this._currentElement.props;switch(this._tag){case"input":i=S.getHostProps(this,i),a=S.getHostProps(this,a);break;case"option":i=O.getHostProps(this,i),a=O.getHostProps(this,a);break;case"select":i=M.getHostProps(this,i),a=M.getHostProps(this,a);break;case"textarea":i=N.getHostProps(this,i),a=N.getHostProps(this,a)}switch(o(this,a),this._updateDOMProperties(i,a,e),this._updateDOMChildren(i,a,e,r),this._tag){case"input":S.updateWrapper(this);break;case"textarea":N.updateWrapper(this);break;case"select":e.getReactMountReady().enqueue(p,this)}},_updateDOMProperties:function(e,t,n){var r,o,a;for(r in e)if(!t.hasOwnProperty(r)&&e.hasOwnProperty(r)&&null!=e[r])if(r===B){var u=this._previousStyleCopy;for(o in u)u.hasOwnProperty(o)&&(a=a||{},a[o]="");this._previousStyleCopy=null}else F.hasOwnProperty(r)?e[r]&&j(this,r):f(this._tag,e)?H.hasOwnProperty(r)||E.deleteValueForAttribute(L(this),r):(C.properties[r]||C.isCustomAttribute(r))&&E.deleteValueForProperty(L(this),r);for(r in t){var s=t[r],l=r===B?this._previousStyleCopy:null!=e?e[r]:void 0;if(t.hasOwnProperty(r)&&s!==l&&(null!=s||null!=l))if(r===B)if(s?s=this._previousStyleCopy=v({},s):this._previousStyleCopy=null,l){for(o in l)!l.hasOwnProperty(o)||s&&s.hasOwnProperty(o)||(a=a||{},a[o]="");for(o in s)s.hasOwnProperty(o)&&l[o]!==s[o]&&(a=a||{},a[o]=s[o])}else a=s;else if(F.hasOwnProperty(r))s?i(this,r,s,n):l&&j(this,r);else if(f(this._tag,t))H.hasOwnProperty(r)||E.setValueForAttribute(L(this),r,s);else if(C.properties[r]||C.isCustomAttribute(r)){var c=L(this);null!=s?E.setValueForProperty(c,r,s):E.deleteValueForProperty(c,r)}}a&&y.setValueForStyles(L(this),a,this)},_updateDOMChildren:function(e,t,n,r){var o=V[typeof e.children]?e.children:null,i=V[typeof t.children]?t.children:null,a=e.dangerouslySetInnerHTML&&e.dangerouslySetInnerHTML.__html,u=t.dangerouslySetInnerHTML&&t.dangerouslySetInnerHTML.__html,s=null!=o?null:e.children,l=null!=i?null:t.children,c=null!=o||null!=a,p=null!=i||null!=u;null!=s&&null==l?this.updateChildren(null,n,r):c&&!p&&this.updateTextContent(""),null!=i?o!==i&&this.updateTextContent(""+i):null!=u?a!==u&&this.updateMarkup(""+u):null!=l&&this.updateChildren(l,n,r)},getHostNode:function(){return L(this)},unmountComponent:function(e){switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":var t=this._wrapperState.listeners;if(t)for(var n=0;n<t.length;n++)t[n].remove();break;case"html":case"head":case"body":m("66",this._tag)}this.unmountChildren(e),P.uncacheNode(this),x.deleteAllListeners(this),this._rootNodeID=0,this._domID=0,this._wrapperState=null},getPublicInstance:function(){return L(this)}},v(h.prototype,h.Mixin,I.Mixin),e.exports=h},function(e,t,n){"use strict";function r(e,t){var n={_topLevelWrapper:e,_idCounter:1,_ownerDocument:t?t.nodeType===o?t:t.ownerDocument:null,_node:t,_tag:t?t.nodeName.toLowerCase():null,_namespaceURI:t?t.namespaceURI:null};return n}var o=(n(84),9);e.exports=r},function(e,t,n){"use strict";var r=n(3),o=n(29),i=n(4),a=function(e){this._currentElement=null,this._hostNode=null,this._hostParent=null,this._hostContainerInfo=null,this._domID=0};r(a.prototype,{mountComponent:function(e,t,n,r){var a=n._idCounter++;this._domID=a,this._hostParent=t,this._hostContainerInfo=n;var u=" react-empty: "+this._domID+" ";if(e.useCreateElement){var s=n._ownerDocument,l=s.createComment(u);return i.precacheNode(this,l),o(l)}return e.renderToStaticMarkup?"":"<!--"+u+"-->"},receiveComponent:function(){},getHostNode:function(){return i.getNodeFromInstance(this)},unmountComponent:function(){i.uncacheNode(this)}}),e.exports=a},function(e,t,n){"use strict";var r={useCreateElement:!0,useFiber:!1};e.exports=r},function(e,t,n){"use strict";var r=n(69),o=n(4),i={dangerouslyProcessChildrenUpdates:function(e,t){var n=o.getNodeFromInstance(e);r.processUpdates(n,t)}};e.exports=i},function(e,t,n){"use strict";function r(){this._rootNodeID&&p.updateWrapper(this)}function o(e){var t=this._currentElement.props,n=s.executeOnChange(t,e);c.asap(r,this);var o=t.name;if("radio"===t.type&&null!=o){for(var a=l.getNodeFromInstance(this),u=a;u.parentNode;)u=u.parentNode;for(var p=u.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),d=0;d<p.length;d++){var f=p[d];if(f!==a&&f.form===a.form){var h=l.getInstanceFromNode(f);h?void 0:i("90"),c.asap(r,h)}}}return n}var i=n(2),a=n(3),u=n(110),s=n(74),l=n(4),c=n(9),p=(n(0),n(1),{getHostProps:function(e,t){var n=s.getValue(t),r=s.getChecked(t),o=a({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,onChange:e._wrapperState.onChange});return o},mountWrapper:function(e,t){var n=t.defaultValue;e._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:null!=t.value?t.value:n,listeners:null,onChange:o.bind(e)}},updateWrapper:function(e){var t=e._currentElement.props,n=t.checked;null!=n&&u.setValueForProperty(l.getNodeFromInstance(e),"checked",n||!1);var r=l.getNodeFromInstance(e),o=s.getValue(t);if(null!=o){var i=""+o;i!==r.value&&(r.value=i)}else null==t.value&&null!=t.defaultValue&&r.defaultValue!==""+t.defaultValue&&(r.defaultValue=""+t.defaultValue),null==t.checked&&null!=t.defaultChecked&&(r.defaultChecked=!!t.defaultChecked)},postMountWrapper:function(e){var t=e._currentElement.props,n=l.getNodeFromInstance(e);switch(t.type){case"submit":case"reset":break;case"color":case"date":case"datetime":case"datetime-local":case"month":case"time":case"week":n.value="",n.value=n.defaultValue;break;default:n.value=n.value}var r=n.name;""!==r&&(n.name=""),n.defaultChecked=!n.defaultChecked,n.defaultChecked=!n.defaultChecked,""!==r&&(n.name=r)}});e.exports=p},function(e,t,n){"use strict";function r(e){var t="";return i.Children.forEach(e,function(e){null!=e&&("string"==typeof e||"number"==typeof e?t+=e:s||(s=!0))}),t}var o=n(3),i=n(32),a=n(4),u=n(112),s=(n(1),!1),l={mountWrapper:function(e,t,n){var o=null;if(null!=n){var i=n;"optgroup"===i._tag&&(i=i._hostParent),null!=i&&"select"===i._tag&&(o=u.getSelectValueContext(i));
24
+ }var a=null;if(null!=o){var s;if(s=null!=t.value?t.value+"":r(t.children),a=!1,Array.isArray(o)){for(var l=0;l<o.length;l++)if(""+o[l]===s){a=!0;break}}else a=""+o===s}e._wrapperState={selected:a}},postMountWrapper:function(e){var t=e._currentElement.props;if(null!=t.value){var n=a.getNodeFromInstance(e);n.setAttribute("value",t.value)}},getHostProps:function(e,t){var n=o({selected:void 0,children:void 0},t);null!=e._wrapperState.selected&&(n.selected=e._wrapperState.selected);var i=r(t.children);return i&&(n.children=i),n}};e.exports=l},function(e,t,n){"use strict";function r(e,t,n,r){return e===n&&t===r}function o(e){var t=document.selection,n=t.createRange(),r=n.text.length,o=n.duplicate();o.moveToElementText(e),o.setEndPoint("EndToStart",n);var i=o.text.length,a=i+r;return{start:i,end:a}}function i(e){var t=window.getSelection&&window.getSelection();if(!t||0===t.rangeCount)return null;var n=t.anchorNode,o=t.anchorOffset,i=t.focusNode,a=t.focusOffset,u=t.getRangeAt(0);try{u.startContainer.nodeType,u.endContainer.nodeType}catch(e){return null}var s=r(t.anchorNode,t.anchorOffset,t.focusNode,t.focusOffset),l=s?0:u.toString().length,c=u.cloneRange();c.selectNodeContents(e),c.setEnd(u.startContainer,u.startOffset);var p=r(c.startContainer,c.startOffset,c.endContainer,c.endOffset),d=p?0:c.toString().length,f=d+l,h=document.createRange();h.setStart(n,o),h.setEnd(i,a);var m=h.collapsed;return{start:m?f:d,end:m?d:f}}function a(e,t){var n,r,o=document.selection.createRange().duplicate();void 0===t.end?(n=t.start,r=n):t.start>t.end?(n=t.end,r=t.start):(n=t.start,r=t.end),o.moveToElementText(e),o.moveStart("character",n),o.setEndPoint("EndToStart",o),o.moveEnd("character",r-n),o.select()}function u(e,t){if(window.getSelection){var n=window.getSelection(),r=e[c()].length,o=Math.min(t.start,r),i=void 0===t.end?o:Math.min(t.end,r);if(!n.extend&&o>i){var a=i;i=o,o=a}var u=l(e,o),s=l(e,i);if(u&&s){var p=document.createRange();p.setStart(u.node,u.offset),n.removeAllRanges(),o>i?(n.addRange(p),n.extend(s.node,s.offset)):(p.setEnd(s.node,s.offset),n.addRange(p))}}}var s=n(5),l=n(273),c=n(123),p=s.canUseDOM&&"selection"in document&&!("getSelection"in window),d={getOffsets:p?o:i,setOffsets:p?a:u};e.exports=d},function(e,t,n){"use strict";var r=n(2),o=n(3),i=n(69),a=n(29),u=n(4),s=n(51),l=(n(0),n(84),function(e){this._currentElement=e,this._stringText=""+e,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});o(l.prototype,{mountComponent:function(e,t,n,r){var o=n._idCounter++,i=" react-text: "+o+" ",l=" /react-text ";if(this._domID=o,this._hostParent=t,e.useCreateElement){var c=n._ownerDocument,p=c.createComment(i),d=c.createComment(l),f=a(c.createDocumentFragment());return a.queueChild(f,a(p)),this._stringText&&a.queueChild(f,a(c.createTextNode(this._stringText))),a.queueChild(f,a(d)),u.precacheNode(this,p),this._closingComment=d,f}var h=s(this._stringText);return e.renderToStaticMarkup?h:"<!--"+i+"-->"+h+"<!--"+l+"-->"},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();i.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var e=this._commentNodes;if(e)return e;if(!this._closingComment)for(var t=u.getNodeFromInstance(this),n=t.nextSibling;;){if(null==n?r("67",this._domID):void 0,8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return e=[this._hostNode,this._closingComment],this._commentNodes=e,e},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,u.uncacheNode(this)}}),e.exports=l},function(e,t,n){"use strict";function r(){this._rootNodeID&&c.updateWrapper(this)}function o(e){var t=this._currentElement.props,n=u.executeOnChange(t,e);return l.asap(r,this),n}var i=n(2),a=n(3),u=n(74),s=n(4),l=n(9),c=(n(0),n(1),{getHostProps:function(e,t){null!=t.dangerouslySetInnerHTML?i("91"):void 0;var n=a({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue,onChange:e._wrapperState.onChange});return n},mountWrapper:function(e,t){var n=u.getValue(t),r=n;if(null==n){var a=t.defaultValue,s=t.children;null!=s&&(null!=a?i("92"):void 0,Array.isArray(s)&&(s.length<=1?void 0:i("93"),s=s[0]),a=""+s),null==a&&(a=""),r=a}e._wrapperState={initialValue:""+r,listeners:null,onChange:o.bind(e)}},updateWrapper:function(e){var t=e._currentElement.props,n=s.getNodeFromInstance(e),r=u.getValue(t);if(null!=r){var o=""+r;o!==n.value&&(n.value=o),null==t.defaultValue&&(n.defaultValue=o)}null!=t.defaultValue&&(n.defaultValue=t.defaultValue)},postMountWrapper:function(e){var t=s.getNodeFromInstance(e),n=t.textContent;n===e._wrapperState.initialValue&&(t.value=n)}});e.exports=c},function(e,t,n){"use strict";function r(e,t){"_hostNode"in e?void 0:s("33"),"_hostNode"in t?void 0:s("33");for(var n=0,r=e;r;r=r._hostParent)n++;for(var o=0,i=t;i;i=i._hostParent)o++;for(;n-o>0;)e=e._hostParent,n--;for(;o-n>0;)t=t._hostParent,o--;for(var a=n;a--;){if(e===t)return e;e=e._hostParent,t=t._hostParent}return null}function o(e,t){"_hostNode"in e?void 0:s("35"),"_hostNode"in t?void 0:s("35");for(;t;){if(t===e)return!0;t=t._hostParent}return!1}function i(e){return"_hostNode"in e?void 0:s("36"),e._hostParent}function a(e,t,n){for(var r=[];e;)r.push(e),e=e._hostParent;var o;for(o=r.length;o-- >0;)t(r[o],"captured",n);for(o=0;o<r.length;o++)t(r[o],"bubbled",n)}function u(e,t,n,o,i){for(var a=e&&t?r(e,t):null,u=[];e&&e!==a;)u.push(e),e=e._hostParent;for(var s=[];t&&t!==a;)s.push(t),t=t._hostParent;var l;for(l=0;l<u.length;l++)n(u[l],"bubbled",o);for(l=s.length;l-- >0;)n(s[l],"captured",i)}var s=n(2);n(0);e.exports={isAncestor:o,getLowestCommonAncestor:r,getParentInstance:i,traverseTwoPhase:a,traverseEnterLeave:u}},function(e,t,n){"use strict";function r(){this.reinitializeTransaction()}var o=n(3),i=n(9),a=n(50),u=n(6),s={initialize:u,close:function(){d.isBatchingUpdates=!1}},l={initialize:u,close:i.flushBatchedUpdates.bind(i)},c=[l,s];o(r.prototype,a,{getTransactionWrappers:function(){return c}});var p=new r,d={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,o,i){var a=d.isBatchingUpdates;return d.isBatchingUpdates=!0,a?e(t,n,r,o,i):p.perform(e,null,t,n,r,o,i)}};e.exports=d},function(e,t,n){"use strict";function r(){x||(x=!0,y.EventEmitter.injectReactEventListener(g),y.EventPluginHub.injectEventPluginOrder(u),y.EventPluginUtils.injectComponentTree(d),y.EventPluginUtils.injectTreeTraversal(h),y.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:E,EnterLeaveEventPlugin:s,ChangeEventPlugin:a,SelectEventPlugin:C,BeforeInputEventPlugin:i}),y.HostComponent.injectGenericComponentClass(p),y.HostComponent.injectTextComponentClass(m),y.DOMProperty.injectDOMPropertyConfig(o),y.DOMProperty.injectDOMPropertyConfig(l),y.DOMProperty.injectDOMPropertyConfig(b),y.EmptyComponent.injectEmptyComponentFactory(function(e){return new f(e)}),y.Updates.injectReconcileTransaction(_),y.Updates.injectBatchingStrategy(v),y.Component.injectEnvironment(c))}var o=n(213),i=n(215),a=n(217),u=n(219),s=n(220),l=n(222),c=n(224),p=n(227),d=n(4),f=n(229),h=n(237),m=n(235),v=n(238),g=n(242),y=n(243),_=n(248),b=n(253),C=n(254),E=n(255),x=!1;e.exports={inject:r}},function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=r},function(e,t,n){"use strict";function r(e){o.enqueueEvents(e),o.processEventQueue(!1)}var o=n(38),i={handleTopLevel:function(e,t,n,i){var a=o.extractEvents(e,t,n,i);r(a)}};e.exports=i},function(e,t,n){"use strict";function r(e){for(;e._hostParent;)e=e._hostParent;var t=p.getNodeFromInstance(e),n=t.parentNode;return p.getClosestInstanceFromNode(n)}function o(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function i(e){var t=f(e.nativeEvent),n=p.getClosestInstanceFromNode(t),o=n;do e.ancestors.push(o),o=o&&r(o);while(o);for(var i=0;i<e.ancestors.length;i++)n=e.ancestors[i],m._handleTopLevel(e.topLevelType,n,e.nativeEvent,f(e.nativeEvent))}function a(e){var t=h(window);e(t)}var u=n(3),s=n(104),l=n(5),c=n(25),p=n(4),d=n(9),f=n(81),h=n(203);u(o.prototype,{destructor:function(){this.topLevelType=null,this.nativeEvent=null,this.ancestors.length=0}}),c.addPoolingTo(o,c.twoArgumentPooler);var m={_enabled:!0,_handleTopLevel:null,WINDOW_HANDLE:l.canUseDOM?window:null,setHandleTopLevel:function(e){m._handleTopLevel=e},setEnabled:function(e){m._enabled=!!e},isEnabled:function(){return m._enabled},trapBubbledEvent:function(e,t,n){return n?s.listen(n,t,m.dispatchEvent.bind(null,e)):null},trapCapturedEvent:function(e,t,n){return n?s.capture(n,t,m.dispatchEvent.bind(null,e)):null},monitorScrollValue:function(e){var t=a.bind(null,e);s.listen(window,"scroll",t)},dispatchEvent:function(e,t){if(m._enabled){var n=o.getPooled(e,t);try{d.batchedUpdates(i,n)}finally{o.release(n)}}}};e.exports=m},function(e,t,n){"use strict";var r=n(30),o=n(38),i=n(72),a=n(75),u=n(113),s=n(48),l=n(115),c=n(9),p={Component:a.injection,DOMProperty:r.injection,EmptyComponent:u.injection,EventPluginHub:o.injection,EventPluginUtils:i.injection,EventEmitter:s.injection,HostComponent:l.injection,Updates:c.injection};e.exports=p},function(e,t,n){"use strict";var r=n(266),o=/\/?>/,i=/^<\!\-\-/,a={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return i.test(e)?e:e.replace(o," "+a.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(a.CHECKSUM_ATTR_NAME);n=n&&parseInt(n,10);var o=r(e);return o===n}};e.exports=a},function(e,t,n){"use strict";function r(e,t,n){return{type:"INSERT_MARKUP",content:e,fromIndex:null,fromNode:null,toIndex:n,afterNode:t}}function o(e,t,n){return{type:"MOVE_EXISTING",content:null,fromIndex:e._mountIndex,fromNode:d.getHostNode(e),toIndex:n,afterNode:t}}function i(e,t){return{type:"REMOVE_NODE",content:null,fromIndex:e._mountIndex,fromNode:t,toIndex:null,afterNode:null}}function a(e){return{type:"SET_MARKUP",content:e,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function u(e){return{type:"TEXT_CONTENT",content:e,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function s(e,t){return t&&(e=e||[],e.push(t)),e}function l(e,t){p.processChildrenUpdates(e,t)}var c=n(2),p=n(75),d=(n(40),n(7),n(17),n(31)),f=n(223),h=(n(6),n(269)),m=(n(0),{Mixin:{_reconcilerInstantiateChildren:function(e,t,n){return f.instantiateChildren(e,t,n)},_reconcilerUpdateChildren:function(e,t,n,r,o,i){var a,u=0;return a=h(t,u),f.updateChildren(e,a,n,r,o,this,this._hostContainerInfo,i,u),a},mountChildren:function(e,t,n){var r=this._reconcilerInstantiateChildren(e,t,n);this._renderedChildren=r;var o=[],i=0;for(var a in r)if(r.hasOwnProperty(a)){var u=r[a],s=0,l=d.mountComponent(u,t,this,this._hostContainerInfo,n,s);u._mountIndex=i++,o.push(l)}return o},updateTextContent:function(e){var t=this._renderedChildren;f.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&c("118");var r=[u(e)];l(this,r)},updateMarkup:function(e){var t=this._renderedChildren;f.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&c("118");var r=[a(e)];l(this,r)},updateChildren:function(e,t,n){this._updateChildren(e,t,n)},_updateChildren:function(e,t,n){var r=this._renderedChildren,o={},i=[],a=this._reconcilerUpdateChildren(r,e,i,o,t,n);if(a||r){var u,c=null,p=0,f=0,h=0,m=null;for(u in a)if(a.hasOwnProperty(u)){var v=r&&r[u],g=a[u];v===g?(c=s(c,this.moveChild(v,m,p,f)),f=Math.max(v._mountIndex,f),v._mountIndex=p):(v&&(f=Math.max(v._mountIndex,f)),c=s(c,this._mountChildAtIndex(g,i[h],m,p,t,n)),h++),p++,m=d.getHostNode(g)}for(u in o)o.hasOwnProperty(u)&&(c=s(c,this._unmountChild(r[u],o[u])));c&&l(this,c),this._renderedChildren=a}},unmountChildren:function(e){var t=this._renderedChildren;f.unmountChildren(t,e),this._renderedChildren=null},moveChild:function(e,t,n,r){if(e._mountIndex<r)return o(e,t,n)},createChild:function(e,t,n){return r(n,t,e._mountIndex)},removeChild:function(e,t){return i(e,t)},_mountChildAtIndex:function(e,t,n,r,o,i){return e._mountIndex=r,this.createChild(e,n,t)},_unmountChild:function(e,t){var n=this.removeChild(e,t);return e._mountIndex=null,n}}});e.exports=m},function(e,t,n){"use strict";function r(e){return!(!e||"function"!=typeof e.attachRef||"function"!=typeof e.detachRef)}var o=n(2),i=(n(0),{addComponentAsRefTo:function(e,t,n){r(n)?void 0:o("119"),n.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,n){r(n)?void 0:o("120");var i=n.getPublicInstance();i&&i.refs[t]===e.getPublicInstance()&&n.detachRef(t)}});e.exports=i},function(e,t,n){"use strict";var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=r},function(e,t,n){"use strict";function r(e){this.reinitializeTransaction(),this.renderToStaticMarkup=!1,this.reactMountReady=i.getPooled(null),this.useCreateElement=e}var o=n(3),i=n(109),a=n(25),u=n(48),s=n(116),l=(n(7),n(50)),c=n(77),p={initialize:s.getSelectionInformation,close:s.restoreSelection},d={initialize:function(){var e=u.isEnabled();return u.setEnabled(!1),e},close:function(e){u.setEnabled(e)}},f={initialize:function(){this.reactMountReady.reset()},close:function(){this.reactMountReady.notifyAll()}},h=[p,d,f],m={getTransactionWrappers:function(){return h},getReactMountReady:function(){return this.reactMountReady},getUpdateQueue:function(){return c},checkpoint:function(){return this.reactMountReady.checkpoint()},rollback:function(e){this.reactMountReady.rollback(e)},destructor:function(){i.release(this.reactMountReady),this.reactMountReady=null}};o(r.prototype,l,m),a.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";function r(e,t,n){"function"==typeof e?e(t.getPublicInstance()):i.addComponentAsRefTo(t,e,n)}function o(e,t,n){"function"==typeof e?e(null):i.removeComponentAsRefFrom(t,e,n)}var i=n(246),a={};a.attachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&r(n,e,t._owner)}},a.shouldUpdateRefs=function(e,t){var n=null,r=null;null!==e&&"object"==typeof e&&(n=e.ref,r=e._owner);var o=null,i=null;return null!==t&&"object"==typeof t&&(o=t.ref,i=t._owner),n!==o||"string"==typeof o&&i!==r},a.detachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&o(n,e,t._owner)}},e.exports=a},function(e,t,n){"use strict";function r(e){this.reinitializeTransaction(),this.renderToStaticMarkup=e,this.useCreateElement=!1,this.updateQueue=new u(this)}var o=n(3),i=n(25),a=n(50),u=(n(7),n(251)),s=[],l={enqueue:function(){}},c={getTransactionWrappers:function(){return s},getReactMountReady:function(){return l},getUpdateQueue:function(){return this.updateQueue},destructor:function(){},checkpoint:function(){},rollback:function(){}};o(r.prototype,a,c),i.addPoolingTo(r),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(e,t){}var i=n(77),a=(n(1),function(){function e(t){r(this,e),this.transaction=t}return e.prototype.isMounted=function(e){return!1},e.prototype.enqueueCallback=function(e,t,n){this.transaction.isInTransaction()&&i.enqueueCallback(e,t,n)},e.prototype.enqueueForceUpdate=function(e){this.transaction.isInTransaction()?i.enqueueForceUpdate(e):o(e,"forceUpdate")},e.prototype.enqueueReplaceState=function(e,t){this.transaction.isInTransaction()?i.enqueueReplaceState(e,t):o(e,"replaceState")},e.prototype.enqueueSetState=function(e,t){this.transaction.isInTransaction()?i.enqueueSetState(e,t):o(e,"setState")},e}());e.exports=a},function(e,t,n){"use strict";e.exports="15.4.2"},function(e,t,n){"use strict";var r={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},o={accentHeight:"accent-height",accumulate:0,additive:0,alignmentBaseline:"alignment-baseline",allowReorder:"allowReorder",alphabetic:0,amplitude:0,arabicForm:"arabic-form",ascent:0,attributeName:"attributeName",attributeType:"attributeType",autoReverse:"autoReverse",azimuth:0,baseFrequency:"baseFrequency",baseProfile:"baseProfile",baselineShift:"baseline-shift",bbox:0,begin:0,bias:0,by:0,calcMode:"calcMode",capHeight:"cap-height",clip:0,clipPath:"clip-path",clipRule:"clip-rule",clipPathUnits:"clipPathUnits",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",contentScriptType:"contentScriptType",contentStyleType:"contentStyleType",cursor:0,cx:0,cy:0,d:0,decelerate:0,descent:0,diffuseConstant:"diffuseConstant",direction:0,display:0,divisor:0,dominantBaseline:"dominant-baseline",dur:0,dx:0,dy:0,edgeMode:"edgeMode",elevation:0,enableBackground:"enable-background",end:0,exponent:0,externalResourcesRequired:"externalResourcesRequired",fill:0,fillOpacity:"fill-opacity",fillRule:"fill-rule",filter:0,filterRes:"filterRes",filterUnits:"filterUnits",floodColor:"flood-color",floodOpacity:"flood-opacity",focusable:0,fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",glyphRef:"glyphRef",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",hanging:0,horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",ideographic:0,imageRendering:"image-rendering",in:0,in2:0,intercept:0,k:0,k1:0,k2:0,k3:0,k4:0,kernelMatrix:"kernelMatrix",kernelUnitLength:"kernelUnitLength",kerning:0,keyPoints:"keyPoints",keySplines:"keySplines",keyTimes:"keyTimes",lengthAdjust:"lengthAdjust",letterSpacing:"letter-spacing",lightingColor:"lighting-color",limitingConeAngle:"limitingConeAngle",local:0,markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",markerHeight:"markerHeight",markerUnits:"markerUnits",markerWidth:"markerWidth",mask:0,maskContentUnits:"maskContentUnits",maskUnits:"maskUnits",mathematical:0,mode:0,numOctaves:"numOctaves",offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pathLength:"pathLength",patternContentUnits:"patternContentUnits",patternTransform:"patternTransform",patternUnits:"patternUnits",pointerEvents:"pointer-events",points:0,pointsAtX:"pointsAtX",pointsAtY:"pointsAtY",pointsAtZ:"pointsAtZ",preserveAlpha:"preserveAlpha",preserveAspectRatio:"preserveAspectRatio",primitiveUnits:"primitiveUnits",r:0,radius:0,refX:"refX",refY:"refY",renderingIntent:"rendering-intent",repeatCount:"repeatCount",repeatDur:"repeatDur",requiredExtensions:"requiredExtensions",requiredFeatures:"requiredFeatures",restart:0,result:0,rotate:0,rx:0,ry:0,scale:0,seed:0,shapeRendering:"shape-rendering",slope:0,spacing:0,specularConstant:"specularConstant",specularExponent:"specularExponent",speed:0,spreadMethod:"spreadMethod",startOffset:"startOffset",stdDeviation:"stdDeviation",stemh:0,stemv:0,stitchTiles:"stitchTiles",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",string:0,stroke:0,strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",surfaceScale:"surfaceScale",systemLanguage:"systemLanguage",tableValues:"tableValues",targetX:"targetX",targetY:"targetY",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",textLength:"textLength",to:0,transform:0,u1:0,u2:0,underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicode:0,unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",values:0,vectorEffect:"vector-effect",version:0,vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",viewBox:"viewBox",viewTarget:"viewTarget",visibility:0,widths:0,wordSpacing:"word-spacing",writingMode:"writing-mode",x:0,xHeight:"x-height",x1:0,x2:0,xChannelSelector:"xChannelSelector",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlns:0,xmlnsXlink:"xmlns:xlink",xmlLang:"xml:lang",xmlSpace:"xml:space",y:0,y1:0,y2:0,yChannelSelector:"yChannelSelector",z:0,zoomAndPan:"zoomAndPan"},i={Properties:{},DOMAttributeNamespaces:{xlinkActuate:r.xlink,xlinkArcrole:r.xlink,xlinkHref:r.xlink,xlinkRole:r.xlink,xlinkShow:r.xlink,xlinkTitle:r.xlink,xlinkType:r.xlink,xmlBase:r.xml,xmlLang:r.xml,xmlSpace:r.xml},DOMAttributeNames:{}};Object.keys(o).forEach(function(e){i.Properties[e]=0,o[e]&&(i.DOMAttributeNames[e]=o[e])}),e.exports=i},function(e,t,n){"use strict";function r(e){if("selectionStart"in e&&s.hasSelectionCapabilities(e))return{start:e.selectionStart,end:e.selectionEnd};if(window.getSelection){var t=window.getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function o(e,t){if(y||null==m||m!==c())return null;var n=r(m);if(!g||!d(g,n)){g=n;var o=l.getPooled(h.select,v,e,t);return o.type="select",o.target=m,i.accumulateTwoPhaseDispatches(o),o}return null}var i=n(39),a=n(5),u=n(4),s=n(116),l=n(16),c=n(106),p=n(125),d=n(68),f=a.canUseDOM&&"documentMode"in document&&document.documentMode<=11,h={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:["topBlur","topContextMenu","topFocus","topKeyDown","topKeyUp","topMouseDown","topMouseUp","topSelectionChange"]}},m=null,v=null,g=null,y=!1,_=!1,b={eventTypes:h,extractEvents:function(e,t,n,r){if(!_)return null;var i=t?u.getNodeFromInstance(t):window;switch(e){case"topFocus":(p(i)||"true"===i.contentEditable)&&(m=i,v=t,g=null);break;case"topBlur":m=null,v=null,g=null;break;case"topMouseDown":y=!0;break;case"topContextMenu":case"topMouseUp":return y=!1,o(n,r);case"topSelectionChange":if(f)break;case"topKeyDown":case"topKeyUp":return o(n,r)}return null},didPutListener:function(e,t,n){"onSelect"===t&&(_=!0)}};e.exports=b},function(e,t,n){"use strict";function r(e){return"."+e._rootNodeID}function o(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}var i=n(2),a=n(104),u=n(39),s=n(4),l=n(256),c=n(257),p=n(16),d=n(260),f=n(262),h=n(49),m=n(259),v=n(263),g=n(264),y=n(41),_=n(265),b=n(6),C=n(79),E=(n(0),{}),x={};["abort","animationEnd","animationIteration","animationStart","blur","canPlay","canPlayThrough","click","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","touchCancel","touchEnd","touchMove","touchStart","transitionEnd","volumeChange","waiting","wheel"].forEach(function(e){var t=e[0].toUpperCase()+e.slice(1),n="on"+t,r="top"+t,o={phasedRegistrationNames:{bubbled:n,captured:n+"Capture"},dependencies:[r]};E[e]=o,x[r]=o});var w={},k={eventTypes:E,extractEvents:function(e,t,n,r){var o=x[e];if(!o)return null;var a;switch(e){case"topAbort":case"topCanPlay":case"topCanPlayThrough":case"topDurationChange":case"topEmptied":case"topEncrypted":case"topEnded":case"topError":case"topInput":case"topInvalid":case"topLoad":case"topLoadedData":case"topLoadedMetadata":case"topLoadStart":case"topPause":case"topPlay":case"topPlaying":case"topProgress":case"topRateChange":case"topReset":case"topSeeked":case"topSeeking":case"topStalled":case"topSubmit":case"topSuspend":case"topTimeUpdate":case"topVolumeChange":case"topWaiting":a=p;break;case"topKeyPress":if(0===C(n))return null;case"topKeyDown":case"topKeyUp":a=f;break;case"topBlur":case"topFocus":a=d;break;case"topClick":if(2===n.button)return null;case"topDoubleClick":case"topMouseDown":case"topMouseMove":case"topMouseUp":case"topMouseOut":case"topMouseOver":case"topContextMenu":a=h;break;case"topDrag":case"topDragEnd":case"topDragEnter":case"topDragExit":case"topDragLeave":case"topDragOver":case"topDragStart":case"topDrop":a=m;break;case"topTouchCancel":case"topTouchEnd":case"topTouchMove":case"topTouchStart":a=v;break;case"topAnimationEnd":case"topAnimationIteration":case"topAnimationStart":a=l;break;case"topTransitionEnd":a=g;break;case"topScroll":a=y;break;case"topWheel":a=_;break;case"topCopy":case"topCut":case"topPaste":a=c}a?void 0:i("86",e);var s=a.getPooled(o,t,n,r);return u.accumulateTwoPhaseDispatches(s),s},didPutListener:function(e,t,n){if("onClick"===t&&!o(e._tag)){var i=r(e),u=s.getNodeFromInstance(e);w[i]||(w[i]=a.listen(u,"click",b))}},willDeleteListener:function(e,t){if("onClick"===t&&!o(e._tag)){var n=r(e);w[n].remove(),delete w[n]}}};e.exports=k},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(16),i={animationName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(16),i={clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(16),i={data:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(49),i={dataTransfer:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(41),i={relatedTarget:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(16),i={data:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(41),i=n(79),a=n(270),u=n(80),s={key:a,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:u,charCode:function(e){return"keypress"===e.type?i(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?i(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}};o.augmentClass(r,s),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(41),i=n(80),a={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:i};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(16),i={propertyName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(49),i={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};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e){for(var t=1,n=0,r=0,i=e.length,a=i&-4;r<a;){for(var u=Math.min(r+4096,a);r<u;r+=4)n+=(t+=e.charCodeAt(r))+(t+=e.charCodeAt(r+1))+(t+=e.charCodeAt(r+2))+(t+=e.charCodeAt(r+3));t%=o,n%=o}for(;r<i;r++)n+=t+=e.charCodeAt(r);return t%=o,n%=o,t|n<<16}var o=65521;e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r=null==t||"boolean"==typeof t||""===t;if(r)return"";var o=isNaN(t);if(o||0===t||i.hasOwnProperty(e)&&i[e])return""+t;if("string"==typeof t){t=t.trim()}return t+"px"}var o=n(108),i=(n(1),o.isUnitlessNumber);e.exports=r},function(e,t,n){"use strict";function r(e){if(null==e)return null;if(1===e.nodeType)return e;var t=a.get(e);return t?(t=u(t),t?i.getNodeFromInstance(t):null):void("function"==typeof e.render?o("44"):o("45",Object.keys(e)))}var o=n(2),i=(n(17),n(4)),a=n(40),u=n(122);n(0),n(1);e.exports=r},function(e,t,n){"use strict";(function(t){function r(e,t,n,r){if(e&&"object"==typeof e){var o=e,i=void 0===o[n];i&&null!=t&&(o[n]=t)}}function o(e,t){if(null==e)return e;var n={};return i(e,r,n),n}var i=(n(73),n(127));n(1);"undefined"!=typeof t&&n.i({NODE_ENV:"production"}),1,e.exports=o}).call(t,n(107))},function(e,t,n){"use strict";function r(e){if(e.key){var t=i[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=o(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?a[e.keyCode]||"Unidentified":""}var o=n(79),i={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},a={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"};e.exports=r},function(e,t,n){"use strict";function r(e){var t=e&&(o&&e[o]||e[i]);if("function"==typeof t)return t}var o="function"==typeof Symbol&&Symbol.iterator,i="@@iterator";e.exports=r},function(e,t,n){"use strict";function r(){return o++}var o=1;e.exports=r},function(e,t,n){"use strict";function r(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function o(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function i(e,t){for(var n=r(e),i=0,a=0;n;){if(3===n.nodeType){if(a=i+n.textContent.length,i<=t&&a>=t)return{node:n,offset:t-i};i=a}n=r(o(n))}}e.exports=i},function(e,t,n){"use strict";function r(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 o(e){if(u[e])return u[e];if(!a[e])return e;var t=a[e];for(var n in t)if(t.hasOwnProperty(n)&&n in s)return u[e]=t[n];return""}var i=n(5),a={animationend:r("Animation","AnimationEnd"),animationiteration:r("Animation","AnimationIteration"),animationstart:r("Animation","AnimationStart"),transitionend:r("Transition","TransitionEnd")},u={},s={};i.canUseDOM&&(s=document.createElement("div").style,"AnimationEvent"in window||(delete a.animationend.animation,delete a.animationiteration.animation,delete a.animationstart.animation),"TransitionEvent"in window||delete a.transitionend.transition),e.exports=o},function(e,t,n){"use strict";function r(e){return'"'+o(e)+'"'}var o=n(51);e.exports=r},function(e,t,n){"use strict";var r=n(117);e.exports=r.renderSubtreeIntoContainer},function(e,t,n){"use strict";function r(e){var t=/[=:]/g,n={"=":"=0",":":"=2"},r=(""+e).replace(t,function(e){return n[e]});return"$"+r}function o(e){var t=/(=0|=2)/g,n={"=0":"=","=2":":"},r="."===e[0]&&"$"===e[1]?e.substring(2):e.substring(1);return(""+r).replace(t,function(e){return n[e]})}var i={escape:r,unescape:o};e.exports=i},function(e,t,n){"use strict";var r=n(34),o=(n(0),function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)}),i=function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)},a=function(e,t,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,e,t,n),o}return new r(e,t,n)},u=function(e,t,n,r){var o=this;
25
+ if(o.instancePool.length){var i=o.instancePool.pop();return o.call(i,e,t,n,r),i}return new o(e,t,n,r)},s=function(e){var t=this;e instanceof t?void 0:r("25"),e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},l=10,c=o,p=function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||c,n.poolSize||(n.poolSize=l),n.release=s,n},d={addPoolingTo:p,oneArgumentPooler:o,twoArgumentPooler:i,threeArgumentPooler:a,fourArgumentPooler:u};e.exports=d},function(e,t,n){"use strict";function r(e){return(""+e).replace(b,"$&/")}function o(e,t){this.func=e,this.context=t,this.count=0}function i(e,t,n){var r=e.func,o=e.context;r.call(o,t,e.count++)}function a(e,t,n){if(null==e)return e;var r=o.getPooled(t,n);g(e,i,r),o.release(r)}function u(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function s(e,t,n){var o=e.result,i=e.keyPrefix,a=e.func,u=e.context,s=a.call(u,t,e.count++);Array.isArray(s)?l(s,o,n,v.thatReturnsArgument):null!=s&&(m.isValidElement(s)&&(s=m.cloneAndReplaceKey(s,i+(!s.key||t&&t.key===s.key?"":r(s.key)+"/")+n)),o.push(s))}function l(e,t,n,o,i){var a="";null!=n&&(a=r(n)+"/");var l=u.getPooled(t,a,o,i);g(e,s,l),u.release(l)}function c(e,t,n){if(null==e)return e;var r=[];return l(e,r,null,t,n),r}function p(e,t,n){return null}function d(e,t){return g(e,p,null)}function f(e){var t=[];return l(e,t,null,v.thatReturnsArgument),t}var h=n(278),m=n(33),v=n(6),g=n(287),y=h.twoArgumentPooler,_=h.fourArgumentPooler,b=/\/+/g;o.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},h.addPoolingTo(o,y),u.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},h.addPoolingTo(u,_);var C={forEach:a,map:c,mapIntoWithKeyPrefixInternal:l,count:d,toArray:f};e.exports=C},function(e,t,n){"use strict";function r(e){return e}function o(e,t){var n=b.hasOwnProperty(t)?b[t]:null;E.hasOwnProperty(t)&&("OVERRIDE_BASE"!==n?d("73",t):void 0),e&&("DEFINE_MANY"!==n&&"DEFINE_MANY_MERGED"!==n?d("74",t):void 0)}function i(e,t){if(t){"function"==typeof t?d("75"):void 0,m.isValidElement(t)?d("76"):void 0;var n=e.prototype,r=n.__reactAutoBindPairs;t.hasOwnProperty(y)&&C.mixins(e,t.mixins);for(var i in t)if(t.hasOwnProperty(i)&&i!==y){var a=t[i],u=n.hasOwnProperty(i);if(o(u,i),C.hasOwnProperty(i))C[i](e,a);else{var c=b.hasOwnProperty(i),p="function"==typeof a,f=p&&!c&&!u&&t.autobind!==!1;if(f)r.push(i,a),n[i]=a;else if(u){var h=b[i];!c||"DEFINE_MANY_MERGED"!==h&&"DEFINE_MANY"!==h?d("77",h,i):void 0,"DEFINE_MANY_MERGED"===h?n[i]=s(n[i],a):"DEFINE_MANY"===h&&(n[i]=l(n[i],a))}else n[i]=a}}}else;}function a(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){var o=n in C;o?d("78",n):void 0;var i=n in e;i?d("79",n):void 0,e[n]=r}}}function u(e,t){e&&t&&"object"==typeof e&&"object"==typeof t?void 0:d("80");for(var n in t)t.hasOwnProperty(n)&&(void 0!==e[n]?d("81",n):void 0,e[n]=t[n]);return e}function s(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return u(o,n),u(o,r),o}}function l(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function c(e,t){var n=t.bind(e);return n}function p(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var r=t[n],o=t[n+1];e[r]=c(e,o)}}var d=n(34),f=n(3),h=n(85),m=n(33),v=(n(130),n(86)),g=n(37),y=(n(0),n(1),"mixins"),_=[],b={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},C={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)i(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=f({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=f({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=s(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=f({},e.propTypes,t)},statics:function(e,t){a(e,t)},autobind:function(){}},E={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e),t&&this.updater.enqueueCallback(this,t,"replaceState")},isMounted:function(){return this.updater.isMounted(this)}},x=function(){};f(x.prototype,h.prototype,E);var w={createClass:function(e){var t=r(function(e,n,r){this.__reactAutoBindPairs.length&&p(this),this.props=e,this.context=n,this.refs=g,this.updater=r||v,this.state=null;var o=this.getInitialState?this.getInitialState():null;"object"!=typeof o||Array.isArray(o)?d("82",t.displayName||"ReactCompositeComponent"):void 0,this.state=o});t.prototype=new x,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],_.forEach(i.bind(null,t)),i(t,e),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),t.prototype.render?void 0:d("83");for(var n in b)t.prototype[n]||(t.prototype[n]=null);return t},injection:{injectMixin:function(e){_.push(e)}}};e.exports=w},function(e,t,n){"use strict";var r=n(33),o=r.createFactory,i={a:o("a"),abbr:o("abbr"),address:o("address"),area:o("area"),article:o("article"),aside:o("aside"),audio:o("audio"),b:o("b"),base:o("base"),bdi:o("bdi"),bdo:o("bdo"),big:o("big"),blockquote:o("blockquote"),body:o("body"),br:o("br"),button:o("button"),canvas:o("canvas"),caption:o("caption"),cite:o("cite"),code:o("code"),col:o("col"),colgroup:o("colgroup"),data:o("data"),datalist:o("datalist"),dd:o("dd"),del:o("del"),details:o("details"),dfn:o("dfn"),dialog:o("dialog"),div:o("div"),dl:o("dl"),dt:o("dt"),em:o("em"),embed:o("embed"),fieldset:o("fieldset"),figcaption:o("figcaption"),figure:o("figure"),footer:o("footer"),form:o("form"),h1:o("h1"),h2:o("h2"),h3:o("h3"),h4:o("h4"),h5:o("h5"),h6:o("h6"),head:o("head"),header:o("header"),hgroup:o("hgroup"),hr:o("hr"),html:o("html"),i:o("i"),iframe:o("iframe"),img:o("img"),input:o("input"),ins:o("ins"),kbd:o("kbd"),keygen:o("keygen"),label:o("label"),legend:o("legend"),li:o("li"),link:o("link"),main:o("main"),map:o("map"),mark:o("mark"),menu:o("menu"),menuitem:o("menuitem"),meta:o("meta"),meter:o("meter"),nav:o("nav"),noscript:o("noscript"),object:o("object"),ol:o("ol"),optgroup:o("optgroup"),option:o("option"),output:o("output"),p:o("p"),param:o("param"),picture:o("picture"),pre:o("pre"),progress:o("progress"),q:o("q"),rp:o("rp"),rt:o("rt"),ruby:o("ruby"),s:o("s"),samp:o("samp"),script:o("script"),section:o("section"),select:o("select"),small:o("small"),source:o("source"),span:o("span"),strong:o("strong"),style:o("style"),sub:o("sub"),summary:o("summary"),sup:o("sup"),table:o("table"),tbody:o("tbody"),td:o("td"),textarea:o("textarea"),tfoot:o("tfoot"),th:o("th"),thead:o("thead"),time:o("time"),title:o("title"),tr:o("tr"),track:o("track"),u:o("u"),ul:o("ul"),var:o("var"),video:o("video"),wbr:o("wbr"),circle:o("circle"),clipPath:o("clipPath"),defs:o("defs"),ellipse:o("ellipse"),g:o("g"),image:o("image"),line:o("line"),linearGradient:o("linearGradient"),mask:o("mask"),path:o("path"),pattern:o("pattern"),polygon:o("polygon"),polyline:o("polyline"),radialGradient:o("radialGradient"),rect:o("rect"),stop:o("stop"),svg:o("svg"),text:o("text"),tspan:o("tspan")};e.exports=i},function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function o(e){this.message=e,this.stack=""}function i(e){function t(t,n,r,i,a,u,s){i=i||T,u=u||r;if(null==n[r]){var l=E[a];return t?new o(null===n[r]?"The "+l+" `"+u+"` is marked as required "+("in `"+i+"`, but its value is `null`."):"The "+l+" `"+u+"` is marked as required in "+("`"+i+"`, but its value is `undefined`.")):null}return e(n,r,i,a,u)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function a(e){function t(t,n,r,i,a,u){var s=t[n],l=y(s);if(l!==e){var c=E[i],p=_(s);return new o("Invalid "+c+" `"+a+"` of type "+("`"+p+"` supplied to `"+r+"`, expected ")+("`"+e+"`."))}return null}return i(t)}function u(){return i(w.thatReturns(null))}function s(e){function t(t,n,r,i,a){if("function"!=typeof e)return new o("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var u=t[n];if(!Array.isArray(u)){var s=E[i],l=y(u);return new o("Invalid "+s+" `"+a+"` of type "+("`"+l+"` supplied to `"+r+"`, expected an array."))}for(var c=0;c<u.length;c++){var p=e(u,c,r,i,a+"["+c+"]",x);if(p instanceof Error)return p}return null}return i(t)}function l(){function e(e,t,n,r,i){var a=e[t];if(!C.isValidElement(a)){var u=E[r],s=y(a);return new o("Invalid "+u+" `"+i+"` of type "+("`"+s+"` supplied to `"+n+"`, expected a single ReactElement."))}return null}return i(e)}function c(e){function t(t,n,r,i,a){if(!(t[n]instanceof e)){var u=E[i],s=e.name||T,l=b(t[n]);return new o("Invalid "+u+" `"+a+"` of type "+("`"+l+"` supplied to `"+r+"`, expected ")+("instance of `"+s+"`."))}return null}return i(t)}function p(e){function t(t,n,i,a,u){for(var s=t[n],l=0;l<e.length;l++)if(r(s,e[l]))return null;var c=E[a],p=JSON.stringify(e);return new o("Invalid "+c+" `"+u+"` of value `"+s+"` "+("supplied to `"+i+"`, expected one of "+p+"."))}return Array.isArray(e)?i(t):w.thatReturnsNull}function d(e){function t(t,n,r,i,a){if("function"!=typeof e)return new o("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var u=t[n],s=y(u);if("object"!==s){var l=E[i];return new o("Invalid "+l+" `"+a+"` of type "+("`"+s+"` supplied to `"+r+"`, expected an object."))}for(var c in u)if(u.hasOwnProperty(c)){var p=e(u,c,r,i,a+"."+c,x);if(p instanceof Error)return p}return null}return i(t)}function f(e){function t(t,n,r,i,a){for(var u=0;u<e.length;u++){var s=e[u];if(null==s(t,n,r,i,a,x))return null}var l=E[i];return new o("Invalid "+l+" `"+a+"` supplied to "+("`"+r+"`."))}return Array.isArray(e)?i(t):w.thatReturnsNull}function h(){function e(e,t,n,r,i){if(!v(e[t])){var a=E[r];return new o("Invalid "+a+" `"+i+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return null}return i(e)}function m(e){function t(t,n,r,i,a){var u=t[n],s=y(u);if("object"!==s){var l=E[i];return new o("Invalid "+l+" `"+a+"` of type `"+s+"` "+("supplied to `"+r+"`, expected `object`."))}for(var c in e){var p=e[c];if(p){var d=p(u,c,r,i,a+"."+c,x);if(d)return d}}return null}return i(t)}function v(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(v);if(null===e||C.isValidElement(e))return!0;var t=k(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!v(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!v(o[1]))return!1}return!0;default:return!1}}function g(e,t){return"symbol"===e||("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}function y(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":g(t,e)?"symbol":t}function _(e){var t=y(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function b(e){return e.constructor&&e.constructor.name?e.constructor.name:T}var C=n(33),E=n(130),x=n(283),w=n(6),k=n(132),T=(n(1),"<<anonymous>>"),P={array:a("array"),bool:a("boolean"),func:a("function"),number:a("number"),object:a("object"),string:a("string"),symbol:a("symbol"),any:u(),arrayOf:s,element:l(),instanceOf:c,node:h(),objectOf:d,oneOf:p,oneOfType:f,shape:m};o.prototype=Error.prototype,e.exports=P},function(e,t,n){"use strict";var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=r},function(e,t,n){"use strict";function r(e,t,n){this.props=e,this.context=t,this.refs=s,this.updater=n||u}function o(){}var i=n(3),a=n(85),u=n(86),s=n(37);o.prototype=a.prototype,r.prototype=new o,r.prototype.constructor=r,i(r.prototype,a.prototype),r.prototype.isPureReactComponent=!0,e.exports=r},function(e,t,n){"use strict";e.exports="15.4.2"},function(e,t,n){"use strict";function r(e){return i.isValidElement(e)?void 0:o("143"),e}var o=n(34),i=n(33);n(0);e.exports=r},function(e,t,n){"use strict";function r(e,t){return e&&"object"==typeof e&&null!=e.key?l.escape(e.key):t.toString(36)}function o(e,t,n,i){var d=typeof e;if("undefined"!==d&&"boolean"!==d||(e=null),null===e||"string"===d||"number"===d||"object"===d&&e.$$typeof===u)return n(i,e,""===t?c+r(e,0):t),1;var f,h,m=0,v=""===t?c:t+p;if(Array.isArray(e))for(var g=0;g<e.length;g++)f=e[g],h=v+r(f,g),m+=o(f,h,n,i);else{var y=s(e);if(y){var _,b=y.call(e);if(y!==e.entries)for(var C=0;!(_=b.next()).done;)f=_.value,h=v+r(f,C++),m+=o(f,h,n,i);else for(;!(_=b.next()).done;){var E=_.value;E&&(f=E[1],h=v+l.escape(E[0])+p+r(f,0),m+=o(f,h,n,i))}}else if("object"===d){var x="",w=String(e);a("31","[object Object]"===w?"object with keys {"+Object.keys(e).join(", ")+"}":w,x)}}return m}function i(e,t,n){return null==e?0:o(e,"",t,n)}var a=n(34),u=(n(17),n(129)),s=n(132),l=(n(0),n(277)),c=(n(1),"."),p=":";e.exports=i},function(e,t,n){"use strict";n(42),n(133)}]);
js/index.php CHANGED
File without changes
js/source/dashboard/components/loading.jsx CHANGED
File without changes
js/source/dashboard/components/main.jsx CHANGED
File without changes
js/source/dashboard/components/ratingsnag.jsx CHANGED
File without changes
js/source/dashboard/components/toggleitem.jsx CHANGED
File without changes
js/source/dashboard/components/toggleiteminput.jsx CHANGED
File without changes
js/source/dashboard/components/toggleitemradio.jsx CHANGED
File without changes
js/source/dashboard/components/toggletabs.jsx CHANGED
File without changes
js/source/dashboard/components/togglewrapper.jsx CHANGED
File without changes
js/source/dashboard/components/trackingnag.jsx CHANGED
File without changes
js/source/dashboard/data/EUMActionTypes.jsx CHANGED
File without changes
js/source/dashboard/data/EUMActions.jsx CHANGED
File without changes
js/source/dashboard/data/EUMDispatcher.jsx CHANGED
File without changes
js/source/main.js CHANGED
File without changes
js/source/screenoptions.js CHANGED
File without changes
js/source/sweetalert2.common.js CHANGED
File without changes
js/source/sweetalert2.js CHANGED
File without changes
license.txt CHANGED
File without changes
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: 6.4.0
8
  Requires at least: 4.4
9
  Author URI: https://easyupdatesmanager.com
10
  Contributors: kidsguide, ronalfy
@@ -86,12 +86,6 @@ class MPSUM_Updates_Manager {
86
  private function __construct() {
87
 
88
  spl_autoload_register( array( $this, 'loader' ) );
89
-
90
- // Logging
91
- $options = MPSUM_Updates_Manager::get_options( 'core' );
92
- if ( isset( $options[ 'logs' ] ) && 'on' == $options[ 'logs' ] ) {
93
- MPSUM_Logs::run();
94
- }
95
 
96
  add_action( 'init', array( $this, 'init' ) );
97
  add_action( 'plugins_loaded', array( $this, 'plugins_loaded' ) );
@@ -113,6 +107,12 @@ class MPSUM_Updates_Manager {
113
  public function init() {
114
  /* Localization Code */
115
  load_plugin_textdomain( 'stops-core-theme-and-plugin-updates', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
 
 
 
 
 
 
116
  }
117
 
118
  /**
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: 6.4.4
8
  Requires at least: 4.4
9
  Author URI: https://easyupdatesmanager.com
10
  Contributors: kidsguide, ronalfy
86
  private function __construct() {
87
 
88
  spl_autoload_register( array( $this, 'loader' ) );
 
 
 
 
 
 
89
 
90
  add_action( 'init', array( $this, 'init' ) );
91
  add_action( 'plugins_loaded', array( $this, 'plugins_loaded' ) );
107
  public function init() {
108
  /* Localization Code */
109
  load_plugin_textdomain( 'stops-core-theme-and-plugin-updates', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
110
+
111
+ // Logging
112
+ $options = MPSUM_Updates_Manager::get_options( 'core' );
113
+ if ( isset( $options[ 'logs' ] ) && 'on' == $options[ 'logs' ] ) {
114
+ MPSUM_Logs::run();
115
+ }
116
  }
117
 
118
  /**
readme.md ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Easy Updates Manager
2
+
3
+ Manage all of your WordPress update settings, including individual plugin/theme updates, automatic updates (configurable for individual plugins and themes), and much more.
4
+
5
+ Bonus: Designed for multisite, but works with single-site as well.
6
+
7
+ The latest, stable version of this plugin may be found on WordPress.org: <a href="https://wordpress.org/plugins/stops-core-theme-and-plugin-updates/">Easy Updates Manager</a>
8
+
9
+ Check out <a href="https://easyupdatesmanager.com">our website</a>.
10
+
11
+ For a better understanding of what Easy Updates Manager does, check out the <a href="https://github.com/disableupdatespluginproject/Easy-Updates-Manager/wiki">wiki</a>.
12
+
13
+ See <a href="https://github.com/disableupdatespluginproject/Easy-Updates-Manager/issues">outstanding issues.</a>
14
+
15
+ ##### Developers, please use the dev branch for any pull requests.
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === Easy Updates Manager ===
2
  Contributors: 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.4
5
- Tested up to: 4.8.1
6
- Stable tag: 6.4.0
7
  License: GPLv2 or later
8
 
9
  Manage all your WordPress updates, including individual updates, automatic updates, logs, and loads more. Also works with WordPress Multisite.
@@ -107,6 +107,13 @@ For additional information and FAQs for Easy Updates Manager check out our <a hr
107
 
108
  == Changelog ==
109
 
 
 
 
 
 
 
 
110
  = 6.4.0 =
111
  Released 2017-08-01
112
 
1
  === Easy Updates Manager ===
2
  Contributors: kidsguide, ronalfy, roary86, bigwing
3
+ Tags: automatic updates, disable updates, plugin updates, multisite
4
  Requires at least: 4.4
5
+ Tested up to: 4.9
6
+ Stable tag: 6.4.4
7
  License: GPLv2 or later
8
 
9
  Manage all your WordPress updates, including individual updates, automatic updates, logs, and loads more. Also works with WordPress Multisite.
107
 
108
  == Changelog ==
109
 
110
+ = 6.4.4 =
111
+ Released 2017-11-07
112
+
113
+ * Removed wizard. It was annoying too many people. A better admin UI may help with this.
114
+ * Bug fix: tracking could not be disabled if you enabled it, and Reset All Options. Tracking be disabled under the Advanced Tab.
115
+ * Enhancement: Logs now show a From (version) and a To (version) to satisfy a user feature request and will hopefully make logs that more useful.
116
+
117
  = 6.4.0 =
118
  Released 2017-08-01
119
 
uninstall.php CHANGED
@@ -17,6 +17,8 @@ delete_option( 'MPSUM' );
17
  delete_site_option( 'MPSUM' );
18
  delete_option( 'mpsum_log_table_version' );
19
  delete_site_option( 'mpsum_log_table_version' );
 
 
20
  global $wpdb;
21
  $tablename = $wpdb->base_prefix . 'eum_logs';
22
  $sql = "drop table if exists $tablename";
17
  delete_site_option( 'MPSUM' );
18
  delete_option( 'mpsum_log_table_version' );
19
  delete_site_option( 'mpsum_log_table_version' );
20
+ delete_site_transient( 'MPSUM_PLUGINS' );
21
+ delete_site_transient( 'MPSUM_THEMES' );
22
  global $wpdb;
23
  $tablename = $wpdb->base_prefix . 'eum_logs';
24
  $sql = "drop table if exists $tablename";