PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.8
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.8
4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 4.1.7.3.1 4.1.7.3.2 4.2.0 All 139 releases
← All changes | assets/js/dist/utils.js +48 -30 4.3.94.4.8 View file →
@@ -1,4 +1,4 @@
1 1 /******/ (() => { // webpackBootstrap
2 2 /******/ var __webpack_modules__ = ({
3 3
4 4 /***/ "./assets/src/js/utils/cookies.js"
@@ -76,14 +76,14 @@
76 76 __webpack_require__.r(__webpack_exports__);
77 77 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
78 78 /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
79 79 /* harmony export */ });
80 -/**
81 - * Manage event callbacks.
82 -Allow add/remove a callback function into custom event of an object.
83 - *
84 - * @class
85 - * @param self
80 +/**
81 + * Manage event callbacks.
82 +Allow add/remove a callback function into custom event of an object.
83 + *
84 + * @class
85 + * @param self
86 86 */
87 87 const Event_Callback = function Event_Callback(self) {
88 88 const callbacks = {};
89 89 const $ = window.jQuery;
@@ -200,15 +200,15 @@
200 200 __webpack_require__.r(__webpack_exports__);
201 201 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
202 202 /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
203 203 /* harmony export */ });
204 -/**
205 - * Auto prepend `LP` prefix for jQuery fn plugin name.
206 - *
207 - * Create : $.fn.LP( 'PLUGIN_NAME', func) <=> $.fn.LP_PLUGIN_NAME
208 - * Usage: $(selector).LP('PLUGIN_NAME') <=> $(selector).LP_PLUGIN_NAME()
209 - *
210 - * @version 3.2.6
204 +/**
205 + * Auto prepend `LP` prefix for jQuery fn plugin name.
206 + *
207 + * Create : $.fn.LP( 'PLUGIN_NAME', func) <=> $.fn.LP_PLUGIN_NAME
208 + * Usage: $(selector).LP('PLUGIN_NAME') <=> $(selector).LP_PLUGIN_NAME()
209 + *
210 + * @version 3.2.6
211 211 */
212 212
213 213 const $ = window.jQuery;
214 214 let exp;
@@ -1012,19 +1012,19 @@
1012 1012
1013 1013 /******/ });
1014 1014 /************************************************************************/
1015 1015 /******/ // The module cache
1016 -/******/ var __webpack_module_cache__ = {};
1016 +/******/ const __webpack_module_cache__ = {};
1017 1017 /******/
1018 1018 /******/ // The require function
1019 1019 /******/ function __webpack_require__(moduleId) {
1020 1020 /******/ // Check if module is in cache
1021 -/******/ var cachedModule = __webpack_module_cache__[moduleId];
1021 +/******/ const cachedModule = __webpack_module_cache__[moduleId];
1022 1022 /******/ if (cachedModule !== undefined) {
1023 1023 /******/ return cachedModule.exports;
1024 1024 /******/ }
1025 1025 /******/ // Create a new module (and put it into the cache)
1026 -/******/ var module = __webpack_module_cache__[moduleId] = {
1026 +/******/ const module = __webpack_module_cache__[moduleId] = {
1027 1027 /******/ // no module.id needed
1028 1028 /******/ // no module.loaded needed
1029 1029 /******/ exports: {}
1030 1030 /******/ };
@@ -1031,9 +1031,9 @@
1031 1031 /******/
1032 1032 /******/ // Execute the module function
1033 1033 /******/ if (!(moduleId in __webpack_modules__)) {
1034 1034 /******/ delete __webpack_module_cache__[moduleId];
1035 -/******/ var e = new Error("Cannot find module '" + moduleId + "'");
1035 +/******/ const e = new Error("Cannot find module '" + moduleId + "'");
1036 1036 /******/ e.code = 'MODULE_NOT_FOUND';
1037 1037 /******/ throw e;
1038 1038 /******/ }
1039 1039 /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
@@ -1046,9 +1046,9 @@
1046 1046 /******/ /* webpack/runtime/compat get default export */
1047 1047 /******/ (() => {
1048 1048 /******/ // getDefaultExport function for compatibility with non-harmony modules
1049 1049 /******/ __webpack_require__.n = (module) => {
1050 -/******/ var getter = module && module.__esModule ?
1050 +/******/ const getter = module && module.__esModule ?
1051 1051 /******/ () => (module['default']) :
1052 1052 /******/ () => (module);
1053 1053 /******/ __webpack_require__.d(getter, { a: getter });
1054 1054 /******/ return getter;
@@ -1056,14 +1056,29 @@
1056 1056 /******/ })();
1057 1057 /******/
1058 1058 /******/ /* webpack/runtime/define property getters */
1059 1059 /******/ (() => {
1060 -/******/ // define getter functions for harmony exports
1060 +/******/ // define getter/value functions for harmony exports
1061 1061 /******/ __webpack_require__.d = (exports, definition) => {
1062 -/******/ for(var key in definition) {
1063 -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
1064 -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
1062 +/******/ if(Array.isArray(definition)) {
1063 +/******/ var i = 0;
1064 +/******/ while(i < definition.length) {
1065 +/******/ var key = definition[i++];
1066 +/******/ var binding = definition[i++];
1067 +/******/ if(!__webpack_require__.o(exports, key)) {
1068 +/******/ if(binding === 0) {
1069 +/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
1070 +/******/ } else {
1071 +/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
1072 +/******/ }
1073 +/******/ } else if(binding === 0) { i++; }
1065 1074 /******/ }
1075 +/******/ } else {
1076 +/******/ for(var key in definition) {
1077 +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
1078 +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
1079 +/******/ }
1080 +/******/ }
1066 1081 /******/ }
1067 1082 /******/ };
1068 1083 /******/ })();
1069 1084 /******/
@@ -1068,9 +1083,9 @@
1068 1083 /******/ })();
1069 1084 /******/
1070 1085 /******/ /* webpack/runtime/hasOwnProperty shorthand */
1071 1086 /******/ (() => {
1072 -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
1087 +/******/ __webpack_require__.o = (obj, prop) => (Object.hasOwn(obj, prop))
1073 1088 /******/ })();
1074 1089 /******/
1075 1090 /******/ /* webpack/runtime/make namespace object */
1076 1091 /******/ (() => {
@@ -1075,9 +1090,9 @@
1075 1090 /******/ /* webpack/runtime/make namespace object */
1076 1091 /******/ (() => {
1077 1092 /******/ // define __esModule on exports
1078 1093 /******/ __webpack_require__.r = (exports) => {
1079 -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
1094 +/******/ if(Symbol.toStringTag) {
1080 1095 /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
1081 1096 /******/ }
1082 1097 /******/ Object.defineProperty(exports, '__esModule', { value: true });
1083 1098 /******/ };
@@ -1085,15 +1100,18 @@
1085 1100 /******/
1086 1101 /******/ /* webpack/runtime/set anonymous default export name */
1087 1102 /******/ (() => {
1088 1103 /******/ // set .name for anonymous default exports per ES spec
1104 +/******/ // skipped when the property is non-configurable (pre-ES2015 engines),
1105 +/******/ // where Object.defineProperty would throw
1089 1106 /******/ __webpack_require__.dn = (x) => {
1090 -/******/ (Object.getOwnPropertyDescriptor(x, "name") || {}).writable || Object.defineProperty(x, "name", { value: "default", configurable: true });
1107 +/******/ var descriptor = Object.getOwnPropertyDescriptor(x, "name");
1108 +/******/ if (!descriptor || (!descriptor.writable && descriptor.configurable)) Object.defineProperty(x, "name", { value: "default", configurable: true });
1091 1109 /******/ };
1092 1110 /******/ })();
1093 1111 /******/
1094 1112 /************************************************************************/
1095 -var __webpack_exports__ = {};
1113 +let __webpack_exports__ = {};
1096 1114 // This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
1097 1115 (() => {
1098 1116 "use strict";
1099 1117 /*!**************************************!*\
@@ -1115,12 +1133,12 @@
1115 1133 /* harmony import */ var _jquery_plugins__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./jquery.plugins */ "./assets/src/js/utils/jquery.plugins.js");
1116 1134 /* harmony import */ var _iframe_submit__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./iframe-submit */ "./assets/src/js/utils/iframe-submit.js");
1117 1135 /* harmony import */ var _show_password__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./show-password */ "./assets/src/js/utils/show-password.js");
1118 1136 /* harmony import */ var _show_password__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_show_password__WEBPACK_IMPORTED_MODULE_10__);
1119 -/**
1120 - * Utility functions may use for both admin and frontend.
1121 - *
1122 - * @version 3.2.6
1137 +/**
1138 + * Utility functions may use for both admin and frontend.
1139 + *
1140 + * @version 3.2.6
1123 1141 */
1124 1142
1125 1143
1126 1144