MailPoet Newsletters (New) - Version 3.4.4

Version Description

  • 2018-02-27 =
  • Premium: send emails to WooCommerce customers who purchased a specific product or in a specific product category;
  • Improved: the template import form is now in its own tab;
  • Fixed: subscriber-to-list mappings are now migrated correctly on some installations; Thanks Kevin!
  • Fixed: newsletter editor ignores taxonomies without labels when searching for categories or tags. Thanks Jose!
Download this release

Release Info

Developer wysija
Plugin Icon 128x128 MailPoet Newsletters (New)
Version 3.4.4
Comparing to
See all releases

Code changes from version 3.4.3 to 3.4.4

assets/js/{admin.58bfd752.js → admin.8b417da7.js} RENAMED
@@ -1,62 +1,347 @@
1
- webpackJsonp([0],{
 
 
 
 
 
 
 
 
 
 
 
 
 
2
 
3
- /***/ 498:
 
4
  /***/ function(module, exports, __webpack_require__) {
5
 
6
- var encode = __webpack_require__(499),
7
- decode = __webpack_require__(500);
8
 
9
- exports.decode = function(data, level){
10
- return (!level || level <= 0 ? decode.XML : decode.HTML)(data);
11
- };
12
 
13
- exports.decodeStrict = function(data, level){
14
- return (!level || level <= 0 ? decode.XML : decode.HTMLStrict)(data);
15
- };
16
 
17
- exports.encode = function(data, level){
18
- return (!level || level <= 0 ? encode.XML : encode.HTML)(data);
19
- };
20
 
21
- exports.encodeXML = encode.XML;
22
 
23
- exports.encodeHTML4 =
24
- exports.encodeHTML5 =
25
- exports.encodeHTML = encode.HTML;
26
 
27
- exports.decodeXML =
28
- exports.decodeXMLStrict = decode.XML;
29
 
30
- exports.decodeHTML4 =
31
- exports.decodeHTML5 =
32
- exports.decodeHTML = decode.HTML;
33
 
34
- exports.decodeHTML4Strict =
35
- exports.decodeHTML5Strict =
36
- exports.decodeHTMLStrict = decode.HTMLStrict;
37
 
38
- exports.escape = encode.escape;
39
 
 
40
 
41
- /***/ },
42
 
43
- /***/ 0:
44
- /***/ function(module, exports, __webpack_require__) {
45
 
46
- __webpack_require__(1);
47
- __webpack_require__(430);
48
- __webpack_require__(546);
49
- __webpack_require__(550);
50
- __webpack_require__(552);
51
- __webpack_require__(555);
52
- __webpack_require__(560);
53
- __webpack_require__(561);
54
- module.exports = __webpack_require__(565);
55
 
 
56
 
57
- /***/ },
 
 
 
 
 
 
 
 
 
 
 
 
 
58
 
59
- /***/ 274:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  /***/ function(module, exports, __webpack_require__) {
61
 
62
  'use strict';
@@ -450,8 +735,23 @@ webpackJsonp([0],{
450
  module.exports = SubscriberList;
451
 
452
  /***/ },
453
-
454
- /***/ 291:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
455
  /***/ function(module, exports, __webpack_require__) {
456
 
457
  /* WEBPACK VAR INJECTION */(function(global) {"use strict";
@@ -461,8 +761,7 @@ webpackJsonp([0],{
461
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
462
 
463
  /***/ },
464
-
465
- /***/ 292:
466
  /***/ function(module, exports, __webpack_require__) {
467
 
468
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
@@ -666,8 +965,144 @@ webpackJsonp([0],{
666
  }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
667
 
668
  /***/ },
669
-
670
- /***/ 430:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
671
  /***/ function(module, exports, __webpack_require__) {
672
 
673
  'use strict';
@@ -704,35 +1139,35 @@ webpackJsonp([0],{
704
 
705
  var _newslettersTemplatesJsx2 = _interopRequireDefault(_newslettersTemplatesJsx);
706
 
707
- var _newslettersSendJsx = __webpack_require__(520);
708
 
709
  var _newslettersSendJsx2 = _interopRequireDefault(_newslettersSendJsx);
710
 
711
- var _newslettersTypesStandardJsx = __webpack_require__(531);
712
 
713
  var _newslettersTypesStandardJsx2 = _interopRequireDefault(_newslettersTypesStandardJsx);
714
 
715
- var _newslettersTypesNotificationNotificationJsx = __webpack_require__(532);
716
 
717
  var _newslettersTypesNotificationNotificationJsx2 = _interopRequireDefault(_newslettersTypesNotificationNotificationJsx);
718
 
719
- var _newslettersTypesAutomatic_emailsEvents_listJsx = __webpack_require__(533);
720
 
721
  var _newslettersTypesAutomatic_emailsEvents_listJsx2 = _interopRequireDefault(_newslettersTypesAutomatic_emailsEvents_listJsx);
722
 
723
- var _newslettersListingsStandardJsx = __webpack_require__(537);
724
 
725
  var _newslettersListingsStandardJsx2 = _interopRequireDefault(_newslettersListingsStandardJsx);
726
 
727
- var _newslettersListingsWelcomeJsx = __webpack_require__(543);
728
 
729
  var _newslettersListingsWelcomeJsx2 = _interopRequireDefault(_newslettersListingsWelcomeJsx);
730
 
731
- var _newslettersListingsNotificationJsx = __webpack_require__(544);
732
 
733
  var _newslettersListingsNotificationJsx2 = _interopRequireDefault(_newslettersListingsNotificationJsx);
734
 
735
- var _newslettersListingsNotification_historyJsx = __webpack_require__(545);
736
 
737
  var _newslettersListingsNotification_historyJsx2 = _interopRequireDefault(_newslettersListingsNotification_historyJsx);
738
 
@@ -831,8 +1266,9 @@ webpackJsonp([0],{
831
  }
832
 
833
  /***/ },
834
-
835
- /***/ 433:
 
836
  /***/ function(module, exports, __webpack_require__) {
837
 
838
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
@@ -1004,8 +1440,9 @@ webpackJsonp([0],{
1004
  }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
1005
 
1006
  /***/ },
1007
-
1008
- /***/ 436:
 
1009
  /***/ function(module, exports, __webpack_require__) {
1010
 
1011
  'use strict';
@@ -1014,123 +1451,49 @@ webpackJsonp([0],{
1014
  value: true
1015
  });
1016
 
1017
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
1018
 
1019
- var _react = __webpack_require__(2);
1020
 
1021
- var _react2 = _interopRequireDefault(_react);
1022
 
1023
- var _underscore = __webpack_require__(280);
1024
 
1025
- var _underscore2 = _interopRequireDefault(_underscore);
1026
 
1027
- var _mailpoet = __webpack_require__(276);
1028
 
1029
- var _mailpoet2 = _interopRequireDefault(_mailpoet);
1030
 
1031
- var _reactConfirmAlert = __webpack_require__(437);
1032
 
1033
- var _classnames = __webpack_require__(277);
1034
 
1035
- var _classnames2 = _interopRequireDefault(_classnames);
1036
 
1037
  var _newslettersBreadcrumbJsx = __webpack_require__(434);
1038
 
1039
  var _newslettersBreadcrumbJsx2 = _interopRequireDefault(_newslettersBreadcrumbJsx);
1040
 
1041
- var _helpTooltipJsx = __webpack_require__(438);
1042
-
1043
- var _helpTooltipJsx2 = _interopRequireDefault(_helpTooltipJsx);
1044
-
1045
- var ImportTemplate = _react2['default'].createClass({
1046
- displayName: 'ImportTemplate',
1047
-
1048
- saveTemplate: function saveTemplate(_saveTemplate) {
1049
- var _this = this;
1050
 
1051
- var template = _saveTemplate;
1052
 
1053
- // Stringify to enable transmission of primitive non-string value types
1054
- if (!_underscore2['default'].isUndefined(template.body)) {
1055
- template.body = JSON.stringify(template.body);
1056
- }
1057
 
1058
- if (undefined === template.categories) {
1059
- template.categories = '["saved"]';
1060
- }
1061
- _mailpoet2['default'].Modal.loading(true);
1062
 
1063
- _mailpoet2['default'].Ajax.post({
1064
- api_version: window.mailpoet_api_version,
1065
- endpoint: 'newsletterTemplates',
1066
- action: 'save',
1067
- data: template
1068
- }).always(function () {
1069
- _mailpoet2['default'].Modal.loading(false);
1070
- }).done(function (response) {
1071
- _this.props.onImport(response.data);
1072
- }).fail(function (response) {
1073
- if (response.errors.length > 0) {
1074
- _mailpoet2['default'].Notice.error(response.errors.map(function (error) {
1075
- return error.message;
1076
- }), { scroll: true });
1077
- }
1078
- });
1079
- },
1080
- handleSubmit: function handleSubmit(e) {
1081
- e.preventDefault();
1082
 
1083
- if (_underscore2['default'].size(this.refs.templateFile.files) <= 0) return false;
1084
 
1085
- var file = _underscore2['default'].first(this.refs.templateFile.files);
1086
- var reader = new FileReader();
1087
- var saveTemplate = this.saveTemplate;
1088
 
1089
- reader.onload = function (evt) {
1090
- try {
1091
- saveTemplate(JSON.parse(evt.target.result));
1092
- _mailpoet2['default'].trackEvent('Emails > Template imported', {
1093
- 'MailPoet Free version': window.mailpoet_version
1094
- });
1095
- } catch (err) {
1096
- _mailpoet2['default'].Notice.error(_mailpoet2['default'].I18n.t('templateFileMalformedError'));
1097
- }
1098
- };
1099
 
1100
- reader.readAsText(file);
1101
- return true;
1102
- },
1103
- render: function render() {
1104
- return _react2['default'].createElement(
1105
- 'div',
1106
- null,
1107
- _react2['default'].createElement(
1108
- 'h2',
1109
- null,
1110
- _mailpoet2['default'].I18n.t('importTemplateTitle'),
1111
- ' ',
1112
- _react2['default'].createElement(_helpTooltipJsx2['default'], {
1113
- tooltip: _mailpoet2['default'].I18n.t('helpTooltipTemplateUpload'),
1114
- place: 'right',
1115
- className: 'tooltip-help-import-template'
1116
- })
1117
- ),
1118
- _react2['default'].createElement(
1119
- 'form',
1120
- { onSubmit: this.handleSubmit },
1121
- _react2['default'].createElement('input', { type: 'file', placeholder: _mailpoet2['default'].I18n.t('selectJsonFileToUpload'), ref: 'templateFile' }),
1122
- _react2['default'].createElement(
1123
- 'p',
1124
- { className: 'submit' },
1125
- _react2['default'].createElement('input', {
1126
- className: 'button button-primary',
1127
- type: 'submit',
1128
- value: _mailpoet2['default'].I18n.t('upload') })
1129
- )
1130
- )
1131
- );
1132
- }
1133
- });
1134
 
1135
  var templatesCategories = [{
1136
  name: 'standard',
@@ -1155,241 +1518,542 @@ webpackJsonp([0],{
1155
  label: _mailpoet2['default'].I18n.t('savedTemplates')
1156
  }];
1157
 
1158
- var CategoryTab = function CategoryTab(_ref) {
1159
- var name = _ref.name;
1160
- var label = _ref.label;
1161
- var selected = _ref.selected;
1162
- var select = _ref.select;
1163
- return _react2['default'].createElement(
1164
- 'li',
1165
- null,
1166
- _react2['default'].createElement(
1167
- 'a',
1168
- {
1169
- href: 'javascript:',
1170
- className: selected === name ? 'current' : '',
1171
- onClick: function () {
1172
- return select(name);
1173
- }
1174
- },
1175
- ' ',
1176
- label
1177
- )
1178
- );
1179
- };
1180
 
1181
- var NewsletterTemplates = _react2['default'].createClass({
1182
- displayName: 'NewsletterTemplates',
1183
 
1184
- getInitialState: function getInitialState() {
1185
- return {
1186
- loading: false,
1187
  templates: {}, // {category1: [template11, template12, ..], category2: [template21, ...]}
1188
- selectedCategory: ''
1189
  };
1190
- },
1191
- componentDidMount: function componentDidMount() {
1192
- this.getTemplates();
1193
- },
1194
- getTemplates: function getTemplates() {
1195
- var _this2 = this;
1196
-
1197
- this.setState({ loading: true });
1198
 
1199
- _mailpoet2['default'].Modal.loading(true);
 
 
 
 
1200
 
1201
- _mailpoet2['default'].Ajax.post({
1202
- api_version: window.mailpoet_api_version,
1203
- endpoint: 'newsletterTemplates',
1204
- action: 'getAll'
1205
- }).done(function (response) {
1206
- if (_this2.isMounted()) {
1207
- (function () {
1208
- if (response.data.length === 0) {
1209
- response.data = [{
1210
- name: _mailpoet2['default'].I18n.t('mailpoetGuideTemplateTitle'),
1211
- description: _mailpoet2['default'].I18n.t('mailpoetGuideTemplateDescription'),
1212
- categories: '["welcome", "notification", "standard"]',
1213
- readonly: '1'
1214
- }];
1215
- }
1216
 
1217
- var templates = {};
1218
- var categoriesNames = templatesCategories.map(function (category) {
1219
- return category.name;
1220
- });
1221
- categoriesNames.forEach(function (name) {
1222
- templates[name] = [];
1223
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1224
 
1225
- response.data.forEach(function (template) {
1226
- var categories = undefined;
1227
- try {
1228
- categories = JSON.parse(template.categories).filter(function (name) {
1229
- return categoriesNames.indexOf(name) !== -1;
1230
- });
1231
- } catch (err) {
1232
- categories = [];
1233
- }
1234
- if (categories.length === 0) {
1235
- // the template has no known category
1236
- categories = ['saved']; // we add it to "Your saved templates"
1237
- }
1238
- categories.forEach(function (category) {
1239
- templates[category].push(template);
1240
- });
1241
- });
1242
 
1243
- _this2.selectInitialCategory(templates);
1244
- })();
1245
- }
1246
- }).fail(function (response) {
1247
- if (response.errors.length > 0) {
1248
- _mailpoet2['default'].Notice.error(response.errors.map(function (error) {
1249
- return error.message;
1250
- }), { scroll: true });
1251
  }
1252
- _mailpoet2['default'].Modal.loading(false);
1253
- });
1254
- },
1255
- selectInitialCategory: function selectInitialCategory(templates) {
1256
- var _this3 = this;
1257
 
1258
- _mailpoet2['default'].Ajax.post({
1259
- api_version: window.mailpoet_api_version,
1260
- endpoint: 'newsletters',
1261
- action: 'get',
1262
- data: {
1263
- id: this.props.params.id
1264
- }
1265
- }).always(function () {
1266
- _mailpoet2['default'].Modal.loading(false);
1267
- }).done(function (response) {
1268
- _this3.setState({
1269
- templates: templates,
1270
- selectedCategory: response.data.type,
1271
- loading: false
1272
- });
1273
- }).fail(function (response) {
1274
- if (response.errors.length > 0) {
1275
- _mailpoet2['default'].Notice.error(response.errors.map(function (error) {
1276
- return error.message;
1277
- }), { scroll: true });
1278
  }
1279
- });
1280
- },
1281
- handleSelectTemplate: function handleSelectTemplate(template) {
1282
- var body = template.body;
1283
 
1284
- // Stringify to enable transmission of primitive non-string value types
1285
- if (!_underscore2['default'].isUndefined(body)) {
1286
- body = JSON.stringify(body);
 
 
 
1287
  }
 
 
 
 
1288
 
1289
- _mailpoet2['default'].trackEvent('Emails > Template selected', {
1290
- 'MailPoet Free version': window.mailpoet_version,
1291
- 'Email name': template.name
1292
- });
1293
-
1294
- _mailpoet2['default'].Ajax.post({
1295
- api_version: window.mailpoet_api_version,
1296
- endpoint: 'newsletters',
1297
- action: 'save',
1298
- data: {
1299
- id: this.props.params.id,
1300
- body: body
1301
- }
1302
- }).done(function (response) {
1303
- // TODO: Move this URL elsewhere
1304
- window.location = 'admin.php?page=mailpoet-newsletter-editor&id=' + response.data.id;
1305
- }).fail(function (response) {
1306
- if (response.errors.length > 0) {
1307
- _mailpoet2['default'].Notice.error(response.errors.map(function (error) {
1308
- return error.message;
1309
- }), { scroll: true });
1310
- }
1311
- });
1312
- },
1313
- handleDeleteTemplate: function handleDeleteTemplate(template) {
1314
- var _this4 = this;
1315
 
1316
- this.setState({ loading: true });
1317
- var onConfirm = function onConfirm() {
1318
  _mailpoet2['default'].Ajax.post({
1319
  api_version: window.mailpoet_api_version,
1320
- endpoint: 'newsletterTemplates',
1321
- action: 'delete',
1322
  data: {
1323
- id: template.id
1324
  }
1325
- }).done(function () {
1326
- _this4.getTemplates();
1327
  }).fail(function (response) {
1328
  if (response.errors.length > 0) {
1329
  _mailpoet2['default'].Notice.error(response.errors.map(function (error) {
1330
  return error.message;
1331
  }), { scroll: true });
1332
  }
 
 
 
 
 
 
1333
  });
1334
- };
1335
- var onCancel = function onCancel() {
1336
- _this4.setState({ loading: false });
1337
- };
1338
- (0, _reactConfirmAlert.confirmAlert)({
1339
- title: _mailpoet2['default'].I18n.t('confirmTitle'),
1340
- message: _mailpoet2['default'].I18n.t('confirmTemplateDeletion').replace('%$1s', template.name),
1341
- confirmLabel: _mailpoet2['default'].I18n.t('confirmLabel'),
1342
- cancelLabel: _mailpoet2['default'].I18n.t('cancelLabel'),
1343
- onConfirm: onConfirm,
1344
- onCancel: onCancel
1345
- });
1346
- },
1347
- handleShowTemplate: function handleShowTemplate(template) {
1348
- _mailpoet2['default'].Modal.popup({
1349
- title: template.name,
1350
- template: '<div class="mailpoet_boxes_preview" style="background-color: {{ body.globalStyles.body.backgroundColor }}"><img src="{{ thumbnail }}" /></div>',
1351
- data: template
1352
- });
1353
- },
1354
- handleTemplateImport: function handleTemplateImport() {
1355
- this.getTemplates();
1356
- },
1357
- render: function render() {
1358
- var _this5 = this;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1359
 
1360
- var templates = this.state.templates[this.state.selectedCategory] || [];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1361
 
1362
- templates = templates.map(function (template, index) {
1363
  var deleteLink = _react2['default'].createElement(
1364
  'div',
1365
  { className: 'mailpoet_delete' },
1366
  _react2['default'].createElement(
1367
  'a',
1368
- {
1369
- href: 'javascript:;',
1370
- onClick: _this5.handleDeleteTemplate.bind(null, template)
1371
- },
1372
  _mailpoet2['default'].I18n.t('delete')
1373
  )
1374
  );
1375
- var thumbnail = '';
1376
 
1377
- if (typeof template.thumbnail === 'string' && template.thumbnail.length > 0) {
1378
- thumbnail = _react2['default'].createElement(
 
1379
  'a',
1380
- { href: 'javascript:;', onClick: _this5.handleShowTemplate.bind(null, template) },
1381
- _react2['default'].createElement('img', { src: template.thumbnail }),
1382
  _react2['default'].createElement('div', { className: 'mailpoet_overlay' })
1383
  );
1384
  }
1385
 
1386
  return _react2['default'].createElement(
1387
  'li',
1388
- { key: 'template-' + index },
1389
  _react2['default'].createElement(
1390
  'div',
1391
  { className: 'mailpoet_thumbnail' },
1392
- thumbnail
1393
  ),
1394
  _react2['default'].createElement(
1395
  'div',
@@ -1397,12 +2061,12 @@ webpackJsonp([0],{
1397
  _react2['default'].createElement(
1398
  'h3',
1399
  null,
1400
- template.name
1401
  ),
1402
  _react2['default'].createElement(
1403
  'p',
1404
  null,
1405
- template.description
1406
  )
1407
  ),
1408
  _react2['default'].createElement(
@@ -1412,7 +2076,7 @@ webpackJsonp([0],{
1412
  'a',
1413
  {
1414
  className: 'button button-secondary',
1415
- onClick: _this5.handleShowTemplate.bind(null, template)
1416
  },
1417
  _mailpoet2['default'].I18n.t('preview')
1418
  ),
@@ -1422,70 +2086,26 @@ webpackJsonp([0],{
1422
  {
1423
  className: 'button button-primary',
1424
  'data-automation-id': 'select_template_' + index,
1425
- onClick: _this5.handleSelectTemplate.bind(null, template)
1426
  },
1427
- _mailpoet2['default'].I18n.t('select')
 
 
1428
  )
1429
  ),
1430
- template.readonly === '1' ? false : deleteLink
1431
- );
1432
- });
1433
-
1434
- if (templates.length === 0) {
1435
- templates = _react2['default'].createElement(
1436
- 'p',
1437
- null,
1438
- _mailpoet2['default'].I18n.t('noTemplates')
1439
  );
1440
  }
 
1441
 
1442
- var boxClasses = (0, _classnames2['default'])('mailpoet_boxes', 'clearfix', { mailpoet_boxes_loading: this.state.loading });
1443
-
1444
- return _react2['default'].createElement(
1445
- 'div',
1446
- null,
1447
- _react2['default'].createElement(
1448
- 'h1',
1449
- null,
1450
- _mailpoet2['default'].I18n.t('selectTemplateTitle')
1451
- ),
1452
- _react2['default'].createElement(_newslettersBreadcrumbJsx2['default'], { step: 'template' }),
1453
- _react2['default'].createElement(
1454
- 'div',
1455
- { className: 'wp-filter hide-if-no-js' },
1456
- _react2['default'].createElement(
1457
- 'ul',
1458
- { className: 'filter-links' },
1459
- templatesCategories.map(function (_ref2) {
1460
- var name = _ref2.name;
1461
- var label = _ref2.label;
1462
- return _react2['default'].createElement(CategoryTab, {
1463
- key: name,
1464
- name: name,
1465
- label: label,
1466
- selected: _this5.state.selectedCategory,
1467
- select: function (category) {
1468
- return _this5.setState({ selectedCategory: category });
1469
- } });
1470
- })
1471
- )
1472
- ),
1473
- _react2['default'].createElement(
1474
- 'ul',
1475
- { className: boxClasses },
1476
- templates
1477
- ),
1478
- _react2['default'].createElement(ImportTemplate, { onImport: this.handleTemplateImport })
1479
- );
1480
- }
1481
- });
1482
 
1483
- exports['default'] = NewsletterTemplates;
1484
  module.exports = exports['default'];
1485
 
1486
  /***/ },
1487
-
1488
- /***/ 437:
1489
  /***/ function(module, exports, __webpack_require__) {
1490
 
1491
  'use strict';
@@ -1609,60 +2229,222 @@ webpackJsonp([0],{
1609
  onCancel: function onCancel() {
1610
  return null;
1611
  }
1612
- },
1613
- enumerable: true
1614
- }]);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1615
 
1616
- return ReactConfirmAlert;
1617
- })(_react.Component);
 
1618
 
1619
- exports['default'] = ReactConfirmAlert;
 
 
1620
 
1621
- function createSVGBlurReconfirm() {
1622
- var svgNS = 'http://www.w3.org/2000/svg';
1623
- var feGaussianBlur = document.createElementNS(svgNS, 'feGaussianBlur');
1624
- feGaussianBlur.setAttribute('stdDeviation', '0.7');
1625
 
1626
- var filter = document.createElementNS(svgNS, 'filter');
1627
- filter.setAttribute('id', 'gaussian-blur');
1628
- filter.appendChild(feGaussianBlur);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1629
 
1630
- var svgElem = document.createElementNS(svgNS, 'svg');
1631
- svgElem.setAttribute('id', 'react-confirm-alert-firm-svg');
1632
- svgElem.setAttribute('class', 'react-confirm-alert-svg');
1633
- svgElem.appendChild(filter);
1634
 
1635
- document.body.appendChild(svgElem);
1636
- }
 
1637
 
1638
- function removeSVGBlurReconfirm() {
1639
- var svg = document.getElementById('react-confirm-alert-firm-svg');
1640
- svg.parentNode.removeChild(svg);
1641
- document.body.children[0].classList.remove('react-confirm-alert-blur');
1642
- }
1643
 
1644
- function createElementReconfirm(properties) {
1645
- document.body.children[0].classList.add('react-confirm-alert-blur');
1646
- var divTarget = document.createElement('div');
1647
- divTarget.id = 'react-confirm-alert';
1648
- document.body.appendChild(divTarget);
1649
- _reactDom.render(_react2['default'].createElement(ReactConfirmAlert, properties), divTarget);
1650
- }
 
 
 
1651
 
1652
- function removeElementReconfirm() {
1653
- var target = document.getElementById('react-confirm-alert');
1654
- _reactDom.unmountComponentAtNode(target);
1655
- target.parentNode.removeChild(target);
1656
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1657
 
1658
- function confirmAlert(properties) {
1659
- createSVGBlurReconfirm();
1660
- createElementReconfirm(properties);
1661
- }
1662
 
1663
- /***/ },
 
1664
 
1665
- /***/ 438:
 
1666
  /***/ function(module, exports, __webpack_require__) {
1667
 
1668
  'use strict';
@@ -1673,11 +2455,11 @@ webpackJsonp([0],{
1673
 
1674
  var _react2 = _interopRequireDefault(_react);
1675
 
1676
- var _reactTooltip = __webpack_require__(439);
1677
 
1678
  var _reactTooltip2 = _interopRequireDefault(_reactTooltip);
1679
 
1680
- var _reactHtmlParser = __webpack_require__(452);
1681
 
1682
  var _reactHtmlParser2 = _interopRequireDefault(_reactHtmlParser);
1683
 
@@ -1745,8 +2527,20 @@ webpackJsonp([0],{
1745
  module.exports = Tooltip;
1746
 
1747
  /***/ },
1748
-
1749
- /***/ 452:
 
 
 
 
 
 
 
 
 
 
 
 
1750
  /***/ function(module, exports, __webpack_require__) {
1751
 
1752
  'use strict';
@@ -1755,7 +2549,7 @@ webpackJsonp([0],{
1755
  value: true
1756
  });
1757
 
1758
- var _HtmlParser = __webpack_require__(453);
1759
 
1760
  var _HtmlParser2 = _interopRequireDefault(_HtmlParser);
1761
 
@@ -1764,8 +2558,7 @@ webpackJsonp([0],{
1764
  exports.default = _HtmlParser2.default;
1765
 
1766
  /***/ },
1767
-
1768
- /***/ 453:
1769
  /***/ function(module, exports, __webpack_require__) {
1770
 
1771
  'use strict';
@@ -1775,11 +2568,11 @@ webpackJsonp([0],{
1775
  });
1776
  exports.default = HtmlParser;
1777
 
1778
- var _htmlparser = __webpack_require__(454);
1779
 
1780
  var _htmlparser2 = _interopRequireDefault(_htmlparser);
1781
 
1782
- var _ProcessNodes = __webpack_require__(507);
1783
 
1784
  var _ProcessNodes2 = _interopRequireDefault(_ProcessNodes);
1785
 
@@ -1797,12 +2590,11 @@ webpackJsonp([0],{
1797
  }
1798
 
1799
  /***/ },
1800
-
1801
- /***/ 454:
1802
  /***/ function(module, exports, __webpack_require__) {
1803
 
1804
- var Parser = __webpack_require__(455),
1805
- DomHandler = __webpack_require__(464);
1806
 
1807
  function defineProp(name, value){
1808
  delete module.exports[name];
@@ -1812,26 +2604,26 @@ webpackJsonp([0],{
1812
 
1813
  module.exports = {
1814
  Parser: Parser,
1815
- Tokenizer: __webpack_require__(456),
1816
- ElementType: __webpack_require__(465),
1817
  DomHandler: DomHandler,
1818
  get FeedHandler(){
1819
- return defineProp("FeedHandler", __webpack_require__(468));
1820
  },
1821
  get Stream(){
1822
- return defineProp("Stream", __webpack_require__(469));
1823
  },
1824
  get WritableStream(){
1825
- return defineProp("WritableStream", __webpack_require__(470));
1826
  },
1827
  get ProxyHandler(){
1828
- return defineProp("ProxyHandler", __webpack_require__(493));
1829
  },
1830
  get DomUtils(){
1831
- return defineProp("DomUtils", __webpack_require__(494));
1832
  },
1833
  get CollectingHandler(){
1834
- return defineProp("CollectingHandler", __webpack_require__(506));
1835
  },
1836
  // For legacy support
1837
  DefaultHandler: DomHandler,
@@ -1872,11 +2664,10 @@ webpackJsonp([0],{
1872
 
1873
 
1874
  /***/ },
1875
-
1876
- /***/ 455:
1877
  /***/ function(module, exports, __webpack_require__) {
1878
 
1879
- var Tokenizer = __webpack_require__(456);
1880
 
1881
  /*
1882
  Options:
@@ -1998,7 +2789,7 @@ webpackJsonp([0],{
1998
  if(this._cbs.onparserinit) this._cbs.onparserinit(this);
1999
  }
2000
 
2001
- __webpack_require__(462)(Parser, __webpack_require__(463).EventEmitter);
2002
 
2003
  Parser.prototype._updatePosition = function(initialOffset){
2004
  if(this.endIndex === null){
@@ -2232,16 +3023,15 @@ webpackJsonp([0],{
2232
 
2233
 
2234
  /***/ },
2235
-
2236
- /***/ 456:
2237
  /***/ function(module, exports, __webpack_require__) {
2238
 
2239
  module.exports = Tokenizer;
2240
 
2241
- var decodeCodePoint = __webpack_require__(457),
2242
- entityMap = __webpack_require__(459),
2243
- legacyMap = __webpack_require__(460),
2244
- xmlMap = __webpack_require__(461),
2245
 
2246
  i = 0,
2247
 
@@ -3145,11 +3935,10 @@ webpackJsonp([0],{
3145
 
3146
 
3147
  /***/ },
3148
-
3149
- /***/ 457:
3150
  /***/ function(module, exports, __webpack_require__) {
3151
 
3152
- var decodeMap = __webpack_require__(458);
3153
 
3154
  module.exports = decodeCodePoint;
3155
 
@@ -3178,36 +3967,31 @@ webpackJsonp([0],{
3178
 
3179
 
3180
  /***/ },
3181
-
3182
- /***/ 458:
3183
  /***/ function(module, exports) {
3184
 
3185
  module.exports = {"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}
3186
 
3187
  /***/ },
3188
-
3189
- /***/ 459:
3190
  /***/ function(module, exports) {
3191
 
3192
  module.exports = {"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\"","QUOT":"\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}
3193
 
3194
  /***/ },
3195
-
3196
- /***/ 460:
3197
  /***/ function(module, exports) {
3198
 
3199
  module.exports = {"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\"","QUOT":"\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}
3200
 
3201
  /***/ },
3202
-
3203
- /***/ 461:
3204
  /***/ function(module, exports) {
3205
 
3206
  module.exports = {"amp":"&","apos":"'","gt":">","lt":"<","quot":"\""}
3207
 
3208
  /***/ },
3209
-
3210
- /***/ 462:
3211
  /***/ function(module, exports) {
3212
 
3213
  if (typeof Object.create === 'function') {
@@ -3236,8 +4020,7 @@ webpackJsonp([0],{
3236
 
3237
 
3238
  /***/ },
3239
-
3240
- /***/ 463:
3241
  /***/ function(module, exports) {
3242
 
3243
  // Copyright Joyent, Inc. and other Node contributors.
@@ -3545,15 +4328,14 @@ webpackJsonp([0],{
3545
 
3546
 
3547
  /***/ },
3548
-
3549
- /***/ 464:
3550
  /***/ function(module, exports, __webpack_require__) {
3551
 
3552
- var ElementType = __webpack_require__(465);
3553
 
3554
  var re_whitespace = /\s+/g;
3555
- var NodePrototype = __webpack_require__(466);
3556
- var ElementPrototype = __webpack_require__(467);
3557
 
3558
  function DomHandler(callback, options, elementCB){
3559
  if(typeof callback === "object"){
@@ -3769,8 +4551,7 @@ webpackJsonp([0],{
3769
 
3770
 
3771
  /***/ },
3772
-
3773
- /***/ 465:
3774
  /***/ function(module, exports) {
3775
 
3776
  //Types of elements found in the DOM
@@ -3791,8 +4572,7 @@ webpackJsonp([0],{
3791
 
3792
 
3793
  /***/ },
3794
-
3795
- /***/ 466:
3796
  /***/ function(module, exports) {
3797
 
3798
  // This object will be used as the prototype for Nodes when creating a
@@ -3842,12 +4622,11 @@ webpackJsonp([0],{
3842
 
3843
 
3844
  /***/ },
3845
-
3846
- /***/ 467:
3847
  /***/ function(module, exports, __webpack_require__) {
3848
 
3849
  // DOM-Level-1-compliant structure
3850
- var NodePrototype = __webpack_require__(466);
3851
  var ElementPrototype = module.exports = Object.create(NodePrototype);
3852
 
3853
  var domLvl1 = {
@@ -3869,11 +4648,10 @@ webpackJsonp([0],{
3869
 
3870
 
3871
  /***/ },
3872
-
3873
- /***/ 468:
3874
  /***/ function(module, exports, __webpack_require__) {
3875
 
3876
- var index = __webpack_require__(454),
3877
  DomHandler = index.DomHandler,
3878
  DomUtils = index.DomUtils;
3879
 
@@ -3882,7 +4660,7 @@ webpackJsonp([0],{
3882
  this.init(callback, options);
3883
  }
3884
 
3885
- __webpack_require__(462)(FeedHandler, DomHandler);
3886
 
3887
  FeedHandler.prototype.init = DomHandler;
3888
 
@@ -3971,19 +4749,18 @@ webpackJsonp([0],{
3971
 
3972
 
3973
  /***/ },
3974
-
3975
- /***/ 469:
3976
  /***/ function(module, exports, __webpack_require__) {
3977
 
3978
  module.exports = Stream;
3979
 
3980
- var Parser = __webpack_require__(470);
3981
 
3982
  function Stream(options){
3983
  Parser.call(this, new Cbs(this), options);
3984
  }
3985
 
3986
- __webpack_require__(462)(Stream, Parser);
3987
 
3988
  Stream.prototype.readable = true;
3989
 
@@ -3991,7 +4768,7 @@ webpackJsonp([0],{
3991
  this.scope = scope;
3992
  }
3993
 
3994
- var EVENTS = __webpack_require__(454).EVENTS;
3995
 
3996
  Object.keys(EVENTS).forEach(function(name){
3997
  if(EVENTS[name] === 0){
@@ -4012,16 +4789,15 @@ webpackJsonp([0],{
4012
  });
4013
 
4014
  /***/ },
4015
-
4016
- /***/ 470:
4017
  /***/ function(module, exports, __webpack_require__) {
4018
 
4019
  module.exports = Stream;
4020
 
4021
- var Parser = __webpack_require__(455),
4022
- WritableStream = __webpack_require__(471).Writable || __webpack_require__(490).Writable,
4023
- StringDecoder = __webpack_require__(491).StringDecoder,
4024
- Buffer = __webpack_require__(475).Buffer;
4025
 
4026
  function Stream(cbs, options){
4027
  var parser = this._parser = new Parser(cbs, options);
@@ -4034,7 +4810,7 @@ webpackJsonp([0],{
4034
  });
4035
  }
4036
 
4037
- __webpack_require__(462)(Stream, WritableStream);
4038
 
4039
  WritableStream.prototype._write = function(chunk, encoding, cb){
4040
  if(chunk instanceof Buffer) chunk = this._decoder.write(chunk);
@@ -4043,8 +4819,7 @@ webpackJsonp([0],{
4043
  };
4044
 
4045
  /***/ },
4046
-
4047
- /***/ 471:
4048
  /***/ function(module, exports, __webpack_require__) {
4049
 
4050
  // Copyright Joyent, Inc. and other Node contributors.
@@ -4070,15 +4845,15 @@ webpackJsonp([0],{
4070
 
4071
  module.exports = Stream;
4072
 
4073
- var EE = __webpack_require__(463).EventEmitter;
4074
- var inherits = __webpack_require__(462);
4075
 
4076
  inherits(Stream, EE);
4077
- Stream.Readable = __webpack_require__(472);
4078
- Stream.Writable = __webpack_require__(486);
4079
- Stream.Duplex = __webpack_require__(487);
4080
- Stream.Transform = __webpack_require__(488);
4081
- Stream.PassThrough = __webpack_require__(489);
4082
 
4083
  // Backwards-compat with node 0.4.x
4084
  Stream.Stream = Stream;
@@ -4177,26 +4952,24 @@ webpackJsonp([0],{
4177
 
4178
 
4179
  /***/ },
4180
-
4181
- /***/ 472:
4182
  /***/ function(module, exports, __webpack_require__) {
4183
 
4184
- /* WEBPACK VAR INJECTION */(function(process) {exports = module.exports = __webpack_require__(473);
4185
- exports.Stream = __webpack_require__(471);
4186
  exports.Readable = exports;
4187
- exports.Writable = __webpack_require__(482);
4188
- exports.Duplex = __webpack_require__(481);
4189
- exports.Transform = __webpack_require__(484);
4190
- exports.PassThrough = __webpack_require__(485);
4191
  if (!process.browser && process.env.READABLE_STREAM === 'disable') {
4192
- module.exports = __webpack_require__(471);
4193
  }
4194
 
4195
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
4196
 
4197
  /***/ },
4198
-
4199
- /***/ 473:
4200
  /***/ function(module, exports, __webpack_require__) {
4201
 
4202
  /* WEBPACK VAR INJECTION */(function(process) {// Copyright Joyent, Inc. and other Node contributors.
@@ -4223,17 +4996,17 @@ webpackJsonp([0],{
4223
  module.exports = Readable;
4224
 
4225
  /*<replacement>*/
4226
- var isArray = __webpack_require__(474);
4227
  /*</replacement>*/
4228
 
4229
 
4230
  /*<replacement>*/
4231
- var Buffer = __webpack_require__(475).Buffer;
4232
  /*</replacement>*/
4233
 
4234
  Readable.ReadableState = ReadableState;
4235
 
4236
- var EE = __webpack_require__(463).EventEmitter;
4237
 
4238
  /*<replacement>*/
4239
  if (!EE.listenerCount) EE.listenerCount = function(emitter, type) {
@@ -4241,18 +5014,18 @@ webpackJsonp([0],{
4241
  };
4242
  /*</replacement>*/
4243
 
4244
- var Stream = __webpack_require__(471);
4245
 
4246
  /*<replacement>*/
4247
- var util = __webpack_require__(479);
4248
- util.inherits = __webpack_require__(462);
4249
  /*</replacement>*/
4250
 
4251
  var StringDecoder;
4252
 
4253
 
4254
  /*<replacement>*/
4255
- var debug = __webpack_require__(480);
4256
  if (debug && debug.debuglog) {
4257
  debug = debug.debuglog('stream');
4258
  } else {
@@ -4264,7 +5037,7 @@ webpackJsonp([0],{
4264
  util.inherits(Readable, Stream);
4265
 
4266
  function ReadableState(options, stream) {
4267
- var Duplex = __webpack_require__(481);
4268
 
4269
  options = options || {};
4270
 
@@ -4325,14 +5098,14 @@ webpackJsonp([0],{
4325
  this.encoding = null;
4326
  if (options.encoding) {
4327
  if (!StringDecoder)
4328
- StringDecoder = __webpack_require__(483).StringDecoder;
4329
  this.decoder = new StringDecoder(options.encoding);
4330
  this.encoding = options.encoding;
4331
  }
4332
  }
4333
 
4334
  function Readable(options) {
4335
- var Duplex = __webpack_require__(481);
4336
 
4337
  if (!(this instanceof Readable))
4338
  return new Readable(options);
@@ -4435,7 +5208,7 @@ webpackJsonp([0],{
4435
  // backwards compatibility.
4436
  Readable.prototype.setEncoding = function(enc) {
4437
  if (!StringDecoder)
4438
- StringDecoder = __webpack_require__(483).StringDecoder;
4439
  this._readableState.decoder = new StringDecoder(enc);
4440
  this._readableState.encoding = enc;
4441
  return this;
@@ -5154,8 +5927,7 @@ webpackJsonp([0],{
5154
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
5155
 
5156
  /***/ },
5157
-
5158
- /***/ 474:
5159
  /***/ function(module, exports) {
5160
 
5161
  module.exports = Array.isArray || function (arr) {
@@ -5164,8 +5936,7 @@ webpackJsonp([0],{
5164
 
5165
 
5166
  /***/ },
5167
-
5168
- /***/ 475:
5169
  /***/ function(module, exports, __webpack_require__) {
5170
 
5171
  /* WEBPACK VAR INJECTION */(function(Buffer, global) {/*!
@@ -5178,9 +5949,9 @@ webpackJsonp([0],{
5178
 
5179
  'use strict'
5180
 
5181
- var base64 = __webpack_require__(476)
5182
- var ieee754 = __webpack_require__(477)
5183
- var isArray = __webpack_require__(478)
5184
 
5185
  exports.Buffer = Buffer
5186
  exports.SlowBuffer = SlowBuffer
@@ -6958,11 +7729,10 @@ webpackJsonp([0],{
6958
  return val !== val // eslint-disable-line no-self-compare
6959
  }
6960
 
6961
- /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(475).Buffer, (function() { return this; }())))
6962
 
6963
  /***/ },
6964
-
6965
- /***/ 476:
6966
  /***/ function(module, exports) {
6967
 
6968
  'use strict'
@@ -7082,8 +7852,7 @@ webpackJsonp([0],{
7082
 
7083
 
7084
  /***/ },
7085
-
7086
- /***/ 477:
7087
  /***/ function(module, exports) {
7088
 
7089
  exports.read = function (buffer, offset, isLE, mLen, nBytes) {
@@ -7173,8 +7942,7 @@ webpackJsonp([0],{
7173
 
7174
 
7175
  /***/ },
7176
-
7177
- /***/ 478:
7178
  /***/ function(module, exports) {
7179
 
7180
  var toString = {}.toString;
@@ -7185,8 +7953,7 @@ webpackJsonp([0],{
7185
 
7186
 
7187
  /***/ },
7188
-
7189
- /***/ 479:
7190
  /***/ function(module, exports, __webpack_require__) {
7191
 
7192
  /* WEBPACK VAR INJECTION */(function(Buffer) {// Copyright Joyent, Inc. and other Node contributors.
@@ -7297,18 +8064,16 @@ webpackJsonp([0],{
7297
  return Object.prototype.toString.call(o);
7298
  }
7299
 
7300
- /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(475).Buffer))
7301
 
7302
  /***/ },
7303
-
7304
- /***/ 480:
7305
  /***/ function(module, exports) {
7306
 
7307
  /* (ignored) */
7308
 
7309
  /***/ },
7310
-
7311
- /***/ 481:
7312
  /***/ function(module, exports, __webpack_require__) {
7313
 
7314
  /* WEBPACK VAR INJECTION */(function(process) {// Copyright Joyent, Inc. and other Node contributors.
@@ -7349,12 +8114,12 @@ webpackJsonp([0],{
7349
 
7350
 
7351
  /*<replacement>*/
7352
- var util = __webpack_require__(479);
7353
- util.inherits = __webpack_require__(462);
7354
  /*</replacement>*/
7355
 
7356
- var Readable = __webpack_require__(473);
7357
- var Writable = __webpack_require__(482);
7358
 
7359
  util.inherits(Duplex, Readable);
7360
 
@@ -7404,8 +8169,7 @@ webpackJsonp([0],{
7404
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
7405
 
7406
  /***/ },
7407
-
7408
- /***/ 482:
7409
  /***/ function(module, exports, __webpack_require__) {
7410
 
7411
  /* WEBPACK VAR INJECTION */(function(process) {// Copyright Joyent, Inc. and other Node contributors.
@@ -7436,18 +8200,18 @@ webpackJsonp([0],{
7436
  module.exports = Writable;
7437
 
7438
  /*<replacement>*/
7439
- var Buffer = __webpack_require__(475).Buffer;
7440
  /*</replacement>*/
7441
 
7442
  Writable.WritableState = WritableState;
7443
 
7444
 
7445
  /*<replacement>*/
7446
- var util = __webpack_require__(479);
7447
- util.inherits = __webpack_require__(462);
7448
  /*</replacement>*/
7449
 
7450
- var Stream = __webpack_require__(471);
7451
 
7452
  util.inherits(Writable, Stream);
7453
 
@@ -7458,7 +8222,7 @@ webpackJsonp([0],{
7458
  }
7459
 
7460
  function WritableState(options, stream) {
7461
- var Duplex = __webpack_require__(481);
7462
 
7463
  options = options || {};
7464
 
@@ -7546,7 +8310,7 @@ webpackJsonp([0],{
7546
  }
7547
 
7548
  function Writable(options) {
7549
- var Duplex = __webpack_require__(481);
7550
 
7551
  // Writable ctor is applied to Duplexes, though they're not
7552
  // instanceof Writable, they're instanceof Readable.
@@ -7889,8 +8653,7 @@ webpackJsonp([0],{
7889
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
7890
 
7891
  /***/ },
7892
-
7893
- /***/ 483:
7894
  /***/ function(module, exports, __webpack_require__) {
7895
 
7896
  // Copyright Joyent, Inc. and other Node contributors.
@@ -7914,7 +8677,7 @@ webpackJsonp([0],{
7914
  // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
7915
  // USE OR OTHER DEALINGS IN THE SOFTWARE.
7916
 
7917
- var Buffer = __webpack_require__(475).Buffer;
7918
 
7919
  var isBufferEncoding = Buffer.isEncoding
7920
  || function(encoding) {
@@ -8117,8 +8880,7 @@ webpackJsonp([0],{
8117
 
8118
 
8119
  /***/ },
8120
-
8121
- /***/ 484:
8122
  /***/ function(module, exports, __webpack_require__) {
8123
 
8124
  // Copyright Joyent, Inc. and other Node contributors.
@@ -8187,11 +8949,11 @@ webpackJsonp([0],{
8187
 
8188
  module.exports = Transform;
8189
 
8190
- var Duplex = __webpack_require__(481);
8191
 
8192
  /*<replacement>*/
8193
- var util = __webpack_require__(479);
8194
- util.inherits = __webpack_require__(462);
8195
  /*</replacement>*/
8196
 
8197
  util.inherits(Transform, Duplex);
@@ -8333,8 +9095,7 @@ webpackJsonp([0],{
8333
 
8334
 
8335
  /***/ },
8336
-
8337
- /***/ 485:
8338
  /***/ function(module, exports, __webpack_require__) {
8339
 
8340
  // Copyright Joyent, Inc. and other Node contributors.
@@ -8364,11 +9125,11 @@ webpackJsonp([0],{
8364
 
8365
  module.exports = PassThrough;
8366
 
8367
- var Transform = __webpack_require__(484);
8368
 
8369
  /*<replacement>*/
8370
- var util = __webpack_require__(479);
8371
- util.inherits = __webpack_require__(462);
8372
  /*</replacement>*/
8373
 
8374
  util.inherits(PassThrough, Transform);
@@ -8386,52 +9147,46 @@ webpackJsonp([0],{
8386
 
8387
 
8388
  /***/ },
8389
-
8390
- /***/ 486:
8391
  /***/ function(module, exports, __webpack_require__) {
8392
 
8393
- module.exports = __webpack_require__(482)
8394
 
8395
 
8396
  /***/ },
8397
-
8398
- /***/ 487:
8399
  /***/ function(module, exports, __webpack_require__) {
8400
 
8401
- module.exports = __webpack_require__(481)
8402
 
8403
 
8404
  /***/ },
8405
-
8406
- /***/ 488:
8407
  /***/ function(module, exports, __webpack_require__) {
8408
 
8409
- module.exports = __webpack_require__(484)
8410
 
8411
 
8412
  /***/ },
8413
-
8414
- /***/ 489:
8415
  /***/ function(module, exports, __webpack_require__) {
8416
 
8417
- module.exports = __webpack_require__(485)
8418
 
8419
 
8420
  /***/ },
8421
-
8422
- /***/ 490:
8423
  /***/ function(module, exports) {
8424
 
8425
  /* (ignored) */
8426
 
8427
  /***/ },
8428
-
8429
- /***/ 491:
8430
  /***/ function(module, exports, __webpack_require__) {
8431
 
8432
  'use strict';
8433
 
8434
- var Buffer = __webpack_require__(492).Buffer;
8435
 
8436
  var isEncoding = Buffer.isEncoding || function (encoding) {
8437
  encoding = '' + encoding;
@@ -8703,12 +9458,11 @@ webpackJsonp([0],{
8703
  }
8704
 
8705
  /***/ },
8706
-
8707
- /***/ 492:
8708
  /***/ function(module, exports, __webpack_require__) {
8709
 
8710
  /* eslint-disable node/no-deprecated-api */
8711
- var buffer = __webpack_require__(475)
8712
  var Buffer = buffer.Buffer
8713
 
8714
  // alternative to using Object.keys for old browsers
@@ -8772,8 +9526,7 @@ webpackJsonp([0],{
8772
 
8773
 
8774
  /***/ },
8775
-
8776
- /***/ 493:
8777
  /***/ function(module, exports, __webpack_require__) {
8778
 
8779
  module.exports = ProxyHandler;
@@ -8782,7 +9535,7 @@ webpackJsonp([0],{
8782
  this._cbs = cbs || {};
8783
  }
8784
 
8785
- var EVENTS = __webpack_require__(454).EVENTS;
8786
  Object.keys(EVENTS).forEach(function(name){
8787
  if(EVENTS[name] === 0){
8788
  name = "on" + name;
@@ -8805,19 +9558,18 @@ webpackJsonp([0],{
8805
  });
8806
 
8807
  /***/ },
8808
-
8809
- /***/ 494:
8810
  /***/ function(module, exports, __webpack_require__) {
8811
 
8812
  var DomUtils = module.exports;
8813
 
8814
  [
8815
- __webpack_require__(495),
8816
- __webpack_require__(501),
8817
- __webpack_require__(502),
8818
- __webpack_require__(503),
8819
- __webpack_require__(504),
8820
- __webpack_require__(505)
8821
  ].forEach(function(ext){
8822
  Object.keys(ext).forEach(function(key){
8823
  DomUtils[key] = ext[key].bind(DomUtils);
@@ -8826,12 +9578,11 @@ webpackJsonp([0],{
8826
 
8827
 
8828
  /***/ },
8829
-
8830
- /***/ 495:
8831
  /***/ function(module, exports, __webpack_require__) {
8832
 
8833
- var ElementType = __webpack_require__(465),
8834
- getOuterHTML = __webpack_require__(496),
8835
  isTag = ElementType.isTag;
8836
 
8837
  module.exports = {
@@ -8856,15 +9607,14 @@ webpackJsonp([0],{
8856
 
8857
 
8858
  /***/ },
8859
-
8860
- /***/ 496:
8861
  /***/ function(module, exports, __webpack_require__) {
8862
 
8863
  /*
8864
  Module dependencies
8865
  */
8866
- var ElementType = __webpack_require__(497);
8867
- var entities = __webpack_require__(498);
8868
 
8869
  /*
8870
  Boolean Attributes
@@ -9041,8 +9791,7 @@ webpackJsonp([0],{
9041
 
9042
 
9043
  /***/ },
9044
-
9045
- /***/ 497:
9046
  /***/ function(module, exports) {
9047
 
9048
  //Types of elements found in the DOM
@@ -9061,72 +9810,54 @@ webpackJsonp([0],{
9061
  };
9062
 
9063
  /***/ },
9064
-
9065
- /***/ 1:
9066
  /***/ function(module, exports, __webpack_require__) {
9067
 
9068
- 'use strict';
9069
-
9070
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
9071
-
9072
- var _react = __webpack_require__(2);
9073
-
9074
- var _react2 = _interopRequireDefault(_react);
9075
-
9076
- var _reactDom = __webpack_require__(34);
9077
-
9078
- var _reactDom2 = _interopRequireDefault(_reactDom);
9079
-
9080
- var _reactRouter = __webpack_require__(181);
9081
 
9082
- var _history = __webpack_require__(244);
 
 
9083
 
9084
- var _subscribersListJsx = __webpack_require__(274);
 
 
9085
 
9086
- var _subscribersListJsx2 = _interopRequireDefault(_subscribersListJsx);
 
 
9087
 
9088
- var _subscribersFormJsx = __webpack_require__(291);
9089
 
9090
- var _subscribersFormJsx2 = _interopRequireDefault(_subscribersFormJsx);
 
 
9091
 
9092
- var history = (0, _reactRouter.useRouterHistory)(_history.createHashHistory)({ queryKey: false });
 
9093
 
9094
- var App = _react2['default'].createClass({
9095
- displayName: 'App',
 
9096
 
9097
- render: function render() {
9098
- return this.props.children;
9099
- }
9100
- });
9101
 
9102
- var container = document.getElementById('subscribers_container');
9103
 
9104
- if (container) {
9105
- _reactDom2['default'].render(_react2['default'].createElement(
9106
- _reactRouter.Router,
9107
- { history: history },
9108
- _react2['default'].createElement(
9109
- _reactRouter.Route,
9110
- { path: '/', component: App },
9111
- _react2['default'].createElement(_reactRouter.IndexRoute, { component: _subscribersListJsx2['default'] }),
9112
- _react2['default'].createElement(_reactRouter.Route, { path: 'new', component: _subscribersFormJsx2['default'] }),
9113
- _react2['default'].createElement(_reactRouter.Route, { path: 'edit/:id', component: _subscribersFormJsx2['default'] }),
9114
- _react2['default'].createElement(_reactRouter.Route, { path: '*', component: _subscribersListJsx2['default'] })
9115
- )
9116
- ), container);
9117
- }
9118
 
9119
  /***/ },
9120
-
9121
- /***/ 499:
9122
  /***/ function(module, exports, __webpack_require__) {
9123
 
9124
- var inverseXML = getInverseObj(__webpack_require__(461)),
9125
  xmlReplacer = getInverseReplacer(inverseXML);
9126
 
9127
  exports.XML = getInverse(inverseXML, xmlReplacer);
9128
 
9129
- var inverseHTML = getInverseObj(__webpack_require__(459)),
9130
  htmlReplacer = getInverseReplacer(inverseHTML);
9131
 
9132
  exports.HTML = getInverse(inverseHTML, htmlReplacer);
@@ -9197,14 +9928,13 @@ webpackJsonp([0],{
9197
 
9198
 
9199
  /***/ },
9200
-
9201
- /***/ 500:
9202
  /***/ function(module, exports, __webpack_require__) {
9203
 
9204
- var entityMap = __webpack_require__(459),
9205
- legacyMap = __webpack_require__(460),
9206
- xmlMap = __webpack_require__(461),
9207
- decodeCodePoint = __webpack_require__(457);
9208
 
9209
  var decodeXMLStrict = getStrictDecoder(xmlMap),
9210
  decodeHTMLStrict = getStrictDecoder(entityMap);
@@ -9275,8 +10005,7 @@ webpackJsonp([0],{
9275
  };
9276
 
9277
  /***/ },
9278
-
9279
- /***/ 501:
9280
  /***/ function(module, exports) {
9281
 
9282
  var getChildren = exports.getChildren = function(elem){
@@ -9306,8 +10035,7 @@ webpackJsonp([0],{
9306
 
9307
 
9308
  /***/ },
9309
-
9310
- /***/ 502:
9311
  /***/ function(module, exports) {
9312
 
9313
  exports.removeElement = function(elem){
@@ -9390,11 +10118,10 @@ webpackJsonp([0],{
9390
 
9391
 
9392
  /***/ },
9393
-
9394
- /***/ 503:
9395
  /***/ function(module, exports, __webpack_require__) {
9396
 
9397
- var isTag = __webpack_require__(465).isTag;
9398
 
9399
  module.exports = {
9400
  filter: filter,
@@ -9496,11 +10223,10 @@ webpackJsonp([0],{
9496
 
9497
 
9498
  /***/ },
9499
-
9500
- /***/ 504:
9501
  /***/ function(module, exports, __webpack_require__) {
9502
 
9503
- var ElementType = __webpack_require__(465);
9504
  var isTag = exports.isTag = ElementType.isTag;
9505
 
9506
  exports.testElement = function(options, element){
@@ -9590,8 +10316,7 @@ webpackJsonp([0],{
9590
 
9591
 
9592
  /***/ },
9593
-
9594
- /***/ 505:
9595
  /***/ function(module, exports) {
9596
 
9597
  // removeSubsets
@@ -9738,8 +10463,7 @@ webpackJsonp([0],{
9738
 
9739
 
9740
  /***/ },
9741
-
9742
- /***/ 506:
9743
  /***/ function(module, exports, __webpack_require__) {
9744
 
9745
  module.exports = CollectingHandler;
@@ -9749,7 +10473,7 @@ webpackJsonp([0],{
9749
  this.events = [];
9750
  }
9751
 
9752
- var EVENTS = __webpack_require__(454).EVENTS;
9753
  Object.keys(EVENTS).forEach(function(name){
9754
  if(EVENTS[name] === 0){
9755
  name = "on" + name;
@@ -9800,8 +10524,7 @@ webpackJsonp([0],{
9800
 
9801
 
9802
  /***/ },
9803
-
9804
- /***/ 507:
9805
  /***/ function(module, exports, __webpack_require__) {
9806
 
9807
  'use strict';
@@ -9811,7 +10534,7 @@ webpackJsonp([0],{
9811
  });
9812
  exports.default = ProcessNodes;
9813
 
9814
- var _elementTypes = __webpack_require__(508);
9815
 
9816
  var _elementTypes2 = _interopRequireDefault(_elementTypes);
9817
 
@@ -9854,8 +10577,7 @@ webpackJsonp([0],{
9854
  }
9855
 
9856
  /***/ },
9857
-
9858
- /***/ 508:
9859
  /***/ function(module, exports, __webpack_require__) {
9860
 
9861
  'use strict';
@@ -9866,21 +10588,21 @@ webpackJsonp([0],{
9866
 
9867
  var _ElementType$Text$Ele;
9868
 
9869
- var _htmlparser = __webpack_require__(454);
9870
 
9871
- var _TextElementType = __webpack_require__(509);
9872
 
9873
  var _TextElementType2 = _interopRequireDefault(_TextElementType);
9874
 
9875
- var _TagElementType = __webpack_require__(510);
9876
 
9877
  var _TagElementType2 = _interopRequireDefault(_TagElementType);
9878
 
9879
- var _StyleElementType = __webpack_require__(518);
9880
 
9881
  var _StyleElementType2 = _interopRequireDefault(_StyleElementType);
9882
 
9883
- var _UnsupportedElementType = __webpack_require__(519);
9884
 
9885
  var _UnsupportedElementType2 = _interopRequireDefault(_UnsupportedElementType);
9886
 
@@ -9895,8 +10617,7 @@ webpackJsonp([0],{
9895
  exports.default = (_ElementType$Text$Ele = {}, _defineProperty(_ElementType$Text$Ele, _htmlparser.ElementType.Text, _TextElementType2.default), _defineProperty(_ElementType$Text$Ele, _htmlparser.ElementType.Tag, _TagElementType2.default), _defineProperty(_ElementType$Text$Ele, _htmlparser.ElementType.Style, _StyleElementType2.default), _defineProperty(_ElementType$Text$Ele, _htmlparser.ElementType.Directive, _UnsupportedElementType2.default), _defineProperty(_ElementType$Text$Ele, _htmlparser.ElementType.Comment, _UnsupportedElementType2.default), _defineProperty(_ElementType$Text$Ele, _htmlparser.ElementType.Script, _UnsupportedElementType2.default), _defineProperty(_ElementType$Text$Ele, _htmlparser.ElementType.CDATA, _UnsupportedElementType2.default), _defineProperty(_ElementType$Text$Ele, _htmlparser.ElementType.Doctype, _UnsupportedElementType2.default), _ElementType$Text$Ele);
9896
 
9897
  /***/ },
9898
-
9899
- /***/ 509:
9900
  /***/ function(module, exports) {
9901
 
9902
  "use strict";
@@ -9918,8 +10639,7 @@ webpackJsonp([0],{
9918
  }
9919
 
9920
  /***/ },
9921
-
9922
- /***/ 510:
9923
  /***/ function(module, exports, __webpack_require__) {
9924
 
9925
  'use strict';
@@ -9933,19 +10653,19 @@ webpackJsonp([0],{
9933
 
9934
  var _react2 = _interopRequireDefault(_react);
9935
 
9936
- var _ProcessNodes = __webpack_require__(507);
9937
 
9938
  var _ProcessNodes2 = _interopRequireDefault(_ProcessNodes);
9939
 
9940
- var _GeneratePropsFromAttributes = __webpack_require__(511);
9941
 
9942
  var _GeneratePropsFromAttributes2 = _interopRequireDefault(_GeneratePropsFromAttributes);
9943
 
9944
- var _TransformTagName = __webpack_require__(516);
9945
 
9946
  var _TransformTagName2 = _interopRequireDefault(_TransformTagName);
9947
 
9948
- var _VoidElements = __webpack_require__(517);
9949
 
9950
  var _VoidElements2 = _interopRequireDefault(_VoidElements);
9951
 
@@ -9977,8 +10697,7 @@ webpackJsonp([0],{
9977
  }
9978
 
9979
  /***/ },
9980
-
9981
- /***/ 511:
9982
  /***/ function(module, exports, __webpack_require__) {
9983
 
9984
  'use strict';
@@ -9991,11 +10710,11 @@ webpackJsonp([0],{
9991
 
9992
  exports.default = GeneratePropsFromAttributes;
9993
 
9994
- var _HtmlAttributesToReact = __webpack_require__(512);
9995
 
9996
  var _HtmlAttributesToReact2 = _interopRequireDefault(_HtmlAttributesToReact);
9997
 
9998
- var _InlineStyleToObject = __webpack_require__(515);
9999
 
10000
  var _InlineStyleToObject2 = _interopRequireDefault(_InlineStyleToObject);
10001
 
@@ -10021,8 +10740,7 @@ webpackJsonp([0],{
10021
  }
10022
 
10023
  /***/ },
10024
-
10025
- /***/ 512:
10026
  /***/ function(module, exports, __webpack_require__) {
10027
 
10028
  'use strict';
@@ -10032,11 +10750,11 @@ webpackJsonp([0],{
10032
  });
10033
  exports.default = HtmlAttributesToReact;
10034
 
10035
- var _BooleanAttributes = __webpack_require__(513);
10036
 
10037
  var _BooleanAttributes2 = _interopRequireDefault(_BooleanAttributes);
10038
 
10039
- var _ReactAttributes = __webpack_require__(514);
10040
 
10041
  var _ReactAttributes2 = _interopRequireDefault(_ReactAttributes);
10042
 
@@ -10088,8 +10806,7 @@ webpackJsonp([0],{
10088
  }
10089
 
10090
  /***/ },
10091
-
10092
- /***/ 513:
10093
  /***/ function(module, exports) {
10094
 
10095
  'use strict';
@@ -10108,8 +10825,7 @@ webpackJsonp([0],{
10108
  exports.default = ['allowfullScreen', 'async', 'autoplay', 'capture', 'checked', 'controls', 'default', 'defer', 'disabled', 'formnovalidate', 'hidden', 'loop', 'multiple', 'muted', 'novalidate', 'open', 'readonly', 'required', 'reversed', 'scoped', 'seamless', 'selected', 'itemscope'];
10109
 
10110
  /***/ },
10111
-
10112
- /***/ 514:
10113
  /***/ function(module, exports) {
10114
 
10115
  'use strict';
@@ -10277,8 +10993,7 @@ webpackJsonp([0],{
10277
  };
10278
 
10279
  /***/ },
10280
-
10281
- /***/ 515:
10282
  /***/ function(module, exports) {
10283
 
10284
  'use strict';
@@ -10341,8 +11056,7 @@ webpackJsonp([0],{
10341
  }
10342
 
10343
  /***/ },
10344
-
10345
- /***/ 516:
10346
  /***/ function(module, exports) {
10347
 
10348
  'use strict';
@@ -10372,8 +11086,7 @@ webpackJsonp([0],{
10372
  }
10373
 
10374
  /***/ },
10375
-
10376
- /***/ 517:
10377
  /***/ function(module, exports) {
10378
 
10379
  'use strict';
@@ -10389,8 +11102,7 @@ webpackJsonp([0],{
10389
  exports.default = ['area', 'base', 'br', 'col', 'command', 'embed', 'hr', 'img', 'input', 'keygen', 'link', 'meta', 'param', 'source', 'track', 'wbr'];
10390
 
10391
  /***/ },
10392
-
10393
- /***/ 518:
10394
  /***/ function(module, exports, __webpack_require__) {
10395
 
10396
  'use strict';
@@ -10404,7 +11116,7 @@ webpackJsonp([0],{
10404
 
10405
  var _react2 = _interopRequireDefault(_react);
10406
 
10407
- var _GeneratePropsFromAttributes = __webpack_require__(511);
10408
 
10409
  var _GeneratePropsFromAttributes2 = _interopRequireDefault(_GeneratePropsFromAttributes);
10410
 
@@ -10434,8 +11146,7 @@ webpackJsonp([0],{
10434
  }
10435
 
10436
  /***/ },
10437
-
10438
- /***/ 519:
10439
  /***/ function(module, exports) {
10440
 
10441
  "use strict";
@@ -10456,15 +11167,14 @@ webpackJsonp([0],{
10456
  }
10457
 
10458
  /***/ },
10459
-
10460
- /***/ 520:
10461
  /***/ function(module, exports, __webpack_require__) {
10462
 
10463
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
10464
 
10465
  var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
10466
 
10467
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(2), __webpack_require__(181), __webpack_require__(280), __webpack_require__(276), __webpack_require__(293), __webpack_require__(525), __webpack_require__(521), __webpack_require__(526), __webpack_require__(434), __webpack_require__(438), __webpack_require__(275), __webpack_require__(529)], __WEBPACK_AMD_DEFINE_RESULT__ = function (React, Router, _, MailPoet, Form, StandardNewsletterFields, NotificationNewsletterFields, WelcomeNewsletterFields, Breadcrumb, HelpTooltip, jQuery, html2canvas) {
10468
  var NewsletterSend = React.createClass({
10469
  displayName: 'NewsletterSend',
10470
 
@@ -10832,13 +11542,12 @@ webpackJsonp([0],{
10832
  }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
10833
 
10834
  /***/ },
10835
-
10836
- /***/ 521:
10837
  /***/ function(module, exports, __webpack_require__) {
10838
 
10839
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
10840
 
10841
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(276), __webpack_require__(431), __webpack_require__(522), __webpack_require__(280)], __WEBPACK_AMD_DEFINE_RESULT__ = function (MailPoet, Hooks, Scheduling, _) {
10842
  var fields = [{
10843
  name: 'subject',
10844
  label: MailPoet.I18n.t('subjectLine'),
@@ -10932,8 +11641,7 @@ webpackJsonp([0],{
10932
  }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
10933
 
10934
  /***/ },
10935
-
10936
- /***/ 522:
10937
  /***/ function(module, exports, __webpack_require__) {
10938
 
10939
  'use strict';
@@ -10952,7 +11660,7 @@ webpackJsonp([0],{
10952
 
10953
  var _formFieldsSelectJsx2 = _interopRequireDefault(_formFieldsSelectJsx);
10954
 
10955
- var _newslettersSchedulingCommonJsx = __webpack_require__(523);
10956
 
10957
  var intervalField = {
10958
  name: 'intervalType',
@@ -11066,8 +11774,9 @@ webpackJsonp([0],{
11066
  module.exports = NotificationScheduling;
11067
 
11068
  /***/ },
11069
-
11070
- /***/ 525:
 
11071
  /***/ function(module, exports, __webpack_require__) {
11072
 
11073
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
@@ -11455,13 +12164,12 @@ webpackJsonp([0],{
11455
  }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
11456
 
11457
  /***/ },
11458
-
11459
- /***/ 526:
11460
  /***/ function(module, exports, __webpack_require__) {
11461
 
11462
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
11463
 
11464
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(276), __webpack_require__(431), __webpack_require__(527)], __WEBPACK_AMD_DEFINE_RESULT__ = function (MailPoet, Hooks, Scheduling) {
11465
  var fields = [{
11466
  name: 'subject',
11467
  label: MailPoet.I18n.t('subjectLine'),
@@ -11527,16 +12235,16 @@ webpackJsonp([0],{
11527
  }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
11528
 
11529
  /***/ },
11530
-
11531
- /***/ 529:
 
11532
  /***/ function(module, exports, __webpack_require__) {
11533
 
11534
- /* WEBPACK VAR INJECTION */(function(global) {module.exports = global["html2canvas"] = __webpack_require__(530);
11535
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
11536
 
11537
  /***/ },
11538
-
11539
- /***/ 530:
11540
  /***/ function(module, exports, __webpack_require__) {
11541
 
11542
  var require;var require;/* WEBPACK VAR INJECTION */(function(global) {/*
@@ -16076,8 +16784,7 @@ webpackJsonp([0],{
16076
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
16077
 
16078
  /***/ },
16079
-
16080
- /***/ 531:
16081
  /***/ function(module, exports, __webpack_require__) {
16082
 
16083
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
@@ -16131,13 +16838,12 @@ webpackJsonp([0],{
16131
  }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
16132
 
16133
  /***/ },
16134
-
16135
- /***/ 532:
16136
  /***/ function(module, exports, __webpack_require__) {
16137
 
16138
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
16139
 
16140
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(280), __webpack_require__(2), __webpack_require__(181), __webpack_require__(276), __webpack_require__(522), __webpack_require__(434)], __WEBPACK_AMD_DEFINE_RESULT__ = function (_, React, Router, MailPoet, Scheduling, Breadcrumb) {
16141
  var field = {
16142
  name: 'options',
16143
  type: 'reactComponent',
@@ -16226,8 +16932,11 @@ webpackJsonp([0],{
16226
  }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
16227
 
16228
  /***/ },
16229
-
16230
- /***/ 537:
 
 
 
16231
  /***/ function(module, exports, __webpack_require__) {
16232
 
16233
  'use strict';
@@ -16240,7 +16949,7 @@ webpackJsonp([0],{
16240
 
16241
  var _reactRouter = __webpack_require__(181);
16242
 
16243
- var _reactConfirmAlert = __webpack_require__(437);
16244
 
16245
  var _classnames = __webpack_require__(277);
16246
 
@@ -16258,11 +16967,11 @@ webpackJsonp([0],{
16258
 
16259
  var _listingListingJsx2 = _interopRequireDefault(_listingListingJsx);
16260
 
16261
- var _newslettersListingsTabsJsx = __webpack_require__(538);
16262
 
16263
  var _newslettersListingsTabsJsx2 = _interopRequireDefault(_newslettersListingsTabsJsx);
16264
 
16265
- var _newslettersListingsMixinsJsx = __webpack_require__(539);
16266
 
16267
  var mailpoetTrackingEnabled = !!window.mailpoet_tracking_enabled;
16268
 
@@ -16491,8 +17200,7 @@ webpackJsonp([0],{
16491
  module.exports = NewsletterListStandard;
16492
 
16493
  /***/ },
16494
-
16495
- /***/ 538:
16496
  /***/ function(module, exports, __webpack_require__) {
16497
 
16498
  'use strict';
@@ -16565,8 +17273,7 @@ webpackJsonp([0],{
16565
  module.exports = ListingTabs;
16566
 
16567
  /***/ },
16568
-
16569
- /***/ 539:
16570
  /***/ function(module, exports, __webpack_require__) {
16571
 
16572
  'use strict';
@@ -16611,7 +17318,7 @@ webpackJsonp([0],{
16611
 
16612
  var _wpJsHooks2 = _interopRequireDefault(_wpJsHooks);
16613
 
16614
- var _newslettersBadgesStatsJsx = __webpack_require__(540);
16615
 
16616
  var _newslettersBadgesStatsJsx2 = _interopRequireDefault(_newslettersBadgesStatsJsx);
16617
 
@@ -17074,8 +17781,10 @@ webpackJsonp([0],{
17074
  exports.MailerMixin = MailerMixin;
17075
 
17076
  /***/ },
17077
-
17078
- /***/ 543:
 
 
17079
  /***/ function(module, exports, __webpack_require__) {
17080
 
17081
  'use strict';
@@ -17092,11 +17801,11 @@ webpackJsonp([0],{
17092
 
17093
  var _listingListingJsx2 = _interopRequireDefault(_listingListingJsx);
17094
 
17095
- var _newslettersListingsTabsJsx = __webpack_require__(538);
17096
 
17097
  var _newslettersListingsTabsJsx2 = _interopRequireDefault(_newslettersListingsTabsJsx);
17098
 
17099
- var _newslettersListingsMixinsJsx = __webpack_require__(539);
17100
 
17101
  var _classnames = __webpack_require__(277);
17102
 
@@ -17428,8 +18137,7 @@ webpackJsonp([0],{
17428
  module.exports = NewsletterListWelcome;
17429
 
17430
  /***/ },
17431
-
17432
- /***/ 544:
17433
  /***/ function(module, exports, __webpack_require__) {
17434
 
17435
  'use strict';
@@ -17446,11 +18154,11 @@ webpackJsonp([0],{
17446
 
17447
  var _listingListingJsx2 = _interopRequireDefault(_listingListingJsx);
17448
 
17449
- var _newslettersListingsTabsJsx = __webpack_require__(538);
17450
 
17451
  var _newslettersListingsTabsJsx2 = _interopRequireDefault(_newslettersListingsTabsJsx);
17452
 
17453
- var _newslettersListingsMixinsJsx = __webpack_require__(539);
17454
 
17455
  var _classnames = __webpack_require__(277);
17456
 
@@ -17460,7 +18168,7 @@ webpackJsonp([0],{
17460
 
17461
  var _mailpoet2 = _interopRequireDefault(_mailpoet);
17462
 
17463
- var _newslettersSchedulingCommonJsx = __webpack_require__(523);
17464
 
17465
  var messages = {
17466
  onTrash: function onTrash(response) {
@@ -17776,8 +18484,7 @@ webpackJsonp([0],{
17776
  module.exports = NewsletterListNotification;
17777
 
17778
  /***/ },
17779
-
17780
- /***/ 545:
17781
  /***/ function(module, exports, __webpack_require__) {
17782
 
17783
  'use strict';
@@ -17806,11 +18513,11 @@ webpackJsonp([0],{
17806
 
17807
  var _listingListingJsx2 = _interopRequireDefault(_listingListingJsx);
17808
 
17809
- var _newslettersListingsTabsJsx = __webpack_require__(538);
17810
 
17811
  var _newslettersListingsTabsJsx2 = _interopRequireDefault(_newslettersListingsTabsJsx);
17812
 
17813
- var _newslettersListingsMixinsJsx = __webpack_require__(539);
17814
 
17815
  var mailpoetTrackingEnabled = !!window.mailpoet_tracking_enabled;
17816
 
@@ -17945,8 +18652,7 @@ webpackJsonp([0],{
17945
  module.exports = NewsletterListNotificationHistory;
17946
 
17947
  /***/ },
17948
-
17949
- /***/ 546:
17950
  /***/ function(module, exports, __webpack_require__) {
17951
 
17952
  'use strict';
@@ -17965,11 +18671,11 @@ webpackJsonp([0],{
17965
 
17966
  var _history = __webpack_require__(244);
17967
 
17968
- var _segmentsListJsx = __webpack_require__(547);
17969
 
17970
  var _segmentsListJsx2 = _interopRequireDefault(_segmentsListJsx);
17971
 
17972
- var _segmentsFormJsx = __webpack_require__(548);
17973
 
17974
  var _segmentsFormJsx2 = _interopRequireDefault(_segmentsFormJsx);
17975
 
@@ -18001,8 +18707,7 @@ webpackJsonp([0],{
18001
  }
18002
 
18003
  /***/ },
18004
-
18005
- /***/ 547:
18006
  /***/ function(module, exports, __webpack_require__) {
18007
 
18008
  'use strict';
@@ -18321,19 +19026,17 @@ webpackJsonp([0],{
18321
  module.exports = SegmentList;
18322
 
18323
  /***/ },
18324
-
18325
- /***/ 548:
18326
  /***/ function(module, exports, __webpack_require__) {
18327
 
18328
  /* WEBPACK VAR INJECTION */(function(global) {"use strict";
18329
 
18330
  if (!global["MailPoetLib"]) global["MailPoetLib"] = {};
18331
- module.exports = global["MailPoetLib"]["Form"] = __webpack_require__(549);
18332
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
18333
 
18334
  /***/ },
18335
-
18336
- /***/ 549:
18337
  /***/ function(module, exports, __webpack_require__) {
18338
 
18339
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
@@ -18395,8 +19098,7 @@ webpackJsonp([0],{
18395
  }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
18396
 
18397
  /***/ },
18398
-
18399
- /***/ 550:
18400
  /***/ function(module, exports, __webpack_require__) {
18401
 
18402
  'use strict';
@@ -18415,7 +19117,7 @@ webpackJsonp([0],{
18415
 
18416
  var _history = __webpack_require__(244);
18417
 
18418
- var _listJsx = __webpack_require__(551);
18419
 
18420
  var _listJsx2 = _interopRequireDefault(_listJsx);
18421
 
@@ -18445,8 +19147,7 @@ webpackJsonp([0],{
18445
  }
18446
 
18447
  /***/ },
18448
-
18449
- /***/ 551:
18450
  /***/ function(module, exports, __webpack_require__) {
18451
 
18452
  'use strict';
@@ -18677,12 +19378,11 @@ webpackJsonp([0],{
18677
  module.exports = FormList;
18678
 
18679
  /***/ },
18680
-
18681
- /***/ 552:
18682
  /***/ function(module, exports, __webpack_require__) {
18683
 
18684
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
18685
- __webpack_require__(553),
18686
  __webpack_require__(275),
18687
  __webpack_require__(276)
18688
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function ( // eslint-disable-line func-names
@@ -18770,16 +19470,14 @@ webpackJsonp([0],{
18770
 
18771
 
18772
  /***/ },
18773
-
18774
- /***/ 553:
18775
  /***/ function(module, exports, __webpack_require__) {
18776
 
18777
- /* WEBPACK VAR INJECTION */(function(global) {module.exports = global["Backbone"] = __webpack_require__(554);
18778
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
18779
 
18780
  /***/ },
18781
-
18782
- /***/ 554:
18783
  /***/ function(module, exports, __webpack_require__) {
18784
 
18785
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(global) {// Backbone.js 1.3.3
@@ -20706,8 +21404,7 @@ webpackJsonp([0],{
20706
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
20707
 
20708
  /***/ },
20709
-
20710
- /***/ 555:
20711
  /***/ function(module, exports, __webpack_require__) {
20712
 
20713
  'use strict';
@@ -20726,15 +21423,15 @@ webpackJsonp([0],{
20726
 
20727
  var _history = __webpack_require__(244);
20728
 
20729
- var _helpSystem_statusJsx = __webpack_require__(556);
20730
 
20731
  var _helpSystem_statusJsx2 = _interopRequireDefault(_helpSystem_statusJsx);
20732
 
20733
- var _helpSystem_infoJsx = __webpack_require__(558);
20734
 
20735
  var _helpSystem_infoJsx2 = _interopRequireDefault(_helpSystem_infoJsx);
20736
 
20737
- var _helpKnowledge_baseJsx = __webpack_require__(559);
20738
 
20739
  var _helpKnowledge_baseJsx2 = _interopRequireDefault(_helpKnowledge_baseJsx);
20740
 
@@ -20767,8 +21464,7 @@ webpackJsonp([0],{
20767
  /* Pages */
20768
 
20769
  /***/ },
20770
-
20771
- /***/ 556:
20772
  /***/ function(module, exports, __webpack_require__) {
20773
 
20774
  'use strict';
@@ -20787,7 +21483,7 @@ webpackJsonp([0],{
20787
 
20788
  var _reactStringReplace2 = _interopRequireDefault(_reactStringReplace);
20789
 
20790
- var _tabsJsx = __webpack_require__(557);
20791
 
20792
  var _tabsJsx2 = _interopRequireDefault(_tabsJsx);
20793
 
@@ -20881,8 +21577,7 @@ webpackJsonp([0],{
20881
  module.exports = SystemStatus;
20882
 
20883
  /***/ },
20884
-
20885
- /***/ 557:
20886
  /***/ function(module, exports, __webpack_require__) {
20887
 
20888
  'use strict';
@@ -20945,8 +21640,7 @@ webpackJsonp([0],{
20945
  module.exports = Tabs;
20946
 
20947
  /***/ },
20948
-
20949
- /***/ 558:
20950
  /***/ function(module, exports, __webpack_require__) {
20951
 
20952
  'use strict';
@@ -20965,7 +21659,7 @@ webpackJsonp([0],{
20965
 
20966
  var _underscore2 = _interopRequireDefault(_underscore);
20967
 
20968
- var _tabsJsx = __webpack_require__(557);
20969
 
20970
  var _tabsJsx2 = _interopRequireDefault(_tabsJsx);
20971
 
@@ -21018,8 +21712,7 @@ webpackJsonp([0],{
21018
  module.exports = SystemInfo;
21019
 
21020
  /***/ },
21021
-
21022
- /***/ 559:
21023
  /***/ function(module, exports, __webpack_require__) {
21024
 
21025
  'use strict';
@@ -21034,7 +21727,7 @@ webpackJsonp([0],{
21034
 
21035
  var _mailpoet2 = _interopRequireDefault(_mailpoet);
21036
 
21037
- var _tabsJsx = __webpack_require__(557);
21038
 
21039
  var _tabsJsx2 = _interopRequireDefault(_tabsJsx);
21040
 
@@ -21135,8 +21828,7 @@ webpackJsonp([0],{
21135
  module.exports = KnowledgeBase;
21136
 
21137
  /***/ },
21138
-
21139
- /***/ 560:
21140
  /***/ function(module, exports, __webpack_require__) {
21141
 
21142
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
@@ -21183,19 +21875,18 @@ webpackJsonp([0],{
21183
 
21184
 
21185
  /***/ },
21186
-
21187
- /***/ 561:
21188
  /***/ function(module, exports, __webpack_require__) {
21189
 
21190
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disable func-names */
21191
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
21192
- __webpack_require__(553),
21193
  __webpack_require__(280),
21194
  __webpack_require__(275),
21195
  __webpack_require__(276),
21196
- __webpack_require__(562),
21197
- __webpack_require__(563),
21198
- __webpack_require__(564),
21199
  __webpack_require__(303)
21200
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (
21201
  Backbone,
@@ -21398,7 +22089,8 @@ webpackJsonp([0],{
21398
  if (emailColumnPosition === null
21399
  && window.emailRegex.test(emailAddress)) {
21400
  emailColumnPosition = column;
21401
- parsedEmails[emailAddress] = true; // add current e-mail to an object index
 
21402
  rowData[column] = emailAddress;
21403
  processedSubscribers[emailAddress] = rowData;
21404
  }
@@ -21432,9 +22124,13 @@ webpackJsonp([0],{
21432
  processedSubscribers = _.values(processedSubscribers);
21433
  // if the header options is set, there should be at least
21434
  // 2 data rows, otherwise at least 1 data row
21435
- if (processedSubscribers &&
21436
- (isHeaderFound && processedSubscribers.length >= 2) ||
21437
- (!isHeaderFound && processedSubscribers.length >= 1)
 
 
 
 
21438
  ) {
21439
  // since we assume that the header line is always present, we need
21440
  // to detect the header by checking if it contains a valid e-mail address
@@ -21799,7 +22495,7 @@ webpackJsonp([0],{
21799
  template: jQuery('#new_segment_template').html()
21800
  });
21801
  jQuery('#new_segment_name').keypress(function (e) {
21802
- if (e.which == 13) {
21803
  jQuery('#new_segment_process').click();
21804
  }
21805
  });
@@ -21950,7 +22646,12 @@ webpackJsonp([0],{
21950
  var columnId = jQuery(element).data('column-id');
21951
  var validationRule = jQuery(element).data('validation-rule');
21952
  jQuery(element).val(columnId).trigger('change');
21953
- return { id: columnId, index: elementIndex, validationRule: validationRule, element: element };
 
 
 
 
 
21954
  });
21955
  // iterate through the object of mailpoet columns
21956
  jQuery.map(window.mailpoetColumns, function (column) {
@@ -21961,7 +22662,10 @@ webpackJsonp([0],{
21961
  var allowedDateFormats;
21962
  // check if the column id matches the selected id of one of the
21963
  // subscriber's data columns
21964
- var matchedColumn = _.find(displayedColumns, function (data) { return data.id === column.id; });
 
 
 
21965
  // EMAIL filter: if the first value in the column doesn't have a valid
21966
  // email, hide the next button
21967
  if (column.id === 'email') {
@@ -22161,7 +22865,8 @@ webpackJsonp([0],{
22161
  .each(function () {
22162
  var element = this;
22163
  var elementId = jQuery(element).val();
22164
- // if another column has the same value and it's not an 'ignore', prompt user
 
22165
  if (elementId === selectedOptionId
22166
  && elementId !== 'ignore') {
22167
  if (confirm(MailPoet.I18n.t('selectedValueAlreadyMatched') + ' ' + MailPoet.I18n.t('confirmCorrespondingColumn'))) {
@@ -22244,7 +22949,8 @@ webpackJsonp([0],{
22244
  clickImportResults.created += response.data.created;
22245
  clickImportResults.updated += response.data.updated;
22246
  clickImportResults.segments = response.data.segments;
22247
- clickImportResults.added_to_segment_with_welcome_notification = response.data.added_to_segment_with_welcome_notification;
 
22248
  addQueue.run();
22249
  }).fail(function (response) {
22250
  MailPoet.Modal.loading(false);
@@ -22255,7 +22961,7 @@ webpackJsonp([0],{
22255
  );
22256
  }
22257
  });
22258
- batchNumber++;
22259
  });
22260
  });
22261
 
@@ -22263,7 +22969,11 @@ webpackJsonp([0],{
22263
 
22264
  queue.onComplete(function () {
22265
  MailPoet.Modal.loading(false);
22266
- if (clickImportResults.errors.length > 0 && !clickImportResults.updated && !clickImportResults.created) {
 
 
 
 
22267
  MailPoet.Notice.error(_.flatten(clickImportResults.errors)
22268
  );
22269
  }
@@ -22321,7 +23031,8 @@ webpackJsonp([0],{
22321
  .replace('%2$s', '"' + window.importData.step2.segments.join('", "') + '"')
22322
  : false,
22323
  no_action: (!window.importData.step2.created && !window.importData.step2.updated),
22324
- added_to_segment_with_welcome_notification: window.importData.step2.added_to_segment_with_welcome_notification
 
22325
  };
22326
 
22327
  jQuery('#subscribers_data_import_results')
@@ -22355,8 +23066,8 @@ webpackJsonp([0],{
22355
 
22356
 
22357
  /***/ },
22358
-
22359
- /***/ 563:
22360
  /***/ function(module, exports) {
22361
 
22362
  /*!
@@ -22367,8 +23078,7 @@ webpackJsonp([0],{
22367
  !function(e){"use strict";function t(t,r){if(r=r||{},r.worker&&w.WORKERS_SUPPORTED){var n=h();return n.userStep=r.step,n.userChunk=r.chunk,n.userComplete=r.complete,n.userError=r.error,r.step=m(r.step),r.chunk=m(r.chunk),r.complete=m(r.complete),r.error=m(r.error),delete r.worker,void n.postMessage({input:t,config:r,workerId:n.id})}var o=null;return"string"==typeof t?o=r.download?new i(r):new a(r):(e.File&&t instanceof File||t instanceof Object)&&(o=new s(r)),o.stream(t)}function r(e,t){function r(){"object"==typeof t&&("string"==typeof t.delimiter&&1==t.delimiter.length&&-1==w.BAD_DELIMITERS.indexOf(t.delimiter)&&(u=t.delimiter),("boolean"==typeof t.quotes||t.quotes instanceof Array)&&(o=t.quotes),"string"==typeof t.newline&&(f=t.newline))}function n(e){if("object"!=typeof e)return[];var t=[];for(var r in e)t.push(r);return t}function i(e,t){var r="";"string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t));var n=e instanceof Array&&e.length>0,i=!(t[0]instanceof Array);if(n){for(var a=0;a<e.length;a++)a>0&&(r+=u),r+=s(e[a],a);t.length>0&&(r+=f)}for(var o=0;o<t.length;o++){for(var h=n?e.length:t[o].length,d=0;h>d;d++){d>0&&(r+=u);var c=n&&i?e[d]:d;r+=s(t[o][c],d)}o<t.length-1&&(r+=f)}return r}function s(e,t){if("undefined"==typeof e||null===e)return"";e=e.toString().replace(/"/g,'""');var r="boolean"==typeof o&&o||o instanceof Array&&o[t]||a(e,w.BAD_DELIMITERS)||e.indexOf(u)>-1||" "==e.charAt(0)||" "==e.charAt(e.length-1);return r?'"'+e+'"':e}function a(e,t){for(var r=0;r<t.length;r++)if(e.indexOf(t[r])>-1)return!0;return!1}var o=!1,u=",",f="\r\n";if(r(),"string"==typeof e&&(e=JSON.parse(e)),e instanceof Array){if(!e.length||e[0]instanceof Array)return i(null,e);if("object"==typeof e[0])return i(n(e[0]),e)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),e.data instanceof Array&&(e.fields||(e.fields=e.data[0]instanceof Array?e.fields:n(e.data[0])),e.data[0]instanceof Array||"object"==typeof e.data[0]||(e.data=[e.data])),i(e.fields||[],e.data||[]);throw"exception: Unable to serialize unrecognized input"}function n(t){function r(e){var t=_(e);t.chunkSize=parseInt(t.chunkSize),this._handle=new o(t),this._handle.streamer=this,this._config=t}this._handle=null,this._paused=!1,this._finished=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this._completeResults={data:[],errors:[],meta:{}},r.call(this,t),this.parseChunk=function(t){var r=this._partialLine+t;this._partialLine="";var n=this._handle.parse(r,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var i=n.meta.cursor;this._finished||(this._partialLine=r.substring(i-this._baseIndex),this._baseIndex=i),n&&n.data&&(this._rowCount+=n.data.length);var s=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(k)e.postMessage({results:n,workerId:w.WORKER_ID,finished:s});else if(m(this._config.chunk)){if(this._config.chunk(n,this._handle),this._paused)return;n=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(n.data),this._completeResults.errors=this._completeResults.errors.concat(n.errors),this._completeResults.meta=n.meta),!s||!m(this._config.complete)||n&&n.meta.aborted||this._config.complete(this._completeResults),s||n&&n.meta.paused||this._nextChunk(),n}},this._sendError=function(t){m(this._config.error)?this._config.error(t):k&&this._config.error&&e.postMessage({workerId:w.WORKER_ID,error:t,finished:!1})}}function i(e){function t(e){var t=e.getResponseHeader("Content-Range");return parseInt(t.substr(t.lastIndexOf("/")+1))}e=e||{},e.chunkSize||(e.chunkSize=w.RemoteChunkSize),n.call(this,e);var r;this._nextChunk=k?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)return void this._chunkLoaded();if(r=new XMLHttpRequest,k||(r.onload=g(this._chunkLoaded,this),r.onerror=g(this._chunkError,this)),r.open("GET",this._input,!k),this._config.chunkSize){var e=this._start+this._config.chunkSize-1;r.setRequestHeader("Range","bytes="+this._start+"-"+e),r.setRequestHeader("If-None-Match","webkit-no-cache")}try{r.send()}catch(t){this._chunkError(t.message)}k&&0==r.status?this._chunkError():this._start+=this._config.chunkSize},this._chunkLoaded=function(){if(4==r.readyState){if(r.status<200||r.status>=400)return void this._chunkError();this._finished=!this._config.chunkSize||this._start>t(r),this.parseChunk(r.responseText)}},this._chunkError=function(e){var t=r.statusText||e;this._sendError(t)}}function s(e){e=e||{},e.chunkSize||(e.chunkSize=w.LocalChunkSize),n.call(this,e);var t,r,i="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,r=e.slice||e.webkitSlice||e.mozSlice,i?(t=new FileReader,t.onload=g(this._chunkLoaded,this),t.onerror=g(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var e=this._input;if(this._config.chunkSize){var n=Math.min(this._start+this._config.chunkSize,this._input.size);e=r.call(e,this._start,n)}var s=t.readAsText(e,this._config.encoding);i||this._chunkLoaded({target:{result:s}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function a(e){e=e||{},n.call(this,e);var t,r;this.stream=function(e){return t=e,r=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var e=this._config.chunkSize,t=e?r.substr(0,e):r;return r=e?r.substr(e):"",this._finished=!r,this.parseChunk(t)}}}function o(e){function t(){if(b&&c&&(f("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+w.DefaultDelimiter+"'"),c=!1),e.skipEmptyLines)for(var t=0;t<b.data.length;t++)1==b.data[t].length&&""==b.data[t][0]&&b.data.splice(t--,1);return r()&&n(),i()}function r(){return e.header&&0==y.length}function n(){if(b){for(var e=0;r()&&e<b.data.length;e++)for(var t=0;t<b.data[e].length;t++)y.push(b.data[e][t]);b.data.splice(0,1)}}function i(){if(!b||!e.header&&!e.dynamicTyping)return b;for(var t=0;t<b.data.length;t++){for(var r={},n=0;n<b.data[t].length;n++){if(e.dynamicTyping){var i=b.data[t][n];b.data[t][n]="true"==i||"TRUE"==i?!0:"false"==i||"FALSE"==i?!1:o(i)}e.header&&(n>=y.length?(r.__parsed_extra||(r.__parsed_extra=[]),r.__parsed_extra.push(b.data[t][n])):r[y[n]]=b.data[t][n])}e.header&&(b.data[t]=r,n>y.length?f("FieldMismatch","TooManyFields","Too many fields: expected "+y.length+" fields but parsed "+n,t):n<y.length&&f("FieldMismatch","TooFewFields","Too few fields: expected "+y.length+" fields but parsed "+n,t))}return e.header&&b.meta&&(b.meta.fields=y),b}function s(t){for(var r,n,i,s=[","," ","|",";",w.RECORD_SEP,w.UNIT_SEP],a=0;a<s.length;a++){var o=s[a],f=0,h=0;i=void 0;for(var d=new u({delimiter:o,preview:10}).parse(t),c=0;c<d.data.length;c++){var l=d.data[c].length;h+=l,"undefined"!=typeof i?l>1&&(f+=Math.abs(l-i),i=l):i=l}h/=d.data.length,("undefined"==typeof n||n>f)&&h>1.99&&(n=f,r=o)}return e.delimiter=r,{successful:!!r,bestDelimiter:r}}function a(e){e=e.substr(0,1048576);var t=e.split("\r");if(1==t.length)return"\n";for(var r=0,n=0;n<t.length;n++)"\n"==t[n][0]&&r++;return r>=t.length/2?"\r\n":"\r"}function o(e){var t=l.test(e);return t?parseFloat(e):e}function f(e,t,r,n){b.errors.push({type:e,code:t,message:r,row:n})}var h,d,c,l=/^\s*-?(\d*\.?\d+|\d+\.?\d*)(e[-+]?\d+)?\s*$/i,p=this,g=0,v=!1,k=!1,y=[],b={data:[],errors:[],meta:{}};if(m(e.step)){var R=e.step;e.step=function(n){if(b=n,r())t();else{if(t(),0==b.data.length)return;g+=n.data.length,e.preview&&g>e.preview?d.abort():R(b,p)}}}this.parse=function(r,n,i){if(e.newline||(e.newline=a(r)),c=!1,!e.delimiter){var o=s(r);o.successful?e.delimiter=o.bestDelimiter:(c=!0,e.delimiter=w.DefaultDelimiter),b.meta.delimiter=e.delimiter}var f=_(e);return e.preview&&e.header&&f.preview++,h=r,d=new u(f),b=d.parse(h,n,i),t(),v?{meta:{paused:!0}}:b||{meta:{paused:!1}}},this.paused=function(){return v},this.pause=function(){v=!0,d.abort(),h=h.substr(d.getCharIndex())},this.resume=function(){v=!1,p.streamer.parseChunk(h)},this.aborted=function(){return k},this.abort=function(){k=!0,d.abort(),b.meta.aborted=!0,m(e.complete)&&e.complete(b),h=""}}function u(e){e=e||{};var t=e.delimiter,r=e.newline,n=e.comments,i=e.step,s=e.preview,a=e.fastMode;if(("string"!=typeof t||w.BAD_DELIMITERS.indexOf(t)>-1)&&(t=","),n===t)throw"Comment character same as delimiter";n===!0?n="#":("string"!=typeof n||w.BAD_DELIMITERS.indexOf(n)>-1)&&(n=!1),"\n"!=r&&"\r"!=r&&"\r\n"!=r&&(r="\n");var o=0,u=!1;this.parse=function(e,f,h){function d(e){b.push(e),S=o}function c(t){return h?p():(t||(t=e.substr(o)),w.push(t),o=g,d(w),y&&_(),p())}function l(t){o=t,d(w),w=[],O=e.indexOf(r,o)}function p(e){return{data:b,errors:R,meta:{delimiter:t,linebreak:r,aborted:u,truncated:!!e,cursor:S+(f||0)}}}function _(){i(p()),b=[],R=[]}if("string"!=typeof e)throw"Input must be a string";var g=e.length,m=t.length,v=r.length,k=n.length,y="function"==typeof i;o=0;var b=[],R=[],w=[],S=0;if(!e)return p();if(a||a!==!1&&-1===e.indexOf('"')){for(var E=e.split(r),C=0;C<E.length;C++){var w=E[C];if(o+=w.length,C!==E.length-1)o+=r.length;else if(h)return p();if(!n||w.substr(0,k)!=n){if(y){if(b=[],d(w.split(t)),_(),u)return p()}else d(w.split(t));if(s&&C>=s)return b=b.slice(0,s),p(!0)}}return p()}for(var x=e.indexOf(t,o),O=e.indexOf(r,o);;)if('"'!=e[o])if(n&&0===w.length&&e.substr(o,k)===n){if(-1==O)return p();o=O+v,O=e.indexOf(r,o),x=e.indexOf(t,o)}else if(-1!==x&&(O>x||-1===O))w.push(e.substring(o,x)),o=x+m,x=e.indexOf(t,o);else{if(-1===O)break;if(w.push(e.substring(o,O)),l(O+v),y&&(_(),u))return p();if(s&&b.length>=s)return p(!0)}else{var I=o;for(o++;;){var I=e.indexOf('"',I+1);if(-1===I)return h||R.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:b.length,index:o}),c();if(I===g-1){var D=e.substring(o,I).replace(/""/g,'"');return c(D)}if('"'!=e[I+1]){if(e[I+1]==t){w.push(e.substring(o,I).replace(/""/g,'"')),o=I+1+m,x=e.indexOf(t,o),O=e.indexOf(r,o);break}if(e.substr(I+1,v)===r){if(w.push(e.substring(o,I).replace(/""/g,'"')),l(I+1+v),x=e.indexOf(t,o),y&&(_(),u))return p();if(s&&b.length>=s)return p(!0);break}}else I++}}return c()},this.abort=function(){u=!0},this.getCharIndex=function(){return o}}function f(){var e=document.getElementsByTagName("script");return e.length?e[e.length-1].src:""}function h(){if(!w.WORKERS_SUPPORTED)return!1;if(!y&&null===w.SCRIPT_PATH)throw new Error("Script path cannot be determined automatically when Papa Parse is loaded asynchronously. You need to set Papa.SCRIPT_PATH manually.");var t=new e.Worker(w.SCRIPT_PATH||v);return t.onmessage=d,t.id=R++,b[t.id]=t,t}function d(e){var t=e.data,r=b[t.workerId],n=!1;if(t.error)r.userError(t.error,t.file);else if(t.results&&t.results.data){var i=function(){n=!0,c(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},s={abort:i,pause:l,resume:l};if(m(r.userStep)){for(var a=0;a<t.results.data.length&&(r.userStep({data:[t.results.data[a]],errors:t.results.errors,meta:t.results.meta},s),!n);a++);delete t.results}else m(r.userChunk)&&(r.userChunk(t.results,s,t.file),delete t.results)}t.finished&&!n&&c(t.workerId,t.results)}function c(e,t){var r=b[e];m(r.userComplete)&&r.userComplete(t),r.terminate(),delete b[e]}function l(){throw"Not implemented."}function p(t){var r=t.data;if("undefined"==typeof w.WORKER_ID&&r&&(w.WORKER_ID=r.workerId),"string"==typeof r.input)e.postMessage({workerId:w.WORKER_ID,results:w.parse(r.input,r.config),finished:!0});else if(e.File&&r.input instanceof File||r.input instanceof Object){var n=w.parse(r.input,r.config);n&&e.postMessage({workerId:w.WORKER_ID,results:n,finished:!0})}}function _(e){if("object"!=typeof e)return e;var t=e instanceof Array?[]:{};for(var r in e)t[r]=_(e[r]);return t}function g(e,t){return function(){e.apply(t,arguments)}}function m(e){return"function"==typeof e}var v,k=!e.document&&!!e.postMessage,y=!1,b={},R=0,w={};if(w.parse=t,w.unparse=r,w.RECORD_SEP=String.fromCharCode(30),w.UNIT_SEP=String.fromCharCode(31),w.BYTE_ORDER_MARK="",w.BAD_DELIMITERS=["\r","\n",'"',w.BYTE_ORDER_MARK],w.WORKERS_SUPPORTED=!!e.Worker,w.SCRIPT_PATH=null,w.LocalChunkSize=10485760,w.RemoteChunkSize=5242880,w.DefaultDelimiter=",",w.Parser=u,w.ParserHandle=o,w.NetworkStreamer=i,w.FileStreamer=s,w.StringStreamer=a,"undefined"!=typeof module&&module.exports?module.exports=w:m(e.define)&&e.define.amd?e.define(function(){return w}):e.Papa=w,e.jQuery){var S=e.jQuery;S.fn.parse=function(t){function r(){if(0==a.length)return void(m(t.complete)&&t.complete());var e=a[0];if(m(t.before)){var r=t.before(e.file,e.inputElem);if("object"==typeof r){if("abort"==r.action)return void n("AbortError",e.file,e.inputElem,r.reason);if("skip"==r.action)return void i();"object"==typeof r.config&&(e.instanceConfig=S.extend(e.instanceConfig,r.config))}else if("skip"==r)return void i()}var s=e.instanceConfig.complete;e.instanceConfig.complete=function(t){m(s)&&s(t,e.file,e.inputElem),i()},w.parse(e.file,e.instanceConfig)}function n(e,r,n,i){m(t.error)&&t.error({name:e},r,n,i)}function i(){a.splice(0,1),r()}var s=t.config||{},a=[];return this.each(function(){var t="INPUT"==S(this).prop("tagName").toUpperCase()&&"file"==S(this).attr("type").toLowerCase()&&e.FileReader;if(!t||!this.files||0==this.files.length)return!0;for(var r=0;r<this.files.length;r++)a.push({file:this.files[r],inputElem:this,instanceConfig:S.extend({},s)})}),r(),this}}k?e.onmessage=p:w.WORKERS_SUPPORTED&&(v=f(),document.body?document.addEventListener("DOMContentLoaded",function(){y=!0},!0):y=!0),i.prototype=Object.create(n.prototype),i.prototype.constructor=i,s.prototype=Object.create(n.prototype),s.prototype.constructor=s,a.prototype=Object.create(a.prototype),a.prototype.constructor=a}("undefined"!=typeof window?window:this);
22368
 
22369
  /***/ },
22370
-
22371
- /***/ 564:
22372
  /***/ function(module, exports) {
22373
 
22374
  /*
@@ -22453,16 +23163,15 @@ webpackJsonp([0],{
22453
 
22454
 
22455
  /***/ },
22456
-
22457
- /***/ 565:
22458
  /***/ function(module, exports, __webpack_require__) {
22459
 
22460
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
22461
  __webpack_require__(280),
22462
  __webpack_require__(275),
22463
  __webpack_require__(276),
22464
- __webpack_require__(562)
22465
- ], __WEBPACK_AMD_DEFINE_RESULT__ = function (// eslint-disable-line func-names
22466
  _,
22467
  jQuery,
22468
  MailPoet,
@@ -22471,7 +23180,7 @@ webpackJsonp([0],{
22471
  if (!jQuery('#mailpoet_subscribers_export').length) {
22472
  return;
22473
  }
22474
- jQuery(document).ready(function () { // eslint-disable-line func-names
22475
  var segmentsContainerElement;
22476
  var subscriberFieldsContainerElement;
22477
  var nextStepButton;
@@ -22500,7 +23209,7 @@ webpackJsonp([0],{
22500
  segmentsContainerElement = jQuery('#export_lists');
22501
  subscriberFieldsContainerElement = jQuery('#export_columns');
22502
  nextStepButton = jQuery('a.mailpoet_export_process');
22503
- renderSegmentsAndFields = function (container, data) { // eslint-disable-line func-names
22504
  if (container.data('select2')) {
22505
  container
22506
  .html('')
@@ -22510,18 +23219,18 @@ webpackJsonp([0],{
22510
  .select2({
22511
  data: data,
22512
  width: '20em',
22513
- templateResult: function (item) { // eslint-disable-line func-names
22514
  return (item.subscriberCount > 0)
22515
  ? item.name + ' (' + parseInt(item.subscriberCount).toLocaleString() + ')'
22516
  : item.name;
22517
  },
22518
- templateSelection: function (item) { // eslint-disable-line func-names
22519
  return (item.subscriberCount > 0)
22520
  ? item.name + ' (' + parseInt(item.subscriberCount).toLocaleString() + ')'
22521
  : item.name;
22522
  }
22523
  })
22524
- .on('select2:selecting', function (selectEvent) { // eslint-disable-line func-names
22525
  var selectElement = this;
22526
  var selectedOptionId = selectEvent.params.args.data.id;
22527
  var fieldsToExclude = [
@@ -22535,7 +23244,7 @@ webpackJsonp([0],{
22535
  jQuery(selectElement).val('').trigger('change');
22536
  } else {
22537
  allOptions = [];
22538
- _.each(container.find('option'), function (field) { // eslint-disable-line func-names
22539
  if (!_.contains(fieldsToExclude, field.value)) {
22540
  allOptions.push(field.value);
22541
  }
@@ -22545,7 +23254,7 @@ webpackJsonp([0],{
22545
  jQuery(selectElement).select2('close');
22546
  }
22547
  })
22548
- .on('change', function () { // eslint-disable-line func-names
22549
  if ((window.exportData.segments && segmentsContainerElement.select2('data').length && subscriberFieldsContainerElement.select2('data').length)
22550
  ||
22551
  (!window.exportData.segments && subscriberFieldsContainerElement.select2('data').length)
@@ -22568,7 +23277,7 @@ webpackJsonp([0],{
22568
  'list_status'
22569
  ]).trigger('change');
22570
 
22571
- nextStepButton.click(function () { // eslint-disable-line func-names
22572
  var exportFormat;
22573
  if (jQuery(this).hasClass('button-disabled')) {
22574
  return;
@@ -22584,9 +23293,9 @@ webpackJsonp([0],{
22584
  segments: (window.exportData.segments) ? segmentsContainerElement.val() : false,
22585
  subscriber_fields: subscriberFieldsContainerElement.val()
22586
  })
22587
- }).always(function () { // eslint-disable-line func-names
22588
  MailPoet.Modal.loading(false);
22589
- }).done(function (response) { // eslint-disable-line func-names
22590
  var resultMessage = MailPoet.I18n.t('exportMessage')
22591
  .replace('%1$s', '<strong>' + parseInt(response.data.totalExported).toLocaleString() + '</strong>')
22592
  .replace('[link]', '<a href="' + response.data.exportFileURL + '" target="_blank" >')
@@ -22598,10 +23307,10 @@ webpackJsonp([0],{
22598
  'File Format': exportFormat,
22599
  'MailPoet Free version': window.mailpoet_version
22600
  });
22601
- }).fail(function (response) { // eslint-disable-line func-names
22602
  if (response.errors.length > 0) {
22603
  MailPoet.Notice.error(
22604
- response.errors.map(function (error) { return error.message; }), // eslint-disable-line func-names
22605
  { scroll: true }
22606
  );
22607
  }
@@ -22612,5 +23321,4 @@ webpackJsonp([0],{
22612
 
22613
 
22614
  /***/ }
22615
-
22616
- });
1
+ webpackJsonp([0],[
2
+ /* 0 */
3
+ /***/ function(module, exports, __webpack_require__) {
4
+
5
+ __webpack_require__(1);
6
+ __webpack_require__(430);
7
+ __webpack_require__(550);
8
+ __webpack_require__(554);
9
+ __webpack_require__(556);
10
+ __webpack_require__(559);
11
+ __webpack_require__(564);
12
+ __webpack_require__(565);
13
+ module.exports = __webpack_require__(569);
14
+
15
 
16
+ /***/ },
17
+ /* 1 */
18
  /***/ function(module, exports, __webpack_require__) {
19
 
20
+ 'use strict';
 
21
 
22
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
 
 
23
 
24
+ var _react = __webpack_require__(2);
 
 
25
 
26
+ var _react2 = _interopRequireDefault(_react);
 
 
27
 
28
+ var _reactDom = __webpack_require__(34);
29
 
30
+ var _reactDom2 = _interopRequireDefault(_reactDom);
 
 
31
 
32
+ var _reactRouter = __webpack_require__(181);
 
33
 
34
+ var _history = __webpack_require__(244);
 
 
35
 
36
+ var _subscribersListJsx = __webpack_require__(274);
 
 
37
 
38
+ var _subscribersListJsx2 = _interopRequireDefault(_subscribersListJsx);
39
 
40
+ var _subscribersFormJsx = __webpack_require__(291);
41
 
42
+ var _subscribersFormJsx2 = _interopRequireDefault(_subscribersFormJsx);
43
 
44
+ var history = (0, _reactRouter.useRouterHistory)(_history.createHashHistory)({ queryKey: false });
 
45
 
46
+ var App = _react2['default'].createClass({
47
+ displayName: 'App',
48
+
49
+ render: function render() {
50
+ return this.props.children;
51
+ }
52
+ });
 
 
53
 
54
+ var container = document.getElementById('subscribers_container');
55
 
56
+ if (container) {
57
+ _reactDom2['default'].render(_react2['default'].createElement(
58
+ _reactRouter.Router,
59
+ { history: history },
60
+ _react2['default'].createElement(
61
+ _reactRouter.Route,
62
+ { path: '/', component: App },
63
+ _react2['default'].createElement(_reactRouter.IndexRoute, { component: _subscribersListJsx2['default'] }),
64
+ _react2['default'].createElement(_reactRouter.Route, { path: 'new', component: _subscribersFormJsx2['default'] }),
65
+ _react2['default'].createElement(_reactRouter.Route, { path: 'edit/:id', component: _subscribersFormJsx2['default'] }),
66
+ _react2['default'].createElement(_reactRouter.Route, { path: '*', component: _subscribersListJsx2['default'] })
67
+ )
68
+ ), container);
69
+ }
70
 
71
+ /***/ },
72
+ /* 2 */,
73
+ /* 3 */,
74
+ /* 4 */,
75
+ /* 5 */,
76
+ /* 6 */,
77
+ /* 7 */,
78
+ /* 8 */,
79
+ /* 9 */,
80
+ /* 10 */,
81
+ /* 11 */,
82
+ /* 12 */,
83
+ /* 13 */,
84
+ /* 14 */,
85
+ /* 15 */,
86
+ /* 16 */,
87
+ /* 17 */,
88
+ /* 18 */,
89
+ /* 19 */,
90
+ /* 20 */,
91
+ /* 21 */,
92
+ /* 22 */,
93
+ /* 23 */,
94
+ /* 24 */,
95
+ /* 25 */,
96
+ /* 26 */,
97
+ /* 27 */,
98
+ /* 28 */,
99
+ /* 29 */,
100
+ /* 30 */,
101
+ /* 31 */,
102
+ /* 32 */,
103
+ /* 33 */,
104
+ /* 34 */,
105
+ /* 35 */,
106
+ /* 36 */,
107
+ /* 37 */,
108
+ /* 38 */,
109
+ /* 39 */,
110
+ /* 40 */,
111
+ /* 41 */,
112
+ /* 42 */,
113
+ /* 43 */,
114
+ /* 44 */,
115
+ /* 45 */,
116
+ /* 46 */,
117
+ /* 47 */,
118
+ /* 48 */,
119
+ /* 49 */,
120
+ /* 50 */,
121
+ /* 51 */,
122
+ /* 52 */,
123
+ /* 53 */,
124
+ /* 54 */,
125
+ /* 55 */,
126
+ /* 56 */,
127
+ /* 57 */,
128
+ /* 58 */,
129
+ /* 59 */,
130
+ /* 60 */,
131
+ /* 61 */,
132
+ /* 62 */,
133
+ /* 63 */,
134
+ /* 64 */,
135
+ /* 65 */,
136
+ /* 66 */,
137
+ /* 67 */,
138
+ /* 68 */,
139
+ /* 69 */,
140
+ /* 70 */,
141
+ /* 71 */,
142
+ /* 72 */,
143
+ /* 73 */,
144
+ /* 74 */,
145
+ /* 75 */,
146
+ /* 76 */,
147
+ /* 77 */,
148
+ /* 78 */,
149
+ /* 79 */,
150
+ /* 80 */,
151
+ /* 81 */,
152
+ /* 82 */,
153
+ /* 83 */,
154
+ /* 84 */,
155
+ /* 85 */,
156
+ /* 86 */,
157
+ /* 87 */,
158
+ /* 88 */,
159
+ /* 89 */,
160
+ /* 90 */,
161
+ /* 91 */,
162
+ /* 92 */,
163
+ /* 93 */,
164
+ /* 94 */,
165
+ /* 95 */,
166
+ /* 96 */,
167
+ /* 97 */,
168
+ /* 98 */,
169
+ /* 99 */,
170
+ /* 100 */,
171
+ /* 101 */,
172
+ /* 102 */,
173
+ /* 103 */,
174
+ /* 104 */,
175
+ /* 105 */,
176
+ /* 106 */,
177
+ /* 107 */,
178
+ /* 108 */,
179
+ /* 109 */,
180
+ /* 110 */,
181
+ /* 111 */,
182
+ /* 112 */,
183
+ /* 113 */,
184
+ /* 114 */,
185
+ /* 115 */,
186
+ /* 116 */,
187
+ /* 117 */,
188
+ /* 118 */,
189
+ /* 119 */,
190
+ /* 120 */,
191
+ /* 121 */,
192
+ /* 122 */,
193
+ /* 123 */,
194
+ /* 124 */,
195
+ /* 125 */,
196
+ /* 126 */,
197
+ /* 127 */,
198
+ /* 128 */,
199
+ /* 129 */,
200
+ /* 130 */,
201
+ /* 131 */,
202
+ /* 132 */,
203
+ /* 133 */,
204
+ /* 134 */,
205
+ /* 135 */,
206
+ /* 136 */,
207
+ /* 137 */,
208
+ /* 138 */,
209
+ /* 139 */,
210
+ /* 140 */,
211
+ /* 141 */,
212
+ /* 142 */,
213
+ /* 143 */,
214
+ /* 144 */,
215
+ /* 145 */,
216
+ /* 146 */,
217
+ /* 147 */,
218
+ /* 148 */,
219
+ /* 149 */,
220
+ /* 150 */,
221
+ /* 151 */,
222
+ /* 152 */,
223
+ /* 153 */,
224
+ /* 154 */,
225
+ /* 155 */,
226
+ /* 156 */,
227
+ /* 157 */,
228
+ /* 158 */,
229
+ /* 159 */,
230
+ /* 160 */,
231
+ /* 161 */,
232
+ /* 162 */,
233
+ /* 163 */,
234
+ /* 164 */,
235
+ /* 165 */,
236
+ /* 166 */,
237
+ /* 167 */,
238
+ /* 168 */,
239
+ /* 169 */,
240
+ /* 170 */,
241
+ /* 171 */,
242
+ /* 172 */,
243
+ /* 173 */,
244
+ /* 174 */,
245
+ /* 175 */,
246
+ /* 176 */,
247
+ /* 177 */,
248
+ /* 178 */,
249
+ /* 179 */,
250
+ /* 180 */,
251
+ /* 181 */,
252
+ /* 182 */,
253
+ /* 183 */,
254
+ /* 184 */,
255
+ /* 185 */,
256
+ /* 186 */,
257
+ /* 187 */,
258
+ /* 188 */,
259
+ /* 189 */,
260
+ /* 190 */,
261
+ /* 191 */,
262
+ /* 192 */,
263
+ /* 193 */,
264
+ /* 194 */,
265
+ /* 195 */,
266
+ /* 196 */,
267
+ /* 197 */,
268
+ /* 198 */,
269
+ /* 199 */,
270
+ /* 200 */,
271
+ /* 201 */,
272
+ /* 202 */,
273
+ /* 203 */,
274
+ /* 204 */,
275
+ /* 205 */,
276
+ /* 206 */,
277
+ /* 207 */,
278
+ /* 208 */,
279
+ /* 209 */,
280
+ /* 210 */,
281
+ /* 211 */,
282
+ /* 212 */,
283
+ /* 213 */,
284
+ /* 214 */,
285
+ /* 215 */,
286
+ /* 216 */,
287
+ /* 217 */,
288
+ /* 218 */,
289
+ /* 219 */,
290
+ /* 220 */,
291
+ /* 221 */,
292
+ /* 222 */,
293
+ /* 223 */,
294
+ /* 224 */,
295
+ /* 225 */,
296
+ /* 226 */,
297
+ /* 227 */,
298
+ /* 228 */,
299
+ /* 229 */,
300
+ /* 230 */,
301
+ /* 231 */,
302
+ /* 232 */,
303
+ /* 233 */,
304
+ /* 234 */,
305
+ /* 235 */,
306
+ /* 236 */,
307
+ /* 237 */,
308
+ /* 238 */,
309
+ /* 239 */,
310
+ /* 240 */,
311
+ /* 241 */,
312
+ /* 242 */,
313
+ /* 243 */,
314
+ /* 244 */,
315
+ /* 245 */,
316
+ /* 246 */,
317
+ /* 247 */,
318
+ /* 248 */,
319
+ /* 249 */,
320
+ /* 250 */,
321
+ /* 251 */,
322
+ /* 252 */,
323
+ /* 253 */,
324
+ /* 254 */,
325
+ /* 255 */,
326
+ /* 256 */,
327
+ /* 257 */,
328
+ /* 258 */,
329
+ /* 259 */,
330
+ /* 260 */,
331
+ /* 261 */,
332
+ /* 262 */,
333
+ /* 263 */,
334
+ /* 264 */,
335
+ /* 265 */,
336
+ /* 266 */,
337
+ /* 267 */,
338
+ /* 268 */,
339
+ /* 269 */,
340
+ /* 270 */,
341
+ /* 271 */,
342
+ /* 272 */,
343
+ /* 273 */,
344
+ /* 274 */
345
  /***/ function(module, exports, __webpack_require__) {
346
 
347
  'use strict';
735
  module.exports = SubscriberList;
736
 
737
  /***/ },
738
+ /* 275 */,
739
+ /* 276 */,
740
+ /* 277 */,
741
+ /* 278 */,
742
+ /* 279 */,
743
+ /* 280 */,
744
+ /* 281 */,
745
+ /* 282 */,
746
+ /* 283 */,
747
+ /* 284 */,
748
+ /* 285 */,
749
+ /* 286 */,
750
+ /* 287 */,
751
+ /* 288 */,
752
+ /* 289 */,
753
+ /* 290 */,
754
+ /* 291 */
755
  /***/ function(module, exports, __webpack_require__) {
756
 
757
  /* WEBPACK VAR INJECTION */(function(global) {"use strict";
761
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
762
 
763
  /***/ },
764
+ /* 292 */
 
765
  /***/ function(module, exports, __webpack_require__) {
766
 
767
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
965
  }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
966
 
967
  /***/ },
968
+ /* 293 */,
969
+ /* 294 */,
970
+ /* 295 */,
971
+ /* 296 */,
972
+ /* 297 */,
973
+ /* 298 */,
974
+ /* 299 */,
975
+ /* 300 */,
976
+ /* 301 */,
977
+ /* 302 */,
978
+ /* 303 */,
979
+ /* 304 */,
980
+ /* 305 */,
981
+ /* 306 */,
982
+ /* 307 */,
983
+ /* 308 */,
984
+ /* 309 */,
985
+ /* 310 */,
986
+ /* 311 */,
987
+ /* 312 */,
988
+ /* 313 */,
989
+ /* 314 */,
990
+ /* 315 */,
991
+ /* 316 */,
992
+ /* 317 */,
993
+ /* 318 */,
994
+ /* 319 */,
995
+ /* 320 */,
996
+ /* 321 */,
997
+ /* 322 */,
998
+ /* 323 */,
999
+ /* 324 */,
1000
+ /* 325 */,
1001
+ /* 326 */,
1002
+ /* 327 */,
1003
+ /* 328 */,
1004
+ /* 329 */,
1005
+ /* 330 */,
1006
+ /* 331 */,
1007
+ /* 332 */,
1008
+ /* 333 */,
1009
+ /* 334 */,
1010
+ /* 335 */,
1011
+ /* 336 */,
1012
+ /* 337 */,
1013
+ /* 338 */,
1014
+ /* 339 */,
1015
+ /* 340 */,
1016
+ /* 341 */,
1017
+ /* 342 */,
1018
+ /* 343 */,
1019
+ /* 344 */,
1020
+ /* 345 */,
1021
+ /* 346 */,
1022
+ /* 347 */,
1023
+ /* 348 */,
1024
+ /* 349 */,
1025
+ /* 350 */,
1026
+ /* 351 */,
1027
+ /* 352 */,
1028
+ /* 353 */,
1029
+ /* 354 */,
1030
+ /* 355 */,
1031
+ /* 356 */,
1032
+ /* 357 */,
1033
+ /* 358 */,
1034
+ /* 359 */,
1035
+ /* 360 */,
1036
+ /* 361 */,
1037
+ /* 362 */,
1038
+ /* 363 */,
1039
+ /* 364 */,
1040
+ /* 365 */,
1041
+ /* 366 */,
1042
+ /* 367 */,
1043
+ /* 368 */,
1044
+ /* 369 */,
1045
+ /* 370 */,
1046
+ /* 371 */,
1047
+ /* 372 */,
1048
+ /* 373 */,
1049
+ /* 374 */,
1050
+ /* 375 */,
1051
+ /* 376 */,
1052
+ /* 377 */,
1053
+ /* 378 */,
1054
+ /* 379 */,
1055
+ /* 380 */,
1056
+ /* 381 */,
1057
+ /* 382 */,
1058
+ /* 383 */,
1059
+ /* 384 */,
1060
+ /* 385 */,
1061
+ /* 386 */,
1062
+ /* 387 */,
1063
+ /* 388 */,
1064
+ /* 389 */,
1065
+ /* 390 */,
1066
+ /* 391 */,
1067
+ /* 392 */,
1068
+ /* 393 */,
1069
+ /* 394 */,
1070
+ /* 395 */,
1071
+ /* 396 */,
1072
+ /* 397 */,
1073
+ /* 398 */,
1074
+ /* 399 */,
1075
+ /* 400 */,
1076
+ /* 401 */,
1077
+ /* 402 */,
1078
+ /* 403 */,
1079
+ /* 404 */,
1080
+ /* 405 */,
1081
+ /* 406 */,
1082
+ /* 407 */,
1083
+ /* 408 */,
1084
+ /* 409 */,
1085
+ /* 410 */,
1086
+ /* 411 */,
1087
+ /* 412 */,
1088
+ /* 413 */,
1089
+ /* 414 */,
1090
+ /* 415 */,
1091
+ /* 416 */,
1092
+ /* 417 */,
1093
+ /* 418 */,
1094
+ /* 419 */,
1095
+ /* 420 */,
1096
+ /* 421 */,
1097
+ /* 422 */,
1098
+ /* 423 */,
1099
+ /* 424 */,
1100
+ /* 425 */,
1101
+ /* 426 */,
1102
+ /* 427 */,
1103
+ /* 428 */,
1104
+ /* 429 */,
1105
+ /* 430 */
1106
  /***/ function(module, exports, __webpack_require__) {
1107
 
1108
  'use strict';
1139
 
1140
  var _newslettersTemplatesJsx2 = _interopRequireDefault(_newslettersTemplatesJsx);
1141
 
1142
+ var _newslettersSendJsx = __webpack_require__(524);
1143
 
1144
  var _newslettersSendJsx2 = _interopRequireDefault(_newslettersSendJsx);
1145
 
1146
+ var _newslettersTypesStandardJsx = __webpack_require__(535);
1147
 
1148
  var _newslettersTypesStandardJsx2 = _interopRequireDefault(_newslettersTypesStandardJsx);
1149
 
1150
+ var _newslettersTypesNotificationNotificationJsx = __webpack_require__(536);
1151
 
1152
  var _newslettersTypesNotificationNotificationJsx2 = _interopRequireDefault(_newslettersTypesNotificationNotificationJsx);
1153
 
1154
+ var _newslettersTypesAutomatic_emailsEvents_listJsx = __webpack_require__(537);
1155
 
1156
  var _newslettersTypesAutomatic_emailsEvents_listJsx2 = _interopRequireDefault(_newslettersTypesAutomatic_emailsEvents_listJsx);
1157
 
1158
+ var _newslettersListingsStandardJsx = __webpack_require__(541);
1159
 
1160
  var _newslettersListingsStandardJsx2 = _interopRequireDefault(_newslettersListingsStandardJsx);
1161
 
1162
+ var _newslettersListingsWelcomeJsx = __webpack_require__(547);
1163
 
1164
  var _newslettersListingsWelcomeJsx2 = _interopRequireDefault(_newslettersListingsWelcomeJsx);
1165
 
1166
+ var _newslettersListingsNotificationJsx = __webpack_require__(548);
1167
 
1168
  var _newslettersListingsNotificationJsx2 = _interopRequireDefault(_newslettersListingsNotificationJsx);
1169
 
1170
+ var _newslettersListingsNotification_historyJsx = __webpack_require__(549);
1171
 
1172
  var _newslettersListingsNotification_historyJsx2 = _interopRequireDefault(_newslettersListingsNotification_historyJsx);
1173
 
1266
  }
1267
 
1268
  /***/ },
1269
+ /* 431 */,
1270
+ /* 432 */,
1271
+ /* 433 */
1272
  /***/ function(module, exports, __webpack_require__) {
1273
 
1274
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
1440
  }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
1441
 
1442
  /***/ },
1443
+ /* 434 */,
1444
+ /* 435 */,
1445
+ /* 436 */
1446
  /***/ function(module, exports, __webpack_require__) {
1447
 
1448
  'use strict';
1451
  value: true
1452
  });
1453
 
1454
+ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
1455
 
1456
+ var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();
1457
 
1458
+ var _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; desc = parent = undefined; continue _function; } } else if ('value' in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };
1459
 
1460
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
1461
 
1462
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }
1463
 
1464
+ function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
1465
 
1466
+ var _react = __webpack_require__(2);
1467
 
1468
+ var _react2 = _interopRequireDefault(_react);
1469
 
1470
+ var _mailpoet = __webpack_require__(276);
1471
 
1472
+ var _mailpoet2 = _interopRequireDefault(_mailpoet);
1473
 
1474
  var _newslettersBreadcrumbJsx = __webpack_require__(434);
1475
 
1476
  var _newslettersBreadcrumbJsx2 = _interopRequireDefault(_newslettersBreadcrumbJsx);
1477
 
1478
+ var _commonLoadingJsx = __webpack_require__(437);
 
 
 
 
 
 
 
 
1479
 
1480
+ var _commonLoadingJsx2 = _interopRequireDefault(_commonLoadingJsx);
1481
 
1482
+ var _newslettersTemplatesTabsJsx = __webpack_require__(438);
 
 
 
1483
 
1484
+ var _newslettersTemplatesTabsJsx2 = _interopRequireDefault(_newslettersTemplatesTabsJsx);
 
 
 
1485
 
1486
+ var _newslettersTemplatesTemplate_boxJsx = __webpack_require__(439);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1487
 
1488
+ var _newslettersTemplatesTemplate_boxJsx2 = _interopRequireDefault(_newslettersTemplatesTemplate_boxJsx);
1489
 
1490
+ var _newslettersTemplatesImport_templateJsx = __webpack_require__(441);
 
 
1491
 
1492
+ var _newslettersTemplatesImport_templateJsx2 = _interopRequireDefault(_newslettersTemplatesImport_templateJsx);
 
 
 
 
 
 
 
 
 
1493
 
1494
+ var getEditorUrl = function getEditorUrl(id) {
1495
+ return 'admin.php?page=mailpoet-newsletter-editor&id=' + id;
1496
+ };
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1497
 
1498
  var templatesCategories = [{
1499
  name: 'standard',
1518
  label: _mailpoet2['default'].I18n.t('savedTemplates')
1519
  }];
1520
 
1521
+ var NewsletterTemplates = (function (_React$Component) {
1522
+ _inherits(NewsletterTemplates, _React$Component);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1523
 
1524
+ function NewsletterTemplates(props) {
1525
+ _classCallCheck(this, NewsletterTemplates);
1526
 
1527
+ _get(Object.getPrototypeOf(NewsletterTemplates.prototype), 'constructor', this).call(this, props);
1528
+ this.state = {
1529
+ loading: true,
1530
  templates: {}, // {category1: [template11, template12, ..], category2: [template21, ...]}
1531
+ selectedTab: ''
1532
  };
1533
+ this.templates = {};
 
 
 
 
 
 
 
1534
 
1535
+ this.addTemplate = this.addTemplate.bind(this);
1536
+ this.afterTemplateDelete = this.afterTemplateDelete.bind(this);
1537
+ this.afterTemplateSelect = this.afterTemplateSelect.bind(this);
1538
+ this.afterTemplateImport = this.afterTemplateImport.bind(this);
1539
+ }
1540
 
1541
+ _createClass(NewsletterTemplates, [{
1542
+ key: 'componentWillMount',
1543
+ value: function componentWillMount() {
1544
+ var _this = this;
 
 
 
 
 
 
 
 
 
 
 
1545
 
1546
+ _mailpoet2['default'].Ajax.post({
1547
+ api_version: window.mailpoet_api_version,
1548
+ endpoint: 'newsletterTemplates',
1549
+ action: 'getAll'
1550
+ }).done(function (response) {
1551
+ if (response.data.length === 0) {
1552
+ response.data = [{
1553
+ name: _mailpoet2['default'].I18n.t('mailpoetGuideTemplateTitle'),
1554
+ description: _mailpoet2['default'].I18n.t('mailpoetGuideTemplateDescription'),
1555
+ categories: '["welcome", "notification", "standard"]',
1556
+ readonly: '1'
1557
+ }];
1558
+ }
1559
+ response.data.forEach(_this.addTemplate);
1560
+ _this.sortTemplates();
1561
+ }).fail(function (response) {
1562
+ if (response.errors.length > 0) {
1563
+ _mailpoet2['default'].Notice.error(response.errors.map(function (error) {
1564
+ return error.message;
1565
+ }), { scroll: true });
1566
+ }
1567
+ }).always(function () {
1568
+ _this.selectInitialTab();
1569
+ });
1570
+ }
1571
+ }, {
1572
+ key: 'addTemplate',
1573
+ value: function addTemplate(template) {
1574
+ var _this2 = this;
1575
 
1576
+ var categoriesNames = templatesCategories.map(function (category) {
1577
+ return category.name;
1578
+ });
1579
+ var categories = undefined;
 
 
 
 
 
 
 
 
 
 
 
 
 
1580
 
1581
+ try {
1582
+ categories = JSON.parse(template.categories).filter(function (name) {
1583
+ return categoriesNames.indexOf(name) !== -1;
1584
+ });
1585
+ } catch (err) {
1586
+ categories = [];
 
 
1587
  }
 
 
 
 
 
1588
 
1589
+ // the template has no known category
1590
+ // we add it to "Your saved templates"
1591
+ if (categories.length === 0) {
1592
+ categories.push('saved');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1593
  }
 
 
 
 
1594
 
1595
+ categories.forEach(function (category) {
1596
+ if (_this2.templates[category] === undefined) {
1597
+ _this2.templates[category] = [];
1598
+ }
1599
+ _this2.templates[category].unshift(template);
1600
+ });
1601
  }
1602
+ }, {
1603
+ key: 'sortTemplates',
1604
+ value: function sortTemplates() {
1605
+ var _this3 = this;
1606
 
1607
+ Object.keys(this.templates).forEach(function (category) {
1608
+ _this3.templates[category].sort(function (a, b) {
1609
+ if (parseInt(a.id, 10) < parseInt(b.id, 10)) {
1610
+ return 1;
1611
+ }
1612
+ return -1;
1613
+ });
1614
+ });
1615
+ }
1616
+ }, {
1617
+ key: 'selectInitialTab',
1618
+ value: function selectInitialTab() {
1619
+ var _this4 = this;
 
 
 
 
 
 
 
 
 
 
 
 
 
1620
 
1621
+ var selectedTab = 'standard';
 
1622
  _mailpoet2['default'].Ajax.post({
1623
  api_version: window.mailpoet_api_version,
1624
+ endpoint: 'newsletters',
1625
+ action: 'get',
1626
  data: {
1627
+ id: this.props.params.id
1628
  }
1629
+ }).done(function (response) {
1630
+ selectedTab = response.data.type;
1631
  }).fail(function (response) {
1632
  if (response.errors.length > 0) {
1633
  _mailpoet2['default'].Notice.error(response.errors.map(function (error) {
1634
  return error.message;
1635
  }), { scroll: true });
1636
  }
1637
+ }).always(function () {
1638
+ _this4.setState({
1639
+ templates: _this4.templates,
1640
+ selectedTab: selectedTab,
1641
+ loading: false
1642
+ });
1643
  });
1644
+ }
1645
+ }, {
1646
+ key: 'afterTemplateDelete',
1647
+ value: function afterTemplateDelete(success, id) {
1648
+ var _this5 = this;
1649
+
1650
+ if (success) {
1651
+ Object.keys(this.templates).forEach(function (category) {
1652
+ _this5.templates[category] = _this5.templates[category].filter(function (template) {
1653
+ return template.id !== id;
1654
+ });
1655
+ });
1656
+ }
1657
+ this.setState({
1658
+ templates: this.templates,
1659
+ loading: false
1660
+ });
1661
+ }
1662
+ }, {
1663
+ key: 'afterTemplateSelect',
1664
+ value: function afterTemplateSelect(success, id) {
1665
+ if (success) {
1666
+ window.location = getEditorUrl(id);
1667
+ } else {
1668
+ this.setState({ loading: false });
1669
+ }
1670
+ }
1671
+ }, {
1672
+ key: 'afterTemplateImport',
1673
+ value: function afterTemplateImport(success, template) {
1674
+ if (success) {
1675
+ this.addTemplate(template);
1676
+ }
1677
+ this.setState({
1678
+ templates: this.templates,
1679
+ selectedTab: success ? 'saved' : 'import',
1680
+ loading: false
1681
+ });
1682
+ }
1683
+ }, {
1684
+ key: 'render',
1685
+ value: function render() {
1686
+ var _this6 = this;
1687
+
1688
+ var tabs = templatesCategories.concat({
1689
+ name: 'import',
1690
+ label: _mailpoet2['default'].I18n.t('tabImportTitle')
1691
+ });
1692
+
1693
+ var selectedTab = this.state.selectedTab;
1694
+ var content = null;
1695
+ if (selectedTab === 'import') {
1696
+ content = _react2['default'].createElement(_newslettersTemplatesImport_templateJsx2['default'], {
1697
+ beforeImport: function () {
1698
+ return _this6.setState({ loading: true });
1699
+ },
1700
+ afterImport: this.afterTemplateImport
1701
+ });
1702
+ } else {
1703
+ var templates = this.state.templates[this.state.selectedTab] || [];
1704
+ if (templates.length === 0) {
1705
+ if (this.state.loading) {
1706
+ templates = null;
1707
+ } else {
1708
+ templates = _react2['default'].createElement(
1709
+ 'p',
1710
+ null,
1711
+ _mailpoet2['default'].I18n.t('noTemplates')
1712
+ );
1713
+ }
1714
+ } else {
1715
+ templates = templates.map(function (template, index) {
1716
+ return _react2['default'].createElement(_newslettersTemplatesTemplate_boxJsx2['default'], _extends({
1717
+ key: index,
1718
+ index: index,
1719
+ newsletterId: _this6.props.params.id,
1720
+ beforeDelete: function () {
1721
+ return _this6.setState({ loading: true });
1722
+ },
1723
+ afterDelete: _this6.afterTemplateDelete,
1724
+ beforeSelect: function () {
1725
+ return _this6.setState({ loading: true });
1726
+ },
1727
+ afterSelect: _this6.afterTemplateSelect
1728
+ }, template));
1729
+ });
1730
+ }
1731
+ content = _react2['default'].createElement(
1732
+ 'ul',
1733
+ { className: 'mailpoet_boxes clearfix' },
1734
+ templates
1735
+ );
1736
+ }
1737
+
1738
+ return _react2['default'].createElement(
1739
+ 'div',
1740
+ null,
1741
+ this.state.loading && _react2['default'].createElement(_commonLoadingJsx2['default'], null),
1742
+ _react2['default'].createElement(
1743
+ 'h1',
1744
+ null,
1745
+ _mailpoet2['default'].I18n.t('selectTemplateTitle')
1746
+ ),
1747
+ _react2['default'].createElement(_newslettersBreadcrumbJsx2['default'], { step: 'template' }),
1748
+ _react2['default'].createElement(_newslettersTemplatesTabsJsx2['default'], {
1749
+ tabs: tabs,
1750
+ selected: this.state.selectedTab,
1751
+ select: function (name) {
1752
+ return _this6.setState({ selectedTab: name });
1753
+ }
1754
+ }),
1755
+ content
1756
+ );
1757
+ }
1758
+ }]);
1759
+
1760
+ return NewsletterTemplates;
1761
+ })(_react2['default'].Component);
1762
+
1763
+ exports['default'] = NewsletterTemplates;
1764
+ module.exports = exports['default'];
1765
+
1766
+ /***/ },
1767
+ /* 437 */
1768
+ /***/ function(module, exports, __webpack_require__) {
1769
+
1770
+ 'use strict';
1771
+
1772
+ Object.defineProperty(exports, '__esModule', {
1773
+ value: true
1774
+ });
1775
+
1776
+ var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();
1777
+
1778
+ var _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; desc = parent = undefined; continue _function; } } else if ('value' in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };
1779
+
1780
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
1781
+
1782
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }
1783
+
1784
+ function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
1785
+
1786
+ var _react = __webpack_require__(2);
1787
+
1788
+ var _react2 = _interopRequireDefault(_react);
1789
+
1790
+ var _mailpoet = __webpack_require__(276);
1791
+
1792
+ var _mailpoet2 = _interopRequireDefault(_mailpoet);
1793
+
1794
+ var Loading = (function (_React$Component) {
1795
+ _inherits(Loading, _React$Component);
1796
+
1797
+ function Loading() {
1798
+ _classCallCheck(this, Loading);
1799
+
1800
+ _get(Object.getPrototypeOf(Loading.prototype), 'constructor', this).apply(this, arguments);
1801
+ }
1802
+
1803
+ _createClass(Loading, [{
1804
+ key: 'componentWillMount',
1805
+ value: function componentWillMount() {
1806
+ _mailpoet2['default'].Modal.loading(true);
1807
+ }
1808
+ }, {
1809
+ key: 'componentWillUnmount',
1810
+ value: function componentWillUnmount() {
1811
+ _mailpoet2['default'].Modal.loading(false);
1812
+ }
1813
+ }, {
1814
+ key: 'render',
1815
+ value: function render() {
1816
+ return null;
1817
+ }
1818
+ }]);
1819
+
1820
+ return Loading;
1821
+ })(_react2['default'].Component);
1822
+
1823
+ exports['default'] = Loading;
1824
+ module.exports = exports['default'];
1825
+
1826
+ /***/ },
1827
+ /* 438 */
1828
+ /***/ function(module, exports, __webpack_require__) {
1829
+
1830
+ "use strict";
1831
+
1832
+ Object.defineProperty(exports, "__esModule", {
1833
+ value: true
1834
+ });
1835
+
1836
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
1837
+
1838
+ var _react = __webpack_require__(2);
1839
+
1840
+ var _react2 = _interopRequireDefault(_react);
1841
+
1842
+ var Tabs = function Tabs(_ref) {
1843
+ var tabs = _ref.tabs;
1844
+ var selected = _ref.selected;
1845
+ var select = _ref.select;
1846
+ return _react2["default"].createElement(
1847
+ "div",
1848
+ { className: "wp-filter hide-if-no-js" },
1849
+ _react2["default"].createElement(
1850
+ "ul",
1851
+ { className: "filter-links" },
1852
+ tabs.map(function (_ref2) {
1853
+ var name = _ref2.name;
1854
+ var label = _ref2.label;
1855
+ return _react2["default"].createElement(
1856
+ "li",
1857
+ { key: name },
1858
+ _react2["default"].createElement(
1859
+ "a",
1860
+ {
1861
+ href: "javascript:",
1862
+ className: selected === name ? 'current' : '',
1863
+ onClick: function () {
1864
+ return select(name);
1865
+ }
1866
+ },
1867
+ " ",
1868
+ label
1869
+ )
1870
+ );
1871
+ })
1872
+ )
1873
+ );
1874
+ };
1875
+
1876
+ exports["default"] = Tabs;
1877
+ module.exports = exports["default"];
1878
+
1879
+ /***/ },
1880
+ /* 439 */
1881
+ /***/ function(module, exports, __webpack_require__) {
1882
+
1883
+ 'use strict';
1884
+
1885
+ Object.defineProperty(exports, '__esModule', {
1886
+ value: true
1887
+ });
1888
+
1889
+ var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();
1890
+
1891
+ var _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; desc = parent = undefined; continue _function; } } else if ('value' in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };
1892
+
1893
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
1894
+
1895
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }
1896
+
1897
+ function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
1898
+
1899
+ var _react = __webpack_require__(2);
1900
+
1901
+ var _react2 = _interopRequireDefault(_react);
1902
+
1903
+ var _underscore = __webpack_require__(280);
1904
+
1905
+ var _underscore2 = _interopRequireDefault(_underscore);
1906
+
1907
+ var _mailpoet = __webpack_require__(276);
1908
+
1909
+ var _mailpoet2 = _interopRequireDefault(_mailpoet);
1910
+
1911
+ var _reactConfirmAlert = __webpack_require__(440);
1912
+
1913
+ /**
1914
+ * props = {
1915
+ * index, id, newsletterId, name, description, thumbnail, readonly,
1916
+ * beforeDelete, afterDelete, beforeSelect, afterSelect
1917
+ * }
1918
+ */
1919
+
1920
+ var TemplateBox = (function (_React$Component) {
1921
+ _inherits(TemplateBox, _React$Component);
1922
 
1923
+ function TemplateBox(props) {
1924
+ _classCallCheck(this, TemplateBox);
1925
+
1926
+ _get(Object.getPrototypeOf(TemplateBox.prototype), 'constructor', this).call(this, props);
1927
+ this.onPreview = this.onPreview.bind(this);
1928
+ this.onDelete = this.onDelete.bind(this);
1929
+ this.onSelect = this.onSelect.bind(this);
1930
+ }
1931
+
1932
+ _createClass(TemplateBox, [{
1933
+ key: 'onDelete',
1934
+ value: function onDelete() {
1935
+ var _props = this.props;
1936
+ var id = _props.id;
1937
+ var name = _props.name;
1938
+ var beforeDelete = _props.beforeDelete;
1939
+ var afterDelete = _props.afterDelete;
1940
+
1941
+ var onConfirm = function onConfirm() {
1942
+ beforeDelete();
1943
+ _mailpoet2['default'].Ajax.post({
1944
+ api_version: window.mailpoet_api_version,
1945
+ endpoint: 'newsletterTemplates',
1946
+ action: 'delete',
1947
+ data: {
1948
+ id: id
1949
+ }
1950
+ }).done(function () {
1951
+ afterDelete(true, id);
1952
+ }).fail(function (response) {
1953
+ if (response.errors.length > 0) {
1954
+ _mailpoet2['default'].Notice.error(response.errors.map(function (error) {
1955
+ return error.message;
1956
+ }), { scroll: true });
1957
+ }
1958
+ afterDelete(false);
1959
+ });
1960
+ };
1961
+ (0, _reactConfirmAlert.confirmAlert)({
1962
+ title: _mailpoet2['default'].I18n.t('confirmTitle'),
1963
+ message: _mailpoet2['default'].I18n.t('confirmTemplateDeletion').replace('%$1s', name),
1964
+ confirmLabel: _mailpoet2['default'].I18n.t('confirmLabel'),
1965
+ cancelLabel: _mailpoet2['default'].I18n.t('cancelLabel'),
1966
+ onConfirm: onConfirm,
1967
+ onCancel: function onCancel() {}
1968
+ });
1969
+ }
1970
+ }, {
1971
+ key: 'onPreview',
1972
+ value: function onPreview() {
1973
+ _mailpoet2['default'].Modal.popup({
1974
+ title: this.props.name,
1975
+ template: '<div class="mailpoet_boxes_preview" style="background-color: {{ body.globalStyles.body.backgroundColor }}"><img src="{{ thumbnail }}" /></div>',
1976
+ data: this.props
1977
+ });
1978
+ }
1979
+ }, {
1980
+ key: 'onSelect',
1981
+ value: function onSelect() {
1982
+ var _props2 = this.props;
1983
+ var newsletterId = _props2.newsletterId;
1984
+ var name = _props2.name;
1985
+ var beforeSelect = _props2.beforeSelect;
1986
+ var afterSelect = _props2.afterSelect;
1987
+
1988
+ var body = this.props.body;
1989
+
1990
+ if (!_underscore2['default'].isUndefined(body)) {
1991
+ body = JSON.stringify(body);
1992
+ }
1993
+
1994
+ beforeSelect();
1995
+
1996
+ _mailpoet2['default'].trackEvent('Emails > Template selected', {
1997
+ 'MailPoet Free version': window.mailpoet_version,
1998
+ 'Email name': name
1999
+ });
2000
+
2001
+ _mailpoet2['default'].Ajax.post({
2002
+ api_version: window.mailpoet_api_version,
2003
+ endpoint: 'newsletters',
2004
+ action: 'save',
2005
+ data: {
2006
+ id: newsletterId,
2007
+ body: body
2008
+ }
2009
+ }).done(function (response) {
2010
+ afterSelect(true, response.data.id);
2011
+ }).fail(function (response) {
2012
+ if (response.errors.length > 0) {
2013
+ _mailpoet2['default'].Notice.error(response.errors.map(function (error) {
2014
+ return error.message;
2015
+ }), { scroll: true });
2016
+ }
2017
+ afterSelect(false);
2018
+ });
2019
+ }
2020
+ }, {
2021
+ key: 'render',
2022
+ value: function render() {
2023
+ var _props3 = this.props;
2024
+ var index = _props3.index;
2025
+ var name = _props3.name;
2026
+ var thumbnail = _props3.thumbnail;
2027
+ var description = _props3.description;
2028
+ var readonly = _props3.readonly;
2029
 
 
2030
  var deleteLink = _react2['default'].createElement(
2031
  'div',
2032
  { className: 'mailpoet_delete' },
2033
  _react2['default'].createElement(
2034
  'a',
2035
+ { href: 'javascript:;', onClick: this.onDelete },
 
 
 
2036
  _mailpoet2['default'].I18n.t('delete')
2037
  )
2038
  );
 
2039
 
2040
+ var preview = '';
2041
+ if (typeof thumbnail === 'string' && thumbnail.length > 0) {
2042
+ preview = _react2['default'].createElement(
2043
  'a',
2044
+ { href: 'javascript:;', onClick: this.onPreview },
2045
+ _react2['default'].createElement('img', { src: thumbnail }),
2046
  _react2['default'].createElement('div', { className: 'mailpoet_overlay' })
2047
  );
2048
  }
2049
 
2050
  return _react2['default'].createElement(
2051
  'li',
2052
+ null,
2053
  _react2['default'].createElement(
2054
  'div',
2055
  { className: 'mailpoet_thumbnail' },
2056
+ preview
2057
  ),
2058
  _react2['default'].createElement(
2059
  'div',
2061
  _react2['default'].createElement(
2062
  'h3',
2063
  null,
2064
+ name
2065
  ),
2066
  _react2['default'].createElement(
2067
  'p',
2068
  null,
2069
+ description
2070
  )
2071
  ),
2072
  _react2['default'].createElement(
2076
  'a',
2077
  {
2078
  className: 'button button-secondary',
2079
+ onClick: this.onPreview
2080
  },
2081
  _mailpoet2['default'].I18n.t('preview')
2082
  ),
2086
  {
2087
  className: 'button button-primary',
2088
  'data-automation-id': 'select_template_' + index,
2089
+ onClick: this.onSelect
2090
  },
2091
+ ' ',
2092
+ _mailpoet2['default'].I18n.t('select'),
2093
+ ' '
2094
  )
2095
  ),
2096
+ readonly === '1' ? false : deleteLink
 
 
 
 
 
 
 
 
2097
  );
2098
  }
2099
+ }]);
2100
 
2101
+ return TemplateBox;
2102
+ })(_react2['default'].Component);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2103
 
2104
+ exports['default'] = TemplateBox;
2105
  module.exports = exports['default'];
2106
 
2107
  /***/ },
2108
+ /* 440 */
 
2109
  /***/ function(module, exports, __webpack_require__) {
2110
 
2111
  'use strict';
2229
  onCancel: function onCancel() {
2230
  return null;
2231
  }
2232
+ },
2233
+ enumerable: true
2234
+ }]);
2235
+
2236
+ return ReactConfirmAlert;
2237
+ })(_react.Component);
2238
+
2239
+ exports['default'] = ReactConfirmAlert;
2240
+
2241
+ function createSVGBlurReconfirm() {
2242
+ var svgNS = 'http://www.w3.org/2000/svg';
2243
+ var feGaussianBlur = document.createElementNS(svgNS, 'feGaussianBlur');
2244
+ feGaussianBlur.setAttribute('stdDeviation', '0.7');
2245
+
2246
+ var filter = document.createElementNS(svgNS, 'filter');
2247
+ filter.setAttribute('id', 'gaussian-blur');
2248
+ filter.appendChild(feGaussianBlur);
2249
+
2250
+ var svgElem = document.createElementNS(svgNS, 'svg');
2251
+ svgElem.setAttribute('id', 'react-confirm-alert-firm-svg');
2252
+ svgElem.setAttribute('class', 'react-confirm-alert-svg');
2253
+ svgElem.appendChild(filter);
2254
+
2255
+ document.body.appendChild(svgElem);
2256
+ }
2257
+
2258
+ function removeSVGBlurReconfirm() {
2259
+ var svg = document.getElementById('react-confirm-alert-firm-svg');
2260
+ svg.parentNode.removeChild(svg);
2261
+ document.body.children[0].classList.remove('react-confirm-alert-blur');
2262
+ }
2263
+
2264
+ function createElementReconfirm(properties) {
2265
+ document.body.children[0].classList.add('react-confirm-alert-blur');
2266
+ var divTarget = document.createElement('div');
2267
+ divTarget.id = 'react-confirm-alert';
2268
+ document.body.appendChild(divTarget);
2269
+ _reactDom.render(_react2['default'].createElement(ReactConfirmAlert, properties), divTarget);
2270
+ }
2271
+
2272
+ function removeElementReconfirm() {
2273
+ var target = document.getElementById('react-confirm-alert');
2274
+ _reactDom.unmountComponentAtNode(target);
2275
+ target.parentNode.removeChild(target);
2276
+ }
2277
+
2278
+ function confirmAlert(properties) {
2279
+ createSVGBlurReconfirm();
2280
+ createElementReconfirm(properties);
2281
+ }
2282
+
2283
+ /***/ },
2284
+ /* 441 */
2285
+ /***/ function(module, exports, __webpack_require__) {
2286
+
2287
+ 'use strict';
2288
+
2289
+ Object.defineProperty(exports, '__esModule', {
2290
+ value: true
2291
+ });
2292
+
2293
+ var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();
2294
+
2295
+ var _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; desc = parent = undefined; continue _function; } } else if ('value' in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };
2296
+
2297
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
2298
+
2299
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }
2300
+
2301
+ function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
2302
+
2303
+ var _react = __webpack_require__(2);
2304
+
2305
+ var _react2 = _interopRequireDefault(_react);
2306
+
2307
+ var _underscore = __webpack_require__(280);
2308
+
2309
+ var _underscore2 = _interopRequireDefault(_underscore);
2310
+
2311
+ var _mailpoet = __webpack_require__(276);
2312
+
2313
+ var _mailpoet2 = _interopRequireDefault(_mailpoet);
2314
+
2315
+ var _helpTooltipJsx = __webpack_require__(442);
2316
+
2317
+ var _helpTooltipJsx2 = _interopRequireDefault(_helpTooltipJsx);
2318
+
2319
+ /**
2320
+ * props = {beforeImport, afterImport}
2321
+ */
2322
+
2323
+ var ImportTemplate = (function (_React$Component) {
2324
+ _inherits(ImportTemplate, _React$Component);
2325
+
2326
+ function ImportTemplate(props) {
2327
+ _classCallCheck(this, ImportTemplate);
2328
+
2329
+ _get(Object.getPrototypeOf(ImportTemplate.prototype), 'constructor', this).call(this, props);
2330
+ this.handleSubmit = this.handleSubmit.bind(this);
2331
+ }
2332
+
2333
+ _createClass(ImportTemplate, [{
2334
+ key: 'saveTemplate',
2335
+ value: function saveTemplate(_saveTemplate) {
2336
+ var template = _saveTemplate;
2337
+ var _props = this.props;
2338
+ var beforeImport = _props.beforeImport;
2339
+ var afterImport = _props.afterImport;
2340
+
2341
+ // Stringify to enable transmission of primitive non-string value types
2342
+ if (!_underscore2['default'].isUndefined(template.body)) {
2343
+ template.body = JSON.stringify(template.body);
2344
+ }
2345
+
2346
+ try {
2347
+ template.categories = JSON.parse(template.categories);
2348
+ } catch (err) {
2349
+ template.categories = [];
2350
+ }
2351
 
2352
+ if (template.categories.indexOf('saved') === -1) {
2353
+ template.categories.push('saved');
2354
+ }
2355
 
2356
+ if (template.categories.indexOf('standard') === -1 && template.categories.indexOf('welcome') === -1 && template.categories.indexOf('notification') === -1) {
2357
+ template.categories.push('standard');
2358
+ }
2359
 
2360
+ template.categories = JSON.stringify(template.categories);
 
 
 
2361
 
2362
+ beforeImport();
2363
+ _mailpoet2['default'].Ajax.post({
2364
+ api_version: window.mailpoet_api_version,
2365
+ endpoint: 'newsletterTemplates',
2366
+ action: 'save',
2367
+ data: template
2368
+ }).done(function (response) {
2369
+ afterImport(true, response.data);
2370
+ }).fail(function (response) {
2371
+ if (response.errors.length > 0) {
2372
+ _mailpoet2['default'].Notice.error(response.errors.map(function (error) {
2373
+ return error.message;
2374
+ }), { scroll: true });
2375
+ }
2376
+ afterImport(false);
2377
+ });
2378
+ }
2379
+ }, {
2380
+ key: 'handleSubmit',
2381
+ value: function handleSubmit(e) {
2382
+ var _this = this;
2383
 
2384
+ e.preventDefault();
 
 
 
2385
 
2386
+ if (_underscore2['default'].size(this.refs.templateFile.files) <= 0) {
2387
+ return false;
2388
+ }
2389
 
2390
+ var file = _underscore2['default'].first(this.refs.templateFile.files);
2391
+ var reader = new FileReader();
 
 
 
2392
 
2393
+ reader.onload = function (evt) {
2394
+ try {
2395
+ _this.saveTemplate(JSON.parse(evt.target.result));
2396
+ _mailpoet2['default'].trackEvent('Emails > Template imported', {
2397
+ 'MailPoet Free version': window.mailpoet_version
2398
+ });
2399
+ } catch (err) {
2400
+ _mailpoet2['default'].Notice.error(_mailpoet2['default'].I18n.t('templateFileMalformedError'));
2401
+ }
2402
+ };
2403
 
2404
+ reader.readAsText(file);
2405
+ return true;
2406
+ }
2407
+ }, {
2408
+ key: 'render',
2409
+ value: function render() {
2410
+ return _react2['default'].createElement(
2411
+ 'div',
2412
+ null,
2413
+ _react2['default'].createElement(
2414
+ 'h2',
2415
+ null,
2416
+ _mailpoet2['default'].I18n.t('importTemplateTitle'),
2417
+ _react2['default'].createElement(_helpTooltipJsx2['default'], {
2418
+ tooltip: _mailpoet2['default'].I18n.t('helpTooltipTemplateUpload'),
2419
+ place: 'right',
2420
+ className: 'tooltip-help-import-template'
2421
+ })
2422
+ ),
2423
+ _react2['default'].createElement(
2424
+ 'form',
2425
+ { onSubmit: this.handleSubmit },
2426
+ _react2['default'].createElement('input', { type: 'file', placeholder: _mailpoet2['default'].I18n.t('selectJsonFileToUpload'), ref: 'templateFile' }),
2427
+ _react2['default'].createElement(
2428
+ 'p',
2429
+ { className: 'submit' },
2430
+ _react2['default'].createElement('input', {
2431
+ className: 'button button-primary',
2432
+ type: 'submit',
2433
+ value: _mailpoet2['default'].I18n.t('upload') })
2434
+ )
2435
+ )
2436
+ );
2437
+ }
2438
+ }]);
2439
 
2440
+ return ImportTemplate;
2441
+ })(_react2['default'].Component);
 
 
2442
 
2443
+ exports['default'] = ImportTemplate;
2444
+ module.exports = exports['default'];
2445
 
2446
+ /***/ },
2447
+ /* 442 */
2448
  /***/ function(module, exports, __webpack_require__) {
2449
 
2450
  'use strict';
2455
 
2456
  var _react2 = _interopRequireDefault(_react);
2457
 
2458
+ var _reactTooltip = __webpack_require__(443);
2459
 
2460
  var _reactTooltip2 = _interopRequireDefault(_reactTooltip);
2461
 
2462
+ var _reactHtmlParser = __webpack_require__(456);
2463
 
2464
  var _reactHtmlParser2 = _interopRequireDefault(_reactHtmlParser);
2465
 
2527
  module.exports = Tooltip;
2528
 
2529
  /***/ },
2530
+ /* 443 */,
2531
+ /* 444 */,
2532
+ /* 445 */,
2533
+ /* 446 */,
2534
+ /* 447 */,
2535
+ /* 448 */,
2536
+ /* 449 */,
2537
+ /* 450 */,
2538
+ /* 451 */,
2539
+ /* 452 */,
2540
+ /* 453 */,
2541
+ /* 454 */,
2542
+ /* 455 */,
2543
+ /* 456 */
2544
  /***/ function(module, exports, __webpack_require__) {
2545
 
2546
  'use strict';
2549
  value: true
2550
  });
2551
 
2552
+ var _HtmlParser = __webpack_require__(457);
2553
 
2554
  var _HtmlParser2 = _interopRequireDefault(_HtmlParser);
2555
 
2558
  exports.default = _HtmlParser2.default;
2559
 
2560
  /***/ },
2561
+ /* 457 */
 
2562
  /***/ function(module, exports, __webpack_require__) {
2563
 
2564
  'use strict';
2568
  });
2569
  exports.default = HtmlParser;
2570
 
2571
+ var _htmlparser = __webpack_require__(458);
2572
 
2573
  var _htmlparser2 = _interopRequireDefault(_htmlparser);
2574
 
2575
+ var _ProcessNodes = __webpack_require__(511);
2576
 
2577
  var _ProcessNodes2 = _interopRequireDefault(_ProcessNodes);
2578
 
2590
  }
2591
 
2592
  /***/ },
2593
+ /* 458 */
 
2594
  /***/ function(module, exports, __webpack_require__) {
2595
 
2596
+ var Parser = __webpack_require__(459),
2597
+ DomHandler = __webpack_require__(468);
2598
 
2599
  function defineProp(name, value){
2600
  delete module.exports[name];
2604
 
2605
  module.exports = {
2606
  Parser: Parser,
2607
+ Tokenizer: __webpack_require__(460),
2608
+ ElementType: __webpack_require__(469),
2609
  DomHandler: DomHandler,
2610
  get FeedHandler(){
2611
+ return defineProp("FeedHandler", __webpack_require__(472));
2612
  },
2613
  get Stream(){
2614
+ return defineProp("Stream", __webpack_require__(473));
2615
  },
2616
  get WritableStream(){
2617
+ return defineProp("WritableStream", __webpack_require__(474));
2618
  },
2619
  get ProxyHandler(){
2620
+ return defineProp("ProxyHandler", __webpack_require__(497));
2621
  },
2622
  get DomUtils(){
2623
+ return defineProp("DomUtils", __webpack_require__(498));
2624
  },
2625
  get CollectingHandler(){
2626
+ return defineProp("CollectingHandler", __webpack_require__(510));
2627
  },
2628
  // For legacy support
2629
  DefaultHandler: DomHandler,
2664
 
2665
 
2666
  /***/ },
2667
+ /* 459 */
 
2668
  /***/ function(module, exports, __webpack_require__) {
2669
 
2670
+ var Tokenizer = __webpack_require__(460);
2671
 
2672
  /*
2673
  Options:
2789
  if(this._cbs.onparserinit) this._cbs.onparserinit(this);
2790
  }
2791
 
2792
+ __webpack_require__(466)(Parser, __webpack_require__(467).EventEmitter);
2793
 
2794
  Parser.prototype._updatePosition = function(initialOffset){
2795
  if(this.endIndex === null){
3023
 
3024
 
3025
  /***/ },
3026
+ /* 460 */
 
3027
  /***/ function(module, exports, __webpack_require__) {
3028
 
3029
  module.exports = Tokenizer;
3030
 
3031
+ var decodeCodePoint = __webpack_require__(461),
3032
+ entityMap = __webpack_require__(463),
3033
+ legacyMap = __webpack_require__(464),
3034
+ xmlMap = __webpack_require__(465),
3035
 
3036
  i = 0,
3037
 
3935
 
3936
 
3937
  /***/ },
3938
+ /* 461 */
 
3939
  /***/ function(module, exports, __webpack_require__) {
3940
 
3941
+ var decodeMap = __webpack_require__(462);
3942
 
3943
  module.exports = decodeCodePoint;
3944
 
3967
 
3968
 
3969
  /***/ },
3970
+ /* 462 */
 
3971
  /***/ function(module, exports) {
3972
 
3973
  module.exports = {"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}
3974
 
3975
  /***/ },
3976
+ /* 463 */
 
3977
  /***/ function(module, exports) {
3978
 
3979
  module.exports = {"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\"","QUOT":"\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}
3980
 
3981
  /***/ },
3982
+ /* 464 */
 
3983
  /***/ function(module, exports) {
3984
 
3985
  module.exports = {"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\"","QUOT":"\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}
3986
 
3987
  /***/ },
3988
+ /* 465 */
 
3989
  /***/ function(module, exports) {
3990
 
3991
  module.exports = {"amp":"&","apos":"'","gt":">","lt":"<","quot":"\""}
3992
 
3993
  /***/ },
3994
+ /* 466 */
 
3995
  /***/ function(module, exports) {
3996
 
3997
  if (typeof Object.create === 'function') {
4020
 
4021
 
4022
  /***/ },
4023
+ /* 467 */
 
4024
  /***/ function(module, exports) {
4025
 
4026
  // Copyright Joyent, Inc. and other Node contributors.
4328
 
4329
 
4330
  /***/ },
4331
+ /* 468 */
 
4332
  /***/ function(module, exports, __webpack_require__) {
4333
 
4334
+ var ElementType = __webpack_require__(469);
4335
 
4336
  var re_whitespace = /\s+/g;
4337
+ var NodePrototype = __webpack_require__(470);
4338
+ var ElementPrototype = __webpack_require__(471);
4339
 
4340
  function DomHandler(callback, options, elementCB){
4341
  if(typeof callback === "object"){
4551
 
4552
 
4553
  /***/ },
4554
+ /* 469 */
 
4555
  /***/ function(module, exports) {
4556
 
4557
  //Types of elements found in the DOM
4572
 
4573
 
4574
  /***/ },
4575
+ /* 470 */
 
4576
  /***/ function(module, exports) {
4577
 
4578
  // This object will be used as the prototype for Nodes when creating a
4622
 
4623
 
4624
  /***/ },
4625
+ /* 471 */
 
4626
  /***/ function(module, exports, __webpack_require__) {
4627
 
4628
  // DOM-Level-1-compliant structure
4629
+ var NodePrototype = __webpack_require__(470);
4630
  var ElementPrototype = module.exports = Object.create(NodePrototype);
4631
 
4632
  var domLvl1 = {
4648
 
4649
 
4650
  /***/ },
4651
+ /* 472 */
 
4652
  /***/ function(module, exports, __webpack_require__) {
4653
 
4654
+ var index = __webpack_require__(458),
4655
  DomHandler = index.DomHandler,
4656
  DomUtils = index.DomUtils;
4657
 
4660
  this.init(callback, options);
4661
  }
4662
 
4663
+ __webpack_require__(466)(FeedHandler, DomHandler);
4664
 
4665
  FeedHandler.prototype.init = DomHandler;
4666
 
4749
 
4750
 
4751
  /***/ },
4752
+ /* 473 */
 
4753
  /***/ function(module, exports, __webpack_require__) {
4754
 
4755
  module.exports = Stream;
4756
 
4757
+ var Parser = __webpack_require__(474);
4758
 
4759
  function Stream(options){
4760
  Parser.call(this, new Cbs(this), options);
4761
  }
4762
 
4763
+ __webpack_require__(466)(Stream, Parser);
4764
 
4765
  Stream.prototype.readable = true;
4766
 
4768
  this.scope = scope;
4769
  }
4770
 
4771
+ var EVENTS = __webpack_require__(458).EVENTS;
4772
 
4773
  Object.keys(EVENTS).forEach(function(name){
4774
  if(EVENTS[name] === 0){
4789
  });
4790
 
4791
  /***/ },
4792
+ /* 474 */
 
4793
  /***/ function(module, exports, __webpack_require__) {
4794
 
4795
  module.exports = Stream;
4796
 
4797
+ var Parser = __webpack_require__(459),
4798
+ WritableStream = __webpack_require__(475).Writable || __webpack_require__(494).Writable,
4799
+ StringDecoder = __webpack_require__(495).StringDecoder,
4800
+ Buffer = __webpack_require__(479).Buffer;
4801
 
4802
  function Stream(cbs, options){
4803
  var parser = this._parser = new Parser(cbs, options);
4810
  });
4811
  }
4812
 
4813
+ __webpack_require__(466)(Stream, WritableStream);
4814
 
4815
  WritableStream.prototype._write = function(chunk, encoding, cb){
4816
  if(chunk instanceof Buffer) chunk = this._decoder.write(chunk);
4819
  };
4820
 
4821
  /***/ },
4822
+ /* 475 */
 
4823
  /***/ function(module, exports, __webpack_require__) {
4824
 
4825
  // Copyright Joyent, Inc. and other Node contributors.
4845
 
4846
  module.exports = Stream;
4847
 
4848
+ var EE = __webpack_require__(467).EventEmitter;
4849
+ var inherits = __webpack_require__(466);
4850
 
4851
  inherits(Stream, EE);
4852
+ Stream.Readable = __webpack_require__(476);
4853
+ Stream.Writable = __webpack_require__(490);
4854
+ Stream.Duplex = __webpack_require__(491);
4855
+ Stream.Transform = __webpack_require__(492);
4856
+ Stream.PassThrough = __webpack_require__(493);
4857
 
4858
  // Backwards-compat with node 0.4.x
4859
  Stream.Stream = Stream;
4952
 
4953
 
4954
  /***/ },
4955
+ /* 476 */
 
4956
  /***/ function(module, exports, __webpack_require__) {
4957
 
4958
+ /* WEBPACK VAR INJECTION */(function(process) {exports = module.exports = __webpack_require__(477);
4959
+ exports.Stream = __webpack_require__(475);
4960
  exports.Readable = exports;
4961
+ exports.Writable = __webpack_require__(486);
4962
+ exports.Duplex = __webpack_require__(485);
4963
+ exports.Transform = __webpack_require__(488);
4964
+ exports.PassThrough = __webpack_require__(489);
4965
  if (!process.browser && process.env.READABLE_STREAM === 'disable') {
4966
+ module.exports = __webpack_require__(475);
4967
  }
4968
 
4969
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
4970
 
4971
  /***/ },
4972
+ /* 477 */
 
4973
  /***/ function(module, exports, __webpack_require__) {
4974
 
4975
  /* WEBPACK VAR INJECTION */(function(process) {// Copyright Joyent, Inc. and other Node contributors.
4996
  module.exports = Readable;
4997
 
4998
  /*<replacement>*/
4999
+ var isArray = __webpack_require__(478);
5000
  /*</replacement>*/
5001
 
5002
 
5003
  /*<replacement>*/
5004
+ var Buffer = __webpack_require__(479).Buffer;
5005
  /*</replacement>*/
5006
 
5007
  Readable.ReadableState = ReadableState;
5008
 
5009
+ var EE = __webpack_require__(467).EventEmitter;
5010
 
5011
  /*<replacement>*/
5012
  if (!EE.listenerCount) EE.listenerCount = function(emitter, type) {
5014
  };
5015
  /*</replacement>*/
5016
 
5017
+ var Stream = __webpack_require__(475);
5018
 
5019
  /*<replacement>*/
5020
+ var util = __webpack_require__(483);
5021
+ util.inherits = __webpack_require__(466);
5022
  /*</replacement>*/
5023
 
5024
  var StringDecoder;
5025
 
5026
 
5027
  /*<replacement>*/
5028
+ var debug = __webpack_require__(484);
5029
  if (debug && debug.debuglog) {
5030
  debug = debug.debuglog('stream');
5031
  } else {
5037
  util.inherits(Readable, Stream);
5038
 
5039
  function ReadableState(options, stream) {
5040
+ var Duplex = __webpack_require__(485);
5041
 
5042
  options = options || {};
5043
 
5098
  this.encoding = null;
5099
  if (options.encoding) {
5100
  if (!StringDecoder)
5101
+ StringDecoder = __webpack_require__(487).StringDecoder;
5102
  this.decoder = new StringDecoder(options.encoding);
5103
  this.encoding = options.encoding;
5104
  }
5105
  }
5106
 
5107
  function Readable(options) {
5108
+ var Duplex = __webpack_require__(485);
5109
 
5110
  if (!(this instanceof Readable))
5111
  return new Readable(options);
5208
  // backwards compatibility.
5209
  Readable.prototype.setEncoding = function(enc) {
5210
  if (!StringDecoder)
5211
+ StringDecoder = __webpack_require__(487).StringDecoder;
5212
  this._readableState.decoder = new StringDecoder(enc);
5213
  this._readableState.encoding = enc;
5214
  return this;
5927
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
5928
 
5929
  /***/ },
5930
+ /* 478 */
 
5931
  /***/ function(module, exports) {
5932
 
5933
  module.exports = Array.isArray || function (arr) {
5936
 
5937
 
5938
  /***/ },
5939
+ /* 479 */
 
5940
  /***/ function(module, exports, __webpack_require__) {
5941
 
5942
  /* WEBPACK VAR INJECTION */(function(Buffer, global) {/*!
5949
 
5950
  'use strict'
5951
 
5952
+ var base64 = __webpack_require__(480)
5953
+ var ieee754 = __webpack_require__(481)
5954
+ var isArray = __webpack_require__(482)
5955
 
5956
  exports.Buffer = Buffer
5957
  exports.SlowBuffer = SlowBuffer
7729
  return val !== val // eslint-disable-line no-self-compare
7730
  }
7731
 
7732
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(479).Buffer, (function() { return this; }())))
7733
 
7734
  /***/ },
7735
+ /* 480 */
 
7736
  /***/ function(module, exports) {
7737
 
7738
  'use strict'
7852
 
7853
 
7854
  /***/ },
7855
+ /* 481 */
 
7856
  /***/ function(module, exports) {
7857
 
7858
  exports.read = function (buffer, offset, isLE, mLen, nBytes) {
7942
 
7943
 
7944
  /***/ },
7945
+ /* 482 */
 
7946
  /***/ function(module, exports) {
7947
 
7948
  var toString = {}.toString;
7953
 
7954
 
7955
  /***/ },
7956
+ /* 483 */
 
7957
  /***/ function(module, exports, __webpack_require__) {
7958
 
7959
  /* WEBPACK VAR INJECTION */(function(Buffer) {// Copyright Joyent, Inc. and other Node contributors.
8064
  return Object.prototype.toString.call(o);
8065
  }
8066
 
8067
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(479).Buffer))
8068
 
8069
  /***/ },
8070
+ /* 484 */
 
8071
  /***/ function(module, exports) {
8072
 
8073
  /* (ignored) */
8074
 
8075
  /***/ },
8076
+ /* 485 */
 
8077
  /***/ function(module, exports, __webpack_require__) {
8078
 
8079
  /* WEBPACK VAR INJECTION */(function(process) {// Copyright Joyent, Inc. and other Node contributors.
8114
 
8115
 
8116
  /*<replacement>*/
8117
+ var util = __webpack_require__(483);
8118
+ util.inherits = __webpack_require__(466);
8119
  /*</replacement>*/
8120
 
8121
+ var Readable = __webpack_require__(477);
8122
+ var Writable = __webpack_require__(486);
8123
 
8124
  util.inherits(Duplex, Readable);
8125
 
8169
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
8170
 
8171
  /***/ },
8172
+ /* 486 */
 
8173
  /***/ function(module, exports, __webpack_require__) {
8174
 
8175
  /* WEBPACK VAR INJECTION */(function(process) {// Copyright Joyent, Inc. and other Node contributors.
8200
  module.exports = Writable;
8201
 
8202
  /*<replacement>*/
8203
+ var Buffer = __webpack_require__(479).Buffer;
8204
  /*</replacement>*/
8205
 
8206
  Writable.WritableState = WritableState;
8207
 
8208
 
8209
  /*<replacement>*/
8210
+ var util = __webpack_require__(483);
8211
+ util.inherits = __webpack_require__(466);
8212
  /*</replacement>*/
8213
 
8214
+ var Stream = __webpack_require__(475);
8215
 
8216
  util.inherits(Writable, Stream);
8217
 
8222
  }
8223
 
8224
  function WritableState(options, stream) {
8225
+ var Duplex = __webpack_require__(485);
8226
 
8227
  options = options || {};
8228
 
8310
  }
8311
 
8312
  function Writable(options) {
8313
+ var Duplex = __webpack_require__(485);
8314
 
8315
  // Writable ctor is applied to Duplexes, though they're not
8316
  // instanceof Writable, they're instanceof Readable.
8653
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
8654
 
8655
  /***/ },
8656
+ /* 487 */
 
8657
  /***/ function(module, exports, __webpack_require__) {
8658
 
8659
  // Copyright Joyent, Inc. and other Node contributors.
8677
  // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
8678
  // USE OR OTHER DEALINGS IN THE SOFTWARE.
8679
 
8680
+ var Buffer = __webpack_require__(479).Buffer;
8681
 
8682
  var isBufferEncoding = Buffer.isEncoding
8683
  || function(encoding) {
8880
 
8881
 
8882
  /***/ },
8883
+ /* 488 */
 
8884
  /***/ function(module, exports, __webpack_require__) {
8885
 
8886
  // Copyright Joyent, Inc. and other Node contributors.
8949
 
8950
  module.exports = Transform;
8951
 
8952
+ var Duplex = __webpack_require__(485);
8953
 
8954
  /*<replacement>*/
8955
+ var util = __webpack_require__(483);
8956
+ util.inherits = __webpack_require__(466);
8957
  /*</replacement>*/
8958
 
8959
  util.inherits(Transform, Duplex);
9095
 
9096
 
9097
  /***/ },
9098
+ /* 489 */
 
9099
  /***/ function(module, exports, __webpack_require__) {
9100
 
9101
  // Copyright Joyent, Inc. and other Node contributors.
9125
 
9126
  module.exports = PassThrough;
9127
 
9128
+ var Transform = __webpack_require__(488);
9129
 
9130
  /*<replacement>*/
9131
+ var util = __webpack_require__(483);
9132
+ util.inherits = __webpack_require__(466);
9133
  /*</replacement>*/
9134
 
9135
  util.inherits(PassThrough, Transform);
9147
 
9148
 
9149
  /***/ },
9150
+ /* 490 */
 
9151
  /***/ function(module, exports, __webpack_require__) {
9152
 
9153
+ module.exports = __webpack_require__(486)
9154
 
9155
 
9156
  /***/ },
9157
+ /* 491 */
 
9158
  /***/ function(module, exports, __webpack_require__) {
9159
 
9160
+ module.exports = __webpack_require__(485)
9161
 
9162
 
9163
  /***/ },
9164
+ /* 492 */
 
9165
  /***/ function(module, exports, __webpack_require__) {
9166
 
9167
+ module.exports = __webpack_require__(488)
9168
 
9169
 
9170
  /***/ },
9171
+ /* 493 */
 
9172
  /***/ function(module, exports, __webpack_require__) {
9173
 
9174
+ module.exports = __webpack_require__(489)
9175
 
9176
 
9177
  /***/ },
9178
+ /* 494 */
 
9179
  /***/ function(module, exports) {
9180
 
9181
  /* (ignored) */
9182
 
9183
  /***/ },
9184
+ /* 495 */
 
9185
  /***/ function(module, exports, __webpack_require__) {
9186
 
9187
  'use strict';
9188
 
9189
+ var Buffer = __webpack_require__(496).Buffer;
9190
 
9191
  var isEncoding = Buffer.isEncoding || function (encoding) {
9192
  encoding = '' + encoding;
9458
  }
9459
 
9460
  /***/ },
9461
+ /* 496 */
 
9462
  /***/ function(module, exports, __webpack_require__) {
9463
 
9464
  /* eslint-disable node/no-deprecated-api */
9465
+ var buffer = __webpack_require__(479)
9466
  var Buffer = buffer.Buffer
9467
 
9468
  // alternative to using Object.keys for old browsers
9526
 
9527
 
9528
  /***/ },
9529
+ /* 497 */
 
9530
  /***/ function(module, exports, __webpack_require__) {
9531
 
9532
  module.exports = ProxyHandler;
9535
  this._cbs = cbs || {};
9536
  }
9537
 
9538
+ var EVENTS = __webpack_require__(458).EVENTS;
9539
  Object.keys(EVENTS).forEach(function(name){
9540
  if(EVENTS[name] === 0){
9541
  name = "on" + name;
9558
  });
9559
 
9560
  /***/ },
9561
+ /* 498 */
 
9562
  /***/ function(module, exports, __webpack_require__) {
9563
 
9564
  var DomUtils = module.exports;
9565
 
9566
  [
9567
+ __webpack_require__(499),
9568
+ __webpack_require__(505),
9569
+ __webpack_require__(506),
9570
+ __webpack_require__(507),
9571
+ __webpack_require__(508),
9572
+ __webpack_require__(509)
9573
  ].forEach(function(ext){
9574
  Object.keys(ext).forEach(function(key){
9575
  DomUtils[key] = ext[key].bind(DomUtils);
9578
 
9579
 
9580
  /***/ },
9581
+ /* 499 */
 
9582
  /***/ function(module, exports, __webpack_require__) {
9583
 
9584
+ var ElementType = __webpack_require__(469),
9585
+ getOuterHTML = __webpack_require__(500),
9586
  isTag = ElementType.isTag;
9587
 
9588
  module.exports = {
9607
 
9608
 
9609
  /***/ },
9610
+ /* 500 */
 
9611
  /***/ function(module, exports, __webpack_require__) {
9612
 
9613
  /*
9614
  Module dependencies
9615
  */
9616
+ var ElementType = __webpack_require__(501);
9617
+ var entities = __webpack_require__(502);
9618
 
9619
  /*
9620
  Boolean Attributes
9791
 
9792
 
9793
  /***/ },
9794
+ /* 501 */
 
9795
  /***/ function(module, exports) {
9796
 
9797
  //Types of elements found in the DOM
9810
  };
9811
 
9812
  /***/ },
9813
+ /* 502 */
 
9814
  /***/ function(module, exports, __webpack_require__) {
9815
 
9816
+ var encode = __webpack_require__(503),
9817
+ decode = __webpack_require__(504);
 
 
 
 
 
 
 
 
 
 
 
9818
 
9819
+ exports.decode = function(data, level){
9820
+ return (!level || level <= 0 ? decode.XML : decode.HTML)(data);
9821
+ };
9822
 
9823
+ exports.decodeStrict = function(data, level){
9824
+ return (!level || level <= 0 ? decode.XML : decode.HTMLStrict)(data);
9825
+ };
9826
 
9827
+ exports.encode = function(data, level){
9828
+ return (!level || level <= 0 ? encode.XML : encode.HTML)(data);
9829
+ };
9830
 
9831
+ exports.encodeXML = encode.XML;
9832
 
9833
+ exports.encodeHTML4 =
9834
+ exports.encodeHTML5 =
9835
+ exports.encodeHTML = encode.HTML;
9836
 
9837
+ exports.decodeXML =
9838
+ exports.decodeXMLStrict = decode.XML;
9839
 
9840
+ exports.decodeHTML4 =
9841
+ exports.decodeHTML5 =
9842
+ exports.decodeHTML = decode.HTML;
9843
 
9844
+ exports.decodeHTML4Strict =
9845
+ exports.decodeHTML5Strict =
9846
+ exports.decodeHTMLStrict = decode.HTMLStrict;
 
9847
 
9848
+ exports.escape = encode.escape;
9849
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9850
 
9851
  /***/ },
9852
+ /* 503 */
 
9853
  /***/ function(module, exports, __webpack_require__) {
9854
 
9855
+ var inverseXML = getInverseObj(__webpack_require__(465)),
9856
  xmlReplacer = getInverseReplacer(inverseXML);
9857
 
9858
  exports.XML = getInverse(inverseXML, xmlReplacer);
9859
 
9860
+ var inverseHTML = getInverseObj(__webpack_require__(463)),
9861
  htmlReplacer = getInverseReplacer(inverseHTML);
9862
 
9863
  exports.HTML = getInverse(inverseHTML, htmlReplacer);
9928
 
9929
 
9930
  /***/ },
9931
+ /* 504 */
 
9932
  /***/ function(module, exports, __webpack_require__) {
9933
 
9934
+ var entityMap = __webpack_require__(463),
9935
+ legacyMap = __webpack_require__(464),
9936
+ xmlMap = __webpack_require__(465),
9937
+ decodeCodePoint = __webpack_require__(461);
9938
 
9939
  var decodeXMLStrict = getStrictDecoder(xmlMap),
9940
  decodeHTMLStrict = getStrictDecoder(entityMap);
10005
  };
10006
 
10007
  /***/ },
10008
+ /* 505 */
 
10009
  /***/ function(module, exports) {
10010
 
10011
  var getChildren = exports.getChildren = function(elem){
10035
 
10036
 
10037
  /***/ },
10038
+ /* 506 */
 
10039
  /***/ function(module, exports) {
10040
 
10041
  exports.removeElement = function(elem){
10118
 
10119
 
10120
  /***/ },
10121
+ /* 507 */
 
10122
  /***/ function(module, exports, __webpack_require__) {
10123
 
10124
+ var isTag = __webpack_require__(469).isTag;
10125
 
10126
  module.exports = {
10127
  filter: filter,
10223
 
10224
 
10225
  /***/ },
10226
+ /* 508 */
 
10227
  /***/ function(module, exports, __webpack_require__) {
10228
 
10229
+ var ElementType = __webpack_require__(469);
10230
  var isTag = exports.isTag = ElementType.isTag;
10231
 
10232
  exports.testElement = function(options, element){
10316
 
10317
 
10318
  /***/ },
10319
+ /* 509 */
 
10320
  /***/ function(module, exports) {
10321
 
10322
  // removeSubsets
10463
 
10464
 
10465
  /***/ },
10466
+ /* 510 */
 
10467
  /***/ function(module, exports, __webpack_require__) {
10468
 
10469
  module.exports = CollectingHandler;
10473
  this.events = [];
10474
  }
10475
 
10476
+ var EVENTS = __webpack_require__(458).EVENTS;
10477
  Object.keys(EVENTS).forEach(function(name){
10478
  if(EVENTS[name] === 0){
10479
  name = "on" + name;
10524
 
10525
 
10526
  /***/ },
10527
+ /* 511 */
 
10528
  /***/ function(module, exports, __webpack_require__) {
10529
 
10530
  'use strict';
10534
  });
10535
  exports.default = ProcessNodes;
10536
 
10537
+ var _elementTypes = __webpack_require__(512);
10538
 
10539
  var _elementTypes2 = _interopRequireDefault(_elementTypes);
10540
 
10577
  }
10578
 
10579
  /***/ },
10580
+ /* 512 */
 
10581
  /***/ function(module, exports, __webpack_require__) {
10582
 
10583
  'use strict';
10588
 
10589
  var _ElementType$Text$Ele;
10590
 
10591
+ var _htmlparser = __webpack_require__(458);
10592
 
10593
+ var _TextElementType = __webpack_require__(513);
10594
 
10595
  var _TextElementType2 = _interopRequireDefault(_TextElementType);
10596
 
10597
+ var _TagElementType = __webpack_require__(514);
10598
 
10599
  var _TagElementType2 = _interopRequireDefault(_TagElementType);
10600
 
10601
+ var _StyleElementType = __webpack_require__(522);
10602
 
10603
  var _StyleElementType2 = _interopRequireDefault(_StyleElementType);
10604
 
10605
+ var _UnsupportedElementType = __webpack_require__(523);
10606
 
10607
  var _UnsupportedElementType2 = _interopRequireDefault(_UnsupportedElementType);
10608
 
10617
  exports.default = (_ElementType$Text$Ele = {}, _defineProperty(_ElementType$Text$Ele, _htmlparser.ElementType.Text, _TextElementType2.default), _defineProperty(_ElementType$Text$Ele, _htmlparser.ElementType.Tag, _TagElementType2.default), _defineProperty(_ElementType$Text$Ele, _htmlparser.ElementType.Style, _StyleElementType2.default), _defineProperty(_ElementType$Text$Ele, _htmlparser.ElementType.Directive, _UnsupportedElementType2.default), _defineProperty(_ElementType$Text$Ele, _htmlparser.ElementType.Comment, _UnsupportedElementType2.default), _defineProperty(_ElementType$Text$Ele, _htmlparser.ElementType.Script, _UnsupportedElementType2.default), _defineProperty(_ElementType$Text$Ele, _htmlparser.ElementType.CDATA, _UnsupportedElementType2.default), _defineProperty(_ElementType$Text$Ele, _htmlparser.ElementType.Doctype, _UnsupportedElementType2.default), _ElementType$Text$Ele);
10618
 
10619
  /***/ },
10620
+ /* 513 */
 
10621
  /***/ function(module, exports) {
10622
 
10623
  "use strict";
10639
  }
10640
 
10641
  /***/ },
10642
+ /* 514 */
 
10643
  /***/ function(module, exports, __webpack_require__) {
10644
 
10645
  'use strict';
10653
 
10654
  var _react2 = _interopRequireDefault(_react);
10655
 
10656
+ var _ProcessNodes = __webpack_require__(511);
10657
 
10658
  var _ProcessNodes2 = _interopRequireDefault(_ProcessNodes);
10659
 
10660
+ var _GeneratePropsFromAttributes = __webpack_require__(515);
10661
 
10662
  var _GeneratePropsFromAttributes2 = _interopRequireDefault(_GeneratePropsFromAttributes);
10663
 
10664
+ var _TransformTagName = __webpack_require__(520);
10665
 
10666
  var _TransformTagName2 = _interopRequireDefault(_TransformTagName);
10667
 
10668
+ var _VoidElements = __webpack_require__(521);
10669
 
10670
  var _VoidElements2 = _interopRequireDefault(_VoidElements);
10671
 
10697
  }
10698
 
10699
  /***/ },
10700
+ /* 515 */
 
10701
  /***/ function(module, exports, __webpack_require__) {
10702
 
10703
  'use strict';
10710
 
10711
  exports.default = GeneratePropsFromAttributes;
10712
 
10713
+ var _HtmlAttributesToReact = __webpack_require__(516);
10714
 
10715
  var _HtmlAttributesToReact2 = _interopRequireDefault(_HtmlAttributesToReact);
10716
 
10717
+ var _InlineStyleToObject = __webpack_require__(519);
10718
 
10719
  var _InlineStyleToObject2 = _interopRequireDefault(_InlineStyleToObject);
10720
 
10740
  }
10741
 
10742
  /***/ },
10743
+ /* 516 */
 
10744
  /***/ function(module, exports, __webpack_require__) {
10745
 
10746
  'use strict';
10750
  });
10751
  exports.default = HtmlAttributesToReact;
10752
 
10753
+ var _BooleanAttributes = __webpack_require__(517);
10754
 
10755
  var _BooleanAttributes2 = _interopRequireDefault(_BooleanAttributes);
10756
 
10757
+ var _ReactAttributes = __webpack_require__(518);
10758
 
10759
  var _ReactAttributes2 = _interopRequireDefault(_ReactAttributes);
10760
 
10806
  }
10807
 
10808
  /***/ },
10809
+ /* 517 */
 
10810
  /***/ function(module, exports) {
10811
 
10812
  'use strict';
10825
  exports.default = ['allowfullScreen', 'async', 'autoplay', 'capture', 'checked', 'controls', 'default', 'defer', 'disabled', 'formnovalidate', 'hidden', 'loop', 'multiple', 'muted', 'novalidate', 'open', 'readonly', 'required', 'reversed', 'scoped', 'seamless', 'selected', 'itemscope'];
10826
 
10827
  /***/ },
10828
+ /* 518 */
 
10829
  /***/ function(module, exports) {
10830
 
10831
  'use strict';
10993
  };
10994
 
10995
  /***/ },
10996
+ /* 519 */
 
10997
  /***/ function(module, exports) {
10998
 
10999
  'use strict';
11056
  }
11057
 
11058
  /***/ },
11059
+ /* 520 */
 
11060
  /***/ function(module, exports) {
11061
 
11062
  'use strict';
11086
  }
11087
 
11088
  /***/ },
11089
+ /* 521 */
 
11090
  /***/ function(module, exports) {
11091
 
11092
  'use strict';
11102
  exports.default = ['area', 'base', 'br', 'col', 'command', 'embed', 'hr', 'img', 'input', 'keygen', 'link', 'meta', 'param', 'source', 'track', 'wbr'];
11103
 
11104
  /***/ },
11105
+ /* 522 */
 
11106
  /***/ function(module, exports, __webpack_require__) {
11107
 
11108
  'use strict';
11116
 
11117
  var _react2 = _interopRequireDefault(_react);
11118
 
11119
+ var _GeneratePropsFromAttributes = __webpack_require__(515);
11120
 
11121
  var _GeneratePropsFromAttributes2 = _interopRequireDefault(_GeneratePropsFromAttributes);
11122
 
11146
  }
11147
 
11148
  /***/ },
11149
+ /* 523 */
 
11150
  /***/ function(module, exports) {
11151
 
11152
  "use strict";
11167
  }
11168
 
11169
  /***/ },
11170
+ /* 524 */
 
11171
  /***/ function(module, exports, __webpack_require__) {
11172
 
11173
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
11174
 
11175
  var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
11176
 
11177
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(2), __webpack_require__(181), __webpack_require__(280), __webpack_require__(276), __webpack_require__(293), __webpack_require__(529), __webpack_require__(525), __webpack_require__(530), __webpack_require__(434), __webpack_require__(442), __webpack_require__(275), __webpack_require__(533)], __WEBPACK_AMD_DEFINE_RESULT__ = function (React, Router, _, MailPoet, Form, StandardNewsletterFields, NotificationNewsletterFields, WelcomeNewsletterFields, Breadcrumb, HelpTooltip, jQuery, html2canvas) {
11178
  var NewsletterSend = React.createClass({
11179
  displayName: 'NewsletterSend',
11180
 
11542
  }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
11543
 
11544
  /***/ },
11545
+ /* 525 */
 
11546
  /***/ function(module, exports, __webpack_require__) {
11547
 
11548
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
11549
 
11550
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(276), __webpack_require__(431), __webpack_require__(526), __webpack_require__(280)], __WEBPACK_AMD_DEFINE_RESULT__ = function (MailPoet, Hooks, Scheduling, _) {
11551
  var fields = [{
11552
  name: 'subject',
11553
  label: MailPoet.I18n.t('subjectLine'),
11641
  }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
11642
 
11643
  /***/ },
11644
+ /* 526 */
 
11645
  /***/ function(module, exports, __webpack_require__) {
11646
 
11647
  'use strict';
11660
 
11661
  var _formFieldsSelectJsx2 = _interopRequireDefault(_formFieldsSelectJsx);
11662
 
11663
+ var _newslettersSchedulingCommonJsx = __webpack_require__(527);
11664
 
11665
  var intervalField = {
11666
  name: 'intervalType',
11774
  module.exports = NotificationScheduling;
11775
 
11776
  /***/ },
11777
+ /* 527 */,
11778
+ /* 528 */,
11779
+ /* 529 */
11780
  /***/ function(module, exports, __webpack_require__) {
11781
 
11782
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
12164
  }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
12165
 
12166
  /***/ },
12167
+ /* 530 */
 
12168
  /***/ function(module, exports, __webpack_require__) {
12169
 
12170
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
12171
 
12172
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(276), __webpack_require__(431), __webpack_require__(531)], __WEBPACK_AMD_DEFINE_RESULT__ = function (MailPoet, Hooks, Scheduling) {
12173
  var fields = [{
12174
  name: 'subject',
12175
  label: MailPoet.I18n.t('subjectLine'),
12235
  }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
12236
 
12237
  /***/ },
12238
+ /* 531 */,
12239
+ /* 532 */,
12240
+ /* 533 */
12241
  /***/ function(module, exports, __webpack_require__) {
12242
 
12243
+ /* WEBPACK VAR INJECTION */(function(global) {module.exports = global["html2canvas"] = __webpack_require__(534);
12244
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
12245
 
12246
  /***/ },
12247
+ /* 534 */
 
12248
  /***/ function(module, exports, __webpack_require__) {
12249
 
12250
  var require;var require;/* WEBPACK VAR INJECTION */(function(global) {/*
16784
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
16785
 
16786
  /***/ },
16787
+ /* 535 */
 
16788
  /***/ function(module, exports, __webpack_require__) {
16789
 
16790
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
16838
  }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
16839
 
16840
  /***/ },
16841
+ /* 536 */
 
16842
  /***/ function(module, exports, __webpack_require__) {
16843
 
16844
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
16845
 
16846
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(280), __webpack_require__(2), __webpack_require__(181), __webpack_require__(276), __webpack_require__(526), __webpack_require__(434)], __WEBPACK_AMD_DEFINE_RESULT__ = function (_, React, Router, MailPoet, Scheduling, Breadcrumb) {
16847
  var field = {
16848
  name: 'options',
16849
  type: 'reactComponent',
16932
  }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
16933
 
16934
  /***/ },
16935
+ /* 537 */,
16936
+ /* 538 */,
16937
+ /* 539 */,
16938
+ /* 540 */,
16939
+ /* 541 */
16940
  /***/ function(module, exports, __webpack_require__) {
16941
 
16942
  'use strict';
16949
 
16950
  var _reactRouter = __webpack_require__(181);
16951
 
16952
+ var _reactConfirmAlert = __webpack_require__(440);
16953
 
16954
  var _classnames = __webpack_require__(277);
16955
 
16967
 
16968
  var _listingListingJsx2 = _interopRequireDefault(_listingListingJsx);
16969
 
16970
+ var _newslettersListingsTabsJsx = __webpack_require__(542);
16971
 
16972
  var _newslettersListingsTabsJsx2 = _interopRequireDefault(_newslettersListingsTabsJsx);
16973
 
16974
+ var _newslettersListingsMixinsJsx = __webpack_require__(543);
16975
 
16976
  var mailpoetTrackingEnabled = !!window.mailpoet_tracking_enabled;
16977
 
17200
  module.exports = NewsletterListStandard;
17201
 
17202
  /***/ },
17203
+ /* 542 */
 
17204
  /***/ function(module, exports, __webpack_require__) {
17205
 
17206
  'use strict';
17273
  module.exports = ListingTabs;
17274
 
17275
  /***/ },
17276
+ /* 543 */
 
17277
  /***/ function(module, exports, __webpack_require__) {
17278
 
17279
  'use strict';
17318
 
17319
  var _wpJsHooks2 = _interopRequireDefault(_wpJsHooks);
17320
 
17321
+ var _newslettersBadgesStatsJsx = __webpack_require__(544);
17322
 
17323
  var _newslettersBadgesStatsJsx2 = _interopRequireDefault(_newslettersBadgesStatsJsx);
17324
 
17781
  exports.MailerMixin = MailerMixin;
17782
 
17783
  /***/ },
17784
+ /* 544 */,
17785
+ /* 545 */,
17786
+ /* 546 */,
17787
+ /* 547 */
17788
  /***/ function(module, exports, __webpack_require__) {
17789
 
17790
  'use strict';
17801
 
17802
  var _listingListingJsx2 = _interopRequireDefault(_listingListingJsx);
17803
 
17804
+ var _newslettersListingsTabsJsx = __webpack_require__(542);
17805
 
17806
  var _newslettersListingsTabsJsx2 = _interopRequireDefault(_newslettersListingsTabsJsx);
17807
 
17808
+ var _newslettersListingsMixinsJsx = __webpack_require__(543);
17809
 
17810
  var _classnames = __webpack_require__(277);
17811
 
18137
  module.exports = NewsletterListWelcome;
18138
 
18139
  /***/ },
18140
+ /* 548 */
 
18141
  /***/ function(module, exports, __webpack_require__) {
18142
 
18143
  'use strict';
18154
 
18155
  var _listingListingJsx2 = _interopRequireDefault(_listingListingJsx);
18156
 
18157
+ var _newslettersListingsTabsJsx = __webpack_require__(542);
18158
 
18159
  var _newslettersListingsTabsJsx2 = _interopRequireDefault(_newslettersListingsTabsJsx);
18160
 
18161
+ var _newslettersListingsMixinsJsx = __webpack_require__(543);
18162
 
18163
  var _classnames = __webpack_require__(277);
18164
 
18168
 
18169
  var _mailpoet2 = _interopRequireDefault(_mailpoet);
18170
 
18171
+ var _newslettersSchedulingCommonJsx = __webpack_require__(527);
18172
 
18173
  var messages = {
18174
  onTrash: function onTrash(response) {
18484
  module.exports = NewsletterListNotification;
18485
 
18486
  /***/ },
18487
+ /* 549 */
 
18488
  /***/ function(module, exports, __webpack_require__) {
18489
 
18490
  'use strict';
18513
 
18514
  var _listingListingJsx2 = _interopRequireDefault(_listingListingJsx);
18515
 
18516
+ var _newslettersListingsTabsJsx = __webpack_require__(542);
18517
 
18518
  var _newslettersListingsTabsJsx2 = _interopRequireDefault(_newslettersListingsTabsJsx);
18519
 
18520
+ var _newslettersListingsMixinsJsx = __webpack_require__(543);
18521
 
18522
  var mailpoetTrackingEnabled = !!window.mailpoet_tracking_enabled;
18523
 
18652
  module.exports = NewsletterListNotificationHistory;
18653
 
18654
  /***/ },
18655
+ /* 550 */
 
18656
  /***/ function(module, exports, __webpack_require__) {
18657
 
18658
  'use strict';
18671
 
18672
  var _history = __webpack_require__(244);
18673
 
18674
+ var _segmentsListJsx = __webpack_require__(551);
18675
 
18676
  var _segmentsListJsx2 = _interopRequireDefault(_segmentsListJsx);
18677
 
18678
+ var _segmentsFormJsx = __webpack_require__(552);
18679
 
18680
  var _segmentsFormJsx2 = _interopRequireDefault(_segmentsFormJsx);
18681
 
18707
  }
18708
 
18709
  /***/ },
18710
+ /* 551 */
 
18711
  /***/ function(module, exports, __webpack_require__) {
18712
 
18713
  'use strict';
19026
  module.exports = SegmentList;
19027
 
19028
  /***/ },
19029
+ /* 552 */
 
19030
  /***/ function(module, exports, __webpack_require__) {
19031
 
19032
  /* WEBPACK VAR INJECTION */(function(global) {"use strict";
19033
 
19034
  if (!global["MailPoetLib"]) global["MailPoetLib"] = {};
19035
+ module.exports = global["MailPoetLib"]["Form"] = __webpack_require__(553);
19036
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
19037
 
19038
  /***/ },
19039
+ /* 553 */
 
19040
  /***/ function(module, exports, __webpack_require__) {
19041
 
19042
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
19098
  }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
19099
 
19100
  /***/ },
19101
+ /* 554 */
 
19102
  /***/ function(module, exports, __webpack_require__) {
19103
 
19104
  'use strict';
19117
 
19118
  var _history = __webpack_require__(244);
19119
 
19120
+ var _listJsx = __webpack_require__(555);
19121
 
19122
  var _listJsx2 = _interopRequireDefault(_listJsx);
19123
 
19147
  }
19148
 
19149
  /***/ },
19150
+ /* 555 */
 
19151
  /***/ function(module, exports, __webpack_require__) {
19152
 
19153
  'use strict';
19378
  module.exports = FormList;
19379
 
19380
  /***/ },
19381
+ /* 556 */
 
19382
  /***/ function(module, exports, __webpack_require__) {
19383
 
19384
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
19385
+ __webpack_require__(557),
19386
  __webpack_require__(275),
19387
  __webpack_require__(276)
19388
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function ( // eslint-disable-line func-names
19470
 
19471
 
19472
  /***/ },
19473
+ /* 557 */
 
19474
  /***/ function(module, exports, __webpack_require__) {
19475
 
19476
+ /* WEBPACK VAR INJECTION */(function(global) {module.exports = global["Backbone"] = __webpack_require__(558);
19477
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
19478
 
19479
  /***/ },
19480
+ /* 558 */
 
19481
  /***/ function(module, exports, __webpack_require__) {
19482
 
19483
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(global) {// Backbone.js 1.3.3
21404
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
21405
 
21406
  /***/ },
21407
+ /* 559 */
 
21408
  /***/ function(module, exports, __webpack_require__) {
21409
 
21410
  'use strict';
21423
 
21424
  var _history = __webpack_require__(244);
21425
 
21426
+ var _helpSystem_statusJsx = __webpack_require__(560);
21427
 
21428
  var _helpSystem_statusJsx2 = _interopRequireDefault(_helpSystem_statusJsx);
21429
 
21430
+ var _helpSystem_infoJsx = __webpack_require__(562);
21431
 
21432
  var _helpSystem_infoJsx2 = _interopRequireDefault(_helpSystem_infoJsx);
21433
 
21434
+ var _helpKnowledge_baseJsx = __webpack_require__(563);
21435
 
21436
  var _helpKnowledge_baseJsx2 = _interopRequireDefault(_helpKnowledge_baseJsx);
21437
 
21464
  /* Pages */
21465
 
21466
  /***/ },
21467
+ /* 560 */
 
21468
  /***/ function(module, exports, __webpack_require__) {
21469
 
21470
  'use strict';
21483
 
21484
  var _reactStringReplace2 = _interopRequireDefault(_reactStringReplace);
21485
 
21486
+ var _tabsJsx = __webpack_require__(561);
21487
 
21488
  var _tabsJsx2 = _interopRequireDefault(_tabsJsx);
21489
 
21577
  module.exports = SystemStatus;
21578
 
21579
  /***/ },
21580
+ /* 561 */
 
21581
  /***/ function(module, exports, __webpack_require__) {
21582
 
21583
  'use strict';
21640
  module.exports = Tabs;
21641
 
21642
  /***/ },
21643
+ /* 562 */
 
21644
  /***/ function(module, exports, __webpack_require__) {
21645
 
21646
  'use strict';
21659
 
21660
  var _underscore2 = _interopRequireDefault(_underscore);
21661
 
21662
+ var _tabsJsx = __webpack_require__(561);
21663
 
21664
  var _tabsJsx2 = _interopRequireDefault(_tabsJsx);
21665
 
21712
  module.exports = SystemInfo;
21713
 
21714
  /***/ },
21715
+ /* 563 */
 
21716
  /***/ function(module, exports, __webpack_require__) {
21717
 
21718
  'use strict';
21727
 
21728
  var _mailpoet2 = _interopRequireDefault(_mailpoet);
21729
 
21730
+ var _tabsJsx = __webpack_require__(561);
21731
 
21732
  var _tabsJsx2 = _interopRequireDefault(_tabsJsx);
21733
 
21828
  module.exports = KnowledgeBase;
21829
 
21830
  /***/ },
21831
+ /* 564 */
 
21832
  /***/ function(module, exports, __webpack_require__) {
21833
 
21834
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
21875
 
21876
 
21877
  /***/ },
21878
+ /* 565 */
 
21879
  /***/ function(module, exports, __webpack_require__) {
21880
 
21881
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disable func-names */
21882
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
21883
+ __webpack_require__(557),
21884
  __webpack_require__(280),
21885
  __webpack_require__(275),
21886
  __webpack_require__(276),
21887
+ __webpack_require__(566),
21888
+ __webpack_require__(567),
21889
+ __webpack_require__(568),
21890
  __webpack_require__(303)
21891
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (
21892
  Backbone,
22089
  if (emailColumnPosition === null
22090
  && window.emailRegex.test(emailAddress)) {
22091
  emailColumnPosition = column;
22092
+ // add current e-mail to an object index
22093
+ parsedEmails[emailAddress] = true;
22094
  rowData[column] = emailAddress;
22095
  processedSubscribers[emailAddress] = rowData;
22096
  }
22124
  processedSubscribers = _.values(processedSubscribers);
22125
  // if the header options is set, there should be at least
22126
  // 2 data rows, otherwise at least 1 data row
22127
+ if (
22128
+ processedSubscribers &&
22129
+ (
22130
+ (isHeaderFound && processedSubscribers.length >= 2)
22131
+ ||
22132
+ (!isHeaderFound && processedSubscribers.length >= 1)
22133
+ )
22134
  ) {
22135
  // since we assume that the header line is always present, we need
22136
  // to detect the header by checking if it contains a valid e-mail address
22495
  template: jQuery('#new_segment_template').html()
22496
  });
22497
  jQuery('#new_segment_name').keypress(function (e) {
22498
+ if (e.which === 13) {
22499
  jQuery('#new_segment_process').click();
22500
  }
22501
  });
22646
  var columnId = jQuery(element).data('column-id');
22647
  var validationRule = jQuery(element).data('validation-rule');
22648
  jQuery(element).val(columnId).trigger('change');
22649
+ return {
22650
+ id: columnId,
22651
+ index: elementIndex,
22652
+ validationRule: validationRule,
22653
+ element: element
22654
+ };
22655
  });
22656
  // iterate through the object of mailpoet columns
22657
  jQuery.map(window.mailpoetColumns, function (column) {
22662
  var allowedDateFormats;
22663
  // check if the column id matches the selected id of one of the
22664
  // subscriber's data columns
22665
+ var matchedColumn = _.find(
22666
+ displayedColumns,
22667
+ function (data) { return data.id === column.id; }
22668
+ );
22669
  // EMAIL filter: if the first value in the column doesn't have a valid
22670
  // email, hide the next button
22671
  if (column.id === 'email') {
22865
  .each(function () {
22866
  var element = this;
22867
  var elementId = jQuery(element).val();
22868
+ // if another column has the same value and it's not an 'ignore',
22869
+ // prompt user
22870
  if (elementId === selectedOptionId
22871
  && elementId !== 'ignore') {
22872
  if (confirm(MailPoet.I18n.t('selectedValueAlreadyMatched') + ' ' + MailPoet.I18n.t('confirmCorrespondingColumn'))) {
22949
  clickImportResults.created += response.data.created;
22950
  clickImportResults.updated += response.data.updated;
22951
  clickImportResults.segments = response.data.segments;
22952
+ clickImportResults.added_to_segment_with_welcome_notification =
22953
+ response.data.added_to_segment_with_welcome_notification;
22954
  addQueue.run();
22955
  }).fail(function (response) {
22956
  MailPoet.Modal.loading(false);
22961
  );
22962
  }
22963
  });
22964
+ batchNumber += 1;
22965
  });
22966
  });
22967
 
22969
 
22970
  queue.onComplete(function () {
22971
  MailPoet.Modal.loading(false);
22972
+ if (
22973
+ clickImportResults.errors.length > 0
22974
+ && !clickImportResults.updated
22975
+ && !clickImportResults.created
22976
+ ) {
22977
  MailPoet.Notice.error(_.flatten(clickImportResults.errors)
22978
  );
22979
  }
23031
  .replace('%2$s', '"' + window.importData.step2.segments.join('", "') + '"')
23032
  : false,
23033
  no_action: (!window.importData.step2.created && !window.importData.step2.updated),
23034
+ added_to_segment_with_welcome_notification:
23035
+ window.importData.step2.added_to_segment_with_welcome_notification
23036
  };
23037
 
23038
  jQuery('#subscribers_data_import_results')
23066
 
23067
 
23068
  /***/ },
23069
+ /* 566 */,
23070
+ /* 567 */
23071
  /***/ function(module, exports) {
23072
 
23073
  /*!
23078
  !function(e){"use strict";function t(t,r){if(r=r||{},r.worker&&w.WORKERS_SUPPORTED){var n=h();return n.userStep=r.step,n.userChunk=r.chunk,n.userComplete=r.complete,n.userError=r.error,r.step=m(r.step),r.chunk=m(r.chunk),r.complete=m(r.complete),r.error=m(r.error),delete r.worker,void n.postMessage({input:t,config:r,workerId:n.id})}var o=null;return"string"==typeof t?o=r.download?new i(r):new a(r):(e.File&&t instanceof File||t instanceof Object)&&(o=new s(r)),o.stream(t)}function r(e,t){function r(){"object"==typeof t&&("string"==typeof t.delimiter&&1==t.delimiter.length&&-1==w.BAD_DELIMITERS.indexOf(t.delimiter)&&(u=t.delimiter),("boolean"==typeof t.quotes||t.quotes instanceof Array)&&(o=t.quotes),"string"==typeof t.newline&&(f=t.newline))}function n(e){if("object"!=typeof e)return[];var t=[];for(var r in e)t.push(r);return t}function i(e,t){var r="";"string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t));var n=e instanceof Array&&e.length>0,i=!(t[0]instanceof Array);if(n){for(var a=0;a<e.length;a++)a>0&&(r+=u),r+=s(e[a],a);t.length>0&&(r+=f)}for(var o=0;o<t.length;o++){for(var h=n?e.length:t[o].length,d=0;h>d;d++){d>0&&(r+=u);var c=n&&i?e[d]:d;r+=s(t[o][c],d)}o<t.length-1&&(r+=f)}return r}function s(e,t){if("undefined"==typeof e||null===e)return"";e=e.toString().replace(/"/g,'""');var r="boolean"==typeof o&&o||o instanceof Array&&o[t]||a(e,w.BAD_DELIMITERS)||e.indexOf(u)>-1||" "==e.charAt(0)||" "==e.charAt(e.length-1);return r?'"'+e+'"':e}function a(e,t){for(var r=0;r<t.length;r++)if(e.indexOf(t[r])>-1)return!0;return!1}var o=!1,u=",",f="\r\n";if(r(),"string"==typeof e&&(e=JSON.parse(e)),e instanceof Array){if(!e.length||e[0]instanceof Array)return i(null,e);if("object"==typeof e[0])return i(n(e[0]),e)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),e.data instanceof Array&&(e.fields||(e.fields=e.data[0]instanceof Array?e.fields:n(e.data[0])),e.data[0]instanceof Array||"object"==typeof e.data[0]||(e.data=[e.data])),i(e.fields||[],e.data||[]);throw"exception: Unable to serialize unrecognized input"}function n(t){function r(e){var t=_(e);t.chunkSize=parseInt(t.chunkSize),this._handle=new o(t),this._handle.streamer=this,this._config=t}this._handle=null,this._paused=!1,this._finished=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this._completeResults={data:[],errors:[],meta:{}},r.call(this,t),this.parseChunk=function(t){var r=this._partialLine+t;this._partialLine="";var n=this._handle.parse(r,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var i=n.meta.cursor;this._finished||(this._partialLine=r.substring(i-this._baseIndex),this._baseIndex=i),n&&n.data&&(this._rowCount+=n.data.length);var s=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(k)e.postMessage({results:n,workerId:w.WORKER_ID,finished:s});else if(m(this._config.chunk)){if(this._config.chunk(n,this._handle),this._paused)return;n=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(n.data),this._completeResults.errors=this._completeResults.errors.concat(n.errors),this._completeResults.meta=n.meta),!s||!m(this._config.complete)||n&&n.meta.aborted||this._config.complete(this._completeResults),s||n&&n.meta.paused||this._nextChunk(),n}},this._sendError=function(t){m(this._config.error)?this._config.error(t):k&&this._config.error&&e.postMessage({workerId:w.WORKER_ID,error:t,finished:!1})}}function i(e){function t(e){var t=e.getResponseHeader("Content-Range");return parseInt(t.substr(t.lastIndexOf("/")+1))}e=e||{},e.chunkSize||(e.chunkSize=w.RemoteChunkSize),n.call(this,e);var r;this._nextChunk=k?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)return void this._chunkLoaded();if(r=new XMLHttpRequest,k||(r.onload=g(this._chunkLoaded,this),r.onerror=g(this._chunkError,this)),r.open("GET",this._input,!k),this._config.chunkSize){var e=this._start+this._config.chunkSize-1;r.setRequestHeader("Range","bytes="+this._start+"-"+e),r.setRequestHeader("If-None-Match","webkit-no-cache")}try{r.send()}catch(t){this._chunkError(t.message)}k&&0==r.status?this._chunkError():this._start+=this._config.chunkSize},this._chunkLoaded=function(){if(4==r.readyState){if(r.status<200||r.status>=400)return void this._chunkError();this._finished=!this._config.chunkSize||this._start>t(r),this.parseChunk(r.responseText)}},this._chunkError=function(e){var t=r.statusText||e;this._sendError(t)}}function s(e){e=e||{},e.chunkSize||(e.chunkSize=w.LocalChunkSize),n.call(this,e);var t,r,i="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,r=e.slice||e.webkitSlice||e.mozSlice,i?(t=new FileReader,t.onload=g(this._chunkLoaded,this),t.onerror=g(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var e=this._input;if(this._config.chunkSize){var n=Math.min(this._start+this._config.chunkSize,this._input.size);e=r.call(e,this._start,n)}var s=t.readAsText(e,this._config.encoding);i||this._chunkLoaded({target:{result:s}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function a(e){e=e||{},n.call(this,e);var t,r;this.stream=function(e){return t=e,r=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var e=this._config.chunkSize,t=e?r.substr(0,e):r;return r=e?r.substr(e):"",this._finished=!r,this.parseChunk(t)}}}function o(e){function t(){if(b&&c&&(f("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+w.DefaultDelimiter+"'"),c=!1),e.skipEmptyLines)for(var t=0;t<b.data.length;t++)1==b.data[t].length&&""==b.data[t][0]&&b.data.splice(t--,1);return r()&&n(),i()}function r(){return e.header&&0==y.length}function n(){if(b){for(var e=0;r()&&e<b.data.length;e++)for(var t=0;t<b.data[e].length;t++)y.push(b.data[e][t]);b.data.splice(0,1)}}function i(){if(!b||!e.header&&!e.dynamicTyping)return b;for(var t=0;t<b.data.length;t++){for(var r={},n=0;n<b.data[t].length;n++){if(e.dynamicTyping){var i=b.data[t][n];b.data[t][n]="true"==i||"TRUE"==i?!0:"false"==i||"FALSE"==i?!1:o(i)}e.header&&(n>=y.length?(r.__parsed_extra||(r.__parsed_extra=[]),r.__parsed_extra.push(b.data[t][n])):r[y[n]]=b.data[t][n])}e.header&&(b.data[t]=r,n>y.length?f("FieldMismatch","TooManyFields","Too many fields: expected "+y.length+" fields but parsed "+n,t):n<y.length&&f("FieldMismatch","TooFewFields","Too few fields: expected "+y.length+" fields but parsed "+n,t))}return e.header&&b.meta&&(b.meta.fields=y),b}function s(t){for(var r,n,i,s=[","," ","|",";",w.RECORD_SEP,w.UNIT_SEP],a=0;a<s.length;a++){var o=s[a],f=0,h=0;i=void 0;for(var d=new u({delimiter:o,preview:10}).parse(t),c=0;c<d.data.length;c++){var l=d.data[c].length;h+=l,"undefined"!=typeof i?l>1&&(f+=Math.abs(l-i),i=l):i=l}h/=d.data.length,("undefined"==typeof n||n>f)&&h>1.99&&(n=f,r=o)}return e.delimiter=r,{successful:!!r,bestDelimiter:r}}function a(e){e=e.substr(0,1048576);var t=e.split("\r");if(1==t.length)return"\n";for(var r=0,n=0;n<t.length;n++)"\n"==t[n][0]&&r++;return r>=t.length/2?"\r\n":"\r"}function o(e){var t=l.test(e);return t?parseFloat(e):e}function f(e,t,r,n){b.errors.push({type:e,code:t,message:r,row:n})}var h,d,c,l=/^\s*-?(\d*\.?\d+|\d+\.?\d*)(e[-+]?\d+)?\s*$/i,p=this,g=0,v=!1,k=!1,y=[],b={data:[],errors:[],meta:{}};if(m(e.step)){var R=e.step;e.step=function(n){if(b=n,r())t();else{if(t(),0==b.data.length)return;g+=n.data.length,e.preview&&g>e.preview?d.abort():R(b,p)}}}this.parse=function(r,n,i){if(e.newline||(e.newline=a(r)),c=!1,!e.delimiter){var o=s(r);o.successful?e.delimiter=o.bestDelimiter:(c=!0,e.delimiter=w.DefaultDelimiter),b.meta.delimiter=e.delimiter}var f=_(e);return e.preview&&e.header&&f.preview++,h=r,d=new u(f),b=d.parse(h,n,i),t(),v?{meta:{paused:!0}}:b||{meta:{paused:!1}}},this.paused=function(){return v},this.pause=function(){v=!0,d.abort(),h=h.substr(d.getCharIndex())},this.resume=function(){v=!1,p.streamer.parseChunk(h)},this.aborted=function(){return k},this.abort=function(){k=!0,d.abort(),b.meta.aborted=!0,m(e.complete)&&e.complete(b),h=""}}function u(e){e=e||{};var t=e.delimiter,r=e.newline,n=e.comments,i=e.step,s=e.preview,a=e.fastMode;if(("string"!=typeof t||w.BAD_DELIMITERS.indexOf(t)>-1)&&(t=","),n===t)throw"Comment character same as delimiter";n===!0?n="#":("string"!=typeof n||w.BAD_DELIMITERS.indexOf(n)>-1)&&(n=!1),"\n"!=r&&"\r"!=r&&"\r\n"!=r&&(r="\n");var o=0,u=!1;this.parse=function(e,f,h){function d(e){b.push(e),S=o}function c(t){return h?p():(t||(t=e.substr(o)),w.push(t),o=g,d(w),y&&_(),p())}function l(t){o=t,d(w),w=[],O=e.indexOf(r,o)}function p(e){return{data:b,errors:R,meta:{delimiter:t,linebreak:r,aborted:u,truncated:!!e,cursor:S+(f||0)}}}function _(){i(p()),b=[],R=[]}if("string"!=typeof e)throw"Input must be a string";var g=e.length,m=t.length,v=r.length,k=n.length,y="function"==typeof i;o=0;var b=[],R=[],w=[],S=0;if(!e)return p();if(a||a!==!1&&-1===e.indexOf('"')){for(var E=e.split(r),C=0;C<E.length;C++){var w=E[C];if(o+=w.length,C!==E.length-1)o+=r.length;else if(h)return p();if(!n||w.substr(0,k)!=n){if(y){if(b=[],d(w.split(t)),_(),u)return p()}else d(w.split(t));if(s&&C>=s)return b=b.slice(0,s),p(!0)}}return p()}for(var x=e.indexOf(t,o),O=e.indexOf(r,o);;)if('"'!=e[o])if(n&&0===w.length&&e.substr(o,k)===n){if(-1==O)return p();o=O+v,O=e.indexOf(r,o),x=e.indexOf(t,o)}else if(-1!==x&&(O>x||-1===O))w.push(e.substring(o,x)),o=x+m,x=e.indexOf(t,o);else{if(-1===O)break;if(w.push(e.substring(o,O)),l(O+v),y&&(_(),u))return p();if(s&&b.length>=s)return p(!0)}else{var I=o;for(o++;;){var I=e.indexOf('"',I+1);if(-1===I)return h||R.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:b.length,index:o}),c();if(I===g-1){var D=e.substring(o,I).replace(/""/g,'"');return c(D)}if('"'!=e[I+1]){if(e[I+1]==t){w.push(e.substring(o,I).replace(/""/g,'"')),o=I+1+m,x=e.indexOf(t,o),O=e.indexOf(r,o);break}if(e.substr(I+1,v)===r){if(w.push(e.substring(o,I).replace(/""/g,'"')),l(I+1+v),x=e.indexOf(t,o),y&&(_(),u))return p();if(s&&b.length>=s)return p(!0);break}}else I++}}return c()},this.abort=function(){u=!0},this.getCharIndex=function(){return o}}function f(){var e=document.getElementsByTagName("script");return e.length?e[e.length-1].src:""}function h(){if(!w.WORKERS_SUPPORTED)return!1;if(!y&&null===w.SCRIPT_PATH)throw new Error("Script path cannot be determined automatically when Papa Parse is loaded asynchronously. You need to set Papa.SCRIPT_PATH manually.");var t=new e.Worker(w.SCRIPT_PATH||v);return t.onmessage=d,t.id=R++,b[t.id]=t,t}function d(e){var t=e.data,r=b[t.workerId],n=!1;if(t.error)r.userError(t.error,t.file);else if(t.results&&t.results.data){var i=function(){n=!0,c(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},s={abort:i,pause:l,resume:l};if(m(r.userStep)){for(var a=0;a<t.results.data.length&&(r.userStep({data:[t.results.data[a]],errors:t.results.errors,meta:t.results.meta},s),!n);a++);delete t.results}else m(r.userChunk)&&(r.userChunk(t.results,s,t.file),delete t.results)}t.finished&&!n&&c(t.workerId,t.results)}function c(e,t){var r=b[e];m(r.userComplete)&&r.userComplete(t),r.terminate(),delete b[e]}function l(){throw"Not implemented."}function p(t){var r=t.data;if("undefined"==typeof w.WORKER_ID&&r&&(w.WORKER_ID=r.workerId),"string"==typeof r.input)e.postMessage({workerId:w.WORKER_ID,results:w.parse(r.input,r.config),finished:!0});else if(e.File&&r.input instanceof File||r.input instanceof Object){var n=w.parse(r.input,r.config);n&&e.postMessage({workerId:w.WORKER_ID,results:n,finished:!0})}}function _(e){if("object"!=typeof e)return e;var t=e instanceof Array?[]:{};for(var r in e)t[r]=_(e[r]);return t}function g(e,t){return function(){e.apply(t,arguments)}}function m(e){return"function"==typeof e}var v,k=!e.document&&!!e.postMessage,y=!1,b={},R=0,w={};if(w.parse=t,w.unparse=r,w.RECORD_SEP=String.fromCharCode(30),w.UNIT_SEP=String.fromCharCode(31),w.BYTE_ORDER_MARK="",w.BAD_DELIMITERS=["\r","\n",'"',w.BYTE_ORDER_MARK],w.WORKERS_SUPPORTED=!!e.Worker,w.SCRIPT_PATH=null,w.LocalChunkSize=10485760,w.RemoteChunkSize=5242880,w.DefaultDelimiter=",",w.Parser=u,w.ParserHandle=o,w.NetworkStreamer=i,w.FileStreamer=s,w.StringStreamer=a,"undefined"!=typeof module&&module.exports?module.exports=w:m(e.define)&&e.define.amd?e.define(function(){return w}):e.Papa=w,e.jQuery){var S=e.jQuery;S.fn.parse=function(t){function r(){if(0==a.length)return void(m(t.complete)&&t.complete());var e=a[0];if(m(t.before)){var r=t.before(e.file,e.inputElem);if("object"==typeof r){if("abort"==r.action)return void n("AbortError",e.file,e.inputElem,r.reason);if("skip"==r.action)return void i();"object"==typeof r.config&&(e.instanceConfig=S.extend(e.instanceConfig,r.config))}else if("skip"==r)return void i()}var s=e.instanceConfig.complete;e.instanceConfig.complete=function(t){m(s)&&s(t,e.file,e.inputElem),i()},w.parse(e.file,e.instanceConfig)}function n(e,r,n,i){m(t.error)&&t.error({name:e},r,n,i)}function i(){a.splice(0,1),r()}var s=t.config||{},a=[];return this.each(function(){var t="INPUT"==S(this).prop("tagName").toUpperCase()&&"file"==S(this).attr("type").toLowerCase()&&e.FileReader;if(!t||!this.files||0==this.files.length)return!0;for(var r=0;r<this.files.length;r++)a.push({file:this.files[r],inputElem:this,instanceConfig:S.extend({},s)})}),r(),this}}k?e.onmessage=p:w.WORKERS_SUPPORTED&&(v=f(),document.body?document.addEventListener("DOMContentLoaded",function(){y=!0},!0):y=!0),i.prototype=Object.create(n.prototype),i.prototype.constructor=i,s.prototype=Object.create(n.prototype),s.prototype.constructor=s,a.prototype=Object.create(a.prototype),a.prototype.constructor=a}("undefined"!=typeof window?window:this);
23079
 
23080
  /***/ },
23081
+ /* 568 */
 
23082
  /***/ function(module, exports) {
23083
 
23084
  /*
23163
 
23164
 
23165
  /***/ },
23166
+ /* 569 */
 
23167
  /***/ function(module, exports, __webpack_require__) {
23168
 
23169
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
23170
  __webpack_require__(280),
23171
  __webpack_require__(275),
23172
  __webpack_require__(276),
23173
+ __webpack_require__(566)
23174
+ ], __WEBPACK_AMD_DEFINE_RESULT__ = function exportSubscribers(
23175
  _,
23176
  jQuery,
23177
  MailPoet,
23180
  if (!jQuery('#mailpoet_subscribers_export').length) {
23181
  return;
23182
  }
23183
+ jQuery(document).ready(function documentReady() {
23184
  var segmentsContainerElement;
23185
  var subscriberFieldsContainerElement;
23186
  var nextStepButton;
23209
  segmentsContainerElement = jQuery('#export_lists');
23210
  subscriberFieldsContainerElement = jQuery('#export_columns');
23211
  nextStepButton = jQuery('a.mailpoet_export_process');
23212
+ renderSegmentsAndFields = function renderSegmentsFields(container, data) {
23213
  if (container.data('select2')) {
23214
  container
23215
  .html('')
23219
  .select2({
23220
  data: data,
23221
  width: '20em',
23222
+ templateResult: function templateResult(item) {
23223
  return (item.subscriberCount > 0)
23224
  ? item.name + ' (' + parseInt(item.subscriberCount).toLocaleString() + ')'
23225
  : item.name;
23226
  },
23227
+ templateSelection: function templateSelection(item) {
23228
  return (item.subscriberCount > 0)
23229
  ? item.name + ' (' + parseInt(item.subscriberCount).toLocaleString() + ')'
23230
  : item.name;
23231
  }
23232
  })
23233
+ .on('select2:selecting', function onSelect2Selecting(selectEvent) {
23234
  var selectElement = this;
23235
  var selectedOptionId = selectEvent.params.args.data.id;
23236
  var fieldsToExclude = [
23244
  jQuery(selectElement).val('').trigger('change');
23245
  } else {
23246
  allOptions = [];
23247
+ _.each(container.find('option'), function eachOption(field) {
23248
  if (!_.contains(fieldsToExclude, field.value)) {
23249
  allOptions.push(field.value);
23250
  }
23254
  jQuery(selectElement).select2('close');
23255
  }
23256
  })
23257
+ .on('change', function onCHange() {
23258
  if ((window.exportData.segments && segmentsContainerElement.select2('data').length && subscriberFieldsContainerElement.select2('data').length)
23259
  ||
23260
  (!window.exportData.segments && subscriberFieldsContainerElement.select2('data').length)
23277
  'list_status'
23278
  ]).trigger('change');
23279
 
23280
+ nextStepButton.click(function nextClick() {
23281
  var exportFormat;
23282
  if (jQuery(this).hasClass('button-disabled')) {
23283
  return;
23293
  segments: (window.exportData.segments) ? segmentsContainerElement.val() : false,
23294
  subscriber_fields: subscriberFieldsContainerElement.val()
23295
  })
23296
+ }).always(function always() {
23297
  MailPoet.Modal.loading(false);
23298
+ }).done(function done(response) {
23299
  var resultMessage = MailPoet.I18n.t('exportMessage')
23300
  .replace('%1$s', '<strong>' + parseInt(response.data.totalExported).toLocaleString() + '</strong>')
23301
  .replace('[link]', '<a href="' + response.data.exportFileURL + '" target="_blank" >')
23307
  'File Format': exportFormat,
23308
  'MailPoet Free version': window.mailpoet_version
23309
  });
23310
+ }).fail(function fail(response) {
23311
  if (response.errors.length > 0) {
23312
  MailPoet.Notice.error(
23313
+ response.errors.map(function mapError(error) { return error.message; }),
23314
  { scroll: true }
23315
  );
23316
  }
23321
 
23322
 
23323
  /***/ }
23324
+ ]);
 
assets/js/{admin_vendor.88895510.js → admin_vendor.34b14aa4.js} RENAMED
@@ -8,11 +8,11 @@ webpackJsonp([1],[
8
  __webpack_require__(424);
9
  __webpack_require__(278);
10
  __webpack_require__(293);
11
- __webpack_require__(540);
12
  __webpack_require__(434);
13
- __webpack_require__(533);
14
- __webpack_require__(535);
15
- __webpack_require__(527);
16
  module.exports = __webpack_require__(244);
17
 
18
 
@@ -34128,6 +34128,7 @@ webpackJsonp([1],[
34128
  var _this = this;
34129
 
34130
  var items = this.getItems(this.props.field);
 
34131
  var options = items.map(function (item, index) {
34132
  var label = _this.getLabel(item);
34133
  var searchLabel = _this.getSearchLabel(item);
@@ -34139,7 +34140,8 @@ webpackJsonp([1],[
34139
  key: 'option-' + index,
34140
  className: 'default',
34141
  value: value,
34142
- title: searchLabel
 
34143
  },
34144
  label
34145
  );
@@ -34153,7 +34155,7 @@ webpackJsonp([1],[
34153
  disabled: this.props.field.disabled,
34154
  'data-placeholder': this.props.field.placeholder,
34155
  multiple: this.props.field.multiple,
34156
- defaultValue: this.getSelectedValues()
34157
  }, this.props.field.validation),
34158
  this.insertEmptyOption(),
34159
  options
@@ -58060,7 +58062,11 @@ webpackJsonp([1],[
58060
  /* 436 */,
58061
  /* 437 */,
58062
  /* 438 */,
58063
- /* 439 */
 
 
 
 
58064
  /***/ function(module, exports, __webpack_require__) {
58065
 
58066
  'use strict';
@@ -58096,45 +58102,45 @@ webpackJsonp([1],[
58096
 
58097
  var _classnames2 = _interopRequireDefault(_classnames);
58098
 
58099
- var _staticMethods = __webpack_require__(440);
58100
 
58101
  var _staticMethods2 = _interopRequireDefault(_staticMethods);
58102
 
58103
- var _windowListener = __webpack_require__(442);
58104
 
58105
  var _windowListener2 = _interopRequireDefault(_windowListener);
58106
 
58107
- var _customEvent = __webpack_require__(443);
58108
 
58109
  var _customEvent2 = _interopRequireDefault(_customEvent);
58110
 
58111
- var _isCapture = __webpack_require__(444);
58112
 
58113
  var _isCapture2 = _interopRequireDefault(_isCapture);
58114
 
58115
- var _getEffect = __webpack_require__(445);
58116
 
58117
  var _getEffect2 = _interopRequireDefault(_getEffect);
58118
 
58119
- var _trackRemoval = __webpack_require__(446);
58120
 
58121
  var _trackRemoval2 = _interopRequireDefault(_trackRemoval);
58122
 
58123
- var _getPosition = __webpack_require__(447);
58124
 
58125
  var _getPosition2 = _interopRequireDefault(_getPosition);
58126
 
58127
- var _getTipContent = __webpack_require__(448);
58128
 
58129
  var _getTipContent2 = _interopRequireDefault(_getTipContent);
58130
 
58131
- var _aria = __webpack_require__(449);
58132
 
58133
- var _nodeListToArray = __webpack_require__(450);
58134
 
58135
  var _nodeListToArray2 = _interopRequireDefault(_nodeListToArray);
58136
 
58137
- var _style = __webpack_require__(451);
58138
 
58139
  var _style2 = _interopRequireDefault(_style);
58140
 
@@ -58659,7 +58665,7 @@ webpackJsonp([1],[
58659
  module.exports = ReactTooltip;
58660
 
58661
  /***/ },
58662
- /* 440 */
58663
  /***/ function(module, exports, __webpack_require__) {
58664
 
58665
  'use strict';
@@ -58717,7 +58723,7 @@ webpackJsonp([1],[
58717
  };
58718
  };
58719
 
58720
- var _constant = __webpack_require__(441);
58721
 
58722
  var _constant2 = _interopRequireDefault(_constant);
58723
 
@@ -58742,7 +58748,7 @@ webpackJsonp([1],[
58742
  */
58743
 
58744
  /***/ },
58745
- /* 441 */
58746
  /***/ function(module, exports) {
58747
 
58748
  'use strict';
@@ -58760,7 +58766,7 @@ webpackJsonp([1],[
58760
  };
58761
 
58762
  /***/ },
58763
- /* 442 */
58764
  /***/ function(module, exports, __webpack_require__) {
58765
 
58766
  'use strict';
@@ -58806,14 +58812,14 @@ webpackJsonp([1],[
58806
  };
58807
  };
58808
 
58809
- var _constant = __webpack_require__(441);
58810
 
58811
  var _constant2 = _interopRequireDefault(_constant);
58812
 
58813
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
58814
 
58815
  /***/ },
58816
- /* 443 */
58817
  /***/ function(module, exports) {
58818
 
58819
  'use strict';
@@ -58906,7 +58912,7 @@ webpackJsonp([1],[
58906
  var customListener = void 0;
58907
 
58908
  /***/ },
58909
- /* 444 */
58910
  /***/ function(module, exports) {
58911
 
58912
  'use strict';
@@ -58923,7 +58929,7 @@ webpackJsonp([1],[
58923
  };
58924
 
58925
  /***/ },
58926
- /* 445 */
58927
  /***/ function(module, exports) {
58928
 
58929
  'use strict';
@@ -58940,7 +58946,7 @@ webpackJsonp([1],[
58940
  };
58941
 
58942
  /***/ },
58943
- /* 446 */
58944
  /***/ function(module, exports) {
58945
 
58946
  "use strict";
@@ -59036,7 +59042,7 @@ webpackJsonp([1],[
59036
  };
59037
 
59038
  /***/ },
59039
- /* 447 */
59040
  /***/ function(module, exports) {
59041
 
59042
  'use strict';
@@ -59350,7 +59356,7 @@ webpackJsonp([1],[
59350
  };
59351
 
59352
  /***/ },
59353
- /* 448 */
59354
  /***/ function(module, exports, __webpack_require__) {
59355
 
59356
  'use strict';
@@ -59387,7 +59393,7 @@ webpackJsonp([1],[
59387
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
59388
 
59389
  /***/ },
59390
- /* 449 */
59391
  /***/ function(module, exports) {
59392
 
59393
  "use strict";
@@ -59416,7 +59422,7 @@ webpackJsonp([1],[
59416
  }
59417
 
59418
  /***/ },
59419
- /* 450 */
59420
  /***/ function(module, exports) {
59421
 
59422
  "use strict";
@@ -59436,7 +59442,7 @@ webpackJsonp([1],[
59436
  };
59437
 
59438
  /***/ },
59439
- /* 451 */
59440
  /***/ function(module, exports) {
59441
 
59442
  'use strict';
@@ -59447,10 +59453,6 @@ webpackJsonp([1],[
59447
  exports.default = '.__react_component_tooltip{border-radius:3px;display:inline-block;font-size:13px;left:-999em;opacity:0;padding:8px 21px;position:fixed;pointer-events:none;transition:opacity 0.3s ease-out;top:-999em;visibility:hidden;z-index:999}.__react_component_tooltip:before,.__react_component_tooltip:after{content:"";width:0;height:0;position:absolute}.__react_component_tooltip.show{opacity:0.9;margin-top:0px;margin-left:0px;visibility:visible}.__react_component_tooltip.type-dark{color:#fff;background-color:#222}.__react_component_tooltip.type-dark.place-top:after{border-top-color:#222;border-top-style:solid;border-top-width:6px}.__react_component_tooltip.type-dark.place-bottom:after{border-bottom-color:#222;border-bottom-style:solid;border-bottom-width:6px}.__react_component_tooltip.type-dark.place-left:after{border-left-color:#222;border-left-style:solid;border-left-width:6px}.__react_component_tooltip.type-dark.place-right:after{border-right-color:#222;border-right-style:solid;border-right-width:6px}.__react_component_tooltip.type-dark.border{border:1px solid #fff}.__react_component_tooltip.type-dark.border.place-top:before{border-top:8px solid #fff}.__react_component_tooltip.type-dark.border.place-bottom:before{border-bottom:8px solid #fff}.__react_component_tooltip.type-dark.border.place-left:before{border-left:8px solid #fff}.__react_component_tooltip.type-dark.border.place-right:before{border-right:8px solid #fff}.__react_component_tooltip.type-success{color:#fff;background-color:#8DC572}.__react_component_tooltip.type-success.place-top:after{border-top-color:#8DC572;border-top-style:solid;border-top-width:6px}.__react_component_tooltip.type-success.place-bottom:after{border-bottom-color:#8DC572;border-bottom-style:solid;border-bottom-width:6px}.__react_component_tooltip.type-success.place-left:after{border-left-color:#8DC572;border-left-style:solid;border-left-width:6px}.__react_component_tooltip.type-success.place-right:after{border-right-color:#8DC572;border-right-style:solid;border-right-width:6px}.__react_component_tooltip.type-success.border{border:1px solid #fff}.__react_component_tooltip.type-success.border.place-top:before{border-top:8px solid #fff}.__react_component_tooltip.type-success.border.place-bottom:before{border-bottom:8px solid #fff}.__react_component_tooltip.type-success.border.place-left:before{border-left:8px solid #fff}.__react_component_tooltip.type-success.border.place-right:before{border-right:8px solid #fff}.__react_component_tooltip.type-warning{color:#fff;background-color:#F0AD4E}.__react_component_tooltip.type-warning.place-top:after{border-top-color:#F0AD4E;border-top-style:solid;border-top-width:6px}.__react_component_tooltip.type-warning.place-bottom:after{border-bottom-color:#F0AD4E;border-bottom-style:solid;border-bottom-width:6px}.__react_component_tooltip.type-warning.place-left:after{border-left-color:#F0AD4E;border-left-style:solid;border-left-width:6px}.__react_component_tooltip.type-warning.place-right:after{border-right-color:#F0AD4E;border-right-style:solid;border-right-width:6px}.__react_component_tooltip.type-warning.border{border:1px solid #fff}.__react_component_tooltip.type-warning.border.place-top:before{border-top:8px solid #fff}.__react_component_tooltip.type-warning.border.place-bottom:before{border-bottom:8px solid #fff}.__react_component_tooltip.type-warning.border.place-left:before{border-left:8px solid #fff}.__react_component_tooltip.type-warning.border.place-right:before{border-right:8px solid #fff}.__react_component_tooltip.type-error{color:#fff;background-color:#BE6464}.__react_component_tooltip.type-error.place-top:after{border-top-color:#BE6464;border-top-style:solid;border-top-width:6px}.__react_component_tooltip.type-error.place-bottom:after{border-bottom-color:#BE6464;border-bottom-style:solid;border-bottom-width:6px}.__react_component_tooltip.type-error.place-left:after{border-left-color:#BE6464;border-left-style:solid;border-left-width:6px}.__react_component_tooltip.type-error.place-right:after{border-right-color:#BE6464;border-right-style:solid;border-right-width:6px}.__react_component_tooltip.type-error.border{border:1px solid #fff}.__react_component_tooltip.type-error.border.place-top:before{border-top:8px solid #fff}.__react_component_tooltip.type-error.border.place-bottom:before{border-bottom:8px solid #fff}.__react_component_tooltip.type-error.border.place-left:before{border-left:8px solid #fff}.__react_component_tooltip.type-error.border.place-right:before{border-right:8px solid #fff}.__react_component_tooltip.type-info{color:#fff;background-color:#337AB7}.__react_component_tooltip.type-info.place-top:after{border-top-color:#337AB7;border-top-style:solid;border-top-width:6px}.__react_component_tooltip.type-info.place-bottom:after{border-bottom-color:#337AB7;border-bottom-style:solid;border-bottom-width:6px}.__react_component_tooltip.type-info.place-left:after{border-left-color:#337AB7;border-left-style:solid;border-left-width:6px}.__react_component_tooltip.type-info.place-right:after{border-right-color:#337AB7;border-right-style:solid;border-right-width:6px}.__react_component_tooltip.type-info.border{border:1px solid #fff}.__react_component_tooltip.type-info.border.place-top:before{border-top:8px solid #fff}.__react_component_tooltip.type-info.border.place-bottom:before{border-bottom:8px solid #fff}.__react_component_tooltip.type-info.border.place-left:before{border-left:8px solid #fff}.__react_component_tooltip.type-info.border.place-right:before{border-right:8px solid #fff}.__react_component_tooltip.type-light{color:#222;background-color:#fff}.__react_component_tooltip.type-light.place-top:after{border-top-color:#fff;border-top-style:solid;border-top-width:6px}.__react_component_tooltip.type-light.place-bottom:after{border-bottom-color:#fff;border-bottom-style:solid;border-bottom-width:6px}.__react_component_tooltip.type-light.place-left:after{border-left-color:#fff;border-left-style:solid;border-left-width:6px}.__react_component_tooltip.type-light.place-right:after{border-right-color:#fff;border-right-style:solid;border-right-width:6px}.__react_component_tooltip.type-light.border{border:1px solid #222}.__react_component_tooltip.type-light.border.place-top:before{border-top:8px solid #222}.__react_component_tooltip.type-light.border.place-bottom:before{border-bottom:8px solid #222}.__react_component_tooltip.type-light.border.place-left:before{border-left:8px solid #222}.__react_component_tooltip.type-light.border.place-right:before{border-right:8px solid #222}.__react_component_tooltip.place-top{margin-top:-10px}.__react_component_tooltip.place-top:before{border-left:10px solid transparent;border-right:10px solid transparent;bottom:-8px;left:50%;margin-left:-10px}.__react_component_tooltip.place-top:after{border-left:8px solid transparent;border-right:8px solid transparent;bottom:-6px;left:50%;margin-left:-8px}.__react_component_tooltip.place-bottom{margin-top:10px}.__react_component_tooltip.place-bottom:before{border-left:10px solid transparent;border-right:10px solid transparent;top:-8px;left:50%;margin-left:-10px}.__react_component_tooltip.place-bottom:after{border-left:8px solid transparent;border-right:8px solid transparent;top:-6px;left:50%;margin-left:-8px}.__react_component_tooltip.place-left{margin-left:-10px}.__react_component_tooltip.place-left:before{border-top:6px solid transparent;border-bottom:6px solid transparent;right:-8px;top:50%;margin-top:-5px}.__react_component_tooltip.place-left:after{border-top:5px solid transparent;border-bottom:5px solid transparent;right:-6px;top:50%;margin-top:-4px}.__react_component_tooltip.place-right{margin-left:10px}.__react_component_tooltip.place-right:before{border-top:6px solid transparent;border-bottom:6px solid transparent;left:-8px;top:50%;margin-top:-5px}.__react_component_tooltip.place-right:after{border-top:5px solid transparent;border-bottom:5px solid transparent;left:-6px;top:50%;margin-top:-4px}.__react_component_tooltip .multi-line{display:block;padding:2px 0px;text-align:center}';
59448
 
59449
  /***/ },
59450
- /* 452 */,
59451
- /* 453 */,
59452
- /* 454 */,
59453
- /* 455 */,
59454
  /* 456 */,
59455
  /* 457 */,
59456
  /* 458 */,
@@ -59518,17 +59520,21 @@ webpackJsonp([1],[
59518
  /* 520 */,
59519
  /* 521 */,
59520
  /* 522 */,
59521
- /* 523 */
 
 
 
 
59522
  /***/ function(module, exports, __webpack_require__) {
59523
 
59524
  /* WEBPACK VAR INJECTION */(function(global) {"use strict";
59525
 
59526
  if (!global["MailPoetLib"]) global["MailPoetLib"] = {};
59527
- module.exports = global["MailPoetLib"]["NewsletterSchedulingCommonOptions"] = __webpack_require__(524);
59528
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
59529
 
59530
  /***/ },
59531
- /* 524 */
59532
  /***/ function(module, exports, __webpack_require__) {
59533
 
59534
  'use strict';
@@ -59622,19 +59628,19 @@ webpackJsonp([1],[
59622
  exports.nthWeekDayValues = nthWeekDayValues;
59623
 
59624
  /***/ },
59625
- /* 525 */,
59626
- /* 526 */,
59627
- /* 527 */
59628
  /***/ function(module, exports, __webpack_require__) {
59629
 
59630
  /* WEBPACK VAR INJECTION */(function(global) {"use strict";
59631
 
59632
  if (!global["MailPoetLib"]) global["MailPoetLib"] = {};
59633
- module.exports = global["MailPoetLib"]["NewsletterWelcomeNotificationScheduling"] = __webpack_require__(528);
59634
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
59635
 
59636
  /***/ },
59637
- /* 528 */
59638
  /***/ function(module, exports, __webpack_require__) {
59639
 
59640
  'use strict';
@@ -59661,7 +59667,7 @@ webpackJsonp([1],[
59661
 
59662
  var _formFieldsTextJsx2 = _interopRequireDefault(_formFieldsTextJsx);
59663
 
59664
- var _newslettersSchedulingCommonJsx = __webpack_require__(523);
59665
 
59666
  var availableRoles = window.mailpoet_roles || {};
59667
  var availableSegments = _underscore2['default'].filter(window.mailpoet_segments || [], function (segment) {
@@ -59807,21 +59813,21 @@ webpackJsonp([1],[
59807
  module.exports = WelcomeScheduling;
59808
 
59809
  /***/ },
59810
- /* 529 */,
59811
- /* 530 */,
59812
- /* 531 */,
59813
- /* 532 */,
59814
- /* 533 */
59815
  /***/ function(module, exports, __webpack_require__) {
59816
 
59817
  /* WEBPACK VAR INJECTION */(function(global) {"use strict";
59818
 
59819
  if (!global["MailPoetLib"]) global["MailPoetLib"] = {};
59820
- module.exports = global["MailPoetLib"]["AutomaticEmailsEventsList"] = __webpack_require__(534);
59821
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
59822
 
59823
  /***/ },
59824
- /* 534 */
59825
  /***/ function(module, exports, __webpack_require__) {
59826
 
59827
  'use strict';
@@ -59840,7 +59846,7 @@ webpackJsonp([1],[
59840
 
59841
  var _react2 = _interopRequireDefault(_react);
59842
 
59843
- var _newslettersTypesAutomatic_emailsBreadcrumbJsx = __webpack_require__(535);
59844
 
59845
  var _newslettersTypesAutomatic_emailsBreadcrumbJsx2 = _interopRequireDefault(_newslettersTypesAutomatic_emailsBreadcrumbJsx);
59846
 
@@ -59976,17 +59982,17 @@ webpackJsonp([1],[
59976
  module.exports = AutomaticEmailsEventsList;
59977
 
59978
  /***/ },
59979
- /* 535 */
59980
  /***/ function(module, exports, __webpack_require__) {
59981
 
59982
  /* WEBPACK VAR INJECTION */(function(global) {"use strict";
59983
 
59984
  if (!global["MailPoetLib"]) global["MailPoetLib"] = {};
59985
- module.exports = global["MailPoetLib"]["AutomaticEmailsBreadcrumb"] = __webpack_require__(536);
59986
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
59987
 
59988
  /***/ },
59989
- /* 536 */
59990
  /***/ function(module, exports, __webpack_require__) {
59991
 
59992
  'use strict';
@@ -60056,20 +60062,20 @@ webpackJsonp([1],[
60056
  module.exports = AutomaticEmailsBreadcrumb;
60057
 
60058
  /***/ },
60059
- /* 537 */,
60060
- /* 538 */,
60061
- /* 539 */,
60062
- /* 540 */
60063
  /***/ function(module, exports, __webpack_require__) {
60064
 
60065
  /* WEBPACK VAR INJECTION */(function(global) {"use strict";
60066
 
60067
  if (!global["MailPoetLib"]) global["MailPoetLib"] = {};
60068
- module.exports = global["MailPoetLib"]["StatsBadge"] = __webpack_require__(541);
60069
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
60070
 
60071
  /***/ },
60072
- /* 541 */
60073
  /***/ function(module, exports, __webpack_require__) {
60074
 
60075
  'use strict';
@@ -60096,7 +60102,7 @@ webpackJsonp([1],[
60096
 
60097
  var _react2 = _interopRequireDefault(_react);
60098
 
60099
- var _badgeJsx = __webpack_require__(542);
60100
 
60101
  var _badgeJsx2 = _interopRequireDefault(_badgeJsx);
60102
 
@@ -60208,7 +60214,7 @@ webpackJsonp([1],[
60208
  module.exports = exports['default'];
60209
 
60210
  /***/ },
60211
- /* 542 */
60212
  /***/ function(module, exports, __webpack_require__) {
60213
 
60214
  'use strict';
@@ -60235,7 +60241,7 @@ webpackJsonp([1],[
60235
 
60236
  var _classnames2 = _interopRequireDefault(_classnames);
60237
 
60238
- var _reactTooltip = __webpack_require__(439);
60239
 
60240
  var _reactTooltip2 = _interopRequireDefault(_reactTooltip);
60241
 
8
  __webpack_require__(424);
9
  __webpack_require__(278);
10
  __webpack_require__(293);
11
+ __webpack_require__(544);
12
  __webpack_require__(434);
13
+ __webpack_require__(537);
14
+ __webpack_require__(539);
15
+ __webpack_require__(531);
16
  module.exports = __webpack_require__(244);
17
 
18
 
34128
  var _this = this;
34129
 
34130
  var items = this.getItems(this.props.field);
34131
+ var selectedValues = this.getSelectedValues();
34132
  var options = items.map(function (item, index) {
34133
  var label = _this.getLabel(item);
34134
  var searchLabel = _this.getSearchLabel(item);
34140
  key: 'option-' + index,
34141
  className: 'default',
34142
  value: value,
34143
+ title: searchLabel,
34144
+ selected: value === selectedValues
34145
  },
34146
  label
34147
  );
34155
  disabled: this.props.field.disabled,
34156
  'data-placeholder': this.props.field.placeholder,
34157
  multiple: this.props.field.multiple,
34158
+ defaultValue: selectedValues
34159
  }, this.props.field.validation),
34160
  this.insertEmptyOption(),
34161
  options
58062
  /* 436 */,
58063
  /* 437 */,
58064
  /* 438 */,
58065
+ /* 439 */,
58066
+ /* 440 */,
58067
+ /* 441 */,
58068
+ /* 442 */,
58069
+ /* 443 */
58070
  /***/ function(module, exports, __webpack_require__) {
58071
 
58072
  'use strict';
58102
 
58103
  var _classnames2 = _interopRequireDefault(_classnames);
58104
 
58105
+ var _staticMethods = __webpack_require__(444);
58106
 
58107
  var _staticMethods2 = _interopRequireDefault(_staticMethods);
58108
 
58109
+ var _windowListener = __webpack_require__(446);
58110
 
58111
  var _windowListener2 = _interopRequireDefault(_windowListener);
58112
 
58113
+ var _customEvent = __webpack_require__(447);
58114
 
58115
  var _customEvent2 = _interopRequireDefault(_customEvent);
58116
 
58117
+ var _isCapture = __webpack_require__(448);
58118
 
58119
  var _isCapture2 = _interopRequireDefault(_isCapture);
58120
 
58121
+ var _getEffect = __webpack_require__(449);
58122
 
58123
  var _getEffect2 = _interopRequireDefault(_getEffect);
58124
 
58125
+ var _trackRemoval = __webpack_require__(450);
58126
 
58127
  var _trackRemoval2 = _interopRequireDefault(_trackRemoval);
58128
 
58129
+ var _getPosition = __webpack_require__(451);
58130
 
58131
  var _getPosition2 = _interopRequireDefault(_getPosition);
58132
 
58133
+ var _getTipContent = __webpack_require__(452);
58134
 
58135
  var _getTipContent2 = _interopRequireDefault(_getTipContent);
58136
 
58137
+ var _aria = __webpack_require__(453);
58138
 
58139
+ var _nodeListToArray = __webpack_require__(454);
58140
 
58141
  var _nodeListToArray2 = _interopRequireDefault(_nodeListToArray);
58142
 
58143
+ var _style = __webpack_require__(455);
58144
 
58145
  var _style2 = _interopRequireDefault(_style);
58146
 
58665
  module.exports = ReactTooltip;
58666
 
58667
  /***/ },
58668
+ /* 444 */
58669
  /***/ function(module, exports, __webpack_require__) {
58670
 
58671
  'use strict';
58723
  };
58724
  };
58725
 
58726
+ var _constant = __webpack_require__(445);
58727
 
58728
  var _constant2 = _interopRequireDefault(_constant);
58729
 
58748
  */
58749
 
58750
  /***/ },
58751
+ /* 445 */
58752
  /***/ function(module, exports) {
58753
 
58754
  'use strict';
58766
  };
58767
 
58768
  /***/ },
58769
+ /* 446 */
58770
  /***/ function(module, exports, __webpack_require__) {
58771
 
58772
  'use strict';
58812
  };
58813
  };
58814
 
58815
+ var _constant = __webpack_require__(445);
58816
 
58817
  var _constant2 = _interopRequireDefault(_constant);
58818
 
58819
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
58820
 
58821
  /***/ },
58822
+ /* 447 */
58823
  /***/ function(module, exports) {
58824
 
58825
  'use strict';
58912
  var customListener = void 0;
58913
 
58914
  /***/ },
58915
+ /* 448 */
58916
  /***/ function(module, exports) {
58917
 
58918
  'use strict';
58929
  };
58930
 
58931
  /***/ },
58932
+ /* 449 */
58933
  /***/ function(module, exports) {
58934
 
58935
  'use strict';
58946
  };
58947
 
58948
  /***/ },
58949
+ /* 450 */
58950
  /***/ function(module, exports) {
58951
 
58952
  "use strict";
59042
  };
59043
 
59044
  /***/ },
59045
+ /* 451 */
59046
  /***/ function(module, exports) {
59047
 
59048
  'use strict';
59356
  };
59357
 
59358
  /***/ },
59359
+ /* 452 */
59360
  /***/ function(module, exports, __webpack_require__) {
59361
 
59362
  'use strict';
59393
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
59394
 
59395
  /***/ },
59396
+ /* 453 */
59397
  /***/ function(module, exports) {
59398
 
59399
  "use strict";
59422
  }
59423
 
59424
  /***/ },
59425
+ /* 454 */
59426
  /***/ function(module, exports) {
59427
 
59428
  "use strict";
59442
  };
59443
 
59444
  /***/ },
59445
+ /* 455 */
59446
  /***/ function(module, exports) {
59447
 
59448
  'use strict';
59453
  exports.default = '.__react_component_tooltip{border-radius:3px;display:inline-block;font-size:13px;left:-999em;opacity:0;padding:8px 21px;position:fixed;pointer-events:none;transition:opacity 0.3s ease-out;top:-999em;visibility:hidden;z-index:999}.__react_component_tooltip:before,.__react_component_tooltip:after{content:"";width:0;height:0;position:absolute}.__react_component_tooltip.show{opacity:0.9;margin-top:0px;margin-left:0px;visibility:visible}.__react_component_tooltip.type-dark{color:#fff;background-color:#222}.__react_component_tooltip.type-dark.place-top:after{border-top-color:#222;border-top-style:solid;border-top-width:6px}.__react_component_tooltip.type-dark.place-bottom:after{border-bottom-color:#222;border-bottom-style:solid;border-bottom-width:6px}.__react_component_tooltip.type-dark.place-left:after{border-left-color:#222;border-left-style:solid;border-left-width:6px}.__react_component_tooltip.type-dark.place-right:after{border-right-color:#222;border-right-style:solid;border-right-width:6px}.__react_component_tooltip.type-dark.border{border:1px solid #fff}.__react_component_tooltip.type-dark.border.place-top:before{border-top:8px solid #fff}.__react_component_tooltip.type-dark.border.place-bottom:before{border-bottom:8px solid #fff}.__react_component_tooltip.type-dark.border.place-left:before{border-left:8px solid #fff}.__react_component_tooltip.type-dark.border.place-right:before{border-right:8px solid #fff}.__react_component_tooltip.type-success{color:#fff;background-color:#8DC572}.__react_component_tooltip.type-success.place-top:after{border-top-color:#8DC572;border-top-style:solid;border-top-width:6px}.__react_component_tooltip.type-success.place-bottom:after{border-bottom-color:#8DC572;border-bottom-style:solid;border-bottom-width:6px}.__react_component_tooltip.type-success.place-left:after{border-left-color:#8DC572;border-left-style:solid;border-left-width:6px}.__react_component_tooltip.type-success.place-right:after{border-right-color:#8DC572;border-right-style:solid;border-right-width:6px}.__react_component_tooltip.type-success.border{border:1px solid #fff}.__react_component_tooltip.type-success.border.place-top:before{border-top:8px solid #fff}.__react_component_tooltip.type-success.border.place-bottom:before{border-bottom:8px solid #fff}.__react_component_tooltip.type-success.border.place-left:before{border-left:8px solid #fff}.__react_component_tooltip.type-success.border.place-right:before{border-right:8px solid #fff}.__react_component_tooltip.type-warning{color:#fff;background-color:#F0AD4E}.__react_component_tooltip.type-warning.place-top:after{border-top-color:#F0AD4E;border-top-style:solid;border-top-width:6px}.__react_component_tooltip.type-warning.place-bottom:after{border-bottom-color:#F0AD4E;border-bottom-style:solid;border-bottom-width:6px}.__react_component_tooltip.type-warning.place-left:after{border-left-color:#F0AD4E;border-left-style:solid;border-left-width:6px}.__react_component_tooltip.type-warning.place-right:after{border-right-color:#F0AD4E;border-right-style:solid;border-right-width:6px}.__react_component_tooltip.type-warning.border{border:1px solid #fff}.__react_component_tooltip.type-warning.border.place-top:before{border-top:8px solid #fff}.__react_component_tooltip.type-warning.border.place-bottom:before{border-bottom:8px solid #fff}.__react_component_tooltip.type-warning.border.place-left:before{border-left:8px solid #fff}.__react_component_tooltip.type-warning.border.place-right:before{border-right:8px solid #fff}.__react_component_tooltip.type-error{color:#fff;background-color:#BE6464}.__react_component_tooltip.type-error.place-top:after{border-top-color:#BE6464;border-top-style:solid;border-top-width:6px}.__react_component_tooltip.type-error.place-bottom:after{border-bottom-color:#BE6464;border-bottom-style:solid;border-bottom-width:6px}.__react_component_tooltip.type-error.place-left:after{border-left-color:#BE6464;border-left-style:solid;border-left-width:6px}.__react_component_tooltip.type-error.place-right:after{border-right-color:#BE6464;border-right-style:solid;border-right-width:6px}.__react_component_tooltip.type-error.border{border:1px solid #fff}.__react_component_tooltip.type-error.border.place-top:before{border-top:8px solid #fff}.__react_component_tooltip.type-error.border.place-bottom:before{border-bottom:8px solid #fff}.__react_component_tooltip.type-error.border.place-left:before{border-left:8px solid #fff}.__react_component_tooltip.type-error.border.place-right:before{border-right:8px solid #fff}.__react_component_tooltip.type-info{color:#fff;background-color:#337AB7}.__react_component_tooltip.type-info.place-top:after{border-top-color:#337AB7;border-top-style:solid;border-top-width:6px}.__react_component_tooltip.type-info.place-bottom:after{border-bottom-color:#337AB7;border-bottom-style:solid;border-bottom-width:6px}.__react_component_tooltip.type-info.place-left:after{border-left-color:#337AB7;border-left-style:solid;border-left-width:6px}.__react_component_tooltip.type-info.place-right:after{border-right-color:#337AB7;border-right-style:solid;border-right-width:6px}.__react_component_tooltip.type-info.border{border:1px solid #fff}.__react_component_tooltip.type-info.border.place-top:before{border-top:8px solid #fff}.__react_component_tooltip.type-info.border.place-bottom:before{border-bottom:8px solid #fff}.__react_component_tooltip.type-info.border.place-left:before{border-left:8px solid #fff}.__react_component_tooltip.type-info.border.place-right:before{border-right:8px solid #fff}.__react_component_tooltip.type-light{color:#222;background-color:#fff}.__react_component_tooltip.type-light.place-top:after{border-top-color:#fff;border-top-style:solid;border-top-width:6px}.__react_component_tooltip.type-light.place-bottom:after{border-bottom-color:#fff;border-bottom-style:solid;border-bottom-width:6px}.__react_component_tooltip.type-light.place-left:after{border-left-color:#fff;border-left-style:solid;border-left-width:6px}.__react_component_tooltip.type-light.place-right:after{border-right-color:#fff;border-right-style:solid;border-right-width:6px}.__react_component_tooltip.type-light.border{border:1px solid #222}.__react_component_tooltip.type-light.border.place-top:before{border-top:8px solid #222}.__react_component_tooltip.type-light.border.place-bottom:before{border-bottom:8px solid #222}.__react_component_tooltip.type-light.border.place-left:before{border-left:8px solid #222}.__react_component_tooltip.type-light.border.place-right:before{border-right:8px solid #222}.__react_component_tooltip.place-top{margin-top:-10px}.__react_component_tooltip.place-top:before{border-left:10px solid transparent;border-right:10px solid transparent;bottom:-8px;left:50%;margin-left:-10px}.__react_component_tooltip.place-top:after{border-left:8px solid transparent;border-right:8px solid transparent;bottom:-6px;left:50%;margin-left:-8px}.__react_component_tooltip.place-bottom{margin-top:10px}.__react_component_tooltip.place-bottom:before{border-left:10px solid transparent;border-right:10px solid transparent;top:-8px;left:50%;margin-left:-10px}.__react_component_tooltip.place-bottom:after{border-left:8px solid transparent;border-right:8px solid transparent;top:-6px;left:50%;margin-left:-8px}.__react_component_tooltip.place-left{margin-left:-10px}.__react_component_tooltip.place-left:before{border-top:6px solid transparent;border-bottom:6px solid transparent;right:-8px;top:50%;margin-top:-5px}.__react_component_tooltip.place-left:after{border-top:5px solid transparent;border-bottom:5px solid transparent;right:-6px;top:50%;margin-top:-4px}.__react_component_tooltip.place-right{margin-left:10px}.__react_component_tooltip.place-right:before{border-top:6px solid transparent;border-bottom:6px solid transparent;left:-8px;top:50%;margin-top:-5px}.__react_component_tooltip.place-right:after{border-top:5px solid transparent;border-bottom:5px solid transparent;left:-6px;top:50%;margin-top:-4px}.__react_component_tooltip .multi-line{display:block;padding:2px 0px;text-align:center}';
59454
 
59455
  /***/ },
 
 
 
 
59456
  /* 456 */,
59457
  /* 457 */,
59458
  /* 458 */,
59520
  /* 520 */,
59521
  /* 521 */,
59522
  /* 522 */,
59523
+ /* 523 */,
59524
+ /* 524 */,
59525
+ /* 525 */,
59526
+ /* 526 */,
59527
+ /* 527 */
59528
  /***/ function(module, exports, __webpack_require__) {
59529
 
59530
  /* WEBPACK VAR INJECTION */(function(global) {"use strict";
59531
 
59532
  if (!global["MailPoetLib"]) global["MailPoetLib"] = {};
59533
+ module.exports = global["MailPoetLib"]["NewsletterSchedulingCommonOptions"] = __webpack_require__(528);
59534
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
59535
 
59536
  /***/ },
59537
+ /* 528 */
59538
  /***/ function(module, exports, __webpack_require__) {
59539
 
59540
  'use strict';
59628
  exports.nthWeekDayValues = nthWeekDayValues;
59629
 
59630
  /***/ },
59631
+ /* 529 */,
59632
+ /* 530 */,
59633
+ /* 531 */
59634
  /***/ function(module, exports, __webpack_require__) {
59635
 
59636
  /* WEBPACK VAR INJECTION */(function(global) {"use strict";
59637
 
59638
  if (!global["MailPoetLib"]) global["MailPoetLib"] = {};
59639
+ module.exports = global["MailPoetLib"]["NewsletterWelcomeNotificationScheduling"] = __webpack_require__(532);
59640
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
59641
 
59642
  /***/ },
59643
+ /* 532 */
59644
  /***/ function(module, exports, __webpack_require__) {
59645
 
59646
  'use strict';
59667
 
59668
  var _formFieldsTextJsx2 = _interopRequireDefault(_formFieldsTextJsx);
59669
 
59670
+ var _newslettersSchedulingCommonJsx = __webpack_require__(527);
59671
 
59672
  var availableRoles = window.mailpoet_roles || {};
59673
  var availableSegments = _underscore2['default'].filter(window.mailpoet_segments || [], function (segment) {
59813
  module.exports = WelcomeScheduling;
59814
 
59815
  /***/ },
59816
+ /* 533 */,
59817
+ /* 534 */,
59818
+ /* 535 */,
59819
+ /* 536 */,
59820
+ /* 537 */
59821
  /***/ function(module, exports, __webpack_require__) {
59822
 
59823
  /* WEBPACK VAR INJECTION */(function(global) {"use strict";
59824
 
59825
  if (!global["MailPoetLib"]) global["MailPoetLib"] = {};
59826
+ module.exports = global["MailPoetLib"]["AutomaticEmailsEventsList"] = __webpack_require__(538);
59827
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
59828
 
59829
  /***/ },
59830
+ /* 538 */
59831
  /***/ function(module, exports, __webpack_require__) {
59832
 
59833
  'use strict';
59846
 
59847
  var _react2 = _interopRequireDefault(_react);
59848
 
59849
+ var _newslettersTypesAutomatic_emailsBreadcrumbJsx = __webpack_require__(539);
59850
 
59851
  var _newslettersTypesAutomatic_emailsBreadcrumbJsx2 = _interopRequireDefault(_newslettersTypesAutomatic_emailsBreadcrumbJsx);
59852
 
59982
  module.exports = AutomaticEmailsEventsList;
59983
 
59984
  /***/ },
59985
+ /* 539 */
59986
  /***/ function(module, exports, __webpack_require__) {
59987
 
59988
  /* WEBPACK VAR INJECTION */(function(global) {"use strict";
59989
 
59990
  if (!global["MailPoetLib"]) global["MailPoetLib"] = {};
59991
+ module.exports = global["MailPoetLib"]["AutomaticEmailsBreadcrumb"] = __webpack_require__(540);
59992
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
59993
 
59994
  /***/ },
59995
+ /* 540 */
59996
  /***/ function(module, exports, __webpack_require__) {
59997
 
59998
  'use strict';
60062
  module.exports = AutomaticEmailsBreadcrumb;
60063
 
60064
  /***/ },
60065
+ /* 541 */,
60066
+ /* 542 */,
60067
+ /* 543 */,
60068
+ /* 544 */
60069
  /***/ function(module, exports, __webpack_require__) {
60070
 
60071
  /* WEBPACK VAR INJECTION */(function(global) {"use strict";
60072
 
60073
  if (!global["MailPoetLib"]) global["MailPoetLib"] = {};
60074
+ module.exports = global["MailPoetLib"]["StatsBadge"] = __webpack_require__(545);
60075
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
60076
 
60077
  /***/ },
60078
+ /* 545 */
60079
  /***/ function(module, exports, __webpack_require__) {
60080
 
60081
  'use strict';
60102
 
60103
  var _react2 = _interopRequireDefault(_react);
60104
 
60105
+ var _badgeJsx = __webpack_require__(546);
60106
 
60107
  var _badgeJsx2 = _interopRequireDefault(_badgeJsx);
60108
 
60214
  module.exports = exports['default'];
60215
 
60216
  /***/ },
60217
+ /* 546 */
60218
  /***/ function(module, exports, __webpack_require__) {
60219
 
60220
  'use strict';
60241
 
60242
  var _classnames2 = _interopRequireDefault(_classnames);
60243
 
60244
+ var _reactTooltip = __webpack_require__(443);
60245
 
60246
  var _reactTooltip2 = _interopRequireDefault(_reactTooltip);
60247
 
assets/js/{form_editor.13982476.js → form_editor.ac341877.js} RENAMED
@@ -3,22 +3,22 @@ webpackJsonp([2],{
3
  /***/ 0:
4
  /***/ function(module, exports, __webpack_require__) {
5
 
6
- __webpack_require__(566);
7
- __webpack_require__(568);
8
- module.exports = __webpack_require__(570);
9
 
10
 
11
  /***/ },
12
 
13
- /***/ 566:
14
  /***/ function(module, exports, __webpack_require__) {
15
 
16
- /* WEBPACK VAR INJECTION */(function(global) {module.exports = global["WysijaForm"] = __webpack_require__(567);
17
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
18
 
19
  /***/ },
20
 
21
- /***/ 567:
22
  /***/ function(module, exports) {
23
 
24
  /* eslint-disable func-names */
@@ -42,11 +42,36 @@ webpackJsonp([2],{
42
  if (!(window.console && console.log)) {
43
  (function () {
44
  var noop = function () {};
45
- var methods = ['assert', 'clear', 'count', 'debug', 'dir', 'dirxml', 'error', 'exception', 'group', 'groupCollapsed', 'groupEnd', 'info', 'log', 'markTimeline', 'profile', 'profileEnd', 'markTimeline', 'table', 'time', 'timeEnd', 'timeStamp', 'trace', 'warn'];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
  var length = methods.length;
47
  var console = {};
48
  window.console = {};
49
- while (length--) {
 
50
  console[methods[length]] = noop;
51
  }
52
  }());
@@ -132,7 +157,7 @@ webpackJsonp([2],{
132
  return document;
133
  }
134
  };
135
- })());
136
 
137
  Observable = (function () {
138
  function getEventName(nameA, namespace) {
@@ -186,7 +211,7 @@ webpackJsonp([2],{
186
  delete this.handlers[selector];
187
  }
188
  };
189
- })();
190
 
191
  // override droppables
192
  Object.extend(window.Droppables, {
@@ -209,7 +234,9 @@ webpackJsonp([2],{
209
  if (this.last_active && this.last_active !== drop) this.deactivate(this.last_active, element);
210
  if (drop) {
211
  window.Position.within(drop.element, point[0], point[1]);
212
- if (drop.onHover) drop.onHover(element, drop.element, window.Position.overlap(drop.overlap, drop.element));
 
 
213
  if (drop !== this.last_active) window.Droppables.activate(drop, element);
214
  }
215
  },
@@ -381,11 +408,16 @@ webpackJsonp([2],{
381
  },
382
  save: function () {
383
  var position = 1;
384
- var data = {
 
 
 
 
 
385
  name: window.$F('mailpoet_form_name'),
386
  settings: window.$('mailpoet_form_settings').serialize(true),
387
  body: [],
388
- styles: (window.MailPoet.CodeEditor !== undefined) ? window.MailPoet.CodeEditor.getValue() : null
389
  };
390
  // body
391
  WysijaForm.getBlocks().each(function (b) {
@@ -396,7 +428,7 @@ webpackJsonp([2],{
396
  blockData.position = position;
397
 
398
  // increment position
399
- position++;
400
 
401
  // add block data to body
402
  data.body.push(blockData);
@@ -460,9 +492,12 @@ webpackJsonp([2],{
460
  var hasSegmentSelection;
461
  window.$$('a[wysija_unique="1"]').invoke('removeClassName', 'disabled');
462
 
463
- // loop through each unique field already inserted in the editor and disable its toolbar equivalent
 
464
  window.$$('#' + WysijaForm.options.editor + ' [wysija_unique="1"]').map(function (element) {
465
- var field = window.$$('#' + WysijaForm.options.toolbar + ' [wysija_id="' + element.readAttribute('wysija_id') + '"]');
 
 
466
  if (field.length > 0) {
467
  field.first().addClassName('disabled');
468
  }
@@ -502,7 +537,8 @@ webpackJsonp([2],{
502
  WysijaForm.locks.dragging = false;
503
 
504
  WysijaForm.getBlocks().each(function (container) {
505
- container.setPosition(index++);
 
506
  // remove z-index value to avoid issues when resizing images
507
  if (container.block !== undefined) {
508
  container.block.element.setStyle({
@@ -561,15 +597,28 @@ webpackJsonp([2],{
561
  });
562
  },
563
  initToolbarPosition: function () {
564
- if (WysijaForm.toolbar.top === null) WysijaForm.toolbar.top = parseInt(window.$(WysijaForm.options.container).positionedOffset().top);
565
- if (WysijaForm.toolbar.y === null) WysijaForm.toolbar.y = parseInt(WysijaForm.toolbar.top);
 
 
 
 
 
566
 
567
  if (window.isRtl) {
568
  if (WysijaForm.toolbar.left === null) WysijaForm.toolbar.left = 0;
569
- } else {
570
- if (WysijaForm.toolbar.left === null) WysijaForm.toolbar.left = parseInt(window.$(WysijaForm.options.container).positionedOffset().left);
 
 
 
 
 
 
 
 
 
571
  }
572
- if (WysijaForm.toolbar.x === null) WysijaForm.toolbar.x = parseInt(WysijaForm.toolbar.left + window.$(WysijaForm.options.container).getDimensions().width + 15);
573
  },
574
  setToolbarPosition: function () {
575
  var position;
@@ -870,7 +919,11 @@ webpackJsonp([2],{
870
  // setup events for block controls
871
  this.element.observe('mouseover', function () {
872
  // special cases where controls shouldn't be displayed
873
- if (WysijaForm.locks.dragging === true || WysijaForm.locks.selectingColor === true || WysijaForm.locks.showingTools === true) return;
 
 
 
 
874
 
875
  // set block flag
876
  this.element.addClassName('hover');
@@ -1121,15 +1174,15 @@ webpackJsonp([2],{
1121
 
1122
  /***/ },
1123
 
1124
- /***/ 568:
1125
  /***/ function(module, exports, __webpack_require__) {
1126
 
1127
- /* WEBPACK VAR INJECTION */(function(global) {module.exports = global["CodeMirror"] = __webpack_require__(569);
1128
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
1129
 
1130
  /***/ },
1131
 
1132
- /***/ 569:
1133
  /***/ function(module, exports, __webpack_require__) {
1134
 
1135
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
@@ -10801,7 +10854,7 @@ webpackJsonp([2],{
10801
 
10802
  /***/ },
10803
 
10804
- /***/ 570:
10805
  /***/ function(module, exports, __webpack_require__) {
10806
 
10807
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
@@ -10809,7 +10862,7 @@ webpackJsonp([2],{
10809
 
10810
  (function(mod) {
10811
  if (true) // CommonJS
10812
- mod(__webpack_require__(568));
10813
  else if (typeof define == "function" && define.amd) // AMD
10814
  define(["../../lib/codemirror"], mod);
10815
  else // Plain browser env
3
  /***/ 0:
4
  /***/ function(module, exports, __webpack_require__) {
5
 
6
+ __webpack_require__(570);
7
+ __webpack_require__(572);
8
+ module.exports = __webpack_require__(574);
9
 
10
 
11
  /***/ },
12
 
13
+ /***/ 570:
14
  /***/ function(module, exports, __webpack_require__) {
15
 
16
+ /* WEBPACK VAR INJECTION */(function(global) {module.exports = global["WysijaForm"] = __webpack_require__(571);
17
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
18
 
19
  /***/ },
20
 
21
+ /***/ 571:
22
  /***/ function(module, exports) {
23
 
24
  /* eslint-disable func-names */
42
  if (!(window.console && console.log)) {
43
  (function () {
44
  var noop = function () {};
45
+ var methods = [
46
+ 'assert',
47
+ 'clear',
48
+ 'count',
49
+ 'debug',
50
+ 'dir',
51
+ 'dirxml',
52
+ 'error',
53
+ 'exception',
54
+ 'group',
55
+ 'groupCollapsed',
56
+ 'groupEnd',
57
+ 'info',
58
+ 'log',
59
+ 'markTimeline',
60
+ 'profile',
61
+ 'profileEnd',
62
+ 'markTimeline',
63
+ 'table',
64
+ 'time',
65
+ 'timeEnd',
66
+ 'timeStamp',
67
+ 'trace',
68
+ 'warn'
69
+ ];
70
  var length = methods.length;
71
  var console = {};
72
  window.console = {};
73
+ while (length) {
74
+ length -= 1;
75
  console[methods[length]] = noop;
76
  }
77
  }());
157
  return document;
158
  }
159
  };
160
+ }()));
161
 
162
  Observable = (function () {
163
  function getEventName(nameA, namespace) {
211
  delete this.handlers[selector];
212
  }
213
  };
214
+ }());
215
 
216
  // override droppables
217
  Object.extend(window.Droppables, {
234
  if (this.last_active && this.last_active !== drop) this.deactivate(this.last_active, element);
235
  if (drop) {
236
  window.Position.within(drop.element, point[0], point[1]);
237
+ if (drop.onHover) {
238
+ drop.onHover(element, drop.element, window.Position.overlap(drop.overlap, drop.element));
239
+ }
240
  if (drop !== this.last_active) window.Droppables.activate(drop, element);
241
  }
242
  },
408
  },
409
  save: function () {
410
  var position = 1;
411
+ var styles = null;
412
+ var data;
413
+ if (window.MailPoet.CodeEditor !== undefined) {
414
+ styles = window.MailPoet.CodeEditor.getValue();
415
+ }
416
+ data = {
417
  name: window.$F('mailpoet_form_name'),
418
  settings: window.$('mailpoet_form_settings').serialize(true),
419
  body: [],
420
+ styles: styles
421
  };
422
  // body
423
  WysijaForm.getBlocks().each(function (b) {
428
  blockData.position = position;
429
 
430
  // increment position
431
+ position += 1;
432
 
433
  // add block data to body
434
  data.body.push(blockData);
492
  var hasSegmentSelection;
493
  window.$$('a[wysija_unique="1"]').invoke('removeClassName', 'disabled');
494
 
495
+ // loop through each unique field already inserted in the editor
496
+ // and disable its toolbar equivalent
497
  window.$$('#' + WysijaForm.options.editor + ' [wysija_unique="1"]').map(function (element) {
498
+ var field = window.$$(
499
+ '#' + WysijaForm.options.toolbar + ' [wysija_id="' + element.readAttribute('wysija_id') + '"]'
500
+ );
501
  if (field.length > 0) {
502
  field.first().addClassName('disabled');
503
  }
537
  WysijaForm.locks.dragging = false;
538
 
539
  WysijaForm.getBlocks().each(function (container) {
540
+ container.setPosition(index);
541
+ index += 1;
542
  // remove z-index value to avoid issues when resizing images
543
  if (container.block !== undefined) {
544
  container.block.element.setStyle({
597
  });
598
  },
599
  initToolbarPosition: function () {
600
+ if (WysijaForm.toolbar.top === null) {
601
+ WysijaForm.toolbar.top =
602
+ parseInt(window.$(WysijaForm.options.container).positionedOffset().top);
603
+ }
604
+ if (WysijaForm.toolbar.y === null) {
605
+ WysijaForm.toolbar.y = parseInt(WysijaForm.toolbar.top);
606
+ }
607
 
608
  if (window.isRtl) {
609
  if (WysijaForm.toolbar.left === null) WysijaForm.toolbar.left = 0;
610
+ } else if (WysijaForm.toolbar.left === null) {
611
+ WysijaForm.toolbar.left =
612
+ parseInt(window.$(WysijaForm.options.container).positionedOffset().left);
613
+ }
614
+ if (WysijaForm.toolbar.x === null) {
615
+ WysijaForm.toolbar.x =
616
+ parseInt(
617
+ WysijaForm.toolbar.left
618
+ + window.$(WysijaForm.options.container).getDimensions().width
619
+ + 15
620
+ , 10);
621
  }
 
622
  },
623
  setToolbarPosition: function () {
624
  var position;
919
  // setup events for block controls
920
  this.element.observe('mouseover', function () {
921
  // special cases where controls shouldn't be displayed
922
+ if (
923
+ WysijaForm.locks.dragging === true
924
+ || WysijaForm.locks.selectingColor === true
925
+ || WysijaForm.locks.showingTools === true
926
+ ) return;
927
 
928
  // set block flag
929
  this.element.addClassName('hover');
1174
 
1175
  /***/ },
1176
 
1177
+ /***/ 572:
1178
  /***/ function(module, exports, __webpack_require__) {
1179
 
1180
+ /* WEBPACK VAR INJECTION */(function(global) {module.exports = global["CodeMirror"] = __webpack_require__(573);
1181
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
1182
 
1183
  /***/ },
1184
 
1185
+ /***/ 573:
1186
  /***/ function(module, exports, __webpack_require__) {
1187
 
1188
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
10854
 
10855
  /***/ },
10856
 
10857
+ /***/ 574:
10858
  /***/ function(module, exports, __webpack_require__) {
10859
 
10860
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
10862
 
10863
  (function(mod) {
10864
  if (true) // CommonJS
10865
+ mod(__webpack_require__(572));
10866
  else if (typeof define == "function" && define.amd) // AMD
10867
  define(["../../lib/codemirror"], mod);
10868
  else // Plain browser env
assets/js/{mailpoet.a55b11ee.js → mailpoet.3a0d1a00.js} RENAMED
@@ -3,17 +3,17 @@ webpackJsonp([3],[
3
  /***/ function(module, exports, __webpack_require__) {
4
 
5
  __webpack_require__(276);
6
- __webpack_require__(571);
7
- __webpack_require__(572);
8
- __webpack_require__(573);
9
- __webpack_require__(574);
10
  __webpack_require__(575);
11
  __webpack_require__(576);
12
  __webpack_require__(577);
13
  __webpack_require__(578);
14
  __webpack_require__(579);
15
- __webpack_require__(438);
16
- module.exports = __webpack_require__(580);
 
 
 
 
17
 
18
 
19
  /***/ },
@@ -40121,7 +40121,11 @@ webpackJsonp([3],[
40121
  /* 435 */,
40122
  /* 436 */,
40123
  /* 437 */,
40124
- /* 438 */
 
 
 
 
40125
  /***/ function(module, exports, __webpack_require__) {
40126
 
40127
  'use strict';
@@ -40132,11 +40136,11 @@ webpackJsonp([3],[
40132
 
40133
  var _react2 = _interopRequireDefault(_react);
40134
 
40135
- var _reactTooltip = __webpack_require__(439);
40136
 
40137
  var _reactTooltip2 = _interopRequireDefault(_reactTooltip);
40138
 
40139
- var _reactHtmlParser = __webpack_require__(452);
40140
 
40141
  var _reactHtmlParser2 = _interopRequireDefault(_reactHtmlParser);
40142
 
@@ -40204,7 +40208,7 @@ webpackJsonp([3],[
40204
  module.exports = Tooltip;
40205
 
40206
  /***/ },
40207
- /* 439 */
40208
  /***/ function(module, exports, __webpack_require__) {
40209
 
40210
  'use strict';
@@ -40240,45 +40244,45 @@ webpackJsonp([3],[
40240
 
40241
  var _classnames2 = _interopRequireDefault(_classnames);
40242
 
40243
- var _staticMethods = __webpack_require__(440);
40244
 
40245
  var _staticMethods2 = _interopRequireDefault(_staticMethods);
40246
 
40247
- var _windowListener = __webpack_require__(442);
40248
 
40249
  var _windowListener2 = _interopRequireDefault(_windowListener);
40250
 
40251
- var _customEvent = __webpack_require__(443);
40252
 
40253
  var _customEvent2 = _interopRequireDefault(_customEvent);
40254
 
40255
- var _isCapture = __webpack_require__(444);
40256
 
40257
  var _isCapture2 = _interopRequireDefault(_isCapture);
40258
 
40259
- var _getEffect = __webpack_require__(445);
40260
 
40261
  var _getEffect2 = _interopRequireDefault(_getEffect);
40262
 
40263
- var _trackRemoval = __webpack_require__(446);
40264
 
40265
  var _trackRemoval2 = _interopRequireDefault(_trackRemoval);
40266
 
40267
- var _getPosition = __webpack_require__(447);
40268
 
40269
  var _getPosition2 = _interopRequireDefault(_getPosition);
40270
 
40271
- var _getTipContent = __webpack_require__(448);
40272
 
40273
  var _getTipContent2 = _interopRequireDefault(_getTipContent);
40274
 
40275
- var _aria = __webpack_require__(449);
40276
 
40277
- var _nodeListToArray = __webpack_require__(450);
40278
 
40279
  var _nodeListToArray2 = _interopRequireDefault(_nodeListToArray);
40280
 
40281
- var _style = __webpack_require__(451);
40282
 
40283
  var _style2 = _interopRequireDefault(_style);
40284
 
@@ -40803,7 +40807,7 @@ webpackJsonp([3],[
40803
  module.exports = ReactTooltip;
40804
 
40805
  /***/ },
40806
- /* 440 */
40807
  /***/ function(module, exports, __webpack_require__) {
40808
 
40809
  'use strict';
@@ -40861,7 +40865,7 @@ webpackJsonp([3],[
40861
  };
40862
  };
40863
 
40864
- var _constant = __webpack_require__(441);
40865
 
40866
  var _constant2 = _interopRequireDefault(_constant);
40867
 
@@ -40886,7 +40890,7 @@ webpackJsonp([3],[
40886
  */
40887
 
40888
  /***/ },
40889
- /* 441 */
40890
  /***/ function(module, exports) {
40891
 
40892
  'use strict';
@@ -40904,7 +40908,7 @@ webpackJsonp([3],[
40904
  };
40905
 
40906
  /***/ },
40907
- /* 442 */
40908
  /***/ function(module, exports, __webpack_require__) {
40909
 
40910
  'use strict';
@@ -40950,14 +40954,14 @@ webpackJsonp([3],[
40950
  };
40951
  };
40952
 
40953
- var _constant = __webpack_require__(441);
40954
 
40955
  var _constant2 = _interopRequireDefault(_constant);
40956
 
40957
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
40958
 
40959
  /***/ },
40960
- /* 443 */
40961
  /***/ function(module, exports) {
40962
 
40963
  'use strict';
@@ -41050,7 +41054,7 @@ webpackJsonp([3],[
41050
  var customListener = void 0;
41051
 
41052
  /***/ },
41053
- /* 444 */
41054
  /***/ function(module, exports) {
41055
 
41056
  'use strict';
@@ -41067,7 +41071,7 @@ webpackJsonp([3],[
41067
  };
41068
 
41069
  /***/ },
41070
- /* 445 */
41071
  /***/ function(module, exports) {
41072
 
41073
  'use strict';
@@ -41084,7 +41088,7 @@ webpackJsonp([3],[
41084
  };
41085
 
41086
  /***/ },
41087
- /* 446 */
41088
  /***/ function(module, exports) {
41089
 
41090
  "use strict";
@@ -41180,7 +41184,7 @@ webpackJsonp([3],[
41180
  };
41181
 
41182
  /***/ },
41183
- /* 447 */
41184
  /***/ function(module, exports) {
41185
 
41186
  'use strict';
@@ -41494,7 +41498,7 @@ webpackJsonp([3],[
41494
  };
41495
 
41496
  /***/ },
41497
- /* 448 */
41498
  /***/ function(module, exports, __webpack_require__) {
41499
 
41500
  'use strict';
@@ -41531,7 +41535,7 @@ webpackJsonp([3],[
41531
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
41532
 
41533
  /***/ },
41534
- /* 449 */
41535
  /***/ function(module, exports) {
41536
 
41537
  "use strict";
@@ -41560,7 +41564,7 @@ webpackJsonp([3],[
41560
  }
41561
 
41562
  /***/ },
41563
- /* 450 */
41564
  /***/ function(module, exports) {
41565
 
41566
  "use strict";
@@ -41580,7 +41584,7 @@ webpackJsonp([3],[
41580
  };
41581
 
41582
  /***/ },
41583
- /* 451 */
41584
  /***/ function(module, exports) {
41585
 
41586
  'use strict';
@@ -41591,7 +41595,7 @@ webpackJsonp([3],[
41591
  exports.default = '.__react_component_tooltip{border-radius:3px;display:inline-block;font-size:13px;left:-999em;opacity:0;padding:8px 21px;position:fixed;pointer-events:none;transition:opacity 0.3s ease-out;top:-999em;visibility:hidden;z-index:999}.__react_component_tooltip:before,.__react_component_tooltip:after{content:"";width:0;height:0;position:absolute}.__react_component_tooltip.show{opacity:0.9;margin-top:0px;margin-left:0px;visibility:visible}.__react_component_tooltip.type-dark{color:#fff;background-color:#222}.__react_component_tooltip.type-dark.place-top:after{border-top-color:#222;border-top-style:solid;border-top-width:6px}.__react_component_tooltip.type-dark.place-bottom:after{border-bottom-color:#222;border-bottom-style:solid;border-bottom-width:6px}.__react_component_tooltip.type-dark.place-left:after{border-left-color:#222;border-left-style:solid;border-left-width:6px}.__react_component_tooltip.type-dark.place-right:after{border-right-color:#222;border-right-style:solid;border-right-width:6px}.__react_component_tooltip.type-dark.border{border:1px solid #fff}.__react_component_tooltip.type-dark.border.place-top:before{border-top:8px solid #fff}.__react_component_tooltip.type-dark.border.place-bottom:before{border-bottom:8px solid #fff}.__react_component_tooltip.type-dark.border.place-left:before{border-left:8px solid #fff}.__react_component_tooltip.type-dark.border.place-right:before{border-right:8px solid #fff}.__react_component_tooltip.type-success{color:#fff;background-color:#8DC572}.__react_component_tooltip.type-success.place-top:after{border-top-color:#8DC572;border-top-style:solid;border-top-width:6px}.__react_component_tooltip.type-success.place-bottom:after{border-bottom-color:#8DC572;border-bottom-style:solid;border-bottom-width:6px}.__react_component_tooltip.type-success.place-left:after{border-left-color:#8DC572;border-left-style:solid;border-left-width:6px}.__react_component_tooltip.type-success.place-right:after{border-right-color:#8DC572;border-right-style:solid;border-right-width:6px}.__react_component_tooltip.type-success.border{border:1px solid #fff}.__react_component_tooltip.type-success.border.place-top:before{border-top:8px solid #fff}.__react_component_tooltip.type-success.border.place-bottom:before{border-bottom:8px solid #fff}.__react_component_tooltip.type-success.border.place-left:before{border-left:8px solid #fff}.__react_component_tooltip.type-success.border.place-right:before{border-right:8px solid #fff}.__react_component_tooltip.type-warning{color:#fff;background-color:#F0AD4E}.__react_component_tooltip.type-warning.place-top:after{border-top-color:#F0AD4E;border-top-style:solid;border-top-width:6px}.__react_component_tooltip.type-warning.place-bottom:after{border-bottom-color:#F0AD4E;border-bottom-style:solid;border-bottom-width:6px}.__react_component_tooltip.type-warning.place-left:after{border-left-color:#F0AD4E;border-left-style:solid;border-left-width:6px}.__react_component_tooltip.type-warning.place-right:after{border-right-color:#F0AD4E;border-right-style:solid;border-right-width:6px}.__react_component_tooltip.type-warning.border{border:1px solid #fff}.__react_component_tooltip.type-warning.border.place-top:before{border-top:8px solid #fff}.__react_component_tooltip.type-warning.border.place-bottom:before{border-bottom:8px solid #fff}.__react_component_tooltip.type-warning.border.place-left:before{border-left:8px solid #fff}.__react_component_tooltip.type-warning.border.place-right:before{border-right:8px solid #fff}.__react_component_tooltip.type-error{color:#fff;background-color:#BE6464}.__react_component_tooltip.type-error.place-top:after{border-top-color:#BE6464;border-top-style:solid;border-top-width:6px}.__react_component_tooltip.type-error.place-bottom:after{border-bottom-color:#BE6464;border-bottom-style:solid;border-bottom-width:6px}.__react_component_tooltip.type-error.place-left:after{border-left-color:#BE6464;border-left-style:solid;border-left-width:6px}.__react_component_tooltip.type-error.place-right:after{border-right-color:#BE6464;border-right-style:solid;border-right-width:6px}.__react_component_tooltip.type-error.border{border:1px solid #fff}.__react_component_tooltip.type-error.border.place-top:before{border-top:8px solid #fff}.__react_component_tooltip.type-error.border.place-bottom:before{border-bottom:8px solid #fff}.__react_component_tooltip.type-error.border.place-left:before{border-left:8px solid #fff}.__react_component_tooltip.type-error.border.place-right:before{border-right:8px solid #fff}.__react_component_tooltip.type-info{color:#fff;background-color:#337AB7}.__react_component_tooltip.type-info.place-top:after{border-top-color:#337AB7;border-top-style:solid;border-top-width:6px}.__react_component_tooltip.type-info.place-bottom:after{border-bottom-color:#337AB7;border-bottom-style:solid;border-bottom-width:6px}.__react_component_tooltip.type-info.place-left:after{border-left-color:#337AB7;border-left-style:solid;border-left-width:6px}.__react_component_tooltip.type-info.place-right:after{border-right-color:#337AB7;border-right-style:solid;border-right-width:6px}.__react_component_tooltip.type-info.border{border:1px solid #fff}.__react_component_tooltip.type-info.border.place-top:before{border-top:8px solid #fff}.__react_component_tooltip.type-info.border.place-bottom:before{border-bottom:8px solid #fff}.__react_component_tooltip.type-info.border.place-left:before{border-left:8px solid #fff}.__react_component_tooltip.type-info.border.place-right:before{border-right:8px solid #fff}.__react_component_tooltip.type-light{color:#222;background-color:#fff}.__react_component_tooltip.type-light.place-top:after{border-top-color:#fff;border-top-style:solid;border-top-width:6px}.__react_component_tooltip.type-light.place-bottom:after{border-bottom-color:#fff;border-bottom-style:solid;border-bottom-width:6px}.__react_component_tooltip.type-light.place-left:after{border-left-color:#fff;border-left-style:solid;border-left-width:6px}.__react_component_tooltip.type-light.place-right:after{border-right-color:#fff;border-right-style:solid;border-right-width:6px}.__react_component_tooltip.type-light.border{border:1px solid #222}.__react_component_tooltip.type-light.border.place-top:before{border-top:8px solid #222}.__react_component_tooltip.type-light.border.place-bottom:before{border-bottom:8px solid #222}.__react_component_tooltip.type-light.border.place-left:before{border-left:8px solid #222}.__react_component_tooltip.type-light.border.place-right:before{border-right:8px solid #222}.__react_component_tooltip.place-top{margin-top:-10px}.__react_component_tooltip.place-top:before{border-left:10px solid transparent;border-right:10px solid transparent;bottom:-8px;left:50%;margin-left:-10px}.__react_component_tooltip.place-top:after{border-left:8px solid transparent;border-right:8px solid transparent;bottom:-6px;left:50%;margin-left:-8px}.__react_component_tooltip.place-bottom{margin-top:10px}.__react_component_tooltip.place-bottom:before{border-left:10px solid transparent;border-right:10px solid transparent;top:-8px;left:50%;margin-left:-10px}.__react_component_tooltip.place-bottom:after{border-left:8px solid transparent;border-right:8px solid transparent;top:-6px;left:50%;margin-left:-8px}.__react_component_tooltip.place-left{margin-left:-10px}.__react_component_tooltip.place-left:before{border-top:6px solid transparent;border-bottom:6px solid transparent;right:-8px;top:50%;margin-top:-5px}.__react_component_tooltip.place-left:after{border-top:5px solid transparent;border-bottom:5px solid transparent;right:-6px;top:50%;margin-top:-4px}.__react_component_tooltip.place-right{margin-left:10px}.__react_component_tooltip.place-right:before{border-top:6px solid transparent;border-bottom:6px solid transparent;left:-8px;top:50%;margin-top:-5px}.__react_component_tooltip.place-right:after{border-top:5px solid transparent;border-bottom:5px solid transparent;left:-6px;top:50%;margin-top:-4px}.__react_component_tooltip .multi-line{display:block;padding:2px 0px;text-align:center}';
41592
 
41593
  /***/ },
41594
- /* 452 */
41595
  /***/ function(module, exports, __webpack_require__) {
41596
 
41597
  'use strict';
@@ -41600,7 +41604,7 @@ webpackJsonp([3],[
41600
  value: true
41601
  });
41602
 
41603
- var _HtmlParser = __webpack_require__(453);
41604
 
41605
  var _HtmlParser2 = _interopRequireDefault(_HtmlParser);
41606
 
@@ -41609,7 +41613,7 @@ webpackJsonp([3],[
41609
  exports.default = _HtmlParser2.default;
41610
 
41611
  /***/ },
41612
- /* 453 */
41613
  /***/ function(module, exports, __webpack_require__) {
41614
 
41615
  'use strict';
@@ -41619,11 +41623,11 @@ webpackJsonp([3],[
41619
  });
41620
  exports.default = HtmlParser;
41621
 
41622
- var _htmlparser = __webpack_require__(454);
41623
 
41624
  var _htmlparser2 = _interopRequireDefault(_htmlparser);
41625
 
41626
- var _ProcessNodes = __webpack_require__(507);
41627
 
41628
  var _ProcessNodes2 = _interopRequireDefault(_ProcessNodes);
41629
 
@@ -41641,11 +41645,11 @@ webpackJsonp([3],[
41641
  }
41642
 
41643
  /***/ },
41644
- /* 454 */
41645
  /***/ function(module, exports, __webpack_require__) {
41646
 
41647
- var Parser = __webpack_require__(455),
41648
- DomHandler = __webpack_require__(464);
41649
 
41650
  function defineProp(name, value){
41651
  delete module.exports[name];
@@ -41655,26 +41659,26 @@ webpackJsonp([3],[
41655
 
41656
  module.exports = {
41657
  Parser: Parser,
41658
- Tokenizer: __webpack_require__(456),
41659
- ElementType: __webpack_require__(465),
41660
  DomHandler: DomHandler,
41661
  get FeedHandler(){
41662
- return defineProp("FeedHandler", __webpack_require__(468));
41663
  },
41664
  get Stream(){
41665
- return defineProp("Stream", __webpack_require__(469));
41666
  },
41667
  get WritableStream(){
41668
- return defineProp("WritableStream", __webpack_require__(470));
41669
  },
41670
  get ProxyHandler(){
41671
- return defineProp("ProxyHandler", __webpack_require__(493));
41672
  },
41673
  get DomUtils(){
41674
- return defineProp("DomUtils", __webpack_require__(494));
41675
  },
41676
  get CollectingHandler(){
41677
- return defineProp("CollectingHandler", __webpack_require__(506));
41678
  },
41679
  // For legacy support
41680
  DefaultHandler: DomHandler,
@@ -41715,10 +41719,10 @@ webpackJsonp([3],[
41715
 
41716
 
41717
  /***/ },
41718
- /* 455 */
41719
  /***/ function(module, exports, __webpack_require__) {
41720
 
41721
- var Tokenizer = __webpack_require__(456);
41722
 
41723
  /*
41724
  Options:
@@ -41840,7 +41844,7 @@ webpackJsonp([3],[
41840
  if(this._cbs.onparserinit) this._cbs.onparserinit(this);
41841
  }
41842
 
41843
- __webpack_require__(462)(Parser, __webpack_require__(463).EventEmitter);
41844
 
41845
  Parser.prototype._updatePosition = function(initialOffset){
41846
  if(this.endIndex === null){
@@ -42074,15 +42078,15 @@ webpackJsonp([3],[
42074
 
42075
 
42076
  /***/ },
42077
- /* 456 */
42078
  /***/ function(module, exports, __webpack_require__) {
42079
 
42080
  module.exports = Tokenizer;
42081
 
42082
- var decodeCodePoint = __webpack_require__(457),
42083
- entityMap = __webpack_require__(459),
42084
- legacyMap = __webpack_require__(460),
42085
- xmlMap = __webpack_require__(461),
42086
 
42087
  i = 0,
42088
 
@@ -42986,10 +42990,10 @@ webpackJsonp([3],[
42986
 
42987
 
42988
  /***/ },
42989
- /* 457 */
42990
  /***/ function(module, exports, __webpack_require__) {
42991
 
42992
- var decodeMap = __webpack_require__(458);
42993
 
42994
  module.exports = decodeCodePoint;
42995
 
@@ -43018,31 +43022,31 @@ webpackJsonp([3],[
43018
 
43019
 
43020
  /***/ },
43021
- /* 458 */
43022
  /***/ function(module, exports) {
43023
 
43024
  module.exports = {"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}
43025
 
43026
  /***/ },
43027
- /* 459 */
43028
  /***/ function(module, exports) {
43029
 
43030
  module.exports = {"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\"","QUOT":"\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}
43031
 
43032
  /***/ },
43033
- /* 460 */
43034
  /***/ function(module, exports) {
43035
 
43036
  module.exports = {"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\"","QUOT":"\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}
43037
 
43038
  /***/ },
43039
- /* 461 */
43040
  /***/ function(module, exports) {
43041
 
43042
  module.exports = {"amp":"&","apos":"'","gt":">","lt":"<","quot":"\""}
43043
 
43044
  /***/ },
43045
- /* 462 */
43046
  /***/ function(module, exports) {
43047
 
43048
  if (typeof Object.create === 'function') {
@@ -43071,7 +43075,7 @@ webpackJsonp([3],[
43071
 
43072
 
43073
  /***/ },
43074
- /* 463 */
43075
  /***/ function(module, exports) {
43076
 
43077
  // Copyright Joyent, Inc. and other Node contributors.
@@ -43379,14 +43383,14 @@ webpackJsonp([3],[
43379
 
43380
 
43381
  /***/ },
43382
- /* 464 */
43383
  /***/ function(module, exports, __webpack_require__) {
43384
 
43385
- var ElementType = __webpack_require__(465);
43386
 
43387
  var re_whitespace = /\s+/g;
43388
- var NodePrototype = __webpack_require__(466);
43389
- var ElementPrototype = __webpack_require__(467);
43390
 
43391
  function DomHandler(callback, options, elementCB){
43392
  if(typeof callback === "object"){
@@ -43602,7 +43606,7 @@ webpackJsonp([3],[
43602
 
43603
 
43604
  /***/ },
43605
- /* 465 */
43606
  /***/ function(module, exports) {
43607
 
43608
  //Types of elements found in the DOM
@@ -43623,7 +43627,7 @@ webpackJsonp([3],[
43623
 
43624
 
43625
  /***/ },
43626
- /* 466 */
43627
  /***/ function(module, exports) {
43628
 
43629
  // This object will be used as the prototype for Nodes when creating a
@@ -43673,11 +43677,11 @@ webpackJsonp([3],[
43673
 
43674
 
43675
  /***/ },
43676
- /* 467 */
43677
  /***/ function(module, exports, __webpack_require__) {
43678
 
43679
  // DOM-Level-1-compliant structure
43680
- var NodePrototype = __webpack_require__(466);
43681
  var ElementPrototype = module.exports = Object.create(NodePrototype);
43682
 
43683
  var domLvl1 = {
@@ -43699,10 +43703,10 @@ webpackJsonp([3],[
43699
 
43700
 
43701
  /***/ },
43702
- /* 468 */
43703
  /***/ function(module, exports, __webpack_require__) {
43704
 
43705
- var index = __webpack_require__(454),
43706
  DomHandler = index.DomHandler,
43707
  DomUtils = index.DomUtils;
43708
 
@@ -43711,7 +43715,7 @@ webpackJsonp([3],[
43711
  this.init(callback, options);
43712
  }
43713
 
43714
- __webpack_require__(462)(FeedHandler, DomHandler);
43715
 
43716
  FeedHandler.prototype.init = DomHandler;
43717
 
@@ -43800,18 +43804,18 @@ webpackJsonp([3],[
43800
 
43801
 
43802
  /***/ },
43803
- /* 469 */
43804
  /***/ function(module, exports, __webpack_require__) {
43805
 
43806
  module.exports = Stream;
43807
 
43808
- var Parser = __webpack_require__(470);
43809
 
43810
  function Stream(options){
43811
  Parser.call(this, new Cbs(this), options);
43812
  }
43813
 
43814
- __webpack_require__(462)(Stream, Parser);
43815
 
43816
  Stream.prototype.readable = true;
43817
 
@@ -43819,7 +43823,7 @@ webpackJsonp([3],[
43819
  this.scope = scope;
43820
  }
43821
 
43822
- var EVENTS = __webpack_require__(454).EVENTS;
43823
 
43824
  Object.keys(EVENTS).forEach(function(name){
43825
  if(EVENTS[name] === 0){
@@ -43840,15 +43844,15 @@ webpackJsonp([3],[
43840
  });
43841
 
43842
  /***/ },
43843
- /* 470 */
43844
  /***/ function(module, exports, __webpack_require__) {
43845
 
43846
  module.exports = Stream;
43847
 
43848
- var Parser = __webpack_require__(455),
43849
- WritableStream = __webpack_require__(471).Writable || __webpack_require__(490).Writable,
43850
- StringDecoder = __webpack_require__(491).StringDecoder,
43851
- Buffer = __webpack_require__(475).Buffer;
43852
 
43853
  function Stream(cbs, options){
43854
  var parser = this._parser = new Parser(cbs, options);
@@ -43861,7 +43865,7 @@ webpackJsonp([3],[
43861
  });
43862
  }
43863
 
43864
- __webpack_require__(462)(Stream, WritableStream);
43865
 
43866
  WritableStream.prototype._write = function(chunk, encoding, cb){
43867
  if(chunk instanceof Buffer) chunk = this._decoder.write(chunk);
@@ -43870,7 +43874,7 @@ webpackJsonp([3],[
43870
  };
43871
 
43872
  /***/ },
43873
- /* 471 */
43874
  /***/ function(module, exports, __webpack_require__) {
43875
 
43876
  // Copyright Joyent, Inc. and other Node contributors.
@@ -43896,15 +43900,15 @@ webpackJsonp([3],[
43896
 
43897
  module.exports = Stream;
43898
 
43899
- var EE = __webpack_require__(463).EventEmitter;
43900
- var inherits = __webpack_require__(462);
43901
 
43902
  inherits(Stream, EE);
43903
- Stream.Readable = __webpack_require__(472);
43904
- Stream.Writable = __webpack_require__(486);
43905
- Stream.Duplex = __webpack_require__(487);
43906
- Stream.Transform = __webpack_require__(488);
43907
- Stream.PassThrough = __webpack_require__(489);
43908
 
43909
  // Backwards-compat with node 0.4.x
43910
  Stream.Stream = Stream;
@@ -44003,24 +44007,24 @@ webpackJsonp([3],[
44003
 
44004
 
44005
  /***/ },
44006
- /* 472 */
44007
  /***/ function(module, exports, __webpack_require__) {
44008
 
44009
- /* WEBPACK VAR INJECTION */(function(process) {exports = module.exports = __webpack_require__(473);
44010
- exports.Stream = __webpack_require__(471);
44011
  exports.Readable = exports;
44012
- exports.Writable = __webpack_require__(482);
44013
- exports.Duplex = __webpack_require__(481);
44014
- exports.Transform = __webpack_require__(484);
44015
- exports.PassThrough = __webpack_require__(485);
44016
  if (!process.browser && process.env.READABLE_STREAM === 'disable') {
44017
- module.exports = __webpack_require__(471);
44018
  }
44019
 
44020
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
44021
 
44022
  /***/ },
44023
- /* 473 */
44024
  /***/ function(module, exports, __webpack_require__) {
44025
 
44026
  /* WEBPACK VAR INJECTION */(function(process) {// Copyright Joyent, Inc. and other Node contributors.
@@ -44047,17 +44051,17 @@ webpackJsonp([3],[
44047
  module.exports = Readable;
44048
 
44049
  /*<replacement>*/
44050
- var isArray = __webpack_require__(474);
44051
  /*</replacement>*/
44052
 
44053
 
44054
  /*<replacement>*/
44055
- var Buffer = __webpack_require__(475).Buffer;
44056
  /*</replacement>*/
44057
 
44058
  Readable.ReadableState = ReadableState;
44059
 
44060
- var EE = __webpack_require__(463).EventEmitter;
44061
 
44062
  /*<replacement>*/
44063
  if (!EE.listenerCount) EE.listenerCount = function(emitter, type) {
@@ -44065,18 +44069,18 @@ webpackJsonp([3],[
44065
  };
44066
  /*</replacement>*/
44067
 
44068
- var Stream = __webpack_require__(471);
44069
 
44070
  /*<replacement>*/
44071
- var util = __webpack_require__(479);
44072
- util.inherits = __webpack_require__(462);
44073
  /*</replacement>*/
44074
 
44075
  var StringDecoder;
44076
 
44077
 
44078
  /*<replacement>*/
44079
- var debug = __webpack_require__(480);
44080
  if (debug && debug.debuglog) {
44081
  debug = debug.debuglog('stream');
44082
  } else {
@@ -44088,7 +44092,7 @@ webpackJsonp([3],[
44088
  util.inherits(Readable, Stream);
44089
 
44090
  function ReadableState(options, stream) {
44091
- var Duplex = __webpack_require__(481);
44092
 
44093
  options = options || {};
44094
 
@@ -44149,14 +44153,14 @@ webpackJsonp([3],[
44149
  this.encoding = null;
44150
  if (options.encoding) {
44151
  if (!StringDecoder)
44152
- StringDecoder = __webpack_require__(483).StringDecoder;
44153
  this.decoder = new StringDecoder(options.encoding);
44154
  this.encoding = options.encoding;
44155
  }
44156
  }
44157
 
44158
  function Readable(options) {
44159
- var Duplex = __webpack_require__(481);
44160
 
44161
  if (!(this instanceof Readable))
44162
  return new Readable(options);
@@ -44259,7 +44263,7 @@ webpackJsonp([3],[
44259
  // backwards compatibility.
44260
  Readable.prototype.setEncoding = function(enc) {
44261
  if (!StringDecoder)
44262
- StringDecoder = __webpack_require__(483).StringDecoder;
44263
  this._readableState.decoder = new StringDecoder(enc);
44264
  this._readableState.encoding = enc;
44265
  return this;
@@ -44978,7 +44982,7 @@ webpackJsonp([3],[
44978
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
44979
 
44980
  /***/ },
44981
- /* 474 */
44982
  /***/ function(module, exports) {
44983
 
44984
  module.exports = Array.isArray || function (arr) {
@@ -44987,7 +44991,7 @@ webpackJsonp([3],[
44987
 
44988
 
44989
  /***/ },
44990
- /* 475 */
44991
  /***/ function(module, exports, __webpack_require__) {
44992
 
44993
  /* WEBPACK VAR INJECTION */(function(Buffer, global) {/*!
@@ -45000,9 +45004,9 @@ webpackJsonp([3],[
45000
 
45001
  'use strict'
45002
 
45003
- var base64 = __webpack_require__(476)
45004
- var ieee754 = __webpack_require__(477)
45005
- var isArray = __webpack_require__(478)
45006
 
45007
  exports.Buffer = Buffer
45008
  exports.SlowBuffer = SlowBuffer
@@ -46780,10 +46784,10 @@ webpackJsonp([3],[
46780
  return val !== val // eslint-disable-line no-self-compare
46781
  }
46782
 
46783
- /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(475).Buffer, (function() { return this; }())))
46784
 
46785
  /***/ },
46786
- /* 476 */
46787
  /***/ function(module, exports) {
46788
 
46789
  'use strict'
@@ -46903,7 +46907,7 @@ webpackJsonp([3],[
46903
 
46904
 
46905
  /***/ },
46906
- /* 477 */
46907
  /***/ function(module, exports) {
46908
 
46909
  exports.read = function (buffer, offset, isLE, mLen, nBytes) {
@@ -46993,7 +46997,7 @@ webpackJsonp([3],[
46993
 
46994
 
46995
  /***/ },
46996
- /* 478 */
46997
  /***/ function(module, exports) {
46998
 
46999
  var toString = {}.toString;
@@ -47004,7 +47008,7 @@ webpackJsonp([3],[
47004
 
47005
 
47006
  /***/ },
47007
- /* 479 */
47008
  /***/ function(module, exports, __webpack_require__) {
47009
 
47010
  /* WEBPACK VAR INJECTION */(function(Buffer) {// Copyright Joyent, Inc. and other Node contributors.
@@ -47115,16 +47119,16 @@ webpackJsonp([3],[
47115
  return Object.prototype.toString.call(o);
47116
  }
47117
 
47118
- /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(475).Buffer))
47119
 
47120
  /***/ },
47121
- /* 480 */
47122
  /***/ function(module, exports) {
47123
 
47124
  /* (ignored) */
47125
 
47126
  /***/ },
47127
- /* 481 */
47128
  /***/ function(module, exports, __webpack_require__) {
47129
 
47130
  /* WEBPACK VAR INJECTION */(function(process) {// Copyright Joyent, Inc. and other Node contributors.
@@ -47165,12 +47169,12 @@ webpackJsonp([3],[
47165
 
47166
 
47167
  /*<replacement>*/
47168
- var util = __webpack_require__(479);
47169
- util.inherits = __webpack_require__(462);
47170
  /*</replacement>*/
47171
 
47172
- var Readable = __webpack_require__(473);
47173
- var Writable = __webpack_require__(482);
47174
 
47175
  util.inherits(Duplex, Readable);
47176
 
@@ -47220,7 +47224,7 @@ webpackJsonp([3],[
47220
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
47221
 
47222
  /***/ },
47223
- /* 482 */
47224
  /***/ function(module, exports, __webpack_require__) {
47225
 
47226
  /* WEBPACK VAR INJECTION */(function(process) {// Copyright Joyent, Inc. and other Node contributors.
@@ -47251,18 +47255,18 @@ webpackJsonp([3],[
47251
  module.exports = Writable;
47252
 
47253
  /*<replacement>*/
47254
- var Buffer = __webpack_require__(475).Buffer;
47255
  /*</replacement>*/
47256
 
47257
  Writable.WritableState = WritableState;
47258
 
47259
 
47260
  /*<replacement>*/
47261
- var util = __webpack_require__(479);
47262
- util.inherits = __webpack_require__(462);
47263
  /*</replacement>*/
47264
 
47265
- var Stream = __webpack_require__(471);
47266
 
47267
  util.inherits(Writable, Stream);
47268
 
@@ -47273,7 +47277,7 @@ webpackJsonp([3],[
47273
  }
47274
 
47275
  function WritableState(options, stream) {
47276
- var Duplex = __webpack_require__(481);
47277
 
47278
  options = options || {};
47279
 
@@ -47361,7 +47365,7 @@ webpackJsonp([3],[
47361
  }
47362
 
47363
  function Writable(options) {
47364
- var Duplex = __webpack_require__(481);
47365
 
47366
  // Writable ctor is applied to Duplexes, though they're not
47367
  // instanceof Writable, they're instanceof Readable.
@@ -47704,7 +47708,7 @@ webpackJsonp([3],[
47704
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
47705
 
47706
  /***/ },
47707
- /* 483 */
47708
  /***/ function(module, exports, __webpack_require__) {
47709
 
47710
  // Copyright Joyent, Inc. and other Node contributors.
@@ -47728,7 +47732,7 @@ webpackJsonp([3],[
47728
  // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
47729
  // USE OR OTHER DEALINGS IN THE SOFTWARE.
47730
 
47731
- var Buffer = __webpack_require__(475).Buffer;
47732
 
47733
  var isBufferEncoding = Buffer.isEncoding
47734
  || function(encoding) {
@@ -47931,7 +47935,7 @@ webpackJsonp([3],[
47931
 
47932
 
47933
  /***/ },
47934
- /* 484 */
47935
  /***/ function(module, exports, __webpack_require__) {
47936
 
47937
  // Copyright Joyent, Inc. and other Node contributors.
@@ -48000,11 +48004,11 @@ webpackJsonp([3],[
48000
 
48001
  module.exports = Transform;
48002
 
48003
- var Duplex = __webpack_require__(481);
48004
 
48005
  /*<replacement>*/
48006
- var util = __webpack_require__(479);
48007
- util.inherits = __webpack_require__(462);
48008
  /*</replacement>*/
48009
 
48010
  util.inherits(Transform, Duplex);
@@ -48146,7 +48150,7 @@ webpackJsonp([3],[
48146
 
48147
 
48148
  /***/ },
48149
- /* 485 */
48150
  /***/ function(module, exports, __webpack_require__) {
48151
 
48152
  // Copyright Joyent, Inc. and other Node contributors.
@@ -48176,11 +48180,11 @@ webpackJsonp([3],[
48176
 
48177
  module.exports = PassThrough;
48178
 
48179
- var Transform = __webpack_require__(484);
48180
 
48181
  /*<replacement>*/
48182
- var util = __webpack_require__(479);
48183
- util.inherits = __webpack_require__(462);
48184
  /*</replacement>*/
48185
 
48186
  util.inherits(PassThrough, Transform);
@@ -48198,46 +48202,46 @@ webpackJsonp([3],[
48198
 
48199
 
48200
  /***/ },
48201
- /* 486 */
48202
  /***/ function(module, exports, __webpack_require__) {
48203
 
48204
- module.exports = __webpack_require__(482)
48205
 
48206
 
48207
  /***/ },
48208
- /* 487 */
48209
  /***/ function(module, exports, __webpack_require__) {
48210
 
48211
- module.exports = __webpack_require__(481)
48212
 
48213
 
48214
  /***/ },
48215
- /* 488 */
48216
  /***/ function(module, exports, __webpack_require__) {
48217
 
48218
- module.exports = __webpack_require__(484)
48219
 
48220
 
48221
  /***/ },
48222
- /* 489 */
48223
  /***/ function(module, exports, __webpack_require__) {
48224
 
48225
- module.exports = __webpack_require__(485)
48226
 
48227
 
48228
  /***/ },
48229
- /* 490 */
48230
  /***/ function(module, exports) {
48231
 
48232
  /* (ignored) */
48233
 
48234
  /***/ },
48235
- /* 491 */
48236
  /***/ function(module, exports, __webpack_require__) {
48237
 
48238
  'use strict';
48239
 
48240
- var Buffer = __webpack_require__(492).Buffer;
48241
 
48242
  var isEncoding = Buffer.isEncoding || function (encoding) {
48243
  encoding = '' + encoding;
@@ -48509,11 +48513,11 @@ webpackJsonp([3],[
48509
  }
48510
 
48511
  /***/ },
48512
- /* 492 */
48513
  /***/ function(module, exports, __webpack_require__) {
48514
 
48515
  /* eslint-disable node/no-deprecated-api */
48516
- var buffer = __webpack_require__(475)
48517
  var Buffer = buffer.Buffer
48518
 
48519
  // alternative to using Object.keys for old browsers
@@ -48577,7 +48581,7 @@ webpackJsonp([3],[
48577
 
48578
 
48579
  /***/ },
48580
- /* 493 */
48581
  /***/ function(module, exports, __webpack_require__) {
48582
 
48583
  module.exports = ProxyHandler;
@@ -48586,7 +48590,7 @@ webpackJsonp([3],[
48586
  this._cbs = cbs || {};
48587
  }
48588
 
48589
- var EVENTS = __webpack_require__(454).EVENTS;
48590
  Object.keys(EVENTS).forEach(function(name){
48591
  if(EVENTS[name] === 0){
48592
  name = "on" + name;
@@ -48609,18 +48613,18 @@ webpackJsonp([3],[
48609
  });
48610
 
48611
  /***/ },
48612
- /* 494 */
48613
  /***/ function(module, exports, __webpack_require__) {
48614
 
48615
  var DomUtils = module.exports;
48616
 
48617
  [
48618
- __webpack_require__(495),
48619
- __webpack_require__(501),
48620
- __webpack_require__(502),
48621
- __webpack_require__(503),
48622
- __webpack_require__(504),
48623
- __webpack_require__(505)
48624
  ].forEach(function(ext){
48625
  Object.keys(ext).forEach(function(key){
48626
  DomUtils[key] = ext[key].bind(DomUtils);
@@ -48629,11 +48633,11 @@ webpackJsonp([3],[
48629
 
48630
 
48631
  /***/ },
48632
- /* 495 */
48633
  /***/ function(module, exports, __webpack_require__) {
48634
 
48635
- var ElementType = __webpack_require__(465),
48636
- getOuterHTML = __webpack_require__(496),
48637
  isTag = ElementType.isTag;
48638
 
48639
  module.exports = {
@@ -48658,14 +48662,14 @@ webpackJsonp([3],[
48658
 
48659
 
48660
  /***/ },
48661
- /* 496 */
48662
  /***/ function(module, exports, __webpack_require__) {
48663
 
48664
  /*
48665
  Module dependencies
48666
  */
48667
- var ElementType = __webpack_require__(497);
48668
- var entities = __webpack_require__(498);
48669
 
48670
  /*
48671
  Boolean Attributes
@@ -48842,7 +48846,7 @@ webpackJsonp([3],[
48842
 
48843
 
48844
  /***/ },
48845
- /* 497 */
48846
  /***/ function(module, exports) {
48847
 
48848
  //Types of elements found in the DOM
@@ -48861,11 +48865,11 @@ webpackJsonp([3],[
48861
  };
48862
 
48863
  /***/ },
48864
- /* 498 */
48865
  /***/ function(module, exports, __webpack_require__) {
48866
 
48867
- var encode = __webpack_require__(499),
48868
- decode = __webpack_require__(500);
48869
 
48870
  exports.decode = function(data, level){
48871
  return (!level || level <= 0 ? decode.XML : decode.HTML)(data);
@@ -48900,15 +48904,15 @@ webpackJsonp([3],[
48900
 
48901
 
48902
  /***/ },
48903
- /* 499 */
48904
  /***/ function(module, exports, __webpack_require__) {
48905
 
48906
- var inverseXML = getInverseObj(__webpack_require__(461)),
48907
  xmlReplacer = getInverseReplacer(inverseXML);
48908
 
48909
  exports.XML = getInverse(inverseXML, xmlReplacer);
48910
 
48911
- var inverseHTML = getInverseObj(__webpack_require__(459)),
48912
  htmlReplacer = getInverseReplacer(inverseHTML);
48913
 
48914
  exports.HTML = getInverse(inverseHTML, htmlReplacer);
@@ -48979,13 +48983,13 @@ webpackJsonp([3],[
48979
 
48980
 
48981
  /***/ },
48982
- /* 500 */
48983
  /***/ function(module, exports, __webpack_require__) {
48984
 
48985
- var entityMap = __webpack_require__(459),
48986
- legacyMap = __webpack_require__(460),
48987
- xmlMap = __webpack_require__(461),
48988
- decodeCodePoint = __webpack_require__(457);
48989
 
48990
  var decodeXMLStrict = getStrictDecoder(xmlMap),
48991
  decodeHTMLStrict = getStrictDecoder(entityMap);
@@ -49056,7 +49060,7 @@ webpackJsonp([3],[
49056
  };
49057
 
49058
  /***/ },
49059
- /* 501 */
49060
  /***/ function(module, exports) {
49061
 
49062
  var getChildren = exports.getChildren = function(elem){
@@ -49086,7 +49090,7 @@ webpackJsonp([3],[
49086
 
49087
 
49088
  /***/ },
49089
- /* 502 */
49090
  /***/ function(module, exports) {
49091
 
49092
  exports.removeElement = function(elem){
@@ -49169,10 +49173,10 @@ webpackJsonp([3],[
49169
 
49170
 
49171
  /***/ },
49172
- /* 503 */
49173
  /***/ function(module, exports, __webpack_require__) {
49174
 
49175
- var isTag = __webpack_require__(465).isTag;
49176
 
49177
  module.exports = {
49178
  filter: filter,
@@ -49274,10 +49278,10 @@ webpackJsonp([3],[
49274
 
49275
 
49276
  /***/ },
49277
- /* 504 */
49278
  /***/ function(module, exports, __webpack_require__) {
49279
 
49280
- var ElementType = __webpack_require__(465);
49281
  var isTag = exports.isTag = ElementType.isTag;
49282
 
49283
  exports.testElement = function(options, element){
@@ -49367,7 +49371,7 @@ webpackJsonp([3],[
49367
 
49368
 
49369
  /***/ },
49370
- /* 505 */
49371
  /***/ function(module, exports) {
49372
 
49373
  // removeSubsets
@@ -49514,7 +49518,7 @@ webpackJsonp([3],[
49514
 
49515
 
49516
  /***/ },
49517
- /* 506 */
49518
  /***/ function(module, exports, __webpack_require__) {
49519
 
49520
  module.exports = CollectingHandler;
@@ -49524,7 +49528,7 @@ webpackJsonp([3],[
49524
  this.events = [];
49525
  }
49526
 
49527
- var EVENTS = __webpack_require__(454).EVENTS;
49528
  Object.keys(EVENTS).forEach(function(name){
49529
  if(EVENTS[name] === 0){
49530
  name = "on" + name;
@@ -49575,7 +49579,7 @@ webpackJsonp([3],[
49575
 
49576
 
49577
  /***/ },
49578
- /* 507 */
49579
  /***/ function(module, exports, __webpack_require__) {
49580
 
49581
  'use strict';
@@ -49585,7 +49589,7 @@ webpackJsonp([3],[
49585
  });
49586
  exports.default = ProcessNodes;
49587
 
49588
- var _elementTypes = __webpack_require__(508);
49589
 
49590
  var _elementTypes2 = _interopRequireDefault(_elementTypes);
49591
 
@@ -49628,7 +49632,7 @@ webpackJsonp([3],[
49628
  }
49629
 
49630
  /***/ },
49631
- /* 508 */
49632
  /***/ function(module, exports, __webpack_require__) {
49633
 
49634
  'use strict';
@@ -49639,21 +49643,21 @@ webpackJsonp([3],[
49639
 
49640
  var _ElementType$Text$Ele;
49641
 
49642
- var _htmlparser = __webpack_require__(454);
49643
 
49644
- var _TextElementType = __webpack_require__(509);
49645
 
49646
  var _TextElementType2 = _interopRequireDefault(_TextElementType);
49647
 
49648
- var _TagElementType = __webpack_require__(510);
49649
 
49650
  var _TagElementType2 = _interopRequireDefault(_TagElementType);
49651
 
49652
- var _StyleElementType = __webpack_require__(518);
49653
 
49654
  var _StyleElementType2 = _interopRequireDefault(_StyleElementType);
49655
 
49656
- var _UnsupportedElementType = __webpack_require__(519);
49657
 
49658
  var _UnsupportedElementType2 = _interopRequireDefault(_UnsupportedElementType);
49659
 
@@ -49668,7 +49672,7 @@ webpackJsonp([3],[
49668
  exports.default = (_ElementType$Text$Ele = {}, _defineProperty(_ElementType$Text$Ele, _htmlparser.ElementType.Text, _TextElementType2.default), _defineProperty(_ElementType$Text$Ele, _htmlparser.ElementType.Tag, _TagElementType2.default), _defineProperty(_ElementType$Text$Ele, _htmlparser.ElementType.Style, _StyleElementType2.default), _defineProperty(_ElementType$Text$Ele, _htmlparser.ElementType.Directive, _UnsupportedElementType2.default), _defineProperty(_ElementType$Text$Ele, _htmlparser.ElementType.Comment, _UnsupportedElementType2.default), _defineProperty(_ElementType$Text$Ele, _htmlparser.ElementType.Script, _UnsupportedElementType2.default), _defineProperty(_ElementType$Text$Ele, _htmlparser.ElementType.CDATA, _UnsupportedElementType2.default), _defineProperty(_ElementType$Text$Ele, _htmlparser.ElementType.Doctype, _UnsupportedElementType2.default), _ElementType$Text$Ele);
49669
 
49670
  /***/ },
49671
- /* 509 */
49672
  /***/ function(module, exports) {
49673
 
49674
  "use strict";
@@ -49690,7 +49694,7 @@ webpackJsonp([3],[
49690
  }
49691
 
49692
  /***/ },
49693
- /* 510 */
49694
  /***/ function(module, exports, __webpack_require__) {
49695
 
49696
  'use strict';
@@ -49704,19 +49708,19 @@ webpackJsonp([3],[
49704
 
49705
  var _react2 = _interopRequireDefault(_react);
49706
 
49707
- var _ProcessNodes = __webpack_require__(507);
49708
 
49709
  var _ProcessNodes2 = _interopRequireDefault(_ProcessNodes);
49710
 
49711
- var _GeneratePropsFromAttributes = __webpack_require__(511);
49712
 
49713
  var _GeneratePropsFromAttributes2 = _interopRequireDefault(_GeneratePropsFromAttributes);
49714
 
49715
- var _TransformTagName = __webpack_require__(516);
49716
 
49717
  var _TransformTagName2 = _interopRequireDefault(_TransformTagName);
49718
 
49719
- var _VoidElements = __webpack_require__(517);
49720
 
49721
  var _VoidElements2 = _interopRequireDefault(_VoidElements);
49722
 
@@ -49748,7 +49752,7 @@ webpackJsonp([3],[
49748
  }
49749
 
49750
  /***/ },
49751
- /* 511 */
49752
  /***/ function(module, exports, __webpack_require__) {
49753
 
49754
  'use strict';
@@ -49761,11 +49765,11 @@ webpackJsonp([3],[
49761
 
49762
  exports.default = GeneratePropsFromAttributes;
49763
 
49764
- var _HtmlAttributesToReact = __webpack_require__(512);
49765
 
49766
  var _HtmlAttributesToReact2 = _interopRequireDefault(_HtmlAttributesToReact);
49767
 
49768
- var _InlineStyleToObject = __webpack_require__(515);
49769
 
49770
  var _InlineStyleToObject2 = _interopRequireDefault(_InlineStyleToObject);
49771
 
@@ -49791,7 +49795,7 @@ webpackJsonp([3],[
49791
  }
49792
 
49793
  /***/ },
49794
- /* 512 */
49795
  /***/ function(module, exports, __webpack_require__) {
49796
 
49797
  'use strict';
@@ -49801,11 +49805,11 @@ webpackJsonp([3],[
49801
  });
49802
  exports.default = HtmlAttributesToReact;
49803
 
49804
- var _BooleanAttributes = __webpack_require__(513);
49805
 
49806
  var _BooleanAttributes2 = _interopRequireDefault(_BooleanAttributes);
49807
 
49808
- var _ReactAttributes = __webpack_require__(514);
49809
 
49810
  var _ReactAttributes2 = _interopRequireDefault(_ReactAttributes);
49811
 
@@ -49857,7 +49861,7 @@ webpackJsonp([3],[
49857
  }
49858
 
49859
  /***/ },
49860
- /* 513 */
49861
  /***/ function(module, exports) {
49862
 
49863
  'use strict';
@@ -49876,7 +49880,7 @@ webpackJsonp([3],[
49876
  exports.default = ['allowfullScreen', 'async', 'autoplay', 'capture', 'checked', 'controls', 'default', 'defer', 'disabled', 'formnovalidate', 'hidden', 'loop', 'multiple', 'muted', 'novalidate', 'open', 'readonly', 'required', 'reversed', 'scoped', 'seamless', 'selected', 'itemscope'];
49877
 
49878
  /***/ },
49879
- /* 514 */
49880
  /***/ function(module, exports) {
49881
 
49882
  'use strict';
@@ -50044,7 +50048,7 @@ webpackJsonp([3],[
50044
  };
50045
 
50046
  /***/ },
50047
- /* 515 */
50048
  /***/ function(module, exports) {
50049
 
50050
  'use strict';
@@ -50107,7 +50111,7 @@ webpackJsonp([3],[
50107
  }
50108
 
50109
  /***/ },
50110
- /* 516 */
50111
  /***/ function(module, exports) {
50112
 
50113
  'use strict';
@@ -50137,7 +50141,7 @@ webpackJsonp([3],[
50137
  }
50138
 
50139
  /***/ },
50140
- /* 517 */
50141
  /***/ function(module, exports) {
50142
 
50143
  'use strict';
@@ -50153,7 +50157,7 @@ webpackJsonp([3],[
50153
  exports.default = ['area', 'base', 'br', 'col', 'command', 'embed', 'hr', 'img', 'input', 'keygen', 'link', 'meta', 'param', 'source', 'track', 'wbr'];
50154
 
50155
  /***/ },
50156
- /* 518 */
50157
  /***/ function(module, exports, __webpack_require__) {
50158
 
50159
  'use strict';
@@ -50167,7 +50171,7 @@ webpackJsonp([3],[
50167
 
50168
  var _react2 = _interopRequireDefault(_react);
50169
 
50170
- var _GeneratePropsFromAttributes = __webpack_require__(511);
50171
 
50172
  var _GeneratePropsFromAttributes2 = _interopRequireDefault(_GeneratePropsFromAttributes);
50173
 
@@ -50197,7 +50201,7 @@ webpackJsonp([3],[
50197
  }
50198
 
50199
  /***/ },
50200
- /* 519 */
50201
  /***/ function(module, exports) {
50202
 
50203
  "use strict";
@@ -50218,10 +50222,6 @@ webpackJsonp([3],[
50218
  }
50219
 
50220
  /***/ },
50221
- /* 520 */,
50222
- /* 521 */,
50223
- /* 522 */,
50224
- /* 523 */,
50225
  /* 524 */,
50226
  /* 525 */,
50227
  /* 526 */,
@@ -50269,7 +50269,11 @@ webpackJsonp([3],[
50269
  /* 568 */,
50270
  /* 569 */,
50271
  /* 570 */,
50272
- /* 571 */
 
 
 
 
50273
  /***/ function(module, exports, __webpack_require__) {
50274
 
50275
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;function requestFailed(errorMessage, xhr) {
@@ -50362,7 +50366,7 @@ webpackJsonp([3],[
50362
 
50363
 
50364
  /***/ },
50365
- /* 572 */
50366
  /***/ function(module, exports, __webpack_require__) {
50367
 
50368
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
@@ -50521,16 +50525,14 @@ webpackJsonp([3],[
50521
  if (escapeToken === true) {
50522
  convertedFormat.push('[' + token + ']');
50523
  escapeToken = false;
50524
- } else {
50525
- if (token === '\\') {
50526
  // Slash escapes the next symbol to be treated as literal
50527
- escapeToken = true;
50528
- continue;
50529
- } else if (replacements[token] !== undefined) {
50530
- convertedFormat.push(replacements[token]);
50531
- } else {
50532
- convertedFormat.push('[' + token + ']');
50533
- }
50534
  }
50535
  }
50536
 
@@ -50541,7 +50543,7 @@ webpackJsonp([3],[
50541
 
50542
 
50543
  /***/ },
50544
- /* 573 */
50545
  /***/ function(module, exports, __webpack_require__) {
50546
 
50547
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
@@ -50570,7 +50572,7 @@ webpackJsonp([3],[
50570
 
50571
 
50572
  /***/ },
50573
- /* 574 */
50574
  /***/ function(module, exports, __webpack_require__) {
50575
 
50576
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disable func-names */
@@ -50914,6 +50916,7 @@ webpackJsonp([3],[
50914
  }
50915
  jQuery('#mailpoet_panel').css({ minHeight: 'auto' });
50916
  break;
 
50917
  }
50918
 
50919
  return this;
@@ -50950,6 +50953,7 @@ webpackJsonp([3],[
50950
  }
50951
  }.bind(this), 0);
50952
  break;
 
50953
  }
50954
 
50955
  return this;
@@ -50992,7 +50996,7 @@ webpackJsonp([3],[
50992
  return this;
50993
  },
50994
  focus: function () {
50995
- if (this.options.type == 'popup') {
50996
  jQuery('#mailpoet_' + this.options.type).focus();
50997
  } else {
50998
  // panel and subpanel
@@ -51129,12 +51133,12 @@ webpackJsonp([3],[
51129
  success: function () {
51130
  if (this.subpanels.length > 0) {
51131
  if (this.subpanels[(this.subpanels.length - 1)].onSuccess !== undefined) {
51132
- this.subpanels[(this.subpanels.length - 1)].onSuccess(this.subpanels[(this.subpanels.length - 1)].data);
51133
- }
51134
- } else {
51135
- if (this.options.onSuccess !== null) {
51136
- this.options.onSuccess(this.options.data);
51137
  }
 
 
51138
  }
51139
  this.close();
51140
 
@@ -51143,12 +51147,12 @@ webpackJsonp([3],[
51143
  cancel: function () {
51144
  if (this.subpanels.length > 0) {
51145
  if (this.subpanels[(this.subpanels.length - 1)].onCancel !== undefined) {
51146
- this.subpanels[(this.subpanels.length - 1)].onCancel(this.subpanels[(this.subpanels.length - 1)].data);
51147
- }
51148
- } else {
51149
- if (this.options.onCancel !== null) {
51150
- this.options.onCancel(this.options.data);
51151
  }
 
 
51152
  }
51153
  this.close();
51154
 
@@ -51215,13 +51219,13 @@ webpackJsonp([3],[
51215
 
51216
 
51217
  /***/ },
51218
- /* 575 */
51219
  /***/ function(module, exports, __webpack_require__) {
51220
 
51221
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
51222
 
51223
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(276), __webpack_require__(275)], __WEBPACK_AMD_DEFINE_RESULT__ = function (mp, jQuery) { // eslint-disable-line func-names
51224
- /*= =================================================================================================
51225
 
51226
  MailPoet Notice:
51227
 
@@ -51242,7 +51246,7 @@ webpackJsonp([3],[
51242
  // system message (static: true)
51243
  MailPoet.Notice.system('You need to updated ASAP!');
51244
 
51245
- ================================================================================================== */
51246
  var MailPoet = mp;
51247
  MailPoet.Notice = {
51248
  version: 1.0,
@@ -51314,7 +51318,7 @@ webpackJsonp([3],[
51314
  // listen to message event
51315
  jQuery(this.element).on('setMessage', function (e, message) { // eslint-disable-line func-names
51316
  MailPoet.Notice.setMessage(message);
51317
- }.bind(this.element));
51318
 
51319
  return this;
51320
  },
@@ -51371,6 +51375,9 @@ webpackJsonp([3],[
51371
  case 'error':
51372
  this.element.addClass('notice notice-error');
51373
  break;
 
 
 
51374
  }
51375
 
51376
  // make the notice appear
@@ -51438,7 +51445,7 @@ webpackJsonp([3],[
51438
 
51439
 
51440
  /***/ },
51441
- /* 576 */
51442
  /***/ function(module, exports, __webpack_require__) {
51443
 
51444
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
@@ -51464,7 +51471,7 @@ webpackJsonp([3],[
51464
 
51465
 
51466
  /***/ },
51467
- /* 577 */
51468
  /***/ function(module, exports, __webpack_require__) {
51469
 
51470
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
@@ -51540,28 +51547,23 @@ webpackJsonp([3],[
51540
  // object or array based on the type of the next keys part.
51541
  // * Move the 'cur' pointer to the next level.
51542
  // * Rinse & repeat.
51543
- for (; i <= keysLast; i++) {
51544
  key = keys[i] === '' ? cur.length : keys[i];
51545
  cur[key] = i < keysLast
51546
  ? cur[key] || (keys[i + 1] && isNaN(keys[i + 1]) ? {} : [])
51547
  : val;
51548
  cur = cur[key];
51549
  }
 
 
 
 
 
 
 
51550
  } else {
51551
- // Simple key, even simpler rules, since only scalars and shallow
51552
- // arrays are allowed.
51553
-
51554
- if ($.isArray(obj[key])) {
51555
- // val is already an array, so push on the next value.
51556
- obj[key].push(val);
51557
- } else if (obj[key] !== undefined) {
51558
- // val isn't an array, but since a second value has been specified,
51559
- // convert val into an array.
51560
- obj[key] = [obj[key], val];
51561
- } else {
51562
- // val is a scalar.
51563
- obj[key] = val;
51564
- }
51565
  }
51566
  });
51567
 
@@ -51573,7 +51575,7 @@ webpackJsonp([3],[
51573
 
51574
 
51575
  /***/ },
51576
- /* 578 */
51577
  /***/ function(module, exports, __webpack_require__) {
51578
 
51579
  /* WEBPACK VAR INJECTION */(function(global) {/*!
@@ -54072,7 +54074,7 @@ webpackJsonp([3],[
54072
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
54073
 
54074
  /***/ },
54075
- /* 579 */
54076
  /***/ function(module, exports, __webpack_require__) {
54077
 
54078
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
@@ -54148,10 +54150,10 @@ webpackJsonp([3],[
54148
 
54149
 
54150
  /***/ },
54151
- /* 580 */
54152
  /***/ function(module, exports, __webpack_require__) {
54153
 
54154
- var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(276), __webpack_require__(2), __webpack_require__(34), __webpack_require__(438)], __WEBPACK_AMD_DEFINE_RESULT__ = function helpTooltip(mp, React, ReactDOM, TooltipComponent) {
54155
  'use strict';
54156
 
54157
  var MailPoet = mp;
3
  /***/ function(module, exports, __webpack_require__) {
4
 
5
  __webpack_require__(276);
 
 
 
 
6
  __webpack_require__(575);
7
  __webpack_require__(576);
8
  __webpack_require__(577);
9
  __webpack_require__(578);
10
  __webpack_require__(579);
11
+ __webpack_require__(580);
12
+ __webpack_require__(581);
13
+ __webpack_require__(582);
14
+ __webpack_require__(583);
15
+ __webpack_require__(442);
16
+ module.exports = __webpack_require__(584);
17
 
18
 
19
  /***/ },
40121
  /* 435 */,
40122
  /* 436 */,
40123
  /* 437 */,
40124
+ /* 438 */,
40125
+ /* 439 */,
40126
+ /* 440 */,
40127
+ /* 441 */,
40128
+ /* 442 */
40129
  /***/ function(module, exports, __webpack_require__) {
40130
 
40131
  'use strict';
40136
 
40137
  var _react2 = _interopRequireDefault(_react);
40138
 
40139
+ var _reactTooltip = __webpack_require__(443);
40140
 
40141
  var _reactTooltip2 = _interopRequireDefault(_reactTooltip);
40142
 
40143
+ var _reactHtmlParser = __webpack_require__(456);
40144
 
40145
  var _reactHtmlParser2 = _interopRequireDefault(_reactHtmlParser);
40146
 
40208
  module.exports = Tooltip;
40209
 
40210
  /***/ },
40211
+ /* 443 */
40212
  /***/ function(module, exports, __webpack_require__) {
40213
 
40214
  'use strict';
40244
 
40245
  var _classnames2 = _interopRequireDefault(_classnames);
40246
 
40247
+ var _staticMethods = __webpack_require__(444);
40248
 
40249
  var _staticMethods2 = _interopRequireDefault(_staticMethods);
40250
 
40251
+ var _windowListener = __webpack_require__(446);
40252
 
40253
  var _windowListener2 = _interopRequireDefault(_windowListener);
40254
 
40255
+ var _customEvent = __webpack_require__(447);
40256
 
40257
  var _customEvent2 = _interopRequireDefault(_customEvent);
40258
 
40259
+ var _isCapture = __webpack_require__(448);
40260
 
40261
  var _isCapture2 = _interopRequireDefault(_isCapture);
40262
 
40263
+ var _getEffect = __webpack_require__(449);
40264
 
40265
  var _getEffect2 = _interopRequireDefault(_getEffect);
40266
 
40267
+ var _trackRemoval = __webpack_require__(450);
40268
 
40269
  var _trackRemoval2 = _interopRequireDefault(_trackRemoval);
40270
 
40271
+ var _getPosition = __webpack_require__(451);
40272
 
40273
  var _getPosition2 = _interopRequireDefault(_getPosition);
40274
 
40275
+ var _getTipContent = __webpack_require__(452);
40276
 
40277
  var _getTipContent2 = _interopRequireDefault(_getTipContent);
40278
 
40279
+ var _aria = __webpack_require__(453);
40280
 
40281
+ var _nodeListToArray = __webpack_require__(454);
40282
 
40283
  var _nodeListToArray2 = _interopRequireDefault(_nodeListToArray);
40284
 
40285
+ var _style = __webpack_require__(455);
40286
 
40287
  var _style2 = _interopRequireDefault(_style);
40288
 
40807
  module.exports = ReactTooltip;
40808
 
40809
  /***/ },
40810
+ /* 444 */
40811
  /***/ function(module, exports, __webpack_require__) {
40812
 
40813
  'use strict';
40865
  };
40866
  };
40867
 
40868
+ var _constant = __webpack_require__(445);
40869
 
40870
  var _constant2 = _interopRequireDefault(_constant);
40871
 
40890
  */
40891
 
40892
  /***/ },
40893
+ /* 445 */
40894
  /***/ function(module, exports) {
40895
 
40896
  'use strict';
40908
  };
40909
 
40910
  /***/ },
40911
+ /* 446 */
40912
  /***/ function(module, exports, __webpack_require__) {
40913
 
40914
  'use strict';
40954
  };
40955
  };
40956
 
40957
+ var _constant = __webpack_require__(445);
40958
 
40959
  var _constant2 = _interopRequireDefault(_constant);
40960
 
40961
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
40962
 
40963
  /***/ },
40964
+ /* 447 */
40965
  /***/ function(module, exports) {
40966
 
40967
  'use strict';
41054
  var customListener = void 0;
41055
 
41056
  /***/ },
41057
+ /* 448 */
41058
  /***/ function(module, exports) {
41059
 
41060
  'use strict';
41071
  };
41072
 
41073
  /***/ },
41074
+ /* 449 */
41075
  /***/ function(module, exports) {
41076
 
41077
  'use strict';
41088
  };
41089
 
41090
  /***/ },
41091
+ /* 450 */
41092
  /***/ function(module, exports) {
41093
 
41094
  "use strict";
41184
  };
41185
 
41186
  /***/ },
41187
+ /* 451 */
41188
  /***/ function(module, exports) {
41189
 
41190
  'use strict';
41498
  };
41499
 
41500
  /***/ },
41501
+ /* 452 */
41502
  /***/ function(module, exports, __webpack_require__) {
41503
 
41504
  'use strict';
41535
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
41536
 
41537
  /***/ },
41538
+ /* 453 */
41539
  /***/ function(module, exports) {
41540
 
41541
  "use strict";
41564
  }
41565
 
41566
  /***/ },
41567
+ /* 454 */
41568
  /***/ function(module, exports) {
41569
 
41570
  "use strict";
41584
  };
41585
 
41586
  /***/ },
41587
+ /* 455 */
41588
  /***/ function(module, exports) {
41589
 
41590
  'use strict';
41595
  exports.default = '.__react_component_tooltip{border-radius:3px;display:inline-block;font-size:13px;left:-999em;opacity:0;padding:8px 21px;position:fixed;pointer-events:none;transition:opacity 0.3s ease-out;top:-999em;visibility:hidden;z-index:999}.__react_component_tooltip:before,.__react_component_tooltip:after{content:"";width:0;height:0;position:absolute}.__react_component_tooltip.show{opacity:0.9;margin-top:0px;margin-left:0px;visibility:visible}.__react_component_tooltip.type-dark{color:#fff;background-color:#222}.__react_component_tooltip.type-dark.place-top:after{border-top-color:#222;border-top-style:solid;border-top-width:6px}.__react_component_tooltip.type-dark.place-bottom:after{border-bottom-color:#222;border-bottom-style:solid;border-bottom-width:6px}.__react_component_tooltip.type-dark.place-left:after{border-left-color:#222;border-left-style:solid;border-left-width:6px}.__react_component_tooltip.type-dark.place-right:after{border-right-color:#222;border-right-style:solid;border-right-width:6px}.__react_component_tooltip.type-dark.border{border:1px solid #fff}.__react_component_tooltip.type-dark.border.place-top:before{border-top:8px solid #fff}.__react_component_tooltip.type-dark.border.place-bottom:before{border-bottom:8px solid #fff}.__react_component_tooltip.type-dark.border.place-left:before{border-left:8px solid #fff}.__react_component_tooltip.type-dark.border.place-right:before{border-right:8px solid #fff}.__react_component_tooltip.type-success{color:#fff;background-color:#8DC572}.__react_component_tooltip.type-success.place-top:after{border-top-color:#8DC572;border-top-style:solid;border-top-width:6px}.__react_component_tooltip.type-success.place-bottom:after{border-bottom-color:#8DC572;border-bottom-style:solid;border-bottom-width:6px}.__react_component_tooltip.type-success.place-left:after{border-left-color:#8DC572;border-left-style:solid;border-left-width:6px}.__react_component_tooltip.type-success.place-right:after{border-right-color:#8DC572;border-right-style:solid;border-right-width:6px}.__react_component_tooltip.type-success.border{border:1px solid #fff}.__react_component_tooltip.type-success.border.place-top:before{border-top:8px solid #fff}.__react_component_tooltip.type-success.border.place-bottom:before{border-bottom:8px solid #fff}.__react_component_tooltip.type-success.border.place-left:before{border-left:8px solid #fff}.__react_component_tooltip.type-success.border.place-right:before{border-right:8px solid #fff}.__react_component_tooltip.type-warning{color:#fff;background-color:#F0AD4E}.__react_component_tooltip.type-warning.place-top:after{border-top-color:#F0AD4E;border-top-style:solid;border-top-width:6px}.__react_component_tooltip.type-warning.place-bottom:after{border-bottom-color:#F0AD4E;border-bottom-style:solid;border-bottom-width:6px}.__react_component_tooltip.type-warning.place-left:after{border-left-color:#F0AD4E;border-left-style:solid;border-left-width:6px}.__react_component_tooltip.type-warning.place-right:after{border-right-color:#F0AD4E;border-right-style:solid;border-right-width:6px}.__react_component_tooltip.type-warning.border{border:1px solid #fff}.__react_component_tooltip.type-warning.border.place-top:before{border-top:8px solid #fff}.__react_component_tooltip.type-warning.border.place-bottom:before{border-bottom:8px solid #fff}.__react_component_tooltip.type-warning.border.place-left:before{border-left:8px solid #fff}.__react_component_tooltip.type-warning.border.place-right:before{border-right:8px solid #fff}.__react_component_tooltip.type-error{color:#fff;background-color:#BE6464}.__react_component_tooltip.type-error.place-top:after{border-top-color:#BE6464;border-top-style:solid;border-top-width:6px}.__react_component_tooltip.type-error.place-bottom:after{border-bottom-color:#BE6464;border-bottom-style:solid;border-bottom-width:6px}.__react_component_tooltip.type-error.place-left:after{border-left-color:#BE6464;border-left-style:solid;border-left-width:6px}.__react_component_tooltip.type-error.place-right:after{border-right-color:#BE6464;border-right-style:solid;border-right-width:6px}.__react_component_tooltip.type-error.border{border:1px solid #fff}.__react_component_tooltip.type-error.border.place-top:before{border-top:8px solid #fff}.__react_component_tooltip.type-error.border.place-bottom:before{border-bottom:8px solid #fff}.__react_component_tooltip.type-error.border.place-left:before{border-left:8px solid #fff}.__react_component_tooltip.type-error.border.place-right:before{border-right:8px solid #fff}.__react_component_tooltip.type-info{color:#fff;background-color:#337AB7}.__react_component_tooltip.type-info.place-top:after{border-top-color:#337AB7;border-top-style:solid;border-top-width:6px}.__react_component_tooltip.type-info.place-bottom:after{border-bottom-color:#337AB7;border-bottom-style:solid;border-bottom-width:6px}.__react_component_tooltip.type-info.place-left:after{border-left-color:#337AB7;border-left-style:solid;border-left-width:6px}.__react_component_tooltip.type-info.place-right:after{border-right-color:#337AB7;border-right-style:solid;border-right-width:6px}.__react_component_tooltip.type-info.border{border:1px solid #fff}.__react_component_tooltip.type-info.border.place-top:before{border-top:8px solid #fff}.__react_component_tooltip.type-info.border.place-bottom:before{border-bottom:8px solid #fff}.__react_component_tooltip.type-info.border.place-left:before{border-left:8px solid #fff}.__react_component_tooltip.type-info.border.place-right:before{border-right:8px solid #fff}.__react_component_tooltip.type-light{color:#222;background-color:#fff}.__react_component_tooltip.type-light.place-top:after{border-top-color:#fff;border-top-style:solid;border-top-width:6px}.__react_component_tooltip.type-light.place-bottom:after{border-bottom-color:#fff;border-bottom-style:solid;border-bottom-width:6px}.__react_component_tooltip.type-light.place-left:after{border-left-color:#fff;border-left-style:solid;border-left-width:6px}.__react_component_tooltip.type-light.place-right:after{border-right-color:#fff;border-right-style:solid;border-right-width:6px}.__react_component_tooltip.type-light.border{border:1px solid #222}.__react_component_tooltip.type-light.border.place-top:before{border-top:8px solid #222}.__react_component_tooltip.type-light.border.place-bottom:before{border-bottom:8px solid #222}.__react_component_tooltip.type-light.border.place-left:before{border-left:8px solid #222}.__react_component_tooltip.type-light.border.place-right:before{border-right:8px solid #222}.__react_component_tooltip.place-top{margin-top:-10px}.__react_component_tooltip.place-top:before{border-left:10px solid transparent;border-right:10px solid transparent;bottom:-8px;left:50%;margin-left:-10px}.__react_component_tooltip.place-top:after{border-left:8px solid transparent;border-right:8px solid transparent;bottom:-6px;left:50%;margin-left:-8px}.__react_component_tooltip.place-bottom{margin-top:10px}.__react_component_tooltip.place-bottom:before{border-left:10px solid transparent;border-right:10px solid transparent;top:-8px;left:50%;margin-left:-10px}.__react_component_tooltip.place-bottom:after{border-left:8px solid transparent;border-right:8px solid transparent;top:-6px;left:50%;margin-left:-8px}.__react_component_tooltip.place-left{margin-left:-10px}.__react_component_tooltip.place-left:before{border-top:6px solid transparent;border-bottom:6px solid transparent;right:-8px;top:50%;margin-top:-5px}.__react_component_tooltip.place-left:after{border-top:5px solid transparent;border-bottom:5px solid transparent;right:-6px;top:50%;margin-top:-4px}.__react_component_tooltip.place-right{margin-left:10px}.__react_component_tooltip.place-right:before{border-top:6px solid transparent;border-bottom:6px solid transparent;left:-8px;top:50%;margin-top:-5px}.__react_component_tooltip.place-right:after{border-top:5px solid transparent;border-bottom:5px solid transparent;left:-6px;top:50%;margin-top:-4px}.__react_component_tooltip .multi-line{display:block;padding:2px 0px;text-align:center}';
41596
 
41597
  /***/ },
41598
+ /* 456 */
41599
  /***/ function(module, exports, __webpack_require__) {
41600
 
41601
  'use strict';
41604
  value: true
41605
  });
41606
 
41607
+ var _HtmlParser = __webpack_require__(457);
41608
 
41609
  var _HtmlParser2 = _interopRequireDefault(_HtmlParser);
41610
 
41613
  exports.default = _HtmlParser2.default;
41614
 
41615
  /***/ },
41616
+ /* 457 */
41617
  /***/ function(module, exports, __webpack_require__) {
41618
 
41619
  'use strict';
41623
  });
41624
  exports.default = HtmlParser;
41625
 
41626
+ var _htmlparser = __webpack_require__(458);
41627
 
41628
  var _htmlparser2 = _interopRequireDefault(_htmlparser);
41629
 
41630
+ var _ProcessNodes = __webpack_require__(511);
41631
 
41632
  var _ProcessNodes2 = _interopRequireDefault(_ProcessNodes);
41633
 
41645
  }
41646
 
41647
  /***/ },
41648
+ /* 458 */
41649
  /***/ function(module, exports, __webpack_require__) {
41650
 
41651
+ var Parser = __webpack_require__(459),
41652
+ DomHandler = __webpack_require__(468);
41653
 
41654
  function defineProp(name, value){
41655
  delete module.exports[name];
41659
 
41660
  module.exports = {
41661
  Parser: Parser,
41662
+ Tokenizer: __webpack_require__(460),
41663
+ ElementType: __webpack_require__(469),
41664
  DomHandler: DomHandler,
41665
  get FeedHandler(){
41666
+ return defineProp("FeedHandler", __webpack_require__(472));
41667
  },
41668
  get Stream(){
41669
+ return defineProp("Stream", __webpack_require__(473));
41670
  },
41671
  get WritableStream(){
41672
+ return defineProp("WritableStream", __webpack_require__(474));
41673
  },
41674
  get ProxyHandler(){
41675
+ return defineProp("ProxyHandler", __webpack_require__(497));
41676
  },
41677
  get DomUtils(){
41678
+ return defineProp("DomUtils", __webpack_require__(498));
41679
  },
41680
  get CollectingHandler(){
41681
+ return defineProp("CollectingHandler", __webpack_require__(510));
41682
  },
41683
  // For legacy support
41684
  DefaultHandler: DomHandler,
41719
 
41720
 
41721
  /***/ },
41722
+ /* 459 */
41723
  /***/ function(module, exports, __webpack_require__) {
41724
 
41725
+ var Tokenizer = __webpack_require__(460);
41726
 
41727
  /*
41728
  Options:
41844
  if(this._cbs.onparserinit) this._cbs.onparserinit(this);
41845
  }
41846
 
41847
+ __webpack_require__(466)(Parser, __webpack_require__(467).EventEmitter);
41848
 
41849
  Parser.prototype._updatePosition = function(initialOffset){
41850
  if(this.endIndex === null){
42078
 
42079
 
42080
  /***/ },
42081
+ /* 460 */
42082
  /***/ function(module, exports, __webpack_require__) {
42083
 
42084
  module.exports = Tokenizer;
42085
 
42086
+ var decodeCodePoint = __webpack_require__(461),
42087
+ entityMap = __webpack_require__(463),
42088
+ legacyMap = __webpack_require__(464),
42089
+ xmlMap = __webpack_require__(465),
42090
 
42091
  i = 0,
42092
 
42990
 
42991
 
42992
  /***/ },
42993
+ /* 461 */
42994
  /***/ function(module, exports, __webpack_require__) {
42995
 
42996
+ var decodeMap = __webpack_require__(462);
42997
 
42998
  module.exports = decodeCodePoint;
42999
 
43022
 
43023
 
43024
  /***/ },
43025
+ /* 462 */
43026
  /***/ function(module, exports) {
43027
 
43028
  module.exports = {"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}
43029
 
43030
  /***/ },
43031
+ /* 463 */
43032
  /***/ function(module, exports) {
43033
 
43034
  module.exports = {"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\"","QUOT":"\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}
43035
 
43036
  /***/ },
43037
+ /* 464 */
43038
  /***/ function(module, exports) {
43039
 
43040
  module.exports = {"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\"","QUOT":"\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}
43041
 
43042
  /***/ },
43043
+ /* 465 */
43044
  /***/ function(module, exports) {
43045
 
43046
  module.exports = {"amp":"&","apos":"'","gt":">","lt":"<","quot":"\""}
43047
 
43048
  /***/ },
43049
+ /* 466 */
43050
  /***/ function(module, exports) {
43051
 
43052
  if (typeof Object.create === 'function') {
43075
 
43076
 
43077
  /***/ },
43078
+ /* 467 */
43079
  /***/ function(module, exports) {
43080
 
43081
  // Copyright Joyent, Inc. and other Node contributors.
43383
 
43384
 
43385
  /***/ },
43386
+ /* 468 */
43387
  /***/ function(module, exports, __webpack_require__) {
43388
 
43389
+ var ElementType = __webpack_require__(469);
43390
 
43391
  var re_whitespace = /\s+/g;
43392
+ var NodePrototype = __webpack_require__(470);
43393
+ var ElementPrototype = __webpack_require__(471);
43394
 
43395
  function DomHandler(callback, options, elementCB){
43396
  if(typeof callback === "object"){
43606
 
43607
 
43608
  /***/ },
43609
+ /* 469 */
43610
  /***/ function(module, exports) {
43611
 
43612
  //Types of elements found in the DOM
43627
 
43628
 
43629
  /***/ },
43630
+ /* 470 */
43631
  /***/ function(module, exports) {
43632
 
43633
  // This object will be used as the prototype for Nodes when creating a
43677
 
43678
 
43679
  /***/ },
43680
+ /* 471 */
43681
  /***/ function(module, exports, __webpack_require__) {
43682
 
43683
  // DOM-Level-1-compliant structure
43684
+ var NodePrototype = __webpack_require__(470);
43685
  var ElementPrototype = module.exports = Object.create(NodePrototype);
43686
 
43687
  var domLvl1 = {
43703
 
43704
 
43705
  /***/ },
43706
+ /* 472 */
43707
  /***/ function(module, exports, __webpack_require__) {
43708
 
43709
+ var index = __webpack_require__(458),
43710
  DomHandler = index.DomHandler,
43711
  DomUtils = index.DomUtils;
43712
 
43715
  this.init(callback, options);
43716
  }
43717
 
43718
+ __webpack_require__(466)(FeedHandler, DomHandler);
43719
 
43720
  FeedHandler.prototype.init = DomHandler;
43721
 
43804
 
43805
 
43806
  /***/ },
43807
+ /* 473 */
43808
  /***/ function(module, exports, __webpack_require__) {
43809
 
43810
  module.exports = Stream;
43811
 
43812
+ var Parser = __webpack_require__(474);
43813
 
43814
  function Stream(options){
43815
  Parser.call(this, new Cbs(this), options);
43816
  }
43817
 
43818
+ __webpack_require__(466)(Stream, Parser);
43819
 
43820
  Stream.prototype.readable = true;
43821
 
43823
  this.scope = scope;
43824
  }
43825
 
43826
+ var EVENTS = __webpack_require__(458).EVENTS;
43827
 
43828
  Object.keys(EVENTS).forEach(function(name){
43829
  if(EVENTS[name] === 0){
43844
  });
43845
 
43846
  /***/ },
43847
+ /* 474 */
43848
  /***/ function(module, exports, __webpack_require__) {
43849
 
43850
  module.exports = Stream;
43851
 
43852
+ var Parser = __webpack_require__(459),
43853
+ WritableStream = __webpack_require__(475).Writable || __webpack_require__(494).Writable,
43854
+ StringDecoder = __webpack_require__(495).StringDecoder,
43855
+ Buffer = __webpack_require__(479).Buffer;
43856
 
43857
  function Stream(cbs, options){
43858
  var parser = this._parser = new Parser(cbs, options);
43865
  });
43866
  }
43867
 
43868
+ __webpack_require__(466)(Stream, WritableStream);
43869
 
43870
  WritableStream.prototype._write = function(chunk, encoding, cb){
43871
  if(chunk instanceof Buffer) chunk = this._decoder.write(chunk);
43874
  };
43875
 
43876
  /***/ },
43877
+ /* 475 */
43878
  /***/ function(module, exports, __webpack_require__) {
43879
 
43880
  // Copyright Joyent, Inc. and other Node contributors.
43900
 
43901
  module.exports = Stream;
43902
 
43903
+ var EE = __webpack_require__(467).EventEmitter;
43904
+ var inherits = __webpack_require__(466);
43905
 
43906
  inherits(Stream, EE);
43907
+ Stream.Readable = __webpack_require__(476);
43908
+ Stream.Writable = __webpack_require__(490);
43909
+ Stream.Duplex = __webpack_require__(491);
43910
+ Stream.Transform = __webpack_require__(492);
43911
+ Stream.PassThrough = __webpack_require__(493);
43912
 
43913
  // Backwards-compat with node 0.4.x
43914
  Stream.Stream = Stream;
44007
 
44008
 
44009
  /***/ },
44010
+ /* 476 */
44011
  /***/ function(module, exports, __webpack_require__) {
44012
 
44013
+ /* WEBPACK VAR INJECTION */(function(process) {exports = module.exports = __webpack_require__(477);
44014
+ exports.Stream = __webpack_require__(475);
44015
  exports.Readable = exports;
44016
+ exports.Writable = __webpack_require__(486);
44017
+ exports.Duplex = __webpack_require__(485);
44018
+ exports.Transform = __webpack_require__(488);
44019
+ exports.PassThrough = __webpack_require__(489);
44020
  if (!process.browser && process.env.READABLE_STREAM === 'disable') {
44021
+ module.exports = __webpack_require__(475);
44022
  }
44023
 
44024
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
44025
 
44026
  /***/ },
44027
+ /* 477 */
44028
  /***/ function(module, exports, __webpack_require__) {
44029
 
44030
  /* WEBPACK VAR INJECTION */(function(process) {// Copyright Joyent, Inc. and other Node contributors.
44051
  module.exports = Readable;
44052
 
44053
  /*<replacement>*/
44054
+ var isArray = __webpack_require__(478);
44055
  /*</replacement>*/
44056
 
44057
 
44058
  /*<replacement>*/
44059
+ var Buffer = __webpack_require__(479).Buffer;
44060
  /*</replacement>*/
44061
 
44062
  Readable.ReadableState = ReadableState;
44063
 
44064
+ var EE = __webpack_require__(467).EventEmitter;
44065
 
44066
  /*<replacement>*/
44067
  if (!EE.listenerCount) EE.listenerCount = function(emitter, type) {
44069
  };
44070
  /*</replacement>*/
44071
 
44072
+ var Stream = __webpack_require__(475);
44073
 
44074
  /*<replacement>*/
44075
+ var util = __webpack_require__(483);
44076
+ util.inherits = __webpack_require__(466);
44077
  /*</replacement>*/
44078
 
44079
  var StringDecoder;
44080
 
44081
 
44082
  /*<replacement>*/
44083
+ var debug = __webpack_require__(484);
44084
  if (debug && debug.debuglog) {
44085
  debug = debug.debuglog('stream');
44086
  } else {
44092
  util.inherits(Readable, Stream);
44093
 
44094
  function ReadableState(options, stream) {
44095
+ var Duplex = __webpack_require__(485);
44096
 
44097
  options = options || {};
44098
 
44153
  this.encoding = null;
44154
  if (options.encoding) {
44155
  if (!StringDecoder)
44156
+ StringDecoder = __webpack_require__(487).StringDecoder;
44157
  this.decoder = new StringDecoder(options.encoding);
44158
  this.encoding = options.encoding;
44159
  }
44160
  }
44161
 
44162
  function Readable(options) {
44163
+ var Duplex = __webpack_require__(485);
44164
 
44165
  if (!(this instanceof Readable))
44166
  return new Readable(options);
44263
  // backwards compatibility.
44264
  Readable.prototype.setEncoding = function(enc) {
44265
  if (!StringDecoder)
44266
+ StringDecoder = __webpack_require__(487).StringDecoder;
44267
  this._readableState.decoder = new StringDecoder(enc);
44268
  this._readableState.encoding = enc;
44269
  return this;
44982
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
44983
 
44984
  /***/ },
44985
+ /* 478 */
44986
  /***/ function(module, exports) {
44987
 
44988
  module.exports = Array.isArray || function (arr) {
44991
 
44992
 
44993
  /***/ },
44994
+ /* 479 */
44995
  /***/ function(module, exports, __webpack_require__) {
44996
 
44997
  /* WEBPACK VAR INJECTION */(function(Buffer, global) {/*!
45004
 
45005
  'use strict'
45006
 
45007
+ var base64 = __webpack_require__(480)
45008
+ var ieee754 = __webpack_require__(481)
45009
+ var isArray = __webpack_require__(482)
45010
 
45011
  exports.Buffer = Buffer
45012
  exports.SlowBuffer = SlowBuffer
46784
  return val !== val // eslint-disable-line no-self-compare
46785
  }
46786
 
46787
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(479).Buffer, (function() { return this; }())))
46788
 
46789
  /***/ },
46790
+ /* 480 */
46791
  /***/ function(module, exports) {
46792
 
46793
  'use strict'
46907
 
46908
 
46909
  /***/ },
46910
+ /* 481 */
46911
  /***/ function(module, exports) {
46912
 
46913
  exports.read = function (buffer, offset, isLE, mLen, nBytes) {
46997
 
46998
 
46999
  /***/ },
47000
+ /* 482 */
47001
  /***/ function(module, exports) {
47002
 
47003
  var toString = {}.toString;
47008
 
47009
 
47010
  /***/ },
47011
+ /* 483 */
47012
  /***/ function(module, exports, __webpack_require__) {
47013
 
47014
  /* WEBPACK VAR INJECTION */(function(Buffer) {// Copyright Joyent, Inc. and other Node contributors.
47119
  return Object.prototype.toString.call(o);
47120
  }
47121
 
47122
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(479).Buffer))
47123
 
47124
  /***/ },
47125
+ /* 484 */
47126
  /***/ function(module, exports) {
47127
 
47128
  /* (ignored) */
47129
 
47130
  /***/ },
47131
+ /* 485 */
47132
  /***/ function(module, exports, __webpack_require__) {
47133
 
47134
  /* WEBPACK VAR INJECTION */(function(process) {// Copyright Joyent, Inc. and other Node contributors.
47169
 
47170
 
47171
  /*<replacement>*/
47172
+ var util = __webpack_require__(483);
47173
+ util.inherits = __webpack_require__(466);
47174
  /*</replacement>*/
47175
 
47176
+ var Readable = __webpack_require__(477);
47177
+ var Writable = __webpack_require__(486);
47178
 
47179
  util.inherits(Duplex, Readable);
47180
 
47224
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
47225
 
47226
  /***/ },
47227
+ /* 486 */
47228
  /***/ function(module, exports, __webpack_require__) {
47229
 
47230
  /* WEBPACK VAR INJECTION */(function(process) {// Copyright Joyent, Inc. and other Node contributors.
47255
  module.exports = Writable;
47256
 
47257
  /*<replacement>*/
47258
+ var Buffer = __webpack_require__(479).Buffer;
47259
  /*</replacement>*/
47260
 
47261
  Writable.WritableState = WritableState;
47262
 
47263
 
47264
  /*<replacement>*/
47265
+ var util = __webpack_require__(483);
47266
+ util.inherits = __webpack_require__(466);
47267
  /*</replacement>*/
47268
 
47269
+ var Stream = __webpack_require__(475);
47270
 
47271
  util.inherits(Writable, Stream);
47272
 
47277
  }
47278
 
47279
  function WritableState(options, stream) {
47280
+ var Duplex = __webpack_require__(485);
47281
 
47282
  options = options || {};
47283
 
47365
  }
47366
 
47367
  function Writable(options) {
47368
+ var Duplex = __webpack_require__(485);
47369
 
47370
  // Writable ctor is applied to Duplexes, though they're not
47371
  // instanceof Writable, they're instanceof Readable.
47708
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
47709
 
47710
  /***/ },
47711
+ /* 487 */
47712
  /***/ function(module, exports, __webpack_require__) {
47713
 
47714
  // Copyright Joyent, Inc. and other Node contributors.
47732
  // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
47733
  // USE OR OTHER DEALINGS IN THE SOFTWARE.
47734
 
47735
+ var Buffer = __webpack_require__(479).Buffer;
47736
 
47737
  var isBufferEncoding = Buffer.isEncoding
47738
  || function(encoding) {
47935
 
47936
 
47937
  /***/ },
47938
+ /* 488 */
47939
  /***/ function(module, exports, __webpack_require__) {
47940
 
47941
  // Copyright Joyent, Inc. and other Node contributors.
48004
 
48005
  module.exports = Transform;
48006
 
48007
+ var Duplex = __webpack_require__(485);
48008
 
48009
  /*<replacement>*/
48010
+ var util = __webpack_require__(483);
48011
+ util.inherits = __webpack_require__(466);
48012
  /*</replacement>*/
48013
 
48014
  util.inherits(Transform, Duplex);
48150
 
48151
 
48152
  /***/ },
48153
+ /* 489 */
48154
  /***/ function(module, exports, __webpack_require__) {
48155
 
48156
  // Copyright Joyent, Inc. and other Node contributors.
48180
 
48181
  module.exports = PassThrough;
48182
 
48183
+ var Transform = __webpack_require__(488);
48184
 
48185
  /*<replacement>*/
48186
+ var util = __webpack_require__(483);
48187
+ util.inherits = __webpack_require__(466);
48188
  /*</replacement>*/
48189
 
48190
  util.inherits(PassThrough, Transform);
48202
 
48203
 
48204
  /***/ },
48205
+ /* 490 */
48206
  /***/ function(module, exports, __webpack_require__) {
48207
 
48208
+ module.exports = __webpack_require__(486)
48209
 
48210
 
48211
  /***/ },
48212
+ /* 491 */
48213
  /***/ function(module, exports, __webpack_require__) {
48214
 
48215
+ module.exports = __webpack_require__(485)
48216
 
48217
 
48218
  /***/ },
48219
+ /* 492 */
48220
  /***/ function(module, exports, __webpack_require__) {
48221
 
48222
+ module.exports = __webpack_require__(488)
48223
 
48224
 
48225
  /***/ },
48226
+ /* 493 */
48227
  /***/ function(module, exports, __webpack_require__) {
48228
 
48229
+ module.exports = __webpack_require__(489)
48230
 
48231
 
48232
  /***/ },
48233
+ /* 494 */
48234
  /***/ function(module, exports) {
48235
 
48236
  /* (ignored) */
48237
 
48238
  /***/ },
48239
+ /* 495 */
48240
  /***/ function(module, exports, __webpack_require__) {
48241
 
48242
  'use strict';
48243
 
48244
+ var Buffer = __webpack_require__(496).Buffer;
48245
 
48246
  var isEncoding = Buffer.isEncoding || function (encoding) {
48247
  encoding = '' + encoding;
48513
  }
48514
 
48515
  /***/ },
48516
+ /* 496 */
48517
  /***/ function(module, exports, __webpack_require__) {
48518
 
48519
  /* eslint-disable node/no-deprecated-api */
48520
+ var buffer = __webpack_require__(479)
48521
  var Buffer = buffer.Buffer
48522
 
48523
  // alternative to using Object.keys for old browsers
48581
 
48582
 
48583
  /***/ },
48584
+ /* 497 */
48585
  /***/ function(module, exports, __webpack_require__) {
48586
 
48587
  module.exports = ProxyHandler;
48590
  this._cbs = cbs || {};
48591
  }
48592
 
48593
+ var EVENTS = __webpack_require__(458).EVENTS;
48594
  Object.keys(EVENTS).forEach(function(name){
48595
  if(EVENTS[name] === 0){
48596
  name = "on" + name;
48613
  });
48614
 
48615
  /***/ },
48616
+ /* 498 */
48617
  /***/ function(module, exports, __webpack_require__) {
48618
 
48619
  var DomUtils = module.exports;
48620
 
48621
  [
48622
+ __webpack_require__(499),
48623
+ __webpack_require__(505),
48624
+ __webpack_require__(506),
48625
+ __webpack_require__(507),
48626
+ __webpack_require__(508),
48627
+ __webpack_require__(509)
48628
  ].forEach(function(ext){
48629
  Object.keys(ext).forEach(function(key){
48630
  DomUtils[key] = ext[key].bind(DomUtils);
48633
 
48634
 
48635
  /***/ },
48636
+ /* 499 */
48637
  /***/ function(module, exports, __webpack_require__) {
48638
 
48639
+ var ElementType = __webpack_require__(469),
48640
+ getOuterHTML = __webpack_require__(500),
48641
  isTag = ElementType.isTag;
48642
 
48643
  module.exports = {
48662
 
48663
 
48664
  /***/ },
48665
+ /* 500 */
48666
  /***/ function(module, exports, __webpack_require__) {
48667
 
48668
  /*
48669
  Module dependencies
48670
  */
48671
+ var ElementType = __webpack_require__(501);
48672
+ var entities = __webpack_require__(502);
48673
 
48674
  /*
48675
  Boolean Attributes
48846
 
48847
 
48848
  /***/ },
48849
+ /* 501 */
48850
  /***/ function(module, exports) {
48851
 
48852
  //Types of elements found in the DOM
48865
  };
48866
 
48867
  /***/ },
48868
+ /* 502 */
48869
  /***/ function(module, exports, __webpack_require__) {
48870
 
48871
+ var encode = __webpack_require__(503),
48872
+ decode = __webpack_require__(504);
48873
 
48874
  exports.decode = function(data, level){
48875
  return (!level || level <= 0 ? decode.XML : decode.HTML)(data);
48904
 
48905
 
48906
  /***/ },
48907
+ /* 503 */
48908
  /***/ function(module, exports, __webpack_require__) {
48909
 
48910
+ var inverseXML = getInverseObj(__webpack_require__(465)),
48911
  xmlReplacer = getInverseReplacer(inverseXML);
48912
 
48913
  exports.XML = getInverse(inverseXML, xmlReplacer);
48914
 
48915
+ var inverseHTML = getInverseObj(__webpack_require__(463)),
48916
  htmlReplacer = getInverseReplacer(inverseHTML);
48917
 
48918
  exports.HTML = getInverse(inverseHTML, htmlReplacer);
48983
 
48984
 
48985
  /***/ },
48986
+ /* 504 */
48987
  /***/ function(module, exports, __webpack_require__) {
48988
 
48989
+ var entityMap = __webpack_require__(463),
48990
+ legacyMap = __webpack_require__(464),
48991
+ xmlMap = __webpack_require__(465),
48992
+ decodeCodePoint = __webpack_require__(461);
48993
 
48994
  var decodeXMLStrict = getStrictDecoder(xmlMap),
48995
  decodeHTMLStrict = getStrictDecoder(entityMap);
49060
  };
49061
 
49062
  /***/ },
49063
+ /* 505 */
49064
  /***/ function(module, exports) {
49065
 
49066
  var getChildren = exports.getChildren = function(elem){
49090
 
49091
 
49092
  /***/ },
49093
+ /* 506 */
49094
  /***/ function(module, exports) {
49095
 
49096
  exports.removeElement = function(elem){
49173
 
49174
 
49175
  /***/ },
49176
+ /* 507 */
49177
  /***/ function(module, exports, __webpack_require__) {
49178
 
49179
+ var isTag = __webpack_require__(469).isTag;
49180
 
49181
  module.exports = {
49182
  filter: filter,
49278
 
49279
 
49280
  /***/ },
49281
+ /* 508 */
49282
  /***/ function(module, exports, __webpack_require__) {
49283
 
49284
+ var ElementType = __webpack_require__(469);
49285
  var isTag = exports.isTag = ElementType.isTag;
49286
 
49287
  exports.testElement = function(options, element){
49371
 
49372
 
49373
  /***/ },
49374
+ /* 509 */
49375
  /***/ function(module, exports) {
49376
 
49377
  // removeSubsets
49518
 
49519
 
49520
  /***/ },
49521
+ /* 510 */
49522
  /***/ function(module, exports, __webpack_require__) {
49523
 
49524
  module.exports = CollectingHandler;
49528
  this.events = [];
49529
  }
49530
 
49531
+ var EVENTS = __webpack_require__(458).EVENTS;
49532
  Object.keys(EVENTS).forEach(function(name){
49533
  if(EVENTS[name] === 0){
49534
  name = "on" + name;
49579
 
49580
 
49581
  /***/ },
49582
+ /* 511 */
49583
  /***/ function(module, exports, __webpack_require__) {
49584
 
49585
  'use strict';
49589
  });
49590
  exports.default = ProcessNodes;
49591
 
49592
+ var _elementTypes = __webpack_require__(512);
49593
 
49594
  var _elementTypes2 = _interopRequireDefault(_elementTypes);
49595
 
49632
  }
49633
 
49634
  /***/ },
49635
+ /* 512 */
49636
  /***/ function(module, exports, __webpack_require__) {
49637
 
49638
  'use strict';
49643
 
49644
  var _ElementType$Text$Ele;
49645
 
49646
+ var _htmlparser = __webpack_require__(458);
49647
 
49648
+ var _TextElementType = __webpack_require__(513);
49649
 
49650
  var _TextElementType2 = _interopRequireDefault(_TextElementType);
49651
 
49652
+ var _TagElementType = __webpack_require__(514);
49653
 
49654
  var _TagElementType2 = _interopRequireDefault(_TagElementType);
49655
 
49656
+ var _StyleElementType = __webpack_require__(522);
49657
 
49658
  var _StyleElementType2 = _interopRequireDefault(_StyleElementType);
49659
 
49660
+ var _UnsupportedElementType = __webpack_require__(523);
49661
 
49662
  var _UnsupportedElementType2 = _interopRequireDefault(_UnsupportedElementType);
49663
 
49672
  exports.default = (_ElementType$Text$Ele = {}, _defineProperty(_ElementType$Text$Ele, _htmlparser.ElementType.Text, _TextElementType2.default), _defineProperty(_ElementType$Text$Ele, _htmlparser.ElementType.Tag, _TagElementType2.default), _defineProperty(_ElementType$Text$Ele, _htmlparser.ElementType.Style, _StyleElementType2.default), _defineProperty(_ElementType$Text$Ele, _htmlparser.ElementType.Directive, _UnsupportedElementType2.default), _defineProperty(_ElementType$Text$Ele, _htmlparser.ElementType.Comment, _UnsupportedElementType2.default), _defineProperty(_ElementType$Text$Ele, _htmlparser.ElementType.Script, _UnsupportedElementType2.default), _defineProperty(_ElementType$Text$Ele, _htmlparser.ElementType.CDATA, _UnsupportedElementType2.default), _defineProperty(_ElementType$Text$Ele, _htmlparser.ElementType.Doctype, _UnsupportedElementType2.default), _ElementType$Text$Ele);
49673
 
49674
  /***/ },
49675
+ /* 513 */
49676
  /***/ function(module, exports) {
49677
 
49678
  "use strict";
49694
  }
49695
 
49696
  /***/ },
49697
+ /* 514 */
49698
  /***/ function(module, exports, __webpack_require__) {
49699
 
49700
  'use strict';
49708
 
49709
  var _react2 = _interopRequireDefault(_react);
49710
 
49711
+ var _ProcessNodes = __webpack_require__(511);
49712
 
49713
  var _ProcessNodes2 = _interopRequireDefault(_ProcessNodes);
49714
 
49715
+ var _GeneratePropsFromAttributes = __webpack_require__(515);
49716
 
49717
  var _GeneratePropsFromAttributes2 = _interopRequireDefault(_GeneratePropsFromAttributes);
49718
 
49719
+ var _TransformTagName = __webpack_require__(520);
49720
 
49721
  var _TransformTagName2 = _interopRequireDefault(_TransformTagName);
49722
 
49723
+ var _VoidElements = __webpack_require__(521);
49724
 
49725
  var _VoidElements2 = _interopRequireDefault(_VoidElements);
49726
 
49752
  }
49753
 
49754
  /***/ },
49755
+ /* 515 */
49756
  /***/ function(module, exports, __webpack_require__) {
49757
 
49758
  'use strict';
49765
 
49766
  exports.default = GeneratePropsFromAttributes;
49767
 
49768
+ var _HtmlAttributesToReact = __webpack_require__(516);
49769
 
49770
  var _HtmlAttributesToReact2 = _interopRequireDefault(_HtmlAttributesToReact);
49771
 
49772
+ var _InlineStyleToObject = __webpack_require__(519);
49773
 
49774
  var _InlineStyleToObject2 = _interopRequireDefault(_InlineStyleToObject);
49775
 
49795
  }
49796
 
49797
  /***/ },
49798
+ /* 516 */
49799
  /***/ function(module, exports, __webpack_require__) {
49800
 
49801
  'use strict';
49805
  });
49806
  exports.default = HtmlAttributesToReact;
49807
 
49808
+ var _BooleanAttributes = __webpack_require__(517);
49809
 
49810
  var _BooleanAttributes2 = _interopRequireDefault(_BooleanAttributes);
49811
 
49812
+ var _ReactAttributes = __webpack_require__(518);
49813
 
49814
  var _ReactAttributes2 = _interopRequireDefault(_ReactAttributes);
49815
 
49861
  }
49862
 
49863
  /***/ },
49864
+ /* 517 */
49865
  /***/ function(module, exports) {
49866
 
49867
  'use strict';
49880
  exports.default = ['allowfullScreen', 'async', 'autoplay', 'capture', 'checked', 'controls', 'default', 'defer', 'disabled', 'formnovalidate', 'hidden', 'loop', 'multiple', 'muted', 'novalidate', 'open', 'readonly', 'required', 'reversed', 'scoped', 'seamless', 'selected', 'itemscope'];
49881
 
49882
  /***/ },
49883
+ /* 518 */
49884
  /***/ function(module, exports) {
49885
 
49886
  'use strict';
50048
  };
50049
 
50050
  /***/ },
50051
+ /* 519 */
50052
  /***/ function(module, exports) {
50053
 
50054
  'use strict';
50111
  }
50112
 
50113
  /***/ },
50114
+ /* 520 */
50115
  /***/ function(module, exports) {
50116
 
50117
  'use strict';
50141
  }
50142
 
50143
  /***/ },
50144
+ /* 521 */
50145
  /***/ function(module, exports) {
50146
 
50147
  'use strict';
50157
  exports.default = ['area', 'base', 'br', 'col', 'command', 'embed', 'hr', 'img', 'input', 'keygen', 'link', 'meta', 'param', 'source', 'track', 'wbr'];
50158
 
50159
  /***/ },
50160
+ /* 522 */
50161
  /***/ function(module, exports, __webpack_require__) {
50162
 
50163
  'use strict';
50171
 
50172
  var _react2 = _interopRequireDefault(_react);
50173
 
50174
+ var _GeneratePropsFromAttributes = __webpack_require__(515);
50175
 
50176
  var _GeneratePropsFromAttributes2 = _interopRequireDefault(_GeneratePropsFromAttributes);
50177
 
50201
  }
50202
 
50203
  /***/ },
50204
+ /* 523 */
50205
  /***/ function(module, exports) {
50206
 
50207
  "use strict";
50222
  }
50223
 
50224
  /***/ },
 
 
 
 
50225
  /* 524 */,
50226
  /* 525 */,
50227
  /* 526 */,
50269
  /* 568 */,
50270
  /* 569 */,
50271
  /* 570 */,
50272
+ /* 571 */,
50273
+ /* 572 */,
50274
+ /* 573 */,
50275
+ /* 574 */,
50276
+ /* 575 */
50277
  /***/ function(module, exports, __webpack_require__) {
50278
 
50279
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;function requestFailed(errorMessage, xhr) {
50366
 
50367
 
50368
  /***/ },
50369
+ /* 576 */
50370
  /***/ function(module, exports, __webpack_require__) {
50371
 
50372
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
50525
  if (escapeToken === true) {
50526
  convertedFormat.push('[' + token + ']');
50527
  escapeToken = false;
50528
+ } else if (token === '\\') {
 
50529
  // Slash escapes the next symbol to be treated as literal
50530
+ escapeToken = true;
50531
+ continue;
50532
+ } else if (replacements[token] !== undefined) {
50533
+ convertedFormat.push(replacements[token]);
50534
+ } else {
50535
+ convertedFormat.push('[' + token + ']');
 
50536
  }
50537
  }
50538
 
50543
 
50544
 
50545
  /***/ },
50546
+ /* 577 */
50547
  /***/ function(module, exports, __webpack_require__) {
50548
 
50549
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
50572
 
50573
 
50574
  /***/ },
50575
+ /* 578 */
50576
  /***/ function(module, exports, __webpack_require__) {
50577
 
50578
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disable func-names */
50916
  }
50917
  jQuery('#mailpoet_panel').css({ minHeight: 'auto' });
50918
  break;
50919
+ default: throw new Error('Incorrect type');
50920
  }
50921
 
50922
  return this;
50953
  }
50954
  }.bind(this), 0);
50955
  break;
50956
+ default: throw new Error('Incorrect type');
50957
  }
50958
 
50959
  return this;
50996
  return this;
50997
  },
50998
  focus: function () {
50999
+ if (this.options.type === 'popup') {
51000
  jQuery('#mailpoet_' + this.options.type).focus();
51001
  } else {
51002
  // panel and subpanel
51133
  success: function () {
51134
  if (this.subpanels.length > 0) {
51135
  if (this.subpanels[(this.subpanels.length - 1)].onSuccess !== undefined) {
51136
+ this
51137
+ .subpanels[(this.subpanels.length - 1)]
51138
+ .onSuccess(this.subpanels[(this.subpanels.length - 1)].data);
 
 
51139
  }
51140
+ } else if (this.options.onSuccess !== null) {
51141
+ this.options.onSuccess(this.options.data);
51142
  }
51143
  this.close();
51144
 
51147
  cancel: function () {
51148
  if (this.subpanels.length > 0) {
51149
  if (this.subpanels[(this.subpanels.length - 1)].onCancel !== undefined) {
51150
+ this
51151
+ .subpanels[(this.subpanels.length - 1)]
51152
+ .onCancel(this.subpanels[(this.subpanels.length - 1)].data);
 
 
51153
  }
51154
+ } else if (this.options.onCancel !== null) {
51155
+ this.options.onCancel(this.options.data);
51156
  }
51157
  this.close();
51158
 
51219
 
51220
 
51221
  /***/ },
51222
+ /* 579 */
51223
  /***/ function(module, exports, __webpack_require__) {
51224
 
51225
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
51226
 
51227
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(276), __webpack_require__(275)], __WEBPACK_AMD_DEFINE_RESULT__ = function (mp, jQuery) { // eslint-disable-line func-names
51228
+ /*= ==========================================================================================
51229
 
51230
  MailPoet Notice:
51231
 
51246
  // system message (static: true)
51247
  MailPoet.Notice.system('You need to updated ASAP!');
51248
 
51249
+ =========================================================================================== */
51250
  var MailPoet = mp;
51251
  MailPoet.Notice = {
51252
  version: 1.0,
51318
  // listen to message event
51319
  jQuery(this.element).on('setMessage', function (e, message) { // eslint-disable-line func-names
51320
  MailPoet.Notice.setMessage(message);
51321
+ });
51322
 
51323
  return this;
51324
  },
51375
  case 'error':
51376
  this.element.addClass('notice notice-error');
51377
  break;
51378
+ default:
51379
+ this.element.addClass('notice');
51380
+ break;
51381
  }
51382
 
51383
  // make the notice appear
51445
 
51446
 
51447
  /***/ },
51448
+ /* 580 */
51449
  /***/ function(module, exports, __webpack_require__) {
51450
 
51451
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
51471
 
51472
 
51473
  /***/ },
51474
+ /* 581 */
51475
  /***/ function(module, exports, __webpack_require__) {
51476
 
51477
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
51547
  // object or array based on the type of the next keys part.
51548
  // * Move the 'cur' pointer to the next level.
51549
  // * Rinse & repeat.
51550
+ for (; i <= keysLast; i += 1) {
51551
  key = keys[i] === '' ? cur.length : keys[i];
51552
  cur[key] = i < keysLast
51553
  ? cur[key] || (keys[i + 1] && isNaN(keys[i + 1]) ? {} : [])
51554
  : val;
51555
  cur = cur[key];
51556
  }
51557
+ } else if ($.isArray(obj[key])) {
51558
+ // val is already an array, so push on the next value.
51559
+ obj[key].push(val);
51560
+ } else if (obj[key] !== undefined) {
51561
+ // val isn't an array, but since a second value has been specified,
51562
+ // convert val into an array.
51563
+ obj[key] = [obj[key], val];
51564
  } else {
51565
+ // val is a scalar.
51566
+ obj[key] = val;
 
 
 
 
 
 
 
 
 
 
 
 
51567
  }
51568
  });
51569
 
51575
 
51576
 
51577
  /***/ },
51578
+ /* 582 */
51579
  /***/ function(module, exports, __webpack_require__) {
51580
 
51581
  /* WEBPACK VAR INJECTION */(function(global) {/*!
54074
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
54075
 
54076
  /***/ },
54077
+ /* 583 */
54078
  /***/ function(module, exports, __webpack_require__) {
54079
 
54080
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
54150
 
54151
 
54152
  /***/ },
54153
+ /* 584 */
54154
  /***/ function(module, exports, __webpack_require__) {
54155
 
54156
+ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(276), __webpack_require__(2), __webpack_require__(34), __webpack_require__(442)], __WEBPACK_AMD_DEFINE_RESULT__ = function helpTooltip(mp, React, ReactDOM, TooltipComponent) {
54157
  'use strict';
54158
 
54159
  var MailPoet = mp;
assets/js/manifest.json CHANGED
@@ -1,10 +1,10 @@
1
  {
2
- "mp2migrator.js": "mp2migrator.dc0d6e2b.js",
3
- "public.js": "public.ea9ffa3f.js",
4
- "admin.js": "admin.58bfd752.js",
5
- "admin_vendor.js": "admin_vendor.88895510.js",
6
- "form_editor.js": "form_editor.13982476.js",
7
- "mailpoet.js": "mailpoet.a55b11ee.js",
8
- "newsletter_editor.js": "newsletter_editor.d69f628b.js",
9
- "vendor.js": "vendor.ae69bbf6.js"
10
  }
1
  {
2
+ "mp2migrator.js": "mp2migrator.d90426c2.js",
3
+ "public.js": "public.ec1bce32.js",
4
+ "admin.js": "admin.8b417da7.js",
5
+ "admin_vendor.js": "admin_vendor.34b14aa4.js",
6
+ "form_editor.js": "form_editor.ac341877.js",
7
+ "mailpoet.js": "mailpoet.3a0d1a00.js",
8
+ "newsletter_editor.js": "newsletter_editor.fd18ee48.js",
9
+ "vendor.js": "vendor.279e244a.js"
10
  }
assets/js/{mp2migrator.dc0d6e2b.js → mp2migrator.d90426c2.js} RENAMED
@@ -99,7 +99,10 @@
99
  jQuery('#logger').append('<span class="error_msg">' + MailPoet.MP2Migrator.fatal_error + '</span>' + '<br />\n');
100
  }).always(function () {
101
  if (MailPoet.MP2Migrator.is_logging) {
102
- MailPoet.MP2Migrator.displayLogs_timeout = setTimeout(MailPoet.MP2Migrator.displayLogs, 1000);
 
 
 
103
  }
104
  });
105
  },
@@ -113,7 +116,7 @@
113
  // Move the progress bar
114
  var progress = 0;
115
  if ((result.total !== undefined) && (Number(result.total) !== 0)) {
116
- progress = Math.round(Number(result.current) / Number(result.total) * 100);
117
  }
118
  jQuery('#progressbar').progressbar('option', 'value', progress);
119
  jQuery('#progresslabel').html(progress + '%');
@@ -123,7 +126,10 @@
123
  jQuery('#logger-container').show();
124
  }
125
  if (MailPoet.MP2Migrator.is_logging) {
126
- MailPoet.MP2Migrator.updateProgressbar_timeout = setTimeout(MailPoet.MP2Migrator.updateProgressbar, 1000);
 
 
 
127
  }
128
  });
129
  },
@@ -150,7 +156,8 @@
150
  }
151
  }).always(function () {
152
  MailPoet.MP2Migrator.stopLogger();
153
- MailPoet.MP2Migrator.updateDisplay(); // Get the latest information after the import was stopped
 
154
  MailPoet.MP2Migrator.reactivateImportButton();
155
  }).done(function (response) {
156
  if (response) {
@@ -186,7 +193,8 @@
186
  }).always(function () {
187
  jQuery('#stop-import').removeAttr('disabled'); // Enable the button
188
  MailPoet.MP2Migrator.reactivateImportButton();
189
- MailPoet.MP2Migrator.updateDisplay(); // Get the latest information after the import was stopped
 
190
  }).fail(function (response) {
191
  if (response.errors.length > 0) {
192
  MailPoet.Notice.error(
99
  jQuery('#logger').append('<span class="error_msg">' + MailPoet.MP2Migrator.fatal_error + '</span>' + '<br />\n');
100
  }).always(function () {
101
  if (MailPoet.MP2Migrator.is_logging) {
102
+ MailPoet.MP2Migrator.displayLogs_timeout = setTimeout(
103
+ MailPoet.MP2Migrator.displayLogs,
104
+ 1000
105
+ );
106
  }
107
  });
108
  },
116
  // Move the progress bar
117
  var progress = 0;
118
  if ((result.total !== undefined) && (Number(result.total) !== 0)) {
119
+ progress = Math.round((Number(result.current) / Number(result.total)) * 100);
120
  }
121
  jQuery('#progressbar').progressbar('option', 'value', progress);
122
  jQuery('#progresslabel').html(progress + '%');
126
  jQuery('#logger-container').show();
127
  }
128
  if (MailPoet.MP2Migrator.is_logging) {
129
+ MailPoet.MP2Migrator.updateProgressbar_timeout = setTimeout(
130
+ MailPoet.MP2Migrator.updateProgressbar,
131
+ 1000
132
+ );
133
  }
134
  });
135
  },
156
  }
157
  }).always(function () {
158
  MailPoet.MP2Migrator.stopLogger();
159
+ // Get the latest information after the import was stopped
160
+ MailPoet.MP2Migrator.updateDisplay();
161
  MailPoet.MP2Migrator.reactivateImportButton();
162
  }).done(function (response) {
163
  if (response) {
193
  }).always(function () {
194
  jQuery('#stop-import').removeAttr('disabled'); // Enable the button
195
  MailPoet.MP2Migrator.reactivateImportButton();
196
+ // Get the latest information after the import was stopped
197
+ MailPoet.MP2Migrator.updateDisplay();
198
  }).fail(function (response) {
199
  if (response.errors.length > 0) {
200
  MailPoet.Notice.error(
assets/js/{newsletter_editor.d69f628b.js → newsletter_editor.fd18ee48.js} RENAMED
@@ -1,15 +1,15 @@
1
  webpackJsonp([4],{
2
 
3
- /***/ 595:
4
  /***/ function(module, exports, __webpack_require__) {
5
 
6
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;
7
  'use strict';
8
 
9
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
10
- __webpack_require__(593),
11
- __webpack_require__(581),
12
- __webpack_require__(583),
13
  __webpack_require__(280)
14
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (App, Marionette, SuperModel, _) { // eslint-disable-line func-names
15
  var Module = {};
@@ -103,30 +103,26 @@ webpackJsonp([4],{
103
  /***/ function(module, exports, __webpack_require__) {
104
 
105
  __webpack_require__(280);
106
- __webpack_require__(553);
107
- __webpack_require__(581);
108
- __webpack_require__(583);
109
- __webpack_require__(584);
110
- __webpack_require__(582);
111
- __webpack_require__(290);
112
  __webpack_require__(585);
113
- __webpack_require__(586);
114
  __webpack_require__(587);
115
  __webpack_require__(588);
 
 
 
 
116
  __webpack_require__(591);
117
  __webpack_require__(592);
118
- __webpack_require__(593);
119
- __webpack_require__(594);
120
  __webpack_require__(595);
121
  __webpack_require__(596);
 
122
  __webpack_require__(598);
123
  __webpack_require__(599);
124
  __webpack_require__(600);
125
- __webpack_require__(597);
126
- __webpack_require__(601);
127
  __webpack_require__(602);
128
  __webpack_require__(603);
129
  __webpack_require__(604);
 
130
  __webpack_require__(605);
131
  __webpack_require__(606);
132
  __webpack_require__(607);
@@ -144,7 +140,11 @@ webpackJsonp([4],{
144
  __webpack_require__(619);
145
  __webpack_require__(620);
146
  __webpack_require__(621);
147
- module.exports = __webpack_require__(622);
 
 
 
 
148
 
149
 
150
  /***/ },
@@ -7481,15 +7481,15 @@ webpackJsonp([4],{
7481
 
7482
  /***/ },
7483
 
7484
- /***/ 529:
7485
  /***/ function(module, exports, __webpack_require__) {
7486
 
7487
- /* WEBPACK VAR INJECTION */(function(global) {module.exports = global["html2canvas"] = __webpack_require__(530);
7488
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
7489
 
7490
  /***/ },
7491
 
7492
- /***/ 530:
7493
  /***/ function(module, exports, __webpack_require__) {
7494
 
7495
  var require;var require;/* WEBPACK VAR INJECTION */(function(global) {/*
@@ -12030,15 +12030,15 @@ webpackJsonp([4],{
12030
 
12031
  /***/ },
12032
 
12033
- /***/ 553:
12034
  /***/ function(module, exports, __webpack_require__) {
12035
 
12036
- /* WEBPACK VAR INJECTION */(function(global) {module.exports = global["Backbone"] = __webpack_require__(554);
12037
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
12038
 
12039
  /***/ },
12040
 
12041
- /***/ 554:
12042
  /***/ function(module, exports, __webpack_require__) {
12043
 
12044
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(global) {// Backbone.js 1.3.3
@@ -13966,7 +13966,7 @@ webpackJsonp([4],{
13966
 
13967
  /***/ },
13968
 
13969
- /***/ 571:
13970
  /***/ function(module, exports, __webpack_require__) {
13971
 
13972
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;function requestFailed(errorMessage, xhr) {
@@ -14060,7 +14060,7 @@ webpackJsonp([4],{
14060
 
14061
  /***/ },
14062
 
14063
- /***/ 574:
14064
  /***/ function(module, exports, __webpack_require__) {
14065
 
14066
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disable func-names */
@@ -14404,6 +14404,7 @@ webpackJsonp([4],{
14404
  }
14405
  jQuery('#mailpoet_panel').css({ minHeight: 'auto' });
14406
  break;
 
14407
  }
14408
 
14409
  return this;
@@ -14440,6 +14441,7 @@ webpackJsonp([4],{
14440
  }
14441
  }.bind(this), 0);
14442
  break;
 
14443
  }
14444
 
14445
  return this;
@@ -14482,7 +14484,7 @@ webpackJsonp([4],{
14482
  return this;
14483
  },
14484
  focus: function () {
14485
- if (this.options.type == 'popup') {
14486
  jQuery('#mailpoet_' + this.options.type).focus();
14487
  } else {
14488
  // panel and subpanel
@@ -14619,12 +14621,12 @@ webpackJsonp([4],{
14619
  success: function () {
14620
  if (this.subpanels.length > 0) {
14621
  if (this.subpanels[(this.subpanels.length - 1)].onSuccess !== undefined) {
14622
- this.subpanels[(this.subpanels.length - 1)].onSuccess(this.subpanels[(this.subpanels.length - 1)].data);
14623
- }
14624
- } else {
14625
- if (this.options.onSuccess !== null) {
14626
- this.options.onSuccess(this.options.data);
14627
  }
 
 
14628
  }
14629
  this.close();
14630
 
@@ -14633,12 +14635,12 @@ webpackJsonp([4],{
14633
  cancel: function () {
14634
  if (this.subpanels.length > 0) {
14635
  if (this.subpanels[(this.subpanels.length - 1)].onCancel !== undefined) {
14636
- this.subpanels[(this.subpanels.length - 1)].onCancel(this.subpanels[(this.subpanels.length - 1)].data);
14637
- }
14638
- } else {
14639
- if (this.options.onCancel !== null) {
14640
- this.options.onCancel(this.options.data);
14641
  }
 
 
14642
  }
14643
  this.close();
14644
 
@@ -14706,13 +14708,13 @@ webpackJsonp([4],{
14706
 
14707
  /***/ },
14708
 
14709
- /***/ 575:
14710
  /***/ function(module, exports, __webpack_require__) {
14711
 
14712
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
14713
 
14714
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(276), __webpack_require__(275)], __WEBPACK_AMD_DEFINE_RESULT__ = function (mp, jQuery) { // eslint-disable-line func-names
14715
- /*= =================================================================================================
14716
 
14717
  MailPoet Notice:
14718
 
@@ -14733,7 +14735,7 @@ webpackJsonp([4],{
14733
  // system message (static: true)
14734
  MailPoet.Notice.system('You need to updated ASAP!');
14735
 
14736
- ================================================================================================== */
14737
  var MailPoet = mp;
14738
  MailPoet.Notice = {
14739
  version: 1.0,
@@ -14805,7 +14807,7 @@ webpackJsonp([4],{
14805
  // listen to message event
14806
  jQuery(this.element).on('setMessage', function (e, message) { // eslint-disable-line func-names
14807
  MailPoet.Notice.setMessage(message);
14808
- }.bind(this.element));
14809
 
14810
  return this;
14811
  },
@@ -14862,6 +14864,9 @@ webpackJsonp([4],{
14862
  case 'error':
14863
  this.element.addClass('notice notice-error');
14864
  break;
 
 
 
14865
  }
14866
 
14867
  // make the notice appear
@@ -14930,7 +14935,7 @@ webpackJsonp([4],{
14930
 
14931
  /***/ },
14932
 
14933
- /***/ 581:
14934
  /***/ function(module, exports, __webpack_require__) {
14935
 
14936
  // MarionetteJS (Backbone.Marionette)
@@ -14944,7 +14949,7 @@ webpackJsonp([4],{
14944
 
14945
 
14946
  (function (global, factory) {
14947
- true ? module.exports = factory(__webpack_require__(553), __webpack_require__(280), __webpack_require__(582)) :
14948
  typeof define === 'function' && define.amd ? define(['backbone', 'underscore', 'backbone.radio'], factory) :
14949
  (global.Marionette = global['Mn'] = factory(global.Backbone,global._,global.Backbone.Radio));
14950
  }(this, (function (Backbone,_,Radio) { 'use strict';
@@ -18425,13 +18430,13 @@ webpackJsonp([4],{
18425
 
18426
  /***/ },
18427
 
18428
- /***/ 582:
18429
  /***/ function(module, exports, __webpack_require__) {
18430
 
18431
  // Backbone.Radio v2.0.0
18432
 
18433
  (function (global, factory) {
18434
- true ? module.exports = factory(__webpack_require__(280), __webpack_require__(553)) :
18435
  typeof define === 'function' && define.amd ? define(['underscore', 'backbone'], factory) :
18436
  (global.Backbone = global.Backbone || {}, global.Backbone.Radio = factory(global._,global.Backbone));
18437
  }(this, function (_,Backbone) { 'use strict';
@@ -18781,7 +18786,7 @@ webpackJsonp([4],{
18781
 
18782
  /***/ },
18783
 
18784
- /***/ 583:
18785
  /***/ function(module, exports) {
18786
 
18787
  Backbone.SuperModel = (function(_, Backbone){
@@ -19204,7 +19209,7 @@ webpackJsonp([4],{
19204
 
19205
  /***/ },
19206
 
19207
- /***/ 584:
19208
  /***/ function(module, exports, __webpack_require__) {
19209
 
19210
  /**
@@ -25188,7 +25193,7 @@ webpackJsonp([4],{
25188
 
25189
  /***/ },
25190
 
25191
- /***/ 585:
25192
  /***/ function(module, exports, __webpack_require__) {
25193
 
25194
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// Spectrum Colorpicker v1.8.0
@@ -27518,7 +27523,7 @@ webpackJsonp([4],{
27518
 
27519
  /***/ },
27520
 
27521
- /***/ 586:
27522
  /***/ function(module, exports) {
27523
 
27524
  // Generated by CoffeeScript 1.9.2
@@ -27789,7 +27794,7 @@ webpackJsonp([4],{
27789
 
27790
  /***/ },
27791
 
27792
- /***/ 587:
27793
  /***/ function(module, exports) {
27794
 
27795
  /* Blob.js
@@ -28010,7 +28015,7 @@ webpackJsonp([4],{
28010
 
28011
  /***/ },
28012
 
28013
- /***/ 588:
28014
  /***/ function(module, exports, __webpack_require__) {
28015
 
28016
  var __WEBPACK_AMD_DEFINE_RESULT__;/* FileSaver.js
@@ -28196,7 +28201,7 @@ webpackJsonp([4],{
28196
 
28197
  if (typeof module !== "undefined" && module.exports) {
28198
  module.exports.saveAs = saveAs;
28199
- } else if (("function" !== "undefined" && __webpack_require__(589) !== null) && (__webpack_require__(590) !== null)) {
28200
  !(__WEBPACK_AMD_DEFINE_RESULT__ = function() {
28201
  return saveAs;
28202
  }.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
@@ -28205,7 +28210,7 @@ webpackJsonp([4],{
28205
 
28206
  /***/ },
28207
 
28208
- /***/ 589:
28209
  /***/ function(module, exports) {
28210
 
28211
  module.exports = function() { throw new Error("define cannot be used indirect"); };
@@ -28213,7 +28218,7 @@ webpackJsonp([4],{
28213
 
28214
  /***/ },
28215
 
28216
- /***/ 590:
28217
  /***/ function(module, exports) {
28218
 
28219
  /* WEBPACK VAR INJECTION */(function(__webpack_amd_options__) {module.exports = __webpack_amd_options__;
@@ -28222,7 +28227,7 @@ webpackJsonp([4],{
28222
 
28223
  /***/ },
28224
 
28225
- /***/ 591:
28226
  /***/ function(module, exports, __webpack_require__) {
28227
 
28228
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/*** IMPORTS FROM imports-loader ***/
@@ -32118,11 +32123,15 @@ webpackJsonp([4],{
32118
 
32119
  /***/ },
32120
 
32121
- /***/ 592:
32122
  /***/ function(module, exports, __webpack_require__) {
32123
 
32124
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
32125
 
 
 
 
 
32126
  /**
32127
  * This shim replaces the default Backbone.Marionette communication library
32128
  * Backbone.Wreqr with Backbone.Radio ahead of time,
@@ -32131,14 +32140,11 @@ webpackJsonp([4],{
32131
  * Courtesy of https://gist.github.com/jmeas/7992474cdb1c5672d88b
32132
  */
32133
 
32134
- (function (root, factory) { // eslint-disable-line func-names
32135
- var Marionette = __webpack_require__(581);
32136
- var Radio = __webpack_require__(582);
32137
- var _ = __webpack_require__(280);
32138
  if (true) {
32139
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(581), __webpack_require__(582), __webpack_require__(280)], __WEBPACK_AMD_DEFINE_RESULT__ = function (BackboneMarionette, BackboneRadio, underscore) { // eslint-disable-line func-names
32140
- return factory(BackboneMarionette, BackboneRadio, underscore);
32141
- }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
32142
  }
32143
  else if (typeof exports !== 'undefined') {
32144
  module.exports = factory(Marionette, Radio, _);
@@ -32146,24 +32152,24 @@ webpackJsonp([4],{
32146
  else {
32147
  factory(root.Backbone.Marionette, root.Backbone.Radio, root._);
32148
  }
32149
- }(this, function (Marionette, Radio, _) { // eslint-disable-line func-names
32150
- var MarionetteApplication = Marionette.Application;
32151
- MarionetteApplication.prototype._initChannel = function () { // eslint-disable-line func-names
32152
- this.channelName = _.result(this, 'channelName') || 'global';
32153
- this.channel = _.result(this, 'channel') || Radio.channel(this.channelName);
32154
  };
32155
  }));
32156
 
32157
 
32158
  /***/ },
32159
 
32160
- /***/ 593:
32161
  /***/ function(module, exports, __webpack_require__) {
32162
 
32163
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
32164
- __webpack_require__(553),
32165
- __webpack_require__(581),
32166
- __webpack_require__(582)
32167
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (Backbone, Marionette, BackboneRadio) { // eslint-disable-line func-names
32168
  var Radio = BackboneRadio;
32169
 
@@ -32203,12 +32209,12 @@ webpackJsonp([4],{
32203
 
32204
  /***/ },
32205
 
32206
- /***/ 594:
32207
  /***/ function(module, exports, __webpack_require__) {
32208
 
32209
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
32210
- __webpack_require__(593),
32211
- __webpack_require__(583)
32212
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (App, SuperModel) { // eslint-disable-line func-names
32213
  var Module = {};
32214
 
@@ -32253,17 +32259,17 @@ webpackJsonp([4],{
32253
 
32254
  /***/ },
32255
 
32256
- /***/ 596:
32257
  /***/ function(module, exports, __webpack_require__) {
32258
 
32259
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disable func-names */
32260
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
32261
- __webpack_require__(593),
32262
  __webpack_require__(597),
 
32263
  __webpack_require__(276),
32264
- __webpack_require__(553),
32265
- __webpack_require__(581),
32266
- __webpack_require__(583),
32267
  __webpack_require__(280),
32268
  __webpack_require__(275)
32269
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (
@@ -32328,7 +32334,7 @@ webpackJsonp([4],{
32328
  easing: 'easeOut',
32329
  complete: function () {
32330
  $openRegion.addClass('closed');
32331
- }.bind(this)
32332
  }
32333
  );
32334
 
@@ -32649,15 +32655,15 @@ webpackJsonp([4],{
32649
 
32650
  /***/ },
32651
 
32652
- /***/ 597:
32653
  /***/ function(module, exports, __webpack_require__) {
32654
 
32655
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disable func-names */
32656
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
32657
- __webpack_require__(593),
32658
  __webpack_require__(280),
32659
  __webpack_require__(276),
32660
- __webpack_require__(571)
32661
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (App, _, MailPoet) {
32662
  var Module = {};
32663
 
@@ -32763,17 +32769,17 @@ webpackJsonp([4],{
32763
 
32764
  /***/ },
32765
 
32766
- /***/ 598:
32767
  /***/ function(module, exports, __webpack_require__) {
32768
 
32769
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
32770
 
32771
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
32772
- __webpack_require__(593),
32773
- __webpack_require__(583),
32774
  __webpack_require__(280),
32775
  __webpack_require__(276)
32776
- ], __WEBPACK_AMD_DEFINE_RESULT__ = function (App, SuperModel, _, MailPoet) { // eslint-disable-line func-names
32777
  var Module = {};
32778
 
32779
  // Holds newsletter entry fields, such as subject or creation datetime.
@@ -32781,12 +32787,12 @@ webpackJsonp([4],{
32781
  // handled by other components.
32782
  Module.NewsletterModel = SuperModel.extend({
32783
  whitelisted: ['id', 'subject', 'preheader', 'type'],
32784
- initialize: function () { // eslint-disable-line func-names
32785
- this.on('change', function () { // eslint-disable-line func-names
32786
  App.getChannel().trigger('autoSave');
32787
  });
32788
  },
32789
- toJSON: function () { // eslint-disable-line func-names
32790
  // Use only whitelisted properties to ensure properties editor
32791
  // doesn't control don't change.
32792
  return _.pick(SuperModel.prototype.toJSON.call(this), this.whitelisted);
@@ -32795,45 +32801,45 @@ webpackJsonp([4],{
32795
 
32796
  // Content block view and model handlers for different content types
32797
  Module._blockTypes = {};
32798
- Module.registerBlockType = function (type, data) { // eslint-disable-line func-names
32799
  Module._blockTypes[type] = data;
32800
  };
32801
- Module.getBlockTypeModel = function (type) { // eslint-disable-line func-names
32802
  if (type in Module._blockTypes) {
32803
  return Module._blockTypes[type].blockModel;
32804
  }
32805
- throw 'Block type not supported: ' + type;
32806
  };
32807
- Module.getBlockTypeView = function (type) { // eslint-disable-line func-names
32808
  if (type in Module._blockTypes) {
32809
  return Module._blockTypes[type].blockView;
32810
  }
32811
- throw 'Block type not supported: ' + type;
32812
  };
32813
 
32814
- Module.getBody = function () { // eslint-disable-line func-names
32815
  return {
32816
  content: App._contentContainer.toJSON(),
32817
  globalStyles: App.getGlobalStyles().toJSON()
32818
  };
32819
  };
32820
 
32821
- Module.toJSON = function () { // eslint-disable-line func-names
32822
  return _.extend({
32823
  body: Module.getBody()
32824
  }, App.getNewsletter().toJSON());
32825
  };
32826
 
32827
- Module.getNewsletter = function () { // eslint-disable-line func-names
32828
  return Module.newsletter;
32829
  };
32830
 
32831
- Module.findModels = function (predicate) { // eslint-disable-line func-names
32832
  var blocks = App._contentContainer.getChildren();
32833
  return _.filter(blocks, predicate);
32834
  };
32835
 
32836
- App.on('before:start', function (Application, options) { // eslint-disable-line func-names
32837
  var BeforeStartApp = Application;
32838
  // Expose block methods globally
32839
  BeforeStartApp.registerBlockType = Module.registerBlockType;
@@ -32847,10 +32853,10 @@ webpackJsonp([4],{
32847
  Module.newsletter = new Module.NewsletterModel(_.omit(_.clone(options.newsletter), ['body']));
32848
  });
32849
 
32850
- App.on('start', function (Application, options) { // eslint-disable-line func-names
32851
  var StartApp = Application;
32852
  var body = options.newsletter.body;
32853
- var content = (_.has(body, 'content')) ? body.content : {};
32854
 
32855
  if (!_.has(options.newsletter, 'body') || !_.isObject(options.newsletter.body)) {
32856
  MailPoet.Notice.error(
@@ -32859,7 +32865,7 @@ webpackJsonp([4],{
32859
  );
32860
  }
32861
 
32862
- StartApp._contentContainer = new (StartApp.getBlockTypeModel('container'))(content, { parse: true });
32863
  StartApp._contentContainerView = new (StartApp.getBlockTypeView('container'))({
32864
  model: StartApp._contentContainer,
32865
  renderOptions: { depth: 0 }
@@ -32875,15 +32881,15 @@ webpackJsonp([4],{
32875
 
32876
  /***/ },
32877
 
32878
- /***/ 599:
32879
  /***/ function(module, exports, __webpack_require__) {
32880
 
32881
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
32882
 
32883
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
32884
- __webpack_require__(593),
32885
- __webpack_require__(553),
32886
- __webpack_require__(581),
32887
  __webpack_require__(280),
32888
  __webpack_require__(275),
32889
  __webpack_require__(276)
@@ -32927,21 +32933,21 @@ webpackJsonp([4],{
32927
 
32928
  /***/ },
32929
 
32930
- /***/ 600:
32931
  /***/ function(module, exports, __webpack_require__) {
32932
 
32933
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disable func-names */
32934
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
32935
- __webpack_require__(593),
32936
  __webpack_require__(597),
 
32937
  __webpack_require__(276),
32938
- __webpack_require__(575),
32939
- __webpack_require__(553),
32940
- __webpack_require__(581),
32941
  __webpack_require__(275),
32942
- __webpack_require__(587),
32943
- __webpack_require__(588),
32944
- __webpack_require__(529),
32945
  __webpack_require__(280),
32946
  __webpack_require__(275)
32947
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (
@@ -33064,7 +33070,7 @@ webpackJsonp([4],{
33064
  var data = _.extend(options || {}, {
33065
  thumbnail: thumbnail.toDataURL('image/jpeg'),
33066
  body: App.getBody(),
33067
- categories: JSON.stringify([App.getNewsletter().get('type')])
33068
  });
33069
  var blob = new Blob(
33070
  [JSON.stringify(data)],
@@ -33319,7 +33325,7 @@ webpackJsonp([4],{
33319
 
33320
  /***/ },
33321
 
33322
- /***/ 601:
33323
  /***/ function(module, exports, __webpack_require__) {
33324
 
33325
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
@@ -33329,7 +33335,7 @@ webpackJsonp([4],{
33329
  * For more check: http://marionettejs.com/docs/marionette.behaviors.html#behaviorslookup
33330
  */
33331
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
33332
- __webpack_require__(581)
33333
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (BackboneMarionette) { // eslint-disable-line func-names
33334
  var Marionette = BackboneMarionette;
33335
  var BehaviorsLookup = {};
@@ -33345,7 +33351,7 @@ webpackJsonp([4],{
33345
 
33346
  /***/ },
33347
 
33348
- /***/ 602:
33349
  /***/ function(module, exports, __webpack_require__) {
33350
 
33351
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
@@ -33354,10 +33360,10 @@ webpackJsonp([4],{
33354
  * Adds a color picker integration with the view
33355
  */
33356
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
33357
- __webpack_require__(581),
33358
- __webpack_require__(601),
33359
  __webpack_require__(276),
33360
- __webpack_require__(585)
33361
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (Marionette, BehaviorsLookup, MailPoet) { // eslint-disable-line func-names
33362
  var BL = BehaviorsLookup;
33363
 
@@ -33399,7 +33405,7 @@ webpackJsonp([4],{
33399
 
33400
  /***/ },
33401
 
33402
- /***/ 603:
33403
  /***/ function(module, exports, __webpack_require__) {
33404
 
33405
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disable func-names */
@@ -33411,11 +33417,11 @@ webpackJsonp([4],{
33411
  * accept droppables
33412
  */
33413
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
33414
- __webpack_require__(581),
33415
  __webpack_require__(280),
33416
  __webpack_require__(275),
33417
- __webpack_require__(601),
33418
- __webpack_require__(584)
33419
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (Marionette, _, jQuery, BL, interact) {
33420
  var BehaviorsLookup = BL;
33421
 
@@ -33424,7 +33430,10 @@ webpackJsonp([4],{
33424
  columnLimit: 3
33425
  },
33426
  onRender: function () {
33427
- var dragAndDropDisabled = _.isObject(this.view.options.renderOptions) && this.view.options.renderOptions.disableDragAndDrop === true;
 
 
 
33428
  if (!dragAndDropDisabled) {
33429
  this.addDropZone();
33430
  }
@@ -33464,8 +33473,11 @@ webpackJsonp([4],{
33464
  // 1. Compute actual location of the mouse within the container
33465
  // 2. Check if insertion is regular (between blocks) or special (with container insertion)
33466
  // 3a. If insertion is regular, compute position where insertion should happen
33467
- // 3b. If insertion is special, compute position (which side) and which cell the insertion belongs to
33468
- // 4. If insertion at that position is not visualized, display position visualization there, remove other visualizations from this container
 
 
 
33469
  var dropPosition = that.getDropPosition(
33470
  event.dragmove.pageX,
33471
  event.dragmove.pageY,
@@ -33503,7 +33515,11 @@ webpackJsonp([4],{
33503
  markerHeight = targetElement.height();
33504
  } else {
33505
  isLastBlockInsertion = that.getCollection().length === dropPosition.index;
33506
- targetModel = isLastBlockInsertion ? viewCollection.at(dropPosition.index - 1) : viewCollection.at(dropPosition.index);
 
 
 
 
33507
 
33508
  targetView = that.getChildren().findByModel(targetModel);
33509
  targetElement = targetView.$el;
@@ -33560,9 +33576,15 @@ webpackJsonp([4],{
33560
  // compensated for to position marker right in the middle of two
33561
  // blocks
33562
  if (dropPosition.position === 'before') {
33563
- $targetBlock = that.getChildren().findByModel(viewCollection.at(dropPosition.index - 1)).$el;
 
 
 
33564
  } else {
33565
- $targetBlock = that.getChildren().findByModel(viewCollection.at(dropPosition.index)).$el;
 
 
 
33566
  }
33567
  margin = $targetBlock.outerHeight(true) - $targetBlock.outerHeight();
33568
 
@@ -33583,7 +33605,8 @@ webpackJsonp([4],{
33583
  // 3b1. compute position (which side) and which cell the insertion belongs to
33584
  // 3b2. remove element at that position from the collection
33585
  // 3b3. create a new collection, insert the removed element to it
33586
- // 3b4. insert the droppable model at the start or end of the new collection, depending on 3b1. position
 
33587
  // 3b5. insert the new collection into the old collection to cell from 3b1.
33588
  // 4. Perform cleanup actions
33589
 
@@ -33664,7 +33687,11 @@ webpackJsonp([4],{
33664
  viewCollection.add(tempCollection, { at: dropPosition.index });
33665
 
33666
  // Call post add actions
33667
- droppedView = that.getChildren().findByModel(tempCollection).children.findByModel(droppableModel);
 
 
 
 
33668
  }
33669
 
33670
  // Call post add actions
@@ -33735,11 +33762,17 @@ webpackJsonp([4],{
33735
  SPECIAL_AREA_INSERTION_WIDTH = 0.5;
33736
  }
33737
 
33738
- if (relativeOffset <= elementLength * SPECIAL_AREA_INSERTION_WIDTH && (unsafe || canAcceptSpecialInsertion)) {
 
 
 
33739
  insertionType = 'special';
33740
  position = 'before';
33741
  index = this._computeSpecialIndex(eventX, eventY);
33742
- } else if (relativeOffset > elementLength * (1 - SPECIAL_AREA_INSERTION_WIDTH) && (unsafe || canAcceptSpecialInsertion)) {
 
 
 
33743
  insertionType = 'special';
33744
  position = 'after';
33745
  index = this._computeSpecialIndex(eventX, eventY);
@@ -33796,7 +33829,7 @@ webpackJsonp([4],{
33796
  elementDimension = element.outerWidth(true);
33797
  }
33798
 
33799
- if (eventOffset <= closeOffset + elementDimension / 2) {
33800
  // First half of the element
33801
  return {
33802
  index: index,
@@ -33864,7 +33897,7 @@ webpackJsonp([4],{
33864
 
33865
  /***/ },
33866
 
33867
- /***/ 604:
33868
  /***/ function(module, exports, __webpack_require__) {
33869
 
33870
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
@@ -33874,12 +33907,12 @@ webpackJsonp([4],{
33874
  * Part of the drag&drop behavior.
33875
  */
33876
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
33877
- __webpack_require__(581),
33878
  __webpack_require__(280),
33879
  __webpack_require__(275),
33880
- __webpack_require__(601),
33881
- __webpack_require__(584)
33882
- ], __WEBPACK_AMD_DEFINE_RESULT__ = function (Marionette, _, jQuery, BehaviorsLookup, interact) { // eslint-disable-line func-names
33883
  var BL = BehaviorsLookup;
33884
 
33885
  BL.DraggableBehavior = Marionette.Behavior.extend({
@@ -33893,14 +33926,14 @@ webpackJsonp([4],{
33893
  *
33894
  * @return Backbone.Model A model that will be passed to the receiver
33895
  */
33896
- getDropModel: function () { // eslint-disable-line func-names
33897
- throw "Missing 'drop' function for DraggableBehavior";
33898
  },
33899
 
33900
- onDrop: function () {}, // eslint-disable-line func-names
33901
- testAttachToInstance: function () { return true; } // eslint-disable-line func-names
33902
  },
33903
- onRender: function () { // eslint-disable-line func-names
33904
  var that = this;
33905
  var interactable;
33906
 
@@ -33916,7 +33949,7 @@ webpackJsonp([4],{
33916
  // Scroll when dragging near edges of a window
33917
  autoScroll: true,
33918
 
33919
- onstart: function (startEvent) { // eslint-disable-line func-names
33920
  var event = startEvent;
33921
  var centerXOffset;
33922
  var centerYOffset;
@@ -33926,7 +33959,9 @@ webpackJsonp([4],{
33926
 
33927
  if (that.options.cloneOriginal === true) {
33928
  // Use substitution instead of a clone
33929
- tempClone = (_.isFunction(that.options.onDragSubstituteBy)) ? that.options.onDragSubstituteBy(that) : undefined;
 
 
33930
  // Or use a clone
33931
  clone = tempClone || event.target.cloneNode(true);
33932
  jQuery(event.target);
@@ -33955,7 +33990,7 @@ webpackJsonp([4],{
33955
  }
33956
  },
33957
  // call this function on every dragmove event
33958
- onmove: function (event) { // eslint-disable-line func-names
33959
  var target = event.target;
33960
  // keep the dragged position in the data-x/data-y attributes
33961
  var x = (parseFloat(target.getAttribute('data-x')) || 0) + event.dx;
@@ -33969,7 +34004,7 @@ webpackJsonp([4],{
33969
  target.setAttribute('data-x', x);
33970
  target.setAttribute('data-y', y);
33971
  },
33972
- onend: function (event) { // eslint-disable-line func-names
33973
  var target = event.target;
33974
  target.style.transform = '';
33975
  target.style.webkitTransform = target.style.transform;
@@ -33988,7 +34023,7 @@ webpackJsonp([4],{
33988
  })
33989
  .preventDefault('auto')
33990
  .styleCursor(false)
33991
- .actionChecker(function (pointer, event, action) { // eslint-disable-line func-names
33992
  // Disable dragging with right click
33993
  if (event.button !== 0) {
33994
  return null;
@@ -34002,7 +34037,7 @@ webpackJsonp([4],{
34002
  } else {
34003
  interactable.getDropModel = this.view.getDropFunc();
34004
  }
34005
- interactable.onDrop = function (opts) { // eslint-disable-line func-names
34006
  var options = opts;
34007
  if (_.isObject(options)) {
34008
  // Inject Draggable behavior if possible
@@ -34018,7 +34053,7 @@ webpackJsonp([4],{
34018
 
34019
  /***/ },
34020
 
34021
- /***/ 605:
34022
  /***/ function(module, exports, __webpack_require__) {
34023
 
34024
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
@@ -34027,8 +34062,8 @@ webpackJsonp([4],{
34027
  * Highlights a container block when hovering over its tools
34028
  */
34029
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
34030
- __webpack_require__(581),
34031
- __webpack_require__(601)
34032
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (Marionette, BehaviorsLookup) { // eslint-disable-line func-names
34033
  var BL = BehaviorsLookup;
34034
 
@@ -34051,7 +34086,7 @@ webpackJsonp([4],{
34051
 
34052
  /***/ },
34053
 
34054
- /***/ 606:
34055
  /***/ function(module, exports, __webpack_require__) {
34056
 
34057
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
@@ -34060,8 +34095,8 @@ webpackJsonp([4],{
34060
  * Highlights a block that is being edited
34061
  */
34062
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
34063
- __webpack_require__(581),
34064
- __webpack_require__(601)
34065
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (Marionette, BehaviorsLookup) { // eslint-disable-line func-names
34066
  var BL = BehaviorsLookup;
34067
 
@@ -34084,7 +34119,7 @@ webpackJsonp([4],{
34084
 
34085
  /***/ },
34086
 
34087
- /***/ 607:
34088
  /***/ function(module, exports, __webpack_require__) {
34089
 
34090
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
@@ -34093,9 +34128,9 @@ webpackJsonp([4],{
34093
  * Allows resizing elements within a block
34094
  */
34095
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
34096
- __webpack_require__(581),
34097
- __webpack_require__(601),
34098
- __webpack_require__(584)
34099
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (Marionette, BehaviorsLookup, interact) { // eslint-disable-line func-names
34100
  var BL = BehaviorsLookup;
34101
 
@@ -34103,7 +34138,8 @@ webpackJsonp([4],{
34103
  defaults: {
34104
  elementSelector: null,
34105
  resizeHandleSelector: true, // true will use edges of the element itself
34106
- transformationFunction: function transformationFunction(y) { return y; }, // for blocks that use the default onResize function
 
34107
  minLength: 0,
34108
  maxLength: Infinity,
34109
  modelField: 'styles.block.height',
@@ -34126,8 +34162,13 @@ webpackJsonp([4],{
34126
  }
34127
  },
34128
  attachResize: function () { // eslint-disable-line func-names
34129
- var domElement = (this.options.elementSelector === null) ? this.view.$el.get(0) : this.view.$(this.options.elementSelector).get(0);
34130
  var that = this;
 
 
 
 
 
34131
  interact(domElement).resizable({
34132
  // axis: 'y',
34133
  edges: {
@@ -34165,7 +34206,7 @@ webpackJsonp([4],{
34165
 
34166
  /***/ },
34167
 
34168
- /***/ 608:
34169
  /***/ function(module, exports, __webpack_require__) {
34170
 
34171
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
@@ -34174,9 +34215,9 @@ webpackJsonp([4],{
34174
  * Allows sorting elements within a collection
34175
  */
34176
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
34177
- __webpack_require__(581),
34178
  __webpack_require__(280),
34179
- __webpack_require__(601)
34180
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (Marionette, _, BehaviorsLookup) { // eslint-disable-line func-names
34181
  var BL = BehaviorsLookup;
34182
 
@@ -34213,7 +34254,7 @@ webpackJsonp([4],{
34213
 
34214
  /***/ },
34215
 
34216
- /***/ 609:
34217
  /***/ function(module, exports, __webpack_require__) {
34218
 
34219
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
@@ -34222,9 +34263,9 @@ webpackJsonp([4],{
34222
  * Opens up settings of a BlockView if contents are clicked upon
34223
  */
34224
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
34225
- __webpack_require__(581),
34226
  __webpack_require__(275),
34227
- __webpack_require__(601)
34228
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (Marionette, jQuery, BehaviorsLookup) { // eslint-disable-line func-names
34229
  var BL = BehaviorsLookup;
34230
 
@@ -34252,7 +34293,7 @@ webpackJsonp([4],{
34252
 
34253
  /***/ },
34254
 
34255
- /***/ 610:
34256
  /***/ function(module, exports, __webpack_require__) {
34257
 
34258
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
@@ -34261,10 +34302,10 @@ webpackJsonp([4],{
34261
  * Adds TinyMCE text editing capabilities to a view
34262
  */
34263
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
34264
- __webpack_require__(581),
34265
  __webpack_require__(280),
34266
- __webpack_require__(601)
34267
- ], __WEBPACK_AMD_DEFINE_RESULT__ = function (Marionette, _, BehaviorsLookup) { // eslint-disable-line func-names
34268
  var BL = BehaviorsLookup;
34269
 
34270
  BL.TextEditorBehavior = Marionette.Behavior.extend({
@@ -34276,9 +34317,9 @@ webpackJsonp([4],{
34276
  invalidElements: 'script',
34277
  blockFormats: 'Paragraph=p',
34278
  plugins: 'link textcolor colorpicker mailpoet_shortcodes',
34279
- configurationFilter: function (originalConfig) { return originalConfig; } // eslint-disable-line func-names
34280
  },
34281
- onDomRefresh: function () { // eslint-disable-line func-names
34282
  var that = this;
34283
  if (this.view.disableTextEditor === true) {
34284
  return;
@@ -34299,7 +34340,7 @@ webpackJsonp([4],{
34299
  relative_urls: false,
34300
  remove_script_host: false,
34301
  convert_urls: true,
34302
- urlconverter_callback: function (url) { // eslint-disable-line func-names
34303
  if (url.match(/\[.+\]/g)) {
34304
  // Do not convert URLs with shortcodes
34305
  return url;
@@ -34313,27 +34354,31 @@ webpackJsonp([4],{
34313
 
34314
  plugins: this.options.plugins,
34315
 
34316
- setup: function (editor) { // eslint-disable-line func-names
34317
- editor.on('change', function () { // eslint-disable-line func-names
34318
  that.view.triggerMethod('text:editor:change', editor.getContent());
34319
  });
34320
 
34321
- editor.on('click', function (e) { // eslint-disable-line func-names
34322
  editor.focus();
34323
  if (that._isActivationClick) {
34324
  editor.selection.setRng(
34325
- window.tinymce.dom.RangeUtils.getCaretRangeFromPoint(e.clientX, e.clientY, editor.getDoc())
 
 
 
 
34326
  );
34327
  that._isActivationClick = false;
34328
  }
34329
  });
34330
 
34331
- editor.on('focus', function () { // eslint-disable-line func-names
34332
  that.view.triggerMethod('text:editor:focus');
34333
  that._isActivationClick = true;
34334
  });
34335
 
34336
- editor.on('blur', function () { // eslint-disable-line func-names
34337
  that.view.triggerMethod('text:editor:blur');
34338
  });
34339
  }
@@ -34345,25 +34390,24 @@ webpackJsonp([4],{
34345
 
34346
  /***/ },
34347
 
34348
- /***/ 611:
34349
  /***/ function(module, exports, __webpack_require__) {
34350
 
34351
- var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disable func-names */
34352
- /**
34353
  * Defines base classes for actual content blocks to extend.
34354
  * Extending content block modules need to at least extend
34355
  * a BlockModel and a BlockView.
34356
  * BlockToolsView, BlockSettingsView and BlockWidgetView are optional.
34357
  */
34358
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
34359
- __webpack_require__(593),
34360
- __webpack_require__(581),
34361
- __webpack_require__(583),
34362
  __webpack_require__(280),
34363
  __webpack_require__(275),
34364
  __webpack_require__(276),
34365
- __webpack_require__(574)
34366
- ], __WEBPACK_AMD_DEFINE_RESULT__ = function (App, Marionette, SuperModel, _, jQuery, MailPoet) {
34367
  'use strict';
34368
 
34369
  var Module = {};
@@ -34371,13 +34415,18 @@ webpackJsonp([4],{
34371
 
34372
  Module.BlockModel = SuperModel.extend({
34373
  stale: [], // Attributes to be removed upon saving
34374
- initialize: function () {
34375
- this.on('change', function () {
34376
  App.getChannel().trigger('autoSave');
34377
  });
34378
  },
34379
- _getDefaults: function (blockDefaults, configDefaults) {
34380
- var defaults = (_.isObject(configDefaults) && _.isFunction(configDefaults.toJSON)) ? configDefaults.toJSON() : configDefaults;
 
 
 
 
 
34381
 
34382
  // Patch the resulting JSON object and fix it's constructors to be Object.
34383
  // Otherwise SuperModel interprets it not as a simpleObject
@@ -34385,11 +34434,11 @@ webpackJsonp([4],{
34385
  // TODO: Investigate for a better solution
34386
  return JSON.parse(JSON.stringify(jQuery.extend(blockDefaults, defaults || {})));
34387
  },
34388
- toJSON: function () {
34389
  // Remove stale attributes from resulting JSON object
34390
  return _.omit(SuperModel.prototype.toJSON.call(this), this.stale);
34391
  },
34392
- getChildren: function () {
34393
  return [];
34394
  }
34395
  });
@@ -34411,12 +34460,12 @@ webpackJsonp([4],{
34411
  DraggableBehavior: {
34412
  cloneOriginal: true,
34413
  hideOriginal: true,
34414
- onDrop: function (options) {
34415
  // After a clone of model has been dropped, cleanup
34416
  // and destroy self
34417
  options.dragBehavior.view.model.destroy();
34418
  },
34419
- onDragSubstituteBy: function (behavior) {
34420
  var WidgetView;
34421
  var node;
34422
  // When block is being dragged, display the widget icon instead.
@@ -34434,76 +34483,79 @@ webpackJsonp([4],{
34434
  },
34435
  HighlightEditingBehavior: {}
34436
  },
34437
- templateContext: function () {
34438
  return {
34439
  model: this.model.toJSON(),
34440
  viewCid: this.cid
34441
  };
34442
  },
34443
- constructor: function () {
34444
  AugmentedView.apply(this, arguments);
34445
  this.$el.addClass('mailpoet_editor_view_' + this.cid);
34446
  },
34447
- initialize: function () {
34448
  this.on('showSettings', this.showSettings, this);
34449
  this.on('dom:refresh', this.showBlock, this);
34450
  this._isFirstRender = true;
34451
  },
34452
- showTools: function () {
34453
  if (!this.showingToolsDisabled) {
34454
  this.$('> .mailpoet_tools').addClass('mailpoet_display_tools');
34455
  this.toolsView.triggerMethod('showTools');
34456
  }
34457
  },
34458
- hideTools: function () {
34459
  this.$('> .mailpoet_tools').removeClass('mailpoet_display_tools');
34460
  this.toolsView.triggerMethod('hideTools');
34461
  },
34462
- enableShowingTools: function () {
34463
  this.showingToolsDisabled = false;
34464
  },
34465
- disableShowingTools: function () {
34466
  this.showingToolsDisabled = true;
34467
  this.hideTools();
34468
  },
34469
- showSettings: function (options) {
34470
  this.toolsView.triggerMethod('showSettings', options);
34471
  },
34472
  /**
34473
  * Defines drop behavior of BlockView instance
34474
  */
34475
- getDropFunc: function () {
34476
- return function () {
34477
  return this.model.clone();
34478
  }.bind(this);
34479
  },
34480
- disableDragging: function () {
34481
  this.$el.addClass('mailpoet_ignore_drag');
34482
  },
34483
- enableDragging: function () {
34484
  this.$el.removeClass('mailpoet_ignore_drag');
34485
  },
34486
- showBlock: function () {
34487
  if (this._isFirstRender) {
34488
  this.transitionIn();
34489
  this._isFirstRender = false;
34490
  }
34491
  },
34492
- deleteBlock: function () {
34493
- this.transitionOut().then(function () {
34494
  this.model.destroy();
34495
  }.bind(this));
34496
  },
34497
- duplicateBlock: function () {
34498
- this.model.collection.add(this.model.toJSON(), { at: this.model.collection.findIndex(this.model) });
 
 
 
34499
  },
34500
- transitionIn: function () {
34501
  return this._transition('slideDown', 'fadeIn', 'easeOut');
34502
  },
34503
- transitionOut: function () {
34504
  return this._transition('slideUp', 'fadeOut', 'easeIn');
34505
  },
34506
- _transition: function (slideDirection, fadeDirection, easing) {
34507
  var promise = jQuery.Deferred();
34508
 
34509
  this.$el.velocity(
@@ -34511,9 +34563,9 @@ webpackJsonp([4],{
34511
  {
34512
  duration: 250,
34513
  easing: easing,
34514
- complete: function () {
34515
  promise.resolve();
34516
- }.bind(this)
34517
  }
34518
  ).velocity(
34519
  fadeDirection,
@@ -34529,7 +34581,7 @@ webpackJsonp([4],{
34529
  });
34530
 
34531
  Module.BlockToolsView = AugmentedView.extend({
34532
- getTemplate: function () { return window.templates.genericBlockTools; },
34533
  events: {
34534
  'click .mailpoet_edit_block': 'changeSettings',
34535
  'click .mailpoet_delete_block_activate': 'showDeletionConfirmation',
@@ -34544,8 +34596,8 @@ webpackJsonp([4],{
34544
  duplicate: true,
34545
  move: true
34546
  },
34547
- getSettingsView: function () { return Module.BlockSettingsView; },
34548
- initialize: function (opts) {
34549
  var options = opts || {};
34550
  if (!_.isUndefined(options.tools)) {
34551
  // Make a new block specific tool config object
@@ -34556,18 +34608,18 @@ webpackJsonp([4],{
34556
  this.on('hideTools', this.hideDeletionConfirmation, this);
34557
  this.on('showSettings', this.changeSettings);
34558
  },
34559
- templateContext: function () {
34560
  return {
34561
  model: this.model.toJSON(),
34562
  viewCid: this.cid,
34563
  tools: this.tools
34564
  };
34565
  },
34566
- changeSettings: function (options) {
34567
  var ViewType = this.getSettingsView();
34568
  (new ViewType(_.extend({ model: this.model }, options || {}))).render();
34569
  },
34570
- showDeletionConfirmation: function () {
34571
  this.$('.mailpoet_delete_block')
34572
  .closest('.mailpoet_block')
34573
  .find('> .mailpoet_block_highlight')
@@ -34575,7 +34627,7 @@ webpackJsonp([4],{
34575
 
34576
  this.$('.mailpoet_delete_block').addClass('mailpoet_delete_block_activated');
34577
  },
34578
- hideDeletionConfirmation: function () {
34579
  this.$('.mailpoet_delete_block')
34580
  .closest('.mailpoet_block')
34581
  .find('> .mailpoet_block_highlight')
@@ -34583,12 +34635,12 @@ webpackJsonp([4],{
34583
 
34584
  this.$('.mailpoet_delete_block').removeClass('mailpoet_delete_block_activated');
34585
  },
34586
- deleteBlock: function (event) {
34587
  event.preventDefault();
34588
  this.model.trigger('delete');
34589
  return false;
34590
  },
34591
- duplicateBlock: function (event) {
34592
  event.preventDefault();
34593
  this.model.trigger('duplicate');
34594
  return false;
@@ -34600,7 +34652,7 @@ webpackJsonp([4],{
34600
  behaviors: {
34601
  ColorPickerBehavior: {}
34602
  },
34603
- initialize: function (params) {
34604
  var panelParams;
34605
  this.model.trigger('startEditing');
34606
  panelParams = {
@@ -34608,7 +34660,7 @@ webpackJsonp([4],{
34608
  template: '',
34609
  position: 'right',
34610
  width: App.getConfig().get('sidepanelWidth'),
34611
- onCancel: function () {
34612
  this.destroy();
34613
  }.bind(this)
34614
  };
@@ -34619,37 +34671,37 @@ webpackJsonp([4],{
34619
  MailPoet.Modal.panel(panelParams);
34620
  }
34621
  },
34622
- templateContext: function () {
34623
  return {
34624
  model: this.model.toJSON()
34625
  };
34626
  },
34627
- close: function () {
34628
  this.destroy();
34629
  },
34630
- changeField: function (field, event) {
34631
  this.model.set(field, jQuery(event.target).val());
34632
  },
34633
- changePixelField: function (field, event) {
34634
  this.changeFieldWithSuffix(field, event, 'px');
34635
  },
34636
- changeFieldWithSuffix: function (field, event, suffix) {
34637
  this.model.set(field, jQuery(event.target).val() + suffix);
34638
  },
34639
- changeBoolField: function (field, event) {
34640
  this.model.set(field, (jQuery(event.target).val() === 'true'));
34641
  },
34642
- changeBoolCheckboxField: function (field, event) {
34643
  this.model.set(field, (!!jQuery(event.target).prop('checked')));
34644
  },
34645
- changeColorField: function (field, event) {
34646
  var value = jQuery(event.target).val();
34647
  if (value === '') {
34648
  value = 'transparent';
34649
  }
34650
  this.model.set(field, value);
34651
  },
34652
- onBeforeDestroy: function () {
34653
  MailPoet.Modal.close();
34654
  this.model.trigger('stopEditing');
34655
  }
@@ -34659,8 +34711,8 @@ webpackJsonp([4],{
34659
  className: 'mailpoet_widget mailpoet_droppable_block mailpoet_droppable_widget',
34660
  behaviors: {
34661
  DraggableBehavior: {
34662
- drop: function () {
34663
- throw 'Unsupported operation';
34664
  }
34665
  }
34666
  }
@@ -34672,7 +34724,7 @@ webpackJsonp([4],{
34672
 
34673
  /***/ },
34674
 
34675
- /***/ 612:
34676
  /***/ function(module, exports, __webpack_require__) {
34677
 
34678
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disable func-names */
@@ -34682,12 +34734,12 @@ webpackJsonp([4],{
34682
  * as other containers.
34683
  */
34684
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
34685
- __webpack_require__(553),
34686
- __webpack_require__(581),
34687
  __webpack_require__(280),
34688
  __webpack_require__(275),
34689
- __webpack_require__(593),
34690
- __webpack_require__(611)
34691
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (Backbone, Marionette, _, jQuery, App, BaseBlock) {
34692
  'use strict';
34693
 
@@ -34852,7 +34904,9 @@ webpackJsonp([4],{
34852
  }));
34853
 
34854
  // TODO: Look for a better way to do this than here
34855
- // Sets child container orientation HTML class here, as child CollectionView won't have access to model and will overwrite existing region element instead
 
 
34856
  this.$('> .mailpoet_container').attr('class', 'mailpoet_container mailpoet_container_' + this.model.get('orientation'));
34857
  },
34858
  showTools: function () {
@@ -35045,7 +35099,7 @@ webpackJsonp([4],{
35045
 
35046
  /***/ },
35047
 
35048
- /***/ 613:
35049
  /***/ function(module, exports, __webpack_require__) {
35050
 
35051
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disable func-names */
@@ -35053,8 +35107,8 @@ webpackJsonp([4],{
35053
  * Button content block
35054
  */
35055
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
35056
- __webpack_require__(593),
35057
- __webpack_require__(611),
35058
  __webpack_require__(276),
35059
  __webpack_require__(280),
35060
  __webpack_require__(275)
@@ -35201,7 +35255,7 @@ webpackJsonp([4],{
35201
 
35202
  /***/ },
35203
 
35204
- /***/ 614:
35205
  /***/ function(module, exports, __webpack_require__) {
35206
 
35207
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disable func-names */
@@ -35209,8 +35263,8 @@ webpackJsonp([4],{
35209
  * Image content block
35210
  */
35211
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
35212
- __webpack_require__(593),
35213
- __webpack_require__(611),
35214
  __webpack_require__(280),
35215
  __webpack_require__(276),
35216
  __webpack_require__(275)
@@ -35563,7 +35617,10 @@ webpackJsonp([4],{
35563
  function (size) { return Math.abs(targetImageWidth - sizes[size].width); }
35564
  );
35565
  var bestWidth = sizes[_.first(increasingByWidthDifference)].width;
35566
- var imagesOfBestWidth = _.filter(_.values(sizes), function (size) { return size.width === bestWidth; });
 
 
 
35567
 
35568
  // Maximize the height if there are multiple images with same width
35569
  var mainSize = _.max(imagesOfBestWidth, function (size) { return size.height; });
@@ -35638,7 +35695,7 @@ webpackJsonp([4],{
35638
 
35639
  /***/ },
35640
 
35641
- /***/ 615:
35642
  /***/ function(module, exports, __webpack_require__) {
35643
 
35644
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
@@ -35647,16 +35704,16 @@ webpackJsonp([4],{
35647
  * Divider content block
35648
  */
35649
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
35650
- __webpack_require__(593),
35651
- __webpack_require__(611),
35652
  __webpack_require__(280),
35653
  __webpack_require__(275)
35654
- ], __WEBPACK_AMD_DEFINE_RESULT__ = function (App, BaseBlock, _, jQuery) { // eslint-disable-line func-names
35655
  var Module = {};
35656
  var base = BaseBlock;
35657
 
35658
  Module.DividerBlockModel = base.BlockModel.extend({
35659
- defaults: function () { // eslint-disable-line func-names
35660
  return this._getDefaults({
35661
  type: 'divider',
35662
  styles: {
@@ -35674,13 +35731,13 @@ webpackJsonp([4],{
35674
 
35675
  Module.DividerBlockView = base.BlockView.extend({
35676
  className: 'mailpoet_block mailpoet_divider_block mailpoet_droppable_block',
35677
- getTemplate: function () { return window.templates.dividerBlock; }, // eslint-disable-line func-names
35678
  modelEvents: _.omit(base.BlockView.prototype.modelEvents, 'change'),
35679
  behaviors: _.defaults({
35680
  ResizableBehavior: {
35681
  elementSelector: '.mailpoet_content',
35682
  resizeHandleSelector: '.mailpoet_resize_handle',
35683
- transformationFunction: function (y) { return y / 2; }, // eslint-disable-line func-names
35684
  minLength: 0, // TODO: Move this number to editor configuration
35685
  modelField: 'styles.block.padding'
35686
  },
@@ -35688,45 +35745,47 @@ webpackJsonp([4],{
35688
  ignoreFrom: '.mailpoet_resize_handle'
35689
  }
35690
  }, base.BlockView.prototype.behaviors),
35691
- onDragSubstituteBy: function () { return Module.DividerWidgetView; }, // eslint-disable-line func-names
35692
- initialize: function () { // eslint-disable-line func-names
35693
  var that = this;
35694
  base.BlockView.prototype.initialize.apply(this, arguments);
35695
 
35696
  // Listen for attempts to change all dividers in one go
35697
- this._replaceDividerHandler = function (data) { that.model.set(data); that.model.trigger('applyToAll'); }; // eslint-disable-line func-names
 
 
35698
  App.getChannel().on('replaceAllDividers', this._replaceDividerHandler);
35699
 
35700
  this.listenTo(this.model, 'change:src change:styles.block.backgroundColor change:styles.block.borderStyle change:styles.block.borderWidth change:styles.block.borderColor applyToAll', this.render);
35701
  this.listenTo(this.model, 'change:styles.block.padding', this.changePadding);
35702
  },
35703
- templateContext: function () { // eslint-disable-line func-names
35704
  return _.extend({
35705
- totalHeight: parseInt(this.model.get('styles.block.padding'), 10) * 2 + parseInt(this.model.get('styles.block.borderWidth')) + 'px'
35706
  }, base.BlockView.prototype.templateContext.apply(this));
35707
  },
35708
- onRender: function () { // eslint-disable-line func-names
35709
  this.toolsView = new Module.DividerBlockToolsView({ model: this.model });
35710
  this.showChildView('toolsRegion', this.toolsView);
35711
  },
35712
- onBeforeDestroy: function () { // eslint-disable-line func-names
35713
  App.getChannel().off('replaceAllDividers', this._replaceDividerHandler);
35714
  this.stopListening(this.model);
35715
  },
35716
- changePadding: function () { // eslint-disable-line func-names
35717
  this.$('.mailpoet_content').css('padding-top', this.model.get('styles.block.padding'));
35718
  this.$('.mailpoet_content').css('padding-bottom', this.model.get('styles.block.padding'));
35719
- this.$('.mailpoet_resize_handle_text').text(parseInt(this.model.get('styles.block.padding'), 10) * 2 + parseInt(this.model.get('styles.block.borderWidth')) + 'px');
35720
  }
35721
  });
35722
 
35723
  Module.DividerBlockToolsView = base.BlockToolsView.extend({
35724
- getSettingsView: function () { return Module.DividerBlockSettingsView; } // eslint-disable-line func-names
35725
  });
35726
 
35727
  Module.DividerBlockSettingsView = base.BlockSettingsView.extend({
35728
- getTemplate: function () { return window.templates.dividerBlockSettings; }, // eslint-disable-line func-names
35729
- events: function () { // eslint-disable-line func-names
35730
  return {
35731
  'click .mailpoet_field_divider_style': 'changeStyle',
35732
 
@@ -35740,47 +35799,47 @@ webpackJsonp([4],{
35740
  'click .mailpoet_done_editing': 'close'
35741
  };
35742
  },
35743
- modelEvents: function () { // eslint-disable-line func-names
35744
  return {
35745
  'change:styles.block.borderColor': 'repaintDividerStyleOptions'
35746
  };
35747
  },
35748
- templateContext: function () { // eslint-disable-line func-names
35749
  return _.extend({}, base.BlockView.prototype.templateContext.apply(this, arguments), {
35750
  availableStyles: App.getAvailableStyles().toJSON(),
35751
  renderOptions: this.renderOptions
35752
  });
35753
  },
35754
- changeStyle: function (event) { // eslint-disable-line func-names
35755
  var style = jQuery(event.currentTarget).data('style');
35756
  this.model.set('styles.block.borderStyle', style);
35757
  this.$('.mailpoet_field_divider_style').removeClass('mailpoet_active_divider_style');
35758
  this.$('.mailpoet_field_divider_style[data-style="' + style + '"]').addClass('mailpoet_active_divider_style');
35759
  },
35760
- repaintDividerStyleOptions: function () { // eslint-disable-line func-names
35761
  this.$('.mailpoet_field_divider_style > div').css('border-top-color', this.model.get('styles.block.borderColor'));
35762
  },
35763
- applyToAll: function () { // eslint-disable-line func-names
35764
  App.getChannel().trigger('replaceAllDividers', this.model.toJSON());
35765
  },
35766
- updateValueAndCall: function (fieldToUpdate, callable, event) { // eslint-disable-line func-names
35767
  this.$(fieldToUpdate).val(jQuery(event.target).val());
35768
  callable(event);
35769
  }
35770
  });
35771
 
35772
  Module.DividerWidgetView = base.WidgetView.extend({
35773
- getTemplate: function () { return window.templates.dividerInsertion; }, // eslint-disable-line func-names
35774
  behaviors: {
35775
  DraggableBehavior: {
35776
  cloneOriginal: true,
35777
- drop: function () { // eslint-disable-line func-names
35778
  return new Module.DividerBlockModel();
35779
  }
35780
  }
35781
  }
35782
  });
35783
- App.on('before:start', function (BeforeStartApp) { // eslint-disable-line func-names
35784
  BeforeStartApp.registerBlockType('divider', {
35785
  blockModel: Module.DividerBlockModel,
35786
  blockView: Module.DividerBlockView
@@ -35799,7 +35858,7 @@ webpackJsonp([4],{
35799
 
35800
  /***/ },
35801
 
35802
- /***/ 616:
35803
  /***/ function(module, exports, __webpack_require__) {
35804
 
35805
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
@@ -35808,16 +35867,16 @@ webpackJsonp([4],{
35808
  * Text content block
35809
  */
35810
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
35811
- __webpack_require__(593),
35812
- __webpack_require__(611),
35813
  __webpack_require__(280),
35814
  __webpack_require__(276)
35815
- ], __WEBPACK_AMD_DEFINE_RESULT__ = function (App, BaseBlock, _, MailPoet) { // eslint-disable-line func-names
35816
  var Module = {};
35817
  var base = BaseBlock;
35818
 
35819
  Module.TextBlockModel = base.BlockModel.extend({
35820
- defaults: function () { // eslint-disable-line func-names
35821
  return this._getDefaults({
35822
  type: 'text',
35823
  text: 'Edit this to insert text'
@@ -35827,7 +35886,7 @@ webpackJsonp([4],{
35827
 
35828
  Module.TextBlockView = base.BlockView.extend({
35829
  className: 'mailpoet_block mailpoet_text_block mailpoet_droppable_block',
35830
- getTemplate: function () { return window.templates.textBlock; }, // eslint-disable-line func-names
35831
  modelEvents: _.omit(base.BlockView.prototype.modelEvents, 'change'), // Prevent rerendering on model change due to text editor redrawing
35832
  behaviors: _.extend({}, base.BlockView.prototype.behaviors, {
35833
  TextEditorBehavior: {
@@ -35837,7 +35896,7 @@ webpackJsonp([4],{
35837
  invalidElements: 'script',
35838
  blockFormats: 'Heading 1=h1;Heading 2=h2;Heading 3=h3;Paragraph=p',
35839
  plugins: 'link lists code textcolor colorpicker mailpoet_shortcodes paste',
35840
- configurationFilter: function (originalSettings) { // eslint-disable-line func-names
35841
  return _.extend({}, originalSettings, {
35842
  mailpoet_shortcodes: App.getConfig().get('shortcodes').toJSON(),
35843
  mailpoet_shortcodes_window_title: MailPoet.I18n.t('shortcodesWindowTitle')
@@ -35845,7 +35904,7 @@ webpackJsonp([4],{
35845
  }
35846
  }
35847
  }),
35848
- initialize: function (options) { // eslint-disable-line func-names
35849
  base.BlockView.prototype.initialize.apply(this, arguments);
35850
 
35851
  this.renderOptions = _.defaults(options.renderOptions || {}, {
@@ -35854,8 +35913,8 @@ webpackJsonp([4],{
35854
 
35855
  this.disableTextEditor = this.renderOptions.disableTextEditor;
35856
  },
35857
- onDragSubstituteBy: function () { return Module.TextWidgetView; }, // eslint-disable-line func-names
35858
- onRender: function () { // eslint-disable-line func-names
35859
  this.toolsView = new Module.TextBlockToolsView({
35860
  model: this.model,
35861
  tools: {
@@ -35864,40 +35923,40 @@ webpackJsonp([4],{
35864
  });
35865
  this.showChildView('toolsRegion', this.toolsView);
35866
  },
35867
- onTextEditorChange: function (newContent) { // eslint-disable-line func-names
35868
  this.model.set('text', newContent);
35869
  },
35870
- onTextEditorFocus: function () { // eslint-disable-line func-names
35871
  this.disableDragging();
35872
  this.disableShowingTools();
35873
  },
35874
- onTextEditorBlur: function () { // eslint-disable-line func-names
35875
  this.enableDragging();
35876
  this.enableShowingTools();
35877
  }
35878
  });
35879
 
35880
  Module.TextBlockToolsView = base.BlockToolsView.extend({
35881
- getSettingsView: function () { return Module.TextBlockSettingsView; } // eslint-disable-line func-names
35882
  });
35883
 
35884
  Module.TextBlockSettingsView = base.BlockSettingsView.extend({
35885
- getTemplate: function () { return window.templates.textBlockSettings; } // eslint-disable-line func-names
35886
  });
35887
 
35888
  Module.TextWidgetView = base.WidgetView.extend({
35889
- getTemplate: function () { return window.templates.textInsertion; }, // eslint-disable-line func-names
35890
  behaviors: {
35891
  DraggableBehavior: {
35892
  cloneOriginal: true,
35893
- drop: function () { // eslint-disable-line func-names
35894
  return new Module.TextBlockModel();
35895
  }
35896
  }
35897
  }
35898
  });
35899
 
35900
- App.on('before:start', function (BeforeStartApp) { // eslint-disable-line func-names
35901
  BeforeStartApp.registerBlockType('text', {
35902
  blockModel: Module.TextBlockModel,
35903
  blockView: Module.TextBlockView
@@ -35917,7 +35976,7 @@ webpackJsonp([4],{
35917
 
35918
  /***/ },
35919
 
35920
- /***/ 617:
35921
  /***/ function(module, exports, __webpack_require__) {
35922
 
35923
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
@@ -35926,15 +35985,15 @@ webpackJsonp([4],{
35926
  * Spacer content block
35927
  */
35928
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
35929
- __webpack_require__(593),
35930
- __webpack_require__(611),
35931
  __webpack_require__(280)
35932
- ], __WEBPACK_AMD_DEFINE_RESULT__ = function (App, BaseBlock, _) { // eslint-disable-line func-names
35933
  var Module = {};
35934
  var base = BaseBlock;
35935
 
35936
  Module.SpacerBlockModel = base.BlockModel.extend({
35937
- defaults: function () { // eslint-disable-line func-names
35938
  return this._getDefaults({
35939
  type: 'spacer',
35940
  styles: {
@@ -35949,7 +36008,7 @@ webpackJsonp([4],{
35949
 
35950
  Module.SpacerBlockView = base.BlockView.extend({
35951
  className: 'mailpoet_block mailpoet_spacer_block mailpoet_droppable_block',
35952
- getTemplate: function () { return window.templates.spacerBlock; }, // eslint-disable-line func-names
35953
  behaviors: _.defaults({
35954
  ResizableBehavior: {
35955
  elementSelector: '.mailpoet_spacer',
@@ -35962,33 +36021,33 @@ webpackJsonp([4],{
35962
  }
35963
  }, base.BlockView.prototype.behaviors),
35964
  modelEvents: _.omit(base.BlockView.prototype.modelEvents, 'change'),
35965
- onDragSubstituteBy: function () { return Module.SpacerWidgetView; }, // eslint-disable-line func-names
35966
- initialize: function () { // eslint-disable-line func-names
35967
  base.BlockView.prototype.initialize.apply(this, arguments);
35968
 
35969
  this.listenTo(this.model, 'change:styles.block.backgroundColor', this.render);
35970
  this.listenTo(this.model, 'change:styles.block.height', this.changeHeight);
35971
  },
35972
- onRender: function () { // eslint-disable-line func-names
35973
  this.toolsView = new Module.SpacerBlockToolsView({ model: this.model });
35974
  this.showChildView('toolsRegion', this.toolsView);
35975
  },
35976
- changeHeight: function () { // eslint-disable-line func-names
35977
  this.$('.mailpoet_spacer').css('height', this.model.get('styles.block.height'));
35978
  this.$('.mailpoet_resize_handle_text').text(this.model.get('styles.block.height'));
35979
  },
35980
- onBeforeDestroy: function () { // eslint-disable-line func-names
35981
  this.stopListening(this.model);
35982
  }
35983
  });
35984
 
35985
  Module.SpacerBlockToolsView = base.BlockToolsView.extend({
35986
- getSettingsView: function () { return Module.SpacerBlockSettingsView; } // eslint-disable-line func-names
35987
  });
35988
 
35989
  Module.SpacerBlockSettingsView = base.BlockSettingsView.extend({
35990
- getTemplate: function () { return window.templates.spacerBlockSettings; }, // eslint-disable-line func-names
35991
- events: function () { // eslint-disable-line func-names
35992
  return {
35993
  'change .mailpoet_field_spacer_background_color': _.partial(this.changeColorField, 'styles.block.backgroundColor'),
35994
  'click .mailpoet_done_editing': 'close'
@@ -35997,18 +36056,18 @@ webpackJsonp([4],{
35997
  });
35998
 
35999
  Module.SpacerWidgetView = base.WidgetView.extend({
36000
- getTemplate: function () { return window.templates.spacerInsertion; }, // eslint-disable-line func-names
36001
  behaviors: {
36002
  DraggableBehavior: {
36003
  cloneOriginal: true,
36004
- drop: function () { // eslint-disable-line func-names
36005
  return new Module.SpacerBlockModel();
36006
  }
36007
  }
36008
  }
36009
  });
36010
 
36011
- App.on('before:start', function (BeforeStartApp) { // eslint-disable-line func-names
36012
  BeforeStartApp.registerBlockType('spacer', {
36013
  blockModel: Module.SpacerBlockModel,
36014
  blockView: Module.SpacerBlockView
@@ -36027,7 +36086,7 @@ webpackJsonp([4],{
36027
 
36028
  /***/ },
36029
 
36030
- /***/ 618:
36031
  /***/ function(module, exports, __webpack_require__) {
36032
 
36033
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
@@ -36036,16 +36095,16 @@ webpackJsonp([4],{
36036
  * Footer content block
36037
  */
36038
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
36039
- __webpack_require__(593),
36040
- __webpack_require__(611),
36041
  __webpack_require__(280),
36042
  __webpack_require__(276)
36043
- ], __WEBPACK_AMD_DEFINE_RESULT__ = function (App, BaseBlock, _, MailPoet) { // eslint-disable-line func-names
36044
  var Module = {};
36045
  var base = BaseBlock;
36046
 
36047
  Module.FooterBlockModel = base.BlockModel.extend({
36048
- defaults: function () { // eslint-disable-line func-names
36049
  return this._getDefaults({
36050
  type: 'footer',
36051
  text: '<a href="[link:subscription_unsubscribe_url]">Unsubscribe</a> | <a href="[link:subscription_manage_url]">Manage subscription</a><br /><b>Add your postal address here!</b>',
@@ -36070,13 +36129,13 @@ webpackJsonp([4],{
36070
 
36071
  Module.FooterBlockView = base.BlockView.extend({
36072
  className: 'mailpoet_block mailpoet_footer_block mailpoet_droppable_block',
36073
- getTemplate: function () { return window.templates.footerBlock; }, // eslint-disable-line func-names
36074
  modelEvents: _.extend({
36075
  'change:styles.block.backgroundColor change:styles.text.fontColor change:styles.text.fontFamily change:styles.text.fontSize change:styles.text.textAlign change:styles.link.fontColor change:styles.link.textDecoration': 'render'
36076
  }, _.omit(base.BlockView.prototype.modelEvents, 'change')),
36077
  behaviors: _.extend({}, base.BlockView.prototype.behaviors, {
36078
  TextEditorBehavior: {
36079
- configurationFilter: function (originalSettings) { // eslint-disable-line func-names
36080
  return _.extend({}, originalSettings, {
36081
  mailpoet_shortcodes: App.getConfig().get('shortcodes').toJSON(),
36082
  mailpoet_shortcodes_window_title: MailPoet.I18n.t('shortcodesWindowTitle')
@@ -36084,37 +36143,37 @@ webpackJsonp([4],{
36084
  }
36085
  }
36086
  }),
36087
- onDragSubstituteBy: function () { return Module.FooterWidgetView; }, // eslint-disable-line func-names
36088
- onRender: function () { // eslint-disable-line func-names
36089
  this.toolsView = new Module.FooterBlockToolsView({ model: this.model });
36090
  this.showChildView('toolsRegion', this.toolsView);
36091
  },
36092
- onTextEditorChange: function (newContent) { // eslint-disable-line func-names
36093
  this.model.set('text', newContent);
36094
  },
36095
- onTextEditorFocus: function () { // eslint-disable-line func-names
36096
  this.disableDragging();
36097
  this.disableShowingTools();
36098
  },
36099
- onTextEditorBlur: function () { // eslint-disable-line func-names
36100
  this.enableDragging();
36101
  this.enableShowingTools();
36102
  }
36103
  });
36104
 
36105
  Module.FooterBlockToolsView = base.BlockToolsView.extend({
36106
- getSettingsView: function () { return Module.FooterBlockSettingsView; } // eslint-disable-line func-names
36107
  });
36108
 
36109
  Module.FooterBlockSettingsView = base.BlockSettingsView.extend({
36110
- getTemplate: function () { return window.templates.footerBlockSettings; }, // eslint-disable-line func-names
36111
- events: function () { // eslint-disable-line func-names
36112
  return {
36113
  'change .mailpoet_field_footer_text_color': _.partial(this.changeColorField, 'styles.text.fontColor'),
36114
  'change .mailpoet_field_footer_text_font_family': _.partial(this.changeField, 'styles.text.fontFamily'),
36115
  'change .mailpoet_field_footer_text_size': _.partial(this.changeField, 'styles.text.fontSize'),
36116
  'change #mailpoet_field_footer_link_color': _.partial(this.changeColorField, 'styles.link.fontColor'),
36117
- 'change #mailpoet_field_footer_link_underline': function (event) { // eslint-disable-line func-names
36118
  this.model.set('styles.link.textDecoration', (event.target.checked) ? event.target.value : 'none');
36119
  },
36120
  'change .mailpoet_field_footer_background_color': _.partial(this.changeColorField, 'styles.block.backgroundColor'),
@@ -36122,7 +36181,7 @@ webpackJsonp([4],{
36122
  'click .mailpoet_done_editing': 'close'
36123
  };
36124
  },
36125
- templateContext: function () { // eslint-disable-line func-names
36126
  return _.extend({}, base.BlockView.prototype.templateContext.apply(this, arguments), {
36127
  availableStyles: App.getAvailableStyles().toJSON()
36128
  });
@@ -36130,18 +36189,18 @@ webpackJsonp([4],{
36130
  });
36131
 
36132
  Module.FooterWidgetView = base.WidgetView.extend({
36133
- getTemplate: function () { return window.templates.footerInsertion; }, // eslint-disable-line func-names
36134
  behaviors: {
36135
  DraggableBehavior: {
36136
  cloneOriginal: true,
36137
- drop: function () { // eslint-disable-line func-names
36138
  return new Module.FooterBlockModel();
36139
  }
36140
  }
36141
  }
36142
  });
36143
 
36144
- App.on('before:start', function (BeforeStartApp) { // eslint-disable-line func-names
36145
  BeforeStartApp.registerBlockType('footer', {
36146
  blockModel: Module.FooterBlockModel,
36147
  blockView: Module.FooterBlockView
@@ -36160,7 +36219,7 @@ webpackJsonp([4],{
36160
 
36161
  /***/ },
36162
 
36163
- /***/ 619:
36164
  /***/ function(module, exports, __webpack_require__) {
36165
 
36166
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
@@ -36169,16 +36228,16 @@ webpackJsonp([4],{
36169
  * Header content block
36170
  */
36171
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
36172
- __webpack_require__(593),
36173
- __webpack_require__(611),
36174
  __webpack_require__(280),
36175
  __webpack_require__(276)
36176
- ], __WEBPACK_AMD_DEFINE_RESULT__ = function (App, BaseBlock, _, MailPoet) { // eslint-disable-line func-names
36177
  var Module = {};
36178
  var base = BaseBlock;
36179
 
36180
  Module.HeaderBlockModel = base.BlockModel.extend({
36181
- defaults: function () { // eslint-disable-line func-names
36182
  return this._getDefaults({
36183
  type: 'header',
36184
  text: 'Display problems? <a href="[link:newsletter_view_in_browser_url]">View it in your browser</a>',
@@ -36203,13 +36262,13 @@ webpackJsonp([4],{
36203
 
36204
  Module.HeaderBlockView = base.BlockView.extend({
36205
  className: 'mailpoet_block mailpoet_header_block mailpoet_droppable_block',
36206
- getTemplate: function () { return window.templates.headerBlock; }, // eslint-disable-line func-names
36207
  modelEvents: _.extend({
36208
  'change:styles.block.backgroundColor change:styles.text.fontColor change:styles.text.fontFamily change:styles.text.fontSize change:styles.text.textAlign change:styles.link.fontColor change:styles.link.textDecoration': 'render'
36209
  }, _.omit(base.BlockView.prototype.modelEvents, 'change')),
36210
  behaviors: _.extend({}, base.BlockView.prototype.behaviors, {
36211
  TextEditorBehavior: {
36212
- configurationFilter: function (originalSettings) { // eslint-disable-line func-names
36213
  return _.extend({}, originalSettings, {
36214
  mailpoet_shortcodes: App.getConfig().get('shortcodes').toJSON(),
36215
  mailpoet_shortcodes_window_title: MailPoet.I18n.t('shortcodesWindowTitle')
@@ -36217,37 +36276,37 @@ webpackJsonp([4],{
36217
  }
36218
  }
36219
  }),
36220
- onDragSubstituteBy: function () { return Module.HeaderWidgetView; }, // eslint-disable-line func-names
36221
- onRender: function () { // eslint-disable-line func-names
36222
  this.toolsView = new Module.HeaderBlockToolsView({ model: this.model });
36223
  this.showChildView('toolsRegion', this.toolsView);
36224
  },
36225
- onTextEditorChange: function (newContent) { // eslint-disable-line func-names
36226
  this.model.set('text', newContent);
36227
  },
36228
- onTextEditorFocus: function () { // eslint-disable-line func-names
36229
  this.disableDragging();
36230
  this.disableShowingTools();
36231
  },
36232
- onTextEditorBlur: function () { // eslint-disable-line func-names
36233
  this.enableDragging();
36234
  this.enableShowingTools();
36235
  }
36236
  });
36237
 
36238
  Module.HeaderBlockToolsView = base.BlockToolsView.extend({
36239
- getSettingsView: function () { return Module.HeaderBlockSettingsView; } // eslint-disable-line func-names
36240
  });
36241
 
36242
  Module.HeaderBlockSettingsView = base.BlockSettingsView.extend({
36243
- getTemplate: function () { return window.templates.headerBlockSettings; }, // eslint-disable-line func-names
36244
- events: function () { // eslint-disable-line func-names
36245
  return {
36246
  'change .mailpoet_field_header_text_color': _.partial(this.changeColorField, 'styles.text.fontColor'),
36247
  'change .mailpoet_field_header_text_font_family': _.partial(this.changeField, 'styles.text.fontFamily'),
36248
  'change .mailpoet_field_header_text_size': _.partial(this.changeField, 'styles.text.fontSize'),
36249
  'change #mailpoet_field_header_link_color': _.partial(this.changeColorField, 'styles.link.fontColor'),
36250
- 'change #mailpoet_field_header_link_underline': function (event) { // eslint-disable-line func-names
36251
  this.model.set('styles.link.textDecoration', (event.target.checked) ? event.target.value : 'none');
36252
  },
36253
  'change .mailpoet_field_header_background_color': _.partial(this.changeColorField, 'styles.block.backgroundColor'),
@@ -36255,7 +36314,7 @@ webpackJsonp([4],{
36255
  'click .mailpoet_done_editing': 'close'
36256
  };
36257
  },
36258
- templateContext: function () { // eslint-disable-line func-names
36259
  return _.extend({}, base.BlockView.prototype.templateContext.apply(this, arguments), {
36260
  availableStyles: App.getAvailableStyles().toJSON()
36261
  });
@@ -36263,18 +36322,18 @@ webpackJsonp([4],{
36263
  });
36264
 
36265
  Module.HeaderWidgetView = base.WidgetView.extend({
36266
- getTemplate: function () { return window.templates.headerInsertion; }, // eslint-disable-line func-names
36267
  behaviors: {
36268
  DraggableBehavior: {
36269
  cloneOriginal: true,
36270
- drop: function () { // eslint-disable-line func-names
36271
  return new Module.HeaderBlockModel();
36272
  }
36273
  }
36274
  }
36275
  });
36276
 
36277
- App.on('before:start', function (BeforeStartApp) { // eslint-disable-line func-names
36278
  BeforeStartApp.registerBlockType('header', {
36279
  blockModel: Module.HeaderBlockModel,
36280
  blockView: Module.HeaderBlockView
@@ -36293,7 +36352,7 @@ webpackJsonp([4],{
36293
 
36294
  /***/ },
36295
 
36296
- /***/ 620:
36297
  /***/ function(module, exports, __webpack_require__) {
36298
 
36299
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disable func-names */
@@ -36306,13 +36365,13 @@ webpackJsonp([4],{
36306
  * block settings view.
36307
  */
36308
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
36309
- __webpack_require__(593),
36310
- __webpack_require__(611),
36311
- __webpack_require__(613),
36312
- __webpack_require__(615),
36313
  __webpack_require__(597),
 
 
 
 
36314
  __webpack_require__(276),
36315
- __webpack_require__(583),
36316
  __webpack_require__(280),
36317
  __webpack_require__(275)
36318
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (
@@ -36382,7 +36441,6 @@ webpackJsonp([4],{
36382
  titleIsLink: false, // false|true
36383
  imageFullWidth: false, // true|false
36384
  featuredImagePosition: 'belowTitle', // 'aboveTitle'|'belowTitle'|'none'
36385
- // imageAlignment: 'centerPadded', // 'centerFull'|'centerPadded'|'left'|'right'|'alternate'|'none'
36386
  showAuthor: 'no', // 'no'|'aboveText'|'belowText'
36387
  authorPrecededBy: 'Author:',
36388
  showCategories: 'no', // 'no'|'aboveText'|'belowText'
@@ -36598,10 +36656,10 @@ webpackJsonp([4],{
36598
  },
36599
  changeReadMoreType: function (event) {
36600
  var value = jQuery(event.target).val();
36601
- if (value == 'link') {
36602
  this.$('.mailpoet_automated_latest_content_read_more_text').removeClass('mailpoet_hidden');
36603
  this.$('.mailpoet_automated_latest_content_select_button').addClass('mailpoet_hidden');
36604
- } else if (value == 'button') {
36605
  this.$('.mailpoet_automated_latest_content_read_more_text').addClass('mailpoet_hidden');
36606
  this.$('.mailpoet_automated_latest_content_select_button').removeClass('mailpoet_hidden');
36607
  }
@@ -36610,7 +36668,7 @@ webpackJsonp([4],{
36610
  changeDisplayType: function (event) {
36611
  var value = jQuery(event.target).val();
36612
 
36613
- if (value == 'titleOnly') {
36614
  this.$('.mailpoet_automated_latest_content_title_as_list').removeClass('mailpoet_hidden');
36615
  this.$('.mailpoet_automated_latest_content_image_full_width_option').addClass('mailpoet_hidden');
36616
  this.$('.mailpoet_automated_latest_content_image_separator').addClass('mailpoet_hidden');
@@ -36636,7 +36694,7 @@ webpackJsonp([4],{
36636
  },
36637
  changeTitleFormat: function (event) {
36638
  var value = jQuery(event.target).val();
36639
- if (value == 'ul') {
36640
  this.$('.mailpoet_automated_latest_content_non_title_list_options').addClass('mailpoet_hidden');
36641
 
36642
  this.model.set('titleIsLink', true);
@@ -36703,7 +36761,7 @@ webpackJsonp([4],{
36703
 
36704
  /***/ },
36705
 
36706
- /***/ 621:
36707
  /***/ function(module, exports, __webpack_require__) {
36708
 
36709
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disable func-names */
@@ -36720,17 +36778,17 @@ webpackJsonp([4],{
36720
  * block settings view.
36721
  */
36722
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
36723
- __webpack_require__(553),
36724
- __webpack_require__(581),
36725
- __webpack_require__(582),
36726
  __webpack_require__(280),
36727
  __webpack_require__(275),
36728
  __webpack_require__(276),
36729
- __webpack_require__(593),
36730
  __webpack_require__(597),
36731
- __webpack_require__(611),
36732
- __webpack_require__(613),
36733
  __webpack_require__(615),
 
 
36734
  __webpack_require__(290)
36735
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (
36736
  Backbone,
@@ -36773,7 +36831,6 @@ webpackJsonp([4],{
36773
  titleIsLink: false, // false|true
36774
  imageFullWidth: false, // true|false
36775
  featuredImagePosition: 'belowTitle', // 'aboveTitle'|'belowTitle'|'none'
36776
- // imageAlignment: 'centerPadded', // 'centerFull'|'centerPadded'|'left'|'right'|'alternate'|'none'
36777
  showAuthor: 'no', // 'no'|'aboveText'|'belowText'
36778
  authorPrecededBy: 'Author:',
36779
  showCategories: 'no', // 'no'|'aboveText'|'belowText'
@@ -36803,8 +36860,14 @@ webpackJsonp([4],{
36803
  },
36804
  initialize: function () {
36805
  var POST_REFRESH_DELAY_MS = 500;
36806
- var refreshAvailablePosts = _.debounce(this.fetchAvailablePosts.bind(this), POST_REFRESH_DELAY_MS);
36807
- var refreshTransformedPosts = _.debounce(this._refreshTransformedPosts.bind(this), POST_REFRESH_DELAY_MS);
 
 
 
 
 
 
36808
 
36809
  // Attach Radio.Requests API primarily for highlighting
36810
  _.extend(this, Radio.Requests);
@@ -37227,10 +37290,10 @@ webpackJsonp([4],{
37227
  },
37228
  changeReadMoreType: function (event) {
37229
  var value = jQuery(event.target).val();
37230
- if (value == 'link') {
37231
  this.$('.mailpoet_posts_read_more_text').removeClass('mailpoet_hidden');
37232
  this.$('.mailpoet_posts_select_button').addClass('mailpoet_hidden');
37233
- } else if (value == 'button') {
37234
  this.$('.mailpoet_posts_read_more_text').addClass('mailpoet_hidden');
37235
  this.$('.mailpoet_posts_select_button').removeClass('mailpoet_hidden');
37236
  }
@@ -37238,7 +37301,7 @@ webpackJsonp([4],{
37238
  },
37239
  changeDisplayType: function (event) {
37240
  var value = jQuery(event.target).val();
37241
- if (value == 'titleOnly') {
37242
  this.$('.mailpoet_posts_title_as_list').removeClass('mailpoet_hidden');
37243
  this.$('.mailpoet_posts_image_full_width_option').addClass('mailpoet_hidden');
37244
  this.$('.mailpoet_posts_image_separator').addClass('mailpoet_hidden');
@@ -37265,7 +37328,7 @@ webpackJsonp([4],{
37265
  },
37266
  changeTitleFormat: function (event) {
37267
  var value = jQuery(event.target).val();
37268
- if (value == 'ul') {
37269
  this.$('.mailpoet_posts_non_title_list_options').addClass('mailpoet_hidden');
37270
 
37271
  this.model.set('titleIsLink', true);
@@ -37310,7 +37373,7 @@ webpackJsonp([4],{
37310
 
37311
  /***/ },
37312
 
37313
- /***/ 622:
37314
  /***/ function(module, exports, __webpack_require__) {
37315
 
37316
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disable func-names */
@@ -37318,11 +37381,11 @@ webpackJsonp([4],{
37318
  * Social icons content block
37319
  */
37320
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
37321
- __webpack_require__(593),
37322
- __webpack_require__(611),
37323
- __webpack_require__(553),
37324
- __webpack_require__(581),
37325
- __webpack_require__(583),
37326
  __webpack_require__(280),
37327
  __webpack_require__(275)
37328
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (App, BaseBlock, Backbone, Marionette, SuperModel, _, jQuery) {
1
  webpackJsonp([4],{
2
 
3
+ /***/ 599:
4
  /***/ function(module, exports, __webpack_require__) {
5
 
6
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;
7
  'use strict';
8
 
9
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
10
+ __webpack_require__(597),
11
+ __webpack_require__(585),
12
+ __webpack_require__(587),
13
  __webpack_require__(280)
14
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (App, Marionette, SuperModel, _) { // eslint-disable-line func-names
15
  var Module = {};
103
  /***/ function(module, exports, __webpack_require__) {
104
 
105
  __webpack_require__(280);
106
+ __webpack_require__(557);
 
 
 
 
 
107
  __webpack_require__(585);
 
108
  __webpack_require__(587);
109
  __webpack_require__(588);
110
+ __webpack_require__(586);
111
+ __webpack_require__(290);
112
+ __webpack_require__(589);
113
+ __webpack_require__(590);
114
  __webpack_require__(591);
115
  __webpack_require__(592);
 
 
116
  __webpack_require__(595);
117
  __webpack_require__(596);
118
+ __webpack_require__(597);
119
  __webpack_require__(598);
120
  __webpack_require__(599);
121
  __webpack_require__(600);
 
 
122
  __webpack_require__(602);
123
  __webpack_require__(603);
124
  __webpack_require__(604);
125
+ __webpack_require__(601);
126
  __webpack_require__(605);
127
  __webpack_require__(606);
128
  __webpack_require__(607);
140
  __webpack_require__(619);
141
  __webpack_require__(620);
142
  __webpack_require__(621);
143
+ __webpack_require__(622);
144
+ __webpack_require__(623);
145
+ __webpack_require__(624);
146
+ __webpack_require__(625);
147
+ module.exports = __webpack_require__(626);
148
 
149
 
150
  /***/ },
7481
 
7482
  /***/ },
7483
 
7484
+ /***/ 533:
7485
  /***/ function(module, exports, __webpack_require__) {
7486
 
7487
+ /* WEBPACK VAR INJECTION */(function(global) {module.exports = global["html2canvas"] = __webpack_require__(534);
7488
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
7489
 
7490
  /***/ },
7491
 
7492
+ /***/ 534:
7493
  /***/ function(module, exports, __webpack_require__) {
7494
 
7495
  var require;var require;/* WEBPACK VAR INJECTION */(function(global) {/*
12030
 
12031
  /***/ },
12032
 
12033
+ /***/ 557:
12034
  /***/ function(module, exports, __webpack_require__) {
12035
 
12036
+ /* WEBPACK VAR INJECTION */(function(global) {module.exports = global["Backbone"] = __webpack_require__(558);
12037
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
12038
 
12039
  /***/ },
12040
 
12041
+ /***/ 558:
12042
  /***/ function(module, exports, __webpack_require__) {
12043
 
12044
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(global) {// Backbone.js 1.3.3
13966
 
13967
  /***/ },
13968
 
13969
+ /***/ 575:
13970
  /***/ function(module, exports, __webpack_require__) {
13971
 
13972
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;function requestFailed(errorMessage, xhr) {
14060
 
14061
  /***/ },
14062
 
14063
+ /***/ 578:
14064
  /***/ function(module, exports, __webpack_require__) {
14065
 
14066
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disable func-names */
14404
  }
14405
  jQuery('#mailpoet_panel').css({ minHeight: 'auto' });
14406
  break;
14407
+ default: throw new Error('Incorrect type');
14408
  }
14409
 
14410
  return this;
14441
  }
14442
  }.bind(this), 0);
14443
  break;
14444
+ default: throw new Error('Incorrect type');
14445
  }
14446
 
14447
  return this;
14484
  return this;
14485
  },
14486
  focus: function () {
14487
+ if (this.options.type === 'popup') {
14488
  jQuery('#mailpoet_' + this.options.type).focus();
14489
  } else {
14490
  // panel and subpanel
14621
  success: function () {
14622
  if (this.subpanels.length > 0) {
14623
  if (this.subpanels[(this.subpanels.length - 1)].onSuccess !== undefined) {
14624
+ this
14625
+ .subpanels[(this.subpanels.length - 1)]
14626
+ .onSuccess(this.subpanels[(this.subpanels.length - 1)].data);
 
 
14627
  }
14628
+ } else if (this.options.onSuccess !== null) {
14629
+ this.options.onSuccess(this.options.data);
14630
  }
14631
  this.close();
14632
 
14635
  cancel: function () {
14636
  if (this.subpanels.length > 0) {
14637
  if (this.subpanels[(this.subpanels.length - 1)].onCancel !== undefined) {
14638
+ this
14639
+ .subpanels[(this.subpanels.length - 1)]
14640
+ .onCancel(this.subpanels[(this.subpanels.length - 1)].data);
 
 
14641
  }
14642
+ } else if (this.options.onCancel !== null) {
14643
+ this.options.onCancel(this.options.data);
14644
  }
14645
  this.close();
14646
 
14708
 
14709
  /***/ },
14710
 
14711
+ /***/ 579:
14712
  /***/ function(module, exports, __webpack_require__) {
14713
 
14714
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
14715
 
14716
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(276), __webpack_require__(275)], __WEBPACK_AMD_DEFINE_RESULT__ = function (mp, jQuery) { // eslint-disable-line func-names
14717
+ /*= ==========================================================================================
14718
 
14719
  MailPoet Notice:
14720
 
14735
  // system message (static: true)
14736
  MailPoet.Notice.system('You need to updated ASAP!');
14737
 
14738
+ =========================================================================================== */
14739
  var MailPoet = mp;
14740
  MailPoet.Notice = {
14741
  version: 1.0,
14807
  // listen to message event
14808
  jQuery(this.element).on('setMessage', function (e, message) { // eslint-disable-line func-names
14809
  MailPoet.Notice.setMessage(message);
14810
+ });
14811
 
14812
  return this;
14813
  },
14864
  case 'error':
14865
  this.element.addClass('notice notice-error');
14866
  break;
14867
+ default:
14868
+ this.element.addClass('notice');
14869
+ break;
14870
  }
14871
 
14872
  // make the notice appear
14935
 
14936
  /***/ },
14937
 
14938
+ /***/ 585:
14939
  /***/ function(module, exports, __webpack_require__) {
14940
 
14941
  // MarionetteJS (Backbone.Marionette)
14949
 
14950
 
14951
  (function (global, factory) {
14952
+ true ? module.exports = factory(__webpack_require__(557), __webpack_require__(280), __webpack_require__(586)) :
14953
  typeof define === 'function' && define.amd ? define(['backbone', 'underscore', 'backbone.radio'], factory) :
14954
  (global.Marionette = global['Mn'] = factory(global.Backbone,global._,global.Backbone.Radio));
14955
  }(this, (function (Backbone,_,Radio) { 'use strict';
18430
 
18431
  /***/ },
18432
 
18433
+ /***/ 586:
18434
  /***/ function(module, exports, __webpack_require__) {
18435
 
18436
  // Backbone.Radio v2.0.0
18437
 
18438
  (function (global, factory) {
18439
+ true ? module.exports = factory(__webpack_require__(280), __webpack_require__(557)) :
18440
  typeof define === 'function' && define.amd ? define(['underscore', 'backbone'], factory) :
18441
  (global.Backbone = global.Backbone || {}, global.Backbone.Radio = factory(global._,global.Backbone));
18442
  }(this, function (_,Backbone) { 'use strict';
18786
 
18787
  /***/ },
18788
 
18789
+ /***/ 587:
18790
  /***/ function(module, exports) {
18791
 
18792
  Backbone.SuperModel = (function(_, Backbone){
19209
 
19210
  /***/ },
19211
 
19212
+ /***/ 588:
19213
  /***/ function(module, exports, __webpack_require__) {
19214
 
19215
  /**
25193
 
25194
  /***/ },
25195
 
25196
+ /***/ 589:
25197
  /***/ function(module, exports, __webpack_require__) {
25198
 
25199
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// Spectrum Colorpicker v1.8.0
27523
 
27524
  /***/ },
27525
 
27526
+ /***/ 590:
27527
  /***/ function(module, exports) {
27528
 
27529
  // Generated by CoffeeScript 1.9.2
27794
 
27795
  /***/ },
27796
 
27797
+ /***/ 591:
27798
  /***/ function(module, exports) {
27799
 
27800
  /* Blob.js
28015
 
28016
  /***/ },
28017
 
28018
+ /***/ 592:
28019
  /***/ function(module, exports, __webpack_require__) {
28020
 
28021
  var __WEBPACK_AMD_DEFINE_RESULT__;/* FileSaver.js
28201
 
28202
  if (typeof module !== "undefined" && module.exports) {
28203
  module.exports.saveAs = saveAs;
28204
+ } else if (("function" !== "undefined" && __webpack_require__(593) !== null) && (__webpack_require__(594) !== null)) {
28205
  !(__WEBPACK_AMD_DEFINE_RESULT__ = function() {
28206
  return saveAs;
28207
  }.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
28210
 
28211
  /***/ },
28212
 
28213
+ /***/ 593:
28214
  /***/ function(module, exports) {
28215
 
28216
  module.exports = function() { throw new Error("define cannot be used indirect"); };
28218
 
28219
  /***/ },
28220
 
28221
+ /***/ 594:
28222
  /***/ function(module, exports) {
28223
 
28224
  /* WEBPACK VAR INJECTION */(function(__webpack_amd_options__) {module.exports = __webpack_amd_options__;
28227
 
28228
  /***/ },
28229
 
28230
+ /***/ 595:
28231
  /***/ function(module, exports, __webpack_require__) {
28232
 
28233
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/*** IMPORTS FROM imports-loader ***/
32123
 
32124
  /***/ },
32125
 
32126
+ /***/ 596:
32127
  /***/ function(module, exports, __webpack_require__) {
32128
 
32129
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
32130
 
32131
+ var Marionette = __webpack_require__(585);
32132
+ var Radio = __webpack_require__(586);
32133
+ var _ = __webpack_require__(280);
32134
+
32135
  /**
32136
  * This shim replaces the default Backbone.Marionette communication library
32137
  * Backbone.Wreqr with Backbone.Radio ahead of time,
32140
  * Courtesy of https://gist.github.com/jmeas/7992474cdb1c5672d88b
32141
  */
32142
 
32143
+ (function communicationsFix(root, factory) {
 
 
 
32144
  if (true) {
32145
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(585), __webpack_require__(586), __webpack_require__(280)], __WEBPACK_AMD_DEFINE_RESULT__ = function factoryCallback(BackboneMarionette, BackboneRadio, underscore) {
32146
+ return factory(BackboneMarionette, BackboneRadio, underscore);
32147
+ }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
32148
  }
32149
  else if (typeof exports !== 'undefined') {
32150
  module.exports = factory(Marionette, Radio, _);
32152
  else {
32153
  factory(root.Backbone.Marionette, root.Backbone.Radio, root._);
32154
  }
32155
+ }(this, function factory(MarionetteLibrary, RadioLibrary, underscore) {
32156
+ var MarionetteApplication = MarionetteLibrary.Application;
32157
+ MarionetteApplication.prototype._initChannel = function initChannel() {
32158
+ this.channelName = underscore.result(this, 'channelName') || 'global';
32159
+ this.channel = underscore.result(this, 'channel') || RadioLibrary.channel(this.channelName);
32160
  };
32161
  }));
32162
 
32163
 
32164
  /***/ },
32165
 
32166
+ /***/ 597:
32167
  /***/ function(module, exports, __webpack_require__) {
32168
 
32169
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
32170
+ __webpack_require__(557),
32171
+ __webpack_require__(585),
32172
+ __webpack_require__(586)
32173
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (Backbone, Marionette, BackboneRadio) { // eslint-disable-line func-names
32174
  var Radio = BackboneRadio;
32175
 
32209
 
32210
  /***/ },
32211
 
32212
+ /***/ 598:
32213
  /***/ function(module, exports, __webpack_require__) {
32214
 
32215
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
32216
+ __webpack_require__(597),
32217
+ __webpack_require__(587)
32218
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (App, SuperModel) { // eslint-disable-line func-names
32219
  var Module = {};
32220
 
32259
 
32260
  /***/ },
32261
 
32262
+ /***/ 600:
32263
  /***/ function(module, exports, __webpack_require__) {
32264
 
32265
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disable func-names */
32266
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
 
32267
  __webpack_require__(597),
32268
+ __webpack_require__(601),
32269
  __webpack_require__(276),
32270
+ __webpack_require__(557),
32271
+ __webpack_require__(585),
32272
+ __webpack_require__(587),
32273
  __webpack_require__(280),
32274
  __webpack_require__(275)
32275
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (
32334
  easing: 'easeOut',
32335
  complete: function () {
32336
  $openRegion.addClass('closed');
32337
+ }
32338
  }
32339
  );
32340
 
32655
 
32656
  /***/ },
32657
 
32658
+ /***/ 601:
32659
  /***/ function(module, exports, __webpack_require__) {
32660
 
32661
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disable func-names */
32662
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
32663
+ __webpack_require__(597),
32664
  __webpack_require__(280),
32665
  __webpack_require__(276),
32666
+ __webpack_require__(575)
32667
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (App, _, MailPoet) {
32668
  var Module = {};
32669
 
32769
 
32770
  /***/ },
32771
 
32772
+ /***/ 602:
32773
  /***/ function(module, exports, __webpack_require__) {
32774
 
32775
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
32776
 
32777
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
32778
+ __webpack_require__(597),
32779
+ __webpack_require__(587),
32780
  __webpack_require__(280),
32781
  __webpack_require__(276)
32782
+ ], __WEBPACK_AMD_DEFINE_RESULT__ = function content(App, SuperModel, _, MailPoet) {
32783
  var Module = {};
32784
 
32785
  // Holds newsletter entry fields, such as subject or creation datetime.
32787
  // handled by other components.
32788
  Module.NewsletterModel = SuperModel.extend({
32789
  whitelisted: ['id', 'subject', 'preheader', 'type'],
32790
+ initialize: function initialize() {
32791
+ this.on('change', function onChange() {
32792
  App.getChannel().trigger('autoSave');
32793
  });
32794
  },
32795
+ toJSON: function toJSON() {
32796
  // Use only whitelisted properties to ensure properties editor
32797
  // doesn't control don't change.
32798
  return _.pick(SuperModel.prototype.toJSON.call(this), this.whitelisted);
32801
 
32802
  // Content block view and model handlers for different content types
32803
  Module._blockTypes = {};
32804
+ Module.registerBlockType = function registerBlockType(type, data) {
32805
  Module._blockTypes[type] = data;
32806
  };
32807
+ Module.getBlockTypeModel = function getBlockTypeModel(type) {
32808
  if (type in Module._blockTypes) {
32809
  return Module._blockTypes[type].blockModel;
32810
  }
32811
+ throw new Error('Block type not supported: ' + type);
32812
  };
32813
+ Module.getBlockTypeView = function getBlockTypeView(type) {
32814
  if (type in Module._blockTypes) {
32815
  return Module._blockTypes[type].blockView;
32816
  }
32817
+ throw new Error('Block type not supported: ' + type);
32818
  };
32819
 
32820
+ Module.getBody = function getBody() {
32821
  return {
32822
  content: App._contentContainer.toJSON(),
32823
  globalStyles: App.getGlobalStyles().toJSON()
32824
  };
32825
  };
32826
 
32827
+ Module.toJSON = function toJSON() {
32828
  return _.extend({
32829
  body: Module.getBody()
32830
  }, App.getNewsletter().toJSON());
32831
  };
32832
 
32833
+ Module.getNewsletter = function getNewsletter() {
32834
  return Module.newsletter;
32835
  };
32836
 
32837
+ Module.findModels = function findModels(predicate) {
32838
  var blocks = App._contentContainer.getChildren();
32839
  return _.filter(blocks, predicate);
32840
  };
32841
 
32842
+ App.on('before:start', function appBeforeStart(Application, options) {
32843
  var BeforeStartApp = Application;
32844
  // Expose block methods globally
32845
  BeforeStartApp.registerBlockType = Module.registerBlockType;
32853
  Module.newsletter = new Module.NewsletterModel(_.omit(_.clone(options.newsletter), ['body']));
32854
  });
32855
 
32856
+ App.on('start', function appOnStart(Application, options) {
32857
  var StartApp = Application;
32858
  var body = options.newsletter.body;
32859
+ var bodyContent = (_.has(body, 'content')) ? body.content : {};
32860
 
32861
  if (!_.has(options.newsletter, 'body') || !_.isObject(options.newsletter.body)) {
32862
  MailPoet.Notice.error(
32865
  );
32866
  }
32867
 
32868
+ StartApp._contentContainer = new (StartApp.getBlockTypeModel('container'))(bodyContent, { parse: true });
32869
  StartApp._contentContainerView = new (StartApp.getBlockTypeView('container'))({
32870
  model: StartApp._contentContainer,
32871
  renderOptions: { depth: 0 }
32881
 
32882
  /***/ },
32883
 
32884
+ /***/ 603:
32885
  /***/ function(module, exports, __webpack_require__) {
32886
 
32887
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
32888
 
32889
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
32890
+ __webpack_require__(597),
32891
+ __webpack_require__(557),
32892
+ __webpack_require__(585),
32893
  __webpack_require__(280),
32894
  __webpack_require__(275),
32895
  __webpack_require__(276)
32933
 
32934
  /***/ },
32935
 
32936
+ /***/ 604:
32937
  /***/ function(module, exports, __webpack_require__) {
32938
 
32939
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disable func-names */
32940
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
 
32941
  __webpack_require__(597),
32942
+ __webpack_require__(601),
32943
  __webpack_require__(276),
32944
+ __webpack_require__(579),
32945
+ __webpack_require__(557),
32946
+ __webpack_require__(585),
32947
  __webpack_require__(275),
32948
+ __webpack_require__(591),
32949
+ __webpack_require__(592),
32950
+ __webpack_require__(533),
32951
  __webpack_require__(280),
32952
  __webpack_require__(275)
32953
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (
33070
  var data = _.extend(options || {}, {
33071
  thumbnail: thumbnail.toDataURL('image/jpeg'),
33072
  body: App.getBody(),
33073
+ categories: JSON.stringify(['saved', App.getNewsletter().get('type')])
33074
  });
33075
  var blob = new Blob(
33076
  [JSON.stringify(data)],
33325
 
33326
  /***/ },
33327
 
33328
+ /***/ 605:
33329
  /***/ function(module, exports, __webpack_require__) {
33330
 
33331
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
33335
  * For more check: http://marionettejs.com/docs/marionette.behaviors.html#behaviorslookup
33336
  */
33337
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
33338
+ __webpack_require__(585)
33339
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (BackboneMarionette) { // eslint-disable-line func-names
33340
  var Marionette = BackboneMarionette;
33341
  var BehaviorsLookup = {};
33351
 
33352
  /***/ },
33353
 
33354
+ /***/ 606:
33355
  /***/ function(module, exports, __webpack_require__) {
33356
 
33357
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
33360
  * Adds a color picker integration with the view
33361
  */
33362
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
33363
+ __webpack_require__(585),
33364
+ __webpack_require__(605),
33365
  __webpack_require__(276),
33366
+ __webpack_require__(589)
33367
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (Marionette, BehaviorsLookup, MailPoet) { // eslint-disable-line func-names
33368
  var BL = BehaviorsLookup;
33369
 
33405
 
33406
  /***/ },
33407
 
33408
+ /***/ 607:
33409
  /***/ function(module, exports, __webpack_require__) {
33410
 
33411
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disable func-names */
33417
  * accept droppables
33418
  */
33419
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
33420
+ __webpack_require__(585),
33421
  __webpack_require__(280),
33422
  __webpack_require__(275),
33423
+ __webpack_require__(605),
33424
+ __webpack_require__(588)
33425
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (Marionette, _, jQuery, BL, interact) {
33426
  var BehaviorsLookup = BL;
33427
 
33430
  columnLimit: 3
33431
  },
33432
  onRender: function () {
33433
+ var dragAndDropDisabled = (
33434
+ _.isObject(this.view.options.renderOptions)
33435
+ && this.view.options.renderOptions.disableDragAndDrop === true
33436
+ );
33437
  if (!dragAndDropDisabled) {
33438
  this.addDropZone();
33439
  }
33473
  // 1. Compute actual location of the mouse within the container
33474
  // 2. Check if insertion is regular (between blocks) or special (with container insertion)
33475
  // 3a. If insertion is regular, compute position where insertion should happen
33476
+ // 3b. If insertion is special,
33477
+ // compute position (which side) and which cell the insertion belongs to
33478
+ // 4. If insertion at that position is not visualized,
33479
+ // display position visualization there,
33480
+ // remove other visualizations from this container
33481
  var dropPosition = that.getDropPosition(
33482
  event.dragmove.pageX,
33483
  event.dragmove.pageY,
33515
  markerHeight = targetElement.height();
33516
  } else {
33517
  isLastBlockInsertion = that.getCollection().length === dropPosition.index;
33518
+ if (isLastBlockInsertion) {
33519
+ targetModel = viewCollection.at(dropPosition.index - 1);
33520
+ } else {
33521
+ targetModel = viewCollection.at(dropPosition.index);
33522
+ }
33523
 
33524
  targetView = that.getChildren().findByModel(targetModel);
33525
  targetElement = targetView.$el;
33576
  // compensated for to position marker right in the middle of two
33577
  // blocks
33578
  if (dropPosition.position === 'before') {
33579
+ $targetBlock = that
33580
+ .getChildren()
33581
+ .findByModel(viewCollection.at(dropPosition.index - 1))
33582
+ .$el;
33583
  } else {
33584
+ $targetBlock = that
33585
+ .getChildren()
33586
+ .findByModel(viewCollection.at(dropPosition.index))
33587
+ .$el;
33588
  }
33589
  margin = $targetBlock.outerHeight(true) - $targetBlock.outerHeight();
33590
 
33605
  // 3b1. compute position (which side) and which cell the insertion belongs to
33606
  // 3b2. remove element at that position from the collection
33607
  // 3b3. create a new collection, insert the removed element to it
33608
+ // 3b4. insert the droppable model at the start or end of the new collection,
33609
+ // depending on 3b1. position
33610
  // 3b5. insert the new collection into the old collection to cell from 3b1.
33611
  // 4. Perform cleanup actions
33612
 
33687
  viewCollection.add(tempCollection, { at: dropPosition.index });
33688
 
33689
  // Call post add actions
33690
+ droppedView = that
33691
+ .getChildren()
33692
+ .findByModel(tempCollection)
33693
+ .children
33694
+ .findByModel(droppableModel);
33695
  }
33696
 
33697
  // Call post add actions
33762
  SPECIAL_AREA_INSERTION_WIDTH = 0.5;
33763
  }
33764
 
33765
+ if (
33766
+ relativeOffset <= elementLength * SPECIAL_AREA_INSERTION_WIDTH
33767
+ && (unsafe || canAcceptSpecialInsertion)
33768
+ ) {
33769
  insertionType = 'special';
33770
  position = 'before';
33771
  index = this._computeSpecialIndex(eventX, eventY);
33772
+ } else if (
33773
+ relativeOffset > elementLength * (1 - SPECIAL_AREA_INSERTION_WIDTH)
33774
+ && (unsafe || canAcceptSpecialInsertion)
33775
+ ) {
33776
  insertionType = 'special';
33777
  position = 'after';
33778
  index = this._computeSpecialIndex(eventX, eventY);
33829
  elementDimension = element.outerWidth(true);
33830
  }
33831
 
33832
+ if (eventOffset <= closeOffset + (elementDimension / 2)) {
33833
  // First half of the element
33834
  return {
33835
  index: index,
33897
 
33898
  /***/ },
33899
 
33900
+ /***/ 608:
33901
  /***/ function(module, exports, __webpack_require__) {
33902
 
33903
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
33907
  * Part of the drag&drop behavior.
33908
  */
33909
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
33910
+ __webpack_require__(585),
33911
  __webpack_require__(280),
33912
  __webpack_require__(275),
33913
+ __webpack_require__(605),
33914
+ __webpack_require__(588)
33915
+ ], __WEBPACK_AMD_DEFINE_RESULT__ = function DraggableBehavior(Marionette, _, jQuery, BehaviorsLookup, interact) {
33916
  var BL = BehaviorsLookup;
33917
 
33918
  BL.DraggableBehavior = Marionette.Behavior.extend({
33926
  *
33927
  * @return Backbone.Model A model that will be passed to the receiver
33928
  */
33929
+ getDropModel: function getDropModel() {
33930
+ throw new Error("Missing 'drop' function for DraggableBehavior");
33931
  },
33932
 
33933
+ onDrop: function onDrop() {},
33934
+ testAttachToInstance: function testAttachToInstance() { return true; }
33935
  },
33936
+ onRender: function onRender() {
33937
  var that = this;
33938
  var interactable;
33939
 
33949
  // Scroll when dragging near edges of a window
33950
  autoScroll: true,
33951
 
33952
+ onstart: function onstart(startEvent) {
33953
  var event = startEvent;
33954
  var centerXOffset;
33955
  var centerYOffset;
33959
 
33960
  if (that.options.cloneOriginal === true) {
33961
  // Use substitution instead of a clone
33962
+ if (_.isFunction(that.options.onDragSubstituteBy)) {
33963
+ tempClone = that.options.onDragSubstituteBy(that);
33964
+ }
33965
  // Or use a clone
33966
  clone = tempClone || event.target.cloneNode(true);
33967
  jQuery(event.target);
33990
  }
33991
  },
33992
  // call this function on every dragmove event
33993
+ onmove: function onmove(event) {
33994
  var target = event.target;
33995
  // keep the dragged position in the data-x/data-y attributes
33996
  var x = (parseFloat(target.getAttribute('data-x')) || 0) + event.dx;
34004
  target.setAttribute('data-x', x);
34005
  target.setAttribute('data-y', y);
34006
  },
34007
+ onend: function onend(event) {
34008
  var target = event.target;
34009
  target.style.transform = '';
34010
  target.style.webkitTransform = target.style.transform;
34023
  })
34024
  .preventDefault('auto')
34025
  .styleCursor(false)
34026
+ .actionChecker(function actionChecker(pointer, event, action) {
34027
  // Disable dragging with right click
34028
  if (event.button !== 0) {
34029
  return null;
34037
  } else {
34038
  interactable.getDropModel = this.view.getDropFunc();
34039
  }
34040
+ interactable.onDrop = function onDrop(opts) {
34041
  var options = opts;
34042
  if (_.isObject(options)) {
34043
  // Inject Draggable behavior if possible
34053
 
34054
  /***/ },
34055
 
34056
+ /***/ 609:
34057
  /***/ function(module, exports, __webpack_require__) {
34058
 
34059
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
34062
  * Highlights a container block when hovering over its tools
34063
  */
34064
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
34065
+ __webpack_require__(585),
34066
+ __webpack_require__(605)
34067
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (Marionette, BehaviorsLookup) { // eslint-disable-line func-names
34068
  var BL = BehaviorsLookup;
34069
 
34086
 
34087
  /***/ },
34088
 
34089
+ /***/ 610:
34090
  /***/ function(module, exports, __webpack_require__) {
34091
 
34092
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
34095
  * Highlights a block that is being edited
34096
  */
34097
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
34098
+ __webpack_require__(585),
34099
+ __webpack_require__(605)
34100
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (Marionette, BehaviorsLookup) { // eslint-disable-line func-names
34101
  var BL = BehaviorsLookup;
34102
 
34119
 
34120
  /***/ },
34121
 
34122
+ /***/ 611:
34123
  /***/ function(module, exports, __webpack_require__) {
34124
 
34125
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
34128
  * Allows resizing elements within a block
34129
  */
34130
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
34131
+ __webpack_require__(585),
34132
+ __webpack_require__(605),
34133
+ __webpack_require__(588)
34134
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (Marionette, BehaviorsLookup, interact) { // eslint-disable-line func-names
34135
  var BL = BehaviorsLookup;
34136
 
34138
  defaults: {
34139
  elementSelector: null,
34140
  resizeHandleSelector: true, // true will use edges of the element itself
34141
+ // for blocks that use the default onResize function
34142
+ transformationFunction: function transformationFunction(y) { return y; },
34143
  minLength: 0,
34144
  maxLength: Infinity,
34145
  modelField: 'styles.block.height',
34162
  }
34163
  },
34164
  attachResize: function () { // eslint-disable-line func-names
34165
+ var domElement;
34166
  var that = this;
34167
+ if (this.options.elementSelector === null) {
34168
+ domElement = this.view.$el.get(0);
34169
+ } else {
34170
+ domElement = this.view.$(this.options.elementSelector).get(0);
34171
+ }
34172
  interact(domElement).resizable({
34173
  // axis: 'y',
34174
  edges: {
34206
 
34207
  /***/ },
34208
 
34209
+ /***/ 612:
34210
  /***/ function(module, exports, __webpack_require__) {
34211
 
34212
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
34215
  * Allows sorting elements within a collection
34216
  */
34217
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
34218
+ __webpack_require__(585),
34219
  __webpack_require__(280),
34220
+ __webpack_require__(605)
34221
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (Marionette, _, BehaviorsLookup) { // eslint-disable-line func-names
34222
  var BL = BehaviorsLookup;
34223
 
34254
 
34255
  /***/ },
34256
 
34257
+ /***/ 613:
34258
  /***/ function(module, exports, __webpack_require__) {
34259
 
34260
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
34263
  * Opens up settings of a BlockView if contents are clicked upon
34264
  */
34265
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
34266
+ __webpack_require__(585),
34267
  __webpack_require__(275),
34268
+ __webpack_require__(605)
34269
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (Marionette, jQuery, BehaviorsLookup) { // eslint-disable-line func-names
34270
  var BL = BehaviorsLookup;
34271
 
34293
 
34294
  /***/ },
34295
 
34296
+ /***/ 614:
34297
  /***/ function(module, exports, __webpack_require__) {
34298
 
34299
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
34302
  * Adds TinyMCE text editing capabilities to a view
34303
  */
34304
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
34305
+ __webpack_require__(585),
34306
  __webpack_require__(280),
34307
+ __webpack_require__(605)
34308
+ ], __WEBPACK_AMD_DEFINE_RESULT__ = function textEditorBehavior(Marionette, _, BehaviorsLookup) {
34309
  var BL = BehaviorsLookup;
34310
 
34311
  BL.TextEditorBehavior = Marionette.Behavior.extend({
34317
  invalidElements: 'script',
34318
  blockFormats: 'Paragraph=p',
34319
  plugins: 'link textcolor colorpicker mailpoet_shortcodes',
34320
+ configurationFilter: function configurationFilter(originalConfig) { return originalConfig; }
34321
  },
34322
+ onDomRefresh: function onDomRefresh() {
34323
  var that = this;
34324
  if (this.view.disableTextEditor === true) {
34325
  return;
34340
  relative_urls: false,
34341
  remove_script_host: false,
34342
  convert_urls: true,
34343
+ urlconverter_callback: function urlconverterCallback(url) {
34344
  if (url.match(/\[.+\]/g)) {
34345
  // Do not convert URLs with shortcodes
34346
  return url;
34354
 
34355
  plugins: this.options.plugins,
34356
 
34357
+ setup: function setup(editor) {
34358
+ editor.on('change', function onChange() {
34359
  that.view.triggerMethod('text:editor:change', editor.getContent());
34360
  });
34361
 
34362
+ editor.on('click', function onClick(e) {
34363
  editor.focus();
34364
  if (that._isActivationClick) {
34365
  editor.selection.setRng(
34366
+ window.tinymce.dom.RangeUtils.getCaretRangeFromPoint(
34367
+ e.clientX,
34368
+ e.clientY,
34369
+ editor.getDoc()
34370
+ )
34371
  );
34372
  that._isActivationClick = false;
34373
  }
34374
  });
34375
 
34376
+ editor.on('focus', function onFocus() {
34377
  that.view.triggerMethod('text:editor:focus');
34378
  that._isActivationClick = true;
34379
  });
34380
 
34381
+ editor.on('blur', function onBlur() {
34382
  that.view.triggerMethod('text:editor:blur');
34383
  });
34384
  }
34390
 
34391
  /***/ },
34392
 
34393
+ /***/ 615:
34394
  /***/ function(module, exports, __webpack_require__) {
34395
 
34396
+ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
 
34397
  * Defines base classes for actual content blocks to extend.
34398
  * Extending content block modules need to at least extend
34399
  * a BlockModel and a BlockView.
34400
  * BlockToolsView, BlockSettingsView and BlockWidgetView are optional.
34401
  */
34402
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
34403
+ __webpack_require__(597),
34404
+ __webpack_require__(585),
34405
+ __webpack_require__(587),
34406
  __webpack_require__(280),
34407
  __webpack_require__(275),
34408
  __webpack_require__(276),
34409
+ __webpack_require__(578)
34410
+ ], __WEBPACK_AMD_DEFINE_RESULT__ = function base(App, Marionette, SuperModel, _, jQuery, MailPoet) {
34411
  'use strict';
34412
 
34413
  var Module = {};
34415
 
34416
  Module.BlockModel = SuperModel.extend({
34417
  stale: [], // Attributes to be removed upon saving
34418
+ initialize: function initialize() {
34419
+ this.on('change', function onChange() {
34420
  App.getChannel().trigger('autoSave');
34421
  });
34422
  },
34423
+ _getDefaults: function getDefaults(blockDefaults, configDefaults) {
34424
+ var defaults;
34425
+ if (_.isObject(configDefaults) && _.isFunction(configDefaults.toJSON)) {
34426
+ defaults = configDefaults.toJSON();
34427
+ } else {
34428
+ defaults = configDefaults;
34429
+ }
34430
 
34431
  // Patch the resulting JSON object and fix it's constructors to be Object.
34432
  // Otherwise SuperModel interprets it not as a simpleObject
34434
  // TODO: Investigate for a better solution
34435
  return JSON.parse(JSON.stringify(jQuery.extend(blockDefaults, defaults || {})));
34436
  },
34437
+ toJSON: function toJSON() {
34438
  // Remove stale attributes from resulting JSON object
34439
  return _.omit(SuperModel.prototype.toJSON.call(this), this.stale);
34440
  },
34441
+ getChildren: function getChildren() {
34442
  return [];
34443
  }
34444
  });
34460
  DraggableBehavior: {
34461
  cloneOriginal: true,
34462
  hideOriginal: true,
34463
+ onDrop: function onDrop(options) {
34464
  // After a clone of model has been dropped, cleanup
34465
  // and destroy self
34466
  options.dragBehavior.view.model.destroy();
34467
  },
34468
+ onDragSubstituteBy: function onDragSubstituteBy(behavior) {
34469
  var WidgetView;
34470
  var node;
34471
  // When block is being dragged, display the widget icon instead.
34483
  },
34484
  HighlightEditingBehavior: {}
34485
  },
34486
+ templateContext: function templateContext() {
34487
  return {
34488
  model: this.model.toJSON(),
34489
  viewCid: this.cid
34490
  };
34491
  },
34492
+ constructor: function constructor() {
34493
  AugmentedView.apply(this, arguments);
34494
  this.$el.addClass('mailpoet_editor_view_' + this.cid);
34495
  },
34496
+ initialize: function initialize() {
34497
  this.on('showSettings', this.showSettings, this);
34498
  this.on('dom:refresh', this.showBlock, this);
34499
  this._isFirstRender = true;
34500
  },
34501
+ showTools: function showTools() {
34502
  if (!this.showingToolsDisabled) {
34503
  this.$('> .mailpoet_tools').addClass('mailpoet_display_tools');
34504
  this.toolsView.triggerMethod('showTools');
34505
  }
34506
  },
34507
+ hideTools: function hideTools() {
34508
  this.$('> .mailpoet_tools').removeClass('mailpoet_display_tools');
34509
  this.toolsView.triggerMethod('hideTools');
34510
  },
34511
+ enableShowingTools: function enableShowingTools() {
34512
  this.showingToolsDisabled = false;
34513
  },
34514
+ disableShowingTools: function disableShowingTools() {
34515
  this.showingToolsDisabled = true;
34516
  this.hideTools();
34517
  },
34518
+ showSettings: function showSettings(options) {
34519
  this.toolsView.triggerMethod('showSettings', options);
34520
  },
34521
  /**
34522
  * Defines drop behavior of BlockView instance
34523
  */
34524
+ getDropFunc: function getDropFunc() {
34525
+ return function getDropFuncClone() {
34526
  return this.model.clone();
34527
  }.bind(this);
34528
  },
34529
+ disableDragging: function disableDragging() {
34530
  this.$el.addClass('mailpoet_ignore_drag');
34531
  },
34532
+ enableDragging: function enableDragging() {
34533
  this.$el.removeClass('mailpoet_ignore_drag');
34534
  },
34535
+ showBlock: function showBlock() {
34536
  if (this._isFirstRender) {
34537
  this.transitionIn();
34538
  this._isFirstRender = false;
34539
  }
34540
  },
34541
+ deleteBlock: function deleteBlock() {
34542
+ this.transitionOut().then(function deleteBlockDestroy() {
34543
  this.model.destroy();
34544
  }.bind(this));
34545
  },
34546
+ duplicateBlock: function duplicateBlock() {
34547
+ this.model.collection.add(
34548
+ this.model.toJSON(),
34549
+ { at: this.model.collection.findIndex(this.model) }
34550
+ );
34551
  },
34552
+ transitionIn: function transitionIn() {
34553
  return this._transition('slideDown', 'fadeIn', 'easeOut');
34554
  },
34555
+ transitionOut: function transitionOut() {
34556
  return this._transition('slideUp', 'fadeOut', 'easeIn');
34557
  },
34558
+ _transition: function transition(slideDirection, fadeDirection, easing) {
34559
  var promise = jQuery.Deferred();
34560
 
34561
  this.$el.velocity(
34563
  {
34564
  duration: 250,
34565
  easing: easing,
34566
+ complete: function complete() {
34567
  promise.resolve();
34568
+ }
34569
  }
34570
  ).velocity(
34571
  fadeDirection,
34581
  });
34582
 
34583
  Module.BlockToolsView = AugmentedView.extend({
34584
+ getTemplate: function getTemplate() { return window.templates.genericBlockTools; },
34585
  events: {
34586
  'click .mailpoet_edit_block': 'changeSettings',
34587
  'click .mailpoet_delete_block_activate': 'showDeletionConfirmation',
34596
  duplicate: true,
34597
  move: true
34598
  },
34599
+ getSettingsView: function getSettingsView() { return Module.BlockSettingsView; },
34600
+ initialize: function initialize(opts) {
34601
  var options = opts || {};
34602
  if (!_.isUndefined(options.tools)) {
34603
  // Make a new block specific tool config object
34608
  this.on('hideTools', this.hideDeletionConfirmation, this);
34609
  this.on('showSettings', this.changeSettings);
34610
  },
34611
+ templateContext: function templateContext() {
34612
  return {
34613
  model: this.model.toJSON(),
34614
  viewCid: this.cid,
34615
  tools: this.tools
34616
  };
34617
  },
34618
+ changeSettings: function changeSettings(options) {
34619
  var ViewType = this.getSettingsView();
34620
  (new ViewType(_.extend({ model: this.model }, options || {}))).render();
34621
  },
34622
+ showDeletionConfirmation: function showDeletionConfirmation() {
34623
  this.$('.mailpoet_delete_block')
34624
  .closest('.mailpoet_block')
34625
  .find('> .mailpoet_block_highlight')
34627
 
34628
  this.$('.mailpoet_delete_block').addClass('mailpoet_delete_block_activated');
34629
  },
34630
+ hideDeletionConfirmation: function hideDeletionConfirmation() {
34631
  this.$('.mailpoet_delete_block')
34632
  .closest('.mailpoet_block')
34633
  .find('> .mailpoet_block_highlight')
34635
 
34636
  this.$('.mailpoet_delete_block').removeClass('mailpoet_delete_block_activated');
34637
  },
34638
+ deleteBlock: function deleteBlock(event) {
34639
  event.preventDefault();
34640
  this.model.trigger('delete');
34641
  return false;
34642
  },
34643
+ duplicateBlock: function duplicateBlock(event) {
34644
  event.preventDefault();
34645
  this.model.trigger('duplicate');
34646
  return false;
34652
  behaviors: {
34653
  ColorPickerBehavior: {}
34654
  },
34655
+ initialize: function initialize(params) {
34656
  var panelParams;
34657
  this.model.trigger('startEditing');
34658
  panelParams = {
34660
  template: '',
34661
  position: 'right',
34662
  width: App.getConfig().get('sidepanelWidth'),
34663
+ onCancel: function onCancel() {
34664
  this.destroy();
34665
  }.bind(this)
34666
  };
34671
  MailPoet.Modal.panel(panelParams);
34672
  }
34673
  },
34674
+ templateContext: function templateContext() {
34675
  return {
34676
  model: this.model.toJSON()
34677
  };
34678
  },
34679
+ close: function close() {
34680
  this.destroy();
34681
  },
34682
+ changeField: function changeField(field, event) {
34683
  this.model.set(field, jQuery(event.target).val());
34684
  },
34685
+ changePixelField: function changePixelField(field, event) {
34686
  this.changeFieldWithSuffix(field, event, 'px');
34687
  },
34688
+ changeFieldWithSuffix: function changeFieldWithSuffix(field, event, suffix) {
34689
  this.model.set(field, jQuery(event.target).val() + suffix);
34690
  },
34691
+ changeBoolField: function changeBoolField(field, event) {
34692
  this.model.set(field, (jQuery(event.target).val() === 'true'));
34693
  },
34694
+ changeBoolCheckboxField: function changeBoolCheckboxField(field, event) {
34695
  this.model.set(field, (!!jQuery(event.target).prop('checked')));
34696
  },
34697
+ changeColorField: function changeColorField(field, event) {
34698
  var value = jQuery(event.target).val();
34699
  if (value === '') {
34700
  value = 'transparent';
34701
  }
34702
  this.model.set(field, value);
34703
  },
34704
+ onBeforeDestroy: function onBeforeDestroy() {
34705
  MailPoet.Modal.close();
34706
  this.model.trigger('stopEditing');
34707
  }
34711
  className: 'mailpoet_widget mailpoet_droppable_block mailpoet_droppable_widget',
34712
  behaviors: {
34713
  DraggableBehavior: {
34714
+ drop: function drop() {
34715
+ throw new Error('Unsupported operation');
34716
  }
34717
  }
34718
  }
34724
 
34725
  /***/ },
34726
 
34727
+ /***/ 616:
34728
  /***/ function(module, exports, __webpack_require__) {
34729
 
34730
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disable func-names */
34734
  * as other containers.
34735
  */
34736
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
34737
+ __webpack_require__(557),
34738
+ __webpack_require__(585),
34739
  __webpack_require__(280),
34740
  __webpack_require__(275),
34741
+ __webpack_require__(597),
34742
+ __webpack_require__(615)
34743
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (Backbone, Marionette, _, jQuery, App, BaseBlock) {
34744
  'use strict';
34745
 
34904
  }));
34905
 
34906
  // TODO: Look for a better way to do this than here
34907
+ // Sets child container orientation HTML class here,
34908
+ // as child CollectionView won't have access to model
34909
+ // and will overwrite existing region element instead
34910
  this.$('> .mailpoet_container').attr('class', 'mailpoet_container mailpoet_container_' + this.model.get('orientation'));
34911
  },
34912
  showTools: function () {
35099
 
35100
  /***/ },
35101
 
35102
+ /***/ 617:
35103
  /***/ function(module, exports, __webpack_require__) {
35104
 
35105
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disable func-names */
35107
  * Button content block
35108
  */
35109
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
35110
+ __webpack_require__(597),
35111
+ __webpack_require__(615),
35112
  __webpack_require__(276),
35113
  __webpack_require__(280),
35114
  __webpack_require__(275)
35255
 
35256
  /***/ },
35257
 
35258
+ /***/ 618:
35259
  /***/ function(module, exports, __webpack_require__) {
35260
 
35261
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disable func-names */
35263
  * Image content block
35264
  */
35265
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
35266
+ __webpack_require__(597),
35267
+ __webpack_require__(615),
35268
  __webpack_require__(280),
35269
  __webpack_require__(276),
35270
  __webpack_require__(275)
35617
  function (size) { return Math.abs(targetImageWidth - sizes[size].width); }
35618
  );
35619
  var bestWidth = sizes[_.first(increasingByWidthDifference)].width;
35620
+ var imagesOfBestWidth = _.filter(
35621
+ _.values(sizes),
35622
+ function (size) { return size.width === bestWidth; }
35623
+ );
35624
 
35625
  // Maximize the height if there are multiple images with same width
35626
  var mainSize = _.max(imagesOfBestWidth, function (size) { return size.height; });
35695
 
35696
  /***/ },
35697
 
35698
+ /***/ 619:
35699
  /***/ function(module, exports, __webpack_require__) {
35700
 
35701
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
35704
  * Divider content block
35705
  */
35706
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
35707
+ __webpack_require__(597),
35708
+ __webpack_require__(615),
35709
  __webpack_require__(280),
35710
  __webpack_require__(275)
35711
+ ], __WEBPACK_AMD_DEFINE_RESULT__ = function dividerBlock(App, BaseBlock, _, jQuery) {
35712
  var Module = {};
35713
  var base = BaseBlock;
35714
 
35715
  Module.DividerBlockModel = base.BlockModel.extend({
35716
+ defaults: function defaults() {
35717
  return this._getDefaults({
35718
  type: 'divider',
35719
  styles: {
35731
 
35732
  Module.DividerBlockView = base.BlockView.extend({
35733
  className: 'mailpoet_block mailpoet_divider_block mailpoet_droppable_block',
35734
+ getTemplate: function getTemplate() { return window.templates.dividerBlock; },
35735
  modelEvents: _.omit(base.BlockView.prototype.modelEvents, 'change'),
35736
  behaviors: _.defaults({
35737
  ResizableBehavior: {
35738
  elementSelector: '.mailpoet_content',
35739
  resizeHandleSelector: '.mailpoet_resize_handle',
35740
+ transformationFunction: function transformationFunction(y) { return y / 2; },
35741
  minLength: 0, // TODO: Move this number to editor configuration
35742
  modelField: 'styles.block.padding'
35743
  },
35745
  ignoreFrom: '.mailpoet_resize_handle'
35746
  }
35747
  }, base.BlockView.prototype.behaviors),
35748
+ onDragSubstituteBy: function onDragSubstituteBy() { return Module.DividerWidgetView; },
35749
+ initialize: function initialize() {
35750
  var that = this;
35751
  base.BlockView.prototype.initialize.apply(this, arguments);
35752
 
35753
  // Listen for attempts to change all dividers in one go
35754
+ this._replaceDividerHandler = function replaceDividerHandler(data) {
35755
+ that.model.set(data); that.model.trigger('applyToAll');
35756
+ };
35757
  App.getChannel().on('replaceAllDividers', this._replaceDividerHandler);
35758
 
35759
  this.listenTo(this.model, 'change:src change:styles.block.backgroundColor change:styles.block.borderStyle change:styles.block.borderWidth change:styles.block.borderColor applyToAll', this.render);
35760
  this.listenTo(this.model, 'change:styles.block.padding', this.changePadding);
35761
  },
35762
+ templateContext: function templateContext() {
35763
  return _.extend({
35764
+ totalHeight: (parseInt(this.model.get('styles.block.padding'), 10) * 2) + parseInt(this.model.get('styles.block.borderWidth')) + 'px'
35765
  }, base.BlockView.prototype.templateContext.apply(this));
35766
  },
35767
+ onRender: function onRender() {
35768
  this.toolsView = new Module.DividerBlockToolsView({ model: this.model });
35769
  this.showChildView('toolsRegion', this.toolsView);
35770
  },
35771
+ onBeforeDestroy: function onBeforeDestroy() {
35772
  App.getChannel().off('replaceAllDividers', this._replaceDividerHandler);
35773
  this.stopListening(this.model);
35774
  },
35775
+ changePadding: function changePadding() {
35776
  this.$('.mailpoet_content').css('padding-top', this.model.get('styles.block.padding'));
35777
  this.$('.mailpoet_content').css('padding-bottom', this.model.get('styles.block.padding'));
35778
+ this.$('.mailpoet_resize_handle_text').text((parseInt(this.model.get('styles.block.padding'), 10) * 2) + parseInt(this.model.get('styles.block.borderWidth')) + 'px');
35779
  }
35780
  });
35781
 
35782
  Module.DividerBlockToolsView = base.BlockToolsView.extend({
35783
+ getSettingsView: function getSettingsView() { return Module.DividerBlockSettingsView; }
35784
  });
35785
 
35786
  Module.DividerBlockSettingsView = base.BlockSettingsView.extend({
35787
+ getTemplate: function getTemplate() { return window.templates.dividerBlockSettings; },
35788
+ events: function events() {
35789
  return {
35790
  'click .mailpoet_field_divider_style': 'changeStyle',
35791
 
35799
  'click .mailpoet_done_editing': 'close'
35800
  };
35801
  },
35802
+ modelEvents: function modelEvents() {
35803
  return {
35804
  'change:styles.block.borderColor': 'repaintDividerStyleOptions'
35805
  };
35806
  },
35807
+ templateContext: function templateContext() {
35808
  return _.extend({}, base.BlockView.prototype.templateContext.apply(this, arguments), {
35809
  availableStyles: App.getAvailableStyles().toJSON(),
35810
  renderOptions: this.renderOptions
35811
  });
35812
  },
35813
+ changeStyle: function changeStyle(event) {
35814
  var style = jQuery(event.currentTarget).data('style');
35815
  this.model.set('styles.block.borderStyle', style);
35816
  this.$('.mailpoet_field_divider_style').removeClass('mailpoet_active_divider_style');
35817
  this.$('.mailpoet_field_divider_style[data-style="' + style + '"]').addClass('mailpoet_active_divider_style');
35818
  },
35819
+ repaintDividerStyleOptions: function repaintDividerStyleOptions() {
35820
  this.$('.mailpoet_field_divider_style > div').css('border-top-color', this.model.get('styles.block.borderColor'));
35821
  },
35822
+ applyToAll: function applyToAll() {
35823
  App.getChannel().trigger('replaceAllDividers', this.model.toJSON());
35824
  },
35825
+ updateValueAndCall: function updateValueAndCall(fieldToUpdate, callable, event) {
35826
  this.$(fieldToUpdate).val(jQuery(event.target).val());
35827
  callable(event);
35828
  }
35829
  });
35830
 
35831
  Module.DividerWidgetView = base.WidgetView.extend({
35832
+ getTemplate: function getTemplate() { return window.templates.dividerInsertion; },
35833
  behaviors: {
35834
  DraggableBehavior: {
35835
  cloneOriginal: true,
35836
+ drop: function drop() {
35837
  return new Module.DividerBlockModel();
35838
  }
35839
  }
35840
  }
35841
  });
35842
+ App.on('before:start', function onBeforeStart(BeforeStartApp) {
35843
  BeforeStartApp.registerBlockType('divider', {
35844
  blockModel: Module.DividerBlockModel,
35845
  blockView: Module.DividerBlockView
35858
 
35859
  /***/ },
35860
 
35861
+ /***/ 620:
35862
  /***/ function(module, exports, __webpack_require__) {
35863
 
35864
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
35867
  * Text content block
35868
  */
35869
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
35870
+ __webpack_require__(597),
35871
+ __webpack_require__(615),
35872
  __webpack_require__(280),
35873
  __webpack_require__(276)
35874
+ ], __WEBPACK_AMD_DEFINE_RESULT__ = function textBlock(App, BaseBlock, _, MailPoet) {
35875
  var Module = {};
35876
  var base = BaseBlock;
35877
 
35878
  Module.TextBlockModel = base.BlockModel.extend({
35879
+ defaults: function defaults() {
35880
  return this._getDefaults({
35881
  type: 'text',
35882
  text: 'Edit this to insert text'
35886
 
35887
  Module.TextBlockView = base.BlockView.extend({
35888
  className: 'mailpoet_block mailpoet_text_block mailpoet_droppable_block',
35889
+ getTemplate: function getTemplate() { return window.templates.textBlock; },
35890
  modelEvents: _.omit(base.BlockView.prototype.modelEvents, 'change'), // Prevent rerendering on model change due to text editor redrawing
35891
  behaviors: _.extend({}, base.BlockView.prototype.behaviors, {
35892
  TextEditorBehavior: {
35896
  invalidElements: 'script',
35897
  blockFormats: 'Heading 1=h1;Heading 2=h2;Heading 3=h3;Paragraph=p',
35898
  plugins: 'link lists code textcolor colorpicker mailpoet_shortcodes paste',
35899
+ configurationFilter: function configurationFilter(originalSettings) {
35900
  return _.extend({}, originalSettings, {
35901
  mailpoet_shortcodes: App.getConfig().get('shortcodes').toJSON(),
35902
  mailpoet_shortcodes_window_title: MailPoet.I18n.t('shortcodesWindowTitle')
35904
  }
35905
  }
35906
  }),
35907
+ initialize: function initialize(options) {
35908
  base.BlockView.prototype.initialize.apply(this, arguments);
35909
 
35910
  this.renderOptions = _.defaults(options.renderOptions || {}, {
35913
 
35914
  this.disableTextEditor = this.renderOptions.disableTextEditor;
35915
  },
35916
+ onDragSubstituteBy: function onDragSubstituteBy() { return Module.TextWidgetView; },
35917
+ onRender: function onRender() {
35918
  this.toolsView = new Module.TextBlockToolsView({
35919
  model: this.model,
35920
  tools: {
35923
  });
35924
  this.showChildView('toolsRegion', this.toolsView);
35925
  },
35926
+ onTextEditorChange: function onTextEditorChange(newContent) {
35927
  this.model.set('text', newContent);
35928
  },
35929
+ onTextEditorFocus: function onTextEditorFocus() {
35930
  this.disableDragging();
35931
  this.disableShowingTools();
35932
  },
35933
+ onTextEditorBlur: function onTextEditorBlur() {
35934
  this.enableDragging();
35935
  this.enableShowingTools();
35936
  }
35937
  });
35938
 
35939
  Module.TextBlockToolsView = base.BlockToolsView.extend({
35940
+ getSettingsView: function getSettingsView() { return Module.TextBlockSettingsView; }
35941
  });
35942
 
35943
  Module.TextBlockSettingsView = base.BlockSettingsView.extend({
35944
+ getTemplate: function getTemplate() { return window.templates.textBlockSettings; }
35945
  });
35946
 
35947
  Module.TextWidgetView = base.WidgetView.extend({
35948
+ getTemplate: function getTemplate() { return window.templates.textInsertion; },
35949
  behaviors: {
35950
  DraggableBehavior: {
35951
  cloneOriginal: true,
35952
+ drop: function drop() {
35953
  return new Module.TextBlockModel();
35954
  }
35955
  }
35956
  }
35957
  });
35958
 
35959
+ App.on('before:start', function beforeAppStart(BeforeStartApp) {
35960
  BeforeStartApp.registerBlockType('text', {
35961
  blockModel: Module.TextBlockModel,
35962
  blockView: Module.TextBlockView
35976
 
35977
  /***/ },
35978
 
35979
+ /***/ 621:
35980
  /***/ function(module, exports, __webpack_require__) {
35981
 
35982
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
35985
  * Spacer content block
35986
  */
35987
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
35988
+ __webpack_require__(597),
35989
+ __webpack_require__(615),
35990
  __webpack_require__(280)
35991
+ ], __WEBPACK_AMD_DEFINE_RESULT__ = function spacerBlock(App, BaseBlock, _) {
35992
  var Module = {};
35993
  var base = BaseBlock;
35994
 
35995
  Module.SpacerBlockModel = base.BlockModel.extend({
35996
+ defaults: function defaults() {
35997
  return this._getDefaults({
35998
  type: 'spacer',
35999
  styles: {
36008
 
36009
  Module.SpacerBlockView = base.BlockView.extend({
36010
  className: 'mailpoet_block mailpoet_spacer_block mailpoet_droppable_block',
36011
+ getTemplate: function getTemplate() { return window.templates.spacerBlock; },
36012
  behaviors: _.defaults({
36013
  ResizableBehavior: {
36014
  elementSelector: '.mailpoet_spacer',
36021
  }
36022
  }, base.BlockView.prototype.behaviors),
36023
  modelEvents: _.omit(base.BlockView.prototype.modelEvents, 'change'),
36024
+ onDragSubstituteBy: function onDragSubstituteBy() { return Module.SpacerWidgetView; },
36025
+ initialize: function initialize() {
36026
  base.BlockView.prototype.initialize.apply(this, arguments);
36027
 
36028
  this.listenTo(this.model, 'change:styles.block.backgroundColor', this.render);
36029
  this.listenTo(this.model, 'change:styles.block.height', this.changeHeight);
36030
  },
36031
+ onRender: function onRender() {
36032
  this.toolsView = new Module.SpacerBlockToolsView({ model: this.model });
36033
  this.showChildView('toolsRegion', this.toolsView);
36034
  },
36035
+ changeHeight: function changeHeight() {
36036
  this.$('.mailpoet_spacer').css('height', this.model.get('styles.block.height'));
36037
  this.$('.mailpoet_resize_handle_text').text(this.model.get('styles.block.height'));
36038
  },
36039
+ onBeforeDestroy: function onBeforeDestroy() {
36040
  this.stopListening(this.model);
36041
  }
36042
  });
36043
 
36044
  Module.SpacerBlockToolsView = base.BlockToolsView.extend({
36045
+ getSettingsView: function getSettingsView() { return Module.SpacerBlockSettingsView; }
36046
  });
36047
 
36048
  Module.SpacerBlockSettingsView = base.BlockSettingsView.extend({
36049
+ getTemplate: function getTemplate() { return window.templates.spacerBlockSettings; },
36050
+ events: function events() {
36051
  return {
36052
  'change .mailpoet_field_spacer_background_color': _.partial(this.changeColorField, 'styles.block.backgroundColor'),
36053
  'click .mailpoet_done_editing': 'close'
36056
  });
36057
 
36058
  Module.SpacerWidgetView = base.WidgetView.extend({
36059
+ getTemplate: function getTemplate() { return window.templates.spacerInsertion; },
36060
  behaviors: {
36061
  DraggableBehavior: {
36062
  cloneOriginal: true,
36063
+ drop: function drop() {
36064
  return new Module.SpacerBlockModel();
36065
  }
36066
  }
36067
  }
36068
  });
36069
 
36070
+ App.on('before:start', function beforeAppStart(BeforeStartApp) {
36071
  BeforeStartApp.registerBlockType('spacer', {
36072
  blockModel: Module.SpacerBlockModel,
36073
  blockView: Module.SpacerBlockView
36086
 
36087
  /***/ },
36088
 
36089
+ /***/ 622:
36090
  /***/ function(module, exports, __webpack_require__) {
36091
 
36092
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
36095
  * Footer content block
36096
  */
36097
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
36098
+ __webpack_require__(597),
36099
+ __webpack_require__(615),
36100
  __webpack_require__(280),
36101
  __webpack_require__(276)
36102
+ ], __WEBPACK_AMD_DEFINE_RESULT__ = function footerBlock(App, BaseBlock, _, MailPoet) {
36103
  var Module = {};
36104
  var base = BaseBlock;
36105
 
36106
  Module.FooterBlockModel = base.BlockModel.extend({
36107
+ defaults: function defaults() {
36108
  return this._getDefaults({
36109
  type: 'footer',
36110
  text: '<a href="[link:subscription_unsubscribe_url]">Unsubscribe</a> | <a href="[link:subscription_manage_url]">Manage subscription</a><br /><b>Add your postal address here!</b>',
36129
 
36130
  Module.FooterBlockView = base.BlockView.extend({
36131
  className: 'mailpoet_block mailpoet_footer_block mailpoet_droppable_block',
36132
+ getTemplate: function getTemplate() { return window.templates.footerBlock; },
36133
  modelEvents: _.extend({
36134
  'change:styles.block.backgroundColor change:styles.text.fontColor change:styles.text.fontFamily change:styles.text.fontSize change:styles.text.textAlign change:styles.link.fontColor change:styles.link.textDecoration': 'render'
36135
  }, _.omit(base.BlockView.prototype.modelEvents, 'change')),
36136
  behaviors: _.extend({}, base.BlockView.prototype.behaviors, {
36137
  TextEditorBehavior: {
36138
+ configurationFilter: function configurationFilter(originalSettings) {
36139
  return _.extend({}, originalSettings, {
36140
  mailpoet_shortcodes: App.getConfig().get('shortcodes').toJSON(),
36141
  mailpoet_shortcodes_window_title: MailPoet.I18n.t('shortcodesWindowTitle')
36143
  }
36144
  }
36145
  }),
36146
+ onDragSubstituteBy: function onDragSubstituteBy() { return Module.FooterWidgetView; },
36147
+ onRender: function onRender() {
36148
  this.toolsView = new Module.FooterBlockToolsView({ model: this.model });
36149
  this.showChildView('toolsRegion', this.toolsView);
36150
  },
36151
+ onTextEditorChange: function onTextEditorChange(newContent) {
36152
  this.model.set('text', newContent);
36153
  },
36154
+ onTextEditorFocus: function onTextEditorFocus() {
36155
  this.disableDragging();
36156
  this.disableShowingTools();
36157
  },
36158
+ onTextEditorBlur: function onTextEditorBlur() {
36159
  this.enableDragging();
36160
  this.enableShowingTools();
36161
  }
36162
  });
36163
 
36164
  Module.FooterBlockToolsView = base.BlockToolsView.extend({
36165
+ getSettingsView: function getSettingsView() { return Module.FooterBlockSettingsView; }
36166
  });
36167
 
36168
  Module.FooterBlockSettingsView = base.BlockSettingsView.extend({
36169
+ getTemplate: function getTemplate() { return window.templates.footerBlockSettings; },
36170
+ events: function events() {
36171
  return {
36172
  'change .mailpoet_field_footer_text_color': _.partial(this.changeColorField, 'styles.text.fontColor'),
36173
  'change .mailpoet_field_footer_text_font_family': _.partial(this.changeField, 'styles.text.fontFamily'),
36174
  'change .mailpoet_field_footer_text_size': _.partial(this.changeField, 'styles.text.fontSize'),
36175
  'change #mailpoet_field_footer_link_color': _.partial(this.changeColorField, 'styles.link.fontColor'),
36176
+ 'change #mailpoet_field_footer_link_underline': function linkUnderline(event) {
36177
  this.model.set('styles.link.textDecoration', (event.target.checked) ? event.target.value : 'none');
36178
  },
36179
  'change .mailpoet_field_footer_background_color': _.partial(this.changeColorField, 'styles.block.backgroundColor'),
36181
  'click .mailpoet_done_editing': 'close'
36182
  };
36183
  },
36184
+ templateContext: function templateContext() {
36185
  return _.extend({}, base.BlockView.prototype.templateContext.apply(this, arguments), {
36186
  availableStyles: App.getAvailableStyles().toJSON()
36187
  });
36189
  });
36190
 
36191
  Module.FooterWidgetView = base.WidgetView.extend({
36192
+ getTemplate: function getTemplate() { return window.templates.footerInsertion; },
36193
  behaviors: {
36194
  DraggableBehavior: {
36195
  cloneOriginal: true,
36196
+ drop: function drop() {
36197
  return new Module.FooterBlockModel();
36198
  }
36199
  }
36200
  }
36201
  });
36202
 
36203
+ App.on('before:start', function beforeAppStart(BeforeStartApp) {
36204
  BeforeStartApp.registerBlockType('footer', {
36205
  blockModel: Module.FooterBlockModel,
36206
  blockView: Module.FooterBlockView
36219
 
36220
  /***/ },
36221
 
36222
+ /***/ 623:
36223
  /***/ function(module, exports, __webpack_require__) {
36224
 
36225
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict';
36228
  * Header content block
36229
  */
36230
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
36231
+ __webpack_require__(597),
36232
+ __webpack_require__(615),
36233
  __webpack_require__(280),
36234
  __webpack_require__(276)
36235
+ ], __WEBPACK_AMD_DEFINE_RESULT__ = function headerBlock(App, BaseBlock, _, MailPoet) {
36236
  var Module = {};
36237
  var base = BaseBlock;
36238
 
36239
  Module.HeaderBlockModel = base.BlockModel.extend({
36240
+ defaults: function defaults() {
36241
  return this._getDefaults({
36242
  type: 'header',
36243
  text: 'Display problems? <a href="[link:newsletter_view_in_browser_url]">View it in your browser</a>',
36262
 
36263
  Module.HeaderBlockView = base.BlockView.extend({
36264
  className: 'mailpoet_block mailpoet_header_block mailpoet_droppable_block',
36265
+ getTemplate: function getTemplate() { return window.templates.headerBlock; },
36266
  modelEvents: _.extend({
36267
  'change:styles.block.backgroundColor change:styles.text.fontColor change:styles.text.fontFamily change:styles.text.fontSize change:styles.text.textAlign change:styles.link.fontColor change:styles.link.textDecoration': 'render'
36268
  }, _.omit(base.BlockView.prototype.modelEvents, 'change')),
36269
  behaviors: _.extend({}, base.BlockView.prototype.behaviors, {
36270
  TextEditorBehavior: {
36271
+ configurationFilter: function configurationFilter(originalSettings) {
36272
  return _.extend({}, originalSettings, {
36273
  mailpoet_shortcodes: App.getConfig().get('shortcodes').toJSON(),
36274
  mailpoet_shortcodes_window_title: MailPoet.I18n.t('shortcodesWindowTitle')
36276
  }
36277
  }
36278
  }),
36279
+ onDragSubstituteBy: function onDragSubstituteBy() { return Module.HeaderWidgetView; },
36280
+ onRender: function onRender() {
36281
  this.toolsView = new Module.HeaderBlockToolsView({ model: this.model });
36282
  this.showChildView('toolsRegion', this.toolsView);
36283
  },
36284
+ onTextEditorChange: function onTextEditorChange(newContent) {
36285
  this.model.set('text', newContent);
36286
  },
36287
+ onTextEditorFocus: function onTextEditorFocus() {
36288
  this.disableDragging();
36289
  this.disableShowingTools();
36290
  },
36291
+ onTextEditorBlur: function onTextEditorBlur() {
36292
  this.enableDragging();
36293
  this.enableShowingTools();
36294
  }
36295
  });
36296
 
36297
  Module.HeaderBlockToolsView = base.BlockToolsView.extend({
36298
+ getSettingsView: function getSettingsView() { return Module.HeaderBlockSettingsView; }
36299
  });
36300
 
36301
  Module.HeaderBlockSettingsView = base.BlockSettingsView.extend({
36302
+ getTemplate: function getTemplate() { return window.templates.headerBlockSettings; },
36303
+ events: function events() {
36304
  return {
36305
  'change .mailpoet_field_header_text_color': _.partial(this.changeColorField, 'styles.text.fontColor'),
36306
  'change .mailpoet_field_header_text_font_family': _.partial(this.changeField, 'styles.text.fontFamily'),
36307
  'change .mailpoet_field_header_text_size': _.partial(this.changeField, 'styles.text.fontSize'),
36308
  'change #mailpoet_field_header_link_color': _.partial(this.changeColorField, 'styles.link.fontColor'),
36309
+ 'change #mailpoet_field_header_link_underline': function linkUnderline(event) {
36310
  this.model.set('styles.link.textDecoration', (event.target.checked) ? event.target.value : 'none');
36311
  },
36312
  'change .mailpoet_field_header_background_color': _.partial(this.changeColorField, 'styles.block.backgroundColor'),
36314
  'click .mailpoet_done_editing': 'close'
36315
  };
36316
  },
36317
+ templateContext: function templateContext() {
36318
  return _.extend({}, base.BlockView.prototype.templateContext.apply(this, arguments), {
36319
  availableStyles: App.getAvailableStyles().toJSON()
36320
  });
36322
  });
36323
 
36324
  Module.HeaderWidgetView = base.WidgetView.extend({
36325
+ getTemplate: function getTemplate() { return window.templates.headerInsertion; },
36326
  behaviors: {
36327
  DraggableBehavior: {
36328
  cloneOriginal: true,
36329
+ drop: function drop() {
36330
  return new Module.HeaderBlockModel();
36331
  }
36332
  }
36333
  }
36334
  });
36335
 
36336
+ App.on('before:start', function beforeAppStart(BeforeStartApp) {
36337
  BeforeStartApp.registerBlockType('header', {
36338
  blockModel: Module.HeaderBlockModel,
36339
  blockView: Module.HeaderBlockView
36352
 
36353
  /***/ },
36354
 
36355
+ /***/ 624:
36356
  /***/ function(module, exports, __webpack_require__) {
36357
 
36358
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disable func-names */
36365
  * block settings view.
36366
  */
36367
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
 
 
 
 
36368
  __webpack_require__(597),
36369
+ __webpack_require__(615),
36370
+ __webpack_require__(617),
36371
+ __webpack_require__(619),
36372
+ __webpack_require__(601),
36373
  __webpack_require__(276),
36374
+ __webpack_require__(587),
36375
  __webpack_require__(280),
36376
  __webpack_require__(275)
36377
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (
36441
  titleIsLink: false, // false|true
36442
  imageFullWidth: false, // true|false
36443
  featuredImagePosition: 'belowTitle', // 'aboveTitle'|'belowTitle'|'none'
 
36444
  showAuthor: 'no', // 'no'|'aboveText'|'belowText'
36445
  authorPrecededBy: 'Author:',
36446
  showCategories: 'no', // 'no'|'aboveText'|'belowText'
36656
  },
36657
  changeReadMoreType: function (event) {
36658
  var value = jQuery(event.target).val();
36659
+ if (value === 'link') {
36660
  this.$('.mailpoet_automated_latest_content_read_more_text').removeClass('mailpoet_hidden');
36661
  this.$('.mailpoet_automated_latest_content_select_button').addClass('mailpoet_hidden');
36662
+ } else if (value === 'button') {
36663
  this.$('.mailpoet_automated_latest_content_read_more_text').addClass('mailpoet_hidden');
36664
  this.$('.mailpoet_automated_latest_content_select_button').removeClass('mailpoet_hidden');
36665
  }
36668
  changeDisplayType: function (event) {
36669
  var value = jQuery(event.target).val();
36670
 
36671
+ if (value === 'titleOnly') {
36672
  this.$('.mailpoet_automated_latest_content_title_as_list').removeClass('mailpoet_hidden');
36673
  this.$('.mailpoet_automated_latest_content_image_full_width_option').addClass('mailpoet_hidden');
36674
  this.$('.mailpoet_automated_latest_content_image_separator').addClass('mailpoet_hidden');
36694
  },
36695
  changeTitleFormat: function (event) {
36696
  var value = jQuery(event.target).val();
36697
+ if (value === 'ul') {
36698
  this.$('.mailpoet_automated_latest_content_non_title_list_options').addClass('mailpoet_hidden');
36699
 
36700
  this.model.set('titleIsLink', true);
36761
 
36762
  /***/ },
36763
 
36764
+ /***/ 625:
36765
  /***/ function(module, exports, __webpack_require__) {
36766
 
36767
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disable func-names */
36778
  * block settings view.
36779
  */
36780
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
36781
+ __webpack_require__(557),
36782
+ __webpack_require__(585),
36783
+ __webpack_require__(586),
36784
  __webpack_require__(280),
36785
  __webpack_require__(275),
36786
  __webpack_require__(276),
 
36787
  __webpack_require__(597),
36788
+ __webpack_require__(601),
 
36789
  __webpack_require__(615),
36790
+ __webpack_require__(617),
36791
+ __webpack_require__(619),
36792
  __webpack_require__(290)
36793
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (
36794
  Backbone,
36831
  titleIsLink: false, // false|true
36832
  imageFullWidth: false, // true|false
36833
  featuredImagePosition: 'belowTitle', // 'aboveTitle'|'belowTitle'|'none'
 
36834
  showAuthor: 'no', // 'no'|'aboveText'|'belowText'
36835
  authorPrecededBy: 'Author:',
36836
  showCategories: 'no', // 'no'|'aboveText'|'belowText'
36860
  },
36861
  initialize: function () {
36862
  var POST_REFRESH_DELAY_MS = 500;
36863
+ var refreshAvailablePosts = _.debounce(
36864
+ this.fetchAvailablePosts.bind(this),
36865
+ POST_REFRESH_DELAY_MS
36866
+ );
36867
+ var refreshTransformedPosts = _.debounce(
36868
+ this._refreshTransformedPosts.bind(this),
36869
+ POST_REFRESH_DELAY_MS
36870
+ );
36871
 
36872
  // Attach Radio.Requests API primarily for highlighting
36873
  _.extend(this, Radio.Requests);
37290
  },
37291
  changeReadMoreType: function (event) {
37292
  var value = jQuery(event.target).val();
37293
+ if (value === 'link') {
37294
  this.$('.mailpoet_posts_read_more_text').removeClass('mailpoet_hidden');
37295
  this.$('.mailpoet_posts_select_button').addClass('mailpoet_hidden');
37296
+ } else if (value === 'button') {
37297
  this.$('.mailpoet_posts_read_more_text').addClass('mailpoet_hidden');
37298
  this.$('.mailpoet_posts_select_button').removeClass('mailpoet_hidden');
37299
  }
37301
  },
37302
  changeDisplayType: function (event) {
37303
  var value = jQuery(event.target).val();
37304
+ if (value === 'titleOnly') {
37305
  this.$('.mailpoet_posts_title_as_list').removeClass('mailpoet_hidden');
37306
  this.$('.mailpoet_posts_image_full_width_option').addClass('mailpoet_hidden');
37307
  this.$('.mailpoet_posts_image_separator').addClass('mailpoet_hidden');
37328
  },
37329
  changeTitleFormat: function (event) {
37330
  var value = jQuery(event.target).val();
37331
+ if (value === 'ul') {
37332
  this.$('.mailpoet_posts_non_title_list_options').addClass('mailpoet_hidden');
37333
 
37334
  this.model.set('titleIsLink', true);
37373
 
37374
  /***/ },
37375
 
37376
+ /***/ 626:
37377
  /***/ function(module, exports, __webpack_require__) {
37378
 
37379
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disable func-names */
37381
  * Social icons content block
37382
  */
37383
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
37384
+ __webpack_require__(597),
37385
+ __webpack_require__(615),
37386
+ __webpack_require__(557),
37387
+ __webpack_require__(585),
37388
+ __webpack_require__(587),
37389
  __webpack_require__(280),
37390
  __webpack_require__(275)
37391
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function (App, BaseBlock, Backbone, Marionette, SuperModel, _, jQuery) {
assets/js/{public.ea9ffa3f.js → public.ec1bce32.js} RENAMED
@@ -1865,28 +1865,23 @@
1865
  // object or array based on the type of the next keys part.
1866
  // * Move the 'cur' pointer to the next level.
1867
  // * Rinse & repeat.
1868
- for (; i <= keysLast; i++) {
1869
  key = keys[i] === '' ? cur.length : keys[i];
1870
  cur[key] = i < keysLast
1871
  ? cur[key] || (keys[i + 1] && isNaN(keys[i + 1]) ? {} : [])
1872
  : val;
1873
  cur = cur[key];
1874
  }
 
 
 
 
 
 
 
1875
  } else {
1876
- // Simple key, even simpler rules, since only scalars and shallow
1877
- // arrays are allowed.
1878
-
1879
- if ($.isArray(obj[key])) {
1880
- // val is already an array, so push on the next value.
1881
- obj[key].push(val);
1882
- } else if (obj[key] !== undefined) {
1883
- // val isn't an array, but since a second value has been specified,
1884
- // convert val into an array.
1885
- obj[key] = [obj[key], val];
1886
- } else {
1887
- // val is a scalar.
1888
- obj[key] = val;
1889
- }
1890
  }
1891
  });
1892
 
1865
  // object or array based on the type of the next keys part.
1866
  // * Move the 'cur' pointer to the next level.
1867
  // * Rinse & repeat.
1868
+ for (; i <= keysLast; i += 1) {
1869
  key = keys[i] === '' ? cur.length : keys[i];
1870
  cur[key] = i < keysLast
1871
  ? cur[key] || (keys[i + 1] && isNaN(keys[i + 1]) ? {} : [])
1872
  : val;
1873
  cur = cur[key];
1874
  }
1875
+ } else if ($.isArray(obj[key])) {
1876
+ // val is already an array, so push on the next value.
1877
+ obj[key].push(val);
1878
+ } else if (obj[key] !== undefined) {
1879
+ // val isn't an array, but since a second value has been specified,
1880
+ // convert val into an array.
1881
+ obj[key] = [obj[key], val];
1882
  } else {
1883
+ // val is a scalar.
1884
+ obj[key] = val;
 
 
 
 
 
 
 
 
 
 
 
 
1885
  }
1886
  });
1887
 
assets/js/{vendor.ae69bbf6.js → vendor.279e244a.js} RENAMED
@@ -76,7 +76,7 @@
76
  /******/ script.charset = 'utf-8';
77
  /******/ script.async = true;
78
 
79
- /******/ script.src = __webpack_require__.p + "" + ({"0":"admin","1":"admin_vendor","2":"form_editor","3":"mailpoet","4":"newsletter_editor"}[chunkId]||chunkId) + "." + {"0":"58bfd752","1":"88895510","2":"13982476","3":"a55b11ee","4":"d69f628b"}[chunkId] + ".chunk.js";
80
  /******/ head.appendChild(script);
81
  /******/ }
82
  /******/ };
@@ -99,24 +99,24 @@
99
  /***/ 0:
100
  /***/ function(module, exports, __webpack_require__) {
101
 
102
- __webpack_require__(562);
103
- __webpack_require__(623);
104
  module.exports = __webpack_require__(431);
105
 
106
 
107
  /***/ },
108
 
109
- /***/ 623:
110
  /***/ function(module, exports, __webpack_require__) {
111
 
112
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disable func-names */
113
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(562)], __WEBPACK_AMD_DEFINE_RESULT__ = function (Handlebars) {
114
  // Handlebars helpers
115
  Handlebars.registerHelper('concat', function () {
116
  var size = (arguments.length - 1);
117
  var output = '';
118
  var i;
119
- for (i = 0; i < size; i++) {
120
  output += arguments[i];
121
  }
122
  return output;
@@ -135,7 +135,7 @@
135
  // set date format
136
  f = block.hash.format || 'MMM Do, YYYY';
137
  // check if we passed a timestamp
138
- if (parseInt(timestamp, 10) == timestamp) {
139
  return window.moment.unix(timestamp).format(f);
140
  }
141
  return window.moment.utc(timestamp).format(f);
@@ -151,11 +151,11 @@
151
  Handlebars.registerHelper('ifCond', function (v1, operator, v2, options) {
152
  switch (operator) {
153
  case '==':
154
- return (v1 == v2) ? options.fn(this) : options.inverse(this);
155
  case '===':
156
  return (v1 === v2) ? options.fn(this) : options.inverse(this);
157
  case '!=':
158
- return (v1 != v2) ? options.fn(this) : options.inverse(this);
159
  case '!==':
160
  return (v1 !== v2) ? options.fn(this) : options.inverse(this);
161
  case '<':
@@ -539,7 +539,7 @@
539
 
540
  /***/ },
541
 
542
- /***/ 562:
543
  /***/ function(module, exports, __webpack_require__) {
544
 
545
  /**!
76
  /******/ script.charset = 'utf-8';
77
  /******/ script.async = true;
78
 
79
+ /******/ script.src = __webpack_require__.p + "" + ({"0":"admin","1":"admin_vendor","2":"form_editor","3":"mailpoet","4":"newsletter_editor"}[chunkId]||chunkId) + "." + {"0":"8b417da7","1":"34b14aa4","2":"ac341877","3":"3a0d1a00","4":"fd18ee48"}[chunkId] + ".chunk.js";
80
  /******/ head.appendChild(script);
81
  /******/ }
82
  /******/ };
99
  /***/ 0:
100
  /***/ function(module, exports, __webpack_require__) {
101
 
102
+ __webpack_require__(566);
103
+ __webpack_require__(627);
104
  module.exports = __webpack_require__(431);
105
 
106
 
107
  /***/ },
108
 
109
+ /***/ 627:
110
  /***/ function(module, exports, __webpack_require__) {
111
 
112
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* eslint-disable func-names */
113
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(566)], __WEBPACK_AMD_DEFINE_RESULT__ = function (Handlebars) {
114
  // Handlebars helpers
115
  Handlebars.registerHelper('concat', function () {
116
  var size = (arguments.length - 1);
117
  var output = '';
118
  var i;
119
+ for (i = 0; i < size; i += 1) {
120
  output += arguments[i];
121
  }
122
  return output;
135
  // set date format
136
  f = block.hash.format || 'MMM Do, YYYY';
137
  // check if we passed a timestamp
138
+ if (/^\s*\d+\s*$/.test(timestamp)) {
139
  return window.moment.unix(timestamp).format(f);
140
  }
141
  return window.moment.utc(timestamp).format(f);
151
  Handlebars.registerHelper('ifCond', function (v1, operator, v2, options) {
152
  switch (operator) {
153
  case '==':
154
+ return (v1 == v2) ? options.fn(this) : options.inverse(this); // eslint-disable-line eqeqeq
155
  case '===':
156
  return (v1 === v2) ? options.fn(this) : options.inverse(this);
157
  case '!=':
158
+ return (v1 != v2) ? options.fn(this) : options.inverse(this); // eslint-disable-line eqeqeq
159
  case '!==':
160
  return (v1 !== v2) ? options.fn(this) : options.inverse(this);
161
  case '<':
539
 
540
  /***/ },
541
 
542
+ /***/ 566:
543
  /***/ function(module, exports, __webpack_require__) {
544
 
545
  /**!
lang/mailpoet-ca.mo CHANGED
Binary file
lang/mailpoet-da_DK.mo CHANGED
Binary file
lang/mailpoet-de_DE.mo CHANGED
Binary file
lang/mailpoet-en_GB.mo CHANGED
Binary file
lang/mailpoet-es_ES.mo CHANGED
Binary file
lang/mailpoet-fa_IR.mo CHANGED
Binary file
lang/mailpoet-fr_CA.mo CHANGED
Binary file
lang/mailpoet-fr_FR.mo CHANGED
Binary file
lang/mailpoet-it_IT.mo CHANGED
Binary file
lang/mailpoet-ja.mo CHANGED
Binary file
lang/mailpoet-nl_NL.mo CHANGED
Binary file
lang/mailpoet-pl_PL.mo CHANGED
Binary file
lang/mailpoet-pt_BR.mo CHANGED
Binary file
lang/mailpoet-pt_PT.mo CHANGED
Binary file
lang/mailpoet-ru_RU.mo CHANGED
Binary file
lang/mailpoet-sq.mo CHANGED
Binary file
lang/mailpoet-sv_SE.mo CHANGED
Binary file
lang/mailpoet-tr_TR.mo CHANGED
Binary file
lang/mailpoet.pot CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: \n"
6
  "Report-Msgid-Bugs-To: http://support.mailpoet.com/\n"
7
- "POT-Creation-Date: 2018-02-20 11:23:09+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -3953,23 +3953,23 @@ msgstr ""
3953
  msgid "Your saved templates"
3954
  msgstr ""
3955
 
3956
- #: views/newsletters.html:276
3957
  msgid "This category does not contain any template yet!"
3958
  msgstr ""
3959
 
3960
- #: views/newsletters.html:278
3961
  msgid "Soon"
3962
  msgstr ""
3963
 
3964
- #: views/newsletters.html:279
3965
  msgid "Beta"
3966
  msgstr ""
3967
 
3968
- #: views/newsletters.html:280
3969
  msgid "An error occured while saving the template in \"Recently sent\""
3970
  msgstr ""
3971
 
3972
- #: views/newsletters.html:281
3973
  msgid "Select %1s events"
3974
  msgstr ""
3975
 
@@ -5562,6 +5562,11 @@ msgctxt "Sample newsletters templates category"
5562
  msgid "Sample"
5563
  msgstr ""
5564
 
 
 
 
 
 
5565
  #: views/settings/advanced.html:13 views/settings/advanced.html:37
5566
  #: views/settings/advanced.html:138
5567
  msgctxt "support article link label"
4
  msgstr ""
5
  "Project-Id-Version: \n"
6
  "Report-Msgid-Bugs-To: http://support.mailpoet.com/\n"
7
+ "POT-Creation-Date: 2018-02-27 17:12:42+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
3953
  msgid "Your saved templates"
3954
  msgstr ""
3955
 
3956
+ #: views/newsletters.html:277
3957
  msgid "This category does not contain any template yet!"
3958
  msgstr ""
3959
 
3960
+ #: views/newsletters.html:279
3961
  msgid "Soon"
3962
  msgstr ""
3963
 
3964
+ #: views/newsletters.html:280
3965
  msgid "Beta"
3966
  msgstr ""
3967
 
3968
+ #: views/newsletters.html:281
3969
  msgid "An error occured while saving the template in \"Recently sent\""
3970
  msgstr ""
3971
 
3972
+ #: views/newsletters.html:282
3973
  msgid "Select %1s events"
3974
  msgstr ""
3975
 
5562
  msgid "Sample"
5563
  msgstr ""
5564
 
5565
+ #: views/newsletters.html:276
5566
+ msgctxt "Importing template tab title"
5567
+ msgid "Import"
5568
+ msgstr ""
5569
+
5570
  #: views/settings/advanced.html:13 views/settings/advanced.html:37
5571
  #: views/settings/advanced.html:138
5572
  msgctxt "support article link label"
lib/API/JSON/v1/AutomatedLatestContent.php CHANGED
@@ -34,9 +34,11 @@ class AutomatedLatestContent extends APIEndpoint {
34
 
35
  function getTaxonomies($data = array()) {
36
  $post_type = (isset($data['postType'])) ? $data['postType'] : 'post';
37
- return $this->successResponse(
38
- get_object_taxonomies($post_type, 'objects')
39
- );
 
 
40
  }
41
 
42
  function getTerms($data = array()) {
34
 
35
  function getTaxonomies($data = array()) {
36
  $post_type = (isset($data['postType'])) ? $data['postType'] : 'post';
37
+ $all_taxonomies = get_object_taxonomies($post_type, 'objects');
38
+ $taxonomies_with_label = array_filter($all_taxonomies, function($taxonomy) {
39
+ return $taxonomy->label;
40
+ });
41
+ return $this->successResponse($taxonomies_with_label);
42
  }
43
 
44
  function getTerms($data = array()) {
lib/Analytics/Reporter.php CHANGED
@@ -19,7 +19,7 @@ class Reporter {
19
  $isCronTriggerMethodWP = Setting::getValue('cron_trigger.method') === CronTrigger::$available_methods['wordpress'];
20
  $checker = new ServicesChecker();
21
  $bounceAddress = Setting::getValue('bounce.address');
22
- $segmets = Segment::getAnalytics();
23
 
24
  return array(
25
  'PHP version' => PHP_VERSION,
@@ -50,8 +50,8 @@ class Reporter {
50
  'Number of standard newsletters sent in last 3 months' => $newsletters['sent_newsletters'],
51
  'Number of active post notifications' => $newsletters['notifications_count'],
52
  'Number of active welcome emails' => $newsletters['welcome_newsletters_count'],
53
- 'Number of segments' => $segmets['dynamic'],
54
- 'Number of lists' => $segmets['default'],
55
  'Plugin > MailPoet Premium' => is_plugin_active('mailpoet-premium/mailpoet-premium.php'),
56
  'Plugin > bounce add-on' => is_plugin_active('mailpoet-bounce-handler/mailpoet-bounce-handler.php'),
57
  'Plugin > Bloom' => is_plugin_active('bloom-for-publishers/bloom.php'),
19
  $isCronTriggerMethodWP = Setting::getValue('cron_trigger.method') === CronTrigger::$available_methods['wordpress'];
20
  $checker = new ServicesChecker();
21
  $bounceAddress = Setting::getValue('bounce.address');
22
+ $segments = Segment::getAnalytics();
23
 
24
  return array(
25
  'PHP version' => PHP_VERSION,
50
  'Number of standard newsletters sent in last 3 months' => $newsletters['sent_newsletters'],
51
  'Number of active post notifications' => $newsletters['notifications_count'],
52
  'Number of active welcome emails' => $newsletters['welcome_newsletters_count'],
53
+ 'Number of segments' => isset($segments['dynamic']) ? (int)$segments['dynamic'] : 0,
54
+ 'Number of lists' => isset($segments['default']) ? (int)$segments['default'] : 0,
55
  'Plugin > MailPoet Premium' => is_plugin_active('mailpoet-premium/mailpoet-premium.php'),
56
  'Plugin > bounce add-on' => is_plugin_active('mailpoet-bounce-handler/mailpoet-bounce-handler.php'),
57
  'Plugin > Bloom' => is_plugin_active('bloom-for-publishers/bloom.php'),
lib/Config/MP2Migrator.php CHANGED
@@ -682,8 +682,8 @@ class MP2Migrator {
682
  'segment_id' => $segment_id,
683
  'status' => $status,
684
  'created_at' => $datetime->formatTime($user_list['sub_date'], \MailPoet\WP\DateTime::DEFAULT_DATE_TIME_FORMAT),
685
- 'updated_at' => !empty($user_list['unsub_date']) ? $datetime->formatTime($user_list['unsub_date'], \MailPoet\WP\DateTime::DEFAULT_DATE_TIME_FORMAT) : null,
686
  );
 
687
  $subscriber_segment = new SubscriberSegment();
688
  $subscriber_segment->createOrUpdate($data);
689
  }
682
  'segment_id' => $segment_id,
683
  'status' => $status,
684
  'created_at' => $datetime->formatTime($user_list['sub_date'], \MailPoet\WP\DateTime::DEFAULT_DATE_TIME_FORMAT),
 
685
  );
686
+ $data['updated_at'] = !empty($user_list['unsub_date']) ? $datetime->formatTime($user_list['unsub_date'], \MailPoet\WP\DateTime::DEFAULT_DATE_TIME_FORMAT) : $data['created_at'];
687
  $subscriber_segment = new SubscriberSegment();
688
  $subscriber_segment->createOrUpdate($data);
689
  }
lib/Models/Segment.php CHANGED
@@ -249,9 +249,14 @@ class Segment extends Model {
249
  }
250
 
251
  static function getAnalytics() {
252
- return Segment::select_expr('type, count(*) as count')
253
- ->whereNull('deleted_at')
254
- ->groupBy('type')
255
- ->findArray();
 
 
 
 
 
256
  }
257
  }
249
  }
250
 
251
  static function getAnalytics() {
252
+ $analytics = Segment::select_expr('type, count(*) as count')
253
+ ->whereNull('deleted_at')
254
+ ->groupBy('type')
255
+ ->findArray();
256
+ $result = array();
257
+ foreach($analytics as $segment) {
258
+ $result[$segment['type']] = $segment['count'];
259
+ }
260
+ return $result;
261
  }
262
  }
mailpoet.php CHANGED
@@ -4,7 +4,7 @@ if(!defined('ABSPATH')) exit;
4
 
5
  /*
6
  * Plugin Name: MailPoet 3 (New)
7
- * Version: 3.4.3
8
  * Plugin URI: http://www.mailpoet.com
9
  * Description: Create and send newsletters, post notifications and welcome emails from your WordPress.
10
  * Author: MailPoet
@@ -20,7 +20,7 @@ if(!defined('ABSPATH')) exit;
20
  */
21
 
22
  $mailpoet_plugin = array(
23
- 'version' => '3.4.3',
24
  'filename' => __FILE__,
25
  'path' => dirname(__FILE__),
26
  'autoloader' => dirname(__FILE__) . '/vendor/autoload.php',
4
 
5
  /*
6
  * Plugin Name: MailPoet 3 (New)
7
+ * Version: 3.4.4
8
  * Plugin URI: http://www.mailpoet.com
9
  * Description: Create and send newsletters, post notifications and welcome emails from your WordPress.
10
  * Author: MailPoet
20
  */
21
 
22
  $mailpoet_plugin = array(
23
+ 'version' => '3.4.4',
24
  'filename' => __FILE__,
25
  'path' => dirname(__FILE__),
26
  'autoloader' => dirname(__FILE__) . '/vendor/autoload.php',
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: newsletter, email, welcome email, post notification, autoresponder, signup
4
  Requires at least: 4.7
5
  Tested up to: 4.9
6
  Requires PHP: 5.3
7
- Stable tag: 3.4.3
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -116,6 +116,12 @@ Stop by our [support site](https://www.mailpoet.com/support).
116
 
117
  == Changelog ==
118
 
 
 
 
 
 
 
119
  = 3.4.3 - 2018-02-20 =
120
  * Improved: export includes IP address column and differentiates between global and list subscription status;
121
  * Improved: email designer checks if "Automatic Latest Content" widget is present in Post Notification emails.
4
  Requires at least: 4.7
5
  Tested up to: 4.9
6
  Requires PHP: 5.3
7
+ Stable tag: 3.4.4
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
116
 
117
  == Changelog ==
118
 
119
+ = 3.4.4 - 2018-02-27 =
120
+ * Premium: send emails to WooCommerce customers who purchased a specific product or in a specific product category;
121
+ * Improved: the template import form is now in its own tab;
122
+ * Fixed: subscriber-to-list mappings are now migrated correctly on some installations; Thanks Kevin!
123
+ * Fixed: newsletter editor ignores taxonomies without labels when searching for categories or tags. Thanks Jose!
124
+
125
  = 3.4.3 - 2018-02-20 =
126
  * Improved: export includes IP address column and differentiates between global and list subscription status;
127
  * Improved: email designer checks if "Automatic Latest Content" widget is present in Post Notification emails.
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit112d08ea23965e9c0917518b19d10db5::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit8a97a39eb8855079bf6132f43240d240::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit112d08ea23965e9c0917518b19d10db5
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit112d08ea23965e9c0917518b19d10db5
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit112d08ea23965e9c0917518b19d10db5', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit112d08ea23965e9c0917518b19d10db5', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
- call_user_func(\Composer\Autoload\ComposerStaticInit112d08ea23965e9c0917518b19d10db5::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
@@ -48,19 +48,19 @@ class ComposerAutoloaderInit112d08ea23965e9c0917518b19d10db5
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
- $includeFiles = Composer\Autoload\ComposerStaticInit112d08ea23965e9c0917518b19d10db5::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
- composerRequire112d08ea23965e9c0917518b19d10db5($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
- function composerRequire112d08ea23965e9c0917518b19d10db5($fileIdentifier, $file)
64
  {
65
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
66
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit8a97a39eb8855079bf6132f43240d240
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit8a97a39eb8855079bf6132f43240d240', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit8a97a39eb8855079bf6132f43240d240', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
+ call_user_func(\Composer\Autoload\ComposerStaticInit8a97a39eb8855079bf6132f43240d240::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
+ $includeFiles = Composer\Autoload\ComposerStaticInit8a97a39eb8855079bf6132f43240d240::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
+ composerRequire8a97a39eb8855079bf6132f43240d240($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
+ function composerRequire8a97a39eb8855079bf6132f43240d240($fileIdentifier, $file)
64
  {
65
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
66
  require $file;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit112d08ea23965e9c0917518b19d10db5
8
  {
9
  public static $files = array (
10
  '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
@@ -985,10 +985,10 @@ class ComposerStaticInit112d08ea23965e9c0917518b19d10db5
985
  public static function getInitializer(ClassLoader $loader)
986
  {
987
  return \Closure::bind(function () use ($loader) {
988
- $loader->prefixLengthsPsr4 = ComposerStaticInit112d08ea23965e9c0917518b19d10db5::$prefixLengthsPsr4;
989
- $loader->prefixDirsPsr4 = ComposerStaticInit112d08ea23965e9c0917518b19d10db5::$prefixDirsPsr4;
990
- $loader->prefixesPsr0 = ComposerStaticInit112d08ea23965e9c0917518b19d10db5::$prefixesPsr0;
991
- $loader->classMap = ComposerStaticInit112d08ea23965e9c0917518b19d10db5::$classMap;
992
 
993
  }, null, ClassLoader::class);
994
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit8a97a39eb8855079bf6132f43240d240
8
  {
9
  public static $files = array (
10
  '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
985
  public static function getInitializer(ClassLoader $loader)
986
  {
987
  return \Closure::bind(function () use ($loader) {
988
+ $loader->prefixLengthsPsr4 = ComposerStaticInit8a97a39eb8855079bf6132f43240d240::$prefixLengthsPsr4;
989
+ $loader->prefixDirsPsr4 = ComposerStaticInit8a97a39eb8855079bf6132f43240d240::$prefixDirsPsr4;
990
+ $loader->prefixesPsr0 = ComposerStaticInit8a97a39eb8855079bf6132f43240d240::$prefixesPsr0;
991
+ $loader->classMap = ComposerStaticInit8a97a39eb8855079bf6132f43240d240::$classMap;
992
 
993
  }, null, ClassLoader::class);
994
  }
views/newsletters.html CHANGED
@@ -273,6 +273,7 @@
273
  'savedTemplates': __('Your saved templates'),
274
  'blank': _x('Blank', 'Blank newsletters templates category'),
275
  'sample': _x('Sample', 'Sample newsletters templates category'),
 
276
  'noTemplates': __('This category does not contain any template yet!'),
277
 
278
  'soon': __('Soon'),
273
  'savedTemplates': __('Your saved templates'),
274
  'blank': _x('Blank', 'Blank newsletters templates category'),
275
  'sample': _x('Sample', 'Sample newsletters templates category'),
276
+ 'tabImportTitle': _x('Import', 'Importing template tab title'),
277
  'noTemplates': __('This category does not contain any template yet!'),
278
 
279
  'soon': __('Soon'),