{"version":3,"sources":["webpack:///epsilon-framework-admin.js","webpack:///webpack/bootstrap a681de69b81e7b7df894?d8e1*","webpack:///./assets/vendors/epsilon-framework/utils/epsilon-ajax-request.ts?ff3a*","webpack:///./assets/vendors/epsilon-framework/admin/notices/notices.ts","webpack:///./assets/vendors/epsilon-framework/admin/admin.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","10","epsilon_ajax_request_1","EpsilonNotices","init","id","Ajax","notices","each","on","parent","attr","nonce","ajax_nonce","notice_id","user_id","userSettings","uid","33","notices_1","document","ready"],"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,EAAAK,EAAA,SAAAK,GAA2C,MAAAA,IAG3CV,EAAAW,EAAA,SAAAR,EAAAS,EAAAC,GACAb,EAAAc,EAAAX,EAAAS,IACAG,OAAAC,eAAAb,EAAAS,GACAK,cAAA,EACAC,YAAA,EACAC,IAAAN,KAMAb,EAAAoB,EAAA,SAAAhB,GACA,GAAAS,GAAAT,KAAAiB,WACA,WAA2B,MAAAjB,GAAA,SAC3B,WAAiC,MAAAA,GAEjC,OADAJ,GAAAW,EAAAE,EAAA,IAAAA,GACAA,GAIAb,EAAAc,EAAA,SAAAQ,EAAAC,GAAsD,MAAAR,Q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AA,YACA,GAAAF,GAAAhB,gBACAC","file":"epsilon-framework-admin.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 = 33);\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/***/ 10:\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\n/**\r\n * Epsilon Notices Class\r\n */\r\nvar EpsilonNotices = /** @class */ (function () {\r\n /**\r\n * Class constructor\r\n */\r\n function EpsilonNotices() {\r\n var self = this;\r\n }\r\n /**\r\n * Initiate notice dismissal\r\n */\r\n EpsilonNotices.prototype.init = function () {\r\n var self = this;\r\n var notices = jQuery('.epsilon-framework-notice'), id, args, Ajax;\r\n jQuery.each(notices, function () {\r\n jQuery(this).on('click', '.notice-dismiss', function () {\r\n id = jQuery(this).parent().attr('data-unique-id');\r\n args = {\r\n action: ['Epsilon_Notifications', 'dismiss_notice'],\r\n nonce: EpsilonWPUrls.ajax_nonce,\r\n args: {\r\n notice_id: jQuery(this).parent().attr('data-unique-id'),\r\n user_id: userSettings.uid,\r\n }\r\n };\r\n Ajax = new epsilon_ajax_request_1.EpsilonAjaxRequest(args);\r\n Ajax.request();\r\n });\r\n });\r\n };\r\n return EpsilonNotices;\r\n}());\r\nexports.EpsilonNotices = EpsilonNotices;\r\n\n\n/***/ }),\n\n/***/ 33:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar notices_1 = __webpack_require__(10);\r\njQuery(document).ready(function () {\r\n var notices = new notices_1.EpsilonNotices();\r\n notices.init();\r\n});\r\n\n\n/***/ })\n\n/******/ });\n\n\n// WEBPACK FOOTER //\n// epsilon-framework-admin.js"," \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 = 33);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap a681de69b81e7b7df894","\"use strict\";\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// WEBPACK FOOTER\n// ./assets/vendors/epsilon-framework/utils/epsilon-ajax-request.ts\n// module id = 0\n// module chunks = 0 1 2","\"use strict\";\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar epsilon_ajax_request_1 = require(\"../../utils/epsilon-ajax-request\");\r\n/**\r\n * Epsilon Notices Class\r\n */\r\nvar EpsilonNotices = /** @class */ (function () {\r\n /**\r\n * Class constructor\r\n */\r\n function EpsilonNotices() {\r\n var self = this;\r\n }\r\n /**\r\n * Initiate notice dismissal\r\n */\r\n EpsilonNotices.prototype.init = function () {\r\n var self = this;\r\n var notices = jQuery('.epsilon-framework-notice'), id, args, Ajax;\r\n jQuery.each(notices, function () {\r\n jQuery(this).on('click', '.notice-dismiss', function () {\r\n id = jQuery(this).parent().attr('data-unique-id');\r\n args = {\r\n action: ['Epsilon_Notifications', 'dismiss_notice'],\r\n nonce: EpsilonWPUrls.ajax_nonce,\r\n args: {\r\n notice_id: jQuery(this).parent().attr('data-unique-id'),\r\n user_id: userSettings.uid,\r\n }\r\n };\r\n Ajax = new epsilon_ajax_request_1.EpsilonAjaxRequest(args);\r\n Ajax.request();\r\n });\r\n });\r\n };\r\n return EpsilonNotices;\r\n}());\r\nexports.EpsilonNotices = EpsilonNotices;\r\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/vendors/epsilon-framework/admin/notices/notices.ts\n// module id = 10\n// module chunks = 2","\"use strict\";\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar notices_1 = require(\"./notices/notices\");\r\njQuery(document).ready(function () {\r\n var notices = new notices_1.EpsilonNotices();\r\n notices.init();\r\n});\r\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/vendors/epsilon-framework/admin/admin.ts\n// module id = 33\n// module chunks = 2"],"sourceRoot":""}