JEMBOT MAWOT Bypass Shell
/*!
*
* Mollie https://www.mollie.nl
* @author Mollie B.V. <info@mollie.nl>
* @copyright Mollie B.V.
* @link https://github.com/mollie/PrestaShop
* @license https://github.com/mollie/PrestaShop/blob/master/LICENSE.md
*
*/
(window["webpackJsonP_mollie"] = window["webpackJsonP_mollie"] || []).push([["carrierconfig~transaction"],{
/***/ "./node_modules/redux-react-hook/dist/index.es.js":
/*!********************************************************!*\
!*** ./node_modules/redux-react-hook/dist/index.es.js ***!
\********************************************************/
/*! exports provided: StoreContext, create, useDispatch, useMappedState */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StoreContext", function() { return StoreContext; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "create", function() { return create; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useDispatch", function() { return useDispatch; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useMappedState", function() { return useMappedState; });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */
/* global Reflect, Promise */
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 (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
function __extends(d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
}
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
// From https://github.com/reduxjs/react-redux/blob/3e53ff96ed10f71c21346f08823e503df724db35/src/utils/shallowEqual.js
var hasOwn = Object.prototype.hasOwnProperty;
function is(x, y) {
if (x === y) {
return x !== 0 || y !== 0 || 1 / x === 1 / y;
}
else {
return x !== x && y !== y;
}
}
function shallowEqual(objA, objB) {
if (is(objA, objB)) {
return true;
}
if (typeof objA !== 'object' ||
objA === null ||
typeof objB !== 'object' ||
objB === null) {
return false;
}
var keysA = Object.keys(objA);
var keysB = Object.keys(objB);
if (keysA.length !== keysB.length) {
return false;
}
// tslint:disable-next-line:prefer-for-of
for (var i = 0; i < keysA.length; i++) {
if (!hasOwn.call(objB, keysA[i]) || !is(objA[keysA[i]], objB[keysA[i]])) {
return false;
}
}
return true;
}
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
// React currently throws a warning when using useLayoutEffect on the server.
// To get around it, we can conditionally useEffect on the server (no-op) and
// useLayoutEffect in the browser.
var useIsomorphicLayoutEffect = typeof window !== 'undefined' ? react__WEBPACK_IMPORTED_MODULE_0__["useLayoutEffect"] : react__WEBPACK_IMPORTED_MODULE_0__["useEffect"];
var MissingProviderError = /** @class */ (function (_super) {
__extends(MissingProviderError, _super);
function MissingProviderError() {
return _super.call(this, 'redux-react-hook requires your Redux store to be passed through ' +
'context via the <StoreContext.Provider>') || this;
}
return MissingProviderError;
}(Error));
function memoizeSingleArg(fn) {
var value;
var prevArg;
return function (arg) {
if (prevArg !== arg) {
prevArg = arg;
value = fn(arg);
}
return value;
};
}
/**
* To use redux-react-hook with stronger type safety, or to use with multiple
* stores in the same app, create() your own instance and re-export the returned
* functions.
*/
function create() {
var StoreContext = Object(react__WEBPACK_IMPORTED_MODULE_0__["createContext"])(null);
/**
* Your passed in mapState function should be memoized with useCallback to avoid
* resubscribing every render. If you don't use other props in mapState, pass
* an empty array [] as the dependency list so the callback isn't recreated
* every render.
*
* const todo = useMappedState(useCallback(
* state => state.todos.get(id),
* [id],
* ));
*/
function useMappedState(mapState) {
var store = Object(react__WEBPACK_IMPORTED_MODULE_0__["useContext"])(StoreContext);
if (!store) {
throw new MissingProviderError();
}
// We don't keep the derived state but call mapState on every render with current state.
// This approach guarantees that useMappedState returns up-to-date derived state.
// Since mapState can be expensive and must be a pure function of state we memoize it.
var memoizedMapState = Object(react__WEBPACK_IMPORTED_MODULE_0__["useMemo"])(function () { return memoizeSingleArg(mapState); }, [
mapState,
]);
var state = store.getState();
var derivedState = memoizedMapState(state);
// Since we don't keep the derived state we still need to trigger
// an update when derived state changes.
var _a = Object(react__WEBPACK_IMPORTED_MODULE_0__["useState"])(0), forceUpdate = _a[1];
// Keep previously commited derived state in a ref. Compare it to the new
// one when an action is dispatched and call forceUpdate if they are different.
var lastStateRef = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(derivedState);
var memoizedMapStateRef = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(memoizedMapState);
// We use useLayoutEffect to render once if we have multiple useMappedState.
// We need to update lastStateRef synchronously after rendering component,
// With useEffect we would have:
// 1) dispatch action
// 2) call subscription cb in useMappedState1, call forceUpdate
// 3) rerender component
// 4) call useMappedState1 and useMappedState2 code
// 5) calc new derivedState in useMappedState2, schedule updating lastStateRef, return new state, render component
// 6) call subscription cb in useMappedState2, check if lastStateRef !== newDerivedState, call forceUpdate, rerender.
// 7) update lastStateRef - it's too late, we already made one unnecessary render
useIsomorphicLayoutEffect(function () {
lastStateRef.current = derivedState;
memoizedMapStateRef.current = memoizedMapState;
});
useIsomorphicLayoutEffect(function () {
var didUnsubscribe = false;
// Run the mapState callback and if the result has changed, make the
// component re-render with the new state.
var checkForUpdates = function () {
if (didUnsubscribe) {
// Don't run stale listeners.
// Redux doesn't guarantee unsubscriptions happen until next dispatch.
return;
}
var newDerivedState = memoizedMapStateRef.current(store.getState());
if (!shallowEqual(newDerivedState, lastStateRef.current)) {
forceUpdate(increment);
}
};
// Pull data from the store after first render in case the store has
// changed since we began.
checkForUpdates();
// Subscribe to the store to be notified of subsequent changes.
var unsubscribe = store.subscribe(checkForUpdates);
// The return value of useEffect will be called when unmounting, so
// we use it to unsubscribe from the store.
return function () {
didUnsubscribe = true;
unsubscribe();
};
}, [store]);
return derivedState;
}
function useDispatch() {
var store = Object(react__WEBPACK_IMPORTED_MODULE_0__["useContext"])(StoreContext);
if (!store) {
throw new MissingProviderError();
}
return store.dispatch;
}
return {
StoreContext: StoreContext,
useDispatch: useDispatch,
useMappedState: useMappedState,
};
}
function increment(x) {
return x + 1;
}
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
var _a;
var StoreContext = (_a = create(), _a.StoreContext), useDispatch = _a.useDispatch, useMappedState = _a.useMappedState;
//# sourceMappingURL=index.es.js.map
/***/ }),
/***/ "./src/shared/components/LoadingDots.tsx":
/*!***********************************************!*\
!*** ./src/shared/components/LoadingDots.tsx ***!
\***********************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var core_js_modules_es6_object_freeze__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.object.freeze */ "./node_modules/core-js/modules/es6.object.freeze.js");
/* harmony import */ var core_js_modules_es6_object_freeze__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_freeze__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! styled-components */ "./node_modules/styled-components/dist/styled-components.browser.esm.js");
function _templateObject3() {
var data = _taggedTemplateLiteral(["\n background-color: black;\n border-radius: 50%;\n width: 10px;\n height: 10px;\n margin: 0 5px;\n opacity: 0.7;\n /* Animation */\n animation: ", " 0.5s linear infinite;\n animation-delay: ", ";\n"]);
_templateObject3 = function _templateObject3() {
return data;
};
return data;
}
function _templateObject2() {
var data = _taggedTemplateLiteral(["\n display: flex;\n align-items: flex-end;\n min-height: 30px;\n"]);
_templateObject2 = function _templateObject2() {
return data;
};
return data;
}
function _templateObject() {
var data = _taggedTemplateLiteral(["\n 0% { margin-bottom: 0; }\n 50% { margin-bottom: 15px }\n 100% { margin-bottom: 0 }\n"]);
_templateObject = function _templateObject() {
return data;
};
return data;
}
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
/**
* Mollie https://www.mollie.nl
*
* @author Mollie B.V. <info@mollie.nl>
* @copyright Mollie B.V.
* @link https://github.com/mollie/PrestaShop
* @license https://github.com/mollie/PrestaShop/blob/master/LICENSE.md
* @codingStandardsIgnoreStart
*/
var BounceAnimation = Object(styled_components__WEBPACK_IMPORTED_MODULE_2__["keyframes"])(_templateObject());
var DotWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2__["default"].div(_templateObject2());
var Dot = styled_components__WEBPACK_IMPORTED_MODULE_2__["default"].div(_templateObject3(), BounceAnimation, function (props) {
return props.delay;
});
function LoadingDots() {
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(DotWrapper, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(Dot, {
delay: "0s"
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(Dot, {
delay: ".1s"
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(Dot, {
delay: ".2s"
}));
}
/* harmony default export */ __webpack_exports__["default"] = (LoadingDots);
/***/ })
}]);
//# sourceMappingURL=carrierconfig~transaction.min.js.map
xxxxx1.0, XXX xxxx