/*! elementor - v3.23.0 - 05-08-2024 */
/******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ({
/***/ "../node_modules/@reduxjs/toolkit/dist/redux-toolkit.esm.js":
/*!******************************************************************!*\
!*** ../node_modules/@reduxjs/toolkit/dist/redux-toolkit.esm.js ***!
\******************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ EnhancerArray: () => (/* binding */ EnhancerArray),
/* harmony export */ MiddlewareArray: () => (/* binding */ MiddlewareArray),
/* harmony export */ SHOULD_AUTOBATCH: () => (/* binding */ SHOULD_AUTOBATCH),
/* harmony export */ TaskAbortError: () => (/* binding */ TaskAbortError),
/* harmony export */ __DO_NOT_USE__ActionTypes: () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_0__.__DO_NOT_USE__ActionTypes),
/* harmony export */ addListener: () => (/* binding */ addListener),
/* harmony export */ applyMiddleware: () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_0__.applyMiddleware),
/* harmony export */ autoBatchEnhancer: () => (/* binding */ autoBatchEnhancer),
/* harmony export */ bindActionCreators: () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_0__.bindActionCreators),
/* harmony export */ clearAllListeners: () => (/* binding */ clearAllListeners),
/* harmony export */ combineReducers: () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_0__.combineReducers),
/* harmony export */ compose: () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_0__.compose),
/* harmony export */ configureStore: () => (/* binding */ configureStore),
/* harmony export */ createAction: () => (/* binding */ createAction),
/* harmony export */ createActionCreatorInvariantMiddleware: () => (/* binding */ createActionCreatorInvariantMiddleware),
/* harmony export */ createAsyncThunk: () => (/* binding */ createAsyncThunk),
/* harmony export */ createDraftSafeSelector: () => (/* binding */ createDraftSafeSelector),
/* harmony export */ createEntityAdapter: () => (/* binding */ createEntityAdapter),
/* harmony export */ createImmutableStateInvariantMiddleware: () => (/* binding */ createImmutableStateInvariantMiddleware),
/* harmony export */ createListenerMiddleware: () => (/* binding */ createListenerMiddleware),
/* harmony export */ createNextState: () => (/* reexport safe */ immer__WEBPACK_IMPORTED_MODULE_2__["default"]),
/* harmony export */ createReducer: () => (/* binding */ createReducer),
/* harmony export */ createSelector: () => (/* reexport safe */ reselect__WEBPACK_IMPORTED_MODULE_1__.createSelector),
/* harmony export */ createSerializableStateInvariantMiddleware: () => (/* binding */ createSerializableStateInvariantMiddleware),
/* harmony export */ createSlice: () => (/* binding */ createSlice),
/* harmony export */ createStore: () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_0__.createStore),
/* harmony export */ current: () => (/* reexport safe */ immer__WEBPACK_IMPORTED_MODULE_2__.current),
/* harmony export */ findNonSerializableValue: () => (/* binding */ findNonSerializableValue),
/* harmony export */ freeze: () => (/* reexport safe */ immer__WEBPACK_IMPORTED_MODULE_2__.freeze),
/* harmony export */ getDefaultMiddleware: () => (/* binding */ getDefaultMiddleware),
/* harmony export */ getType: () => (/* binding */ getType),
/* harmony export */ isAction: () => (/* binding */ isAction),
/* harmony export */ isActionCreator: () => (/* binding */ isActionCreator),
/* harmony export */ isAllOf: () => (/* binding */ isAllOf),
/* harmony export */ isAnyOf: () => (/* binding */ isAnyOf),
/* harmony export */ isAsyncThunkAction: () => (/* binding */ isAsyncThunkAction),
/* harmony export */ isDraft: () => (/* reexport safe */ immer__WEBPACK_IMPORTED_MODULE_2__.isDraft),
/* harmony export */ isFluxStandardAction: () => (/* binding */ isFSA),
/* harmony export */ isFulfilled: () => (/* binding */ isFulfilled),
/* harmony export */ isImmutableDefault: () => (/* binding */ isImmutableDefault),
/* harmony export */ isPending: () => (/* binding */ isPending),
/* harmony export */ isPlain: () => (/* binding */ isPlain),
/* harmony export */ isPlainObject: () => (/* binding */ isPlainObject),
/* harmony export */ isRejected: () => (/* binding */ isRejected),
/* harmony export */ isRejectedWithValue: () => (/* binding */ isRejectedWithValue),
/* harmony export */ legacy_createStore: () => (/* reexport safe */ redux__WEBPACK_IMPORTED_MODULE_0__.legacy_createStore),
/* harmony export */ miniSerializeError: () => (/* binding */ miniSerializeError),
/* harmony export */ nanoid: () => (/* binding */ nanoid),
/* harmony export */ original: () => (/* reexport safe */ immer__WEBPACK_IMPORTED_MODULE_2__.original),
/* harmony export */ prepareAutoBatched: () => (/* binding */ prepareAutoBatched),
/* harmony export */ removeListener: () => (/* binding */ removeListener),
/* harmony export */ unwrapResult: () => (/* binding */ unwrapResult)
/* harmony export */ });
/* harmony import */ var immer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! immer */ "../node_modules/@reduxjs/toolkit/node_modules/immer/dist/immer.esm.mjs");
/* harmony import */ var redux__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! redux */ "../node_modules/redux/es/redux.js");
/* harmony import */ var reselect__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! reselect */ "../node_modules/reselect/es/index.js");
/* harmony import */ var redux_thunk__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! redux-thunk */ "../node_modules/redux-thunk/es/index.js");
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var __generator = (undefined && undefined.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (_) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {
case 0: case 1: t = op; break;
case 4: _.label++; return { value: op[1], done: false };
case 5: _.label++; y = op[1]; op = [0]; continue;
case 7: op = _.ops.pop(); _.trys.pop(); continue;
default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
if (t[2]) _.ops.pop();
_.trys.pop(); continue;
}
op = body.call(thisArg, _);
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
}
};
var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from) {
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
to[j] = from[i];
return to;
};
var __defProp = Object.defineProperty;
var __defProps = Object.defineProperties;
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __propIsEnum = Object.prototype.propertyIsEnumerable;
var __defNormalProp = function (obj, key, value) { return key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value: value }) : obj[key] = value; };
var __spreadValues = function (a, b) {
for (var prop in b || (b = {}))
if (__hasOwnProp.call(b, prop))
__defNormalProp(a, prop, b[prop]);
if (__getOwnPropSymbols)
for (var _i = 0, _c = __getOwnPropSymbols(b); _i < _c.length; _i++) {
var prop = _c[_i];
if (__propIsEnum.call(b, prop))
__defNormalProp(a, prop, b[prop]);
}
return a;
};
var __spreadProps = function (a, b) { return __defProps(a, __getOwnPropDescs(b)); };
var __async = function (__this, __arguments, generator) {
return new Promise(function (resolve, reject) {
var fulfilled = function (value) {
try {
step(generator.next(value));
}
catch (e) {
reject(e);
}
};
var rejected = function (value) {
try {
step(generator.throw(value));
}
catch (e) {
reject(e);
}
};
var step = function (x) { return x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected); };
step((generator = generator.apply(__this, __arguments)).next());
});
};
// src/index.ts
// src/createDraftSafeSelector.ts
var createDraftSafeSelector = function () {
var args = [];
for (var _i = 0; _i < arguments.length; _i++) {
args[_i] = arguments[_i];
}
var selector = reselect__WEBPACK_IMPORTED_MODULE_1__.createSelector.apply(void 0, args);
var wrappedSelector = function (value) {
var rest = [];
for (var _i = 1; _i < arguments.length; _i++) {
rest[_i - 1] = arguments[_i];
}
return selector.apply(void 0, __spreadArray([(0,immer__WEBPACK_IMPORTED_MODULE_2__.isDraft)(value) ? (0,immer__WEBPACK_IMPORTED_MODULE_2__.current)(value) : value], rest));
};
return wrappedSelector;
};
// src/configureStore.ts
// src/devtoolsExtension.ts
var composeWithDevTools = typeof window !== "undefined" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function () {
if (arguments.length === 0)
return void 0;
if (typeof arguments[0] === "object")
return redux__WEBPACK_IMPORTED_MODULE_0__.compose;
return redux__WEBPACK_IMPORTED_MODULE_0__.compose.apply(null, arguments);
};
var devToolsEnhancer = typeof window !== "undefined" && window.__REDUX_DEVTOOLS_EXTENSION__ ? window.__REDUX_DEVTOOLS_EXTENSION__ : function () {
return function (noop2) {
return noop2;
};
};
// src/isPlainObject.ts
function isPlainObject(value) {
if (typeof value !== "object" || value === null)
return false;
var proto = Object.getPrototypeOf(value);
if (proto === null)
return true;
var baseProto = proto;
while (Object.getPrototypeOf(baseProto) !== null) {
baseProto = Object.getPrototypeOf(baseProto);
}
return proto === baseProto;
}
// src/getDefaultMiddleware.ts
// src/tsHelpers.ts
var hasMatchFunction = function (v) {
return v && typeof v.match === "function";
};
// src/createAction.ts
function createAction(type, prepareAction) {
function actionCreator() {
var args = [];
for (var _i = 0; _i < arguments.length; _i++) {
args[_i] = arguments[_i];
}
if (prepareAction) {
var prepared = prepareAction.apply(void 0, args);
if (!prepared) {
throw new Error("prepareAction did not return an object");
}
return __spreadValues(__spreadValues({
type: type,
payload: prepared.payload
}, "meta" in prepared && { meta: prepared.meta }), "error" in prepared && { error: prepared.error });
}
return { type: type, payload: args[0] };
}
actionCreator.toString = function () { return "" + type; };
actionCreator.type = type;
actionCreator.match = function (action) { return action.type === type; };
return actionCreator;
}
function isAction(action) {
return isPlainObject(action) && "type" in action;
}
function isActionCreator(action) {
return typeof action === "function" && "type" in action && hasMatchFunction(action);
}
function isFSA(action) {
return isAction(action) && typeof action.type === "string" && Object.keys(action).every(isValidKey);
}
function isValidKey(key) {
return ["type", "payload", "error", "meta"].indexOf(key) > -1;
}
function getType(actionCreator) {
return "" + actionCreator;
}
// src/actionCreatorInvariantMiddleware.ts
function getMessage(type) {
var splitType = type ? ("" + type).split("/") : [];
var actionName = splitType[splitType.length - 1] || "actionCreator";
return "Detected an action creator with type \"" + (type || "unknown") + "\" being dispatched. \nMake sure you're calling the action creator before dispatching, i.e. `dispatch(" + actionName + "())` instead of `dispatch(" + actionName + ")`. This is necessary even if the action has no payload.";
}
function createActionCreatorInvariantMiddleware(options) {
if (options === void 0) { options = {}; }
if (false) {}
var _c = options.isActionCreator, isActionCreator2 = _c === void 0 ? isActionCreator : _c;
return function () { return function (next) { return function (action) {
if (isActionCreator2(action)) {
console.warn(getMessage(action.type));
}
return next(action);
}; }; };
}
// src/utils.ts
function getTimeMeasureUtils(maxDelay, fnName) {
var elapsed = 0;
return {
measureTime: function (fn) {
var started = Date.now();
try {
return fn();
}
finally {
var finished = Date.now();
elapsed += finished - started;
}
},
warnIfExceeded: function () {
if (elapsed > maxDelay) {
console.warn(fnName + " took " + elapsed + "ms, which is more than the warning threshold of " + maxDelay + "ms. \nIf your state or actions are very large, you may want to disable the middleware as it might cause too much of a slowdown in development mode. See https://redux-toolkit.js.org/api/getDefaultMiddleware for instructions.\nIt is disabled in production builds, so you don't need to worry about that.");
}
}
};
}
var MiddlewareArray = /** @class */ (function (_super) {
__extends(MiddlewareArray, _super);
function MiddlewareArray() {
var args = [];
for (var _i = 0; _i < arguments.length; _i++) {
args[_i] = arguments[_i];
}
var _this = _super.apply(this, args) || this;
Object.setPrototypeOf(_this, MiddlewareArray.prototype);
return _this;
}
Object.defineProperty(MiddlewareArray, Symbol.species, {
get: function () {
return MiddlewareArray;
},
enumerable: false,
configurable: true
});
MiddlewareArray.prototype.concat = function () {
var arr = [];
for (var _i = 0; _i < arguments.length; _i++) {
arr[_i] = arguments[_i];
}
return _super.prototype.concat.apply(this, arr);
};
MiddlewareArray.prototype.prepend = function () {
var arr = [];
for (var _i = 0; _i < arguments.length; _i++) {
arr[_i] = arguments[_i];
}
if (arr.length === 1 && Array.isArray(arr[0])) {
return new (MiddlewareArray.bind.apply(MiddlewareArray, __spreadArray([void 0], arr[0].concat(this))))();
}
return new (MiddlewareArray.bind.apply(MiddlewareArray, __spreadArray([void 0], arr.concat(this))))();
};
return MiddlewareArray;
}(Array));
var EnhancerArray = /** @class */ (function (_super) {
__extends(EnhancerArray, _super);
function EnhancerArray() {
var args = [];
for (var _i = 0; _i < arguments.length; _i++) {
args[_i] = arguments[_i];
}
var _this = _super.apply(this, args) || this;
Object.setPrototypeOf(_this, EnhancerArray.prototype);
return _this;
}
Object.defineProperty(EnhancerArray, Symbol.species, {
get: function () {
return EnhancerArray;
},
enumerable: false,
configurable: true
});
EnhancerArray.prototype.concat = function () {
var arr = [];
for (var _i = 0; _i < arguments.length; _i++) {
arr[_i] = arguments[_i];
}
return _super.prototype.concat.apply(this, arr);
};
EnhancerArray.prototype.prepend = function () {
var arr = [];
for (var _i = 0; _i < arguments.length; _i++) {
arr[_i] = arguments[_i];
}
if (arr.length === 1 && Array.isArray(arr[0])) {
return new (EnhancerArray.bind.apply(EnhancerArray, __spreadArray([void 0], arr[0].concat(this))))();
}
return new (EnhancerArray.bind.apply(EnhancerArray, __spreadArray([void 0], arr.concat(this))))();
};
return EnhancerArray;
}(Array));
function freezeDraftable(val) {
return (0,immer__WEBPACK_IMPORTED_MODULE_2__.isDraftable)(val) ? (0,immer__WEBPACK_IMPORTED_MODULE_2__["default"])(val, function () {
}) : val;
}
// src/immutableStateInvariantMiddleware.ts
var isProduction = "development" === "production";
var prefix = "Invariant failed";
function invariant(condition, message) {
if (condition) {
return;
}
if (isProduction) {
throw new Error(prefix);
}
throw new Error(prefix + ": " + (message || ""));
}
function stringify(obj, serializer, indent, decycler) {
return JSON.stringify(obj, getSerialize(serializer, decycler), indent);
}
function getSerialize(serializer, decycler) {
var stack = [], keys = [];
if (!decycler)
decycler = function (_, value) {
if (stack[0] === value)
return "[Circular ~]";
return "[Circular ~." + keys.slice(0, stack.indexOf(value)).join(".") + "]";
};
return function (key, value) {
if (stack.length > 0) {
var thisPos = stack.indexOf(this);
~thisPos ? stack.splice(thisPos + 1) : stack.push(this);
~thisPos ? keys.splice(thisPos, Infinity, key) : keys.push(key);
if (~stack.indexOf(value))
value = decycler.call(this, key, value);
}
else
stack.push(value);
return serializer == null ? value : serializer.call(this, key, value);
};
}
function isImmutableDefault(value) {
return typeof value !== "object" || value == null || Object.isFrozen(value);
}
function trackForMutations(isImmutable, ignorePaths, obj) {
var trackedProperties = trackProperties(isImmutable, ignorePaths, obj);
return {
detectMutations: function () {
return detectMutations(isImmutable, ignorePaths, trackedProperties, obj);
}
};
}
function trackProperties(isImmutable, ignorePaths, obj, path, checkedObjects) {
if (ignorePaths === void 0) { ignorePaths = []; }
if (path === void 0) { path = ""; }
if (checkedObjects === void 0) { checkedObjects = new Set(); }
var tracked = { value: obj };
if (!isImmutable(obj) && !checkedObjects.has(obj)) {
checkedObjects.add(obj);
tracked.children = {};
for (var key in obj) {
var childPath = path ? path + "." + key : key;
if (ignorePaths.length && ignorePaths.indexOf(childPath) !== -1) {
continue;
}
tracked.children[key] = trackProperties(isImmutable, ignorePaths, obj[key], childPath);
}
}
return tracked;
}
function detectMutations(isImmutable, ignoredPaths, trackedProperty, obj, sameParentRef, path) {
if (ignoredPaths === void 0) { ignoredPaths = []; }
if (sameParentRef === void 0) { sameParentRef = false; }
if (path === void 0) { path = ""; }
var prevObj = trackedProperty ? trackedProperty.value : void 0;
var sameRef = prevObj === obj;
if (sameParentRef && !sameRef && !Number.isNaN(obj)) {
return { wasMutated: true, path: path };
}
if (isImmutable(prevObj) || isImmutable(obj)) {
return { wasMutated: false };
}
var keysToDetect = {};
for (var key in trackedProperty.children) {
keysToDetect[key] = true;
}
for (var key in obj) {
keysToDetect[key] = true;
}
var hasIgnoredPaths = ignoredPaths.length > 0;
var _loop_1 = function (key) {
var nestedPath = path ? path + "." + key : key;
if (hasIgnoredPaths) {
var hasMatches = ignoredPaths.some(function (ignored) {
if (ignored instanceof RegExp) {
return ignored.test(nestedPath);
}
return nestedPath === ignored;
});
if (hasMatches) {
return "continue";
}
}
var result = detectMutations(isImmutable, ignoredPaths, trackedProperty.children[key], obj[key], sameRef, nestedPath);
if (result.wasMutated) {
return { value: result };
}
};
for (var key in keysToDetect) {
var state_1 = _loop_1(key);
if (typeof state_1 === "object")
return state_1.value;
}
return { wasMutated: false };
}
function createImmutableStateInvariantMiddleware(options) {
if (options === void 0) { options = {}; }
if (false) {}
var _c = options.isImmutable, isImmutable = _c === void 0 ? isImmutableDefault : _c, ignoredPaths = options.ignoredPaths, _d = options.warnAfter, warnAfter = _d === void 0 ? 32 : _d, ignore = options.ignore;
ignoredPaths = ignoredPaths || ignore;
var track = trackForMutations.bind(null, isImmutable, ignoredPaths);
return function (_c) {
var getState = _c.getState;
var state = getState();
var tracker = track(state);
var result;
return function (next) { return function (action) {
var measureUtils = getTimeMeasureUtils(warnAfter, "ImmutableStateInvariantMiddleware");
measureUtils.measureTime(function () {
state = getState();
result = tracker.detectMutations();
tracker = track(state);
invariant(!result.wasMutated, "A state mutation was detected between dispatches, in the path '" + (result.path || "") + "'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)");
});
var dispatchedAction = next(action);
measureUtils.measureTime(function () {
state = getState();
result = tracker.detectMutations();
tracker = track(state);
result.wasMutated && invariant(!result.wasMutated, "A state mutation was detected inside a dispatch, in the path: " + (result.path || "") + ". Take a look at the reducer(s) handling the action " + stringify(action) + ". (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)");
});
measureUtils.warnIfExceeded();
return dispatchedAction;
}; };
};
}
// src/serializableStateInvariantMiddleware.ts
function isPlain(val) {
var type = typeof val;
return val == null || type === "string" || type === "boolean" || type === "number" || Array.isArray(val) || isPlainObject(val);
}
function findNonSerializableValue(value, path, isSerializable, getEntries, ignoredPaths, cache) {
if (path === void 0) { path = ""; }
if (isSerializable === void 0) { isSerializable = isPlain; }
if (ignoredPaths === void 0) { ignoredPaths = []; }
var foundNestedSerializable;
if (!isSerializable(value)) {
return {
keyPath: path || "
' + __('To upload them anyway, ask the site administrator to enable unfiltered file uploads.', 'elementor'),
strings: {
confirm: __('Got it', 'elementor')
}
});
}
}, {
key: "getUnfilteredFilesNotEnabledDialog",
value: function getUnfilteredFilesNotEnabledDialog(callback) {
var elementorInstance = window.elementorAdmin || window.elementor;
if (!elementorInstance.config.user.is_administrator) {
return this.getUnfilteredFilesNonAdminDialog();
}
var onConfirm = function onConfirm() {
elementorCommon.ajax.addRequest('enable_unfiltered_files_upload', {}, true);
elementorCommon.config.filesUpload.unfilteredFiles = true;
callback();
};
return elementorInstance.helpers.getSimpleDialog('e-enable-unfiltered-files-dialog', __('Enable Unfiltered File Uploads', 'elementor'), __('Before you enable unfiltered files upload, note that such files include a security risk. Elementor does run a process to remove possible malicious code, but there is still risk involved when using such files.', 'elementor'), __('Enable', 'elementor'), onConfirm);
}
}, {
key: "getUnfilteredFilesNotEnabledImportTemplateDialog",
value: function getUnfilteredFilesNotEnabledImportTemplateDialog(callback) {
if (!(window.elementorAdmin || window.elementor).config.user.is_administrator) {
return this.getUnfilteredFilesNonAdminDialog();
}
return elementorCommon.dialogsManager.createWidget('confirm', {
id: 'e-enable-unfiltered-files-dialog-import-template',
headerMessage: __('Enable Unfiltered File Uploads', 'elementor'),
message: __('Before you enable unfiltered files upload, note that such files include a security risk. Elementor does run a process to remove possible malicious code, but there is still risk involved when using such files.', 'elementor') + '
' + __('If you do not enable uploading unfiltered files, any SVG or JSON (including lottie) files used in the uploaded template will not be imported.', 'elementor'),
position: {
my: 'center center',
at: 'center center'
},
strings: {
confirm: __('Enable and Import', 'elementor'),
cancel: __('Import Without Enabling', 'elementor')
},
onConfirm: function onConfirm() {
elementorCommon.ajax.addRequest('enable_unfiltered_files_upload', {
success: function success() {
// This utility is used in both the admin and the Editor.
elementorCommon.config.filesUpload.unfilteredFiles = true;
callback();
}
}, true);
},
onCancel: function onCancel() {
return callback();
}
});
}
}]);
return FilesUploadHandler;
}();
exports["default"] = FilesUploadHandler;
/***/ }),
/***/ "../assets/dev/js/editor/utils/is-instanceof.js":
/*!******************************************************!*\
!*** ../assets/dev/js/editor/utils/is-instanceof.js ***!
\******************************************************/
/***/ ((__unused_webpack_module, exports) => {
"use strict";
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
/**
* Some FileAPI objects such as FileList, DataTransferItem and DataTransferItemList has inconsistency with the retrieved
* object (from events, etc.) and the actual JavaScript object so a regular instanceof doesn't work. This function can
* check whether it's instanceof by using the objects constructor and prototype names.
*
* @param object
* @param constructors
* @return {boolean}
*/
var _default = function _default(object, constructors) {
constructors = Array.isArray(constructors) ? constructors : [constructors];
var _iterator = _createForOfIteratorHelper(constructors),
_step;
try {
for (_iterator.s(); !(_step = _iterator.n()).done;) {
var _constructor = _step.value;
if (object.constructor.name === _constructor.prototype[Symbol.toStringTag]) {
return true;
}
}
} catch (err) {
_iterator.e(err);
} finally {
_iterator.f();
}
return false;
};
exports["default"] = _default;
/***/ }),
/***/ "../assets/dev/js/modules/imports/args-object.js":
/*!*******************************************************!*\
!*** ../assets/dev/js/modules/imports/args-object.js ***!
\*******************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js"));
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
var _instanceType = _interopRequireDefault(__webpack_require__(/*! ./instance-type */ "../assets/dev/js/modules/imports/instance-type.js"));
var _isInstanceof = _interopRequireDefault(__webpack_require__(/*! ../../editor/utils/is-instanceof */ "../assets/dev/js/editor/utils/is-instanceof.js"));
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
var ArgsObject = /*#__PURE__*/function (_InstanceType) {
(0, _inherits2.default)(ArgsObject, _InstanceType);
var _super = _createSuper(ArgsObject);
/**
* Function constructor().
*
* Create ArgsObject.
*
* @param {{}} args
*/
function ArgsObject(args) {
var _this;
(0, _classCallCheck2.default)(this, ArgsObject);
_this = _super.call(this);
_this.args = args;
return _this;
}
/**
* Function requireArgument().
*
* Validate property in args.
*
* @param {string} property
* @param {{}} args
*
* @throws {Error}
*/
(0, _createClass2.default)(ArgsObject, [{
key: "requireArgument",
value: function requireArgument(property) {
var args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.args;
if (!Object.prototype.hasOwnProperty.call(args, property)) {
throw Error("".concat(property, " is required."));
}
}
/**
* Function requireArgumentType().
*
* Validate property in args using `type === typeof(args.whatever)`.
*
* @param {string} property
* @param {string} type
* @param {{}} args
*
* @throws {Error}
*/
}, {
key: "requireArgumentType",
value: function requireArgumentType(property, type) {
var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args;
this.requireArgument(property, args);
if ((0, _typeof2.default)(args[property]) !== type) {
throw Error("".concat(property, " invalid type: ").concat(type, "."));
}
}
/**
* Function requireArgumentInstance().
*
* Validate property in args using `args.whatever instanceof instance`.
*
* @param {string} property
* @param {*} instance
* @param {{}} args
*
* @throws {Error}
*/
}, {
key: "requireArgumentInstance",
value: function requireArgumentInstance(property, instance) {
var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args;
this.requireArgument(property, args);
if (!(args[property] instanceof instance) && !(0, _isInstanceof.default)(args[property], instance)) {
throw Error("".concat(property, " invalid instance."));
}
}
/**
* Function requireArgumentConstructor().
*
* Validate property in args using `type === args.whatever.constructor`.
*
* @param {string} property
* @param {*} type
* @param {{}} args
*
* @throws {Error}
*/
}, {
key: "requireArgumentConstructor",
value: function requireArgumentConstructor(property, type) {
var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.args;
this.requireArgument(property, args);
// Note: Converting the constructor to string in order to avoid equation issues
// due to different memory addresses between iframes (window.Object !== window.top.Object).
if (args[property].constructor.toString() !== type.prototype.constructor.toString()) {
throw Error("".concat(property, " invalid constructor type."));
}
}
}], [{
key: "getInstanceType",
value: function getInstanceType() {
return 'ArgsObject';
}
}]);
return ArgsObject;
}(_instanceType.default);
exports["default"] = ArgsObject;
/***/ }),
/***/ "../assets/dev/js/modules/imports/instance-type.js":
/*!*********************************************************!*\
!*** ../assets/dev/js/modules/imports/instance-type.js ***!
\*********************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _get2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/get */ "../node_modules/@babel/runtime/helpers/get.js"));
var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
var InstanceType = /*#__PURE__*/function (_Symbol$hasInstance) {
function InstanceType() {
var _this = this;
(0, _classCallCheck2.default)(this, InstanceType);
// Since anonymous classes sometimes do not get validated by babel, do it manually.
var target = this instanceof InstanceType ? this.constructor : void 0;
var prototypes = [];
while (target.__proto__ && target.__proto__.name) {
prototypes.push(target.__proto__);
target = target.__proto__;
}
prototypes.reverse().forEach(function (proto) {
return _this instanceof proto;
});
}
(0, _createClass2.default)(InstanceType, null, [{
key: _Symbol$hasInstance,
value: function value(target) {
/**
* This is function extending being called each time JS uses instanceOf, since babel use it each time it create new class
* its give's opportunity to mange capabilities of instanceOf operator.
* saving current class each time will give option later to handle instanceOf manually.
*/
var result = (0, _get2.default)((0, _getPrototypeOf2.default)(InstanceType), Symbol.hasInstance, this).call(this, target);
// Act normal when validate a class, which does not have instance type.
if (target && !target.constructor.getInstanceType) {
return result;
}
if (target) {
if (!target.instanceTypes) {
target.instanceTypes = [];
}
if (!result) {
if (this.getInstanceType() === target.constructor.getInstanceType()) {
result = true;
}
}
if (result) {
var name = this.getInstanceType === InstanceType.getInstanceType ? 'BaseInstanceType' : this.getInstanceType();
if (-1 === target.instanceTypes.indexOf(name)) {
target.instanceTypes.push(name);
}
}
}
if (!result && target) {
// Check if the given 'target', is instance of known types.
result = target.instanceTypes && Array.isArray(target.instanceTypes) && -1 !== target.instanceTypes.indexOf(this.getInstanceType());
}
return result;
}
}, {
key: "getInstanceType",
value: function getInstanceType() {
elementorModules.ForceMethodImplementation();
}
}]);
return InstanceType;
}(Symbol.hasInstance);
exports["default"] = InstanceType;
/***/ }),
/***/ "../assets/dev/js/modules/imports/module.js":
/*!**************************************************!*\
!*** ../assets/dev/js/modules/imports/module.js ***!
\**************************************************/
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js"));
var Module = function Module() {
var $ = jQuery,
instanceParams = arguments,
self = this,
events = {};
var settings;
var ensureClosureMethods = function ensureClosureMethods() {
$.each(self, function (methodName) {
var oldMethod = self[methodName];
if ('function' !== typeof oldMethod) {
return;
}
self[methodName] = function () {
return oldMethod.apply(self, arguments);
};
});
};
var initSettings = function initSettings() {
settings = self.getDefaultSettings();
var instanceSettings = instanceParams[0];
if (instanceSettings) {
$.extend(true, settings, instanceSettings);
}
};
var init = function init() {
self.__construct.apply(self, instanceParams);
ensureClosureMethods();
initSettings();
self.trigger('init');
};
this.getItems = function (items, itemKey) {
if (itemKey) {
var keyStack = itemKey.split('.'),
currentKey = keyStack.splice(0, 1);
if (!keyStack.length) {
return items[currentKey];
}
if (!items[currentKey]) {
return;
}
return this.getItems(items[currentKey], keyStack.join('.'));
}
return items;
};
this.getSettings = function (setting) {
return this.getItems(settings, setting);
};
this.setSettings = function (settingKey, value, settingsContainer) {
if (!settingsContainer) {
settingsContainer = settings;
}
if ('object' === (0, _typeof2.default)(settingKey)) {
$.extend(settingsContainer, settingKey);
return self;
}
var keyStack = settingKey.split('.'),
currentKey = keyStack.splice(0, 1);
if (!keyStack.length) {
settingsContainer[currentKey] = value;
return self;
}
if (!settingsContainer[currentKey]) {
settingsContainer[currentKey] = {};
}
return self.setSettings(keyStack.join('.'), value, settingsContainer[currentKey]);
};
this.getErrorMessage = function (type, functionName) {
var message;
switch (type) {
case 'forceMethodImplementation':
message = "The method '".concat(functionName, "' must to be implemented in the inheritor child.");
break;
default:
message = 'An error occurs';
}
return message;
};
// TODO: This function should be deleted ?.
this.forceMethodImplementation = function (functionName) {
throw new Error(this.getErrorMessage('forceMethodImplementation', functionName));
};
this.on = function (eventName, callback) {
if ('object' === (0, _typeof2.default)(eventName)) {
$.each(eventName, function (singleEventName) {
self.on(singleEventName, this);
});
return self;
}
var eventNames = eventName.split(' ');
eventNames.forEach(function (singleEventName) {
if (!events[singleEventName]) {
events[singleEventName] = [];
}
events[singleEventName].push(callback);
});
return self;
};
this.off = function (eventName, callback) {
if (!events[eventName]) {
return self;
}
if (!callback) {
delete events[eventName];
return self;
}
var callbackIndex = events[eventName].indexOf(callback);
if (-1 !== callbackIndex) {
delete events[eventName][callbackIndex];
// Reset array index (for next off on same event).
events[eventName] = events[eventName].filter(function (val) {
return val;
});
}
return self;
};
this.trigger = function (eventName) {
var methodName = 'on' + eventName[0].toUpperCase() + eventName.slice(1),
params = Array.prototype.slice.call(arguments, 1);
if (self[methodName]) {
self[methodName].apply(self, params);
}
var callbacks = events[eventName];
if (!callbacks) {
return self;
}
$.each(callbacks, function (index, callback) {
callback.apply(self, params);
});
return self;
};
init();
};
Module.prototype.__construct = function () {};
Module.prototype.getDefaultSettings = function () {
return {};
};
Module.prototype.getConstructorID = function () {
return this.constructor.name;
};
Module.extend = function (properties) {
var $ = jQuery,
parent = this;
var child = function child() {
return parent.apply(this, arguments);
};
$.extend(child, parent);
child.prototype = Object.create($.extend({}, parent.prototype, properties));
child.prototype.constructor = child;
child.__super__ = parent.prototype;
return child;
};
module.exports = Module;
/***/ }),
/***/ "../assets/dev/js/utils/notifications.js":
/*!***********************************************!*\
!*** ../assets/dev/js/utils/notifications.js ***!
\***********************************************/
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js"));
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
module.exports = elementorModules.Module.extend({
initToast: function initToast() {
var toast = elementorCommon.dialogsManager.createWidget('buttons', {
id: 'elementor-toast',
position: {
my: 'center bottom',
at: 'center bottom-10',
of: '#elementor-panel-content-wrapper',
autoRefresh: true
},
hide: {
onClick: true,
auto: true,
autoDelay: 10000
},
effects: {
show: function show() {
var $widget = toast.getElements('widget');
$widget.show();
toast.refreshPosition();
var top = parseInt($widget.css('top'), 10);
$widget.hide().css('top', top + 100);
$widget.animate({
opacity: 'show',
height: 'show',
paddingBottom: 'show',
paddingTop: 'show',
top: top
}, {
easing: 'linear',
duration: 300
});
},
hide: function hide() {
var $widget = toast.getElements('widget'),
top = parseInt($widget.css('top'), 10);
$widget.animate({
opacity: 'hide',
height: 'hide',
paddingBottom: 'hide',
paddingTop: 'hide',
top: top + 100
}, {
easing: 'linear',
duration: 300
});
}
},
button: {
tag: 'div'
}
});
this.getToast = function () {
return toast;
};
},
showToast: function showToast(options) {
var toast = this.getToast();
toast.setMessage(options.message);
toast.getElements('buttonsWrapper').empty();
if (!this.isPositionValid(options === null || options === void 0 ? void 0 : options.position)) {
this.positionToWindow();
}
if (options.buttons) {
options.buttons.forEach(function (button) {
toast.addButton(button);
});
}
if (options.classes) {
toast.getElements('widget').addClass(options.classes);
}
if (options.sticky) {
toast.setSettings({
hide: {
auto: false,
onClick: false
}
});
}
return toast.show();
},
isPositionValid: function isPositionValid(position) {
var _position$of;
var positionToCheck = (_position$of = position === null || position === void 0 ? void 0 : position.of) !== null && _position$of !== void 0 ? _position$of : this.getToast().getSettings('position').of;
if (!positionToCheck) {
return false;
}
return !!document.querySelector(positionToCheck);
},
positionToWindow: function positionToWindow() {
var toast = this.getToast();
var position = _objectSpread(_objectSpread({}, toast.getSettings('position')), {}, {
my: 'right top',
at: 'right-10 top+42',
// 42px is the default admin bar height + 10px
of: ''
});
toast.setSettings('position', position);
toast.getElements('widget').addClass('dialog-position-window');
},
onInit: function onInit() {
this.initToast();
}
});
/***/ }),
/***/ "../assets/dev/js/utils/time.js":
/*!**************************************!*\
!*** ../assets/dev/js/utils/time.js ***!
\**************************************/
/***/ ((__unused_webpack_module, exports) => {
"use strict";
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = getUserTimestamp;
/**
* Returns the timestamp in ISO8601 format with the UTC timezone offset.
*
* @since 3.6.0
*
* @param {Date} date
* @return {Date} timestamp
*/
function getUserTimestamp() {
var date = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : new Date();
var timezoneOffset = date.getTimezoneOffset();
// Local time for the user
var UTCTimestamp = new Date(date.getTime() - timezoneOffset * 60000).toISOString();
// Remove the Z suffix from the string.
UTCTimestamp = UTCTimestamp.slice(0, -1);
// Create the offset string in the format `+HH:00` (or minus (-) prefix for negative offset instead of plus)
var decimalTimezoneOffset = timezoneOffset / 60,
// Negative offsets include a '-' sign in the getTimezoneOffset value, positive values need a '+' prefix (ISO8601).
sign = 0 <= decimalTimezoneOffset ? '+' : '-',
hours = Math.abs(Math.floor(decimalTimezoneOffset)),
minutes = Math.abs(decimalTimezoneOffset % 1) * 60,
addZeroToHour = 10 > hours ? '0' : '',
addZeroToMinutes = 10 > minutes ? '0' : '';
var formattedTimezoneOffset = sign + addZeroToHour + hours + ':' + addZeroToMinutes + minutes;
return UTCTimestamp + formattedTimezoneOffset;
}
/***/ }),
/***/ "../core/common/assets/js/components/wordpress/commands-data/index.js":
/*!****************************************************************************!*\
!*** ../core/common/assets/js/components/wordpress/commands-data/index.js ***!
\****************************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
Object.defineProperty(exports, "__esModule", ({
value: true
}));
Object.defineProperty(exports, "Media", ({
enumerable: true,
get: function get() {
return _media.Media;
}
}));
var _media = __webpack_require__(/*! ./media */ "../core/common/assets/js/components/wordpress/commands-data/media.js");
/***/ }),
/***/ "../core/common/assets/js/components/wordpress/commands-data/media.js":
/*!****************************************************************************!*\
!*** ../core/common/assets/js/components/wordpress/commands-data/media.js ***!
\****************************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
/* provided dependency */ var __ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n")["__"];
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports.Media = void 0;
var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ "../node_modules/@babel/runtime/regenerator/index.js"));
var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ "../node_modules/@babel/runtime/helpers/asyncToGenerator.js"));
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _get2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/get */ "../node_modules/@babel/runtime/helpers/get.js"));
var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
var _commandData = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/command-data */ "../modules/web-cli/assets/js/modules/command-data.js"));
var _filesUploadHandler = _interopRequireDefault(__webpack_require__(/*! elementor-editor/utils/files-upload-handler */ "../assets/dev/js/editor/utils/files-upload-handler.js"));
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
var Media = /*#__PURE__*/function (_CommandData) {
(0, _inherits2.default)(Media, _CommandData);
var _super = _createSuper(Media);
function Media() {
(0, _classCallCheck2.default)(this, Media);
return _super.apply(this, arguments);
}
(0, _createClass2.default)(Media, [{
key: "validateArgs",
value: function validateArgs() {
this.requireArgumentInstance('file', File);
}
}, {
key: "getRequestData",
value: function getRequestData() {
var requestData = (0, _get2.default)((0, _getPrototypeOf2.default)(Media.prototype), "getRequestData", this).call(this);
requestData.namespace = 'wp';
requestData.version = '2';
return requestData;
}
}, {
key: "applyBeforeCreate",
value: function applyBeforeCreate(args) {
var _args$options;
args.headers = {
'Content-Disposition': "attachment; filename=".concat(this.file.name),
'Content-Type': this.file.type
};
args.query = {
uploadTypeCaller: 'elementor-wp-media-upload'
};
args.data = this.file;
if ((_args$options = args.options) !== null && _args$options !== void 0 && _args$options.progress) {
this.toast = elementor.notifications.showToast({
// eslint-disable-next-line @wordpress/i18n-ellipsis
message: __('Uploading...'),
sticky: true
});
}
return args;
}
}, {
key: "applyAfterCreate",
value: function applyAfterCreate(data, args) {
var _args$options2;
if ((_args$options2 = args.options) !== null && _args$options2 !== void 0 && _args$options2.progress) {
this.toast.hide();
}
return data;
}
}, {
key: "run",
value: function () {
var _run = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
return _regenerator.default.wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
this.file = this.args.file;
if (!(this.file.size > parseInt(window._wpPluploadSettings.defaults.filters.max_file_size, 10))) {
_context.next = 3;
break;
}
throw new Error(__('The file exceeds the maximum upload size for this site.', 'elementor'));
case 3:
if (!(!window._wpPluploadSettings.defaults.filters.mime_types[0].extensions.split(',').includes(this.file.name.split('.').pop()) && !elementor.config.filesUpload.unfilteredFiles)) {
_context.next = 6;
break;
}
_filesUploadHandler.default.getUnfilteredFilesNotEnabledDialog(function () {}).show();
return _context.abrupt("return");
case 6:
_context.next = 8;
return (0, _get2.default)((0, _getPrototypeOf2.default)(Media.prototype), "run", this).call(this);
case 8:
return _context.abrupt("return", _context.sent);
case 9:
case "end":
return _context.stop();
}
}, _callee, this);
}));
function run() {
return _run.apply(this, arguments);
}
return run;
}()
}], [{
key: "getEndpointFormat",
value: function getEndpointFormat() {
// 'wp/media' to 'media' since `requestData.namespace` is 'wp'.
return 'media';
}
}]);
return Media;
}(_commandData.default);
exports.Media = Media;
/***/ }),
/***/ "../core/common/assets/js/components/wordpress/component.js":
/*!******************************************************************!*\
!*** ../core/common/assets/js/components/wordpress/component.js ***!
\******************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
var _componentBase = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/component-base */ "../modules/web-cli/assets/js/modules/component-base.js"));
var dataCommands = _interopRequireWildcard(__webpack_require__(/*! ./commands-data/ */ "../core/common/assets/js/components/wordpress/commands-data/index.js"));
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
var Component = /*#__PURE__*/function (_ComponentBase) {
(0, _inherits2.default)(Component, _ComponentBase);
var _super = _createSuper(Component);
function Component() {
(0, _classCallCheck2.default)(this, Component);
return _super.apply(this, arguments);
}
(0, _createClass2.default)(Component, [{
key: "getNamespace",
value: function getNamespace() {
return 'wp';
}
}, {
key: "defaultData",
value: function defaultData() {
return this.importCommands(dataCommands);
}
}]);
return Component;
}(_componentBase.default);
exports["default"] = Component;
/***/ }),
/***/ "../core/common/assets/js/utils/debug.js":
/*!***********************************************!*\
!*** ../core/common/assets/js/utils/debug.js ***!
\***********************************************/
/***/ ((module) => {
"use strict";
// Moved from assets/dev/js/editor/utils
var Debug = function Debug() {
var self = this,
errorStack = [],
settings = {},
elements = {};
var initSettings = function initSettings() {
settings = {
debounceDelay: 500,
urlsToWatch: ['elementor/assets']
};
};
var initElements = function initElements() {
elements.$window = jQuery(window);
};
var onError = function onError(event) {
var _event$originalEvent;
var error = (_event$originalEvent = event.originalEvent) === null || _event$originalEvent === void 0 ? void 0 : _event$originalEvent.error;
if (!error) {
return;
}
var isInWatchList = false,
urlsToWatch = settings.urlsToWatch;
jQuery.each(urlsToWatch, function () {
if (-1 !== error.stack.indexOf(this)) {
isInWatchList = true;
return false;
}
});
if (!isInWatchList) {
return;
}
self.addError({
type: error.name,
message: error.message,
url: event.originalEvent.filename,
line: event.originalEvent.lineno,
column: event.originalEvent.colno
});
};
var bindEvents = function bindEvents() {
elements.$window.on('error', onError);
};
var init = function init() {
initSettings();
initElements();
bindEvents();
self.sendErrors = _.debounce(self.sendErrors, settings.debounceDelay);
};
this.addURLToWatch = function (url) {
settings.urlsToWatch.push(url);
};
this.addCustomError = function (error, category, tag) {
var errorInfo = {
type: error.name,
message: error.message,
url: error.fileName || error.sourceURL,
line: error.lineNumber || error.line,
column: error.columnNumber || error.column,
customFields: {
category: category || 'general',
tag: tag
}
};
if (!errorInfo.url) {
var stackInfo = error.stack.match(/\n {4}at (.*?(?=:(\d+):(\d+)))/);
if (stackInfo) {
errorInfo.url = stackInfo[1];
errorInfo.line = stackInfo[2];
errorInfo.column = stackInfo[3];
}
}
this.addError(errorInfo);
};
this.addError = function (errorParams) {
var defaultParams = {
type: 'Error',
timestamp: Math.floor(new Date().getTime() / 1000),
message: null,
url: null,
line: null,
column: null,
customFields: {}
};
errorStack.push(jQuery.extend(true, defaultParams, errorParams));
self.sendErrors();
};
this.sendErrors = function () {
// Avoid recursions on errors in ajax
elements.$window.off('error', onError);
jQuery.ajax({
url: elementorCommon.config.ajax.url,
method: 'POST',
data: {
action: 'elementor_js_log',
_nonce: elementorCommon.ajax.getSettings('nonce'),
data: errorStack
},
success: function success() {
errorStack = [];
// Restore error handler
elements.$window.on('error', onError);
}
});
};
init();
};
module.exports = Debug;
/***/ }),
/***/ "../core/common/assets/js/utils/helpers.js":
/*!*************************************************!*\
!*** ../core/common/assets/js/utils/helpers.js ***!
\*************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var Helpers = /*#__PURE__*/function () {
function Helpers() {
(0, _classCallCheck2.default)(this, Helpers);
}
(0, _createClass2.default)(Helpers, [{
key: "softDeprecated",
value:
/**
* @param {string} name
* @param {string} version
* @param {string} replacement
* @deprecated since 3.7.0, use `elementorDevTools.deprecation.deprecated()` instead.
*/
function softDeprecated(name, version, replacement) {
elementorDevTools.deprecation.deprecated(name, version, replacement);
// This is is self is deprecated.
elementorDevTools.deprecation.deprecated('elementorCommon.helpers.softDeprecated()', '3.7.0', 'elementorDevTools.deprecation.deprecated()');
}
/**
* @param {string} name
* @param {string} version
* @param {string} replacement
* @deprecated since 3.7.0, use `elementorDevTools.deprecation.deprecated()` instead.
*/
}, {
key: "hardDeprecated",
value: function hardDeprecated(name, version, replacement) {
elementorDevTools.deprecation.deprecated(name, version, replacement);
// This is is self is deprecated.
elementorDevTools.deprecation.deprecated('elementorCommon.helpers.hardDeprecated()', '3.7.0', 'elementorDevTools.deprecation.deprecated()');
}
/**
* @param {string} type
* @param {string} name
* @param {string} version
* @param {string} replacement
* @deprecated since 3.7.0, use `elementorDevTools.deprecation.deprecated()` instead.
*/
}, {
key: "deprecatedMessage",
value: function deprecatedMessage(type, name, version, replacement) {
elementorDevTools.deprecation.deprecated(name, version, replacement);
// This is is self is deprecated.
elementorDevTools.deprecation.deprecated('elementorCommon.helpers.deprecatedMessage()', '3.7.0', 'elementorDevTools.deprecation.deprecated()');
}
/**
* @param {*} args
* @deprecated since 3.7.0, use `elementorDevTools.consoleWarn()` instead.
*/
}, {
key: "consoleWarn",
value: function consoleWarn() {
var _elementorDevTools;
(_elementorDevTools = elementorDevTools).consoleWarn.apply(_elementorDevTools, arguments);
// This is is self is deprecated.
elementorDevTools.deprecation.deprecated('elementorCommon.helpers.consoleWarn()', '3.7.0', 'elementorDevTools.consoleWarn()');
}
/**
* @param {string} message
* @deprecated since 3.7.0, use `console.error()` instead.
*/
}, {
key: "consoleError",
value: function consoleError(message) {
// eslint-disable-next-line no-console
console.error(message);
// This is is self is deprecated.
elementorDevTools.deprecation.deprecated('elementorCommon.helpers.consoleError()', '3.7.0', 'console.error()');
}
/**
* @param {string} methodName
* @param {string} version
* @param {string} replacement
* @deprecated since 2.8.0, use `elementorDevTools.deprecation.deprecated()` instead.
*/
}, {
key: "deprecatedMethod",
value: function deprecatedMethod(methodName, version, replacement) {
elementorDevTools.deprecation.deprecated(methodName, version, replacement);
// This itself is deprecated.
elementorDevTools.deprecation.deprecated('elementorCommon.helpers.deprecatedMethod()', '2.8.0', 'elementorDevTools.deprecation.deprecated()');
}
}, {
key: "cloneObject",
value: function cloneObject(object) {
return JSON.parse(JSON.stringify(object));
}
}, {
key: "upperCaseWords",
value: function upperCaseWords(string) {
return (string + '').replace(/^(.)|\s+(.)/g, function ($1) {
return $1.toUpperCase();
});
}
}, {
key: "getUniqueId",
value: function getUniqueId() {
return Math.random().toString(16).substr(2, 7);
}
}]);
return Helpers;
}();
exports["default"] = Helpers;
/***/ }),
/***/ "../core/common/assets/js/utils/storage.js":
/*!*************************************************!*\
!*** ../core/common/assets/js/utils/storage.js ***!
\*************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
var _default = /*#__PURE__*/function (_elementorModules$Mod) {
(0, _inherits2.default)(_default, _elementorModules$Mod);
var _super = _createSuper(_default);
function _default() {
(0, _classCallCheck2.default)(this, _default);
return _super.apply(this, arguments);
}
(0, _createClass2.default)(_default, [{
key: "get",
value: function get(key, options) {
options = options || {};
var storage;
try {
storage = options.session ? sessionStorage : localStorage;
} catch (e) {
return key ? undefined : {};
}
var elementorStorage = storage.getItem('elementor');
if (elementorStorage) {
elementorStorage = JSON.parse(elementorStorage);
} else {
elementorStorage = {};
}
if (!elementorStorage.__expiration) {
elementorStorage.__expiration = {};
}
var expiration = elementorStorage.__expiration;
var expirationToCheck = [];
if (key) {
if (expiration[key]) {
expirationToCheck = [key];
}
} else {
expirationToCheck = Object.keys(expiration);
}
var entryExpired = false;
expirationToCheck.forEach(function (expirationKey) {
if (new Date(expiration[expirationKey]) < new Date()) {
delete elementorStorage[expirationKey];
delete expiration[expirationKey];
entryExpired = true;
}
});
if (entryExpired) {
this.save(elementorStorage, options.session);
}
if (key) {
return elementorStorage[key];
}
return elementorStorage;
}
}, {
key: "set",
value: function set(key, value, options) {
options = options || {};
var elementorStorage = this.get(null, options);
elementorStorage[key] = value;
if (options.lifetimeInSeconds) {
var date = new Date();
date.setTime(date.getTime() + options.lifetimeInSeconds * 1000);
elementorStorage.__expiration[key] = date.getTime();
}
this.save(elementorStorage, options.session);
}
}, {
key: "save",
value: function save(object, session) {
var storage;
try {
storage = session ? sessionStorage : localStorage;
} catch (e) {
return;
}
storage.setItem('elementor', JSON.stringify(object));
}
}]);
return _default;
}(elementorModules.Module);
exports["default"] = _default;
/***/ }),
/***/ "../core/common/modules/ajax/assets/js/ajax.js":
/*!*****************************************************!*\
!*** ../core/common/modules/ajax/assets/js/ajax.js ***!
\*****************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ "../node_modules/@babel/runtime/helpers/slicedToArray.js"));
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _assertThisInitialized2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js"));
var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
var _default = /*#__PURE__*/function (_elementorModules$Mod) {
(0, _inherits2.default)(_default, _elementorModules$Mod);
var _super = _createSuper(_default);
function _default() {
var _this;
(0, _classCallCheck2.default)(this, _default);
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
args[_key] = arguments[_key];
}
_this = _super.call.apply(_super, [this].concat(args));
_this.requests = {};
_this.cache = {};
_this.initRequestConstants();
_this.debounceSendBatch = _.debounce(_this.sendBatch.bind((0, _assertThisInitialized2.default)(_this)), 500);
return _this;
}
(0, _createClass2.default)(_default, [{
key: "getDefaultSettings",
value: function getDefaultSettings() {
return {
ajaxParams: {
type: 'POST',
url: elementorCommon.config.ajax.url,
data: {},
dataType: 'json'
},
actionPrefix: 'elementor_'
};
}
}, {
key: "initRequestConstants",
value: function initRequestConstants() {
this.requestConstants = {
_nonce: this.getSettings('nonce')
};
}
}, {
key: "addRequestConstant",
value: function addRequestConstant(key, value) {
this.requestConstants[key] = value;
}
}, {
key: "getCacheKey",
value: function getCacheKey(request) {
return JSON.stringify({
unique_id: request.unique_id,
data: request.data
});
}
}, {
key: "loadObjects",
value: function loadObjects(options) {
var _this2 = this;
var dataCollection = {};
var deferredArray = [];
if (options.before) {
options.before();
}
options.ids.forEach(function (objectId) {
deferredArray.push(_this2.load({
action: options.action,
unique_id: options.data.unique_id + objectId,
data: jQuery.extend({
id: objectId
}, options.data)
}).done(function (data) {
return dataCollection = jQuery.extend(dataCollection, data);
}));
});
jQuery.when.apply(jQuery, deferredArray).done(function () {
return options.success(dataCollection);
});
}
}, {
key: "load",
value: function load(request, immediately) {
var _this3 = this;
if (!request.unique_id) {
request.unique_id = request.action;
}
if (request.before) {
request.before();
}
var deferred;
var cacheKey = this.getCacheKey(request);
if (_.has(this.cache, cacheKey)) {
deferred = jQuery.Deferred().done(request.success).resolve(this.cache[cacheKey]);
} else {
deferred = this.addRequest(request.action, {
data: request.data,
unique_id: request.unique_id,
success: function success(data) {
return _this3.cache[cacheKey] = data;
}
}, immediately).done(request.success);
}
return deferred;
}
}, {
key: "addRequest",
value: function addRequest(action, options, immediately) {
options = options || {};
if (!options.unique_id) {
options.unique_id = action;
}
options.deferred = jQuery.Deferred().done(options.success).fail(options.error).always(options.complete);
var request = {
action: action,
options: options
};
if (immediately) {
var requests = {};
requests[options.unique_id] = request;
options.deferred.jqXhr = this.sendBatch(requests);
} else {
this.requests[options.unique_id] = request;
this.debounceSendBatch();
}
return options.deferred;
}
}, {
key: "sendBatch",
value: function sendBatch(requests) {
var actions = {};
if (!requests) {
requests = this.requests;
// Empty for next batch.
this.requests = {};
}
Object.entries(requests).forEach(function (_ref) {
var _ref2 = (0, _slicedToArray2.default)(_ref, 2),
id = _ref2[0],
request = _ref2[1];
return actions[id] = {
action: request.action,
data: request.options.data
};
});
return this.send('ajax', {
data: {
actions: JSON.stringify(actions)
},
success: function success(data) {
Object.entries(data.responses).forEach(function (_ref3) {
var _ref4 = (0, _slicedToArray2.default)(_ref3, 2),
id = _ref4[0],
response = _ref4[1];
var options = requests[id].options;
if (options) {
if (response.success) {
options.deferred.resolve(response.data);
} else if (!response.success) {
options.deferred.reject(response.data);
}
}
});
},
error: function error(data) {
return Object.values(requests).forEach(function (args) {
if (args.options) {
args.options.deferred.reject(data);
}
});
}
});
}
}, {
key: "prepareSend",
value: function prepareSend(action, options) {
var _this4 = this;
var settings = this.getSettings(),
ajaxParams = elementorCommon.helpers.cloneObject(settings.ajaxParams);
options = options || {};
action = settings.actionPrefix + action;
jQuery.extend(ajaxParams, options);
var requestConstants = elementorCommon.helpers.cloneObject(this.requestConstants);
requestConstants.action = action;
var isFormData = ajaxParams.data instanceof FormData;
Object.entries(requestConstants).forEach(function (_ref5) {
var _ref6 = (0, _slicedToArray2.default)(_ref5, 2),
key = _ref6[0],
value = _ref6[1];
if (isFormData) {
ajaxParams.data.append(key, value);
} else {
ajaxParams.data[key] = value;
}
});
var successCallback = ajaxParams.success,
errorCallback = ajaxParams.error;
if (successCallback || errorCallback) {
ajaxParams.success = function (response) {
if (response.success && successCallback) {
successCallback(response.data);
}
if (!response.success && errorCallback) {
errorCallback(response.data);
}
};
if (errorCallback) {
ajaxParams.error = function (data) {
return errorCallback(data);
};
} else {
ajaxParams.error = function (xmlHttpRequest) {
if (xmlHttpRequest.readyState || 'abort' !== xmlHttpRequest.statusText) {
_this4.trigger('request:unhandledError', xmlHttpRequest);
}
};
}
}
return ajaxParams;
}
}, {
key: "send",
value: function send(action, options) {
return jQuery.ajax(this.prepareSend(action, options));
}
}, {
key: "addRequestCache",
value: function addRequestCache(request, data) {
var cacheKey = this.getCacheKey(request);
this.cache[cacheKey] = data;
}
}, {
key: "invalidateCache",
value: function invalidateCache(request) {
var cacheKey = this.getCacheKey(request);
delete this.cache[cacheKey];
}
}]);
return _default;
}(elementorModules.Module);
exports["default"] = _default;
/***/ }),
/***/ "../core/common/modules/connect/assets/js/connect.js":
/*!***********************************************************!*\
!*** ../core/common/modules/connect/assets/js/connect.js ***!
\***********************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
/* provided dependency */ var __ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n")["__"];
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _get2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/get */ "../node_modules/@babel/runtime/helpers/get.js"));
var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
var _default = /*#__PURE__*/function (_elementorModules$Vie) {
(0, _inherits2.default)(_default, _elementorModules$Vie);
var _super = _createSuper(_default);
function _default() {
(0, _classCallCheck2.default)(this, _default);
return _super.apply(this, arguments);
}
(0, _createClass2.default)(_default, [{
key: "addPopupPlugin",
value: function addPopupPlugin() {
var counter = 0;
jQuery.fn.elementorConnect = function (options) {
var _this = this;
// Open the Connect Dialog in a popup window.
if (options !== null && options !== void 0 && options.popup) {
jQuery(this).on('click', function (event) {
var _options$popup, _options$popup2;
event.preventDefault();
var width = ((_options$popup = options.popup) === null || _options$popup === void 0 ? void 0 : _options$popup.width) || 600,
height = ((_options$popup2 = options.popup) === null || _options$popup2 === void 0 ? void 0 : _options$popup2.height) || 700;
window.open(jQuery(_this).attr('href') + '&mode=popup', 'elementorConnect', "toolbar=no, menubar=no, width=".concat(width, ", height=").concat(height, ", top=200, left=0"));
});
delete options.popup;
}
var settings = jQuery.extend({
// These are the defaults.
success: function success() {
return location.reload();
},
error: function error() {
elementor.notifications.showToast({
message: __('Unable to connect', 'elementor')
});
},
parseUrl: function parseUrl(url) {
return url;
} // Allow to change the url, e.g: replace placeholders like '%%template_type%%' with actual value.
}, options);
this.each(function () {
counter++;
var $this = jQuery(this),
callbackId = 'cb' + counter;
$this.attr({
target: '_blank',
rel: 'opener',
href: settings.parseUrl($this.attr('href') + '&mode=popup&callback_id=' + callbackId)
});
elementorCommon.elements.$window.on('elementor/connect/success/' + callbackId, settings.success).on('elementor/connect/error/' + callbackId, settings.error);
});
return this;
};
}
}, {
key: "getDefaultSettings",
value: function getDefaultSettings() {
return {
selectors: {
connectButton: '#elementor-template-library-connect__button'
}
};
}
}, {
key: "getDefaultElements",
value: function getDefaultElements() {
return {
$connectButton: jQuery(this.getSettings('selectors.connectButton'))
};
}
}, {
key: "applyPopup",
value: function applyPopup() {
this.elements.$connectButton.elementorConnect();
}
}, {
key: "onInit",
value: function onInit() {
(0, _get2.default)((0, _getPrototypeOf2.default)(_default.prototype), "onInit", this).call(this);
this.addPopupPlugin();
this.applyPopup();
}
}]);
return _default;
}(elementorModules.ViewModule);
exports["default"] = _default;
/***/ }),
/***/ "../core/common/modules/event-tracker/assets/js/data/commands-data/index.js":
/*!**********************************************************************************!*\
!*** ../core/common/modules/event-tracker/assets/js/data/commands-data/index.js ***!
\**********************************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports.Index = void 0;
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
var _commandData = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/command-data */ "../modules/web-cli/assets/js/modules/command-data.js"));
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
var Index = /*#__PURE__*/function (_CommandData) {
(0, _inherits2.default)(Index, _CommandData);
var _super = _createSuper(Index);
function Index() {
(0, _classCallCheck2.default)(this, Index);
return _super.apply(this, arguments);
}
(0, _createClass2.default)(Index, null, [{
key: "getEndpointFormat",
value: function getEndpointFormat() {
return 'send-event';
}
}]);
return Index;
}(_commandData.default);
exports.Index = Index;
/***/ }),
/***/ "../core/common/modules/event-tracker/assets/js/data/component.js":
/*!************************************************************************!*\
!*** ../core/common/modules/event-tracker/assets/js/data/component.js ***!
\************************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
var _componentBase = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/component-base */ "../modules/web-cli/assets/js/modules/component-base.js"));
var commandsData = _interopRequireWildcard(__webpack_require__(/*! ./commands-data/ */ "../core/common/modules/event-tracker/assets/js/data/commands-data/index.js"));
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
var Component = /*#__PURE__*/function (_ComponentBase) {
(0, _inherits2.default)(Component, _ComponentBase);
var _super = _createSuper(Component);
function Component() {
(0, _classCallCheck2.default)(this, Component);
return _super.apply(this, arguments);
}
(0, _createClass2.default)(Component, [{
key: "getNamespace",
value: function getNamespace() {
return 'event-tracker';
}
}, {
key: "defaultData",
value: function defaultData() {
return this.importCommands(commandsData);
}
}]);
return Component;
}(_componentBase.default);
exports["default"] = Component;
/***/ }),
/***/ "../core/common/modules/event-tracker/assets/js/events.js":
/*!****************************************************************!*\
!*** ../core/common/modules/event-tracker/assets/js/events.js ***!
\****************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _time = _interopRequireDefault(__webpack_require__(/*! elementor-utils/time */ "../assets/dev/js/utils/time.js"));
var Events = /*#__PURE__*/function () {
function Events() {
(0, _classCallCheck2.default)(this, Events);
}
(0, _createClass2.default)(Events, [{
key: "dispatchEvent",
value: function dispatchEvent(eventData) {
if (!eventData) {
return;
}
eventData.ts = (0, _time.default)();
// No need to wait for response, no need to block browser in any way.
$e.data.create('event-tracker/index', {
event_data: eventData
});
}
}]);
return Events;
}();
exports["default"] = Events;
/***/ }),
/***/ "../core/common/modules/finder/assets/js/commands/index.js":
/*!*****************************************************************!*\
!*** ../core/common/modules/finder/assets/js/commands/index.js ***!
\*****************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
Object.defineProperty(exports, "__esModule", ({
value: true
}));
Object.defineProperty(exports, "NavigateDown", ({
enumerable: true,
get: function get() {
return _navigateDown.NavigateDown;
}
}));
Object.defineProperty(exports, "NavigateSelect", ({
enumerable: true,
get: function get() {
return _navigateSelect.NavigateSelect;
}
}));
Object.defineProperty(exports, "NavigateUp", ({
enumerable: true,
get: function get() {
return _navigateUp.NavigateUp;
}
}));
var _navigateDown = __webpack_require__(/*! ./navigate-down */ "../core/common/modules/finder/assets/js/commands/navigate-down.js");
var _navigateSelect = __webpack_require__(/*! ./navigate-select */ "../core/common/modules/finder/assets/js/commands/navigate-select.js");
var _navigateUp = __webpack_require__(/*! ./navigate-up */ "../core/common/modules/finder/assets/js/commands/navigate-up.js");
/***/ }),
/***/ "../core/common/modules/finder/assets/js/commands/navigate-down.js":
/*!*************************************************************************!*\
!*** ../core/common/modules/finder/assets/js/commands/navigate-down.js ***!
\*************************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = exports.NavigateDown = void 0;
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
var _commandBase = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/command-base */ "../modules/web-cli/assets/js/modules/command-base.js"));
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
var NavigateDown = /*#__PURE__*/function (_CommandBase) {
(0, _inherits2.default)(NavigateDown, _CommandBase);
var _super = _createSuper(NavigateDown);
function NavigateDown() {
(0, _classCallCheck2.default)(this, NavigateDown);
return _super.apply(this, arguments);
}
(0, _createClass2.default)(NavigateDown, [{
key: "apply",
value: function apply() {
this.component.getItemsView().activateNextItem();
}
}]);
return NavigateDown;
}(_commandBase.default);
exports.NavigateDown = NavigateDown;
var _default = NavigateDown;
exports["default"] = _default;
/***/ }),
/***/ "../core/common/modules/finder/assets/js/commands/navigate-select.js":
/*!***************************************************************************!*\
!*** ../core/common/modules/finder/assets/js/commands/navigate-select.js ***!
\***************************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = exports.NavigateSelect = void 0;
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
var _commandBase = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/command-base */ "../modules/web-cli/assets/js/modules/command-base.js"));
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
var NavigateSelect = /*#__PURE__*/function (_CommandBase) {
(0, _inherits2.default)(NavigateSelect, _CommandBase);
var _super = _createSuper(NavigateSelect);
function NavigateSelect() {
(0, _classCallCheck2.default)(this, NavigateSelect);
return _super.apply(this, arguments);
}
(0, _createClass2.default)(NavigateSelect, [{
key: "apply",
value: function apply(args) {
this.component.getItemsView().goToActiveItem(args);
}
}]);
return NavigateSelect;
}(_commandBase.default);
exports.NavigateSelect = NavigateSelect;
var _default = NavigateSelect;
exports["default"] = _default;
/***/ }),
/***/ "../core/common/modules/finder/assets/js/commands/navigate-up.js":
/*!***********************************************************************!*\
!*** ../core/common/modules/finder/assets/js/commands/navigate-up.js ***!
\***********************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = exports.NavigateUp = void 0;
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
var _commandBase = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/command-base */ "../modules/web-cli/assets/js/modules/command-base.js"));
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
var NavigateUp = /*#__PURE__*/function (_CommandBase) {
(0, _inherits2.default)(NavigateUp, _CommandBase);
var _super = _createSuper(NavigateUp);
function NavigateUp() {
(0, _classCallCheck2.default)(this, NavigateUp);
return _super.apply(this, arguments);
}
(0, _createClass2.default)(NavigateUp, [{
key: "apply",
value: function apply() {
this.component.getItemsView().activateNextItem(true);
}
}]);
return NavigateUp;
}(_commandBase.default);
exports.NavigateUp = NavigateUp;
var _default = NavigateUp;
exports["default"] = _default;
/***/ }),
/***/ "../core/common/modules/finder/assets/js/component.js":
/*!************************************************************!*\
!*** ../core/common/modules/finder/assets/js/component.js ***!
\************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js"));
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _get2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/get */ "../node_modules/@babel/runtime/helpers/get.js"));
var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
var _componentModalBase = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/component-modal-base */ "../modules/web-cli/assets/js/modules/component-modal-base.js"));
var _layout = _interopRequireDefault(__webpack_require__(/*! ./modal/views/layout */ "../core/common/modules/finder/assets/js/modal/views/layout.js"));
var commands = _interopRequireWildcard(__webpack_require__(/*! ./commands/ */ "../core/common/modules/finder/assets/js/commands/index.js"));
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
var Component = /*#__PURE__*/function (_ComponentModalBase) {
(0, _inherits2.default)(Component, _ComponentModalBase);
var _super = _createSuper(Component);
function Component() {
(0, _classCallCheck2.default)(this, Component);
return _super.apply(this, arguments);
}
(0, _createClass2.default)(Component, [{
key: "getNamespace",
value: function getNamespace() {
return 'finder';
}
}, {
key: "defaultShortcuts",
value: function defaultShortcuts() {
var _this = this;
return {
'': {
keys: 'ctrl+e'
},
'navigate-down': {
keys: 'down',
scopes: [this.getNamespace()],
dependency: function dependency() {
return _this.getItemsView();
}
},
'navigate-up': {
keys: 'up',
scopes: [this.getNamespace()],
dependency: function dependency() {
return _this.getItemsView();
}
},
'navigate-select': {
keys: 'enter',
scopes: [this.getNamespace()],
dependency: function dependency() {
return _this.getItemsView().$activeItem;
}
}
};
}
}, {
key: "defaultCommands",
value: function defaultCommands() {
var modalCommands = (0, _get2.default)((0, _getPrototypeOf2.default)(Component.prototype), "defaultCommands", this).call(this);
return _objectSpread(_objectSpread({
'navigate/down': function navigateDown() {
elementorDevTools.deprecation.deprecated("$e.run( 'finder/navigate/down' )", '3.0.0', "$e.run( 'finder/navigate-down' )");
$e.run('finder/navigate-down');
},
'navigate/up': function navigateUp() {
elementorDevTools.deprecation.deprecated("$e.run( 'finder/navigate/up' )", '3.0.0', "$e.run( 'finder/navigate-up' )");
$e.run('finder/navigate-up');
},
'navigate/select': function navigateSelect(event) {
elementorDevTools.deprecation.deprecated("$e.run( 'finder/navigate/select', event )", '3.0.0', "$e.run( 'finder/navigate-select', event )");
// TODO: Fix $e.shortcuts use args. ( args.event ).
$e.run('finder/navigate-select', event);
}
}, modalCommands), this.importCommands(commands));
}
}, {
key: "getModalLayout",
value: function getModalLayout() {
return _layout.default;
}
}, {
key: "getItemsView",
value: function getItemsView() {
return this.layout.modalContent.currentView.content.currentView;
}
}]);
return Component;
}(_componentModalBase.default);
exports["default"] = Component;
/***/ }),
/***/ "../core/common/modules/finder/assets/js/finder.js":
/*!*********************************************************!*\
!*** ../core/common/modules/finder/assets/js/finder.js ***!
\*********************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
var _component = _interopRequireDefault(__webpack_require__(/*! ./component */ "../core/common/modules/finder/assets/js/component.js"));
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
var _default = /*#__PURE__*/function (_elementorModules$Mod) {
(0, _inherits2.default)(_default, _elementorModules$Mod);
var _super = _createSuper(_default);
function _default() {
(0, _classCallCheck2.default)(this, _default);
return _super.apply(this, arguments);
}
(0, _createClass2.default)(_default, [{
key: "onInit",
value: function onInit() {
// TODO: Temp fix, do not load finder in theme-builder.
// Better to pass into '$e' constructor the app owner. ( admin, editor, preview, iframe ).
if (window.top !== window) {
return;
}
this.channel = Backbone.Radio.channel('ELEMENTOR:finder');
$e.components.register(new _component.default({
manager: this
}));
}
}]);
return _default;
}(elementorModules.Module);
exports["default"] = _default;
/***/ }),
/***/ "../core/common/modules/finder/assets/js/modal/model/item.js":
/*!*******************************************************************!*\
!*** ../core/common/modules/finder/assets/js/modal/model/item.js ***!
\*******************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
var _default = /*#__PURE__*/function (_Backbone$Model) {
(0, _inherits2.default)(_default, _Backbone$Model);
var _super = _createSuper(_default);
function _default() {
(0, _classCallCheck2.default)(this, _default);
return _super.apply(this, arguments);
}
(0, _createClass2.default)(_default, [{
key: "defaults",
value: function defaults() {
return {
description: '',
icon: 'settings',
url: '',
keywords: [],
actions: [],
lock: null
};
}
}]);
return _default;
}(Backbone.Model);
exports["default"] = _default;
/***/ }),
/***/ "../core/common/modules/finder/assets/js/modal/views/categories.js":
/*!*************************************************************************!*\
!*** ../core/common/modules/finder/assets/js/modal/views/categories.js ***!
\*************************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
var _category = _interopRequireDefault(__webpack_require__(/*! ./category */ "../core/common/modules/finder/assets/js/modal/views/category.js"));
var _dynamicCategory = _interopRequireDefault(__webpack_require__(/*! ./dynamic-category */ "../core/common/modules/finder/assets/js/modal/views/dynamic-category.js"));
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
var _default = /*#__PURE__*/function (_Marionette$Composite) {
(0, _inherits2.default)(_default, _Marionette$Composite);
var _super = _createSuper(_default);
function _default() {
(0, _classCallCheck2.default)(this, _default);
return _super.apply(this, arguments);
}
(0, _createClass2.default)(_default, [{
key: "id",
value: function id() {
return 'elementor-finder__results-container';
}
}, {
key: "ui",
value: function ui() {
this.selectors = {
noResults: '#elementor-finder__no-results',
categoryItem: '.elementor-finder__results__item'
};
return this.selectors;
}
}, {
key: "events",
value: function events() {
return {
'mouseenter @ui.categoryItem': 'onCategoryItemMouseEnter'
};
}
}, {
key: "getTemplate",
value: function getTemplate() {
return '#tmpl-elementor-finder-results-container';
}
}, {
key: "getChildView",
value: function getChildView(childModel) {
return childModel.get('dynamic') ? _dynamicCategory.default : _category.default;
}
}, {
key: "initialize",
value: function initialize() {
this.$activeItem = null;
this.childViewContainer = '#elementor-finder__results';
this.collection = new Backbone.Collection(Object.values(elementorCommon.finder.getSettings('data')));
}
}, {
key: "activateItem",
value: function activateItem($item) {
if (this.$activeItem) {
this.$activeItem.removeClass('elementor-active');
}
$item.addClass('elementor-active');
this.$activeItem = $item;
}
}, {
key: "activateNextItem",
value: function activateNextItem(reverse) {
var $allItems = jQuery(this.selectors.categoryItem);
var nextItemIndex = 0;
if (this.$activeItem) {
nextItemIndex = $allItems.index(this.$activeItem) + (reverse ? -1 : 1);
if (nextItemIndex >= $allItems.length) {
nextItemIndex = 0;
} else if (nextItemIndex < 0) {
nextItemIndex = $allItems.length - 1;
}
}
var $nextItem = $allItems.eq(nextItemIndex);
this.activateItem($nextItem);
$nextItem[0].scrollIntoView({
block: 'nearest'
});
}
}, {
key: "goToActiveItem",
value: function goToActiveItem(event) {
var $a = this.$activeItem.children('a'),
isControlClicked = $e.shortcuts.isControlEvent(event);
if (isControlClicked) {
$a.attr('target', '_blank');
}
$a[0].click();
if (isControlClicked) {
$a.removeAttr('target');
}
}
}, {
key: "onCategoryItemMouseEnter",
value: function onCategoryItemMouseEnter(event) {
this.activateItem(jQuery(event.currentTarget));
}
}, {
key: "onChildviewToggleVisibility",
value: function onChildviewToggleVisibility() {
var allCategoriesAreEmpty = this.children.every(function (child) {
return !child.isVisible;
});
this.ui.noResults.toggle(allCategoriesAreEmpty);
}
}]);
return _default;
}(Marionette.CompositeView);
exports["default"] = _default;
/***/ }),
/***/ "../core/common/modules/finder/assets/js/modal/views/category.js":
/*!***********************************************************************!*\
!*** ../core/common/modules/finder/assets/js/modal/views/category.js ***!
\***********************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
var _item = _interopRequireDefault(__webpack_require__(/*! ./item */ "../core/common/modules/finder/assets/js/modal/views/item.js"));
var _item2 = _interopRequireDefault(__webpack_require__(/*! ../model/item */ "../core/common/modules/finder/assets/js/modal/model/item.js"));
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
var _default = /*#__PURE__*/function (_Marionette$Composite) {
(0, _inherits2.default)(_default, _Marionette$Composite);
var _super = _createSuper(_default);
function _default() {
(0, _classCallCheck2.default)(this, _default);
return _super.apply(this, arguments);
}
(0, _createClass2.default)(_default, [{
key: "className",
value: function className() {
return 'elementor-finder__results__category';
}
}, {
key: "getTemplate",
value: function getTemplate() {
return '#tmpl-elementor-finder__results__category';
}
}, {
key: "getChildView",
value: function getChildView() {
return _item.default;
}
}, {
key: "initialize",
value: function initialize() {
this.childViewContainer = '.elementor-finder__results__category__items';
this.isVisible = true;
var items = this.model.get('items');
if (items) {
items = Object.values(items);
}
this.collection = new Backbone.Collection(items, {
model: _item2.default
});
}
}, {
key: "filter",
value: function filter(childModel) {
var textFilter = this.getTextFilter();
if (childModel.get('title').toLowerCase().indexOf(textFilter) >= 0) {
return true;
}
return childModel.get('keywords').some(function (keyword) {
return keyword.indexOf(textFilter) >= 0;
});
}
}, {
key: "getTextFilter",
value: function getTextFilter() {
return elementorCommon.finder.channel.request('filter:text').trim().toLowerCase();
}
}, {
key: "toggleElement",
value: function toggleElement() {
var isCurrentlyVisible = !!this.children.length;
if (isCurrentlyVisible !== this.isVisible) {
this.isVisible = isCurrentlyVisible;
this.$el.toggle(isCurrentlyVisible);
this.triggerMethod('toggle:visibility');
}
}
}, {
key: "onRender",
value: function onRender() {
this.listenTo(elementorCommon.finder.channel, 'filter:change', this.onFilterChange.bind(this));
}
}, {
key: "onFilterChange",
value: function onFilterChange() {
this._renderChildren();
}
}, {
key: "onRenderCollection",
value: function onRenderCollection() {
this.toggleElement();
}
}]);
return _default;
}(Marionette.CompositeView);
exports["default"] = _default;
/***/ }),
/***/ "../core/common/modules/finder/assets/js/modal/views/content.js":
/*!**********************************************************************!*\
!*** ../core/common/modules/finder/assets/js/modal/views/content.js ***!
\**********************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
var _categories = _interopRequireDefault(__webpack_require__(/*! ./categories */ "../core/common/modules/finder/assets/js/modal/views/categories.js"));
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
var _default = /*#__PURE__*/function (_Marionette$LayoutVie) {
(0, _inherits2.default)(_default, _Marionette$LayoutVie);
var _super = _createSuper(_default);
function _default() {
(0, _classCallCheck2.default)(this, _default);
return _super.apply(this, arguments);
}
(0, _createClass2.default)(_default, [{
key: "id",
value: function id() {
return 'elementor-finder';
}
}, {
key: "getTemplate",
value: function getTemplate() {
return '#tmpl-elementor-finder';
}
}, {
key: "ui",
value: function ui() {
return {
searchInput: '#elementor-finder__search__input'
};
}
}, {
key: "events",
value: function events() {
return {
'input @ui.searchInput': 'onSearchInputInput'
};
}
}, {
key: "regions",
value: function regions() {
return {
content: '#elementor-finder__content'
};
}
}, {
key: "showCategoriesView",
value: function showCategoriesView() {
this.content.show(new _categories.default());
}
}, {
key: "onSearchInputInput",
value: function onSearchInputInput() {
var value = this.ui.searchInput.val();
if (value) {
elementorCommon.finder.channel.reply('filter:text', value).trigger('filter:change');
if (!(this.content.currentView instanceof _categories.default)) {
this.showCategoriesView();
}
}
this.content.currentView.$el.toggle(!!value);
}
}]);
return _default;
}(Marionette.LayoutView);
exports["default"] = _default;
/***/ }),
/***/ "../core/common/modules/finder/assets/js/modal/views/dynamic-category.js":
/*!*******************************************************************************!*\
!*** ../core/common/modules/finder/assets/js/modal/views/dynamic-category.js ***!
\*******************************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _get2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/get */ "../node_modules/@babel/runtime/helpers/get.js"));
var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
var _category = _interopRequireDefault(__webpack_require__(/*! ./category */ "../core/common/modules/finder/assets/js/modal/views/category.js"));
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
var _default = /*#__PURE__*/function (_Category) {
(0, _inherits2.default)(_default, _Category);
var _super = _createSuper(_default);
function _default() {
(0, _classCallCheck2.default)(this, _default);
return _super.apply(this, arguments);
}
(0, _createClass2.default)(_default, [{
key: "className",
value: function className() {
return (0, _get2.default)((0, _getPrototypeOf2.default)(_default.prototype), "className", this).call(this) + ' elementor-finder__results__category--dynamic';
}
}, {
key: "ui",
value: function ui() {
return {
title: '.elementor-finder__results__category__title'
};
}
}, {
key: "fetchData",
value: function fetchData() {
var _this = this;
this.ui.loadingIcon.show();
elementorCommon.ajax.addRequest('finder_get_category_items', {
data: {
category: this.model.get('name'),
filter: this.getTextFilter()
},
success: function success(data) {
if (_this.isDestroyed) {
return;
}
_this.collection.set(data);
_this.toggleElement();
_this.ui.loadingIcon.hide();
}
});
}
}, {
key: "filter",
value: function filter() {
return true;
}
}, {
key: "onFilterChange",
value: function onFilterChange() {
this.fetchData();
}
}, {
key: "onRender",
value: function onRender() {
(0, _get2.default)((0, _getPrototypeOf2.default)(_default.prototype), "onRender", this).call(this);
this.ui.loadingIcon = jQuery('', {
class: 'eicon-loading eicon-animation-spin'
});
this.ui.title.after(this.ui.loadingIcon);
this.fetchData();
}
}]);
return _default;
}(_category.default);
exports["default"] = _default;
/***/ }),
/***/ "../core/common/modules/finder/assets/js/modal/views/item.js":
/*!*******************************************************************!*\
!*** ../core/common/modules/finder/assets/js/modal/views/item.js ***!
\*******************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
/* provided dependency */ var __ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n")["__"];
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
var _default = /*#__PURE__*/function (_Marionette$ItemView) {
(0, _inherits2.default)(_default, _Marionette$ItemView);
var _super = _createSuper(_default);
function _default() {
(0, _classCallCheck2.default)(this, _default);
return _super.apply(this, arguments);
}
(0, _createClass2.default)(_default, [{
key: "className",
value: function className() {
return 'elementor-finder__results__item';
}
}, {
key: "getTemplate",
value: function getTemplate() {
return '#tmpl-elementor-finder__results__item';
}
}, {
key: "events",
value: function events() {
this.$el[0].addEventListener('click', this.onClick.bind(this), true);
}
}, {
key: "onClick",
value: function onClick(e) {
var _this = this;
var lockOptions = this.model.get('lock');
if (!(lockOptions !== null && lockOptions !== void 0 && lockOptions.is_locked)) {
return;
}
e.preventDefault();
e.stopImmediatePropagation();
elementorCommon.dialogsManager.createWidget('confirm', {
id: 'elementor-finder__lock-dialog',
headerMessage: lockOptions.content.heading,
message: lockOptions.content.description,
position: {
my: 'center center',
at: 'center center'
},
strings: {
confirm: lockOptions.button.text,
cancel: __('Cancel', 'elementor')
},
onConfirm: function onConfirm() {
var link = _this.replaceLockLinkPlaceholders(lockOptions.button.url);
window.open(link, '_blank');
}
}).show();
}
}, {
key: "replaceLockLinkPlaceholders",
value: function replaceLockLinkPlaceholders(link) {
return link.replace(/%%utm_source%%/g, 'finder').replace(/%%utm_medium%%/g, 'wp-dash');
}
}]);
return _default;
}(Marionette.ItemView);
exports["default"] = _default;
/***/ }),
/***/ "../core/common/modules/finder/assets/js/modal/views/layout.js":
/*!*********************************************************************!*\
!*** ../core/common/modules/finder/assets/js/modal/views/layout.js ***!
\*********************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
/* provided dependency */ var __ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n")["__"];
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _get4 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/get */ "../node_modules/@babel/runtime/helpers/get.js"));
var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
var _content = _interopRequireDefault(__webpack_require__(/*! ./content */ "../core/common/modules/finder/assets/js/modal/views/content.js"));
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
var _default = /*#__PURE__*/function (_elementorModules$com) {
(0, _inherits2.default)(_default, _elementorModules$com);
var _super = _createSuper(_default);
function _default() {
(0, _classCallCheck2.default)(this, _default);
return _super.apply(this, arguments);
}
(0, _createClass2.default)(_default, [{
key: "getModalOptions",
value: function getModalOptions() {
return {
id: 'elementor-finder__modal',
draggable: true,
effects: {
show: 'show',
hide: 'hide'
},
position: {
enable: false
}
};
}
}, {
key: "getLogoOptions",
value: function getLogoOptions() {
return {
title: __('Finder', 'elementor')
};
}
}, {
key: "initialize",
value: function initialize() {
var _get2;
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
args[_key] = arguments[_key];
}
(_get2 = (0, _get4.default)((0, _getPrototypeOf2.default)(_default.prototype), "initialize", this)).call.apply(_get2, [this].concat(args));
this.showLogo();
this.showContentView();
}
}, {
key: "showContentView",
value: function showContentView() {
this.modalContent.show(new _content.default());
}
}, {
key: "showModal",
value: function showModal() {
var _get3;
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
args[_key2] = arguments[_key2];
}
(_get3 = (0, _get4.default)((0, _getPrototypeOf2.default)(_default.prototype), "showModal", this)).call.apply(_get3, [this].concat(args));
this.modalContent.currentView.ui.searchInput.focus();
}
}]);
return _default;
}(elementorModules.common.views.modal.Layout);
exports["default"] = _default;
/***/ }),
/***/ "../modules/web-cli/assets/js/core/data/errors/base-error.js":
/*!*******************************************************************!*\
!*** ../modules/web-cli/assets/js/core/data/errors/base-error.js ***!
\*******************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _assertThisInitialized2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js"));
var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
var _wrapNativeSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/wrapNativeSuper */ "../node_modules/@babel/runtime/helpers/wrapNativeSuper.js"));
var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js"));
var _console = _interopRequireDefault(__webpack_require__(/*! elementor-api/utils/console */ "../modules/web-cli/assets/js/utils/console.js"));
var _forceMethodImplementation = _interopRequireDefault(__webpack_require__(/*! ../../../utils/force-method-implementation */ "../modules/web-cli/assets/js/utils/force-method-implementation.js"));
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
var BaseError = /*#__PURE__*/function (_Error) {
(0, _inherits2.default)(BaseError, _Error);
var _super = _createSuper(BaseError);
/**
* Error constructor.
*
* @param {string} message
* @param {string} code
* @param {*} data
*/
function BaseError() {
var _this;
var message = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
var code = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
var data = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
(0, _classCallCheck2.default)(this, BaseError);
_this = _super.call(this, message);
/**
* The server error code.
*
* @type {string}
*/
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "code", '');
/**
* Additional data about the current error.
*
* @type {*[]}
*/
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "data", []);
_this.code = code;
_this.data = data;
return _this;
}
/**
* Notify a message when the error occurs.
*/
(0, _createClass2.default)(BaseError, [{
key: "notify",
value: function notify() {
_console.default.error(_objectSpread({
message: this.message
}, this));
}
}], [{
key: "create",
value:
/**
* Static helper function to create the error.
*
* @param {string} message
* @param {string} code
* @param {*} data
* @return {BaseError} error
*/
function create(message) {
var code = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
var data = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
return new this(message, code, data);
}
/**
* Returns the status code of the error.
*/
}, {
key: "getHTTPErrorCode",
value: function getHTTPErrorCode() {
(0, _forceMethodImplementation.default)();
}
}]);
return BaseError;
}( /*#__PURE__*/(0, _wrapNativeSuper2.default)(Error));
exports["default"] = BaseError;
/***/ }),
/***/ "../modules/web-cli/assets/js/core/data/errors/default-error.js":
/*!**********************************************************************!*\
!*** ../modules/web-cli/assets/js/core/data/errors/default-error.js ***!
\**********************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = exports.DefaultError = void 0;
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
var _baseError = _interopRequireDefault(__webpack_require__(/*! ./base-error */ "../modules/web-cli/assets/js/core/data/errors/base-error.js"));
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
var DefaultError = /*#__PURE__*/function (_BaseError) {
(0, _inherits2.default)(DefaultError, _BaseError);
var _super = _createSuper(DefaultError);
function DefaultError() {
(0, _classCallCheck2.default)(this, DefaultError);
return _super.apply(this, arguments);
}
(0, _createClass2.default)(DefaultError, null, [{
key: "getHTTPErrorCode",
value: function getHTTPErrorCode() {
return 501;
}
}]);
return DefaultError;
}(_baseError.default);
exports.DefaultError = DefaultError;
var _default = DefaultError;
exports["default"] = _default;
/***/ }),
/***/ "../modules/web-cli/assets/js/core/data/errors/error-404.js":
/*!******************************************************************!*\
!*** ../modules/web-cli/assets/js/core/data/errors/error-404.js ***!
\******************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = exports.Error404 = void 0;
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
var _baseError = _interopRequireDefault(__webpack_require__(/*! ./base-error */ "../modules/web-cli/assets/js/core/data/errors/base-error.js"));
var _console = _interopRequireDefault(__webpack_require__(/*! elementor-api/utils/console */ "../modules/web-cli/assets/js/utils/console.js"));
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
var Error404 = /*#__PURE__*/function (_BaseError) {
(0, _inherits2.default)(Error404, _BaseError);
var _super = _createSuper(Error404);
function Error404() {
(0, _classCallCheck2.default)(this, Error404);
return _super.apply(this, arguments);
}
(0, _createClass2.default)(Error404, [{
key: "notify",
value: function notify() {
_console.default.warn(this.message);
}
}], [{
key: "getHTTPErrorCode",
value: function getHTTPErrorCode() {
return 404;
}
}]);
return Error404;
}(_baseError.default);
exports.Error404 = Error404;
var _default = Error404;
exports["default"] = _default;
/***/ }),
/***/ "../modules/web-cli/assets/js/core/data/errors/index.js":
/*!**************************************************************!*\
!*** ../modules/web-cli/assets/js/core/data/errors/index.js ***!
\**************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
Object.defineProperty(exports, "__esModule", ({
value: true
}));
Object.defineProperty(exports, "DefaultError", ({
enumerable: true,
get: function get() {
return _defaultError.DefaultError;
}
}));
Object.defineProperty(exports, "Error404", ({
enumerable: true,
get: function get() {
return _error.Error404;
}
}));
var _defaultError = __webpack_require__(/*! ./default-error */ "../modules/web-cli/assets/js/core/data/errors/default-error.js");
var _error = __webpack_require__(/*! ./error-404 */ "../modules/web-cli/assets/js/core/data/errors/error-404.js");
/***/ }),
/***/ "../modules/web-cli/assets/js/modules/command-base.js":
/*!************************************************************!*\
!*** ../modules/web-cli/assets/js/modules/command-base.js ***!
\************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
var _commandInfra = _interopRequireDefault(__webpack_require__(/*! ./command-infra */ "../modules/web-cli/assets/js/modules/command-infra.js"));
var _deprecation = _interopRequireDefault(__webpack_require__(/*! elementor-api/utils/deprecation */ "../modules/web-cli/assets/js/utils/deprecation.js"));
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
/**
* @name $e.modules.CommandBase
*/
var CommandBase = /*#__PURE__*/function (_CommandInfra) {
(0, _inherits2.default)(CommandBase, _CommandInfra);
var _super = _createSuper(CommandBase);
function CommandBase() {
(0, _classCallCheck2.default)(this, CommandBase);
return _super.apply(this, arguments);
}
(0, _createClass2.default)(CommandBase, [{
key: "onBeforeRun",
value: function onBeforeRun() {
var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
$e.hooks.runUIBefore(this.command, args);
}
}, {
key: "onAfterRun",
value: function onAfterRun() {
var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
var result = arguments.length > 1 ? arguments[1] : undefined;
$e.hooks.runUIAfter(this.command, args, result);
}
}, {
key: "onBeforeApply",
value: function onBeforeApply() {
var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
$e.hooks.runDataDependency(this.command, args);
}
}, {
key: "onAfterApply",
value: function onAfterApply() {
var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
var result = arguments.length > 1 ? arguments[1] : undefined;
$e.hooks.runDataAfter(this.command, args, result);
}
}, {
key: "onCatchApply",
value: function onCatchApply(e) {
this.runCatchHooks(e);
}
/**
* Run all the catch hooks.
*
* @param {Error} e
*/
}, {
key: "runCatchHooks",
value: function runCatchHooks(e) {
$e.hooks.runDataCatch(this.command, this.args, e);
$e.hooks.runUICatch(this.command, this.args, e);
}
/**
* TODO - Remove - Backwards compatibility.
*
* Function requireContainer().
*
* Validate `arg.container` & `arg.containers`.
*
* @param {{}} args
* @deprecated since 3.7.0, extend `$e.modules.editor.CommandContainerBase` or `$e.modules.editor.CommandContainerInternalBase` instead.
*
* @throws {Error}
*/
}, {
key: "requireContainer",
value: function requireContainer() {
var _this = this;
var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.args;
_deprecation.default.deprecated('requireContainer()', '3.7.0', 'Extend `$e.modules.editor.CommandContainerBase` or `$e.modules.editor.CommandContainerInternalBase`');
if (!args.container && !args.containers) {
throw Error('container or containers are required.');
}
if (args.container && args.containers) {
throw Error('container and containers cannot go together please select one of them.');
}
var containers = args.containers || [args.container];
containers.forEach(function (container) {
_this.requireArgumentInstance('container', elementorModules.editor.Container, {
container: container
});
});
}
}], [{
key: "getInstanceType",
value: function getInstanceType() {
return 'CommandBase';
}
}]);
return CommandBase;
}(_commandInfra.default);
exports["default"] = CommandBase;
/***/ }),
/***/ "../modules/web-cli/assets/js/modules/command-callback-base.js":
/*!*********************************************************************!*\
!*** ../modules/web-cli/assets/js/modules/command-callback-base.js ***!
\*********************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
var _commandBase = _interopRequireDefault(__webpack_require__(/*! ./command-base */ "../modules/web-cli/assets/js/modules/command-base.js"));
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
/**
* To support pure callbacks in the API(commands.js), to ensure they have registered with the proper context.
*/
var CommandCallbackBase = /*#__PURE__*/function (_CommandBase) {
(0, _inherits2.default)(CommandCallbackBase, _CommandBase);
var _super = _createSuper(CommandCallbackBase);
function CommandCallbackBase() {
(0, _classCallCheck2.default)(this, CommandCallbackBase);
return _super.apply(this, arguments);
}
(0, _createClass2.default)(CommandCallbackBase, [{
key: "apply",
value: function apply() {
var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
return this.constructor.getCallback()(args);
}
}], [{
key: "getInstanceType",
value: function getInstanceType() {
return 'CommandCallbackBase';
}
/**
* Get original callback of the command.
*
* Support pure callbacks ( Non command-base ).
*
* @return {()=>{}} Command Results.
*/
}, {
key: "getCallback",
value: function getCallback() {
return this.registerConfig.callback;
}
}]);
return CommandCallbackBase;
}(_commandBase.default);
exports["default"] = CommandCallbackBase;
/***/ }),
/***/ "../modules/web-cli/assets/js/modules/command-data.js":
/*!************************************************************!*\
!*** ../modules/web-cli/assets/js/modules/command-data.js ***!
\************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _assertThisInitialized2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js"));
var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js"));
var _commandBase = _interopRequireDefault(__webpack_require__(/*! ./command-base */ "../modules/web-cli/assets/js/modules/command-base.js"));
var errors = _interopRequireWildcard(__webpack_require__(/*! ../core/data/errors/ */ "../modules/web-cli/assets/js/core/data/errors/index.js"));
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
/**
* @name $e.modules.CommandData
*/
/**
* @typedef {('create'|'delete'|'get'|'update'|'options')} DataTypes
*/
/**
* @typedef {{}} RequestData
*/
/**
* @typedef {import('../core/data/errors/base-error')} BaseError
*/
var CommandData = /*#__PURE__*/function (_CommandBase) {
(0, _inherits2.default)(CommandData, _CommandBase);
var _super = _createSuper(CommandData);
function CommandData(args) {
var _this$args$options;
var _this;
var commandsAPI = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : $e.data;
(0, _classCallCheck2.default)(this, CommandData);
_this = _super.call(this, args, commandsAPI);
/**
* Data returned from remote.
*
* @type {*}
*/
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "data", void 0);
/**
* Fetch type.
*
* @type {DataTypes}
*/
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "type", void 0);
if ((_this$args$options = _this.args.options) !== null && _this$args$options !== void 0 && _this$args$options.type) {
_this.type = _this.args.options.type;
}
return _this;
}
/**
* Function getEndpointFormat().
*
* @return {null|string} endpoint format
*/
(0, _createClass2.default)(CommandData, [{
key: "getApplyMethods",
value:
/**
* @param {DataTypes} type
*
* @return {boolean|{before: (function(*=): {}), after: (function({}, *=): {})}} apply methods
*/
function getApplyMethods() {
var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.type;
var before, after;
switch (type) {
case 'create':
before = this.applyBeforeCreate;
after = this.applyAfterCreate;
break;
case 'delete':
before = this.applyBeforeDelete;
after = this.applyAfterDelete;
break;
case 'get':
before = this.applyBeforeGet;
after = this.applyAfterGet;
break;
case 'update':
before = this.applyBeforeUpdate;
after = this.applyAfterUpdate;
break;
case 'options':
before = this.applyBeforeOptions;
after = this.applyAfterOptions;
break;
default:
return false;
}
return {
before: before.bind(this),
after: after.bind(this)
};
}
/**
* Function getRequestData().
*
* @return {RequestData} request data
*/
}, {
key: "getRequestData",
value: function getRequestData() {
return {
type: this.type,
args: this.args,
timestamp: new Date().getTime(),
component: this.component,
command: this.command,
endpoint: $e.data.commandToEndpoint(this.command, JSON.parse(JSON.stringify(this.args)), this.constructor.getEndpointFormat())
};
}
}, {
key: "apply",
value: function apply() {
var _this2 = this;
var applyMethods = this.getApplyMethods();
// Run 'before' method.
this.args = applyMethods.before(this.args);
var requestData = this.getRequestData();
return $e.data.fetch(requestData).then(function (data) {
_this2.data = data;
// Run 'after' method.
_this2.data = applyMethods.after(data, _this2.args);
_this2.data = {
data: _this2.data
};
// Append requestData.
_this2.data = Object.assign({
__requestData__: requestData
}, _this2.data);
return _this2.data;
});
}
/**
* @param {*} [args={}]
* @return {{}} filtered args
*/
}, {
key: "applyBeforeCreate",
value: function applyBeforeCreate() {
var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
return args;
}
/**
* @param {{}} data
* @param {*} [args={}]
* @return {{}} filtered result
*/
}, {
key: "applyAfterCreate",
value: function applyAfterCreate(data) {
var args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
// eslint-disable-line no-unused-vars
return data;
}
/**
* @param {*} [args={}]
* @return {{}} filtered args
*/
}, {
key: "applyBeforeDelete",
value: function applyBeforeDelete() {
var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
return args;
}
/**
* @param {{}} data
* @param {*} [args={}]
* @return {{}} filtered result
*/
}, {
key: "applyAfterDelete",
value: function applyAfterDelete(data) {
var args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
// eslint-disable-line no-unused-vars
return data;
}
/**
* @param {*} [args={}]
* @return {{}} filtered args
*/
}, {
key: "applyBeforeGet",
value: function applyBeforeGet() {
var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
return args;
}
/**
* @param {{}} data
* @param {*} [args={}]
* @return {{}} filtered result
*/
}, {
key: "applyAfterGet",
value: function applyAfterGet(data) {
var args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
// eslint-disable-line no-unused-vars
return data;
}
/**
* @param {*} [args={}]
* @return {{}} filtered args
*/
}, {
key: "applyBeforeUpdate",
value: function applyBeforeUpdate() {
var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
return args;
}
/**
* @param {{}} data
* @param {*} [args={}]
* @return {{}} filtered result
*/
}, {
key: "applyAfterUpdate",
value: function applyAfterUpdate(data) {
var args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
// eslint-disable-line no-unused-vars
return data;
}
/**
* @param {*} [args={}]
* @return {{}} filtered args
*/
}, {
key: "applyBeforeOptions",
value: function applyBeforeOptions() {
var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
return args;
}
/**
* @param {{}} data
* @param {*} [args={}]
* @return {{}} filtered result
*/
}, {
key: "applyAfterOptions",
value: function applyAfterOptions(data) {
var args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
// eslint-disable-line no-unused-vars
return data;
}
/**
* @param {BaseError} e
*/
}, {
key: "applyAfterCatch",
value: function applyAfterCatch(e) {
e.notify();
}
}, {
key: "onCatchApply",
value: function onCatchApply(e) {
var _e, _e$data;
// TODO: If the errors that returns from the server is consistent remove the '?' from 'e'
var httpErrorCode = ((_e = e) === null || _e === void 0 ? void 0 : (_e$data = _e.data) === null || _e$data === void 0 ? void 0 : _e$data.status) || 501;
var dataError = Object.values(errors).find(function (error) {
return error.getHTTPErrorCode() === httpErrorCode;
});
if (!dataError) {
dataError = errors.DefaultError;
}
e = dataError.create(e.message, e.code, e.data || []);
this.runCatchHooks(e);
this.applyAfterCatch(e);
}
}], [{
key: "getInstanceType",
value: function getInstanceType() {
return 'CommandData';
}
}, {
key: "getEndpointFormat",
value: function getEndpointFormat() {
return null;
}
}]);
return CommandData;
}(_commandBase.default);
exports["default"] = CommandData;
/***/ }),
/***/ "../modules/web-cli/assets/js/modules/command-infra.js":
/*!*************************************************************!*\
!*** ../modules/web-cli/assets/js/modules/command-infra.js ***!
\*************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js"));
var _argsObject = _interopRequireDefault(__webpack_require__(/*! elementor-assets-js/modules/imports/args-object */ "../assets/dev/js/modules/imports/args-object.js"));
var _deprecation = _interopRequireDefault(__webpack_require__(/*! elementor-api/utils/deprecation */ "../modules/web-cli/assets/js/utils/deprecation.js"));
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
/**
* @typedef {import('../modules/component-base')} ComponentBase
*/
var CommandInfra = /*#__PURE__*/function (_ArgsObject) {
(0, _inherits2.default)(CommandInfra, _ArgsObject);
var _super = _createSuper(CommandInfra);
/**
* Function constructor().
*
* Create Commands Base.
*
* @param {{}} args
*/
function CommandInfra() {
var _this;
var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
(0, _classCallCheck2.default)(this, CommandInfra);
_this = _super.call(this, args);
if (!_this.constructor.registerConfig) {
throw RangeError('Doing it wrong: Each command type should have `registerConfig`.');
}
// Acknowledge self about which command it run.
_this.command = _this.constructor.getCommand();
// Assign instance of current component.
_this.component = _this.constructor.getComponent();
// Who ever need do something before without `super` the constructor can use `initialize` method.
_this.initialize(args);
// Refresh args, maybe the changed via `initialize`.
args = _this.args;
// Validate args before run.
_this.validateArgs(args);
return _this;
}
/**
* Function initialize().
*
* Initialize command, called after construction.
*
* @param {{}} args
*/
(0, _createClass2.default)(CommandInfra, [{
key: "currentCommand",
get:
/**
* @deprecated since 3.7.0, use `this.command` instead.
*/
function get() {
_deprecation.default.deprecated('this.currentCommand', '3.7.0', 'this.command');
return this.command;
}
}, {
key: "initialize",
value: function initialize() {
var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
} // eslint-disable-line no-unused-vars
/**
* Function validateArgs().
*
* Validate command arguments.
*
* @param {{}} args
*/
}, {
key: "validateArgs",
value: function validateArgs() {
var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
} // eslint-disable-line no-unused-vars
// eslint-disable-next-line jsdoc/require-returns-check
/**
* Function apply().
*
* Do the actual command.
*
* @param {{}} args
*
* @return {*} Command results.
*/
}, {
key: "apply",
value: function apply() {
var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
// eslint-disable-line no-unused-vars
elementorModules.ForceMethodImplementation();
}
/**
* Function run().
*
* Run command with history & hooks.
*
* @return {*} Command results.
*/
}, {
key: "run",
value: function run() {
return this.apply(this.args);
}
/**
* Function onBeforeRun.
*
* Called before run().
*
* @param {{}} args
*/
}, {
key: "onBeforeRun",
value: function onBeforeRun() {
var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
} // eslint-disable-line no-unused-vars
/**
* Function onAfterRun.
*
* Called after run().
*
* @param {{}} args
* @param {*} result
*/
}, {
key: "onAfterRun",
value: function onAfterRun() {
var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
var result = arguments.length > 1 ? arguments[1] : undefined;
} // eslint-disable-line no-unused-vars
/**
* Function onBeforeApply.
*
* Called before apply().
*
* @param {{}} args
*/
}, {
key: "onBeforeApply",
value: function onBeforeApply() {
var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
} // eslint-disable-line no-unused-vars
/**
* Function onAfterApply.
*
* Called after apply().
*
* @param {{}} args
* @param {*} result
*/
}, {
key: "onAfterApply",
value: function onAfterApply() {
var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
var result = arguments.length > 1 ? arguments[1] : undefined;
} // eslint-disable-line no-unused-vars
/**
* Function onCatchApply.
*
* Called after apply() failed.
*
* @param {Error} e
*/
}, {
key: "onCatchApply",
value: function onCatchApply(e) {} // eslint-disable-line no-unused-vars
}], [{
key: "getInstanceType",
value: function getInstanceType() {
return 'CommandInfra';
}
/**
* Get info of command.
*
* @return {Object} Extra information about the command.
*/
}, {
key: "getInfo",
value: function getInfo() {
return {};
}
/**
* @return {string} Self command name.
*/
}, {
key: "getCommand",
value: function getCommand() {
return this.registerConfig.command;
}
/**
* @return {ComponentBase} Self component
*/
}, {
key: "getComponent",
value: function getComponent() {
return this.registerConfig.component;
}
}, {
key: "setRegisterConfig",
value: function setRegisterConfig(config) {
this.registerConfig = Object.freeze(config);
}
}]);
return CommandInfra;
}(_argsObject.default);
exports["default"] = CommandInfra;
/**
* @type {Object}
*/
(0, _defineProperty2.default)(CommandInfra, "registerConfig", null);
/***/ }),
/***/ "../modules/web-cli/assets/js/modules/commands/close.js":
/*!**************************************************************!*\
!*** ../modules/web-cli/assets/js/modules/commands/close.js ***!
\**************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = exports.Close = void 0;
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
var _commandBase = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/command-base */ "../modules/web-cli/assets/js/modules/command-base.js"));
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
var Close = /*#__PURE__*/function (_CommandBase) {
(0, _inherits2.default)(Close, _CommandBase);
var _super = _createSuper(Close);
function Close() {
(0, _classCallCheck2.default)(this, Close);
return _super.apply(this, arguments);
}
(0, _createClass2.default)(Close, [{
key: "apply",
value: function apply() {
this.component.close();
}
}]);
return Close;
}(_commandBase.default);
exports.Close = Close;
var _default = Close;
exports["default"] = _default;
/***/ }),
/***/ "../modules/web-cli/assets/js/modules/commands/index.js":
/*!**************************************************************!*\
!*** ../modules/web-cli/assets/js/modules/commands/index.js ***!
\**************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
Object.defineProperty(exports, "__esModule", ({
value: true
}));
Object.defineProperty(exports, "Close", ({
enumerable: true,
get: function get() {
return _close.Close;
}
}));
Object.defineProperty(exports, "Open", ({
enumerable: true,
get: function get() {
return _open.Open;
}
}));
Object.defineProperty(exports, "Toggle", ({
enumerable: true,
get: function get() {
return _toggle.Toggle;
}
}));
var _close = __webpack_require__(/*! ./close */ "../modules/web-cli/assets/js/modules/commands/close.js");
var _open = __webpack_require__(/*! ./open */ "../modules/web-cli/assets/js/modules/commands/open.js");
var _toggle = __webpack_require__(/*! ./toggle */ "../modules/web-cli/assets/js/modules/commands/toggle.js");
/***/ }),
/***/ "../modules/web-cli/assets/js/modules/commands/open.js":
/*!*************************************************************!*\
!*** ../modules/web-cli/assets/js/modules/commands/open.js ***!
\*************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = exports.Open = void 0;
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
var _commandBase = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/command-base */ "../modules/web-cli/assets/js/modules/command-base.js"));
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
var Open = /*#__PURE__*/function (_CommandBase) {
(0, _inherits2.default)(Open, _CommandBase);
var _super = _createSuper(Open);
function Open() {
(0, _classCallCheck2.default)(this, Open);
return _super.apply(this, arguments);
}
(0, _createClass2.default)(Open, [{
key: "apply",
value: function apply() {
$e.route(this.component.getNamespace());
}
}]);
return Open;
}(_commandBase.default);
exports.Open = Open;
var _default = Open;
exports["default"] = _default;
/***/ }),
/***/ "../modules/web-cli/assets/js/modules/commands/toggle.js":
/*!***************************************************************!*\
!*** ../modules/web-cli/assets/js/modules/commands/toggle.js ***!
\***************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = exports.Toggle = void 0;
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
var _commandBase = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/command-base */ "../modules/web-cli/assets/js/modules/command-base.js"));
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
var Toggle = /*#__PURE__*/function (_CommandBase) {
(0, _inherits2.default)(Toggle, _CommandBase);
var _super = _createSuper(Toggle);
function Toggle() {
(0, _classCallCheck2.default)(this, Toggle);
return _super.apply(this, arguments);
}
(0, _createClass2.default)(Toggle, [{
key: "apply",
value: function apply() {
if (this.component.isOpen) {
this.component.close();
} else {
$e.route(this.component.getNamespace());
}
}
}]);
return Toggle;
}(_commandBase.default);
exports.Toggle = Toggle;
var _default = Toggle;
exports["default"] = _default;
/***/ }),
/***/ "../modules/web-cli/assets/js/modules/component-base.js":
/*!**************************************************************!*\
!*** ../modules/web-cli/assets/js/modules/component-base.js ***!
\**************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js"));
var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ "../node_modules/@babel/runtime/helpers/slicedToArray.js"));
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
var _commandCallbackBase = _interopRequireDefault(__webpack_require__(/*! elementor-api/modules/command-callback-base */ "../modules/web-cli/assets/js/modules/command-callback-base.js"));
var _toolkit = __webpack_require__(/*! @reduxjs/toolkit */ "../node_modules/@reduxjs/toolkit/dist/redux-toolkit.esm.js");
var _module = _interopRequireDefault(__webpack_require__(/*! elementor/assets/dev/js/modules/imports/module.js */ "../assets/dev/js/modules/imports/module.js"));
var _forceMethodImplementation = _interopRequireDefault(__webpack_require__(/*! ../utils/force-method-implementation */ "../modules/web-cli/assets/js/utils/force-method-implementation.js"));
var _deprecation = _interopRequireDefault(__webpack_require__(/*! elementor-api/utils/deprecation */ "../modules/web-cli/assets/js/utils/deprecation.js"));
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
/**
* @typedef {import('./command-infra')} CommandInfra
* @typedef {import('./hook-base')} HookBase
* @typedef {import('../core/states/ui-state-base')} UiStateBase
*/
var ComponentBase = /*#__PURE__*/function (_Module) {
(0, _inherits2.default)(ComponentBase, _Module);
var _super = _createSuper(ComponentBase);
function ComponentBase() {
(0, _classCallCheck2.default)(this, ComponentBase);
return _super.apply(this, arguments);
}
(0, _createClass2.default)(ComponentBase, [{
key: "__construct",
value: function __construct() {
var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
if (args.manager) {
this.manager = args.manager;
}
this.commands = this.defaultCommands();
this.commandsInternal = this.defaultCommandsInternal();
this.hooks = this.defaultHooks();
this.routes = this.defaultRoutes();
this.tabs = this.defaultTabs();
this.shortcuts = this.defaultShortcuts();
this.utils = this.defaultUtils();
this.data = this.defaultData();
this.uiStates = this.defaultUiStates();
this.states = this.defaultStates();
this.defaultRoute = '';
this.currentTab = '';
}
}, {
key: "registerAPI",
value: function registerAPI() {
var _this = this;
Object.entries(this.getTabs()).forEach(function (tab) {
return _this.registerTabRoute(tab[0]);
});
Object.entries(this.getRoutes()).forEach(function (_ref) {
var _ref2 = (0, _slicedToArray2.default)(_ref, 2),
route = _ref2[0],
callback = _ref2[1];
return _this.registerRoute(route, callback);
});
Object.entries(this.getCommands()).forEach(function (_ref3) {
var _ref4 = (0, _slicedToArray2.default)(_ref3, 2),
command = _ref4[0],
callback = _ref4[1];
return _this.registerCommand(command, callback);
});
Object.entries(this.getCommandsInternal()).forEach(function (_ref5) {
var _ref6 = (0, _slicedToArray2.default)(_ref5, 2),
command = _ref6[0],
callback = _ref6[1];
return _this.registerCommandInternal(command, callback);
});
Object.values(this.getHooks()).forEach(function (instance) {
return _this.registerHook(instance);
});
Object.entries(this.getData()).forEach(function (_ref7) {
var _ref8 = (0, _slicedToArray2.default)(_ref7, 2),
command = _ref8[0],
callback = _ref8[1];
return _this.registerData(command, callback);
});
Object.values(this.getUiStates()).forEach(function (instance) {
return _this.registerUiState(instance);
});
Object.entries(this.getStates()).forEach(function (_ref9) {
var _ref10 = (0, _slicedToArray2.default)(_ref9, 2),
id = _ref10[0],
state = _ref10[1];
return _this.registerState(id, state);
});
}
// eslint-disable-next-line jsdoc/require-returns-check
/**
* @return {string} namespace
*/
}, {
key: "getNamespace",
value: function getNamespace() {
(0, _forceMethodImplementation.default)();
}
/**
* @deprecated since 3.7.0, use `getServiceName()` instead.
*/
}, {
key: "getRootContainer",
value: function getRootContainer() {
_deprecation.default.deprecated('getRootContainer()', '3.7.0', 'getServiceName()');
return this.getServiceName();
}
}, {
key: "getServiceName",
value: function getServiceName() {
return this.getNamespace().split('/')[0];
}
}, {
key: "store",
get: function get() {
return $e.store.get(this.getNamespace());
}
}, {
key: "defaultTabs",
value: function defaultTabs() {
return {};
}
}, {
key: "defaultRoutes",
value: function defaultRoutes() {
return {};
}
}, {
key: "defaultCommands",
value: function defaultCommands() {
return {};
}
}, {
key: "defaultCommandsInternal",
value: function defaultCommandsInternal() {
return {};
}
}, {
key: "defaultHooks",
value: function defaultHooks() {
return {};
}
/**
* Get the component's default UI states.
*
* @return {Object} default UI states
*/
}, {
key: "defaultUiStates",
value: function defaultUiStates() {
return {};
}
/**
* Get the component's Redux slice settings.
*
* @return {Object} Redux slice settings
*/
}, {
key: "defaultStates",
value: function defaultStates() {
return {};
}
}, {
key: "defaultShortcuts",
value: function defaultShortcuts() {
return {};
}
}, {
key: "defaultUtils",
value: function defaultUtils() {
return {};
}
}, {
key: "defaultData",
value: function defaultData() {
return {};
}
}, {
key: "getCommands",
value: function getCommands() {
return this.commands;
}
}, {
key: "getCommandsInternal",
value: function getCommandsInternal() {
return this.commandsInternal;
}
}, {
key: "getHooks",
value: function getHooks() {
return this.hooks;
}
/**
* Retrieve the component's UI states.
*
* @return {Object} UI states
*/
}, {
key: "getUiStates",
value: function getUiStates() {
return this.uiStates;
}
/**
* Retrieve the component's Redux Slice.
*
* @return {Object} Redux Slice
*/
}, {
key: "getStates",
value: function getStates() {
return this.states;
}
}, {
key: "getRoutes",
value: function getRoutes() {
return this.routes;
}
}, {
key: "getTabs",
value: function getTabs() {
return this.tabs;
}
}, {
key: "getShortcuts",
value: function getShortcuts() {
return this.shortcuts;
}
}, {
key: "getData",
value: function getData() {
return this.data;
}
/**
* @param {string} command
* @param {(()=>{}|CommandInfra)} context
* @param {'default'|'internal'|'data'} commandsType
*/
}, {
key: "registerCommand",
value: function registerCommand(command, context) {
var commandsType = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'default';
var commandsManager;
switch (commandsType) {
case 'default':
commandsManager = $e.commands;
break;
case 'internal':
commandsManager = $e.commandsInternal;
break;
case 'data':
commandsManager = $e.data;
break;
default:
throw new Error("Invalid commands type: '".concat(command, "'"));
}
var fullCommand = this.getNamespace() + '/' + command,
instanceType = context.getInstanceType ? context.getInstanceType() : false,
registerConfig = {
command: fullCommand,
component: this
};
// Support pure callback.
if (!instanceType) {
if ($e.devTools) {
$e.devTools.log.warn("Attach command-callback-base, on command: '".concat(fullCommand, "', context is unknown type."));
}
registerConfig.callback = context;
// Unique class.
context = /*#__PURE__*/function (_CommandCallbackBase) {
(0, _inherits2.default)(context, _CommandCallbackBase);
var _super2 = _createSuper(context);
function context() {
(0, _classCallCheck2.default)(this, context);
return _super2.apply(this, arguments);
}
return (0, _createClass2.default)(context);
}(_commandCallbackBase.default);
}
context.setRegisterConfig(registerConfig);
commandsManager.register(this, command, context);
}
/**
* @param {HookBase} instance
*/
}, {
key: "registerHook",
value: function registerHook(instance) {
return instance.register();
}
}, {
key: "registerCommandInternal",
value: function registerCommandInternal(command, context) {
this.registerCommand(command, context, 'internal');
}
/**
* Register a UI state.
*
* @param {UiStateBase} instance - UI state instance.
*
* @return {void}
*/
}, {
key: "registerUiState",
value: function registerUiState(instance) {
$e.uiStates.register(instance);
}
/**
* Register a Redux Slice.
*
* @param {string} id - State id.
* @param {Object} stateConfig - The state config.
*
* @return {void}
*/
}, {
key: "registerState",
value: function registerState(id, stateConfig) {
id = this.getNamespace() + (id ? "/".concat(id) : '');
var slice = (0, _toolkit.createSlice)(_objectSpread(_objectSpread({}, stateConfig), {}, {
name: id
}));
$e.store.register(id, slice);
}
}, {
key: "registerRoute",
value: function registerRoute(route, callback) {
$e.routes.register(this, route, callback);
}
}, {
key: "registerData",
value: function registerData(command, context) {
this.registerCommand(command, context, 'data');
}
}, {
key: "unregisterRoute",
value: function unregisterRoute(route) {
$e.routes.unregister(this, route);
}
}, {
key: "registerTabRoute",
value: function registerTabRoute(tab) {
var _this2 = this;
this.registerRoute(tab, function (args) {
return _this2.activateTab(tab, args);
});
}
}, {
key: "dependency",
value: function dependency() {
return true;
}
}, {
key: "open",
value: function open() {
return true;
}
}, {
key: "close",
value: function close() {
if (!this.isOpen) {
return false;
}
this.isOpen = false;
this.inactivate();
$e.routes.clearCurrent(this.getNamespace());
$e.routes.clearHistory(this.getServiceName());
return true;
}
}, {
key: "activate",
value: function activate() {
$e.components.activate(this.getNamespace());
}
}, {
key: "inactivate",
value: function inactivate() {
$e.components.inactivate(this.getNamespace());
}
}, {
key: "isActive",
value: function isActive() {
return $e.components.isActive(this.getNamespace());
}
}, {
key: "onRoute",
value: function onRoute(route) {
this.toggleRouteClass(route, true);
this.toggleHistoryClass();
this.activate();
this.trigger('route/open', route);
}
}, {
key: "onCloseRoute",
value: function onCloseRoute(route) {
this.toggleRouteClass(route, false);
this.inactivate();
this.trigger('route/close', route);
}
}, {
key: "setDefaultRoute",
value: function setDefaultRoute(route) {
this.defaultRoute = this.getNamespace() + '/' + route;
}
}, {
key: "getDefaultRoute",
value: function getDefaultRoute() {
return this.defaultRoute;
}
}, {
key: "removeTab",
value: function removeTab(tab) {
delete this.tabs[tab];
this.unregisterRoute(tab);
}
}, {
key: "hasTab",
value: function hasTab(tab) {
return !!this.tabs[tab];
}
}, {
key: "addTab",
value: function addTab(tab, args, position) {
var _this3 = this;
this.tabs[tab] = args;
// It can be 0.
if ('undefined' !== typeof position) {
var newTabs = {};
var ids = Object.keys(this.tabs);
// Remove new tab
ids.pop();
// Add it to position.
ids.splice(position, 0, tab);
ids.forEach(function (id) {
newTabs[id] = _this3.tabs[id];
});
this.tabs = newTabs;
}
this.registerTabRoute(tab);
}
}, {
key: "getTabsWrapperSelector",
value: function getTabsWrapperSelector() {
return '';
}
}, {
key: "getTabRoute",
value: function getTabRoute(tab) {
return this.getNamespace() + '/' + tab;
}
}, {
key: "renderTab",
value: function renderTab(tab) {} // eslint-disable-line
}, {
key: "activateTab",
value: function activateTab(tab, args) {
var _this4 = this;
this.renderTab(tab, args);
jQuery(this.getTabsWrapperSelector() + ' .elementor-component-tab').off('click').on('click', function (event) {
$e.route(_this4.getTabRoute(event.currentTarget.dataset.tab), args);
}).removeClass('elementor-active').filter('[data-tab="' + tab + '"]').addClass('elementor-active');
}
}, {
key: "getActiveTabConfig",
value: function getActiveTabConfig() {
return this.tabs[this.currentTab] || {};
}
}, {
key: "getBodyClass",
value: function getBodyClass(route) {
return 'e-route-' + route.replace(/\//g, '-');
}
/**
* If command includes uppercase character convert it to lowercase and add `-`.
* e.g: `CopyAll` is converted to `copy-all`.
*
* @param {string} commandName
*/
}, {
key: "normalizeCommandName",
value: function normalizeCommandName(commandName) {
return commandName.replace(/[A-Z]/g, function (match, offset) {
return (offset > 0 ? '-' : '') + match.toLowerCase();
});
}
/**
* @param {{}} commandsFromImport
* @return {{}} imported commands
*/
}, {
key: "importCommands",
value: function importCommands(commandsFromImport) {
var _this5 = this;
var commands = {};
// Convert `Commands` to `ComponentBase` workable format.
Object.entries(commandsFromImport).forEach(function (_ref11) {
var _ref12 = (0, _slicedToArray2.default)(_ref11, 2),
className = _ref12[0],
Class = _ref12[1];
var command = _this5.normalizeCommandName(className);
commands[command] = Class;
});
return commands;
}
}, {
key: "importHooks",
value: function importHooks(hooksFromImport) {
var hooks = {};
for (var key in hooksFromImport) {
var hook = new hooksFromImport[key]();
hooks[hook.getId()] = hook;
}
return hooks;
}
/**
* Import & initialize the component's UI states.
* Should be used inside `defaultUiState()`.
*
* @param {Object} statesFromImport - UI states from import.
*
* @return {Object} UI States
*/
}, {
key: "importUiStates",
value: function importUiStates(statesFromImport) {
var _this6 = this;
var uiStates = {};
Object.values(statesFromImport).forEach(function (className) {
var uiState = new className(_this6);
uiStates[uiState.getId()] = uiState;
});
return uiStates;
}
/**
* Set a UI state value.
* TODO: Should we provide such function? Maybe the developer should implicitly pass the full state ID?
*
* @param {string} state - Non-prefixed state ID.
* @param {*} value - New state value.
*
* @return {void}
*/
}, {
key: "setUiState",
value: function setUiState(state, value) {
$e.uiStates.set("".concat(this.getNamespace(), "/").concat(state), value);
}
}, {
key: "toggleRouteClass",
value: function toggleRouteClass(route, state) {
document.body.classList.toggle(this.getBodyClass(route), state);
}
}, {
key: "toggleHistoryClass",
value: function toggleHistoryClass() {
document.body.classList.toggle('e-routes-has-history', !!$e.routes.getHistory(this.getServiceName()).length);
}
}]);
return ComponentBase;
}(_module.default);
exports["default"] = ComponentBase;
/***/ }),
/***/ "../modules/web-cli/assets/js/modules/component-modal-base.js":
/*!********************************************************************!*\
!*** ../modules/web-cli/assets/js/modules/component-modal-base.js ***!
\********************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _get2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/get */ "../node_modules/@babel/runtime/helpers/get.js"));
var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
var _componentBase = _interopRequireDefault(__webpack_require__(/*! ./component-base */ "../modules/web-cli/assets/js/modules/component-base.js"));
var commands = _interopRequireWildcard(__webpack_require__(/*! ./commands/ */ "../modules/web-cli/assets/js/modules/commands/index.js"));
var _forceMethodImplementation = _interopRequireDefault(__webpack_require__(/*! ../utils/force-method-implementation */ "../modules/web-cli/assets/js/utils/force-method-implementation.js"));
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
var ComponentModalBase = /*#__PURE__*/function (_ComponentBase) {
(0, _inherits2.default)(ComponentModalBase, _ComponentBase);
var _super = _createSuper(ComponentModalBase);
function ComponentModalBase() {
(0, _classCallCheck2.default)(this, ComponentModalBase);
return _super.apply(this, arguments);
}
(0, _createClass2.default)(ComponentModalBase, [{
key: "registerAPI",
value: function registerAPI() {
var _this = this;
(0, _get2.default)((0, _getPrototypeOf2.default)(ComponentModalBase.prototype), "registerAPI", this).call(this);
$e.shortcuts.register('esc', {
scopes: [this.getNamespace()],
callback: function callback() {
return _this.close();
}
});
}
}, {
key: "defaultCommands",
value: function defaultCommands() {
return this.importCommands(commands);
}
}, {
key: "defaultRoutes",
value: function defaultRoutes() {
return {
'': function _() {/* Nothing to do, it's already rendered. */}
};
}
}, {
key: "open",
value: function open() {
var _this2 = this;
if (!this.layout) {
var layout = this.getModalLayout();
this.layout = new layout({
component: this
});
this.layout.getModal().on('hide', function () {
return _this2.close();
});
}
this.layout.showModal();
return true;
}
}, {
key: "close",
value: function close() {
if (!(0, _get2.default)((0, _getPrototypeOf2.default)(ComponentModalBase.prototype), "close", this).call(this)) {
return false;
}
this.layout.getModal().hide();
return true;
}
}, {
key: "getModalLayout",
value: function getModalLayout() {
(0, _forceMethodImplementation.default)();
}
}]);
return ComponentModalBase;
}(_componentBase.default);
exports["default"] = ComponentModalBase;
/***/ }),
/***/ "../modules/web-cli/assets/js/utils/console.js":
/*!*****************************************************!*\
!*** ../modules/web-cli/assets/js/utils/console.js ***!
\*****************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var Console = /*#__PURE__*/function () {
function Console() {
(0, _classCallCheck2.default)(this, Console);
}
(0, _createClass2.default)(Console, null, [{
key: "error",
value: function error(message) {
// Show an error if devTools is available.
if ($e.devTools) {
$e.devTools.log.error(message);
}
// If not a 'Hook-Break' then show error.
if (!(message instanceof $e.modules.HookBreak)) {
// eslint-disable-next-line no-console
console.error(message);
}
}
}, {
key: "warn",
value: function warn() {
var _console;
var style = "font-size: 12px; background-image: url(\"".concat(elementorWebCliConfig.urls.assets, "images/logo-icon.png\"); background-repeat: no-repeat; background-size: contain;");
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
args[_key] = arguments[_key];
}
args.unshift('%c %c', style, '');
(_console = console).warn.apply(_console, args); // eslint-disable-line no-console
}
}]);
return Console;
}();
exports["default"] = Console;
/***/ }),
/***/ "../modules/web-cli/assets/js/utils/deprecation.js":
/*!*********************************************************!*\
!*** ../modules/web-cli/assets/js/utils/deprecation.js ***!
\*********************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ "../node_modules/@babel/runtime/helpers/slicedToArray.js"));
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _console = _interopRequireDefault(__webpack_require__(/*! elementor-api/utils/console */ "../modules/web-cli/assets/js/utils/console.js"));
// Copied from `modules/dev-tools/assets/js/deprecation.js`
/**
* @typedef {Object} Version
* @property {number} major1 The first number
* @property {number} major2 The second number
* @property {number} minor The third number
* @property {string} build The fourth number
*/
var softDeprecated = function softDeprecated(name, version, replacement) {
if (elementorWebCliConfig.isDebug) {
deprecatedMessage('soft', name, version, replacement);
}
};
var hardDeprecated = function hardDeprecated(name, version, replacement) {
deprecatedMessage('hard', name, version, replacement);
};
var deprecatedMessage = function deprecatedMessage(type, name, version, replacement) {
var message = "`".concat(name, "` is ").concat(type, " deprecated since ").concat(version);
if (replacement) {
message += " - Use `".concat(replacement, "` instead");
}
_console.default.warn(message);
};
var Deprecation = /*#__PURE__*/function () {
function Deprecation() {
(0, _classCallCheck2.default)(this, Deprecation);
}
(0, _createClass2.default)(Deprecation, null, [{
key: "deprecated",
value: function deprecated(name, version, replacement) {
if (this.isHardDeprecated(version)) {
hardDeprecated(name, version, replacement);
} else {
softDeprecated(name, version, replacement);
}
}
/**
* @param {string} version
*
* @return {Version}
*/
}, {
key: "parseVersion",
value: function parseVersion(version) {
var versionParts = version.split('.');
if (versionParts.length < 3 || versionParts.length > 4) {
throw new RangeError('Invalid Semantic Version string provided');
}
var _versionParts = (0, _slicedToArray2.default)(versionParts, 4),
major1 = _versionParts[0],
major2 = _versionParts[1],
minor = _versionParts[2],
_versionParts$ = _versionParts[3],
build = _versionParts$ === void 0 ? '' : _versionParts$;
return {
major1: parseInt(major1),
major2: parseInt(major2),
minor: parseInt(minor),
build: build
};
}
/**
* Get total of major.
*
* Since `get_total_major` cannot determine how much really versions between 2.9.0 and 3.3.0 if there is 2.10.0 version for example,
* versions with major2 more then 9 will be added to total.
*
* @param {Version} versionObj
*
* @return {number}
*/
}, {
key: "getTotalMajor",
value: function getTotalMajor(versionObj) {
var total = parseInt("".concat(versionObj.major1).concat(versionObj.major2, "0"));
total = Number((total / 10).toFixed(0));
if (versionObj.major2 > 9) {
total = versionObj.major2 - 9;
}
return total;
}
/**
* @param {string} version1
* @param {string} version2
*
* @return {number}
*/
}, {
key: "compareVersion",
value: function compareVersion(version1, version2) {
var _this = this;
return [this.parseVersion(version1), this.parseVersion(version2)].map(function (versionObj) {
return _this.getTotalMajor(versionObj);
}).reduce(function (acc, major) {
return acc - major;
});
}
/**
* @param {string} version
*
* @return {boolean}
*/
}, {
key: "isSoftDeprecated",
value: function isSoftDeprecated(version) {
var total = this.compareVersion(version, elementorWebCliConfig.version);
return total <= 4;
}
/**
* @param {string} version
* @return {boolean}
*/
}, {
key: "isHardDeprecated",
value: function isHardDeprecated(version) {
var total = this.compareVersion(version, elementorWebCliConfig.version);
return total < 0 || total >= 8;
}
}]);
return Deprecation;
}();
exports["default"] = Deprecation;
/***/ }),
/***/ "../modules/web-cli/assets/js/utils/force-method-implementation.js":
/*!*************************************************************************!*\
!*** ../modules/web-cli/assets/js/utils/force-method-implementation.js ***!
\*************************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
"use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = exports.ForceMethodImplementation = void 0;
var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js"));
var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js"));
var _assertThisInitialized2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js"));
var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js"));
var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"));
var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"));
var _wrapNativeSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/wrapNativeSuper */ "../node_modules/@babel/runtime/helpers/wrapNativeSuper.js"));
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
// TODO: Copied from `assets/dev/js/modules/imports/force-method-implementation.js`;
var ForceMethodImplementation = /*#__PURE__*/function (_Error) {
(0, _inherits2.default)(ForceMethodImplementation, _Error);
var _super = _createSuper(ForceMethodImplementation);
function ForceMethodImplementation() {
var _this;
var info = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
(0, _classCallCheck2.default)(this, ForceMethodImplementation);
_this = _super.call(this, "".concat(info.isStatic ? 'static ' : '').concat(info.fullName, "() should be implemented, please provide '").concat(info.functionName || info.fullName, "' functionality."));
Error.captureStackTrace((0, _assertThisInitialized2.default)(_this), ForceMethodImplementation);
return _this;
}
return (0, _createClass2.default)(ForceMethodImplementation);
}( /*#__PURE__*/(0, _wrapNativeSuper2.default)(Error));
exports.ForceMethodImplementation = ForceMethodImplementation;
var _default = function _default() {
var stack = Error().stack,
caller = stack.split('\n')[2].trim(),
callerName = caller.startsWith('at new') ? 'constructor' : caller.split(' ')[1],
info = {};
info.functionName = callerName;
info.fullName = callerName;
if (info.functionName.includes('.')) {
var parts = info.functionName.split('.');
info.className = parts[0];
info.functionName = parts[1];
} else {
info.isStatic = true;
}
throw new ForceMethodImplementation(info);
};
exports["default"] = _default;
/***/ }),
/***/ "../node_modules/redux-thunk/es/index.js":
/*!***********************************************!*\
!*** ../node_modules/redux-thunk/es/index.js ***!
\***********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/** A function that accepts a potential "extra argument" value to be injected later,
* and returns an instance of the thunk middleware that uses that value
*/
function createThunkMiddleware(extraArgument) {
// Standard Redux middleware definition pattern:
// See: https://redux.js.org/tutorials/fundamentals/part-4-store#writing-custom-middleware
var middleware = function middleware(_ref) {
var dispatch = _ref.dispatch,
getState = _ref.getState;
return function (next) {
return function (action) {
// The thunk middleware looks for any functions that were passed to `store.dispatch`.
// If this "action" is really a function, call it and return the result.
if (typeof action === 'function') {
// Inject the store's `dispatch` and `getState` methods, as well as any "extra arg"
return action(dispatch, getState, extraArgument);
} // Otherwise, pass the action down the middleware chain as usual
return next(action);
};
};
};
return middleware;
}
var thunk = createThunkMiddleware(); // Attach the factory function so users can create a customized version
// with whatever "extra arg" they want to inject into their thunks
thunk.withExtraArgument = createThunkMiddleware;
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (thunk);
/***/ }),
/***/ "../node_modules/redux/es/redux.js":
/*!*****************************************!*\
!*** ../node_modules/redux/es/redux.js ***!
\*****************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ __DO_NOT_USE__ActionTypes: () => (/* binding */ ActionTypes),
/* harmony export */ applyMiddleware: () => (/* binding */ applyMiddleware),
/* harmony export */ bindActionCreators: () => (/* binding */ bindActionCreators),
/* harmony export */ combineReducers: () => (/* binding */ combineReducers),
/* harmony export */ compose: () => (/* binding */ compose),
/* harmony export */ createStore: () => (/* binding */ createStore),
/* harmony export */ legacy_createStore: () => (/* binding */ legacy_createStore)
/* harmony export */ });
/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ "../node_modules/@babel/runtime/helpers/esm/objectSpread2.js");
/**
* Adapted from React: https://github.com/facebook/react/blob/master/packages/shared/formatProdErrorMessage.js
*
* Do not require this module directly! Use normal throw error calls. These messages will be replaced with error codes
* during build.
* @param {number} code
*/
function formatProdErrorMessage(code) {
return "Minified Redux error #" + code + "; visit https://redux.js.org/Errors?code=" + code + " for the full message or " + 'use the non-minified dev environment for full errors. ';
}
// Inlined version of the `symbol-observable` polyfill
var $$observable = (function () {
return typeof Symbol === 'function' && Symbol.observable || '@@observable';
})();
/**
* These are private action types reserved by Redux.
* For any unknown actions, you must return the current state.
* If the current state is undefined, you must return the initial state.
* Do not reference these action types directly in your code.
*/
var randomString = function randomString() {
return Math.random().toString(36).substring(7).split('').join('.');
};
var ActionTypes = {
INIT: "@@redux/INIT" + randomString(),
REPLACE: "@@redux/REPLACE" + randomString(),
PROBE_UNKNOWN_ACTION: function PROBE_UNKNOWN_ACTION() {
return "@@redux/PROBE_UNKNOWN_ACTION" + randomString();
}
};
/**
* @param {any} obj The object to inspect.
* @returns {boolean} True if the argument appears to be a plain object.
*/
function isPlainObject(obj) {
if (typeof obj !== 'object' || obj === null) return false;
var proto = obj;
while (Object.getPrototypeOf(proto) !== null) {
proto = Object.getPrototypeOf(proto);
}
return Object.getPrototypeOf(obj) === proto;
}
// Inlined / shortened version of `kindOf` from https://github.com/jonschlinkert/kind-of
function miniKindOf(val) {
if (val === void 0) return 'undefined';
if (val === null) return 'null';
var type = typeof val;
switch (type) {
case 'boolean':
case 'string':
case 'number':
case 'symbol':
case 'function':
{
return type;
}
}
if (Array.isArray(val)) return 'array';
if (isDate(val)) return 'date';
if (isError(val)) return 'error';
var constructorName = ctorName(val);
switch (constructorName) {
case 'Symbol':
case 'Promise':
case 'WeakMap':
case 'WeakSet':
case 'Map':
case 'Set':
return constructorName;
} // other
return type.slice(8, -1).toLowerCase().replace(/\s/g, '');
}
function ctorName(val) {
return typeof val.constructor === 'function' ? val.constructor.name : null;
}
function isError(val) {
return val instanceof Error || typeof val.message === 'string' && val.constructor && typeof val.constructor.stackTraceLimit === 'number';
}
function isDate(val) {
if (val instanceof Date) return true;
return typeof val.toDateString === 'function' && typeof val.getDate === 'function' && typeof val.setDate === 'function';
}
function kindOf(val) {
var typeOfVal = typeof val;
if (true) {
typeOfVal = miniKindOf(val);
}
return typeOfVal;
}
/**
* @deprecated
*
* **We recommend using the `configureStore` method
* of the `@reduxjs/toolkit` package**, which replaces `createStore`.
*
* Redux Toolkit is our recommended approach for writing Redux logic today,
* including store setup, reducers, data fetching, and more.
*
* **For more details, please read this Redux docs page:**
* **https://redux.js.org/introduction/why-rtk-is-redux-today**
*
* `configureStore` from Redux Toolkit is an improved version of `createStore` that
* simplifies setup and helps avoid common bugs.
*
* You should not be using the `redux` core package by itself today, except for learning purposes.
* The `createStore` method from the core `redux` package will not be removed, but we encourage
* all users to migrate to using Redux Toolkit for all Redux code.
*
* If you want to use `createStore` without this visual deprecation warning, use
* the `legacy_createStore` import instead:
*
* `import { legacy_createStore as createStore} from 'redux'`
*
*/
function createStore(reducer, preloadedState, enhancer) {
var _ref2;
if (typeof preloadedState === 'function' && typeof enhancer === 'function' || typeof enhancer === 'function' && typeof arguments[3] === 'function') {
throw new Error( false ? 0 : 'It looks like you are passing several store enhancers to ' + 'createStore(). This is not supported. Instead, compose them ' + 'together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.');
}
if (typeof preloadedState === 'function' && typeof enhancer === 'undefined') {
enhancer = preloadedState;
preloadedState = undefined;
}
if (typeof enhancer !== 'undefined') {
if (typeof enhancer !== 'function') {
throw new Error( false ? 0 : "Expected the enhancer to be a function. Instead, received: '" + kindOf(enhancer) + "'");
}
return enhancer(createStore)(reducer, preloadedState);
}
if (typeof reducer !== 'function') {
throw new Error( false ? 0 : "Expected the root reducer to be a function. Instead, received: '" + kindOf(reducer) + "'");
}
var currentReducer = reducer;
var currentState = preloadedState;
var currentListeners = [];
var nextListeners = currentListeners;
var isDispatching = false;
/**
* This makes a shallow copy of currentListeners so we can use
* nextListeners as a temporary list while dispatching.
*
* This prevents any bugs around consumers calling
* subscribe/unsubscribe in the middle of a dispatch.
*/
function ensureCanMutateNextListeners() {
if (nextListeners === currentListeners) {
nextListeners = currentListeners.slice();
}
}
/**
* Reads the state tree managed by the store.
*
* @returns {any} The current state tree of your application.
*/
function getState() {
if (isDispatching) {
throw new Error( false ? 0 : 'You may not call store.getState() while the reducer is executing. ' + 'The reducer has already received the state as an argument. ' + 'Pass it down from the top reducer instead of reading it from the store.');
}
return currentState;
}
/**
* Adds a change listener. It will be called any time an action is dispatched,
* and some part of the state tree may potentially have changed. You may then
* call `getState()` to read the current state tree inside the callback.
*
* You may call `dispatch()` from a change listener, with the following
* caveats:
*
* 1. The subscriptions are snapshotted just before every `dispatch()` call.
* If you subscribe or unsubscribe while the listeners are being invoked, this
* will not have any effect on the `dispatch()` that is currently in progress.
* However, the next `dispatch()` call, whether nested or not, will use a more
* recent snapshot of the subscription list.
*
* 2. The listener should not expect to see all state changes, as the state
* might have been updated multiple times during a nested `dispatch()` before
* the listener is called. It is, however, guaranteed that all subscribers
* registered before the `dispatch()` started will be called with the latest
* state by the time it exits.
*
* @param {Function} listener A callback to be invoked on every dispatch.
* @returns {Function} A function to remove this change listener.
*/
function subscribe(listener) {
if (typeof listener !== 'function') {
throw new Error( false ? 0 : "Expected the listener to be a function. Instead, received: '" + kindOf(listener) + "'");
}
if (isDispatching) {
throw new Error( false ? 0 : 'You may not call store.subscribe() while the reducer is executing. ' + 'If you would like to be notified after the store has been updated, subscribe from a ' + 'component and invoke store.getState() in the callback to access the latest state. ' + 'See https://redux.js.org/api/store#subscribelistener for more details.');
}
var isSubscribed = true;
ensureCanMutateNextListeners();
nextListeners.push(listener);
return function unsubscribe() {
if (!isSubscribed) {
return;
}
if (isDispatching) {
throw new Error( false ? 0 : 'You may not unsubscribe from a store listener while the reducer is executing. ' + 'See https://redux.js.org/api/store#subscribelistener for more details.');
}
isSubscribed = false;
ensureCanMutateNextListeners();
var index = nextListeners.indexOf(listener);
nextListeners.splice(index, 1);
currentListeners = null;
};
}
/**
* Dispatches an action. It is the only way to trigger a state change.
*
* The `reducer` function, used to create the store, will be called with the
* current state tree and the given `action`. Its return value will
* be considered the **next** state of the tree, and the change listeners
* will be notified.
*
* The base implementation only supports plain object actions. If you want to
* dispatch a Promise, an Observable, a thunk, or something else, you need to
* wrap your store creating function into the corresponding middleware. For
* example, see the documentation for the `redux-thunk` package. Even the
* middleware will eventually dispatch plain object actions using this method.
*
* @param {Object} action A plain object representing “what changed”. It is
* a good idea to keep actions serializable so you can record and replay user
* sessions, or use the time travelling `redux-devtools`. An action must have
* a `type` property which may not be `undefined`. It is a good idea to use
* string constants for action types.
*
* @returns {Object} For convenience, the same action object you dispatched.
*
* Note that, if you use a custom middleware, it may wrap `dispatch()` to
* return something else (for example, a Promise you can await).
*/
function dispatch(action) {
if (!isPlainObject(action)) {
throw new Error( false ? 0 : "Actions must be plain objects. Instead, the actual type was: '" + kindOf(action) + "'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.");
}
if (typeof action.type === 'undefined') {
throw new Error( false ? 0 : 'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');
}
if (isDispatching) {
throw new Error( false ? 0 : 'Reducers may not dispatch actions.');
}
try {
isDispatching = true;
currentState = currentReducer(currentState, action);
} finally {
isDispatching = false;
}
var listeners = currentListeners = nextListeners;
for (var i = 0; i < listeners.length; i++) {
var listener = listeners[i];
listener();
}
return action;
}
/**
* Replaces the reducer currently used by the store to calculate the state.
*
* You might need this if your app implements code splitting and you want to
* load some of the reducers dynamically. You might also need this if you
* implement a hot reloading mechanism for Redux.
*
* @param {Function} nextReducer The reducer for the store to use instead.
* @returns {void}
*/
function replaceReducer(nextReducer) {
if (typeof nextReducer !== 'function') {
throw new Error( false ? 0 : "Expected the nextReducer to be a function. Instead, received: '" + kindOf(nextReducer));
}
currentReducer = nextReducer; // This action has a similiar effect to ActionTypes.INIT.
// Any reducers that existed in both the new and old rootReducer
// will receive the previous state. This effectively populates
// the new state tree with any relevant data from the old one.
dispatch({
type: ActionTypes.REPLACE
});
}
/**
* Interoperability point for observable/reactive libraries.
* @returns {observable} A minimal observable of state changes.
* For more information, see the observable proposal:
* https://github.com/tc39/proposal-observable
*/
function observable() {
var _ref;
var outerSubscribe = subscribe;
return _ref = {
/**
* The minimal observable subscription method.
* @param {Object} observer Any object that can be used as an observer.
* The observer object should have a `next` method.
* @returns {subscription} An object with an `unsubscribe` method that can
* be used to unsubscribe the observable from the store, and prevent further
* emission of values from the observable.
*/
subscribe: function subscribe(observer) {
if (typeof observer !== 'object' || observer === null) {
throw new Error( false ? 0 : "Expected the observer to be an object. Instead, received: '" + kindOf(observer) + "'");
}
function observeState() {
if (observer.next) {
observer.next(getState());
}
}
observeState();
var unsubscribe = outerSubscribe(observeState);
return {
unsubscribe: unsubscribe
};
}
}, _ref[$$observable] = function () {
return this;
}, _ref;
} // When a store is created, an "INIT" action is dispatched so that every
// reducer returns their initial state. This effectively populates
// the initial state tree.
dispatch({
type: ActionTypes.INIT
});
return _ref2 = {
dispatch: dispatch,
subscribe: subscribe,
getState: getState,
replaceReducer: replaceReducer
}, _ref2[$$observable] = observable, _ref2;
}
/**
* Creates a Redux store that holds the state tree.
*
* **We recommend using `configureStore` from the
* `@reduxjs/toolkit` package**, which replaces `createStore`:
* **https://redux.js.org/introduction/why-rtk-is-redux-today**
*
* The only way to change the data in the store is to call `dispatch()` on it.
*
* There should only be a single store in your app. To specify how different
* parts of the state tree respond to actions, you may combine several reducers
* into a single reducer function by using `combineReducers`.
*
* @param {Function} reducer A function that returns the next state tree, given
* the current state tree and the action to handle.
*
* @param {any} [preloadedState] The initial state. You may optionally specify it
* to hydrate the state from the server in universal apps, or to restore a
* previously serialized user session.
* If you use `combineReducers` to produce the root reducer function, this must be
* an object with the same shape as `combineReducers` keys.
*
* @param {Function} [enhancer] The store enhancer. You may optionally specify it
* to enhance the store with third-party capabilities such as middleware,
* time travel, persistence, etc. The only store enhancer that ships with Redux
* is `applyMiddleware()`.
*
* @returns {Store} A Redux store that lets you read the state, dispatch actions
* and subscribe to changes.
*/
var legacy_createStore = createStore;
/**
* Prints a warning in the console if it exists.
*
* @param {String} message The warning message.
* @returns {void}
*/
function warning(message) {
/* eslint-disable no-console */
if (typeof console !== 'undefined' && typeof console.error === 'function') {
console.error(message);
}
/* eslint-enable no-console */
try {
// This error was thrown as a convenience so that if you enable
// "break on all exceptions" in your console,
// it would pause the execution at this line.
throw new Error(message);
} catch (e) {} // eslint-disable-line no-empty
}
function getUnexpectedStateShapeWarningMessage(inputState, reducers, action, unexpectedKeyCache) {
var reducerKeys = Object.keys(reducers);
var argumentName = action && action.type === ActionTypes.INIT ? 'preloadedState argument passed to createStore' : 'previous state received by the reducer';
if (reducerKeys.length === 0) {
return 'Store does not have a valid reducer. Make sure the argument passed ' + 'to combineReducers is an object whose values are reducers.';
}
if (!isPlainObject(inputState)) {
return "The " + argumentName + " has unexpected type of \"" + kindOf(inputState) + "\". Expected argument to be an object with the following " + ("keys: \"" + reducerKeys.join('", "') + "\"");
}
var unexpectedKeys = Object.keys(inputState).filter(function (key) {
return !reducers.hasOwnProperty(key) && !unexpectedKeyCache[key];
});
unexpectedKeys.forEach(function (key) {
unexpectedKeyCache[key] = true;
});
if (action && action.type === ActionTypes.REPLACE) return;
if (unexpectedKeys.length > 0) {
return "Unexpected " + (unexpectedKeys.length > 1 ? 'keys' : 'key') + " " + ("\"" + unexpectedKeys.join('", "') + "\" found in " + argumentName + ". ") + "Expected to find one of the known reducer keys instead: " + ("\"" + reducerKeys.join('", "') + "\". Unexpected keys will be ignored.");
}
}
function assertReducerShape(reducers) {
Object.keys(reducers).forEach(function (key) {
var reducer = reducers[key];
var initialState = reducer(undefined, {
type: ActionTypes.INIT
});
if (typeof initialState === 'undefined') {
throw new Error( false ? 0 : "The slice reducer for key \"" + key + "\" returned undefined during initialization. " + "If the state passed to the reducer is undefined, you must " + "explicitly return the initial state. The initial state may " + "not be undefined. If you don't want to set a value for this reducer, " + "you can use null instead of undefined.");
}
if (typeof reducer(undefined, {
type: ActionTypes.PROBE_UNKNOWN_ACTION()
}) === 'undefined') {
throw new Error( false ? 0 : "The slice reducer for key \"" + key + "\" returned undefined when probed with a random type. " + ("Don't try to handle '" + ActionTypes.INIT + "' or other actions in \"redux/*\" ") + "namespace. They are considered private. Instead, you must return the " + "current state for any unknown actions, unless it is undefined, " + "in which case you must return the initial state, regardless of the " + "action type. The initial state may not be undefined, but can be null.");
}
});
}
/**
* Turns an object whose values are different reducer functions, into a single
* reducer function. It will call every child reducer, and gather their results
* into a single state object, whose keys correspond to the keys of the passed
* reducer functions.
*
* @param {Object} reducers An object whose values correspond to different
* reducer functions that need to be combined into one. One handy way to obtain
* it is to use ES6 `import * as reducers` syntax. The reducers may never return
* undefined for any action. Instead, they should return their initial state
* if the state passed to them was undefined, and the current state for any
* unrecognized action.
*
* @returns {Function} A reducer function that invokes every reducer inside the
* passed object, and builds a state object with the same shape.
*/
function combineReducers(reducers) {
var reducerKeys = Object.keys(reducers);
var finalReducers = {};
for (var i = 0; i < reducerKeys.length; i++) {
var key = reducerKeys[i];
if (true) {
if (typeof reducers[key] === 'undefined') {
warning("No reducer provided for key \"" + key + "\"");
}
}
if (typeof reducers[key] === 'function') {
finalReducers[key] = reducers[key];
}
}
var finalReducerKeys = Object.keys(finalReducers); // This is used to make sure we don't warn about the same
// keys multiple times.
var unexpectedKeyCache;
if (true) {
unexpectedKeyCache = {};
}
var shapeAssertionError;
try {
assertReducerShape(finalReducers);
} catch (e) {
shapeAssertionError = e;
}
return function combination(state, action) {
if (state === void 0) {
state = {};
}
if (shapeAssertionError) {
throw shapeAssertionError;
}
if (true) {
var warningMessage = getUnexpectedStateShapeWarningMessage(state, finalReducers, action, unexpectedKeyCache);
if (warningMessage) {
warning(warningMessage);
}
}
var hasChanged = false;
var nextState = {};
for (var _i = 0; _i < finalReducerKeys.length; _i++) {
var _key = finalReducerKeys[_i];
var reducer = finalReducers[_key];
var previousStateForKey = state[_key];
var nextStateForKey = reducer(previousStateForKey, action);
if (typeof nextStateForKey === 'undefined') {
var actionType = action && action.type;
throw new Error( false ? 0 : "When called with an action of type " + (actionType ? "\"" + String(actionType) + "\"" : '(unknown type)') + ", the slice reducer for key \"" + _key + "\" returned undefined. " + "To ignore an action, you must explicitly return the previous state. " + "If you want this reducer to hold no value, you can return null instead of undefined.");
}
nextState[_key] = nextStateForKey;
hasChanged = hasChanged || nextStateForKey !== previousStateForKey;
}
hasChanged = hasChanged || finalReducerKeys.length !== Object.keys(state).length;
return hasChanged ? nextState : state;
};
}
function bindActionCreator(actionCreator, dispatch) {
return function () {
return dispatch(actionCreator.apply(this, arguments));
};
}
/**
* Turns an object whose values are action creators, into an object with the
* same keys, but with every function wrapped into a `dispatch` call so they
* may be invoked directly. This is just a convenience method, as you can call
* `store.dispatch(MyActionCreators.doSomething())` yourself just fine.
*
* For convenience, you can also pass an action creator as the first argument,
* and get a dispatch wrapped function in return.
*
* @param {Function|Object} actionCreators An object whose values are action
* creator functions. One handy way to obtain it is to use ES6 `import * as`
* syntax. You may also pass a single function.
*
* @param {Function} dispatch The `dispatch` function available on your Redux
* store.
*
* @returns {Function|Object} The object mimicking the original object, but with
* every action creator wrapped into the `dispatch` call. If you passed a
* function as `actionCreators`, the return value will also be a single
* function.
*/
function bindActionCreators(actionCreators, dispatch) {
if (typeof actionCreators === 'function') {
return bindActionCreator(actionCreators, dispatch);
}
if (typeof actionCreators !== 'object' || actionCreators === null) {
throw new Error( false ? 0 : "bindActionCreators expected an object or a function, but instead received: '" + kindOf(actionCreators) + "'. " + "Did you write \"import ActionCreators from\" instead of \"import * as ActionCreators from\"?");
}
var boundActionCreators = {};
for (var key in actionCreators) {
var actionCreator = actionCreators[key];
if (typeof actionCreator === 'function') {
boundActionCreators[key] = bindActionCreator(actionCreator, dispatch);
}
}
return boundActionCreators;
}
/**
* Composes single-argument functions from right to left. The rightmost
* function can take multiple arguments as it provides the signature for
* the resulting composite function.
*
* @param {...Function} funcs The functions to compose.
* @returns {Function} A function obtained by composing the argument functions
* from right to left. For example, compose(f, g, h) is identical to doing
* (...args) => f(g(h(...args))).
*/
function compose() {
for (var _len = arguments.length, funcs = new Array(_len), _key = 0; _key < _len; _key++) {
funcs[_key] = arguments[_key];
}
if (funcs.length === 0) {
return function (arg) {
return arg;
};
}
if (funcs.length === 1) {
return funcs[0];
}
return funcs.reduce(function (a, b) {
return function () {
return a(b.apply(void 0, arguments));
};
});
}
/**
* Creates a store enhancer that applies middleware to the dispatch method
* of the Redux store. This is handy for a variety of tasks, such as expressing
* asynchronous actions in a concise manner, or logging every action payload.
*
* See `redux-thunk` package as an example of the Redux middleware.
*
* Because middleware is potentially asynchronous, this should be the first
* store enhancer in the composition chain.
*
* Note that each middleware will be given the `dispatch` and `getState` functions
* as named arguments.
*
* @param {...Function} middlewares The middleware chain to be applied.
* @returns {Function} A store enhancer applying the middleware.
*/
function applyMiddleware() {
for (var _len = arguments.length, middlewares = new Array(_len), _key = 0; _key < _len; _key++) {
middlewares[_key] = arguments[_key];
}
return function (createStore) {
return function () {
var store = createStore.apply(void 0, arguments);
var _dispatch = function dispatch() {
throw new Error( false ? 0 : 'Dispatching while constructing your middleware is not allowed. ' + 'Other middleware would not be applied to this dispatch.');
};
var middlewareAPI = {
getState: store.getState,
dispatch: function dispatch() {
return _dispatch.apply(void 0, arguments);
}
};
var chain = middlewares.map(function (middleware) {
return middleware(middlewareAPI);
});
_dispatch = compose.apply(void 0, chain)(store.dispatch);
return (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__["default"])((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__["default"])({}, store), {}, {
dispatch: _dispatch
});
};
};
}
/***/ }),
/***/ "../node_modules/reselect/es/defaultMemoize.js":
/*!*****************************************************!*\
!*** ../node_modules/reselect/es/defaultMemoize.js ***!
\*****************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ createCacheKeyComparator: () => (/* binding */ createCacheKeyComparator),
/* harmony export */ defaultEqualityCheck: () => (/* binding */ defaultEqualityCheck),
/* harmony export */ defaultMemoize: () => (/* binding */ defaultMemoize)
/* harmony export */ });
// Cache implementation based on Erik Rasmussen's `lru-memoize`:
// https://github.com/erikras/lru-memoize
var NOT_FOUND = 'NOT_FOUND';
function createSingletonCache(equals) {
var entry;
return {
get: function get(key) {
if (entry && equals(entry.key, key)) {
return entry.value;
}
return NOT_FOUND;
},
put: function put(key, value) {
entry = {
key: key,
value: value
};
},
getEntries: function getEntries() {
return entry ? [entry] : [];
},
clear: function clear() {
entry = undefined;
}
};
}
function createLruCache(maxSize, equals) {
var entries = [];
function get(key) {
var cacheIndex = entries.findIndex(function (entry) {
return equals(key, entry.key);
}); // We found a cached entry
if (cacheIndex > -1) {
var entry = entries[cacheIndex]; // Cached entry not at top of cache, move it to the top
if (cacheIndex > 0) {
entries.splice(cacheIndex, 1);
entries.unshift(entry);
}
return entry.value;
} // No entry found in cache, return sentinel
return NOT_FOUND;
}
function put(key, value) {
if (get(key) === NOT_FOUND) {
// TODO Is unshift slow?
entries.unshift({
key: key,
value: value
});
if (entries.length > maxSize) {
entries.pop();
}
}
}
function getEntries() {
return entries;
}
function clear() {
entries = [];
}
return {
get: get,
put: put,
getEntries: getEntries,
clear: clear
};
}
var defaultEqualityCheck = function defaultEqualityCheck(a, b) {
return a === b;
};
function createCacheKeyComparator(equalityCheck) {
return function areArgumentsShallowlyEqual(prev, next) {
if (prev === null || next === null || prev.length !== next.length) {
return false;
} // Do this in a for loop (and not a `forEach` or an `every`) so we can determine equality as fast as possible.
var length = prev.length;
for (var i = 0; i < length; i++) {
if (!equalityCheck(prev[i], next[i])) {
return false;
}
}
return true;
};
}
// defaultMemoize now supports a configurable cache size with LRU behavior,
// and optional comparison of the result value with existing values
function defaultMemoize(func, equalityCheckOrOptions) {
var providedOptions = typeof equalityCheckOrOptions === 'object' ? equalityCheckOrOptions : {
equalityCheck: equalityCheckOrOptions
};
var _providedOptions$equa = providedOptions.equalityCheck,
equalityCheck = _providedOptions$equa === void 0 ? defaultEqualityCheck : _providedOptions$equa,
_providedOptions$maxS = providedOptions.maxSize,
maxSize = _providedOptions$maxS === void 0 ? 1 : _providedOptions$maxS,
resultEqualityCheck = providedOptions.resultEqualityCheck;
var comparator = createCacheKeyComparator(equalityCheck);
var cache = maxSize === 1 ? createSingletonCache(comparator) : createLruCache(maxSize, comparator); // we reference arguments instead of spreading them for performance reasons
function memoized() {
var value = cache.get(arguments);
if (value === NOT_FOUND) {
// @ts-ignore
value = func.apply(null, arguments);
if (resultEqualityCheck) {
var entries = cache.getEntries();
var matchingEntry = entries.find(function (entry) {
return resultEqualityCheck(entry.value, value);
});
if (matchingEntry) {
value = matchingEntry.value;
}
}
cache.put(arguments, value);
}
return value;
}
memoized.clearCache = function () {
return cache.clear();
};
return memoized;
}
/***/ }),
/***/ "../node_modules/reselect/es/index.js":
/*!********************************************!*\
!*** ../node_modules/reselect/es/index.js ***!
\********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ createSelector: () => (/* binding */ createSelector),
/* harmony export */ createSelectorCreator: () => (/* binding */ createSelectorCreator),
/* harmony export */ createStructuredSelector: () => (/* binding */ createStructuredSelector),
/* harmony export */ defaultEqualityCheck: () => (/* reexport safe */ _defaultMemoize__WEBPACK_IMPORTED_MODULE_0__.defaultEqualityCheck),
/* harmony export */ defaultMemoize: () => (/* reexport safe */ _defaultMemoize__WEBPACK_IMPORTED_MODULE_0__.defaultMemoize)
/* harmony export */ });
/* harmony import */ var _defaultMemoize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defaultMemoize */ "../node_modules/reselect/es/defaultMemoize.js");
function getDependencies(funcs) {
var dependencies = Array.isArray(funcs[0]) ? funcs[0] : funcs;
if (!dependencies.every(function (dep) {
return typeof dep === 'function';
})) {
var dependencyTypes = dependencies.map(function (dep) {
return typeof dep === 'function' ? "function " + (dep.name || 'unnamed') + "()" : typeof dep;
}).join(', ');
throw new Error("createSelector expects all input-selectors to be functions, but received the following types: [" + dependencyTypes + "]");
}
return dependencies;
}
function createSelectorCreator(memoize) {
for (var _len = arguments.length, memoizeOptionsFromArgs = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
memoizeOptionsFromArgs[_key - 1] = arguments[_key];
}
var createSelector = function createSelector() {
for (var _len2 = arguments.length, funcs = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
funcs[_key2] = arguments[_key2];
}
var _recomputations = 0;
var _lastResult; // Due to the intricacies of rest params, we can't do an optional arg after `...funcs`.
// So, start by declaring the default value here.
// (And yes, the words 'memoize' and 'options' appear too many times in this next sequence.)
var directlyPassedOptions = {
memoizeOptions: undefined
}; // Normally, the result func or "output selector" is the last arg
var resultFunc = funcs.pop(); // If the result func is actually an _object_, assume it's our options object
if (typeof resultFunc === 'object') {
directlyPassedOptions = resultFunc; // and pop the real result func off
resultFunc = funcs.pop();
}
if (typeof resultFunc !== 'function') {
throw new Error("createSelector expects an output function after the inputs, but received: [" + typeof resultFunc + "]");
} // Determine which set of options we're using. Prefer options passed directly,
// but fall back to options given to createSelectorCreator.
var _directlyPassedOption = directlyPassedOptions,
_directlyPassedOption2 = _directlyPassedOption.memoizeOptions,
memoizeOptions = _directlyPassedOption2 === void 0 ? memoizeOptionsFromArgs : _directlyPassedOption2; // Simplifying assumption: it's unlikely that the first options arg of the provided memoizer
// is an array. In most libs I've looked at, it's an equality function or options object.
// Based on that, if `memoizeOptions` _is_ an array, we assume it's a full
// user-provided array of options. Otherwise, it must be just the _first_ arg, and so
// we wrap it in an array so we can apply it.
var finalMemoizeOptions = Array.isArray(memoizeOptions) ? memoizeOptions : [memoizeOptions];
var dependencies = getDependencies(funcs);
var memoizedResultFunc = memoize.apply(void 0, [function recomputationWrapper() {
_recomputations++; // apply arguments instead of spreading for performance.
return resultFunc.apply(null, arguments);
}].concat(finalMemoizeOptions)); // If a selector is called with the exact same arguments we don't need to traverse our dependencies again.
var selector = memoize(function dependenciesChecker() {
var params = [];
var length = dependencies.length;
for (var i = 0; i < length; i++) {
// apply arguments instead of spreading and mutate a local list of params for performance.
// @ts-ignore
params.push(dependencies[i].apply(null, arguments));
} // apply arguments instead of spreading for performance.
_lastResult = memoizedResultFunc.apply(null, params);
return _lastResult;
});
Object.assign(selector, {
resultFunc: resultFunc,
memoizedResultFunc: memoizedResultFunc,
dependencies: dependencies,
lastResult: function lastResult() {
return _lastResult;
},
recomputations: function recomputations() {
return _recomputations;
},
resetRecomputations: function resetRecomputations() {
return _recomputations = 0;
}
});
return selector;
}; // @ts-ignore
return createSelector;
}
var createSelector = /* #__PURE__ */createSelectorCreator(_defaultMemoize__WEBPACK_IMPORTED_MODULE_0__.defaultMemoize);
// Manual definition of state and output arguments
var createStructuredSelector = function createStructuredSelector(selectors, selectorCreator) {
if (selectorCreator === void 0) {
selectorCreator = createSelector;
}
if (typeof selectors !== 'object') {
throw new Error('createStructuredSelector expects first argument to be an object ' + ("where each property is a selector, instead received a " + typeof selectors));
}
var objectKeys = Object.keys(selectors);
var resultSelector = selectorCreator( // @ts-ignore
objectKeys.map(function (key) {
return selectors[key];
}), function () {
for (var _len3 = arguments.length, values = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
values[_key3] = arguments[_key3];
}
return values.reduce(function (composition, value, index) {
composition[objectKeys[index]] = value;
return composition;
}, {});
});
return resultSelector;
};
/***/ }),
/***/ "@wordpress/i18n":
/*!**************************!*\
!*** external "wp.i18n" ***!
\**************************/
/***/ ((module) => {
"use strict";
module.exports = wp.i18n;
/***/ }),
/***/ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js":
/*!******************************************************************!*\
!*** ../node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
\******************************************************************/
/***/ ((module) => {
function _arrayLikeToArray(arr, len) {
if (len == null || len > arr.length) len = arr.length;
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
return arr2;
}
module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/***/ "../node_modules/@babel/runtime/helpers/arrayWithHoles.js":
/*!****************************************************************!*\
!*** ../node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
\****************************************************************/
/***/ ((module) => {
function _arrayWithHoles(arr) {
if (Array.isArray(arr)) return arr;
}
module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/***/ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js":
/*!***********************************************************************!*\
!*** ../node_modules/@babel/runtime/helpers/assertThisInitialized.js ***!
\***********************************************************************/
/***/ ((module) => {
function _assertThisInitialized(self) {
if (self === void 0) {
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}
return self;
}
module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/***/ "../node_modules/@babel/runtime/helpers/asyncToGenerator.js":
/*!******************************************************************!*\
!*** ../node_modules/@babel/runtime/helpers/asyncToGenerator.js ***!
\******************************************************************/
/***/ ((module) => {
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
try {
var info = gen[key](arg);
var value = info.value;
} catch (error) {
reject(error);
return;
}
if (info.done) {
resolve(value);
} else {
Promise.resolve(value).then(_next, _throw);
}
}
function _asyncToGenerator(fn) {
return function () {
var self = this,
args = arguments;
return new Promise(function (resolve, reject) {
var gen = fn.apply(self, args);
function _next(value) {
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
}
function _throw(err) {
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
}
_next(undefined);
});
};
}
module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/***/ "../node_modules/@babel/runtime/helpers/classCallCheck.js":
/*!****************************************************************!*\
!*** ../node_modules/@babel/runtime/helpers/classCallCheck.js ***!
\****************************************************************/
/***/ ((module) => {
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}
module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/***/ "../node_modules/@babel/runtime/helpers/construct.js":
/*!***********************************************************!*\
!*** ../node_modules/@babel/runtime/helpers/construct.js ***!
\***********************************************************/
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js");
var isNativeReflectConstruct = __webpack_require__(/*! ./isNativeReflectConstruct.js */ "../node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js");
function _construct(t, e, r) {
if (isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);
var o = [null];
o.push.apply(o, e);
var p = new (t.bind.apply(t, o))();
return r && setPrototypeOf(p, r.prototype), p;
}
module.exports = _construct, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/***/ "../node_modules/@babel/runtime/helpers/createClass.js":
/*!*************************************************************!*\
!*** ../node_modules/@babel/runtime/helpers/createClass.js ***!
\*************************************************************/
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../node_modules/@babel/runtime/helpers/toPropertyKey.js");
function _defineProperties(target, props) {
for (var i = 0; i < props.length; i++) {
var descriptor = props[i];
descriptor.enumerable = descriptor.enumerable || false;
descriptor.configurable = true;
if ("value" in descriptor) descriptor.writable = true;
Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
}
}
function _createClass(Constructor, protoProps, staticProps) {
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
if (staticProps) _defineProperties(Constructor, staticProps);
Object.defineProperty(Constructor, "prototype", {
writable: false
});
return Constructor;
}
module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/***/ "../node_modules/@babel/runtime/helpers/defineProperty.js":
/*!****************************************************************!*\
!*** ../node_modules/@babel/runtime/helpers/defineProperty.js ***!
\****************************************************************/
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../node_modules/@babel/runtime/helpers/toPropertyKey.js");
function _defineProperty(obj, key, value) {
key = toPropertyKey(key);
if (key in obj) {
Object.defineProperty(obj, key, {
value: value,
enumerable: true,
configurable: true,
writable: true
});
} else {
obj[key] = value;
}
return obj;
}
module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/***/ "../node_modules/@babel/runtime/helpers/get.js":
/*!*****************************************************!*\
!*** ../node_modules/@babel/runtime/helpers/get.js ***!
\*****************************************************/
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
var superPropBase = __webpack_require__(/*! ./superPropBase.js */ "../node_modules/@babel/runtime/helpers/superPropBase.js");
function _get() {
if (typeof Reflect !== "undefined" && Reflect.get) {
module.exports = _get = Reflect.get.bind(), module.exports.__esModule = true, module.exports["default"] = module.exports;
} else {
module.exports = _get = function _get(target, property, receiver) {
var base = superPropBase(target, property);
if (!base) return;
var desc = Object.getOwnPropertyDescriptor(base, property);
if (desc.get) {
return desc.get.call(arguments.length < 3 ? target : receiver);
}
return desc.value;
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
}
return _get.apply(this, arguments);
}
module.exports = _get, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/***/ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js":
/*!****************************************************************!*\
!*** ../node_modules/@babel/runtime/helpers/getPrototypeOf.js ***!
\****************************************************************/
/***/ ((module) => {
function _getPrototypeOf(o) {
module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
return o.__proto__ || Object.getPrototypeOf(o);
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
return _getPrototypeOf(o);
}
module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/***/ "../node_modules/@babel/runtime/helpers/inherits.js":
/*!**********************************************************!*\
!*** ../node_modules/@babel/runtime/helpers/inherits.js ***!
\**********************************************************/
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js");
function _inherits(subClass, superClass) {
if (typeof superClass !== "function" && superClass !== null) {
throw new TypeError("Super expression must either be null or a function");
}
subClass.prototype = Object.create(superClass && superClass.prototype, {
constructor: {
value: subClass,
writable: true,
configurable: true
}
});
Object.defineProperty(subClass, "prototype", {
writable: false
});
if (superClass) setPrototypeOf(subClass, superClass);
}
module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/***/ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js":
/*!***********************************************************************!*\
!*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***!
\***********************************************************************/
/***/ ((module) => {
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : {
"default": obj
};
}
module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/***/ "../node_modules/@babel/runtime/helpers/isNativeFunction.js":
/*!******************************************************************!*\
!*** ../node_modules/@babel/runtime/helpers/isNativeFunction.js ***!
\******************************************************************/
/***/ ((module) => {
function _isNativeFunction(fn) {
try {
return Function.toString.call(fn).indexOf("[native code]") !== -1;
} catch (e) {
return typeof fn === "function";
}
}
module.exports = _isNativeFunction, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/***/ "../node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js":
/*!**************************************************************************!*\
!*** ../node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js ***!
\**************************************************************************/
/***/ ((module) => {
function _isNativeReflectConstruct() {
try {
var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
} catch (t) {}
return (module.exports = _isNativeReflectConstruct = function _isNativeReflectConstruct() {
return !!t;
}, module.exports.__esModule = true, module.exports["default"] = module.exports)();
}
module.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/***/ "../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js":
/*!**********************************************************************!*\
!*** ../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***!
\**********************************************************************/
/***/ ((module) => {
function _iterableToArrayLimit(r, l) {
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
if (null != t) {
var e,
n,
i,
u,
a = [],
f = !0,
o = !1;
try {
if (i = (t = t.call(r)).next, 0 === l) {
if (Object(t) !== t) return;
f = !1;
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
} catch (r) {
o = !0, n = r;
} finally {
try {
if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
} finally {
if (o) throw n;
}
}
return a;
}
}
module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/***/ "../node_modules/@babel/runtime/helpers/nonIterableRest.js":
/*!*****************************************************************!*\
!*** ../node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
\*****************************************************************/
/***/ ((module) => {
function _nonIterableRest() {
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/***/ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js":
/*!***************************************************************************!*\
!*** ../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***!
\***************************************************************************/
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]);
var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js");
function _possibleConstructorReturn(self, call) {
if (call && (_typeof(call) === "object" || typeof call === "function")) {
return call;
} else if (call !== void 0) {
throw new TypeError("Derived constructors may only return object or undefined");
}
return assertThisInitialized(self);
}
module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/***/ "../node_modules/@babel/runtime/helpers/regeneratorRuntime.js":
/*!********************************************************************!*\
!*** ../node_modules/@babel/runtime/helpers/regeneratorRuntime.js ***!
\********************************************************************/
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]);
function _regeneratorRuntime() {
"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
return e;
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
var t,
e = {},
r = Object.prototype,
n = r.hasOwnProperty,
o = Object.defineProperty || function (t, e, r) {
t[e] = r.value;
},
i = "function" == typeof Symbol ? Symbol : {},
a = i.iterator || "@@iterator",
c = i.asyncIterator || "@@asyncIterator",
u = i.toStringTag || "@@toStringTag";
function define(t, e, r) {
return Object.defineProperty(t, e, {
value: r,
enumerable: !0,
configurable: !0,
writable: !0
}), t[e];
}
try {
define({}, "");
} catch (t) {
define = function define(t, e, r) {
return t[e] = r;
};
}
function wrap(t, e, r, n) {
var i = e && e.prototype instanceof Generator ? e : Generator,
a = Object.create(i.prototype),
c = new Context(n || []);
return o(a, "_invoke", {
value: makeInvokeMethod(t, r, c)
}), a;
}
function tryCatch(t, e, r) {
try {
return {
type: "normal",
arg: t.call(e, r)
};
} catch (t) {
return {
type: "throw",
arg: t
};
}
}
e.wrap = wrap;
var h = "suspendedStart",
l = "suspendedYield",
f = "executing",
s = "completed",
y = {};
function Generator() {}
function GeneratorFunction() {}
function GeneratorFunctionPrototype() {}
var p = {};
define(p, a, function () {
return this;
});
var d = Object.getPrototypeOf,
v = d && d(d(values([])));
v && v !== r && n.call(v, a) && (p = v);
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
function defineIteratorMethods(t) {
["next", "throw", "return"].forEach(function (e) {
define(t, e, function (t) {
return this._invoke(e, t);
});
});
}
function AsyncIterator(t, e) {
function invoke(r, o, i, a) {
var c = tryCatch(t[r], t, o);
if ("throw" !== c.type) {
var u = c.arg,
h = u.value;
return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
invoke("next", t, i, a);
}, function (t) {
invoke("throw", t, i, a);
}) : e.resolve(h).then(function (t) {
u.value = t, i(u);
}, function (t) {
return invoke("throw", t, i, a);
});
}
a(c.arg);
}
var r;
o(this, "_invoke", {
value: function value(t, n) {
function callInvokeWithMethodAndArg() {
return new e(function (e, r) {
invoke(t, n, e, r);
});
}
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
}
});
}
function makeInvokeMethod(e, r, n) {
var o = h;
return function (i, a) {
if (o === f) throw new Error("Generator is already running");
if (o === s) {
if ("throw" === i) throw a;
return {
value: t,
done: !0
};
}
for (n.method = i, n.arg = a;;) {
var c = n.delegate;
if (c) {
var u = maybeInvokeDelegate(c, n);
if (u) {
if (u === y) continue;
return u;
}
}
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
if (o === h) throw o = s, n.arg;
n.dispatchException(n.arg);
} else "return" === n.method && n.abrupt("return", n.arg);
o = f;
var p = tryCatch(e, r, n);
if ("normal" === p.type) {
if (o = n.done ? s : l, p.arg === y) continue;
return {
value: p.arg,
done: n.done
};
}
"throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
}
};
}
function maybeInvokeDelegate(e, r) {
var n = r.method,
o = e.iterator[n];
if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
var i = tryCatch(o, e.iterator, r.arg);
if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
var a = i.arg;
return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
}
function pushTryEntry(t) {
var e = {
tryLoc: t[0]
};
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
}
function resetTryEntry(t) {
var e = t.completion || {};
e.type = "normal", delete e.arg, t.completion = e;
}
function Context(t) {
this.tryEntries = [{
tryLoc: "root"
}], t.forEach(pushTryEntry, this), this.reset(!0);
}
function values(e) {
if (e || "" === e) {
var r = e[a];
if (r) return r.call(e);
if ("function" == typeof e.next) return e;
if (!isNaN(e.length)) {
var o = -1,
i = function next() {
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
return next.value = t, next.done = !0, next;
};
return i.next = i;
}
}
throw new TypeError(_typeof(e) + " is not iterable");
}
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
value: GeneratorFunctionPrototype,
configurable: !0
}), o(GeneratorFunctionPrototype, "constructor", {
value: GeneratorFunction,
configurable: !0
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
var e = "function" == typeof t && t.constructor;
return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
}, e.mark = function (t) {
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
}, e.awrap = function (t) {
return {
__await: t
};
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
return this;
}), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
void 0 === i && (i = Promise);
var a = new AsyncIterator(wrap(t, r, n, o), i);
return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
return t.done ? t.value : a.next();
});
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
return this;
}), define(g, "toString", function () {
return "[object Generator]";
}), e.keys = function (t) {
var e = Object(t),
r = [];
for (var n in e) r.push(n);
return r.reverse(), function next() {
for (; r.length;) {
var t = r.pop();
if (t in e) return next.value = t, next.done = !1, next;
}
return next.done = !0, next;
};
}, e.values = values, Context.prototype = {
constructor: Context,
reset: function reset(e) {
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
},
stop: function stop() {
this.done = !0;
var t = this.tryEntries[0].completion;
if ("throw" === t.type) throw t.arg;
return this.rval;
},
dispatchException: function dispatchException(e) {
if (this.done) throw e;
var r = this;
function handle(n, o) {
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
}
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
var i = this.tryEntries[o],
a = i.completion;
if ("root" === i.tryLoc) return handle("end");
if (i.tryLoc <= this.prev) {
var c = n.call(i, "catchLoc"),
u = n.call(i, "finallyLoc");
if (c && u) {
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
} else if (c) {
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
} else {
if (!u) throw new Error("try statement without catch or finally");
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
}
}
}
},
abrupt: function abrupt(t, e) {
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
var o = this.tryEntries[r];
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
var i = o;
break;
}
}
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
var a = i ? i.completion : {};
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
},
complete: function complete(t, e) {
if ("throw" === t.type) throw t.arg;
return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
},
finish: function finish(t) {
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
var r = this.tryEntries[e];
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
}
},
"catch": function _catch(t) {
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
var r = this.tryEntries[e];
if (r.tryLoc === t) {
var n = r.completion;
if ("throw" === n.type) {
var o = n.arg;
resetTryEntry(r);
}
return o;
}
}
throw new Error("illegal catch attempt");
},
delegateYield: function delegateYield(e, r, n) {
return this.delegate = {
iterator: values(e),
resultName: r,
nextLoc: n
}, "next" === this.method && (this.arg = t), y;
}
}, e;
}
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/***/ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js":
/*!****************************************************************!*\
!*** ../node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
\****************************************************************/
/***/ ((module) => {
function _setPrototypeOf(o, p) {
module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
o.__proto__ = p;
return o;
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
return _setPrototypeOf(o, p);
}
module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/***/ "../node_modules/@babel/runtime/helpers/slicedToArray.js":
/*!***************************************************************!*\
!*** ../node_modules/@babel/runtime/helpers/slicedToArray.js ***!
\***************************************************************/
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../node_modules/@babel/runtime/helpers/arrayWithHoles.js");
var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ "../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js");
var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js");
var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../node_modules/@babel/runtime/helpers/nonIterableRest.js");
function _slicedToArray(arr, i) {
return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
}
module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/***/ "../node_modules/@babel/runtime/helpers/superPropBase.js":
/*!***************************************************************!*\
!*** ../node_modules/@babel/runtime/helpers/superPropBase.js ***!
\***************************************************************/
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
var getPrototypeOf = __webpack_require__(/*! ./getPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js");
function _superPropBase(object, property) {
while (!Object.prototype.hasOwnProperty.call(object, property)) {
object = getPrototypeOf(object);
if (object === null) break;
}
return object;
}
module.exports = _superPropBase, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/***/ "../node_modules/@babel/runtime/helpers/toPrimitive.js":
/*!*************************************************************!*\
!*** ../node_modules/@babel/runtime/helpers/toPrimitive.js ***!
\*************************************************************/
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]);
function toPrimitive(t, r) {
if ("object" != _typeof(t) || !t) return t;
var e = t[Symbol.toPrimitive];
if (void 0 !== e) {
var i = e.call(t, r || "default");
if ("object" != _typeof(i)) return i;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return ("string" === r ? String : Number)(t);
}
module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/***/ "../node_modules/@babel/runtime/helpers/toPropertyKey.js":
/*!***************************************************************!*\
!*** ../node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
\***************************************************************/
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]);
var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../node_modules/@babel/runtime/helpers/toPrimitive.js");
function toPropertyKey(t) {
var i = toPrimitive(t, "string");
return "symbol" == _typeof(i) ? i : String(i);
}
module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/***/ "../node_modules/@babel/runtime/helpers/typeof.js":
/*!********************************************************!*\
!*** ../node_modules/@babel/runtime/helpers/typeof.js ***!
\********************************************************/
/***/ ((module) => {
function _typeof(o) {
"@babel/helpers - typeof";
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
return typeof o;
} : function (o) {
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
}
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/***/ "../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js":
/*!****************************************************************************!*\
!*** ../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
\****************************************************************************/
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js");
function _unsupportedIterableToArray(o, minLen) {
if (!o) return;
if (typeof o === "string") return arrayLikeToArray(o, minLen);
var n = Object.prototype.toString.call(o).slice(8, -1);
if (n === "Object" && o.constructor) n = o.constructor.name;
if (n === "Map" || n === "Set") return Array.from(o);
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);
}
module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/***/ "../node_modules/@babel/runtime/helpers/wrapNativeSuper.js":
/*!*****************************************************************!*\
!*** ../node_modules/@babel/runtime/helpers/wrapNativeSuper.js ***!
\*****************************************************************/
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
var getPrototypeOf = __webpack_require__(/*! ./getPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js");
var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js");
var isNativeFunction = __webpack_require__(/*! ./isNativeFunction.js */ "../node_modules/@babel/runtime/helpers/isNativeFunction.js");
var construct = __webpack_require__(/*! ./construct.js */ "../node_modules/@babel/runtime/helpers/construct.js");
function _wrapNativeSuper(Class) {
var _cache = typeof Map === "function" ? new Map() : undefined;
module.exports = _wrapNativeSuper = function _wrapNativeSuper(Class) {
if (Class === null || !isNativeFunction(Class)) return Class;
if (typeof Class !== "function") {
throw new TypeError("Super expression must either be null or a function");
}
if (typeof _cache !== "undefined") {
if (_cache.has(Class)) return _cache.get(Class);
_cache.set(Class, Wrapper);
}
function Wrapper() {
return construct(Class, arguments, getPrototypeOf(this).constructor);
}
Wrapper.prototype = Object.create(Class.prototype, {
constructor: {
value: Wrapper,
enumerable: false,
writable: true,
configurable: true
}
});
return setPrototypeOf(Wrapper, Class);
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
return _wrapNativeSuper(Class);
}
module.exports = _wrapNativeSuper, module.exports.__esModule = true, module.exports["default"] = module.exports;
/***/ }),
/***/ "../node_modules/@babel/runtime/regenerator/index.js":
/*!***********************************************************!*\
!*** ../node_modules/@babel/runtime/regenerator/index.js ***!
\***********************************************************/
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
// TODO(Babel 8): Remove this file.
var runtime = __webpack_require__(/*! ../helpers/regeneratorRuntime */ "../node_modules/@babel/runtime/helpers/regeneratorRuntime.js")();
module.exports = runtime;
// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
try {
regeneratorRuntime = runtime;
} catch (accidentalStrictMode) {
if (typeof globalThis === "object") {
globalThis.regeneratorRuntime = runtime;
} else {
Function("r", "regeneratorRuntime = r")(runtime);
}
}
/***/ }),
/***/ "../node_modules/@babel/runtime/helpers/esm/defineProperty.js":
/*!********************************************************************!*\
!*** ../node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
\********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "default": () => (/* binding */ _defineProperty)
/* harmony export */ });
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
function _defineProperty(obj, key, value) {
key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(key);
if (key in obj) {
Object.defineProperty(obj, key, {
value: value,
enumerable: true,
configurable: true,
writable: true
});
} else {
obj[key] = value;
}
return obj;
}
/***/ }),
/***/ "../node_modules/@babel/runtime/helpers/esm/objectSpread2.js":
/*!*******************************************************************!*\
!*** ../node_modules/@babel/runtime/helpers/esm/objectSpread2.js ***!
\*******************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "default": () => (/* binding */ _objectSpread2)
/* harmony export */ });
/* harmony import */ var _defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./defineProperty.js */ "../node_modules/@babel/runtime/helpers/esm/defineProperty.js");
function ownKeys(e, r) {
var t = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var o = Object.getOwnPropertySymbols(e);
r && (o = o.filter(function (r) {
return Object.getOwnPropertyDescriptor(e, r).enumerable;
})), t.push.apply(t, o);
}
return t;
}
function _objectSpread2(e) {
for (var r = 1; r < arguments.length; r++) {
var t = null != arguments[r] ? arguments[r] : {};
r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
(0,_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__["default"])(e, r, t[r]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
});
}
return e;
}
/***/ }),
/***/ "../node_modules/@babel/runtime/helpers/esm/toPrimitive.js":
/*!*****************************************************************!*\
!*** ../node_modules/@babel/runtime/helpers/esm/toPrimitive.js ***!
\*****************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "default": () => (/* binding */ toPrimitive)
/* harmony export */ });
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/esm/typeof.js");
function toPrimitive(t, r) {
if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
var e = t[Symbol.toPrimitive];
if (void 0 !== e) {
var i = e.call(t, r || "default");
if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(i)) return i;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return ("string" === r ? String : Number)(t);
}
/***/ }),
/***/ "../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js":
/*!*******************************************************************!*\
!*** ../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js ***!
\*******************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "default": () => (/* binding */ toPropertyKey)
/* harmony export */ });
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/esm/typeof.js");
/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toPrimitive.js */ "../node_modules/@babel/runtime/helpers/esm/toPrimitive.js");
function toPropertyKey(t) {
var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__["default"])(t, "string");
return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(i) ? i : String(i);
}
/***/ }),
/***/ "../node_modules/@babel/runtime/helpers/esm/typeof.js":
/*!************************************************************!*\
!*** ../node_modules/@babel/runtime/helpers/esm/typeof.js ***!
\************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "default": () => (/* binding */ _typeof)
/* harmony export */ });
function _typeof(o) {
"@babel/helpers - typeof";
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
return typeof o;
} : function (o) {
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
}, _typeof(o);
}
/***/ }),
/***/ "../node_modules/@reduxjs/toolkit/node_modules/immer/dist/immer.esm.mjs":
/*!******************************************************************************!*\
!*** ../node_modules/@reduxjs/toolkit/node_modules/immer/dist/immer.esm.mjs ***!
\******************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ Immer: () => (/* binding */ un),
/* harmony export */ applyPatches: () => (/* binding */ pn),
/* harmony export */ castDraft: () => (/* binding */ K),
/* harmony export */ castImmutable: () => (/* binding */ $),
/* harmony export */ createDraft: () => (/* binding */ ln),
/* harmony export */ current: () => (/* binding */ R),
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */ enableAllPlugins: () => (/* binding */ J),
/* harmony export */ enableES5: () => (/* binding */ F),
/* harmony export */ enableMapSet: () => (/* binding */ C),
/* harmony export */ enablePatches: () => (/* binding */ T),
/* harmony export */ finishDraft: () => (/* binding */ dn),
/* harmony export */ freeze: () => (/* binding */ d),
/* harmony export */ immerable: () => (/* binding */ L),
/* harmony export */ isDraft: () => (/* binding */ r),
/* harmony export */ isDraftable: () => (/* binding */ t),
/* harmony export */ nothing: () => (/* binding */ H),
/* harmony export */ original: () => (/* binding */ e),
/* harmony export */ produce: () => (/* binding */ fn),
/* harmony export */ produceWithPatches: () => (/* binding */ cn),
/* harmony export */ setAutoFreeze: () => (/* binding */ sn),
/* harmony export */ setUseProxies: () => (/* binding */ vn)
/* harmony export */ });
function n(n){for(var r=arguments.length,t=Array(r>1?r-1:0),e=1;e
The post Türkiye’nin En Güvenilir Bahis Siteleri first appeared on SkillsSer.
]]>Güvenilir bir platform olan primebahis, kullanıcılarına yasal bir çerçeve içerisinde güvenli bir bahis oyun seçenekleri sunar. Gün geçmiyor ki BTK kısıtlamaları bir bahis sever sitesine daha uğramasın! Bahis severlerin sık sık karşılaştığı Bilişim Teknolojileri ve İletişim Kurum’u engellemeleri bugün de popüler canlı bahis sitesi Betroad giriş işlemlerini aksattı. Bittabi deneyimli bahisçilerin hepsi BahisKrallığı’nın varlığından haberdardı …
Bu sayede vakit ve para israfı yaşatan siteleri hızlıca ayırıp en iyi bahis siteleri ile gönül rahatlığı içerisinde bahis yapabilirsiniz. Spor bahis sitelerinin arasında ayrıcalıklı bir yere sahip olan kimi bahis siteleri, internet ortamında yığınla bulunan bahis sitelerinin hep bir adım önündedir. Şüphesiz bunun arkasında diğerlerinde toz yutturan iyi bahis teklifleri, yüksek oranlar, güvenilirlik ve sebatlı çalışmaları yatıyor.
Ana sayfasında, oyun seçeneklerini, kategori başlıkları ile gösteriyor. Slot başlığı, tüm slot oyunlarına ulaşılmasını sağlıyor ve giriş yapan kullanıcılar, oyun seçimini yapmaya başlayabiliyor. Slot oyunları hizmetlerini sunduğu sayfada, kategoriler başlığı ile tüm slot tiplerini, oyun sağlayıcıları başlığı ile slot oyunları oynanabilecek oyun yazılım firmalarını gösteriyor. Spor bahisleri sütununda gösterilen tüm maçlar için maç öncesi tahminler ve bahis oranları gösteriliyor. Bahis seçenekleri arasında, futbol, buz hokeyi, basketbol, voleybol, tenis, su topu, ragbi, bilardo gibi tüm spor branşları yer alıyor. Tüm maçlar listesinde, hangi branşta kaç bahis seçeneğinin olduğu da gösteriliyor.
Kullanıcılar, oyun türüne ya da oyun krupiyesine göre oyun masalarını seçebiliyor ve oyna butonu ile oyun girişlerini yapabiliyor. Canlı oyunların tümü Türkçe sunuluyor ve kullanıcılar işlemlerini güvenli bir şekilde sürdürebiliyor. Binlerce slot oyun seçeneği ile en iyi seçenekleri sunduğu için kullanıcılar, slot oyunlarını, oyunlar başlığı yanındaki arama butonunu kullanarak bulabiliyor.
Hal böyle olunca dolandırıcılık olaylarının sayısında da artış meydana geliyor. Bitcoin bahis sitelerine para yatırmadan önce sitenin lisans bilgilerini araştırmayı, site hakkında detaylı kullanıcı yorumlarını okumayı unutmayın. Aynı şekilde sitemizde yer alan bahis site incelemelerinde de detayları takip edebilir, bahis siteleri aklınıza takılan soru ve sorunları yorum bölümümüze bırakabilirsiniz. Bir spor bahis sitesi, spor etkinliklerinin sonucuna bahis oynamanıza izin veren bir platformdur.
Ancak doğru ve güvenilir bir bahis platformu seçmek, bu sürecin en kritik adımıdır. Güvenilir olmayan bir site seçmek, hem maddi kayıplara hem de kişisel bilgilerinizi riske atmanıza neden olabilir. Bu makalede, bahis sitelerinin güvenilirlik kriterleri, nasıl doğru bir seçim yapılması gerektiği ve en iyi platformların özellikleri hakkında detaylı bilgiler bulacaksınız. Hedefimiz, sizi en güvenilir ve kazançlı platformlarla buluşturmak ve bahis deneyiminizi en üst seviyeye çıkarmaktır. Bets10, Türkiye’deki bahis severlerin en çok tercih ettiği platformlardan biri olarak öne çıkıyor. Malta Gaming Authority lisansıyla hizmet veren site, güçlü altyapısı ve kullanıcı dostu arayüzüyle dikkat çekiyor.
Birleşik krallık’ta yani kısacası İngiltere’de bahis pazarında güvenilir ortam oluşması için tüm dünyada geçerli Gambling Commission adlı bir kurum kuruldu. Bu kurum bahis oynayan herkes tarafından adil oynatılması ve oynanması için denetleme yapan resmi bir kuruluştur. Detaylı olarak araştırıp ve incelediğimiz güvenilir firmaları sizlere şu şekilde iletebiliriz. İnternetin hayatımıza girmesiyle birlikte bahis severlerde yönlerini daha çok avantajla daha kolay para kazanabilecekleri bahis sektörüne çevirdiler.
The post Türkiye’nin En Güvenilir Bahis Siteleri first appeared on SkillsSer.
]]>The post Türkiye’deki Yasal Canlı Bahis-İddaa Siteleri 2022 Listesi first appeared on SkillsSer.
]]>İptal işleminiz tamamlandığında üyeliğinizde kayıtlı olan E-posta ve GSM numaranız üzerinden sizi bilgilendireceğiz. Hizmetlerimizden kesintisiz bir şekilde yararlanmaya devam etmek için lütfen telefon numaranızı giriniz ve doğrulayınız. Sistemde kayıtlı doğrulanmış telefon numaranız güvenlik süreçlerinin önemli bir parçasıdır. Nesine’den e-posta alabilmeniz için, kullanmak istediğiniz e-posta adresinizi girerek lütfen e-posta doğrulama işlemini tamamlayınız. Bu karşılaştırma için 4 yarış seçtik ve rastgele bir at için olan oranları, daha sonraysa sunulan bütün çeşitli fiyatları karşılaştırdık.
Android, iOS ya da başka bir işletim sistemi kullanıyor olmanız önemli değil, burada mobil cihazınız için en iyi uygulamayı bulabilirsiniz. Primebahis giriş sayfası erişimlerini yapan kullanıcılar, yeni üye olacakları zaman, önce lisans bilgilerini sorgulayabiliyor. Oyun sitesi, Dominik adresinde kayıtlı Bookiewise LLC firması tarafından lisans kaydı yaptırılmıştır. Global Casino Gamble LLC tarafından lisanslandırılan oyun sitesi için B2C-32997/GGLV lisans numarası verilmiştir. Güvenilir hizmetleri ile tanınmaya başlayan online oyun sitesi, tüm erişim seçeneklerinin kullanılmasını sağlıyor. Mobil erişim yapılabiliyor ve kullanıcılar, cep telefonlarından online oyunlarla ilgili işlemlerini yapabiliyor.
Forumlarda, sosyal medyada ve bahis inceleme sitelerinde yer alan kullanıcı deneyimleri, platformun güvenilirliği hakkında değerli bilgiler sağlar. Bahis dünyasında güvenilir ve kaliteli bir site seçmek, hem kazanma şansınızı artırır hem de keyifli bir bahis deneyimi sunar. Bu makalede, bahis sitelerinin güvenilirlik kriterleri, en iyi platformların özellikleri ve doğru site seçimi için dikkat edilmesi gereken noktaları ele aldık. Amacımız, okuyucuların güvenli ve keyifli bir bahis deneyimi yaşamasını sağlamak ve doğru platformları bulmalarına yardımcı olmaktır. Unutmayın, bahis dünyasında başarılı olmanın anahtarı, doğru seçimler yapmak ve güvenilir sitelerle çalışmaktan geçer.
Hemen her spor müsabakası için çeşitli bahis seçenekleri ve en yüksek bahis oranları sunulmaktadır. Kullanıcılar yüksek bahis oranları ile sınırsız bir bahis deneyimini Süperbahis ile yaşayabilmektedir. Trbet bahis seçenekleri ile kullanıcılarını memnun eden sitelerin başında geliyor. Futbol başta olmak üzere basketbol, voleybol, hentbol, tenis, bilardo gibi daha pek çok spor müsabakasına yer veren sitede bahis seçenekleri de çok fazladır. Bahis seçenekleri çok fazla olan sitede bahis oranları da Türkçe bahis sitelerine oranla çok fazladır.
Bakman gereken noktalar başlıca bonuslar, spor dalları, marketler, dizayn, oranlar, ödeme seçenekleri, müşteri hizmetleri ve mobil uygulama olarak sıralanabilir. Bahis dünyasında güvenli ve keyifli bir deneyim için doğru platformu seçmek büyük önem taşır. Bu rehberde incelediğimiz siteler, lisanslı ve güvenilir bahis hizmeti sunan, kullanıcı memnuniyetini ön planda tutan platformlardır. Tercih yaparken kendi önceliklerinizi ve beklentilerinizi göz önünde bulundurarak, size en uygun bahis sitesini seçebilirsiniz. Güvenilir bahis siteleri, çeşitli ve güvenli ödeme yöntemleri sunar. Banka havalesi, kredi kartı, elektronik cüzdanlar ve kripto para birimleri gibi farklı seçenekler sunması, kullanıcıların ihtiyaçlarına göre en uygun yöntemi seçebilmesini sağlar.
Primebahis online bahis siteleri bahis ve casino oyun hizmetlerinde, tüm kullanıcılara canlı destek hattı hizmetleri sunuluyor. Müşteri temsilcileri ile canlı sohbet etme imkanı sunan canlı destek hattı, kullanıcı adı bilgisine sahip olan her kullanıcının destek hizmetlerinden faydalanmasını sağlıyor. Bu link bilgisini masaüstü ya da mobil cihaz erişimlerinde tıklayanlar, bahis sitesini, son güncel giriş adresi ile açabiliyor. Hangi platformdan giriş yapılmışsa, oyun sitesi o platformda açılıyor ve kullanıcının güncel adresi öğrenmesi, açılan sayfada, online oyun işlemlerini yapmaya başlamasını sağlıyor. Primebahis online oyun sitesi, dünyanın belirli ülkeleri haricinde, tüm ülkelerdeki oyun severlerin üyeliklerini kabul eden, uluslararası bahis lisansına sahip oyun platformudur.
Minimal ve kullanıcı dostu arayüzü, hızlı ödeme sistemleri ve zengin bonus seçenekleriyle tercih ediliyor. Online oyun sektörünün en iyi casino oyun sağlayıcı firması olan Betsoft, online oyun hizmetleri ile tüm kullanıcılara hizmet seçenekleri sunuyor. Video Poker özelinde Jacks or Better MH, Deuces Wild MH, Joker Poker MH, Jack Poker oyunları mevcuttur. Canlı İddaa, bir spor karşılaşmasının başlamasıyla birlikte oynanmaya başlayan ve bu spor karşılaşmasının bitmesiyle sona eren, İddaa oyun türüdür. Canlı İddaa’yı 18 yaşını doldurmuş her Türkiye Cumhuriyeti vatandaşı ve Türkiye Cumhuriyeti tarafından verilen Yabancı Kimlik Numara sahibi kişiler oynayabilir.
The post Türkiye’deki Yasal Canlı Bahis-İddaa Siteleri 2022 Listesi first appeared on SkillsSer.
]]>The post Jk8 Online Casino in Malaysia Registration Guide.1768 first appeared on SkillsSer.
]]>
In the world of online gaming, Malaysia has emerged as a hub for online casinos, with numerous platforms vying for the attention of players. Among the many options available, Jk8 Online Casino has gained popularity for its user-friendly interface, exciting games, and attractive bonuses. If you’re interested in joining the Jk8 Online Casino community, this guide will walk you through the registration process, helping you get started with ease.
Before we dive into the registration process, it’s essential to understand the importance of choosing a reliable and licensed online casino. Jk8 Online Casino is licensed by the relevant authorities, ensuring a safe and secure gaming environment for its players. With this in mind, let’s proceed to the registration process.
To register at Jk8 Online Casino, follow these simple steps:
Step 1: jk8 download Download and Install the Jk8 App
Begin by downloading the Jk8 app from the official website or the app store. The app is available for both iOS and Android devices, making it accessible to a wide range of players. Once downloaded, install the app on your device, following the prompts to complete the installation process.
Step 2: Create an Account
Launch the Jk8 app and tap on the “Create Account” button. Fill in the required information, including your name, email address, and password. Make sure to choose a strong and unique password to ensure the security of your account.
Step 3: Verify Your Account
After creating your account, you’ll receive an email with a verification link. Click on the link to activate your account and complete the registration process. This step is crucial, as it ensures that your account is secure and ready for use.
Step 4: Make a Deposit and Start Playing
Once your account is verified, you can make a deposit using one of the available payment methods. Jk8 Online Casino offers a range of payment options, including credit cards, e-wallets, and bank transfers. After making a deposit, you can start playing your favorite games, including slots, table games, and live dealer games.
That’s it! With these simple steps, you can register and start playing at Jk8 Online Casino. Remember to always gamble responsibly and within your means. Good luck, and happy gaming!
Disclaimer: This guide is intended to provide general information and is not a substitute for professional advice. It is essential to understand the terms and conditions of Jk8 Online Casino before registering and playing. Players must be at least 18 years old to participate in online gaming activities.
To get started with Jk8 Online Casino in Malaysia, you need to sign-up and create an account. This is a straightforward process that requires some basic information. Here’s a step-by-step guide to help you through it:
First, go to the Jk8 Online Casino website and click on the “Sign-up” button. You will be redirected to a registration form that asks for your personal details, including your name, email address, and phone number.
Next, you will be asked to create a username and password. Make sure to choose a strong and unique password that is difficult to guess. You will also be required to confirm your password to ensure that you have entered it correctly.
After filling out the registration form, you will be asked to agree to the terms and conditions of the casino. This is an important step, as it ensures that you understand the rules and regulations of the casino and that you are aware of the risks involved in online gambling.
Once you have completed the registration process, you will receive an email confirmation from Jk8 Online Casino. This email will contain a link to activate your account. Click on the link to complete the activation process and start playing at the casino.
That’s it! You have now successfully created an account at Jk8 Online Casino in Malaysia. You can start playing your favorite games, including slots, table games, and live dealer games. Remember to always gamble responsibly and within your means.
After completing the registration process, the next step is to verify your account and make a deposit at Jk8 Online Casino in Malaysia. This is a crucial step to ensure that your account is secure and ready for use.
Verification of your account is a one-time process that requires you to provide some basic information, such as your name, email address, and phone number. This information will be used to verify your identity and ensure that you are who you claim to be.
Once you have completed the verification process, you can proceed to make a deposit at Jk8 Online Casino. To do this, simply log in to your account and click on the “Deposit” button. You will then be presented with a range of deposit options, including credit cards, e-wallets, and bank transfers.
At Jk8 Online Casino, we offer a range of deposit options to make it easy for you to fund your account. Our deposit options include:
Once you have selected your preferred deposit option, simply enter the amount you wish to deposit and follow the prompts to complete the transaction. Your account will be credited immediately, and you will be ready to start playing your favorite games at Jk8 Online Casino.
Remember, at Jk8 Online Casino, we are committed to providing a safe and secure gaming environment. That’s why we use the latest encryption technology to protect your personal and financial information. So, you can rest assured that your account is in good hands.
Now that you have successfully registered for a Jk8 account, it’s time to start playing and enjoying the games offered by Jk8 Malaysia. With a wide range of games to choose from, you’re sure to find something that suits your taste and preferences.
As a registered member, you can access the Jk8 app and start playing immediately. The Jk8 app is available for both iOS and Android devices, making it easy to play on-the-go. Simply download the app, log in with your Jk8 account, and start playing.
With Jk8, you’ll have access to a vast library of games, including slots, table games, and live dealer games. You can browse through the games by category or search for a specific game by name. Each game has its own unique features, bonuses, and jackpots, so be sure to check them out.
Popular Games
Some of the most popular games at Jk8 include:
These games are sure to provide hours of entertainment and excitement. And with new games being added regularly, you’ll always find something new to try.
Take Advantage of Bonuses and Promotions
Jk8 is committed to providing its members with the best possible gaming experience. To show their appreciation, Jk8 offers a range of bonuses and promotions to help you get started. From welcome bonuses to loyalty rewards, there’s always something to look forward to.
So what are you waiting for? Start playing and enjoying the games at Jk8 Malaysia today! With its user-friendly interface, wide range of games, and generous bonuses, Jk8 is the perfect online casino for anyone looking for a fun and exciting gaming experience.
The post Jk8 Online Casino in Malaysia Registration Guide.1768 first appeared on SkillsSer.
]]>The post Jk8 Online Casino in Malaysia Registration Guide.82 first appeared on SkillsSer.
]]>
In the world of online casinos, Jk8 has become a household name in Malaysia, offering an unparalleled gaming experience to its patrons. With its user-friendly interface, extensive game selection, and attractive bonuses, Jk8 has managed to carve a niche for itself in the competitive online casino market. However, with so many options available, it can be overwhelming for new players to navigate the process of signing up and getting started. This comprehensive guide aims to demystify the registration process, providing step-by-step instructions on how to join the Jk8 online casino in Malaysia.
Before we dive into the registration process, it’s essential to understand the benefits of playing at Jk8. The casino offers a wide range of games, including slots, table games, and live dealer games, all developed by top software providers. Additionally, Jk8 provides a secure and reliable gaming environment, ensuring that players’ personal and financial information remains protected. With its commitment to responsible gaming, Jk8 has implemented various measures to prevent problem gambling, making it an attractive option for players seeking a safe and enjoyable gaming experience.
So, how do you get started with Jk8? The registration process is straightforward and can be completed in a few simple steps. First, players need to visit the Jk8 website and click on the “Register” button. They will then be required to provide some basic information, including their name, email address, and password. Once this information is submitted, players will receive an email with a verification link, which they must click to activate their account. After verification, players can log in to their account and start exploring the various games and features offered by Jk8.
One of the key advantages of playing at Jk8 is its user-friendly mobile app, which allows players to access their accounts and play their favorite games on-the-go. The Jk8 app is available for both iOS and Android devices, making it easy for players to enjoy their favorite games anywhere, anytime. With its sleek design and intuitive interface, the Jk8 app provides an unparalleled gaming experience, allowing players to enjoy their favorite games without any hassle.
In conclusion, Jk8 Online Casino in Malaysia offers an exceptional gaming experience, with its extensive game selection, attractive bonuses, and user-friendly interface. By following the simple registration process outlined above, new players can easily join the Jk8 online casino and start enjoying the many benefits it has to offer. Whether you’re a seasoned player or a newcomer to the world of online casinos, Jk8 is an excellent choice, providing a secure, reliable, and enjoyable gaming experience.
Important Note: Players must be at least 21 years old to play at Jk8 Online Casino. It is also essential to ensure that online gambling is legal in your jurisdiction before playing at Jk8 or any other online casino.
Jk8 Online Casino is a popular online gaming platform that offers a wide range of exciting games and activities to its users. The platform is specifically designed for the Malaysian market, catering to the country’s unique gaming preferences and regulations. With Jk8 Online Casino, players can enjoy a variety of games, including slots, table games, and live dealer games, all from the comfort of their own homes.
Jk8 Online Casino is committed to providing a safe and secure gaming environment for its users. The platform uses advanced security measures to ensure that all transactions and personal data are protected. This includes the use of 128-bit SSL encryption, which is the industry standard for online security.
Jk8 Online Casino offers a vast array of games, including:
Slots: From classic fruit machines to modern video slots, Jk8 Online Casino has a wide selection of slots to choose from.
Table Games: Players can enjoy a range of table games, including blackjack, roulette, and baccarat.
Live Dealer Games: Jk8 Online Casino’s live dealer games allow players to interact with real dealers and other players in real-time, creating a more immersive gaming experience.
Jk8 Online Casino is constantly updating its game selection to ensure that players have access to the latest and greatest games. The platform is also committed to providing a fair and transparent gaming environment, with all games being regularly audited and tested to ensure that they meet the highest standards of fairness and integrity.
In addition to its wide range of games, Jk8 Online Casino also offers a range of promotions and bonuses to its users. These can include welcome bonuses, deposit bonuses, and loyalty rewards, all designed to enhance the gaming experience and provide players with more value for their money.
To get started with Jk8 online casino, you need to register an account. This process is straightforward and can be completed in a few simple steps. Here’s a step-by-step guide to help you register at Jk8 online casino:
Step 1: Go to the Jk8 Online Casino Website
Open a web browser and type in the URL of the Jk8 online casino website. You can do this by searching for “Jk8 online casino” on your favorite search engine.
Once you’re on the judiking Jk8 online casino website, look for the “Register” button at the top of the page. It’s usually located in the top right corner of the website. Click on this button to start the registration process.
Step 3: Fill in the Registration Form
You’ll be taken to a registration form where you’ll need to fill in some basic information. This includes your name, email address, phone number, and password. Make sure to fill in all the required fields accurately and completely.
Important: Make sure to choose a strong and unique password for your account.
Step 4: Verify Your Account
After filling in the registration form, you’ll need to verify your account. You can do this by clicking on the verification link sent to your email address. This will activate your account and allow you to start playing at Jk8 online casino.
Tip: Make sure to check your email inbox and spam folder for the verification email. If you don’t receive the email, you can contact Jk8 online casino support for assistance.
Step 5: Start Playing
Once your account is verified, you can start playing at Jk8 online casino. You can access the games lobby by clicking on the “Games” tab at the top of the page. From here, you can choose from a wide range of games, including slots, table games, and live dealer games.
By following these simple steps, you can register at Jk8 online casino and start playing your favorite games. Remember to always gamble responsibly and within your means. Good luck!
Jk8 online casino is a popular destination for gamers in Malaysia, offering a wide range of games and features that cater to different preferences and skill levels. In this section, we will explore the benefits and features of Jk8 online casino, helping you make an informed decision about joining the platform.
Jk8 online casino offers a user-friendly interface, making it easy for new players to navigate and start playing. The website is optimized for mobile devices, allowing players to access their favorite games on-the-go. The jk8 app is also available for download, providing a seamless gaming experience.
Jk8 online casino prioritizes security and reliability, ensuring that all transactions and gameplay are protected by advanced encryption technology. The platform is regularly audited and tested to ensure fairness and integrity, giving players peace of mind when playing their favorite games.
Wide Range of Games
Jk8 online casino features a vast library of games, including slots, table games, and live dealer games. The selection is constantly updated, with new titles being added regularly. Players can choose from a variety of genres, including classic slots, video slots, and progressive jackpots.
Competitive Bonuses and Promotions
Jk8 online casino offers a range of bonuses and promotions to attract new players and reward loyal ones. From welcome bonuses to reload bonuses, players can take advantage of various offers to boost their bankroll and enhance their gaming experience.
In addition to the benefits and features mentioned above, Jk8 online casino also offers a range of payment options, including credit cards, e-wallets, and bank transfers. The platform is available in multiple languages, making it accessible to a global audience. With its user-friendly interface, secure and reliable platform, wide range of games, and competitive bonuses and promotions, Jk8 online casino is an excellent choice for gamers in Malaysia and beyond.
The post Jk8 Online Casino in Malaysia Registration Guide.82 first appeared on SkillsSer.
]]>The post Big Bass Splash Slot Slot Features.109 first appeared on SkillsSer.
]]>
big bass splash is a highly acclaimed slot game developed by Pragmatic Play, a renowned game provider in the online gaming industry. This 5-reel, 3-row slot game is designed to provide an immersive gaming experience, with a unique theme and exciting features that set it apart from other slot games.
At its core, Big Bass Splash is a fishing-themed slot game, where players take on the role of an angler trying to catch the biggest bass in the lake. The game’s reels are set against a serene lake backdrop, complete with lily pads, water lilies, and a sunny sky. The game’s symbols are designed to resemble fishing gear, including fishing rods, lures, and even a giant bass.
One of the standout features of Big Bass Splash is its Wild symbol, which is represented by a giant bass. This symbol can substitute for any other symbol on the reels, except for the Scatter symbol, to help players create winning combinations. The game also features a Scatter symbol, which is represented by a fishing net. This symbol can trigger the game’s Free Spins feature, which can award players up to 20 free spins.
Another exciting feature of Big Bass Splash is its Fishing Bonus, which is triggered when players land three or more Scatter symbols on the reels. In this feature, players are taken to a new screen where they must use a fishing rod to catch as many bass as possible. The more bass caught, the higher the multiplier will be, up to a maximum of 10x. The feature can be retriggered, allowing players to catch even more bass and increase their winnings.
Big Bass Splash also features a range of other exciting features, including a Gamble feature, which allows players to double their winnings by guessing the color of a playing card. The game also features a range of betting options, allowing players to customize their betting strategy to suit their bankroll.
In conclusion, Big Bass Splash is a highly engaging and entertaining slot game that offers a range of exciting features and a unique theme. With its Wild symbol, Scatter symbol, Fishing Bonus, and Gamble feature, this game is sure to provide hours of entertainment for players of all levels. So, if you’re looking for a new slot game to try, Big Bass Splash is definitely worth considering.
In the Big Bass Splash slot, Wilds and Scatters play a crucial role in enhancing your gaming experience. These special symbols can help you land more wins and increase your chances of hitting the big one.
Wilds are symbols that can substitute for any other symbol on the reels, except for Scatters. In Big Bass Splash, the Wild symbol is represented by the game’s logo. When a Wild appears on the reels, it can help you complete winning combinations by replacing any missing symbols.
Scatters are symbols that can trigger bonus features and award you with free spins. In Big Bass Splash, the Scatter symbol is represented by the fishing reel icon. When three or more Scatters appear on the reels, you’ll trigger the Free Spins feature.
In Big Bass Splash, Wilds and Scatters work together to create more winning opportunities. By combining these special symbols, you can increase your chances of landing big wins and having a more exciting gaming experience.
Remember, in the world of Big Bass Splash, anything can happen, and with Wilds and Scatters on your side, you’ll be reeling in the big catches in no time!
In the Big Bass Splash Slot, players can trigger a thrilling feature that combines the excitement of free spins with the potential for massive wins. The Free Spins feature is activated when three or more Scatter symbols appear on the reels, awarding the player a minimum of 10 free spins.
During the free spins, all wins are multiplied by a random multiplier, which can range from 1x to 5x. This means that even small wins can become significant, and big wins can become truly life-changing. The multiplier is also applied to any additional free spins that are awarded, creating an opportunity for players to win big and often.
The multiplier in the Big Bass Splash Slot is a key element of the game’s excitement. It can appear at any time, even during the base game, and can significantly boost wins. The multiplier is also linked to the Wild symbol, which can appear on the reels to help create winning combinations.
When the Wild symbol appears, it can also trigger a re-spin, giving players another chance to win big. The re-spin is played with the same multiplier as the original spin, providing an opportunity for players to win even more. The multiplier can also be re-activated during the re-spin, creating a thrilling sequence of wins.
The combination of free spins and multipliers in the Big Bass Splash Slot creates a thrilling and unpredictable gaming experience. With the potential for massive wins and the excitement of the multiplier, this feature is sure to keep players on the edge of their seats.
The Big Bass Splash slot is known for its exciting features, and the Bonus Game and Progressive Jackpot are no exception. In the Bonus Game, players are taken to a new screen where they must help the big bass swim away from the hook. The goal is to collect as many fish as possible, with each fish awarding a prize. The more fish collected, the higher the prize.
The game also features a Progressive Jackpot, which is triggered randomly. When the jackpot is won, the player is awarded a life-changing sum of money. The Progressive Jackpot is linked to other slots, increasing the chances of winning.
But that’s not all – the Big Bass Splash slot also offers a Free Spins feature, where players can earn up to 20 free spins with a 3x multiplier. This feature can be re-triggered, giving players even more opportunities to win big.
With its exciting features, including the Bonus Game, Progressive Jackpot, and Free Spins, the Big Bass Splash slot is a must-play for any slot enthusiast. So, get ready to reel in the big wins and experience the thrill of the Big Bass Splash slot!
The post Big Bass Splash Slot Slot Features.109 first appeared on SkillsSer.
]]>The post Código de bono 1win – _Maximiza tus ganancias con nuestras ofertas exclusivas_ first appeared on SkillsSer.
]]>El mundo de las apuestas en línea se encuentra en constante evolución, y 1win se destaca por ofrecer incentivos atractivos que pueden llevar tus experiencias de juego a un nuevo nivel. Estos beneficios están 1win es confiable diseñados para brindar a los apostadores la oportunidad de maximizar el valor de sus inversiones. Descubrir cómo aprovechar al máximo estas estrategias es esencial para cualquier persona interesada en aumentar su potencial de beneficios.
Aprovechar las promociones disponibles es una técnica fundamental para los jugadores avanzados. Estas requieren estrategias específicas para optimizar cada oferta, desde la elección de los eventos deportivos más rentables hasta la gestión del bankroll de manera efectiva. Con un enfoque correcto, incluso las apuestas más pequeñas pueden generar rendimientos significativos.
No subestimes la importancia de estar atento a las nuevas promociones y eventos especiales. Aprovechando los momentos clave, como torneos o partidos de alta relevancia, puedes obtener un mayor retorno en tus apuestas. La clave radica en la planificación y en la selección cuidadosa de las oportunidades, siempre manteniendo el control sobre tus recursos.
Finalmente, informarse sobre las condiciones asociadas a cada oportunidad es crucial. Familiarizarse con los requisitos de apuesta y los plazos puede marcar una gran diferencia en el resultado de tus jugadas. Al integrar esta información en tu estrategia, estarás un paso más cerca de llevar tu experiencia de apuestas a lo más alto.
Para aprovechar al máximo las promociones disponibles en 1win, es crucial saber cómo utilizar el código promocional correctamente. Primero, asegúrate de tener una cuenta registrada en la plataforma. Si no has realizado el registro aún, completa el proceso inicial y proporciona la información requerida.
Una vez que estés en tu perfil, busca la sección destinada a las promociones o ajustes de la cuenta. Al acceder, localiza el campo designado para ingresar el código. Este paso es fundamental para activar los beneficios que deseas obtener.
Introduce el código en el espacio indicado, asegurándote de no cometer errores de escritura. Luego, confirma la acción para que el sistema valide la información. Si el código es aceptado, recibirás una notificación sobre la activación de la oferta que has ingresado.
Es recomendable revisar los términos y condiciones vinculados a la promoción. Así podrás entender las restricciones, plazos y requisitos necesarios para disfrutar plenamente de los beneficios. Ten en cuenta que algunos códigos pueden estar sujetos a cambios o tener limitaciones de uso, así que verifica la información detalladamente.
Después de completar el proceso, observa tu saldo o las recompensas que se hayan añadido a tu cuenta. Esto te permitirá confirmar que la operación ha sido exitosa y que puedes comenzar a usar los recursos obtenidos en tus actividades de juego.
Mantente actualizado sobre futuras promociones y códigos disponibles para maximizar tus oportunidades en la plataforma. Suscribirte a boletines o seguir las redes sociales de 1win puede ser una buena estrategia para no perderte ninguna oferta interesante.
Primero, accede al sitio web oficial del operador, asegurándote de que sea la dirección correcta. Esto garantizara una experiencia segura.
Una vez dentro, busca la sección de creación de cuenta o inscripción. Este paso es esencial para iniciar el proceso.
Completa el formulario requerido con información veraz. Normalmente, se te solicitará el nombre completo, correo electrónico y número de teléfono. Verifica que todos los datos sean exactos para evitar problemas en el futuro.
Al avanzar, localiza el campo específico donde se debe ingresar el código promocional. Presta atención a los posibles errores tipográficos que puedan invalidar la oferta.
Revisa todos los datos antes de confirmar el registro. Si todo está correcto, procede a enviar el formulario. Después, te llegará un correo de confirmación; asegúrate de seguir el enlace proporcionado para activar tu cuenta.
Por último, ingresa a tu perfil y verifica que el beneficio se haya aplicado correctamente. En caso de no sobrepasar este paso, contacta al servicio de atención al cliente para resolver cualquier inconveniente.
Al intentar activar una promoción en sitios de apuestas, es habitual cometer ciertos fallos. A continuación, se detallan los errores más frecuentes y estrategias para prevenirlos:
Para evitar inconvenientes, sigue estas recomendaciones:
Implementar estos consejos puede hacer que el proceso sea más fluido y evitar contratiempos indeseados.
En caso de que enfrentes dificultades al acceder a promociones o ciertas funcionalidades, sigue estos pasos para resolver el problema eficazmente.
Primero, verifica tu conexión a internet. Asegúrate de que la red esté operativa. A veces, una señal débil puede afectar el funcionamiento de la plataforma. Intenta reiniciar el router o cambiar a otra red si es posible.
Si el sitio no carga, prueba limpiar la caché del navegador. Esto puede aclarar conflictos derivados de datos acumulados. En la mayoría de los navegadores, puedes acceder a la opción a través de la configuración de privacidad y seguridad.
Revisa que estés utilizando la versión más reciente de tu navegador. Actualizaciones antiguas pueden causar incompatibilidades. Si es necesario, considera utilizar otro navegador para descartar el problema.
Asegúrate de que tu cuenta esté activa y sin restricciones. Accede a la sección de perfil o configuración para confirmar que no haya limitaciones en la cuenta que puedan estar bloqueando el acceso a las promociones.
Consulta las instrucciones específicas relacionadas con las ofertas que deseas aprovechar. A veces, los términos y condiciones pueden incluir requisitos que no has cumplido, lo que puede llevar a confusiones.
Si nada de lo anterior resuelve la situación, contacta al servicio de atención al cliente. Proporciona detalles precisos sobre el inconveniente. Muchos problemas pueden ser resueltos rápidamente con la ayuda de un representante capacitado.
1win ofrece una variedad de incentivos que permiten a los jugadores maximizar su experiencia en la plataforma. Al registrarte, puedes acceder a un 200% de aumento en tu primer depósito, una opción ideal para iniciar con buen pie. La clave está en realizar un ingreso que active esta promoción, asegurando que obtengas el máximo valor desde el principio.
Además, durante eventos deportivos importantes, 1win lanza promociones temporales que pueden incluir apuestas gratuitas. Estas apuestas no solo permiten incrementar tu participación sin riesgo, sino que también brindan la oportunidad de probar nuevas estrategias en diferentes disciplinas. Mantente atento a las actualizaciones en el sitio, ya que frecuentemente se presentan nuevos incentivos que no querrás perderte.
Para los jugadores recurrentes, la plataforma tiene un programa de recompensas donde los puntos acumulados pueden ser canjeados por créditos de juego o premios exclusivos. Es recomendable revisar periódicamente tu saldo de puntos para aprovechar al máximo estos beneficios. Cuanto más juegues, más recompensas podrás obtener.
No olvides estar al tanto de las ofertas especiales en fechas festivas o aniversarios de la plataforma, donde los incentivos pueden ser significativamente mejores. Suscribirte a notificaciones te ayudará a recibir información de las promociones más atractivas antes que otros jugadores.
Finalmente, siempre es útil leer los términos y condiciones asociados a cada promoción. Comprender estas reglas te permitirá realizar una mejor planificación y aprovechar al máximo cada característica disponible. ¡No dejes pasar la oportunidad de obtener valor extra durante tus sesiones de juego!
The post Código de bono 1win – _Maximiza tus ganancias con nuestras ofertas exclusivas_ first appeared on SkillsSer.
]]>The post Descubre el emocionante mundo de bet30 y gana a lo grande en el casino online first appeared on SkillsSer.
]]>El mundo de las apuestas en línea ha crecido exponencialmente en los últimos años, y uno de los protagonistas en este emocionante ámbito es bet30 casino online. Este casino virtual no solo ofrece una amplia variedad de juegos, sino que también brinda a sus usuarios la oportunidad de ganar a lo grande desde la comodidad de sus hogares. Con un diseño atractivo, bonificaciones generosas y un sistema de atención al cliente excepcional, bet30 se ha posicionado como una opción popular para jugadores de todas partes.
A medida que más personas descubren el potencial de las apuestas en línea, es importante entender cómo navegar en este entorno y aprovechar al máximo lo que ofrecen plataformas como bet30 casino online. Desde juegos clásicos como el póker y la ruleta hasta las más modernas máquinas tragamonedas, hay algo para todos. Además, las promociones y los bonos pueden hacer que la experiencia sea aún más emocionante y lucrativa.
En este artículo, exploraremos el emocionante mundo de bet30, descifrando los elementos clave que lo hacen destacar entre otros casinos en línea. Cubriremos todo lo que necesitas saber, desde la variedad de juegos y las estrategias de apuesta, hasta la seguridad y la atención al cliente, asegurando que tengas todas las herramientas necesarias para maximizar tus posibilidades de ganar.
Al final de esta lectura, no solo serás un experto en bet30, sino que también tendrás una visión completa de cómo disfrutar de una experiencia de juego segura y emocionante. Prepárate para adentrarte en este maravilloso mundo donde tus sueños de ganar a lo grande pueden hacerse realidad.
Así que, sin más preámbulos, descubrámoslo juntos y hagamos de tus apuestas una aventura inolvidable en bet30 casino online.
El bet30 casino online es un sitio de apuestas que ha capturado la atención de jugadores gracias a su interfaz amigable y su amplia gama de juegos. Esta plataforma, que ofrece tanto juegos de casino tradicionales como opciones innovadoras, se ha ganado la reputación de ser confiable y segura. Además, cuenta con licencias que garantizan un entorno de juego justo, lo cual es vital para los apostadores.
Un aspecto notable de bet30 es su compromiso con la experiencia del usuario. Los jugadores pueden acceder a una vasta biblioteca de juegos desde sus dispositivos móviles o computadoras. Esto significa que tienes la libertad de jugar en cualquier lugar y en cualquier momento, lo que lo convierte en una opción ideal para aquellos que llevan un estilo de vida ocupado.
Máquinas tragamonedas | Más de 100 |
Juegos de mesa | Ruleta, Blackjack, Póker |
Apuestas en vivo | Ofertas en tiempo real |
En bet30, la variedad de juegos es una de sus características más destacadas. Los jugadores pueden elegir entre una amplia gama que incluye desde los clásicos como la ruleta y el blackjack, hasta opciones más contemporáneas como las tragamonedas de vídeo. Cada tipo de juego ofrece una experiencia única, lo que permite a los jugadores explorar diferentes estrategias y estilos de juego.
Además, bet30 también ofrece juegos de casino en vivo, donde los jugadores pueden interactuar con crupieres reales a través de video streaming. Esta opción ha ganado gran popularidad, ya que proporciona una experiencia más inmersiva y auténtica. Sin duda, esta combinación de juegos hace que bet30 sea un destino atractivo para apostadores en línea.
Los bonos y promociones son una excelente manera de maximizar tus oportunidades en el bet30 casino online. Al registrarte, puedes acceder a un bono de bienvenida que te ofrece una cantidad adicional para jugar. Estas promociones no solo hacen que tu saldo crezca, sino que también te permiten probar nuevos juegos sin riesgo.
Además de los bonos iniciales, bet30 ofrece promociones regulares, como tiradas gratis en tragamonedas o bonificaciones por depósitos. Mantenerse informado sobre estas ofertas puede marcar la diferencia en la experiencia de juego, ya que te brinda más posibilidades de ganar sin necesidad de invertir más dinero.
El proceso de registro en bet30 es simple y directo, diseñado para que los nuevos jugadores puedan comenzar a disfrutar de la experiencia de inmediato. Primero, debes visitar su sitio web y hacer clic en el botón de registro. A continuación, se te pedirá que llenes un formulario con información básica como tu nombre, correo electrónico y fecha de nacimiento.
Es importante proporcionar información precisa, ya que esto no solo asegura tu registro, sino que también facilita el proceso de verificación más adelante. Una vez que hayas completado el formulario y aceptado los términos y condiciones, recibirás un correo electrónico de confirmación para finalizar tu registro. Con esto, estarás listo para realizar tu primer depósito y empezar a jugar.
Después de registrarte, el siguiente paso crucial es la verificación de tu cuenta. Este procedimiento es estándar en casinos en línea y se implementa para proteger tanto a los jugadores como a la empresa. En bet30, una vez que inicies sesión por primera vez, se te puede solicitar que envíes documentos que validen tu identidad.
Esto podría incluir una copia de tu documento de identidad y comprobantes de domicilio. Aunque puede parecer un obstáculo, este proceso es esencial para garantizar un entorno de juego seguro y reducir el riesgo de fraudes o actividades ilícitas.
Disponer de diversas opciones de pago es fundamental cuando se trata de casinos en línea. En bet30 casino online, los jugadores pueden elegir entre varias alternativas para realizar depósitos y retiros. Entre las opciones más comunes se encuentran tarjetas de crédito, billeteras electrónicas y transferencias bancarias. Cada método tiene sus propias ventajas, y es recomendable elegir el que mejor se adapte a tus necesidades.
Los depósitos son instantáneos en su mayoría, permitiéndote comenzar a jugar tan pronto como sea posible. Por otro lado, los tiempos de retiro pueden variar dependiendo del método seleccionado. Algunas opciones permiten retiros casi inmediatos, mientras que otras pueden tardar varios días en procesarse. Por lo tanto, es vital tener en cuenta estos tiempos al elegir cómo gestionar tu dinero en la plataforma.
La seguridad es un aspecto primordial en cualquier plataforma de apuestas en línea. Bet30 toma este aspecto muy en serio, implementando protocolos de cifrado para proteger la información personal y financiera de sus usuarios. Este cifrado asegura que los datos sensibles no puedan ser interceptados por terceros, proporcionando tranquilidad a los jugadores.
Además, su licencia de operación asegura que se rigen por estándares estrictos de seguridad y transparencia. Al elegir bet30, los jugadores pueden disfrutar de la experiencia de juego sabiendo que su información está segura y que siempre se les ofrecerá un entorno de juego justo.
Apostar puede ser tanto un arte como una ciencia, y en plataformas como bet30 casino online, es esencial contar con algunas estrategias que te ayuden a maximizar tus posibilidades de ganar. Primero, es importante conocer los juegos que eliges jugar, ya que cada uno tiene sus propias reglas y tácticas. Informarte sobre las probabilidades y la mecánica de cada juego puede proporcionarte una ventaja significativa.
Adicionalmente, establecer un presupuesto y ceñirte a él es crucial para evitar pérdidas innecesarias. Esto te permitirá jugar de manera responsable y prolongar tu experiencia de juego, disfrutando más de cada sesión. Recuerda que las apuestas deben ser una forma de entretenimiento, y jugar de manera consciente es fundamental.
El juego responsable es un concepto fundamental que todos los apostadores deben tener en cuenta. Bet30 promueve y proporciona recursos para ayudar a los jugadores a mantener un enfoque saludable hacia el juego. Esto incluye establecer límites de tiempo y dinero, así como reconocer señales de advertencia de comportamiento problemático.
Crear conciencia sobre el juego responsable es esencial, ya que permite a los jugadores disfrutar de sus apuestas sin que afecten negativamente otros aspectos de su vida. Si alguna vez sientes que la situación se escapa de control, bet30 ofrece herramientas como autoexclusión y opciones para enfriar tu cuenta, lo que demuestra su compromiso con la seguridad y el bienestar de sus usuarios.
La atención al cliente es un pilar esencial para cualquier casino en línea, y bet30 no decepciona en este aspecto. Ofrecen múltiples canales de comunicación, como chat en vivo, correo electrónico y, en algunos casos, asistencia telefónica. Esto significa que si encuentras algún problema o tienes preguntas, puedes obtener ayuda rápidamente, lo que mejora enormemente la experiencia del usuario.
Además, el personal de atención al cliente de bet30 está capacitado para resolver una amplia gama de problemas. Desde consultas sobre bonos y promociones hasta situaciones relacionadas con pagos, siempre estarán listos para ayudarte y garantizar que tu experiencia en la plataforma sea lo más placentera posible.
Una de las razones por las que bet30 se destaca es la variedad de vías de contacto disponibles para sus usuarios. Algunos de los canales principales incluyen:
Este enfoque en la accesibilidad y la efectividad garantiza que los jugadores se sientan apoyados en todo momento, dándoles la confianza para disfrutar de sus experiencias de juego.
En resumen, bet30 casino online ofrece un entorno dinámico y atractivo para los entusiastas de las apuestas. Desde su variada gama de juegos y atractivas promociones, hasta su enfoque en la seguridad y el juego responsable, es evidente que esta plataforma está diseñada pensando en el usuario. Si deseas explorar el emocionante mundo del juego en línea, bet30 casino online podría ser el destino perfecto para ti. Ya sea que seas un veterano o un principiante, las oportunidades de ganar a lo grande te esperan.
Así que no dudes en registrarte y comenzar tu aventura en este apasionante casino en línea. Recuerda jugar de manera responsable y disfrutar de cada momento en este emocionante viaje.
The post Descubre el emocionante mundo de bet30 y gana a lo grande en el casino online first appeared on SkillsSer.
]]>The post B7 Casino No Deposit Bonus.3427 (2) first appeared on SkillsSer.
]]>
Als je op zoek bent naar een unieke manier om te genieten van online gokken, dan is b7 casino de perfecte keuze. Dit populaire online casino biedt een brede verscheidenheid aan spellen, van klassieke fruitautomaten tot complexere videospelletjes. Maar het meest opvallende aan B7 Casino is zijn no deposit bonus. In deze review zullen we het geheim van succesvolle spelers onthullen en laten zien hoe je kunt profiteren van deze unieke bonus.
Waarom kiezen spelers voor B7 Casino? Het antwoord ligt in de combinatie van een brede spelkeuze, een veilige en betrouwbare omgeving en een unieke no deposit bonus. Het casino biedt een brede verscheidenheid aan spellen van topontwikkelaars, waaronder NetEnt, Microgaming en Play’n GO. Dit betekent dat je kunt genieten van de meest recente en populairste spellen, zonder dat je je hoeft te bekommeren om de kwaliteit.
Maar het meest opvallende aan B7 Casino is zijn no deposit bonus. Dit is een unieke manier om te beginnen met gokken, zonder dat je een deposit hoeft te doen. De bonus is beschikbaar voor nieuwe spelers en kan worden gebruikt om te spelen op een brede verscheidenheid aan spellen. Het enige wat je hoeft te doen is je account te registreren en de bonus te activeren.
Wat maakt B7 Casino zo succesvol? Het antwoord ligt in de combinatie van een brede spelkeuze, een veilige en betrouwbare omgeving en een unieke no deposit bonus. Het casino biedt een veilige en betrouwbare omgeving, waar je kunt genieten van de meest recente en populairste spellen. Bovendien biedt het casino een unieke no deposit bonus, die je kunt gebruiken om te spelen op een brede verscheidenheid aan spellen.
Conclusie: B7 Casino is de perfecte keuze voor spelers die op zoek zijn naar een unieke manier om te genieten van online gokken. Het casino biedt een brede verscheidenheid aan spellen, een veilige en betrouwbare omgeving en een unieke no deposit bonus. Dus waarom wachten? Registreer je account vandaag en begin met genieten van de meest recente en populairste spellen.
Tip: Zorg ervoor dat je de no deposit bonus actief houdt door het casino regelmatig te bezoeken en te spelen.
B7 Casino is een populaire keuze onder gokkers, maar het is belangrijk om te onthouden dat gokken risico’s inhoudt. Spelers dienen zich te houden aan de gokwetgeving in hun land en te spelen binnen hun budget.
B7 Casino is een populaire online casino die bekendstaat om zijn uitgebreide collectie van spellen en zijn aantrekkelijke promoties. Een van de meest populaire promoties is het no deposit bonus, dat nieuwe spelers een unieke kans geeft om te beginnen met spelen zonder enige inleg.
Het no deposit bonus is een soort bonus die nieuwe spelers kan worden gegeven zonder dat ze eerst een inleg moeten doen. Dit betekent dat nieuwe spelers een bedrag kunnen ontvangen om te spelen zonder dat ze eerst een inleg moeten doen. Dit is een unieke kans om te beginnen met spelen en om te zien of B7 Casino iets voor je is.
Het no deposit bonus is voor nieuwe spelers die voor het eerst bij B7 Casino inloggen. Het is een manier voor B7 Casino om nieuwe spelers te welkomen en om hen een unieke kans te geven om te beginnen met spelen.
Er zijn enkele voorwaarden die gelden voor het no deposit bonus. De meest belangrijke zijn:
Wanneer je een no deposit bonus ontvangt bij B7 Casino, kan je genieten van verschillende voordelen. Eén van de grootste voordelen is dat je geen eigen geld hoeft in te storten om te kunnen spelen. Dit betekent dat je kunt beginnen met spelen zonder dat je eigen geld wordt gebruikt.
Een andere voordeling is dat je kunt genieten van een gratis bonus, zonder dat je een inleg hoeft te doen. Dit is een unieke kans om te kunnen spelen en te kunnen winnen, zonder dat je eigen geld wordt gebruikt.
Echter, er zijn ook enkele voorwaarden verbonden aan het no deposit bonus. Eén van de belangrijkste voorwaarden is dat je een account moet openen bij B7 Casino om het bonus te kunnen ontvangen. Dit betekent dat je een geldig e-mailadres en een geldig wachtwoord moet hebben.
Een andere voorwaarde is dat je een minimum aantal spins moet maken om het bonus te kunnen cashen. Dit betekent dat je een minimum aantal spins moet maken om het bonus te kunnen gebruiken.
Bovendien is er een maximum winstlimiet verbonden aan het no deposit bonus. Dit betekent dat je niet meer dan een bepaalde hoeveelheid kunt winnen met het bonus.
In het algemeen is het no deposit bonus een unieke kans om te kunnen spelen en te kunnen winnen, zonder dat je eigen geld wordt gebruikt. Echter, er zijn enkele voorwaarden verbonden aan het bonus, die je moet naleven om het bonus te kunnen cashen.
Let op: Het no deposit bonus is slechts beschikbaar voor nieuwe spelers en kan worden geweigerd door B7 Casino. Bovendien zijn er enkele landen waar het no deposit bonus niet beschikbaar is. Controleer altijd de voorwaarden van het no deposit bonus voor meer informatie.
The post B7 Casino No Deposit Bonus.3427 (2) first appeared on SkillsSer.
]]>The post 7Slots Casino – gvenilir bir online casino.218 first appeared on SkillsSer.
]]>
7slots Casino, slot7 ve 7slot isimleriyle tanınan bu platform, oyun sevdiklerinin güvenilir ve profesyonel bir ortamda oynayabileceğini sağlar. 7slots giriş sayfasından rahatça erişilebilir ve çeşitli slot oyunları ile oyunçu deneyimlerini zenginleştirir. 7slots casino, güvenliği ve müşteri memnuniyeti konusunda öncü olma vizyonunu taşır ve bu nedenle her tür oyuncu için ideal bir seçenek olabilir. Slot 7 ve 7 slots casino isimleriyle tanınan bu platform, güvenilirlik ve güvenliği önceliğinde yer alır.
7slots, güvenilir bir online casino olarak tanınır ve bu platform, kullanıcıların güvenli bir ortamda oynayabileceğini ve kazançlarını güvenli bir şekilde kaydedebileceğini garanti eder. 7slot ismiyle de bilinen bu platform, oyun sevdiklerinin en iyi deneyimleri yaşayabileceğini sağlar. 7slots giriş sayfasından rahatça erişilebilir ve çeşitli slot oyunları ile oyunçu deneyimlerini zenginleştirir.
7 Slots Casino, oyunlar ve bonuslar açısından geniş bir sunum sunan güvenilir bir online casino’dur. Slot 7, 7slots casino, 7 slots ve 7slots giriş gibi terimler, bu platformun geniş bir kitleye hitap ettiği ve popüler olduğu bir gerçekleri vurgular. Slot7 ve 7 slots casino isimleri, kullanıcıların bu platformun slot oyunları konusunda geniş bir seçenek suntuğunu anlatır. 7slots ve 7slot terimleri de, kullanıcıların bu platforma giriş yapma ve oyun oynama sürecini belirtir.
7 Slots Casino, kullanıcıların güvenli bir ortamda oynayabilecekleri ve kazanımlarını güvenli bir şekilde kaydedebilecekleri bir platform olarak tanınmaktadır. Bu, platformun güvenilirliği ve güvenilirliğini gösteren önemli bir faktördür. 7slots giriş sayfası, kullanıcıların bu güvenli ortamda oyun oynama sürecini basitleştirir ve kolaylaştırır.
7 Slots Casino, kullanıcıların çeşitli oyunlar ve bonuslar aracılığıyla eğlenceli ve kazançlı bir deneyim yaşamasına olanak tanır. Bu, platformun güvenilirliği ve güvenilirliğini de artırır. Slot 7, 7slots casino, 7 slots ve 7slots giriş gibi terimler, bu platformun geniş bir kitleye hitap ettiği ve popüler olduğu bir gerçekleri vurgular.
7slots Casino, kullanıcıların bilgilerinin ve parasının güvenliğini önemine sahiptir. Bu nedenle, advanced şifreleme teknolojileri ve güvenlik protokolleri kullanılarak veri koruma politikaları uygulanır. Bankacılık standardlarına uygun SSL 128-bit şifreleme kullanılarak, kullanıcıların bilgilerinin ve para transferlerinin güvenli bir şekilde aktarılması garanti edilir.
7slots Casino, kullanıcıların hesap bilgilerini korumak için multi-factor authentication (MFA) sistemini de kullanır. Bu sistem, sadece şifre ile değil, telefon numarası veya e-posta adresi ile de kimlik doğrulaması sağlar. Bu, hesapların sadece sahiplerine erişilebilir hale getirilmesine yardımcı olur.
7slots Casino, kullanıcı verilerinin güvenliğini sağlamak için veri tabanına verilen erişimi sınırlar. Sadece gerekli personel ve sistem yöneticileri, verileri okuyabilir ve düzenleyebilir. Bu, veri tabanının sızma riskini azaltır ve kullanıcı bilgilerinin güvenliğini sağlar.
7slots Casino, kullanıcıların bilgilerinin ve parasının güvenliğini sağlamak için sürekli olarak güvenlik sistemlerini güncellemektedir. Bu, potansiyel güvenlik açıklarının tespit edilmesi ve giderilmesi için gerekli olan teknolojik ve insan kaynaklarını sağlar.
7slots giriş sayfasında, kullanıcıların güvenli bir şekilde giriş yapabilmeleri için gerekli güvenlik önlemleri uygulanır. Kullanıcı adı ve şifre kombinasyonları, şifreleme teknolojileri ile korunur ve sadece sahiplerine erişilebilir hale getirilir.
7slots Casino, çeşitli oyun türlerinden sizin için en iyi seçenekleri sunar. Slot 7, 7slots, 7slots casino ve 7slots giriş sayfalarında geniş bir oyun kataloğu bulabilirsiniz. Bu kataloğun içinde, klasik slotlar, video slotlar, bonus slotlar, live casino oyunları ve daha fazlası yer alır. Her kullanıcıya özel bir deneyim sunmak için, farklı seviyelerde ve tarzlarında oyunlar mevcuttur. 7slot oyunları, kullanıcı dostu arayüz ve hızlı yüklemeyi sağlar, böylece oyun oynarken beklemeleri azaltır.
The post 7Slots Casino – gvenilir bir online casino.218 first appeared on SkillsSer.
]]>The post Big Bass Splash Slot Tips and Strategies.252 first appeared on SkillsSer.
]]>
Are you ready to dive into the world of fishing and reel in some big wins? big bass splash slot , developed by Pragmatic Play, is a thrilling online slot game that combines the excitement of fishing with the thrill of winning. In this article, we’ll provide you with expert tips and strategies to help you land the big catch and maximize your winnings.
Big Bass Splash Slot is a 5-reel, 25-payline game that features a unique fishing theme. The game is set on a serene lake, complete with lily pads, water lilies, and a variety of fish swimming in the background. The game’s symbols include fishing gear, fish, and even a few surprises like a treasure chest and a boat.
One of the key features of Big Bass Splash Slot is its Wild symbol, which is represented by a big bass fish. This symbol can substitute for any other symbol on the reels, except for the Scatter symbol, to help you land winning combinations. The Scatter symbol, on the other hand, is represented by a fishing rod and can trigger the game’s Free Spins feature.
Speaking of the Free Spins feature, it’s one of the most exciting aspects of Big Bass Splash Slot. When you trigger this feature, you’ll be awarded a minimum of 10 free spins, during which all your wins will be multiplied by 3. The feature can be retriggered, giving you even more opportunities to land big wins.
So, how can you maximize your winnings on Big Bass Splash Slot? Here are a few expert tips to get you started:
Start with a solid understanding of the game’s rules and features. Take some time to familiarize yourself with the game’s paytable, symbols, and bonus features to ensure you’re making the most of your gameplay.
Take advantage of the game’s Free Spins feature. This feature can be triggered by landing three or more Scatter symbols on the reels, and it’s a great way to increase your winnings. Try to trigger the feature as often as possible to maximize your chances of landing big wins.
Use the game’s Autoplay feature to your advantage. This feature allows you to set the game to spin automatically for a set number of spins, which can be helpful if you’re short on time or want to take a break from the game. Just be sure to set a budget and stick to it to avoid overspending.
Keep an eye on your bankroll. It’s easy to get caught up in the excitement of the game, but it’s important to keep track of your bankroll and set a budget for yourself. This will help you avoid overspending and ensure you have enough funds to continue playing.
By following these expert tips and strategies, you’ll be well on your way to landing the big catch and maximizing your winnings on Big Bass Splash Slot. So, what are you waiting for? Dive into the world of fishing and start reeling in those big wins today!
In the Big Bass Splash slot, understanding the game’s mechanics is crucial to maximizing your winnings. The game’s reels are designed to mimic the thrill of reeling in a big catch, and mastering the reels requires a deep understanding of the game’s symbols, bonus features, and payout structure.
The game’s reels are divided into three sections: the main reels, the bonus reels, and the free spin reels. The main reels feature a variety of fish-themed symbols, including bass, catfish, and trout. These symbols can be combined in various ways to create winning combinations, with the highest paying symbol being the Big Bass Splash logo.
The bonus reels, on the other hand, are triggered by the appearance of three or more scatter symbols. When this happens, the player is awarded a number of free spins, during which all wins are multiplied by a certain factor. The free spin reels also feature a special “wild” symbol, which can substitute for any other symbol to create a winning combination.
Another key feature of the Big Bass Splash slot is its payout structure. The game offers a range of payout levels, from low to high, with the highest paying symbols offering the biggest wins. The game also features a “wild” symbol, which can appear on any of the reels to create a winning combination.
To master the reels, players should focus on understanding the game’s mechanics, including the symbols, bonus features, and payout structure. By doing so, they can increase their chances of winning big and reeling in a big catch in the Big Bass Splash slot.
When it comes to playing Big Bass Splash Slot, it’s not just about spinning the reels and hoping for the best. To maximize your catch, you need to employ the right strategies and tips. Here are some winning tips and tricks to help you reel in the big bass:
Understand the Game Mechanics
Big Bass Splash Slot is a fishing-themed slot game developed by Pragmatic Play. The game features 5 reels, 3 rows, and 25 paylines. To maximize your catch, it’s essential to understand how the game mechanics work. Familiarize yourself with the game’s symbols, including the wild bass, scatter, and bonus symbols.
Manage Your Bankroll
It’s crucial to manage your bankroll effectively to avoid overspending and to make the most of your gameplay. Set a budget and stick to it. This will help you to make more informed decisions and avoid getting caught up in the excitement of the game.
Take Advantage of the Bonus Features
Big Bass Splash Slot offers several bonus features, including the Free Spins feature, which can be triggered by landing three or more scatter symbols. The bonus feature can award you with up to 20 free spins, which can be retriggered. Make the most of these features to increase your chances of winning.
Use the Right Betting Strategy
The betting strategy you use can significantly impact your chances of winning. Consider using a high-risk, high-reward strategy, where you bet big to win big. Alternatively, you can use a low-risk, low-reward strategy, where you bet small to minimize your losses.
Pick the Right Symbols
The symbols you choose can make a big difference in your gameplay. Choose symbols that offer the highest payouts, such as the wild bass symbol, which can award you with up to 500x your bet.
Keep an Eye on the Jackpot
The jackpot in Big Bass Splash Slot is a whopping 10,000x your bet. To win the jackpot, you need to land five wild bass symbols on an active payline. Keep an eye on the jackpot and aim to win it to maximize your catch.
Stay Focused and Patient
Playing Big Bass Splash Slot requires focus and patience. Avoid getting distracted and stay focused on your gameplay. Take your time to make decisions, and don’t get discouraged by losses. With the right mindset, you can increase your chances of winning.
Conclusion
By following these winning tips and tricks, you can maximize your catch and increase your chances of winning in Big Bass Splash Slot. Remember to understand the game mechanics, manage your bankroll, take advantage of the bonus features, use the right betting strategy, pick the right symbols, keep an eye on the jackpot, and stay focused and patient. With the right approach, you can reel in the big bass and enjoy a thrilling gaming experience.
When you spin the reels of the Big Bass Splash slot, you’re not just reeling in the big catches – you’re also reeling in the rewards. The game is packed with bonus features and free spins that can boost your winnings and take your fishing trip to the next level.
One of the most exciting features of the Big Bass Splash slot is the Wild Catch bonus. Triggered by landing three or more Wild Catch symbols on the reels, this feature awards you with a random number of free spins, ranging from 5 to 20. During these free spins, all wins are multiplied by 2x, 3x, or 5x, giving you a chance to reel in some serious cash.
But that’s not all – the Big Bass Splash slot also features a Reel Catch bonus. This feature is triggered by landing three or more Reel Catch symbols on the reels, and awards you with a random number of free spins, ranging from 5 to 20. During these free spins, all wins are multiplied by 2x, 3x, or 5x, giving you a chance to reel in some serious cash.
And if you’re feeling extra lucky, you can also trigger the Big Bass Splash slot’s Jackpot feature. This feature is triggered by landing five or more Jackpot symbols on the reels, and awards you with a progressive jackpot prize.
So, how do you trigger these bonus features and free spins? It’s easy – just spin the reels and keep an eye out for the special symbols. The Wild Catch symbol is a fish with a big smile, while the Reel Catch symbol is a fishing reel. The Jackpot symbol is a big, shiny fish.
By combining these bonus features and free spins, you can increase your chances of reeling in the big catches and winning big. So, get ready to cast your line and reel in the rewards – the Big Bass Splash slot is waiting for you!
The post Big Bass Splash Slot Tips and Strategies.252 first appeared on SkillsSer.
]]>