MailPoet Newsletters (New) - Version 3.0.0-rc.2.0.2

Version Description

  • 2017-09-05 =
  • Added: browser spellchecker in newsletter editor;
  • Improved: newsletter editor uses an optimized data object to display post types. Thanks Facundo;
  • Fixed: when signup confirmation is disabled, subscribers added via API are automatically confirmed;
  • Fixed: browser preview from within newsletter editor works on HTTP sites loaded over HTTPS. Thanks @dave2084!
Download this release

Release Info

Developer wysija
Plugin Icon 128x128 MailPoet Newsletters (New)
Version 3.0.0-rc.2.0.2
Comparing to
See all releases

Code changes from version 3.0.0-rc.2.0.1 to 3.0.0-rc.2.0.2

assets/js/{admin.36b0c17d.js → admin.6527ae62.js} RENAMED
@@ -10,8 +10,7 @@ webpackJsonp([0],[
10
  __webpack_require__(537);
11
  __webpack_require__(541);
12
  __webpack_require__(542);
13
- __webpack_require__(546);
14
- module.exports = __webpack_require__(547);
15
 
16
 
17
  /***/ },
@@ -10168,8 +10167,6 @@ webpackJsonp([0],[
10168
  return FormFieldDate;
10169
  })(React.Component);
10170
 
10171
- ;
10172
-
10173
  return FormFieldDate;
10174
  }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
10175
 
@@ -40964,7 +40961,7 @@ webpackJsonp([0],[
40964
  _mailpoet2['default'].I18n.t('knowledgeBaseButton')
40965
  )
40966
  );
40967
- };
40968
 
40969
  module.exports = KnowledgeBase;
40970
 
@@ -41021,7 +41018,7 @@ webpackJsonp([0],[
41021
  { className: 'nav-tab-wrapper' },
41022
  tabLinks
41023
  );
41024
- };
41025
 
41026
  Tabs.propTypes = { tab: _react2['default'].PropTypes.string };
41027
  Tabs.defaultProps = { tab: 'knowledgeBase' };
@@ -41097,7 +41094,7 @@ webpackJsonp([0],[
41097
  ),
41098
  printData(data)
41099
  );
41100
- };
41101
 
41102
  module.exports = KnowledgeBase;
41103
 
@@ -41320,7 +41317,7 @@ webpackJsonp([0],[
41320
  setTimeout(function () {
41321
  uploadElement.parse({
41322
  config: parseCSV(true)
41323
- })
41324
  }, 10);
41325
  }
41326
  });
@@ -41584,7 +41581,7 @@ webpackJsonp([0],[
41584
  MailPoet.Notice.error(errorNotice);
41585
  }
41586
  }
41587
- }
41588
  }
41589
  });
41590
 
@@ -41724,14 +41721,14 @@ webpackJsonp([0],[
41724
  toggleNextStepButton('on');
41725
  }
41726
  }
41727
- })
41728
  }
41729
 
41730
  jQuery('.mailpoet_create_segment').click(function() {
41731
  MailPoet.Modal.popup({
41732
  title: MailPoet.I18n.t('addNewList'),
41733
  template: jQuery('#new_segment_template').html()
41734
- })
41735
  jQuery('#new_segment_name').keypress(function(e) {
41736
  if (e.which == 13) {
41737
  jQuery('#new_segment_process').click();
@@ -41758,7 +41755,7 @@ webpackJsonp([0],[
41758
 
41759
  var selected_values = segmentSelectElement.val();
41760
  if (selected_values === null) {
41761
- selected_values = [response.data.id]
41762
  } else {
41763
  selected_values.push(response.data.id);
41764
  }
@@ -41935,7 +41932,7 @@ webpackJsonp([0],[
41935
  templateSelection: function (item) {
41936
  return item.name;
41937
  }
41938
- })
41939
  });
41940
  jQuery(selectElement).data('column-id', new_column_data.id);
41941
  jQuery(selectElement).data('validation-rule', false);
@@ -42044,11 +42041,11 @@ webpackJsonp([0],[
42044
  }
42045
  else {
42046
  for (var format in allowedDateFormats) {
42047
- var testedFormat = allowedDateFormats[format]
42048
  if (Moment(firstRowData, testedFormat, true).isValid()) {
42049
  var validationRule = (typeof(testedFormat) === 'function') ?
42050
  'datetime' :
42051
- testedFormat
42052
  // set validation on the column element
42053
  jQuery(matchedColumn.element).data('validation-rule', validationRule);
42054
  break;
@@ -42082,7 +42079,7 @@ webpackJsonp([0],[
42082
  + '</span> '
42083
  );
42084
  preventNextStep = true;
42085
- };
42086
  });
42087
  if (preventNextStep && !jQuery('.mailpoet_invalidDate').length) {
42088
  MailPoet.Notice.error(MailPoet.I18n.t('columnContainsInvalidDate'), {
@@ -42189,7 +42186,7 @@ webpackJsonp([0],[
42189
  }
42190
  });
42191
  batchNumber++;
42192
- })
42193
  });
42194
 
42195
  queue.run();
@@ -42564,17 +42561,5 @@ webpackJsonp([0],[
42564
  }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
42565
 
42566
 
42567
- /***/ },
42568
- /* 547 */
42569
- /***/ function(module, exports, __webpack_require__) {
42570
-
42571
- var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function() {
42572
- !function(e, o, n){window.HSCW=o, window.HS=n, n.beacon=n.beacon||{};var t=n.beacon;t.userConfig={}, t.readyQueue=[], t.config=function(e){this.userConfig=e}, t.ready=function(e){this.readyQueue.push(e)}, o.config={docs:{enabled:!0, baseUrl:"//mailpoet3.helpscoutdocs.com/"}, contact:{enabled:!0, formId:"aa21ca80-a4f5-11e6-91aa-0a5fecc78a4d"}};var r=e.getElementsByTagName("script")[0], c=e.createElement("script");c.type="text/javascript", c.async=!0, c.src="https://djtflbt20bdde.cloudfront.net/", r.parentNode.insertBefore(c, r)}(document, window.HSCW||{}, window.HS||{});
42573
- }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
42574
-
42575
-
42576
- /*** EXPORTS FROM exports-loader ***/
42577
- module.exports = window.HS;
42578
-
42579
  /***/ }
42580
  ]);
10
  __webpack_require__(537);
11
  __webpack_require__(541);
12
  __webpack_require__(542);
13
+ module.exports = __webpack_require__(546);
 
14
 
15
 
16
  /***/ },
10167
  return FormFieldDate;
10168
  })(React.Component);
10169
 
 
 
10170
  return FormFieldDate;
10171
  }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
10172
 
40961
  _mailpoet2['default'].I18n.t('knowledgeBaseButton')
40962
  )
40963
  );
40964
+ }
40965
 
40966
  module.exports = KnowledgeBase;
40967
 
41018
  { className: 'nav-tab-wrapper' },
41019
  tabLinks
41020
  );
41021
+ }
41022
 
41023
  Tabs.propTypes = { tab: _react2['default'].PropTypes.string };
41024
  Tabs.defaultProps = { tab: 'knowledgeBase' };
41094
  ),
41095
  printData(data)
41096
  );
41097
+ }
41098
 
41099
  module.exports = KnowledgeBase;
41100
 
41317
  setTimeout(function () {
41318
  uploadElement.parse({
41319
  config: parseCSV(true)
41320
+ });
41321
  }, 10);
41322
  }
41323
  });
41581
  MailPoet.Notice.error(errorNotice);
41582
  }
41583
  }
41584
+ };
41585
  }
41586
  });
41587
 
41721
  toggleNextStepButton('on');
41722
  }
41723
  }
41724
+ });
41725
  }
41726
 
41727
  jQuery('.mailpoet_create_segment').click(function() {
41728
  MailPoet.Modal.popup({
41729
  title: MailPoet.I18n.t('addNewList'),
41730
  template: jQuery('#new_segment_template').html()
41731
+ });
41732
  jQuery('#new_segment_name').keypress(function(e) {
41733
  if (e.which == 13) {
41734
  jQuery('#new_segment_process').click();
41755
 
41756
  var selected_values = segmentSelectElement.val();
41757
  if (selected_values === null) {
41758
+ selected_values = [response.data.id];
41759
  } else {
41760
  selected_values.push(response.data.id);
41761
  }
41932
  templateSelection: function (item) {
41933
  return item.name;
41934
  }
41935
+ });
41936
  });
41937
  jQuery(selectElement).data('column-id', new_column_data.id);
41938
  jQuery(selectElement).data('validation-rule', false);
42041
  }
42042
  else {
42043
  for (var format in allowedDateFormats) {
42044
+ var testedFormat = allowedDateFormats[format];
42045
  if (Moment(firstRowData, testedFormat, true).isValid()) {
42046
  var validationRule = (typeof(testedFormat) === 'function') ?
42047
  'datetime' :
42048
+ testedFormat;
42049
  // set validation on the column element
42050
  jQuery(matchedColumn.element).data('validation-rule', validationRule);
42051
  break;
42079
  + '</span> '
42080
  );
42081
  preventNextStep = true;
42082
+ }
42083
  });
42084
  if (preventNextStep && !jQuery('.mailpoet_invalidDate').length) {
42085
  MailPoet.Notice.error(MailPoet.I18n.t('columnContainsInvalidDate'), {
42186
  }
42187
  });
42188
  batchNumber++;
42189
+ });
42190
  });
42191
 
42192
  queue.run();
42561
  }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
42562
 
42563
 
 
 
 
 
 
 
 
 
 
 
 
 
42564
  /***/ }
42565
  ]);
assets/js/{admin_vendor.71d84e79.js → admin_vendor.77fc9795.js} RENAMED
@@ -30807,7 +30807,7 @@ webpackJsonp([1],[
30807
  var promise = this.props.onBulkAction(selected_ids, data);
30808
  if (promise !== false) {
30809
  promise.then(onSuccess);
30810
- };
30811
  }
30812
 
30813
  this.setState({
30807
  var promise = this.props.onBulkAction(selected_ids, data);
30808
  if (promise !== false) {
30809
  promise.then(onSuccess);
30810
+ }
30811
  }
30812
 
30813
  this.setState({
assets/js/{form_editor.92c760ec.js → form_editor.8b0c5294.js} RENAMED
@@ -3,22 +3,22 @@ webpackJsonp([2],{
3
  /***/ 0:
4
  /***/ function(module, exports, __webpack_require__) {
5
 
6
- __webpack_require__(548);
7
- __webpack_require__(550);
8
- module.exports = __webpack_require__(552);
9
 
10
 
11
  /***/ },
12
 
13
- /***/ 548:
14
  /***/ function(module, exports, __webpack_require__) {
15
 
16
- /* WEBPACK VAR INJECTION */(function(global) {module.exports = global["WysijaForm"] = __webpack_require__(549);
17
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
18
 
19
  /***/ },
20
 
21
- /***/ 549:
22
  /***/ function(module, exports) {
23
 
24
  /*
@@ -27,6 +27,7 @@ webpackJsonp([2],{
27
  * company: Wysija
28
  * framework: prototype 1.7.2
29
  */
 
30
  'use strict';
31
 
32
  Event.cacheDelegated = {};
@@ -47,14 +48,14 @@ webpackJsonp([2],{
47
  function findWrapper(selector, eventName, handler) {
48
  var c = getWrappersForSelector(selector, eventName);
49
  return c.find(function(wrapper) {
50
- return wrapper.handler === handler
51
  });
52
  }
53
 
54
  function destroyWrapper(selector, eventName, handler) {
55
  var c = getCacheForSelector(selector);
56
  if(!c[eventName]) return false;
57
- var wrapper = findWrapper(selector, eventName, handler)
58
  c[eventName] = c[eventName].without(wrapper);
59
  return wrapper;
60
  }
@@ -100,7 +101,7 @@ webpackJsonp([2],{
100
  }
101
  return document;
102
  }
103
- }
104
  })());
105
 
106
  var Observable = (function() {
@@ -123,7 +124,7 @@ webpackJsonp([2],{
123
  function getWrapper(handler, klass) {
124
  return function(event) {
125
  return handler.call(new klass(this), event, event.memo);
126
- }
127
  }
128
 
129
  function onDomLoad(selector, klass) {
@@ -148,7 +149,7 @@ webpackJsonp([2],{
148
  });
149
  delete this.handlers[selector];
150
  }
151
- }
152
  })();
153
 
154
  // override droppables
@@ -778,7 +779,7 @@ webpackJsonp([2],{
778
  this.element.addClassName('hover');
779
  try {
780
  this.getControls().show();
781
- } catch(e) {;
782
  }
783
  }
784
  },
@@ -1094,15 +1095,15 @@ webpackJsonp([2],{
1094
 
1095
  /***/ },
1096
 
1097
- /***/ 550:
1098
  /***/ function(module, exports, __webpack_require__) {
1099
 
1100
- /* WEBPACK VAR INJECTION */(function(global) {module.exports = global["CodeMirror"] = __webpack_require__(551);
1101
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
1102
 
1103
  /***/ },
1104
 
1105
- /***/ 551:
1106
  /***/ function(module, exports, __webpack_require__) {
1107
 
1108
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
@@ -10600,7 +10601,7 @@ webpackJsonp([2],{
10600
 
10601
  /***/ },
10602
 
10603
- /***/ 552:
10604
  /***/ function(module, exports, __webpack_require__) {
10605
 
10606
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
@@ -10608,7 +10609,7 @@ webpackJsonp([2],{
10608
 
10609
  (function(mod) {
10610
  if (true) // CommonJS
10611
- mod(__webpack_require__(550));
10612
  else if (typeof define == "function" && define.amd) // AMD
10613
  define(["../../lib/codemirror"], mod);
10614
  else // Plain browser env
3
  /***/ 0:
4
  /***/ function(module, exports, __webpack_require__) {
5
 
6
+ __webpack_require__(547);
7
+ __webpack_require__(549);
8
+ module.exports = __webpack_require__(551);
9
 
10
 
11
  /***/ },
12
 
13
+ /***/ 547:
14
  /***/ function(module, exports, __webpack_require__) {
15
 
16
+ /* WEBPACK VAR INJECTION */(function(global) {module.exports = global["WysijaForm"] = __webpack_require__(548);
17
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
18
 
19
  /***/ },
20
 
21
+ /***/ 548:
22
  /***/ function(module, exports) {
23
 
24
  /*
27
  * company: Wysija
28
  * framework: prototype 1.7.2
29
  */
30
+
31
  'use strict';
32
 
33
  Event.cacheDelegated = {};
48
  function findWrapper(selector, eventName, handler) {
49
  var c = getWrappersForSelector(selector, eventName);
50
  return c.find(function(wrapper) {
51
+ return wrapper.handler === handler;
52
  });
53
  }
54
 
55
  function destroyWrapper(selector, eventName, handler) {
56
  var c = getCacheForSelector(selector);
57
  if(!c[eventName]) return false;
58
+ var wrapper = findWrapper(selector, eventName, handler);
59
  c[eventName] = c[eventName].without(wrapper);
60
  return wrapper;
61
  }
101
  }
102
  return document;
103
  }
104
+ };
105
  })());
106
 
107
  var Observable = (function() {
124
  function getWrapper(handler, klass) {
125
  return function(event) {
126
  return handler.call(new klass(this), event, event.memo);
127
+ };
128
  }
129
 
130
  function onDomLoad(selector, klass) {
149
  });
150
  delete this.handlers[selector];
151
  }
152
+ };
153
  })();
154
 
155
  // override droppables
779
  this.element.addClassName('hover');
780
  try {
781
  this.getControls().show();
782
+ } catch(e) {
783
  }
784
  }
785
  },
1095
 
1096
  /***/ },
1097
 
1098
+ /***/ 549:
1099
  /***/ function(module, exports, __webpack_require__) {
1100
 
1101
+ /* WEBPACK VAR INJECTION */(function(global) {module.exports = global["CodeMirror"] = __webpack_require__(550);
1102
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
1103
 
1104
  /***/ },
1105
 
1106
+ /***/ 550:
1107
  /***/ function(module, exports, __webpack_require__) {
1108
 
1109
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
10601
 
10602
  /***/ },
10603
 
10604
+ /***/ 551:
10605
  /***/ function(module, exports, __webpack_require__) {
10606
 
10607
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
10609
 
10610
  (function(mod) {
10611
  if (true) // CommonJS
10612
+ mod(__webpack_require__(549));
10613
  else if (typeof define == "function" && define.amd) // AMD
10614
  define(["../../lib/codemirror"], mod);
10615
  else // Plain browser env
assets/js/{mailpoet.a3939b7d.js → mailpoet.e52dab6e.js} RENAMED
@@ -3,6 +3,7 @@ webpackJsonp([3],[
3
  /***/ function(module, exports, __webpack_require__) {
4
 
5
  __webpack_require__(274);
 
6
  __webpack_require__(553);
7
  __webpack_require__(554);
8
  __webpack_require__(555);
@@ -11,9 +12,8 @@ webpackJsonp([3],[
11
  __webpack_require__(558);
12
  __webpack_require__(559);
13
  __webpack_require__(560);
14
- __webpack_require__(561);
15
  __webpack_require__(428);
16
- module.exports = __webpack_require__(562);
17
 
18
 
19
  /***/ },
@@ -49881,8 +49881,7 @@ webpackJsonp([3],[
49881
  /* 549 */,
49882
  /* 550 */,
49883
  /* 551 */,
49884
- /* 552 */,
49885
- /* 553 */
49886
  /***/ function(module, exports, __webpack_require__) {
49887
 
49888
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;function requestFailed(errorMessage, xhr) {
@@ -49974,7 +49973,7 @@ webpackJsonp([3],[
49974
 
49975
 
49976
  /***/ },
49977
- /* 554 */
49978
  /***/ function(module, exports, __webpack_require__) {
49979
 
49980
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
@@ -50148,7 +50147,7 @@ webpackJsonp([3],[
50148
 
50149
 
50150
  /***/ },
50151
- /* 555 */
50152
  /***/ function(module, exports, __webpack_require__) {
50153
 
50154
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
@@ -50157,6 +50156,7 @@ webpackJsonp([3],[
50157
  mp
50158
  ) {
50159
  'use strict';
 
50160
  var MailPoet = mp;
50161
 
50162
  var translations = {};
@@ -50177,11 +50177,12 @@ webpackJsonp([3],[
50177
 
50178
 
50179
  /***/ },
50180
- /* 556 */
50181
  /***/ function(module, exports, __webpack_require__) {
50182
 
50183
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(274), __webpack_require__(273)], __WEBPACK_AMD_DEFINE_RESULT__ = function(mp, jQuery) {
50184
  'use strict';
 
50185
  var MailPoet = mp;
50186
  /***************************************************************************
50187
  MailPoet Modal:
@@ -50825,11 +50826,12 @@ webpackJsonp([3],[
50825
 
50826
 
50827
  /***/ },
50828
- /* 557 */
50829
  /***/ function(module, exports, __webpack_require__) {
50830
 
50831
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(274), __webpack_require__(273)], __WEBPACK_AMD_DEFINE_RESULT__ = function(mp, jQuery) {
50832
  'use strict';
 
50833
  /*==================================================================================================
50834
 
50835
  MailPoet Notice:
@@ -51046,7 +51048,7 @@ webpackJsonp([3],[
51046
 
51047
 
51048
  /***/ },
51049
- /* 558 */
51050
  /***/ function(module, exports, __webpack_require__) {
51051
 
51052
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
@@ -51073,7 +51075,7 @@ webpackJsonp([3],[
51073
 
51074
 
51075
  /***/ },
51076
- /* 559 */
51077
  /***/ function(module, exports, __webpack_require__) {
51078
 
51079
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
@@ -51184,7 +51186,7 @@ webpackJsonp([3],[
51184
  }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
51185
 
51186
  /***/ },
51187
- /* 560 */
51188
  /***/ function(module, exports, __webpack_require__) {
51189
 
51190
  /* WEBPACK VAR INJECTION */(function(global) {/*!
@@ -53653,7 +53655,7 @@ webpackJsonp([3],[
53653
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
53654
 
53655
  /***/ },
53656
- /* 561 */
53657
  /***/ function(module, exports, __webpack_require__) {
53658
 
53659
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
@@ -53696,7 +53698,7 @@ webpackJsonp([3],[
53696
  function trackCachedEvents() {
53697
  eventsCache.map(function (event) {
53698
  if (window.mailpoet_analytics_enabled || event.forced) {
53699
- window.mixpanel.track(event.name, event.data)
53700
  }
53701
  });
53702
  }
@@ -53729,11 +53731,12 @@ webpackJsonp([3],[
53729
 
53730
 
53731
  /***/ },
53732
- /* 562 */
53733
  /***/ function(module, exports, __webpack_require__) {
53734
 
53735
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(274), __webpack_require__(2), __webpack_require__(34), __webpack_require__(428)], __WEBPACK_AMD_DEFINE_RESULT__ = function (mp, React, ReactDOM, TooltipComponent) {
53736
  'use strict';
 
53737
  var MailPoet = mp;
53738
 
53739
  MailPoet.helpTooltip = {
3
  /***/ function(module, exports, __webpack_require__) {
4
 
5
  __webpack_require__(274);
6
+ __webpack_require__(552);
7
  __webpack_require__(553);
8
  __webpack_require__(554);
9
  __webpack_require__(555);
12
  __webpack_require__(558);
13
  __webpack_require__(559);
14
  __webpack_require__(560);
 
15
  __webpack_require__(428);
16
+ module.exports = __webpack_require__(561);
17
 
18
 
19
  /***/ },
49881
  /* 549 */,
49882
  /* 550 */,
49883
  /* 551 */,
49884
+ /* 552 */
 
49885
  /***/ function(module, exports, __webpack_require__) {
49886
 
49887
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;function requestFailed(errorMessage, xhr) {
49973
 
49974
 
49975
  /***/ },
49976
+ /* 553 */
49977
  /***/ function(module, exports, __webpack_require__) {
49978
 
49979
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
50147
 
50148
 
50149
  /***/ },
50150
+ /* 554 */
50151
  /***/ function(module, exports, __webpack_require__) {
50152
 
50153
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
50156
  mp
50157
  ) {
50158
  'use strict';
50159
+
50160
  var MailPoet = mp;
50161
 
50162
  var translations = {};
50177
 
50178
 
50179
  /***/ },
50180
+ /* 555 */
50181
  /***/ function(module, exports, __webpack_require__) {
50182
 
50183
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(274), __webpack_require__(273)], __WEBPACK_AMD_DEFINE_RESULT__ = function(mp, jQuery) {
50184
  'use strict';
50185
+
50186
  var MailPoet = mp;
50187
  /***************************************************************************
50188
  MailPoet Modal:
50826
 
50827
 
50828
  /***/ },
50829
+ /* 556 */
50830
  /***/ function(module, exports, __webpack_require__) {
50831
 
50832
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(274), __webpack_require__(273)], __WEBPACK_AMD_DEFINE_RESULT__ = function(mp, jQuery) {
50833
  'use strict';
50834
+
50835
  /*==================================================================================================
50836
 
50837
  MailPoet Notice:
51048
 
51049
 
51050
  /***/ },
51051
+ /* 557 */
51052
  /***/ function(module, exports, __webpack_require__) {
51053
 
51054
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
51075
 
51076
 
51077
  /***/ },
51078
+ /* 558 */
51079
  /***/ function(module, exports, __webpack_require__) {
51080
 
51081
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
51186
  }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
51187
 
51188
  /***/ },
51189
+ /* 559 */
51190
  /***/ function(module, exports, __webpack_require__) {
51191
 
51192
  /* WEBPACK VAR INJECTION */(function(global) {/*!
53655
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
53656
 
53657
  /***/ },
53658
+ /* 560 */
53659
  /***/ function(module, exports, __webpack_require__) {
53660
 
53661
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
53698
  function trackCachedEvents() {
53699
  eventsCache.map(function (event) {
53700
  if (window.mailpoet_analytics_enabled || event.forced) {
53701
+ window.mixpanel.track(event.name, event.data);
53702
  }
53703
  });
53704
  }
53731
 
53732
 
53733
  /***/ },
53734
+ /* 561 */
53735
  /***/ function(module, exports, __webpack_require__) {
53736
 
53737
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(274), __webpack_require__(2), __webpack_require__(34), __webpack_require__(428)], __WEBPACK_AMD_DEFINE_RESULT__ = function (mp, React, ReactDOM, TooltipComponent) {
53738
  'use strict';
53739
+
53740
  var MailPoet = mp;
53741
 
53742
  MailPoet.helpTooltip = {
assets/js/manifest.json CHANGED
@@ -1,10 +1,10 @@
1
  {
2
- "mp2migrator.js": "mp2migrator.f1fb2656.js",
3
- "public.js": "public.15490850.js",
4
- "admin.js": "admin.36b0c17d.js",
5
- "admin_vendor.js": "admin_vendor.71d84e79.js",
6
- "form_editor.js": "form_editor.92c760ec.js",
7
- "mailpoet.js": "mailpoet.a3939b7d.js",
8
- "newsletter_editor.js": "newsletter_editor.dabd6b50.js",
9
- "vendor.js": "vendor.aecfe832.js"
10
  }
1
  {
2
+ "mp2migrator.js": "mp2migrator.4acba493.js",
3
+ "public.js": "public.17607eba.js",
4
+ "admin.js": "admin.6527ae62.js",
5
+ "admin_vendor.js": "admin_vendor.77fc9795.js",
6
+ "form_editor.js": "form_editor.8b0c5294.js",
7
+ "mailpoet.js": "mailpoet.e52dab6e.js",
8
+ "newsletter_editor.js": "newsletter_editor.d11e861e.js",
9
+ "vendor.js": "vendor.f8675e02.js"
10
  }
assets/js/{mp2migrator.f1fb2656.js → mp2migrator.4acba493.js} RENAMED
@@ -53,6 +53,7 @@
53
 
54
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(2), __webpack_require__(3)], __WEBPACK_AMD_DEFINE_RESULT__ = function(mp, jQuery) {
55
  'use strict';
 
56
  var MailPoet = mp;
57
  MailPoet.MP2Migrator = {
58
 
@@ -64,7 +65,7 @@
64
  clearTimeout(MailPoet.MP2Migrator.displayLogs_timeout);
65
  clearTimeout(MailPoet.MP2Migrator.updateProgressbar_timeout);
66
  clearTimeout(MailPoet.MP2Migrator.update_wordpress_info_timeout);
67
- setTimeout(MailPoet.MP2Migrator.updateDisplay, 1000)
68
  },
69
 
70
  stopLogger: function () {
53
 
54
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(2), __webpack_require__(3)], __WEBPACK_AMD_DEFINE_RESULT__ = function(mp, jQuery) {
55
  'use strict';
56
+
57
  var MailPoet = mp;
58
  MailPoet.MP2Migrator = {
59
 
65
  clearTimeout(MailPoet.MP2Migrator.displayLogs_timeout);
66
  clearTimeout(MailPoet.MP2Migrator.updateProgressbar_timeout);
67
  clearTimeout(MailPoet.MP2Migrator.update_wordpress_info_timeout);
68
+ setTimeout(MailPoet.MP2Migrator.updateDisplay, 1000);
69
  },
70
 
71
  stopLogger: function () {
assets/js/{newsletter_editor.dabd6b50.js → newsletter_editor.d11e861e.js} RENAMED
@@ -1,13 +1,13 @@
1
  webpackJsonp([4],{
2
 
3
- /***/ 580:
4
  /***/ function(module, exports, __webpack_require__) {
5
 
6
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
7
- __webpack_require__(575),
8
  __webpack_require__(278),
9
  __webpack_require__(274),
10
- __webpack_require__(553)
11
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(App, _, MailPoet) {
12
 
13
  var Module = {};
@@ -34,6 +34,7 @@ webpackJsonp([4],{
34
  action: 'getPostTypes',
35
  options: {}
36
  }).then(function(response) {
 
37
  return _.values(response.data);
38
  });
39
  };
@@ -119,25 +120,26 @@ webpackJsonp([4],{
119
 
120
  __webpack_require__(278);
121
  __webpack_require__(535);
122
- __webpack_require__(563);
123
- __webpack_require__(565);
124
- __webpack_require__(566);
125
  __webpack_require__(564);
 
 
126
  __webpack_require__(287);
 
127
  __webpack_require__(567);
128
  __webpack_require__(568);
129
  __webpack_require__(569);
130
- __webpack_require__(570);
131
  __webpack_require__(573);
132
  __webpack_require__(574);
133
- __webpack_require__(575);
134
  __webpack_require__(577);
135
  __webpack_require__(578);
136
- __webpack_require__(579);
137
  __webpack_require__(581);
138
  __webpack_require__(582);
139
- __webpack_require__(583);
140
- __webpack_require__(580);
141
  __webpack_require__(586);
142
  __webpack_require__(587);
143
  __webpack_require__(588);
@@ -157,8 +159,7 @@ webpackJsonp([4],{
157
  __webpack_require__(602);
158
  __webpack_require__(603);
159
  __webpack_require__(604);
160
- __webpack_require__(605);
161
- module.exports = __webpack_require__(606);
162
 
163
 
164
  /***/ },
@@ -9410,7 +9411,7 @@ webpackJsonp([4],{
9410
 
9411
  /***/ },
9412
 
9413
- /***/ 553:
9414
  /***/ function(module, exports, __webpack_require__) {
9415
 
9416
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;function requestFailed(errorMessage, xhr) {
@@ -9503,11 +9504,12 @@ webpackJsonp([4],{
9503
 
9504
  /***/ },
9505
 
9506
- /***/ 556:
9507
  /***/ function(module, exports, __webpack_require__) {
9508
 
9509
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(274), __webpack_require__(273)], __WEBPACK_AMD_DEFINE_RESULT__ = function(mp, jQuery) {
9510
  'use strict';
 
9511
  var MailPoet = mp;
9512
  /***************************************************************************
9513
  MailPoet Modal:
@@ -10152,11 +10154,12 @@ webpackJsonp([4],{
10152
 
10153
  /***/ },
10154
 
10155
- /***/ 557:
10156
  /***/ function(module, exports, __webpack_require__) {
10157
 
10158
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(274), __webpack_require__(273)], __WEBPACK_AMD_DEFINE_RESULT__ = function(mp, jQuery) {
10159
  'use strict';
 
10160
  /*==================================================================================================
10161
 
10162
  MailPoet Notice:
@@ -10374,7 +10377,7 @@ webpackJsonp([4],{
10374
 
10375
  /***/ },
10376
 
10377
- /***/ 563:
10378
  /***/ function(module, exports, __webpack_require__) {
10379
 
10380
  // MarionetteJS (Backbone.Marionette)
@@ -10388,7 +10391,7 @@ webpackJsonp([4],{
10388
 
10389
 
10390
  (function (global, factory) {
10391
- true ? module.exports = factory(__webpack_require__(535), __webpack_require__(278), __webpack_require__(564)) :
10392
  typeof define === 'function' && define.amd ? define(['backbone', 'underscore', 'backbone.radio'], factory) :
10393
  (global.Marionette = global['Mn'] = factory(global.Backbone,global._,global.Backbone.Radio));
10394
  }(this, (function (Backbone,_,Radio) { 'use strict';
@@ -13869,7 +13872,7 @@ webpackJsonp([4],{
13869
 
13870
  /***/ },
13871
 
13872
- /***/ 564:
13873
  /***/ function(module, exports, __webpack_require__) {
13874
 
13875
  // Backbone.Radio v2.0.0
@@ -14225,7 +14228,7 @@ webpackJsonp([4],{
14225
 
14226
  /***/ },
14227
 
14228
- /***/ 565:
14229
  /***/ function(module, exports) {
14230
 
14231
  Backbone.SuperModel = (function(_, Backbone){
@@ -14648,7 +14651,7 @@ webpackJsonp([4],{
14648
 
14649
  /***/ },
14650
 
14651
- /***/ 566:
14652
  /***/ function(module, exports, __webpack_require__) {
14653
 
14654
  /**
@@ -20632,7 +20635,7 @@ webpackJsonp([4],{
20632
 
20633
  /***/ },
20634
 
20635
- /***/ 567:
20636
  /***/ function(module, exports, __webpack_require__) {
20637
 
20638
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// Spectrum Colorpicker v1.8.0
@@ -22962,7 +22965,7 @@ webpackJsonp([4],{
22962
 
22963
  /***/ },
22964
 
22965
- /***/ 568:
22966
  /***/ function(module, exports) {
22967
 
22968
  // Generated by CoffeeScript 1.9.2
@@ -23233,7 +23236,7 @@ webpackJsonp([4],{
23233
 
23234
  /***/ },
23235
 
23236
- /***/ 569:
23237
  /***/ function(module, exports) {
23238
 
23239
  /* Blob.js
@@ -23454,7 +23457,7 @@ webpackJsonp([4],{
23454
 
23455
  /***/ },
23456
 
23457
- /***/ 570:
23458
  /***/ function(module, exports, __webpack_require__) {
23459
 
23460
  var __WEBPACK_AMD_DEFINE_RESULT__;/* FileSaver.js
@@ -23640,7 +23643,7 @@ webpackJsonp([4],{
23640
 
23641
  if (typeof module !== "undefined" && module.exports) {
23642
  module.exports.saveAs = saveAs;
23643
- } else if (("function" !== "undefined" && __webpack_require__(571) !== null) && (__webpack_require__(572) !== null)) {
23644
  !(__WEBPACK_AMD_DEFINE_RESULT__ = function() {
23645
  return saveAs;
23646
  }.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
@@ -23649,7 +23652,7 @@ webpackJsonp([4],{
23649
 
23650
  /***/ },
23651
 
23652
- /***/ 571:
23653
  /***/ function(module, exports) {
23654
 
23655
  module.exports = function() { throw new Error("define cannot be used indirect"); };
@@ -23657,7 +23660,7 @@ webpackJsonp([4],{
23657
 
23658
  /***/ },
23659
 
23660
- /***/ 572:
23661
  /***/ function(module, exports) {
23662
 
23663
  /* WEBPACK VAR INJECTION */(function(__webpack_amd_options__) {module.exports = __webpack_amd_options__;
@@ -23666,7 +23669,7 @@ webpackJsonp([4],{
23666
 
23667
  /***/ },
23668
 
23669
- /***/ 573:
23670
  /***/ function(module, exports, __webpack_require__) {
23671
 
23672
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/*** IMPORTS FROM imports-loader ***/
@@ -27562,7 +27565,7 @@ webpackJsonp([4],{
27562
 
27563
  /***/ },
27564
 
27565
- /***/ 574:
27566
  /***/ function(module, exports, __webpack_require__) {
27567
 
27568
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
@@ -27575,7 +27578,7 @@ webpackJsonp([4],{
27575
 
27576
  (function(root, factory) {
27577
  if (true) {
27578
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(563), __webpack_require__(564), __webpack_require__(278)], __WEBPACK_AMD_DEFINE_RESULT__ = function(Marionette, Radio, _) {
27579
  return factory(Marionette, Radio, _);
27580
  }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
27581
  }
@@ -27590,6 +27593,7 @@ webpackJsonp([4],{
27590
  }
27591
  }(this, function(Marionette, Radio, _) {
27592
  'use strict';
 
27593
  var MarionetteApplication = Marionette.Application;
27594
  MarionetteApplication.prototype._initChannel = function () {
27595
  this.channelName = _.result(this, 'channelName') || 'global';
@@ -27600,17 +27604,17 @@ webpackJsonp([4],{
27600
 
27601
  /***/ },
27602
 
27603
- /***/ 575:
27604
  /***/ function(module, exports, __webpack_require__) {
27605
 
27606
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
27607
  __webpack_require__(535),
 
27608
  __webpack_require__(563),
27609
- __webpack_require__(564),
27610
  __webpack_require__(273),
27611
  __webpack_require__(278),
27612
  __webpack_require__(543),
27613
- __webpack_require__(576)
27614
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(Backbone, Marionette, BackboneRadio, jQuery, _, Handlebars) {
27615
  var Radio = BackboneRadio;
27616
 
@@ -27651,12 +27655,12 @@ webpackJsonp([4],{
27651
 
27652
  /***/ },
27653
 
27654
- /***/ 577:
27655
  /***/ function(module, exports, __webpack_require__) {
27656
 
27657
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
27658
- __webpack_require__(575),
27659
- __webpack_require__(565)
27660
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(App, SuperModel) {
27661
 
27662
  var Module = {};
@@ -27695,13 +27699,13 @@ webpackJsonp([4],{
27695
 
27696
  /***/ },
27697
 
27698
- /***/ 578:
27699
  /***/ function(module, exports, __webpack_require__) {
27700
 
27701
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
27702
- __webpack_require__(575),
27703
- __webpack_require__(563),
27704
- __webpack_require__(565)
27705
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(App, Marionette, SuperModel) {
27706
 
27707
  'use strict';
@@ -27791,19 +27795,19 @@ webpackJsonp([4],{
27791
 
27792
  /***/ },
27793
 
27794
- /***/ 579:
27795
  /***/ function(module, exports, __webpack_require__) {
27796
 
27797
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
27798
- __webpack_require__(575),
27799
- __webpack_require__(580),
27800
  __webpack_require__(274),
27801
  __webpack_require__(535),
27802
- __webpack_require__(563),
27803
- __webpack_require__(565),
27804
  __webpack_require__(278),
27805
  __webpack_require__(273),
27806
- __webpack_require__(568)
27807
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(
27808
  App,
27809
  CommunicationComponent,
@@ -28197,12 +28201,12 @@ webpackJsonp([4],{
28197
 
28198
  /***/ },
28199
 
28200
- /***/ 581:
28201
  /***/ function(module, exports, __webpack_require__) {
28202
 
28203
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
28204
- __webpack_require__(575),
28205
- __webpack_require__(565),
28206
  __webpack_require__(278),
28207
  __webpack_require__(274)
28208
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(App, SuperModel, _, MailPoet) {
@@ -28311,13 +28315,13 @@ webpackJsonp([4],{
28311
 
28312
  /***/ },
28313
 
28314
- /***/ 582:
28315
  /***/ function(module, exports, __webpack_require__) {
28316
 
28317
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
28318
- __webpack_require__(575),
28319
  __webpack_require__(535),
28320
- __webpack_require__(563),
28321
  __webpack_require__(278),
28322
  __webpack_require__(273)
28323
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(App, Backbone, Marionette, _, jQuery) {
@@ -28363,20 +28367,20 @@ webpackJsonp([4],{
28363
 
28364
  /***/ },
28365
 
28366
- /***/ 583:
28367
  /***/ function(module, exports, __webpack_require__) {
28368
 
28369
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
28370
- __webpack_require__(575),
28371
- __webpack_require__(580),
28372
  __webpack_require__(274),
28373
- __webpack_require__(557),
28374
  __webpack_require__(535),
28375
- __webpack_require__(563),
28376
  __webpack_require__(273),
 
28377
  __webpack_require__(569),
28378
- __webpack_require__(570),
28379
- __webpack_require__(584)
28380
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(
28381
  App,
28382
  CommunicationComponent,
@@ -28737,15 +28741,15 @@ webpackJsonp([4],{
28737
 
28738
  /***/ },
28739
 
28740
- /***/ 584:
28741
  /***/ function(module, exports, __webpack_require__) {
28742
 
28743
- /* WEBPACK VAR INJECTION */(function(global) {module.exports = global["html2canvas"] = __webpack_require__(585);
28744
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
28745
 
28746
  /***/ },
28747
 
28748
- /***/ 585:
28749
  /***/ function(module, exports, __webpack_require__) {
28750
 
28751
  var require;var require;/* WEBPACK VAR INJECTION */(function(global) {/*
@@ -33286,7 +33290,7 @@ webpackJsonp([4],{
33286
 
33287
  /***/ },
33288
 
33289
- /***/ 586:
33290
  /***/ function(module, exports, __webpack_require__) {
33291
 
33292
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
@@ -33296,7 +33300,7 @@ webpackJsonp([4],{
33296
  * For more check: http://marionettejs.com/docs/marionette.behaviors.html#behaviorslookup
33297
  */
33298
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
33299
- __webpack_require__(563)
33300
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(BackboneMarionette) {
33301
  var Marionette = BackboneMarionette;
33302
  var BehaviorsLookup = {};
@@ -33312,7 +33316,7 @@ webpackJsonp([4],{
33312
 
33313
  /***/ },
33314
 
33315
- /***/ 587:
33316
  /***/ function(module, exports, __webpack_require__) {
33317
 
33318
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
@@ -33321,10 +33325,10 @@ webpackJsonp([4],{
33321
  * Adds a color picker integration with the view
33322
  */
33323
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
33324
- __webpack_require__(563),
33325
- __webpack_require__(586),
33326
  __webpack_require__(274),
33327
- __webpack_require__(567)
33328
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(Marionette, BehaviorsLookup, MailPoet, Spectrum) {
33329
  var BL = BehaviorsLookup;
33330
 
@@ -33346,7 +33350,7 @@ webpackJsonp([4],{
33346
 
33347
  /***/ },
33348
 
33349
- /***/ 588:
33350
  /***/ function(module, exports, __webpack_require__) {
33351
 
33352
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
@@ -33357,11 +33361,11 @@ webpackJsonp([4],{
33357
  * accept droppables
33358
  */
33359
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
33360
- __webpack_require__(563),
33361
  __webpack_require__(278),
33362
  __webpack_require__(273),
33363
- __webpack_require__(586),
33364
- __webpack_require__(566)
33365
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(Marionette, _, jQuery, BL, interact) {
33366
  var BehaviorsLookup = BL;
33367
 
@@ -33793,7 +33797,7 @@ webpackJsonp([4],{
33793
 
33794
  /***/ },
33795
 
33796
- /***/ 589:
33797
  /***/ function(module, exports, __webpack_require__) {
33798
 
33799
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
@@ -33803,11 +33807,11 @@ webpackJsonp([4],{
33803
  * Part of the drag&drop behavior.
33804
  */
33805
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
33806
- __webpack_require__(563),
33807
  __webpack_require__(278),
33808
  __webpack_require__(273),
33809
- __webpack_require__(586),
33810
- __webpack_require__(566)
33811
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(Marionette, _, jQuery, BehaviorsLookup, interact) {
33812
  var BL = BehaviorsLookup;
33813
 
@@ -33945,7 +33949,7 @@ webpackJsonp([4],{
33945
 
33946
  /***/ },
33947
 
33948
- /***/ 590:
33949
  /***/ function(module, exports, __webpack_require__) {
33950
 
33951
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
@@ -33954,8 +33958,8 @@ webpackJsonp([4],{
33954
  * Highlights a block that is being edited
33955
  */
33956
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
33957
- __webpack_require__(563),
33958
- __webpack_require__(586)
33959
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(Marionette, BehaviorsLookup) {
33960
  var BL = BehaviorsLookup;
33961
 
@@ -33976,7 +33980,7 @@ webpackJsonp([4],{
33976
 
33977
  /***/ },
33978
 
33979
- /***/ 591:
33980
  /***/ function(module, exports, __webpack_require__) {
33981
 
33982
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
@@ -33985,9 +33989,9 @@ webpackJsonp([4],{
33985
  * Allows resizing elements within a block
33986
  */
33987
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
33988
- __webpack_require__(563),
33989
- __webpack_require__(586),
33990
- __webpack_require__(566)
33991
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(Marionette, BehaviorsLookup, interact) {
33992
  var BL = BehaviorsLookup;
33993
 
@@ -34031,7 +34035,8 @@ webpackJsonp([4],{
34031
  if (newLength < that.options.minLength) newLength = that.options.minLength;
34032
 
34033
  that.view.model.set(that.options.modelField, newLength + 'px');
34034
- }).on('resizeend', function(event) {
 
34035
  that.isBeingResized = null;
34036
  that.$el.removeClass('mailpoet_resize_active');
34037
  });
@@ -34052,7 +34057,7 @@ webpackJsonp([4],{
34052
 
34053
  /***/ },
34054
 
34055
- /***/ 592:
34056
  /***/ function(module, exports, __webpack_require__) {
34057
 
34058
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
@@ -34061,9 +34066,9 @@ webpackJsonp([4],{
34061
  * Allows sorting elements within a collection
34062
  */
34063
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
34064
- __webpack_require__(563),
34065
  __webpack_require__(278),
34066
- __webpack_require__(586)
34067
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(Marionette, _, BehaviorsLookup) {
34068
  var BL = BehaviorsLookup;
34069
 
@@ -34100,7 +34105,7 @@ webpackJsonp([4],{
34100
 
34101
  /***/ },
34102
 
34103
- /***/ 593:
34104
  /***/ function(module, exports, __webpack_require__) {
34105
 
34106
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
@@ -34109,9 +34114,9 @@ webpackJsonp([4],{
34109
  * Opens up settings of a BlockView if contents are clicked upon
34110
  */
34111
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
34112
- __webpack_require__(563),
34113
  __webpack_require__(273),
34114
- __webpack_require__(586)
34115
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(Marionette, jQuery, BehaviorsLookup) {
34116
  var BL = BehaviorsLookup;
34117
 
@@ -34139,7 +34144,7 @@ webpackJsonp([4],{
34139
 
34140
  /***/ },
34141
 
34142
- /***/ 594:
34143
  /***/ function(module, exports, __webpack_require__) {
34144
 
34145
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
@@ -34148,9 +34153,9 @@ webpackJsonp([4],{
34148
  * Adds TinyMCE text editing capabilities to a view
34149
  */
34150
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
34151
- __webpack_require__(563),
34152
  __webpack_require__(278),
34153
- __webpack_require__(586)
34154
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(Marionette, _, BehaviorsLookup) {
34155
  var BL = BehaviorsLookup;
34156
 
@@ -34178,6 +34183,8 @@ webpackJsonp([4],{
34178
  toolbar1: this.options.toolbar1,
34179
  toolbar2: this.options.toolbar2,
34180
 
 
 
34181
  valid_elements: this.options.validElements,
34182
  invalid_elements: this.options.invalidElements,
34183
  block_formats: this.options.blockFormats,
@@ -34230,7 +34237,7 @@ webpackJsonp([4],{
34230
 
34231
  /***/ },
34232
 
34233
- /***/ 595:
34234
  /***/ function(module, exports, __webpack_require__) {
34235
 
34236
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
@@ -34240,13 +34247,13 @@ webpackJsonp([4],{
34240
  * BlockToolsView, BlockSettingsView and BlockWidgetView are optional.
34241
  */
34242
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
34243
- __webpack_require__(575),
34244
- __webpack_require__(563),
34245
- __webpack_require__(565),
34246
  __webpack_require__(278),
34247
  __webpack_require__(273),
34248
  __webpack_require__(274),
34249
- __webpack_require__(556)
34250
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(App, Marionette, SuperModel, _, jQuery, MailPoet, Modal) {
34251
 
34252
  'use strict';
@@ -34545,7 +34552,7 @@ webpackJsonp([4],{
34545
 
34546
  /***/ },
34547
 
34548
- /***/ 596:
34549
  /***/ function(module, exports, __webpack_require__) {
34550
 
34551
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
@@ -34555,11 +34562,11 @@ webpackJsonp([4],{
34555
  */
34556
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
34557
  __webpack_require__(535),
34558
- __webpack_require__(563),
34559
  __webpack_require__(278),
34560
  __webpack_require__(273),
34561
- __webpack_require__(575),
34562
- __webpack_require__(595)
34563
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(Backbone, Marionette, _, jQuery, App, BaseBlock) {
34564
 
34565
  'use strict';
@@ -34916,15 +34923,15 @@ webpackJsonp([4],{
34916
 
34917
  /***/ },
34918
 
34919
- /***/ 597:
34920
  /***/ function(module, exports, __webpack_require__) {
34921
 
34922
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
34923
  * Button content block
34924
  */
34925
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
34926
- __webpack_require__(575),
34927
- __webpack_require__(595),
34928
  __webpack_require__(274),
34929
  __webpack_require__(278),
34930
  __webpack_require__(273)
@@ -35072,15 +35079,15 @@ webpackJsonp([4],{
35072
 
35073
  /***/ },
35074
 
35075
- /***/ 598:
35076
  /***/ function(module, exports, __webpack_require__) {
35077
 
35078
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
35079
  * Image content block
35080
  */
35081
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
35082
- __webpack_require__(575),
35083
- __webpack_require__(595),
35084
  __webpack_require__(278),
35085
  __webpack_require__(274)
35086
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(App, BaseBlock, _, MailPoet) {
@@ -35474,15 +35481,15 @@ webpackJsonp([4],{
35474
 
35475
  /***/ },
35476
 
35477
- /***/ 599:
35478
  /***/ function(module, exports, __webpack_require__) {
35479
 
35480
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
35481
  * Divider content block
35482
  */
35483
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
35484
- __webpack_require__(575),
35485
- __webpack_require__(595),
35486
  __webpack_require__(278),
35487
  __webpack_require__(273),
35488
  __webpack_require__(274)
@@ -35637,15 +35644,15 @@ webpackJsonp([4],{
35637
 
35638
  /***/ },
35639
 
35640
- /***/ 600:
35641
  /***/ function(module, exports, __webpack_require__) {
35642
 
35643
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
35644
  * Text content block
35645
  */
35646
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
35647
- __webpack_require__(575),
35648
- __webpack_require__(595),
35649
  __webpack_require__(278)
35650
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(App, BaseBlock, _) {
35651
 
@@ -35755,15 +35762,15 @@ webpackJsonp([4],{
35755
 
35756
  /***/ },
35757
 
35758
- /***/ 601:
35759
  /***/ function(module, exports, __webpack_require__) {
35760
 
35761
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
35762
  * Spacer content block
35763
  */
35764
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
35765
- __webpack_require__(575),
35766
- __webpack_require__(595),
35767
  __webpack_require__(278)
35768
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(App, BaseBlock, _) {
35769
 
@@ -35866,15 +35873,15 @@ webpackJsonp([4],{
35866
 
35867
  /***/ },
35868
 
35869
- /***/ 602:
35870
  /***/ function(module, exports, __webpack_require__) {
35871
 
35872
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
35873
  * Footer content block
35874
  */
35875
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
35876
- __webpack_require__(575),
35877
- __webpack_require__(595),
35878
  __webpack_require__(278)
35879
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(App, BaseBlock, _) {
35880
 
@@ -35999,15 +36006,15 @@ webpackJsonp([4],{
35999
 
36000
  /***/ },
36001
 
36002
- /***/ 603:
36003
  /***/ function(module, exports, __webpack_require__) {
36004
 
36005
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
36006
  * Header content block
36007
  */
36008
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
36009
- __webpack_require__(575),
36010
- __webpack_require__(595),
36011
  __webpack_require__(278)
36012
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(App, BaseBlock, _) {
36013
 
@@ -36132,7 +36139,7 @@ webpackJsonp([4],{
36132
 
36133
  /***/ },
36134
 
36135
- /***/ 604:
36136
  /***/ function(module, exports, __webpack_require__) {
36137
 
36138
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
@@ -36144,13 +36151,13 @@ webpackJsonp([4],{
36144
  * block settings view.
36145
  */
36146
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
36147
- __webpack_require__(575),
36148
- __webpack_require__(595),
36149
- __webpack_require__(597),
36150
- __webpack_require__(599),
36151
- __webpack_require__(580),
36152
  __webpack_require__(274),
36153
- __webpack_require__(565),
36154
  __webpack_require__(278),
36155
  __webpack_require__(273)
36156
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(
@@ -36540,7 +36547,7 @@ webpackJsonp([4],{
36540
 
36541
  /***/ },
36542
 
36543
- /***/ 605:
36544
  /***/ function(module, exports, __webpack_require__) {
36545
 
36546
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
@@ -36557,16 +36564,16 @@ webpackJsonp([4],{
36557
  */
36558
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
36559
  __webpack_require__(535),
 
36560
  __webpack_require__(563),
36561
- __webpack_require__(564),
36562
  __webpack_require__(278),
36563
  __webpack_require__(273),
36564
  __webpack_require__(274),
36565
- __webpack_require__(575),
36566
- __webpack_require__(580),
36567
- __webpack_require__(595),
36568
- __webpack_require__(597),
36569
- __webpack_require__(599),
36570
  __webpack_require__(287)
36571
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(
36572
  Backbone,
@@ -36930,6 +36937,7 @@ webpackJsonp([4],{
36930
  results: _.map(
36931
  data.terms,
36932
  function(item) {
 
36933
  return _.defaults({
36934
  text: data.taxonomies[item.taxonomy].labels.singular_name + ': ' + item.name,
36935
  id: item.term_id
@@ -37139,18 +37147,18 @@ webpackJsonp([4],{
37139
 
37140
  /***/ },
37141
 
37142
- /***/ 606:
37143
  /***/ function(module, exports, __webpack_require__) {
37144
 
37145
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
37146
  * Social icons content block
37147
  */
37148
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
37149
- __webpack_require__(575),
37150
- __webpack_require__(595),
37151
  __webpack_require__(535),
37152
- __webpack_require__(563),
37153
- __webpack_require__(565),
37154
  __webpack_require__(278),
37155
  __webpack_require__(273)
37156
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(App, BaseBlock, Backbone, Marionette, SuperModel, _, jQuery) {
@@ -37265,7 +37273,7 @@ webpackJsonp([4],{
37265
  this.showChildView('toolsRegion', this.toolsView);
37266
  this.showChildView('icons', new Module.SocialIconCollectionView({
37267
  collection: this.model.get('icons')
37268
- }))
37269
  }
37270
  });
37271
 
1
  webpackJsonp([4],{
2
 
3
+ /***/ 579:
4
  /***/ function(module, exports, __webpack_require__) {
5
 
6
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
7
+ __webpack_require__(574),
8
  __webpack_require__(278),
9
  __webpack_require__(274),
10
+ __webpack_require__(552)
11
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(App, _, MailPoet) {
12
 
13
  var Module = {};
34
  action: 'getPostTypes',
35
  options: {}
36
  }).then(function(response) {
37
+ console.log(_.values(response.data));
38
  return _.values(response.data);
39
  });
40
  };
120
 
121
  __webpack_require__(278);
122
  __webpack_require__(535);
123
+ __webpack_require__(562);
 
 
124
  __webpack_require__(564);
125
+ __webpack_require__(565);
126
+ __webpack_require__(563);
127
  __webpack_require__(287);
128
+ __webpack_require__(566);
129
  __webpack_require__(567);
130
  __webpack_require__(568);
131
  __webpack_require__(569);
132
+ __webpack_require__(572);
133
  __webpack_require__(573);
134
  __webpack_require__(574);
135
+ __webpack_require__(576);
136
  __webpack_require__(577);
137
  __webpack_require__(578);
138
+ __webpack_require__(580);
139
  __webpack_require__(581);
140
  __webpack_require__(582);
141
+ __webpack_require__(579);
142
+ __webpack_require__(585);
143
  __webpack_require__(586);
144
  __webpack_require__(587);
145
  __webpack_require__(588);
159
  __webpack_require__(602);
160
  __webpack_require__(603);
161
  __webpack_require__(604);
162
+ module.exports = __webpack_require__(605);
 
163
 
164
 
165
  /***/ },
9411
 
9412
  /***/ },
9413
 
9414
+ /***/ 552:
9415
  /***/ function(module, exports, __webpack_require__) {
9416
 
9417
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;function requestFailed(errorMessage, xhr) {
9504
 
9505
  /***/ },
9506
 
9507
+ /***/ 555:
9508
  /***/ function(module, exports, __webpack_require__) {
9509
 
9510
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(274), __webpack_require__(273)], __WEBPACK_AMD_DEFINE_RESULT__ = function(mp, jQuery) {
9511
  'use strict';
9512
+
9513
  var MailPoet = mp;
9514
  /***************************************************************************
9515
  MailPoet Modal:
10154
 
10155
  /***/ },
10156
 
10157
+ /***/ 556:
10158
  /***/ function(module, exports, __webpack_require__) {
10159
 
10160
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(274), __webpack_require__(273)], __WEBPACK_AMD_DEFINE_RESULT__ = function(mp, jQuery) {
10161
  'use strict';
10162
+
10163
  /*==================================================================================================
10164
 
10165
  MailPoet Notice:
10377
 
10378
  /***/ },
10379
 
10380
+ /***/ 562:
10381
  /***/ function(module, exports, __webpack_require__) {
10382
 
10383
  // MarionetteJS (Backbone.Marionette)
10391
 
10392
 
10393
  (function (global, factory) {
10394
+ true ? module.exports = factory(__webpack_require__(535), __webpack_require__(278), __webpack_require__(563)) :
10395
  typeof define === 'function' && define.amd ? define(['backbone', 'underscore', 'backbone.radio'], factory) :
10396
  (global.Marionette = global['Mn'] = factory(global.Backbone,global._,global.Backbone.Radio));
10397
  }(this, (function (Backbone,_,Radio) { 'use strict';
13872
 
13873
  /***/ },
13874
 
13875
+ /***/ 563:
13876
  /***/ function(module, exports, __webpack_require__) {
13877
 
13878
  // Backbone.Radio v2.0.0
14228
 
14229
  /***/ },
14230
 
14231
+ /***/ 564:
14232
  /***/ function(module, exports) {
14233
 
14234
  Backbone.SuperModel = (function(_, Backbone){
14651
 
14652
  /***/ },
14653
 
14654
+ /***/ 565:
14655
  /***/ function(module, exports, __webpack_require__) {
14656
 
14657
  /**
20635
 
20636
  /***/ },
20637
 
20638
+ /***/ 566:
20639
  /***/ function(module, exports, __webpack_require__) {
20640
 
20641
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// Spectrum Colorpicker v1.8.0
22965
 
22966
  /***/ },
22967
 
22968
+ /***/ 567:
22969
  /***/ function(module, exports) {
22970
 
22971
  // Generated by CoffeeScript 1.9.2
23236
 
23237
  /***/ },
23238
 
23239
+ /***/ 568:
23240
  /***/ function(module, exports) {
23241
 
23242
  /* Blob.js
23457
 
23458
  /***/ },
23459
 
23460
+ /***/ 569:
23461
  /***/ function(module, exports, __webpack_require__) {
23462
 
23463
  var __WEBPACK_AMD_DEFINE_RESULT__;/* FileSaver.js
23643
 
23644
  if (typeof module !== "undefined" && module.exports) {
23645
  module.exports.saveAs = saveAs;
23646
+ } else if (("function" !== "undefined" && __webpack_require__(570) !== null) && (__webpack_require__(571) !== null)) {
23647
  !(__WEBPACK_AMD_DEFINE_RESULT__ = function() {
23648
  return saveAs;
23649
  }.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
23652
 
23653
  /***/ },
23654
 
23655
+ /***/ 570:
23656
  /***/ function(module, exports) {
23657
 
23658
  module.exports = function() { throw new Error("define cannot be used indirect"); };
23660
 
23661
  /***/ },
23662
 
23663
+ /***/ 571:
23664
  /***/ function(module, exports) {
23665
 
23666
  /* WEBPACK VAR INJECTION */(function(__webpack_amd_options__) {module.exports = __webpack_amd_options__;
23669
 
23670
  /***/ },
23671
 
23672
+ /***/ 572:
23673
  /***/ function(module, exports, __webpack_require__) {
23674
 
23675
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/*** IMPORTS FROM imports-loader ***/
27565
 
27566
  /***/ },
27567
 
27568
+ /***/ 573:
27569
  /***/ function(module, exports, __webpack_require__) {
27570
 
27571
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
27578
 
27579
  (function(root, factory) {
27580
  if (true) {
27581
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(562), __webpack_require__(563), __webpack_require__(278)], __WEBPACK_AMD_DEFINE_RESULT__ = function(Marionette, Radio, _) {
27582
  return factory(Marionette, Radio, _);
27583
  }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
27584
  }
27593
  }
27594
  }(this, function(Marionette, Radio, _) {
27595
  'use strict';
27596
+
27597
  var MarionetteApplication = Marionette.Application;
27598
  MarionetteApplication.prototype._initChannel = function () {
27599
  this.channelName = _.result(this, 'channelName') || 'global';
27604
 
27605
  /***/ },
27606
 
27607
+ /***/ 574:
27608
  /***/ function(module, exports, __webpack_require__) {
27609
 
27610
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
27611
  __webpack_require__(535),
27612
+ __webpack_require__(562),
27613
  __webpack_require__(563),
 
27614
  __webpack_require__(273),
27615
  __webpack_require__(278),
27616
  __webpack_require__(543),
27617
+ __webpack_require__(575)
27618
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(Backbone, Marionette, BackboneRadio, jQuery, _, Handlebars) {
27619
  var Radio = BackboneRadio;
27620
 
27655
 
27656
  /***/ },
27657
 
27658
+ /***/ 576:
27659
  /***/ function(module, exports, __webpack_require__) {
27660
 
27661
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
27662
+ __webpack_require__(574),
27663
+ __webpack_require__(564)
27664
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(App, SuperModel) {
27665
 
27666
  var Module = {};
27699
 
27700
  /***/ },
27701
 
27702
+ /***/ 577:
27703
  /***/ function(module, exports, __webpack_require__) {
27704
 
27705
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
27706
+ __webpack_require__(574),
27707
+ __webpack_require__(562),
27708
+ __webpack_require__(564)
27709
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(App, Marionette, SuperModel) {
27710
 
27711
  'use strict';
27795
 
27796
  /***/ },
27797
 
27798
+ /***/ 578:
27799
  /***/ function(module, exports, __webpack_require__) {
27800
 
27801
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
27802
+ __webpack_require__(574),
27803
+ __webpack_require__(579),
27804
  __webpack_require__(274),
27805
  __webpack_require__(535),
27806
+ __webpack_require__(562),
27807
+ __webpack_require__(564),
27808
  __webpack_require__(278),
27809
  __webpack_require__(273),
27810
+ __webpack_require__(567)
27811
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(
27812
  App,
27813
  CommunicationComponent,
28201
 
28202
  /***/ },
28203
 
28204
+ /***/ 580:
28205
  /***/ function(module, exports, __webpack_require__) {
28206
 
28207
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
28208
+ __webpack_require__(574),
28209
+ __webpack_require__(564),
28210
  __webpack_require__(278),
28211
  __webpack_require__(274)
28212
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(App, SuperModel, _, MailPoet) {
28315
 
28316
  /***/ },
28317
 
28318
+ /***/ 581:
28319
  /***/ function(module, exports, __webpack_require__) {
28320
 
28321
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
28322
+ __webpack_require__(574),
28323
  __webpack_require__(535),
28324
+ __webpack_require__(562),
28325
  __webpack_require__(278),
28326
  __webpack_require__(273)
28327
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(App, Backbone, Marionette, _, jQuery) {
28367
 
28368
  /***/ },
28369
 
28370
+ /***/ 582:
28371
  /***/ function(module, exports, __webpack_require__) {
28372
 
28373
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
28374
+ __webpack_require__(574),
28375
+ __webpack_require__(579),
28376
  __webpack_require__(274),
28377
+ __webpack_require__(556),
28378
  __webpack_require__(535),
28379
+ __webpack_require__(562),
28380
  __webpack_require__(273),
28381
+ __webpack_require__(568),
28382
  __webpack_require__(569),
28383
+ __webpack_require__(583)
 
28384
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(
28385
  App,
28386
  CommunicationComponent,
28741
 
28742
  /***/ },
28743
 
28744
+ /***/ 583:
28745
  /***/ function(module, exports, __webpack_require__) {
28746
 
28747
+ /* WEBPACK VAR INJECTION */(function(global) {module.exports = global["html2canvas"] = __webpack_require__(584);
28748
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
28749
 
28750
  /***/ },
28751
 
28752
+ /***/ 584:
28753
  /***/ function(module, exports, __webpack_require__) {
28754
 
28755
  var require;var require;/* WEBPACK VAR INJECTION */(function(global) {/*
33290
 
33291
  /***/ },
33292
 
33293
+ /***/ 585:
33294
  /***/ function(module, exports, __webpack_require__) {
33295
 
33296
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
33300
  * For more check: http://marionettejs.com/docs/marionette.behaviors.html#behaviorslookup
33301
  */
33302
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
33303
+ __webpack_require__(562)
33304
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(BackboneMarionette) {
33305
  var Marionette = BackboneMarionette;
33306
  var BehaviorsLookup = {};
33316
 
33317
  /***/ },
33318
 
33319
+ /***/ 586:
33320
  /***/ function(module, exports, __webpack_require__) {
33321
 
33322
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
33325
  * Adds a color picker integration with the view
33326
  */
33327
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
33328
+ __webpack_require__(562),
33329
+ __webpack_require__(585),
33330
  __webpack_require__(274),
33331
+ __webpack_require__(566)
33332
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(Marionette, BehaviorsLookup, MailPoet, Spectrum) {
33333
  var BL = BehaviorsLookup;
33334
 
33350
 
33351
  /***/ },
33352
 
33353
+ /***/ 587:
33354
  /***/ function(module, exports, __webpack_require__) {
33355
 
33356
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
33361
  * accept droppables
33362
  */
33363
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
33364
+ __webpack_require__(562),
33365
  __webpack_require__(278),
33366
  __webpack_require__(273),
33367
+ __webpack_require__(585),
33368
+ __webpack_require__(565)
33369
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(Marionette, _, jQuery, BL, interact) {
33370
  var BehaviorsLookup = BL;
33371
 
33797
 
33798
  /***/ },
33799
 
33800
+ /***/ 588:
33801
  /***/ function(module, exports, __webpack_require__) {
33802
 
33803
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
33807
  * Part of the drag&drop behavior.
33808
  */
33809
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
33810
+ __webpack_require__(562),
33811
  __webpack_require__(278),
33812
  __webpack_require__(273),
33813
+ __webpack_require__(585),
33814
+ __webpack_require__(565)
33815
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(Marionette, _, jQuery, BehaviorsLookup, interact) {
33816
  var BL = BehaviorsLookup;
33817
 
33949
 
33950
  /***/ },
33951
 
33952
+ /***/ 589:
33953
  /***/ function(module, exports, __webpack_require__) {
33954
 
33955
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
33958
  * Highlights a block that is being edited
33959
  */
33960
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
33961
+ __webpack_require__(562),
33962
+ __webpack_require__(585)
33963
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(Marionette, BehaviorsLookup) {
33964
  var BL = BehaviorsLookup;
33965
 
33980
 
33981
  /***/ },
33982
 
33983
+ /***/ 590:
33984
  /***/ function(module, exports, __webpack_require__) {
33985
 
33986
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
33989
  * Allows resizing elements within a block
33990
  */
33991
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
33992
+ __webpack_require__(562),
33993
+ __webpack_require__(585),
33994
+ __webpack_require__(565)
33995
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(Marionette, BehaviorsLookup, interact) {
33996
  var BL = BehaviorsLookup;
33997
 
34035
  if (newLength < that.options.minLength) newLength = that.options.minLength;
34036
 
34037
  that.view.model.set(that.options.modelField, newLength + 'px');
34038
+ })
34039
+ .on('resizeend', function(event) {
34040
  that.isBeingResized = null;
34041
  that.$el.removeClass('mailpoet_resize_active');
34042
  });
34057
 
34058
  /***/ },
34059
 
34060
+ /***/ 591:
34061
  /***/ function(module, exports, __webpack_require__) {
34062
 
34063
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
34066
  * Allows sorting elements within a collection
34067
  */
34068
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
34069
+ __webpack_require__(562),
34070
  __webpack_require__(278),
34071
+ __webpack_require__(585)
34072
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(Marionette, _, BehaviorsLookup) {
34073
  var BL = BehaviorsLookup;
34074
 
34105
 
34106
  /***/ },
34107
 
34108
+ /***/ 592:
34109
  /***/ function(module, exports, __webpack_require__) {
34110
 
34111
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
34114
  * Opens up settings of a BlockView if contents are clicked upon
34115
  */
34116
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
34117
+ __webpack_require__(562),
34118
  __webpack_require__(273),
34119
+ __webpack_require__(585)
34120
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(Marionette, jQuery, BehaviorsLookup) {
34121
  var BL = BehaviorsLookup;
34122
 
34144
 
34145
  /***/ },
34146
 
34147
+ /***/ 593:
34148
  /***/ function(module, exports, __webpack_require__) {
34149
 
34150
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
34153
  * Adds TinyMCE text editing capabilities to a view
34154
  */
34155
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
34156
+ __webpack_require__(562),
34157
  __webpack_require__(278),
34158
+ __webpack_require__(585)
34159
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(Marionette, _, BehaviorsLookup) {
34160
  var BL = BehaviorsLookup;
34161
 
34183
  toolbar1: this.options.toolbar1,
34184
  toolbar2: this.options.toolbar2,
34185
 
34186
+ browser_spellcheck: true,
34187
+
34188
  valid_elements: this.options.validElements,
34189
  invalid_elements: this.options.invalidElements,
34190
  block_formats: this.options.blockFormats,
34237
 
34238
  /***/ },
34239
 
34240
+ /***/ 594:
34241
  /***/ function(module, exports, __webpack_require__) {
34242
 
34243
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
34247
  * BlockToolsView, BlockSettingsView and BlockWidgetView are optional.
34248
  */
34249
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
34250
+ __webpack_require__(574),
34251
+ __webpack_require__(562),
34252
+ __webpack_require__(564),
34253
  __webpack_require__(278),
34254
  __webpack_require__(273),
34255
  __webpack_require__(274),
34256
+ __webpack_require__(555)
34257
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(App, Marionette, SuperModel, _, jQuery, MailPoet, Modal) {
34258
 
34259
  'use strict';
34552
 
34553
  /***/ },
34554
 
34555
+ /***/ 595:
34556
  /***/ function(module, exports, __webpack_require__) {
34557
 
34558
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
34562
  */
34563
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
34564
  __webpack_require__(535),
34565
+ __webpack_require__(562),
34566
  __webpack_require__(278),
34567
  __webpack_require__(273),
34568
+ __webpack_require__(574),
34569
+ __webpack_require__(594)
34570
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(Backbone, Marionette, _, jQuery, App, BaseBlock) {
34571
 
34572
  'use strict';
34923
 
34924
  /***/ },
34925
 
34926
+ /***/ 596:
34927
  /***/ function(module, exports, __webpack_require__) {
34928
 
34929
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
34930
  * Button content block
34931
  */
34932
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
34933
+ __webpack_require__(574),
34934
+ __webpack_require__(594),
34935
  __webpack_require__(274),
34936
  __webpack_require__(278),
34937
  __webpack_require__(273)
35079
 
35080
  /***/ },
35081
 
35082
+ /***/ 597:
35083
  /***/ function(module, exports, __webpack_require__) {
35084
 
35085
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
35086
  * Image content block
35087
  */
35088
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
35089
+ __webpack_require__(574),
35090
+ __webpack_require__(594),
35091
  __webpack_require__(278),
35092
  __webpack_require__(274)
35093
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(App, BaseBlock, _, MailPoet) {
35481
 
35482
  /***/ },
35483
 
35484
+ /***/ 598:
35485
  /***/ function(module, exports, __webpack_require__) {
35486
 
35487
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
35488
  * Divider content block
35489
  */
35490
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
35491
+ __webpack_require__(574),
35492
+ __webpack_require__(594),
35493
  __webpack_require__(278),
35494
  __webpack_require__(273),
35495
  __webpack_require__(274)
35644
 
35645
  /***/ },
35646
 
35647
+ /***/ 599:
35648
  /***/ function(module, exports, __webpack_require__) {
35649
 
35650
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
35651
  * Text content block
35652
  */
35653
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
35654
+ __webpack_require__(574),
35655
+ __webpack_require__(594),
35656
  __webpack_require__(278)
35657
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(App, BaseBlock, _) {
35658
 
35762
 
35763
  /***/ },
35764
 
35765
+ /***/ 600:
35766
  /***/ function(module, exports, __webpack_require__) {
35767
 
35768
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
35769
  * Spacer content block
35770
  */
35771
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
35772
+ __webpack_require__(574),
35773
+ __webpack_require__(594),
35774
  __webpack_require__(278)
35775
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(App, BaseBlock, _) {
35776
 
35873
 
35874
  /***/ },
35875
 
35876
+ /***/ 601:
35877
  /***/ function(module, exports, __webpack_require__) {
35878
 
35879
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
35880
  * Footer content block
35881
  */
35882
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
35883
+ __webpack_require__(574),
35884
+ __webpack_require__(594),
35885
  __webpack_require__(278)
35886
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(App, BaseBlock, _) {
35887
 
36006
 
36007
  /***/ },
36008
 
36009
+ /***/ 602:
36010
  /***/ function(module, exports, __webpack_require__) {
36011
 
36012
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
36013
  * Header content block
36014
  */
36015
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
36016
+ __webpack_require__(574),
36017
+ __webpack_require__(594),
36018
  __webpack_require__(278)
36019
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(App, BaseBlock, _) {
36020
 
36139
 
36140
  /***/ },
36141
 
36142
+ /***/ 603:
36143
  /***/ function(module, exports, __webpack_require__) {
36144
 
36145
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
36151
  * block settings view.
36152
  */
36153
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
36154
+ __webpack_require__(574),
36155
+ __webpack_require__(594),
36156
+ __webpack_require__(596),
36157
+ __webpack_require__(598),
36158
+ __webpack_require__(579),
36159
  __webpack_require__(274),
36160
+ __webpack_require__(564),
36161
  __webpack_require__(278),
36162
  __webpack_require__(273)
36163
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(
36547
 
36548
  /***/ },
36549
 
36550
+ /***/ 604:
36551
  /***/ function(module, exports, __webpack_require__) {
36552
 
36553
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
36564
  */
36565
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
36566
  __webpack_require__(535),
36567
+ __webpack_require__(562),
36568
  __webpack_require__(563),
 
36569
  __webpack_require__(278),
36570
  __webpack_require__(273),
36571
  __webpack_require__(274),
36572
+ __webpack_require__(574),
36573
+ __webpack_require__(579),
36574
+ __webpack_require__(594),
36575
+ __webpack_require__(596),
36576
+ __webpack_require__(598),
36577
  __webpack_require__(287)
36578
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(
36579
  Backbone,
36937
  results: _.map(
36938
  data.terms,
36939
  function(item) {
36940
+ console.log(item);
36941
  return _.defaults({
36942
  text: data.taxonomies[item.taxonomy].labels.singular_name + ': ' + item.name,
36943
  id: item.term_id
37147
 
37148
  /***/ },
37149
 
37150
+ /***/ 605:
37151
  /***/ function(module, exports, __webpack_require__) {
37152
 
37153
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
37154
  * Social icons content block
37155
  */
37156
  !(__WEBPACK_AMD_DEFINE_ARRAY__ = [
37157
+ __webpack_require__(574),
37158
+ __webpack_require__(594),
37159
  __webpack_require__(535),
37160
+ __webpack_require__(562),
37161
+ __webpack_require__(564),
37162
  __webpack_require__(278),
37163
  __webpack_require__(273)
37164
  ], __WEBPACK_AMD_DEFINE_RESULT__ = function(App, BaseBlock, Backbone, Marionette, SuperModel, _, jQuery) {
37273
  this.showChildView('toolsRegion', this.toolsView);
37274
  this.showChildView('icons', new Module.SocialIconCollectionView({
37275
  collection: this.model.get('icons')
37276
+ }));
37277
  }
37278
  });
37279
 
assets/js/{public.15490850.js → public.17607eba.js} RENAMED
@@ -77,6 +77,7 @@
77
  mp
78
  ) {
79
  'use strict';
 
80
  var MailPoet = mp;
81
 
82
  var translations = {};
@@ -1761,6 +1762,7 @@
1761
 
1762
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(1)], __WEBPACK_AMD_DEFINE_RESULT__ = function(mp) {
1763
  'use strict';
 
1764
  var MailPoet = mp;
1765
  MailPoet.Iframe = {
1766
  marginY: 20,
@@ -1901,91 +1903,91 @@
1901
  /* 9 */
1902
  /***/ function(module, exports, __webpack_require__) {
1903
 
1904
- var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
1905
- __webpack_require__(1),
1906
- __webpack_require__(4),
1907
- __webpack_require__(10)
1908
- ], __WEBPACK_AMD_DEFINE_RESULT__ = function(
1909
- MailPoet,
1910
- jQuery,
1911
- Parsley
1912
- ) {
1913
- jQuery(function($) {
1914
- function isSameDomain(url) {
1915
- var link = document.createElement('a');
1916
- link.href = url;
1917
- return (window.location.hostname === link.hostname);
1918
- }
1919
-
1920
- $(function() {
1921
- // setup form validation
1922
- $('form.mailpoet_form').each(function() {
1923
- var form = $(this);
1924
-
1925
- form.parsley().on('form:validated', function(parsley) {
1926
- // clear messages
1927
- form.find('.mailpoet_message > p').hide();
1928
-
1929
- // resize iframe
1930
- if(window.frameElement !== null) {
1931
- MailPoet.Iframe.autoSize(window.frameElement);
1932
- }
1933
- });
1934
-
1935
- form.parsley().on('form:submit', function(parsley) {
1936
- var form_data = form.serializeObject() || {};
1937
- // check if we're on the same domain
1938
- if(isSameDomain(MailPoetForm.ajax_url) === false) {
1939
- // non ajax post request
1940
- return true;
1941
- } else {
1942
- // ajax request
1943
- MailPoet.Ajax.post({
1944
- url: MailPoetForm.ajax_url,
1945
- token: form_data.token,
1946
- api_version: form_data.api_version,
1947
- endpoint: 'subscribers',
1948
- action: 'subscribe',
1949
- data: form_data.data
1950
- }).fail(function(response) {
1951
- form.find('.mailpoet_validate_error').html(
1952
- response.errors.map(function(error) {
1953
- return error.message;
1954
- }).join('<br />')
1955
- ).show();
1956
- }).done(function(response) {
1957
- // successfully subscribed
1958
- if (
1959
- response.meta !== undefined
1960
- && response.meta.redirect_url !== undefined
1961
- ) {
1962
- // go to page
1963
- window.location.href = response.meta.redirect_url;
1964
- } else {
1965
- // display success message
1966
- form.find('.mailpoet_validate_success').show();
1967
- }
1968
-
1969
- // reset form
1970
- form.trigger('reset');
1971
- // reset validation
1972
- parsley.reset();
1973
-
1974
- // resize iframe
1975
- if (
1976
- window.frameElement !== null
1977
- && MailPoet !== undefined
1978
- && MailPoet['Iframe']
1979
- ) {
1980
- MailPoet.Iframe.autoSize(window.frameElement);
1981
- }
1982
- });
1983
- }
1984
- return false;
1985
- });
1986
- });
1987
- });
1988
- });
1989
  }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
1990
 
1991
  /***/ },
77
  mp
78
  ) {
79
  'use strict';
80
+
81
  var MailPoet = mp;
82
 
83
  var translations = {};
1762
 
1763
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(1)], __WEBPACK_AMD_DEFINE_RESULT__ = function(mp) {
1764
  'use strict';
1765
+
1766
  var MailPoet = mp;
1767
  MailPoet.Iframe = {
1768
  marginY: 20,
1903
  /* 9 */
1904
  /***/ function(module, exports, __webpack_require__) {
1905
 
1906
+ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [
1907
+ __webpack_require__(1),
1908
+ __webpack_require__(4),
1909
+ __webpack_require__(10)
1910
+ ], __WEBPACK_AMD_DEFINE_RESULT__ = function(
1911
+ MailPoet,
1912
+ jQuery,
1913
+ Parsley
1914
+ ) {
1915
+ jQuery(function($) {
1916
+ function isSameDomain(url) {
1917
+ var link = document.createElement('a');
1918
+ link.href = url;
1919
+ return (window.location.hostname === link.hostname);
1920
+ }
1921
+
1922
+ $(function() {
1923
+ // setup form validation
1924
+ $('form.mailpoet_form').each(function() {
1925
+ var form = $(this);
1926
+
1927
+ form.parsley().on('form:validated', function(parsley) {
1928
+ // clear messages
1929
+ form.find('.mailpoet_message > p').hide();
1930
+
1931
+ // resize iframe
1932
+ if(window.frameElement !== null) {
1933
+ MailPoet.Iframe.autoSize(window.frameElement);
1934
+ }
1935
+ });
1936
+
1937
+ form.parsley().on('form:submit', function(parsley) {
1938
+ var form_data = form.serializeObject() || {};
1939
+ // check if we're on the same domain
1940
+ if(isSameDomain(MailPoetForm.ajax_url) === false) {
1941
+ // non ajax post request
1942
+ return true;
1943
+ } else {
1944
+ // ajax request
1945
+ MailPoet.Ajax.post({
1946
+ url: MailPoetForm.ajax_url,
1947
+ token: form_data.token,
1948
+ api_version: form_data.api_version,
1949
+ endpoint: 'subscribers',
1950
+ action: 'subscribe',
1951
+ data: form_data.data
1952
+ }).fail(function(response) {
1953
+ form.find('.mailpoet_validate_error').html(
1954
+ response.errors.map(function(error) {
1955
+ return error.message;
1956
+ }).join('<br />')
1957
+ ).show();
1958
+ }).done(function(response) {
1959
+ // successfully subscribed
1960
+ if (
1961
+ response.meta !== undefined
1962
+ && response.meta.redirect_url !== undefined
1963
+ ) {
1964
+ // go to page
1965
+ window.location.href = response.meta.redirect_url;
1966
+ } else {
1967
+ // display success message
1968
+ form.find('.mailpoet_validate_success').show();
1969
+ }
1970
+
1971
+ // reset form
1972
+ form.trigger('reset');
1973
+ // reset validation
1974
+ parsley.reset();
1975
+
1976
+ // resize iframe
1977
+ if (
1978
+ window.frameElement !== null
1979
+ && MailPoet !== undefined
1980
+ && MailPoet['Iframe']
1981
+ ) {
1982
+ MailPoet.Iframe.autoSize(window.frameElement);
1983
+ }
1984
+ });
1985
+ }
1986
+ return false;
1987
+ });
1988
+ });
1989
+ });
1990
+ });
1991
  }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
1992
 
1993
  /***/ },
assets/js/{vendor.aecfe832.js → vendor.f8675e02.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":"36b0c17d","1":"71d84e79","2":"92c760ec","3":"a3939b7d","4":"dabd6b50"}[chunkId] + ".chunk.js";
80
  /******/ head.appendChild(script);
81
  /******/ }
82
  /******/ };
@@ -100,13 +100,13 @@
100
  /***/ function(module, exports, __webpack_require__) {
101
 
102
  __webpack_require__(543);
103
- __webpack_require__(576);
104
  module.exports = __webpack_require__(422);
105
 
106
 
107
  /***/ },
108
 
109
- /***/ 576:
110
  /***/ function(module, exports, __webpack_require__) {
111
 
112
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(543)], __WEBPACK_AMD_DEFINE_RESULT__ = function(Handlebars) {
@@ -116,7 +116,7 @@
116
  output = '';
117
  for(var i = 0; i < size; i++) {
118
  output += arguments[i];
119
- };
120
  return output;
121
  });
122
 
@@ -139,7 +139,7 @@
139
  }
140
  } else {
141
  return timestamp;
142
- };
143
  });
144
 
145
  Handlebars.registerHelper('cycle', function(value, block) {
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":"6527ae62","1":"77fc9795","2":"8b0c5294","3":"e52dab6e","4":"d11e861e"}[chunkId] + ".chunk.js";
80
  /******/ head.appendChild(script);
81
  /******/ }
82
  /******/ };
100
  /***/ function(module, exports, __webpack_require__) {
101
 
102
  __webpack_require__(543);
103
+ __webpack_require__(575);
104
  module.exports = __webpack_require__(422);
105
 
106
 
107
  /***/ },
108
 
109
+ /***/ 575:
110
  /***/ function(module, exports, __webpack_require__) {
111
 
112
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(543)], __WEBPACK_AMD_DEFINE_RESULT__ = function(Handlebars) {
116
  output = '';
117
  for(var i = 0; i < size; i++) {
118
  output += arguments[i];
119
+ }
120
  return output;
121
  });
122
 
139
  }
140
  } else {
141
  return timestamp;
142
+ }
143
  });
144
 
145
  Handlebars.registerHelper('cycle', function(value, block) {
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-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: 2017-08-30 15:49:26+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -38,7 +38,11 @@ msgstr ""
38
  msgid "Invalid API endpoint."
39
  msgstr ""
40
 
41
- #: lib/API/JSON/API.php:136 lib/Router/Router.php:45
 
 
 
 
42
  msgid "You do not have the required permissions."
43
  msgstr ""
44
 
@@ -88,7 +92,7 @@ msgstr ""
88
  msgid "Copy of %s"
89
  msgstr ""
90
 
91
- #: lib/API/JSON/v1/Mailer.php:36 lib/API/JSON/v1/Newsletters.php:332
92
  msgid "The email could not be sent: %s"
93
  msgstr ""
94
 
@@ -100,7 +104,7 @@ msgstr ""
100
  #: lib/API/JSON/v1/Newsletters.php:37 lib/API/JSON/v1/Newsletters.php:148
101
  #: lib/API/JSON/v1/Newsletters.php:180 lib/API/JSON/v1/Newsletters.php:196
102
  #: lib/API/JSON/v1/Newsletters.php:212 lib/API/JSON/v1/Newsletters.php:226
103
- #: lib/API/JSON/v1/Newsletters.php:259 lib/API/JSON/v1/Newsletters.php:290
104
  #: lib/API/JSON/v1/SendingQueue.php:34 lib/API/JSON/v1/SendingQueue.php:121
105
  #: lib/API/JSON/v1/SendingQueue.php:147
106
  msgid "This newsletter does not exist."
@@ -114,7 +118,7 @@ msgstr ""
114
  msgid "Newsletter data is missing."
115
  msgstr ""
116
 
117
- #: lib/API/JSON/v1/Newsletters.php:281
118
  msgid "Please specify receiver information."
119
  msgstr ""
120
 
@@ -1665,19 +1669,19 @@ msgstr ""
1665
  msgid "Accidentally unsubscribed?"
1666
  msgstr ""
1667
 
1668
- #: lib/Twig/Functions.php:93 views/settings/mta.html:1081
1669
  msgid "every minute"
1670
  msgstr ""
1671
 
1672
- #: lib/Twig/Functions.php:94 views/settings/mta.html:1082
1673
  msgid "every %1$d minutes"
1674
  msgstr ""
1675
 
1676
- #: lib/Twig/Functions.php:95 views/settings/mta.html:1083
1677
  msgid "every hour"
1678
  msgstr ""
1679
 
1680
- #: lib/Twig/Functions.php:96 views/settings/mta.html:1084
1681
  msgid "every %1$d hours"
1682
  msgstr ""
1683
 
@@ -2260,7 +2264,7 @@ msgid ""
2260
  "with response code %d"
2261
  msgstr ""
2262
 
2263
- #: views/layout.html:84
2264
  msgid ""
2265
  "Want to give feedback to the MailPoet team? Contact us here. Please provide "
2266
  "as much information as possible!"
4
  msgstr ""
5
  "Project-Id-Version: \n"
6
  "Report-Msgid-Bugs-To: http://support.mailpoet.com/\n"
7
+ "POT-Creation-Date: 2017-09-05 15:55:34+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
38
  msgid "Invalid API endpoint."
39
  msgstr ""
40
 
41
+ #: lib/API/JSON/API.php:134
42
+ msgid "Invalid API endpoint method."
43
+ msgstr ""
44
+
45
+ #: lib/API/JSON/API.php:140 lib/Router/Router.php:45
46
  msgid "You do not have the required permissions."
47
  msgstr ""
48
 
92
  msgid "Copy of %s"
93
  msgstr ""
94
 
95
+ #: lib/API/JSON/v1/Mailer.php:36 lib/API/JSON/v1/Newsletters.php:334
96
  msgid "The email could not be sent: %s"
97
  msgstr ""
98
 
104
  #: lib/API/JSON/v1/Newsletters.php:37 lib/API/JSON/v1/Newsletters.php:148
105
  #: lib/API/JSON/v1/Newsletters.php:180 lib/API/JSON/v1/Newsletters.php:196
106
  #: lib/API/JSON/v1/Newsletters.php:212 lib/API/JSON/v1/Newsletters.php:226
107
+ #: lib/API/JSON/v1/Newsletters.php:259 lib/API/JSON/v1/Newsletters.php:292
108
  #: lib/API/JSON/v1/SendingQueue.php:34 lib/API/JSON/v1/SendingQueue.php:121
109
  #: lib/API/JSON/v1/SendingQueue.php:147
110
  msgid "This newsletter does not exist."
118
  msgid "Newsletter data is missing."
119
  msgstr ""
120
 
121
+ #: lib/API/JSON/v1/Newsletters.php:283
122
  msgid "Please specify receiver information."
123
  msgstr ""
124
 
1669
  msgid "Accidentally unsubscribed?"
1670
  msgstr ""
1671
 
1672
+ #: lib/Twig/Functions.php:99 views/settings/mta.html:1081
1673
  msgid "every minute"
1674
  msgstr ""
1675
 
1676
+ #: lib/Twig/Functions.php:100 views/settings/mta.html:1082
1677
  msgid "every %1$d minutes"
1678
  msgstr ""
1679
 
1680
+ #: lib/Twig/Functions.php:101 views/settings/mta.html:1083
1681
  msgid "every hour"
1682
  msgstr ""
1683
 
1684
+ #: lib/Twig/Functions.php:102 views/settings/mta.html:1084
1685
  msgid "every %1$d hours"
1686
  msgstr ""
1687
 
2264
  "with response code %d"
2265
  msgstr ""
2266
 
2267
+ #: views/layout.html:87
2268
  msgid ""
2269
  "Want to give feedback to the MailPoet team? Contact us here. Please provide "
2270
  "as much information as possible!"
lib/API/JSON/API.php CHANGED
@@ -130,6 +130,10 @@ class API {
130
 
131
  $endpoint = new $this->_request_endpoint_class();
132
 
 
 
 
 
133
  // check the accessibility of the requested endpoint's action
134
  // by default, an endpoint's action is considered "private"
135
  if(!$this->validatePermissions($this->_request_method, $endpoint->permissions)) {
130
 
131
  $endpoint = new $this->_request_endpoint_class();
132
 
133
+ if(!method_exists($endpoint, $this->_request_method)) {
134
+ throw new \Exception(__('Invalid API endpoint method.', 'mailpoet'));
135
+ }
136
+
137
  // check the accessibility of the requested endpoint's action
138
  // by default, an endpoint's action is considered "private"
139
  if(!$this->validatePermissions($this->_request_method, $endpoint->permissions)) {
lib/API/JSON/v1/AutomatedLatestContent.php CHANGED
@@ -19,8 +19,14 @@ class AutomatedLatestContent extends APIEndpoint {
19
  }
20
 
21
  function getPostTypes() {
 
 
 
 
 
 
22
  return $this->successResponse(
23
- get_post_types(array(), 'objects')
24
  );
25
  }
26
 
@@ -82,4 +88,4 @@ class AutomatedLatestContent extends APIEndpoint {
82
 
83
  return $this->successResponse($rendered_posts);
84
  }
85
- }
19
  }
20
 
21
  function getPostTypes() {
22
+ $post_types = array_map(function($post_type) {
23
+ return array(
24
+ 'name' => $post_type->name,
25
+ 'label' => $post_type->label
26
+ );
27
+ }, get_post_types(array(), 'objects'));
28
  return $this->successResponse(
29
+ $post_types
30
  );
31
  }
32
 
88
 
89
  return $this->successResponse($rendered_posts);
90
  }
91
+ }
lib/API/JSON/v1/Newsletters.php CHANGED
@@ -267,6 +267,8 @@ class Newsletters extends APIEndpoint {
267
  $newsletter,
268
  $subscriber
269
  );
 
 
270
 
271
  return $this->successResponse(
272
  Newsletter::findOne($newsletter->id)->asArray(),
267
  $newsletter,
268
  $subscriber
269
  );
270
+ // strip protocol to avoid mix content error
271
+ $preview_url = preg_replace('{^https?:}i', '', $preview_url);
272
 
273
  return $this->successResponse(
274
  Newsletter::findOne($newsletter->id)->asArray(),
lib/Models/Subscriber.php CHANGED
@@ -875,7 +875,8 @@ class Subscriber extends Model {
875
  static function setRequiredFieldsDefaultValues($data) {
876
  $required_field_default_values = array(
877
  'first_name' => '',
878
- 'last_name' => ''
 
879
  );
880
  foreach($required_field_default_values as $field => $value) {
881
  if(!isset($data[$field])) {
875
  static function setRequiredFieldsDefaultValues($data) {
876
  $required_field_default_values = array(
877
  'first_name' => '',
878
+ 'last_name' => '',
879
+ 'status' => (!Setting::getValue('signup_confirmation.enabled')) ? self::STATUS_SUBSCRIBED : self::STATUS_UNCONFIRMED
880
  );
881
  foreach($required_field_default_values as $field => $value) {
882
  if(!isset($data[$field])) {
lib/Twig/Functions.php CHANGED
@@ -1,5 +1,6 @@
1
  <?php
2
  namespace MailPoet\Twig;
 
3
 
4
  if(!defined('ABSPATH')) exit;
5
 
@@ -66,6 +67,11 @@ class Functions extends \Twig_Extension {
66
  array($this, 'getMailPoetPremiumVersion'),
67
  array('is_safe' => array('all'))
68
  ),
 
 
 
 
 
69
  new \Twig_SimpleFunction(
70
  'wp_time_format',
71
  array($this, 'getWPTimeFormat'),
@@ -151,4 +157,9 @@ class Functions extends \Twig_Extension {
151
  }
152
  return null;
153
  }
154
- }
 
 
 
 
 
1
  <?php
2
  namespace MailPoet\Twig;
3
+ use MailPoet\Config\ServicesChecker;
4
 
5
  if(!defined('ABSPATH')) exit;
6
 
67
  array($this, 'getMailPoetPremiumVersion'),
68
  array('is_safe' => array('all'))
69
  ),
70
+ new \Twig_SimpleFunction(
71
+ 'mailpoet_has_valid_premium_key',
72
+ array($this, 'hasValidPremiumKey'),
73
+ array('is_safe' => array('all'))
74
+ ),
75
  new \Twig_SimpleFunction(
76
  'wp_time_format',
77
  array($this, 'getWPTimeFormat'),
157
  }
158
  return null;
159
  }
160
+
161
+ function hasValidPremiumKey() {
162
+ $checker = new ServicesChecker();
163
+ return $checker->isPremiumKeyValid(false);
164
+ }
165
+ }
mailpoet.php CHANGED
@@ -4,7 +4,7 @@ if(!defined('ABSPATH')) exit;
4
 
5
  /*
6
  * Plugin Name: MailPoet 3 (new)
7
- * Version: 3.0.0-rc.2.0.1
8
  * Plugin URI: http://www.mailpoet.com
9
  * Description: Create and send newsletters, post notifications and welcome emails from your WordPress.
10
  * Author: MailPoet
@@ -21,7 +21,7 @@ if(!defined('ABSPATH')) exit;
21
  */
22
 
23
  $mailpoet_plugin = array(
24
- 'version' => '3.0.0-rc.2.0.1',
25
  'filename' => __FILE__,
26
  'path' => dirname(__FILE__),
27
  'autoloader' => dirname(__FILE__) . '/vendor/autoload.php',
4
 
5
  /*
6
  * Plugin Name: MailPoet 3 (new)
7
+ * Version: 3.0.0-rc.2.0.2
8
  * Plugin URI: http://www.mailpoet.com
9
  * Description: Create and send newsletters, post notifications and welcome emails from your WordPress.
10
  * Author: MailPoet
21
  */
22
 
23
  $mailpoet_plugin = array(
24
+ 'version' => '3.0.0-rc.2.0.2',
25
  'filename' => __FILE__,
26
  'path' => dirname(__FILE__),
27
  '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.6
5
  Tested up to: 4.8
6
  Requires PHP: 5.3
7
- Stable tag: 3.0.0-rc.2.0.1
8
  Create and send beautiful emails and newsletters from WordPress.
9
 
10
  == Description ==
@@ -94,6 +94,12 @@ Our [support site](https://beta.docs.mailpoet.com) has plenty of articles. You c
94
 
95
  == Changelog ==
96
 
 
 
 
 
 
 
97
  = 3.0.0-rc.2.0.1 - 2017-08-30 =
98
  * Fixed: newsletters with emojis are properly saved and sent on certain hosts. Thanks Alison, Scott and Swann!
99
  * Fixed: plugin activates on multisite environments;
@@ -107,7 +113,7 @@ Our [support site](https://beta.docs.mailpoet.com) has plenty of articles. You c
107
  * Improved: we collect more informative data from those who share their data with us. You should too!
108
  * Fixed: subscription management form works again;
109
  * Fixed: MailPoet 3 no longer processes the "wysija_form" shortcode used by the old MailPoet 2 to allow both plugins to display forms. Please use the newer "mailpoet_form" shortcode instead. Thx Lynn!
110
- * Fixed: reactivated post notifications will be sent on next scheduled time. Thx Luc!
111
  * Fixed: updating subscription information of WP users no longer erases their first/last name;
112
  * Fixed: automated latest content in welcome emails always displays the latest posts. Kudos Ehi!
113
 
4
  Requires at least: 4.6
5
  Tested up to: 4.8
6
  Requires PHP: 5.3
7
+ Stable tag: 3.0.0-rc.2.0.2
8
  Create and send beautiful emails and newsletters from WordPress.
9
 
10
  == Description ==
94
 
95
  == Changelog ==
96
 
97
+ = 3.0.0-rc.2.0.2 - 2017-09-05 =
98
+ * Added: browser spellchecker in newsletter editor;
99
+ * Improved: newsletter editor uses an optimized data object to display post types. Thanks Facundo;
100
+ * Fixed: when signup confirmation is disabled, subscribers added via API are automatically confirmed;
101
+ * Fixed: browser preview from within newsletter editor works on HTTP sites loaded over HTTPS. Thanks @dave2084!
102
+
103
  = 3.0.0-rc.2.0.1 - 2017-08-30 =
104
  * Fixed: newsletters with emojis are properly saved and sent on certain hosts. Thanks Alison, Scott and Swann!
105
  * Fixed: plugin activates on multisite environments;
113
  * Improved: we collect more informative data from those who share their data with us. You should too!
114
  * Fixed: subscription management form works again;
115
  * Fixed: MailPoet 3 no longer processes the "wysija_form" shortcode used by the old MailPoet 2 to allow both plugins to display forms. Please use the newer "mailpoet_form" shortcode instead. Thx Lynn!
116
+ * Fixed: reactivated post notifications will be sent on next scheduled time. Thx Luc!
117
  * Fixed: updating subscription information of WP users no longer erases their first/last name;
118
  * Fixed: automated latest content in welcome emails always displays the latest posts. Kudos Ehi!
119
 
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitf68263c67cbc83aedae2fa54e4dfbd26::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit28c97880db181668489ce28e70c64309::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitf68263c67cbc83aedae2fa54e4dfbd26
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInitf68263c67cbc83aedae2fa54e4dfbd26
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitf68263c67cbc83aedae2fa54e4dfbd26', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitf68263c67cbc83aedae2fa54e4dfbd26', '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\ComposerStaticInitf68263c67cbc83aedae2fa54e4dfbd26::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
@@ -48,19 +48,19 @@ class ComposerAutoloaderInitf68263c67cbc83aedae2fa54e4dfbd26
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
- $includeFiles = Composer\Autoload\ComposerStaticInitf68263c67cbc83aedae2fa54e4dfbd26::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
- composerRequiref68263c67cbc83aedae2fa54e4dfbd26($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
- function composerRequiref68263c67cbc83aedae2fa54e4dfbd26($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 ComposerAutoloaderInit28c97880db181668489ce28e70c64309
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit28c97880db181668489ce28e70c64309', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit28c97880db181668489ce28e70c64309', '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\ComposerStaticInit28c97880db181668489ce28e70c64309::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\ComposerStaticInit28c97880db181668489ce28e70c64309::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
+ composerRequire28c97880db181668489ce28e70c64309($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
+ function composerRequire28c97880db181668489ce28e70c64309($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 ComposerStaticInitf68263c67cbc83aedae2fa54e4dfbd26
8
  {
9
  public static $files = array (
10
  '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
@@ -835,10 +835,10 @@ class ComposerStaticInitf68263c67cbc83aedae2fa54e4dfbd26
835
  public static function getInitializer(ClassLoader $loader)
836
  {
837
  return \Closure::bind(function () use ($loader) {
838
- $loader->prefixLengthsPsr4 = ComposerStaticInitf68263c67cbc83aedae2fa54e4dfbd26::$prefixLengthsPsr4;
839
- $loader->prefixDirsPsr4 = ComposerStaticInitf68263c67cbc83aedae2fa54e4dfbd26::$prefixDirsPsr4;
840
- $loader->prefixesPsr0 = ComposerStaticInitf68263c67cbc83aedae2fa54e4dfbd26::$prefixesPsr0;
841
- $loader->classMap = ComposerStaticInitf68263c67cbc83aedae2fa54e4dfbd26::$classMap;
842
 
843
  }, null, ClassLoader::class);
844
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit28c97880db181668489ce28e70c64309
8
  {
9
  public static $files = array (
10
  '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
835
  public static function getInitializer(ClassLoader $loader)
836
  {
837
  return \Closure::bind(function () use ($loader) {
838
+ $loader->prefixLengthsPsr4 = ComposerStaticInit28c97880db181668489ce28e70c64309::$prefixLengthsPsr4;
839
+ $loader->prefixDirsPsr4 = ComposerStaticInit28c97880db181668489ce28e70c64309::$prefixDirsPsr4;
840
+ $loader->prefixesPsr0 = ComposerStaticInit28c97880db181668489ce28e70c64309::$prefixesPsr0;
841
+ $loader->classMap = ComposerStaticInit28c97880db181668489ce28e70c64309::$classMap;
842
 
843
  }, null, ClassLoader::class);
844
  }
views/layout.html CHANGED
@@ -75,6 +75,9 @@ jQuery('.toplevel_page_mailpoet-newsletters.menu-top-last')
75
 
76
  <%= javascript('lib/analytics.js') %>
77
 
 
 
 
78
  <script type="text/javascript">
79
  if(window['HS'] !== undefined) {
80
  // HelpScout Beacon: Configuration
75
 
76
  <%= javascript('lib/analytics.js') %>
77
 
78
+ <% set helpscout_form_id = (mailpoet_has_valid_premium_key()) ? '6974b88d-8d85-11e7-b5b5-0ec85169275a' : 'dd918048-8d73-11e7-b5b5-0ec85169275a' %>
79
+ <script>!function(e,o,n){window.HSCW=o,window.HS=n,n.beacon=n.beacon||{};var t=n.beacon;t.userConfig={},t.readyQueue=[],t.config=function(e){this.userConfig=e},t.ready=function(e){this.readyQueue.push(e)},o.config={docs:{enabled:!0,baseUrl:"//mailpoet3.helpscoutdocs.com/"},contact:{enabled:!0,formId:"<%= helpscout_form_id %>"}};var r=e.getElementsByTagName("script")[0],c=e.createElement("script");c.type="text/javascript",c.async=!0,c.src="https://djtflbt20bdde.cloudfront.net/",r.parentNode.insertBefore(c,r)}(document,window.HSCW||{},window.HS||{});</script>
80
+
81
  <script type="text/javascript">
82
  if(window['HS'] !== undefined) {
83
  // HelpScout Beacon: Configuration
views/update.html CHANGED
@@ -60,8 +60,8 @@
60
  <div class="feature-section one-col mailpoet_centered">
61
  <h2><%= __('Care to Give Your Opinion?') %></h2>
62
 
63
- <script type="text/javascript" charset="utf-8" src="//secure.polldaddy.com/p/9801032.js"></script>
64
- <noscript><a href="//polldaddy.com/poll/9801032/">To which gender identity to you identify?</a></noscript>
65
  </div>
66
 
67
  <hr>
60
  <div class="feature-section one-col mailpoet_centered">
61
  <h2><%= __('Care to Give Your Opinion?') %></h2>
62
 
63
+ <script type="text/javascript" charset="utf-8" src="//secure.polldaddy.com/p/9801036.js"></script>
64
+ <noscript><a href="//polldaddy.com/poll/9801036/">Should MailPoet include more default templates?</a></noscript>
65
  </div>
66
 
67
  <hr>