import React from 'react'
import resetUserSettings from '../../api/resetUserSettings'
import ButtonActionProvider from '../Actions/ButtonActionProvider'
import Button from '../Buttons/Button'
/**
* Helper to reset the users settings.
*
* @param customActionHook
* @param completeCallback
* @param errorCallback
* @returns {*}
* @constructor
*/
const ResetUserSettings = ({ customActionHook = null, completeCallback = null, errorCallback = null }) => {
return (
}
LoadingButton={}
ErrorButton={}
SuccessButton={}
CompletedButton={}
actionHook={() => customActionHook ? customActionHook() : resetUserSettings()}
isAlreadyCompleted={false}
completedCallback={() => {
if (completeCallback) {
completeCallback()
}
window.location.reload()
}}
errorCallback={errorCallback}
/>
)
}
export default ResetUserSettings
/*! elementor-pro - v3.29.0 - 04-06-2025 */
.elementor-price-table{text-align:center}.elementor-price-table .elementor-price-table__header{background:var(--e-price-table-header-background-color,#555);padding:20px 0}.elementor-price-table .elementor-price-table__heading{color:#fff;font-size:24px;font-weight:600;line-height:1.2;margin:0;padding:0}.elementor-price-table .elementor-price-table__subheading{color:#fff;font-size:13px;font-weight:400}.elementor-price-table .elementor-price-table__original-price{align-self:center;font-size:.5em;font-weight:400;line-height:1;margin-inline-end:15px;text-decoration:line-through}.elementor-price-table .elementor-price-table__original-price .elementor-price-table__currency{font-size:1em;margin:0}.elementor-price-table .elementor-price-table__price{align-items:center;color:#555;display:flex;flex-direction:row;flex-wrap:wrap;font-size:65px;font-weight:800;justify-content:center;padding:40px 0}.elementor-price-table .elementor-price-table__price .elementor-typo-excluded{font-size:medium;font-style:normal;font-weight:400;letter-spacing:normal;line-height:normal;text-transform:none}.elementor-price-table .elementor-price-table__after-price{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;flex-wrap:wrap;text-align:start}.elementor-price-table .elementor-price-table__integer-part{line-height:.8}.elementor-price-table .elementor-price-table__currency,.elementor-price-table .elementor-price-table__fractional-part{font-size:.3em;line-height:1}.elementor-price-table .elementor-price-table__currency{margin-inline-end:3px}.elementor-price-table .elementor-price-table__period{font-size:13px;font-weight:400;width:100%}.elementor-price-table .elementor-price-table__features-list{color:var(--e-price-table-features-list-color);line-height:1;list-style-type:none;margin:0;padding:0}.elementor-price-table .elementor-price-table__features-list li{font-size:14px;line-height:1;margin:0;padding:0}.elementor-price-table .elementor-price-table__features-list li .elementor-price-table__feature-inner{margin-left:15px;margin-right:15px}.elementor-price-table .elementor-price-table__features-list li:not(:first-child):before{border:0 solid hsla(0,0%,48%,.3);content:"";display:block;margin:10px 12.5%}.elementor-price-table .elementor-price-table__features-list i{font-size:1.3em;margin-inline-end:10px}.elementor-price-table .elementor-price-table__features-list svg{margin-inline-end:10px;fill:var(--e-price-table-features-list-color);height:1.3em;width:1.3em}.elementor-price-table .elementor-price-table__features-list svg~*{vertical-align:text-top}.elementor-price-table .elementor-price-table__footer{padding:30px 0}.elementor-price-table .elementor-price-table__additional_info{font-size:13px;line-height:1.4;margin:0}.elementor-price-table__ribbon{height:150px;left:auto;overflow:hidden;position:absolute;right:0;top:0;transform:rotate(90deg);width:150px}.elementor-price-table__ribbon-inner{background:#000;font-size:13px;font-weight:800;left:0;line-height:2;margin-top:35px;text-align:center;text-transform:uppercase;transform:translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);width:200%}.elementor-price-table__ribbon.elementor-ribbon-left{left:0;right:auto;transform:rotate(0)}.elementor-price-table__ribbon.elementor-ribbon-right{left:auto;right:0;transform:rotate(90deg)}.elementor-widget-price-table .elementor-widget-container,.elementor-widget-price-table:not(:has(.elementor-widget-container)){background-color:#f9fafa;overflow:hidden}.cm-s-hopscotch.CodeMirror{background:#322931;color:#d5d3d5}.cm-s-hopscotch div.CodeMirror-selected{background:#433b42!important}.cm-s-hopscotch .CodeMirror-gutters{background:#322931;border-right:0}.cm-s-hopscotch .CodeMirror-linenumber{color:#797379}.cm-s-hopscotch .CodeMirror-cursor{border-left:1px solid #989498!important}.cm-s-hopscotch span.cm-comment{color:#b33508}.cm-s-hopscotch span.cm-atom,.cm-s-hopscotch span.cm-number{color:#c85e7c}.cm-s-hopscotch span.cm-attribute,.cm-s-hopscotch span.cm-property{color:#8fc13e}.cm-s-hopscotch span.cm-keyword{color:#dd464c}.cm-s-hopscotch span.cm-string{color:#fdcc59}.cm-s-hopscotch span.cm-variable{color:#8fc13e}.cm-s-hopscotch span.cm-variable-2{color:#1290bf}.cm-s-hopscotch span.cm-def{color:#fd8b19}.cm-s-hopscotch span.cm-error{background:#dd464c;color:#989498}.cm-s-hopscotch span.cm-bracket{color:#d5d3d5}.cm-s-hopscotch span.cm-tag{color:#dd464c}.cm-s-hopscotch span.cm-link{color:#c85e7c}.cm-s-hopscotch .CodeMirror-matchingbracket{color:#fff!important;text-decoration:underline}.cm-s-hopscotch .CodeMirror-activeline-background{background:#302020}
/*! elementor-pro - v3.29.0 - 04-06-2025 */
.woocommerce div.product.elementor ul.tabs:before{border-bottom:0;bottom:auto;content:none;left:auto;position:static;width:auto;z-index:auto}.woocommerce div.product.elementor ul.tabs{margin:0}.woocommerce div.product.elementor ul.tabs li{padding:0}.woocommerce div.product.elementor ul.tabs li a{line-height:1;padding:.8em 1.2em}.woocommerce div.product.elementor ul.tabs li:after,.woocommerce div.product.elementor ul.tabs li:before{border:0;bottom:auto;box-sizing:border-box;content:none;height:auto;position:static;width:auto}.woocommerce div.product.elementor .woocommerce-tabs .panel{border-radius:0;border-width:0;border-top:1px solid #d3ced2;box-shadow:none;margin:-1px 0 0;padding:20px}/*! elementor-pro - v3.30.0 - 01-07-2025 */
"use strict";
(self["webpackChunkelementor_pro"] = self["webpackChunkelementor_pro"] || []).push([["load-more"],{
/***/ "../modules/loop-builder/assets/js/frontend/handlers/load-more.js":
/*!************************************************************************!*\
!*** ../modules/loop-builder/assets/js/frontend/handlers/load-more.js ***!
\************************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
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 _loadMore = _interopRequireDefault(__webpack_require__(/*! modules/posts/assets/js/frontend/handlers/load-more */ "../modules/posts/assets/js/frontend/handlers/load-more.js"));
var _runElementHandlers = _interopRequireDefault(__webpack_require__(/*! elementor-pro/frontend/utils/run-element-handlers */ "../assets/dev/js/frontend/utils/run-element-handlers.js"));
class LoopLoadMore extends _loadMore.default {
getDefaultSettings() {
const defaultSettings = super.getDefaultSettings();
defaultSettings.selectors.postsContainer = '.elementor-loop-container';
defaultSettings.selectors.postWrapperTag = '.e-loop-item';
defaultSettings.selectors.loadMoreButton = '.e-loop__load-more .elementor-button';
defaultSettings.selectors.dynamicStyleElement = 'style[id^="loop-dynamic"]';
return defaultSettings;
}
afterInsertPosts(postsElements, result) {
super.afterInsertPosts(postsElements);
if (ElementorProFrontendConfig.settings.lazy_load_background_images) {
document.dispatchEvent(new Event('elementor/lazyload/observe'));
}
this.handleDynamicStyleElements(result);
(0, _runElementHandlers.default)(postsElements);
elementorFrontend.elements.$window.trigger('elementor-pro/loop-builder/after-insert-posts');
}
/**
* Handle Dynamic Style Elements.
*
* Adds the dynamic `