{"version":3,"sources":["webpack:///epsilon-framework-previewer.js","webpack:///webpack/bootstrap a681de69b81e7b7df894?d8e1","webpack:///./assets/vendors/epsilon-framework/utils/epsilon-ajax-request.ts?ff3a","webpack:///./assets/vendors/epsilon-framework/previewer/color-schemes/color-schemes.ts","webpack:///./assets/vendors/epsilon-framework/previewer/partial-refresh/partial-refresh.ts","webpack:///./assets/vendors/epsilon-framework/previewer/section-editor/section-editor.ts","webpack:///./assets/vendors/epsilon-framework/previewer/typography/typography.ts","webpack:///./assets/vendors/epsilon-framework/previewer/previewer.ts"],"names":["modules","__webpack_require__","moduleId","installedModules","exports","module","i","l","call","m","c","value","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","0","EpsilonAjaxRequest","args","this","request","self","jQuery","ajax","type","data","action","dataType","url","EpsilonWPUrls","ajaxurl","success","result","trigger","error","jqXHR","textStatus","errorThrown","console","log","29","epsilon_ajax_request_1","EpsilonColorSchemesPreviewer","wp","customize","preview","bind","Ajax","class","nonce","ajax_nonce","id","on","e","sufix","style","length","append","find","html","css","30","EpsilonPartialRefresh","sections","registerSections","handleEvents","$sections","attr","section","parseInt","push","_","debounce","changeSection","control","postId","index","standBySection","liveSection","document","animate","opacity","sectionIndex","replaceWith","31","EpsilonSectionEditorPreviewer","preventDefault","parents","customizerSection","send","32","EpsilonTypographyPreviewer","stylesheet","fonts","45","color_schemes_1","typography_1","section_editor_1","partial_refresh_1"],"mappings":"CAAS,SAAUA,GCInB,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAE,OAGA,IAAAC,GAAAF,EAAAD,IACAI,EAAAJ,EACAK,GAAA,EACAH,WAUA,OANAJ,GAAAE,GAAAM,KAAAH,EAAAD,QAAAC,IAAAD,QAAAH,GAGAI,EAAAE,GAAA,EAGAF,EAAAD,QAvBA,GAAAD,KA4BAF,GAAAQ,EAAAT,EAGAC,EAAAS,EAAAP,EAGAF,EAAA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ACAsB,EAAA3B,UACAE,OAAAyB,GAAAK,GAAA,oCAAAC,GACAE,EAAAjC,OAAA,IAAAyB,EAAAf,OAAA4D,WAAA,eACArC,EAAAC,SACAD,EAAAjC,OAAA,QAAAmC,OAAA,8BAAAV,EAAAf,OAAA4D,WAAA,mBAAAlC,KAAA,IAAAX,EAAAf,OAAA4D,WAAA,eAEA,QAAAnG,GAAA,EAA+BA,EAAAsD,EAAAf,OAAA6D,MAAArC,OAA8B/D,IAC7D6B,OAAA,sDAAAyB,EAAAf,OAAA6D,MAAApG,GAAA,MAAA+D,QACAlC,OAAA,QAAAmC,OAAA,uDAAAV,EAAAf,OAAA6D,MAAApG,GAAA,sBAGA8D,GAAAI,KAAAZ,EAAAf,OAAA4B,SAIA,MAAA+B,KAEApG,GAAAoG,8BNqSMG,GACA,SAAUtG,EAAQD,EAASH,GAEjC,YOzUAe,QAAAC,eAAAb,EAAA,cAA8CO,OAAA,GAC9C,IAAAiG,GAAA3G,EAAA,IACA4G,EAAA5G,EAAA,IACA6G,EAAA7G,EAAA,IACA8G,EAAA9G,EAAA,GACAuD,IAAAC,UAAAE,KAAA,2BACA,GAAAiD,GAAArD,6BACA,GAAAsD,GAAAL,2BACA,GAAAM,GAAAZ,8BACA,GAAAa,GAAApC","file":"epsilon-framework-previewer.js","sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// identity function for calling harmony imports with the correct context\n/******/ \t__webpack_require__.i = function(value) { return value; };\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"/assets/js/\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 45);\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ 0:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n/**\r\n * Ajax request class\r\n */\r\nvar EpsilonAjaxRequest = /** @class */ (function () {\r\n /**\r\n * Constructor\r\n * @param {Object} args\r\n */\r\n function EpsilonAjaxRequest(args) {\r\n this.args = args;\r\n }\r\n /**\r\n * Init Request\r\n */\r\n EpsilonAjaxRequest.prototype.request = function () {\r\n var self = this;\r\n jQuery.ajax({\r\n type: 'POST',\r\n data: { action: 'epsilon_framework_ajax_action', args: self.args },\r\n dataType: 'json',\r\n url: EpsilonWPUrls.ajaxurl,\r\n success: function (data) {\r\n self.result = data;\r\n jQuery(self).trigger('epsilon-received-success');\r\n },\r\n /**\r\n * Throw errors\r\n *\r\n * @param jqXHR\r\n * @param textStatus\r\n * @param errorThrown\r\n */\r\n error: function (jqXHR, textStatus, errorThrown) {\r\n console.log(jqXHR + ' :: ' + textStatus + ' :: ' + errorThrown);\r\n }\r\n });\r\n };\r\n return EpsilonAjaxRequest;\r\n}());\r\nexports.EpsilonAjaxRequest = EpsilonAjaxRequest;\r\n\n\n/***/ }),\n\n/***/ 29:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar epsilon_ajax_request_1 = __webpack_require__(0);\r\nvar EpsilonColorSchemesPreviewer = /** @class */ (function () {\r\n /**\r\n * Constructor\r\n */\r\n function EpsilonColorSchemesPreviewer() {\r\n var self = this;\r\n wp.customize.preview.bind('update-inline-color-schemes-css', function (object) {\r\n var data = {\r\n action: [object.class, object.action],\r\n nonce: EpsilonWPUrls.ajax_nonce,\r\n args: object.data,\r\n id: object.id\r\n }, Ajax;\r\n Ajax = new epsilon_ajax_request_1.EpsilonAjaxRequest(data);\r\n Ajax.request();\r\n jQuery(Ajax).on('epsilon-received-success', function (e) {\r\n var sufix = object.action + object.id, style = jQuery('#epsilon-stylesheet-' + sufix);\r\n if (!style.length) {\r\n style = jQuery('body').\r\n append('