Submit
Path:
~
/
home
/
getwphos
/
www
/
alliedchimneyny
/
wp-content
/
plugins
/
elementor
/
assets
/
js
/
File Content:
frontend.js
/*! elementor - v3.27.0 - 03-02-2025 */ "use strict"; (self["webpackChunkelementorFrontend"] = self["webpackChunkelementorFrontend"] || []).push([["frontend"],{ /***/ "../assets/dev/js/frontend/documents-manager.js": /*!******************************************************!*\ !*** ../assets/dev/js/frontend/documents-manager.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 _document = _interopRequireDefault(__webpack_require__(/*! ./document */ "../assets/dev/js/frontend/document.js")); class _default extends elementorModules.ViewModule { constructor() { super(...arguments); this.documents = {}; this.initDocumentClasses(); this.attachDocumentsClasses(); } getDefaultSettings() { return { selectors: { document: '.elementor' } }; } getDefaultElements() { const selectors = this.getSettings('selectors'); return { $documents: jQuery(selectors.document) }; } initDocumentClasses() { this.documentClasses = { base: _document.default }; elementorFrontend.hooks.doAction('elementor/frontend/documents-manager/init-classes', this); } addDocumentClass(documentType, documentClass) { this.documentClasses[documentType] = documentClass; } attachDocumentsClasses() { this.elements.$documents.each((index, document) => this.attachDocumentClass(jQuery(document))); } attachDocumentClass($document) { const documentData = $document.data(), documentID = documentData.elementorId, documentType = documentData.elementorType, DocumentClass = this.documentClasses[documentType] || this.documentClasses.base; this.documents[documentID] = new DocumentClass({ $element: $document, id: documentID }); } } exports["default"] = _default; /***/ }), /***/ "../assets/dev/js/frontend/elements-handlers-manager.js": /*!**************************************************************!*\ !*** ../assets/dev/js/frontend/elements-handlers-manager.js ***! \**************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); __webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js"); __webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); __webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js"); var _global = _interopRequireDefault(__webpack_require__(/*! ./handlers/global */ "../assets/dev/js/frontend/handlers/global.js")); var _background = _interopRequireDefault(__webpack_require__(/*! ./handlers/background */ "../assets/dev/js/frontend/handlers/background.js")); var _container = _interopRequireDefault(__webpack_require__(/*! ./handlers/container/container */ "../assets/dev/js/frontend/handlers/container/container.js")); var _column = _interopRequireDefault(__webpack_require__(/*! ./handlers/column */ "../assets/dev/js/frontend/handlers/column.js")); var _handlesPosition = _interopRequireDefault(__webpack_require__(/*! ./handlers/section/handles-position */ "../assets/dev/js/frontend/handlers/section/handles-position.js")); var _stretchedSection = _interopRequireDefault(__webpack_require__(/*! ./handlers/section/stretched-section */ "../assets/dev/js/frontend/handlers/section/stretched-section.js")); var _shapes = _interopRequireDefault(__webpack_require__(/*! ./handlers/section/shapes */ "../assets/dev/js/frontend/handlers/section/shapes.js")); // Section handlers. /* global elementorFrontendConfig */ module.exports = function ($) { var _this = this; const handlersInstances = {}; this.elementsHandlers = { 'accordion.default': () => __webpack_require__.e(/*! import() | accordion */ "accordion").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/accordion */ "../assets/dev/js/frontend/handlers/accordion.js")), 'alert.default': () => __webpack_require__.e(/*! import() | alert */ "alert").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/alert */ "../assets/dev/js/frontend/handlers/alert.js")), 'counter.default': () => __webpack_require__.e(/*! import() | counter */ "counter").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/counter */ "../assets/dev/js/frontend/handlers/counter.js")), 'progress.default': () => __webpack_require__.e(/*! import() | progress */ "progress").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/progress */ "../assets/dev/js/frontend/handlers/progress.js")), 'tabs.default': () => __webpack_require__.e(/*! import() | tabs */ "tabs").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/tabs */ "../assets/dev/js/frontend/handlers/tabs.js")), 'toggle.default': () => __webpack_require__.e(/*! import() | toggle */ "toggle").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/toggle */ "../assets/dev/js/frontend/handlers/toggle.js")), 'video.default': () => __webpack_require__.e(/*! import() | video */ "video").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/video */ "../assets/dev/js/frontend/handlers/video.js")), 'image-carousel.default': () => __webpack_require__.e(/*! import() | image-carousel */ "image-carousel").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/image-carousel */ "../assets/dev/js/frontend/handlers/image-carousel.js")), 'text-editor.default': () => __webpack_require__.e(/*! import() | text-editor */ "text-editor").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/text-editor */ "../assets/dev/js/frontend/handlers/text-editor.js")), 'wp-widget-media_audio.default': () => __webpack_require__.e(/*! import() | wp-audio */ "wp-audio").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/wp-audio */ "../assets/dev/js/frontend/handlers/wp-audio.js")) }; if (elementorFrontendConfig.experimentalFeatures['nested-elements']) { this.elementsHandlers['nested-tabs.default'] = () => Promise.resolve(/*! import() */).then(__webpack_require__.bind(__webpack_require__, /*! elementor/modules/nested-tabs/assets/js/frontend/handlers/nested-tabs */ "../modules/nested-tabs/assets/js/frontend/handlers/nested-tabs.js")); } if (elementorFrontendConfig.experimentalFeatures['nested-elements']) { this.elementsHandlers['nested-accordion.default'] = () => __webpack_require__.e(/*! import() | nested-accordion */ "nested-accordion").then(__webpack_require__.bind(__webpack_require__, /*! elementor/modules/nested-accordion/assets/js/frontend/handlers/nested-accordion */ "../modules/nested-accordion/assets/js/frontend/handlers/nested-accordion.js")); } if (elementorFrontendConfig.experimentalFeatures.container) { this.elementsHandlers['contact-buttons.default'] = () => __webpack_require__.e(/*! import() | contact-buttons */ "contact-buttons").then(__webpack_require__.bind(__webpack_require__, /*! elementor/modules/floating-buttons/assets/js/floating-buttons/frontend/handlers/contact-buttons */ "../modules/floating-buttons/assets/js/floating-buttons/frontend/handlers/contact-buttons.js")); this.elementsHandlers['floating-bars-var-1.default'] = () => __webpack_require__.e(/*! import() | floating-bars */ "floating-bars").then(__webpack_require__.bind(__webpack_require__, /*! elementor/modules/floating-buttons/assets/js/floating-bars/frontend/handlers/floating-bars */ "../modules/floating-buttons/assets/js/floating-bars/frontend/handlers/floating-bars.js")); } const addGlobalHandlers = () => elementorFrontend.hooks.addAction('frontend/element_ready/global', _global.default); const addElementsHandlers = () => { this.elementsHandlers.section = [_stretchedSection.default, // Must run before background handlers to init the slideshow only after the stretch. ..._background.default, _handlesPosition.default, _shapes.default]; this.elementsHandlers.container = [..._background.default]; // Add editor-only handlers. if (elementorFrontend.isEditMode()) { this.elementsHandlers.container.push(..._container.default); } this.elementsHandlers.column = _column.default; $.each(this.elementsHandlers, (elementName, Handlers) => { const elementData = elementName.split('.'); elementName = elementData[0]; const skin = elementData[1] || null; this.attachHandler(elementName, Handlers, skin); }); }; const isClassHandler = Handler => Handler.prototype?.getUniqueHandlerID; const addHandlerWithHook = function (elementBaseName, Handler) { let skin = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'default'; skin = skin ? '.' + skin : ''; const elementName = elementBaseName + skin; elementorFrontend.hooks.addAction(`frontend/element_ready/${elementName}`, $element => { if (isClassHandler(Handler)) { _this.addHandler(Handler, { $element, elementName }, true); } else { const handlerValue = Handler(); if (!handlerValue) { return; } if (handlerValue instanceof Promise) { handlerValue.then(_ref => { let { default: dynamicHandler } = _ref; _this.addHandler(dynamicHandler, { $element, elementName }, true); }); } else { _this.addHandler(handlerValue, { $element, elementName }, true); } } }); }; this.addHandler = function (HandlerClass, options) { const elementID = options.$element.data('model-cid'); let handlerID; // If element is in edit mode if (elementID) { handlerID = HandlerClass.prototype.getConstructorID(); if (!handlersInstances[elementID]) { handlersInstances[elementID] = {}; } const oldHandler = handlersInstances[elementID][handlerID]; if (oldHandler) { oldHandler.onDestroy(); } } const newHandler = new HandlerClass(options); elementorFrontend.hooks.doAction(`frontend/element_handler_ready/${options.elementName}`, options.$element, $); if (elementID) { handlersInstances[elementID][handlerID] = newHandler; } }; this.attachHandler = (elementName, Handlers, skin) => { if (!Array.isArray(Handlers)) { Handlers = [Handlers]; } Handlers.forEach(Handler => addHandlerWithHook(elementName, Handler, skin)); }; this.getHandler = function (handlerName) { const elementHandler = this.elementsHandlers[handlerName]; if (isClassHandler(elementHandler)) { return elementHandler; } return new Promise(res => { elementHandler().then(_ref2 => { let { default: dynamicHandler } = _ref2; res(dynamicHandler); }); }); }; /** * @param {string} handlerName * @deprecated since 3.1.0, use `elementorFrontend.elementsHandler.getHandler` instead. */ this.getHandlers = function (handlerName) { elementorDevTools.deprecation.deprecated('getHandlers', '3.1.0', 'elementorFrontend.elementsHandler.getHandler'); if (handlerName) { return this.getHandler(handlerName); } return this.elementsHandlers; }; this.runReadyTrigger = function (scope) { const isDelayChildHandlers = !!scope.closest('[data-delay-child-handlers="true"]') && 0 !== scope.closest('[data-delay-child-handlers="true"]').length; if (elementorFrontend.config.is_static || isDelayChildHandlers) { return; } // Initializing the `$scope` as frontend jQuery instance const $scope = jQuery(scope), elementType = $scope.attr('data-element_type'); if (!elementType) { return; } elementorFrontend.hooks.doAction('frontend/element_ready/global', $scope, $); elementorFrontend.hooks.doAction(`frontend/element_ready/${elementType}`, $scope, $); if ('widget' === elementType) { const widgetType = $scope.attr('data-widget_type'); elementorFrontend.hooks.doAction(`frontend/element_ready/${widgetType}`, $scope, $); } }; this.init = () => { addGlobalHandlers(); addElementsHandlers(); }; }; /***/ }), /***/ "../assets/dev/js/frontend/frontend.js": /*!*********************************************!*\ !*** ../assets/dev/js/frontend/frontend.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; __webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); __webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "../node_modules/core-js/modules/esnext.iterator.find.js"); __webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js"); __webpack_require__(/*! ../public-path */ "../assets/dev/js/public-path.js"); var _documentsManager = _interopRequireDefault(__webpack_require__(/*! ./documents-manager */ "../assets/dev/js/frontend/documents-manager.js")); var _storage = _interopRequireDefault(__webpack_require__(/*! elementor-common/utils/storage */ "../core/common/assets/js/utils/storage.js")); var _environment = _interopRequireDefault(__webpack_require__(/*! elementor-common/utils/environment */ "../core/common/assets/js/utils/environment.js")); var _youtubeLoader = _interopRequireDefault(__webpack_require__(/*! ./utils/video-api/youtube-loader */ "../assets/dev/js/frontend/utils/video-api/youtube-loader.js")); var _vimeoLoader = _interopRequireDefault(__webpack_require__(/*! ./utils/video-api/vimeo-loader */ "../assets/dev/js/frontend/utils/video-api/vimeo-loader.js")); var _baseLoader = _interopRequireDefault(__webpack_require__(/*! ./utils/video-api/base-loader */ "../assets/dev/js/frontend/utils/video-api/base-loader.js")); var _urlActions = _interopRequireDefault(__webpack_require__(/*! ./utils/url-actions */ "../assets/dev/js/frontend/utils/url-actions.js")); var _swiper = _interopRequireDefault(__webpack_require__(/*! ./utils/swiper */ "../assets/dev/js/frontend/utils/swiper.js")); var _lightboxManager = _interopRequireDefault(__webpack_require__(/*! ./utils/lightbox/lightbox-manager */ "../assets/dev/js/frontend/utils/lightbox/lightbox-manager.js")); var _assetsLoader = _interopRequireDefault(__webpack_require__(/*! ./utils/assets-loader */ "../assets/dev/js/frontend/utils/assets-loader.js")); var _breakpoints = _interopRequireDefault(__webpack_require__(/*! elementor-utils/breakpoints */ "../assets/dev/js/utils/breakpoints.js")); var _events = _interopRequireDefault(__webpack_require__(/*! elementor-utils/events */ "../assets/dev/js/utils/events.js")); var _frontend = _interopRequireDefault(__webpack_require__(/*! elementor/modules/shapes/assets/js/frontend/frontend */ "../modules/shapes/assets/js/frontend/frontend.js")); var _controls = _interopRequireDefault(__webpack_require__(/*! ./utils/controls */ "../assets/dev/js/frontend/utils/controls.js")); var _anchorScrollMargin = _interopRequireDefault(__webpack_require__(/*! ./utils/anchor-scroll-margin */ "../assets/dev/js/frontend/utils/anchor-scroll-margin.js")); var _utils = __webpack_require__(/*! elementor-frontend/utils/utils */ "../assets/dev/js/frontend/utils/utils.js"); /* global elementorFrontendConfig */ const EventManager = __webpack_require__(/*! elementor-utils/hooks */ "../assets/dev/js/utils/hooks.js"), ElementsHandler = __webpack_require__(/*! elementor-frontend/elements-handlers-manager */ "../assets/dev/js/frontend/elements-handlers-manager.js"); class Frontend extends elementorModules.ViewModule { constructor() { super(...arguments); this.config = elementorFrontendConfig; this.config.legacyMode = { /** * @deprecated since 3.1.0 */ get elementWrappers() { if (elementorFrontend.isEditMode()) { window.top.elementorDevTools.deprecation.deprecated('elementorFrontend.config.legacyMode.elementWrappers', '3.1.0'); } return false; } }; this.populateActiveBreakpointsConfig(); } /** * @deprecated since 2.5.0, use `elementorModules.frontend.handlers.Base` instead. */ get Module() { if (this.isEditMode()) { parent.elementorDevTools.deprecation.deprecated('elementorFrontend.Module', '2.5.0', 'elementorModules.frontend.handlers.Base'); } return elementorModules.frontend.handlers.Base; } getDefaultSettings() { return { selectors: { elementor: '.elementor', adminBar: '#wpadminbar' } }; } getDefaultElements() { const defaultElements = { window, $window: jQuery(window), $document: jQuery(document), $head: jQuery(document.head), $body: jQuery(document.body), $deviceMode: jQuery('<span>', { id: 'elementor-device-mode', class: 'elementor-screen-only' }) }; defaultElements.$body.append(defaultElements.$deviceMode); return defaultElements; } bindEvents() { this.elements.$window.on('resize', () => this.setDeviceModeData()); } /** * @param {string} elementName * @deprecated since 2.4.0, use `this.elements` instead. */ getElements(elementName) { return this.getItems(this.elements, elementName); } /** * @param {string} settingName * @deprecated since 2.4.0, this method was never in use. */ getPageSettings(settingName) { const settingsObject = this.isEditMode() ? elementor.settings.page.model.attributes : this.config.settings.page; return this.getItems(settingsObject, settingName); } /** * @param {string} settingName * @deprecated since 3.0.0, use `getKitSettings()` instead and remove the `elementor_` prefix. */ getGeneralSettings(settingName) { if (this.isEditMode()) { parent.elementorDevTools.deprecation.deprecated('getGeneralSettings()', '3.0.0', 'getKitSettings() and remove the `elementor_` prefix'); } return this.getKitSettings(`elementor_${settingName}`); } getKitSettings(settingName) { // TODO: use Data API. return this.getItems(this.config.kit, settingName); } getCurrentDeviceMode() { return getComputedStyle(this.elements.$deviceMode[0], ':after').content.replace(/"/g, ''); } getDeviceSetting(deviceMode, settings, settingKey) { // Add specific handling for widescreen since it is larger than desktop. if ('widescreen' === deviceMode) { return this.getWidescreenSetting(settings, settingKey); } const devices = elementorFrontend.breakpoints.getActiveBreakpointsList({ largeToSmall: true, withDesktop: true }); let deviceIndex = devices.indexOf(deviceMode); while (deviceIndex > 0) { const currentDevice = devices[deviceIndex], fullSettingKey = settingKey + '_' + currentDevice, deviceValue = settings[fullSettingKey]; // Accept 0 as value. if (deviceValue || 0 === deviceValue) { return deviceValue; } deviceIndex--; } return settings[settingKey]; } getWidescreenSetting(settings, settingKey) { const deviceMode = 'widescreen', widescreenSettingKey = settingKey + '_' + deviceMode; let settingToReturn; // If the device mode is 'widescreen', and the setting exists - return it. if (settings[widescreenSettingKey]) { settingToReturn = settings[widescreenSettingKey]; } else { // Otherwise, return the desktop setting settingToReturn = settings[settingKey]; } return settingToReturn; } getCurrentDeviceSetting(settings, settingKey) { return this.getDeviceSetting(elementorFrontend.getCurrentDeviceMode(), settings, settingKey); } isEditMode() { return this.config.environmentMode.edit; } isWPPreviewMode() { return this.config.environmentMode.wpPreview; } initDialogsManager() { let dialogsManager; this.getDialogsManager = () => { if (!dialogsManager) { dialogsManager = new DialogsManager.Instance(); } return dialogsManager; }; } initOnReadyComponents() { this.utils = { youtube: new _youtubeLoader.default(), vimeo: new _vimeoLoader.default(), baseVideoLoader: new _baseLoader.default(), get lightbox() { return _lightboxManager.default.getLightbox(); }, urlActions: new _urlActions.default(), swiper: _swiper.default, environment: _environment.default, assetsLoader: new _assetsLoader.default(), escapeHTML: _utils.escapeHTML, events: _events.default, controls: new _controls.default(), anchor_scroll_margin: new _anchorScrollMargin.default() }; // TODO: BC since 2.4.0 this.modules = { StretchElement: elementorModules.frontend.tools.StretchElement, Masonry: elementorModules.utils.Masonry }; this.elementsHandler.init(); if (this.isEditMode()) { elementor.once('document:loaded', () => this.onDocumentLoaded()); } else { this.onDocumentLoaded(); } } initOnReadyElements() { this.elements.$wpAdminBar = this.elements.$document.find(this.getSettings('selectors.adminBar')); } addUserAgentClasses() { for (const [key, value] of Object.entries(_environment.default)) { if (value) { this.elements.$body.addClass('e--ua-' + key); } } } setDeviceModeData() { this.elements.$body.attr('data-elementor-device-mode', this.getCurrentDeviceMode()); } addListenerOnce(listenerID, event, callback, to) { if (!to) { to = this.elements.$window; } if (!this.isEditMode()) { to.on(event, callback); return; } this.removeListeners(listenerID, event, to); if (to instanceof jQuery) { const eventNS = event + '.' + listenerID; to.on(eventNS, callback); } else { to.on(event, callback, listenerID); } } removeListeners(listenerID, event, callback, from) { if (!from) { from = this.elements.$window; } if (from instanceof jQuery) { const eventNS = event + '.' + listenerID; from.off(eventNS, callback); } else { from.off(event, callback, listenerID); } } // Based on underscore function debounce(func, wait) { let timeout; return function () { const context = this, args = arguments; const later = () => { timeout = null; func.apply(context, args); }; const callNow = !timeout; clearTimeout(timeout); timeout = setTimeout(later, wait); if (callNow) { func.apply(context, args); } }; } muteMigrationTraces() { jQuery.migrateMute = true; jQuery.migrateTrace = false; } /** * Initialize the modules' widgets handlers. */ initModules() { const handlers = { shapes: _frontend.default }; // TODO: BC - Deprecated since 3.5.0 elementorFrontend.trigger('elementor/modules/init:before'); // TODO: Use this instead. elementorFrontend.trigger('elementor/modules/init/before'); Object.entries(handlers).forEach(_ref => { let [moduleName, ModuleClass] = _ref; this.modulesHandlers[moduleName] = new ModuleClass(); }); } populateActiveBreakpointsConfig() { this.config.responsive.activeBreakpoints = {}; Object.entries(this.config.responsive.breakpoints).forEach(_ref2 => { let [breakpointKey, breakpointData] = _ref2; if (breakpointData.is_enabled) { this.config.responsive.activeBreakpoints[breakpointKey] = breakpointData; } }); } init() { this.hooks = new EventManager(); this.breakpoints = new _breakpoints.default(this.config.responsive); this.storage = new _storage.default(); this.elementsHandler = new ElementsHandler(jQuery); this.modulesHandlers = {}; this.addUserAgentClasses(); this.setDeviceModeData(); this.initDialogsManager(); if (this.isEditMode()) { this.muteMigrationTraces(); } // Keep this line before `initOnReadyComponents` call _events.default.dispatch(this.elements.$window, 'elementor/frontend/init'); this.initModules(); this.initOnReadyElements(); this.initOnReadyComponents(); } onDocumentLoaded() { this.documentsManager = new _documentsManager.default(); this.trigger('components:init'); new _lightboxManager.default(); } } exports["default"] = Frontend; window.elementorFrontend = new Frontend(); if (!elementorFrontend.isEditMode()) { jQuery(() => elementorFrontend.init()); } /***/ }), /***/ "../assets/dev/js/frontend/handlers/background-slideshow.js": /*!******************************************************************!*\ !*** ../assets/dev/js/frontend/handlers/background-slideshow.js ***! \******************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { Object.defineProperty(exports, "__esModule", ({ value: true })); exports["default"] = void 0; __webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); __webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js"); class BackgroundSlideshow extends elementorModules.frontend.handlers.SwiperBase { getDefaultSettings() { return { classes: { swiperContainer: 'elementor-background-slideshow swiper', swiperWrapper: 'swiper-wrapper', swiperSlide: 'elementor-background-slideshow__slide swiper-slide', swiperPreloader: 'swiper-lazy-preloader', slideBackground: 'elementor-background-slideshow__slide__image', kenBurns: 'elementor-ken-burns', kenBurnsActive: 'elementor-ken-burns--active', kenBurnsIn: 'elementor-ken-burns--in', kenBurnsOut: 'elementor-ken-burns--out' } }; } getSwiperOptions() { const elementSettings = this.getElementSettings(), swiperOptions = { grabCursor: false, slidesPerView: 1, slidesPerGroup: 1, loop: 'yes' === elementSettings.background_slideshow_loop, speed: elementSettings.background_slideshow_transition_duration, autoplay: { delay: elementSettings.background_slideshow_slide_duration, stopOnLastSlide: !elementSettings.background_slideshow_loop }, handleElementorBreakpoints: true, on: { slideChange: () => { if (elementSettings.background_slideshow_ken_burns) { this.handleKenBurns(); } } } }; if ('yes' === elementSettings.background_slideshow_loop) { swiperOptions.loopedSlides = this.getSlidesCount(); } switch (elementSettings.background_slideshow_slide_transition) { case 'fade': swiperOptions.effect = 'fade'; swiperOptions.fadeEffect = { crossFade: true }; break; case 'slide_down': swiperOptions.autoplay.reverseDirection = true; swiperOptions.direction = 'vertical'; break; case 'slide_up': swiperOptions.direction = 'vertical'; break; } if ('yes' === elementSettings.background_slideshow_lazyload) { swiperOptions.lazy = { loadPrevNext: true, loadPrevNextAmount: 1 }; } return swiperOptions; } buildSwiperElements() { const classes = this.getSettings('classes'), elementSettings = this.getElementSettings(), direction = 'slide_left' === elementSettings.background_slideshow_slide_transition ? 'ltr' : 'rtl', $container = jQuery('<div>', { class: classes.swiperContainer, dir: direction }), $wrapper = jQuery('<div>', { class: classes.swiperWrapper }), kenBurnsActive = elementSettings.background_slideshow_ken_burns, lazyload = 'yes' === elementSettings.background_slideshow_lazyload; let slideInnerClass = classes.slideBackground; if (kenBurnsActive) { slideInnerClass += ' ' + classes.kenBurns; const kenBurnsDirection = 'in' === elementSettings.background_slideshow_ken_burns_zoom_direction ? 'kenBurnsIn' : 'kenBurnsOut'; slideInnerClass += ' ' + classes[kenBurnsDirection]; } if (lazyload) { slideInnerClass += ' swiper-lazy'; } this.elements.$slides = jQuery(); elementSettings.background_slideshow_gallery.forEach(slide => { const $slide = jQuery('<div>', { class: classes.swiperSlide }); let $slidebg; if (lazyload) { const $slideloader = jQuery('<div>', { class: classes.swiperPreloader }); $slidebg = jQuery('<div>', { class: slideInnerClass, 'data-background': slide.url }); $slidebg.append($slideloader); } else { $slidebg = jQuery('<div>', { class: slideInnerClass, style: 'background-image: url("' + slide.url + '");' }); } $slide.append($slidebg); $wrapper.append($slide); this.elements.$slides = this.elements.$slides.add($slide); }); $container.append($wrapper); this.$element.prepend($container); this.elements.$backgroundSlideShowContainer = $container; } async initSlider() { if (1 >= this.getSlidesCount()) { return; } const elementSettings = this.getElementSettings(); const Swiper = elementorFrontend.utils.swiper; this.swiper = await new Swiper(this.elements.$backgroundSlideShowContainer, this.getSwiperOptions()); // Expose the swiper instance in the frontend this.elements.$backgroundSlideShowContainer.data('swiper', this.swiper); if (elementSettings.background_slideshow_ken_burns) { this.handleKenBurns(); } } activate() { this.buildSwiperElements(); this.initSlider(); } deactivate() { if (this.swiper) { this.swiper.destroy(); this.elements.$backgroundSlideShowContainer.remove(); } } run() { if ('slideshow' === this.getElementSettings('background_background')) { this.activate(); } else { this.deactivate(); } } onInit() { super.onInit(); if (this.getElementSettings('background_slideshow_gallery')) { this.run(); } } onDestroy() { super.onDestroy(); this.deactivate(); } onElementChange(propertyName) { if ('background_background' === propertyName) { this.run(); } } } exports["default"] = BackgroundSlideshow; /***/ }), /***/ "../assets/dev/js/frontend/handlers/background-video.js": /*!**************************************************************!*\ !*** ../assets/dev/js/frontend/handlers/background-video.js ***! \**************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { Object.defineProperty(exports, "__esModule", ({ value: true })); exports["default"] = void 0; __webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); __webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "../node_modules/core-js/modules/esnext.iterator.find.js"); class BackgroundVideo extends elementorModules.frontend.handlers.Base { getDefaultSettings() { return { selectors: { backgroundVideoContainer: '.elementor-background-video-container', backgroundVideoEmbed: '.elementor-background-video-embed', backgroundVideoHosted: '.elementor-background-video-hosted' } }; } getDefaultElements() { const selectors = this.getSettings('selectors'), elements = { $backgroundVideoContainer: this.$element.find(selectors.backgroundVideoContainer) }; elements.$backgroundVideoEmbed = elements.$backgroundVideoContainer.children(selectors.backgroundVideoEmbed); elements.$backgroundVideoHosted = elements.$backgroundVideoContainer.children(selectors.backgroundVideoHosted); return elements; } calcVideosSize($video) { let aspectRatioSetting = '16:9'; if ('vimeo' === this.videoType) { aspectRatioSetting = $video[0].width + ':' + $video[0].height; } const containerWidth = this.elements.$backgroundVideoContainer.outerWidth(), containerHeight = this.elements.$backgroundVideoContainer.outerHeight(), aspectRatioArray = aspectRatioSetting.split(':'), aspectRatio = aspectRatioArray[0] / aspectRatioArray[1], ratioWidth = containerWidth / aspectRatio, ratioHeight = containerHeight * aspectRatio, isWidthFixed = containerWidth / containerHeight > aspectRatio; return { width: isWidthFixed ? containerWidth : ratioHeight, height: isWidthFixed ? ratioWidth : containerHeight }; } changeVideoSize() { if (!('hosted' === this.videoType) && !this.player) { return; } let $video; if ('youtube' === this.videoType) { $video = jQuery(this.player.getIframe()); } else if ('vimeo' === this.videoType) { $video = jQuery(this.player.element); } else if ('hosted' === this.videoType) { $video = this.elements.$backgroundVideoHosted; } if (!$video) { return; } const size = this.calcVideosSize($video); $video.width(size.width).height(size.height); } startVideoLoop(firstTime) { // If the section has been removed if (!this.player.getIframe().contentWindow) { return; } const elementSettings = this.getElementSettings(), startPoint = elementSettings.background_video_start || 0, endPoint = elementSettings.background_video_end; if (elementSettings.background_play_once && !firstTime) { this.player.stopVideo(); return; } this.player.seekTo(startPoint); if (endPoint) { const durationToEnd = endPoint - startPoint + 1; setTimeout(() => { this.startVideoLoop(false); }, durationToEnd * 1000); } } prepareVimeoVideo(Vimeo, videoLink) { const elementSettings = this.getElementSettings(), videoSize = this.elements.$backgroundVideoContainer.outerWidth(), vimeoOptions = { url: videoLink, width: videoSize.width, autoplay: true, loop: !elementSettings.background_play_once, transparent: true, background: true, muted: true }; if (elementSettings.background_privacy_mode) { vimeoOptions.dnt = true; } this.player = new Vimeo.Player(this.elements.$backgroundVideoContainer, vimeoOptions); // Handle user-defined start/end times this.handleVimeoStartEndTimes(elementSettings); this.player.ready().then(() => { jQuery(this.player.element).addClass('elementor-background-video-embed'); this.changeVideoSize(); }); } handleVimeoStartEndTimes(elementSettings) { // If a start time is defined, set the start time if (elementSettings.background_video_start) { this.player.on('play', data => { if (0 === data.seconds) { this.player.setCurrentTime(elementSettings.background_video_start); } }); } this.player.on('timeupdate', data => { // If an end time is defined, handle ending the video if (elementSettings.background_video_end && elementSettings.background_video_end < data.seconds) { if (elementSettings.background_play_once) { // Stop at user-defined end time if not loop this.player.pause(); } else { // Go to start time if loop this.player.setCurrentTime(elementSettings.background_video_start); } } // If start time is defined but an end time is not, go to user-defined start time at video end. // Vimeo JS API has an 'ended' event, but it never fires when infinite loop is defined, so we // get the video duration (returns a promise) then use duration-0.5s as end time this.player.getDuration().then(duration => { if (elementSettings.background_video_start && !elementSettings.background_video_end && data.seconds > duration - 0.5) { this.player.setCurrentTime(elementSettings.background_video_start); } }); }); } prepareYTVideo(YT, videoID) { const $backgroundVideoContainer = this.elements.$backgroundVideoContainer, elementSettings = this.getElementSettings(); let startStateCode = YT.PlayerState.PLAYING; // Since version 67, Chrome doesn't fire the `PLAYING` state at start time if (window.chrome) { startStateCode = YT.PlayerState.UNSTARTED; } const playerOptions = { videoId: videoID, events: { onReady: () => { this.player.mute(); this.changeVideoSize(); this.startVideoLoop(true); this.player.playVideo(); }, onStateChange: event => { switch (event.data) { case startStateCode: $backgroundVideoContainer.removeClass('elementor-invisible elementor-loading'); break; case YT.PlayerState.ENDED: if ('function' === typeof this.player.seekTo) { this.player.seekTo(elementSettings.background_video_start || 0); } if (elementSettings.background_play_once) { this.player.destroy(); } } } }, playerVars: { controls: 0, rel: 0, playsinline: 1, cc_load_policy: 0 } }; // To handle CORS issues, when the default host is changed, the origin parameter has to be set. if (elementSettings.background_privacy_mode) { playerOptions.host = 'https://www.youtube-nocookie.com'; playerOptions.origin = window.location.hostname; } $backgroundVideoContainer.addClass('elementor-loading elementor-invisible'); this.player = new YT.Player(this.elements.$backgroundVideoEmbed[0], playerOptions); } activate() { let videoLink = this.getElementSettings('background_video_link'), videoID; const playOnce = this.getElementSettings('background_play_once'); if (-1 !== videoLink.indexOf('vimeo.com')) { this.videoType = 'vimeo'; this.apiProvider = elementorFrontend.utils.vimeo; } else if (videoLink.match(/^(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtu\.be\/|youtube\.com)/)) { this.videoType = 'youtube'; this.apiProvider = elementorFrontend.utils.youtube; } if (this.apiProvider) { videoID = this.apiProvider.getVideoIDFromURL(videoLink); this.apiProvider.onApiReady(apiObject => { if ('youtube' === this.videoType) { this.prepareYTVideo(apiObject, videoID); } if ('vimeo' === this.videoType) { this.prepareVimeoVideo(apiObject, videoLink); } }); } else { this.videoType = 'hosted'; const startTime = this.getElementSettings('background_video_start'), endTime = this.getElementSettings('background_video_end'); if (startTime || endTime) { videoLink += '#t=' + (startTime || 0) + (endTime ? ',' + endTime : ''); } this.elements.$backgroundVideoHosted.attr('src', videoLink).one('canplay', this.changeVideoSize.bind(this)); if (playOnce) { this.elements.$backgroundVideoHosted.on('ended', () => { this.elements.$backgroundVideoHosted.hide(); }); } } elementorFrontend.elements.$window.on('resize elementor/bg-video/recalc', this.changeVideoSize); } deactivate() { if ('youtube' === this.videoType && this.player.getIframe() || 'vimeo' === this.videoType) { this.player.destroy(); } else { this.elements.$backgroundVideoHosted.removeAttr('src').off('ended'); } elementorFrontend.elements.$window.off('resize', this.changeVideoSize); } run() { const elementSettings = this.getElementSettings(); if (!elementSettings.background_play_on_mobile && 'mobile' === elementorFrontend.getCurrentDeviceMode()) { return; } if ('video' === elementSettings.background_background && elementSettings.background_video_link) { this.activate(); } else { this.deactivate(); } } onInit() { super.onInit(...arguments); this.changeVideoSize = this.changeVideoSize.bind(this); this.run(); } onElementChange(propertyName) { if ('background_background' === propertyName) { this.run(); } } } exports["default"] = BackgroundVideo; /***/ }), /***/ "../assets/dev/js/frontend/handlers/background.js": /*!********************************************************!*\ !*** ../assets/dev/js/frontend/handlers/background.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 _backgroundSlideshow = _interopRequireDefault(__webpack_require__(/*! ./background-slideshow */ "../assets/dev/js/frontend/handlers/background-slideshow.js")); var _backgroundVideo = _interopRequireDefault(__webpack_require__(/*! ./background-video */ "../assets/dev/js/frontend/handlers/background-video.js")); var _default = exports["default"] = [_backgroundSlideshow.default, _backgroundVideo.default]; /***/ }), /***/ "../assets/dev/js/frontend/handlers/column.js": /*!****************************************************!*\ !*** ../assets/dev/js/frontend/handlers/column.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 _backgroundSlideshow = _interopRequireDefault(__webpack_require__(/*! ./background-slideshow */ "../assets/dev/js/frontend/handlers/background-slideshow.js")); var _default = exports["default"] = [_backgroundSlideshow.default]; /***/ }), /***/ "../assets/dev/js/frontend/handlers/container/container.js": /*!*****************************************************************!*\ !*** ../assets/dev/js/frontend/handlers/container/container.js ***! \*****************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { Object.defineProperty(exports, "__esModule", ({ value: true })); exports["default"] = void 0; var _default = exports["default"] = [() => __webpack_require__.e(/*! import() | container */ "container").then(__webpack_require__.bind(__webpack_require__, /*! ./handles-position */ "../assets/dev/js/frontend/handlers/container/handles-position.js")), () => __webpack_require__.e(/*! import() | container */ "container").then(__webpack_require__.bind(__webpack_require__, /*! ./shapes */ "../assets/dev/js/frontend/handlers/container/shapes.js")), () => __webpack_require__.e(/*! import() | container */ "container").then(__webpack_require__.bind(__webpack_require__, /*! ./grid-container */ "../assets/dev/js/frontend/handlers/container/grid-container.js"))]; /***/ }), /***/ "../assets/dev/js/frontend/handlers/global.js": /*!****************************************************!*\ !*** ../assets/dev/js/frontend/handlers/global.js ***! \****************************************************/ /***/ ((__unused_webpack_module, exports) => { Object.defineProperty(exports, "__esModule", ({ value: true })); exports["default"] = void 0; class GlobalHandler extends elementorModules.frontend.handlers.Base { getWidgetType() { return 'global'; } animate() { const $element = this.$element, animation = this.getAnimation(); if ('none' === animation) { $element.removeClass('elementor-invisible'); return; } const elementSettings = this.getElementSettings(), animationDelay = elementSettings._animation_delay || elementSettings.animation_delay || 0; $element.removeClass(animation); if (this.currentAnimation) { $element.removeClass(this.currentAnimation); } this.currentAnimation = animation; setTimeout(() => { $element.removeClass('elementor-invisible').addClass('animated ' + animation); }, animationDelay); } getAnimation() { return this.getCurrentDeviceSetting('animation') || this.getCurrentDeviceSetting('_animation'); } onInit() { super.onInit(...arguments); if (this.getAnimation()) { const observer = elementorModules.utils.Scroll.scrollObserver({ callback: event => { if (event.isInViewport) { this.animate(); observer.unobserve(this.$element[0]); } } }); observer.observe(this.$element[0]); } } onElementChange(propertyName) { if (/^_?animation/.test(propertyName)) { this.animate(); } } } var _default = $scope => { elementorFrontend.elementsHandler.addHandler(GlobalHandler, { $element: $scope }); }; exports["default"] = _default; /***/ }), /***/ "../assets/dev/js/frontend/handlers/section/handles-position.js": /*!**********************************************************************!*\ !*** ../assets/dev/js/frontend/handlers/section/handles-position.js ***! \**********************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { Object.defineProperty(exports, "__esModule", ({ value: true })); exports["default"] = void 0; __webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); __webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "../node_modules/core-js/modules/esnext.iterator.find.js"); class HandlesPosition extends elementorModules.frontend.handlers.Base { isActive() { return elementorFrontend.isEditMode(); } isFirstSection() { return this.$element[0] === document.querySelector('.elementor-edit-mode .elementor-top-section'); } isOverflowHidden() { return 'hidden' === this.$element.css('overflow'); } getOffset() { if ('body' === elementor.config.document.container) { return this.$element.offset().top; } const $container = jQuery(elementor.config.document.container); return this.$element.offset().top - $container.offset().top; } setHandlesPosition() { const document = elementor.documents.getCurrent(); if (!document || !document.container.isEditable()) { return; } const insideHandleClass = 'elementor-section--handles-inside'; if (elementor.settings.page.model.attributes.scroll_snap) { this.$element.addClass(insideHandleClass); return; } const isOverflowHidden = this.isOverflowHidden(); if (!isOverflowHidden && !this.isFirstSection()) { return; } const offset = isOverflowHidden ? 0 : this.getOffset(); if (offset < 25) { this.$element.addClass(insideHandleClass); const $handlesElement = this.$element.find('> .elementor-element-overlay > .elementor-editor-section-settings'); if (offset < -5) { $handlesElement.css('top', -offset); } else { $handlesElement.css('top', ''); } } else { this.$element.removeClass(insideHandleClass); } } onInit() { if (!this.isActive()) { return; } this.setHandlesPosition(); this.$element.on('mouseenter', this.setHandlesPosition.bind(this)); } } exports["default"] = HandlesPosition; /***/ }), /***/ "../assets/dev/js/frontend/handlers/section/shapes.js": /*!************************************************************!*\ !*** ../assets/dev/js/frontend/handlers/section/shapes.js ***! \************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { Object.defineProperty(exports, "__esModule", ({ value: true })); exports["default"] = void 0; __webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); __webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "../node_modules/core-js/modules/esnext.iterator.find.js"); class Shapes extends elementorModules.frontend.handlers.Base { getDefaultSettings() { return { selectors: { container: '> .elementor-shape-%s' }, svgURL: elementorFrontend.config.urls.assets + 'shapes/' }; } getDefaultElements() { const elements = {}, selectors = this.getSettings('selectors'); elements.$topContainer = this.$element.find(selectors.container.replace('%s', 'top')); elements.$bottomContainer = this.$element.find(selectors.container.replace('%s', 'bottom')); return elements; } isActive() { return elementorFrontend.isEditMode(); } getSvgURL(shapeType, fileName) { let svgURL = this.getSettings('svgURL') + fileName + '.svg'; if (elementor.config.additional_shapes && shapeType in elementor.config.additional_shapes) { svgURL = elementor.config.additional_shapes[shapeType]; if (-1 < fileName.indexOf('-negative')) { svgURL = svgURL.replace('.svg', '-negative.svg'); } } return svgURL; } buildSVG(side) { const baseSettingKey = 'shape_divider_' + side, shapeType = this.getElementSettings(baseSettingKey), $svgContainer = this.elements['$' + side + 'Container']; $svgContainer.attr('data-shape', shapeType); if (!shapeType) { $svgContainer.empty(); // Shape-divider set to 'none' return; } let fileName = shapeType; if (this.getElementSettings(baseSettingKey + '_negative')) { fileName += '-negative'; } const svgURL = this.getSvgURL(shapeType, fileName); jQuery.get(svgURL, data => { $svgContainer.empty().append(data.childNodes[0]); }); this.setNegative(side); } setNegative(side) { this.elements['$' + side + 'Container'].attr('data-negative', !!this.getElementSettings('shape_divider_' + side + '_negative')); } onInit() { if (!this.isActive(this.getSettings())) { return; } super.onInit(...arguments); ['top', 'bottom'].forEach(side => { if (this.getElementSettings('shape_divider_' + side)) { this.buildSVG(side); } }); } onElementChange(propertyName) { const shapeChange = propertyName.match(/^shape_divider_(top|bottom)$/); if (shapeChange) { this.buildSVG(shapeChange[1]); return; } const negativeChange = propertyName.match(/^shape_divider_(top|bottom)_negative$/); if (negativeChange) { this.buildSVG(negativeChange[1]); this.setNegative(negativeChange[1]); } } } exports["default"] = Shapes; /***/ }), /***/ "../assets/dev/js/frontend/handlers/section/stretched-section.js": /*!***********************************************************************!*\ !*** ../assets/dev/js/frontend/handlers/section/stretched-section.js ***! \***********************************************************************/ /***/ ((__unused_webpack_module, exports) => { Object.defineProperty(exports, "__esModule", ({ value: true })); exports["default"] = void 0; class StretchedSection extends elementorModules.frontend.handlers.StretchedElement { getStretchedClass() { return 'elementor-section-stretched'; } getStretchSettingName() { return 'stretch_section'; } getStretchActiveValue() { return 'section-stretched'; } } exports["default"] = StretchedSection; /***/ }), /***/ "../assets/dev/js/frontend/utils/anchor-scroll-margin.js": /*!***************************************************************!*\ !*** ../assets/dev/js/frontend/utils/anchor-scroll-margin.js ***! \***************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { Object.defineProperty(exports, "__esModule", ({ value: true })); exports["default"] = void 0; __webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js"); __webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); __webpack_require__(/*! core-js/modules/esnext.iterator.filter.js */ "../node_modules/core-js/modules/esnext.iterator.filter.js"); __webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js"); class _default extends elementorModules.ViewModule { getDefaultSettings() { return { selectors: { links: '.elementor-element a[href*="#"]', stickyElements: '.elementor-element.elementor-sticky' } }; } onInit() { this.observeStickyElements(() => { this.initializeStickyAndAnchorTracking(); }); } observeStickyElements(callback) { const observer = new MutationObserver(mutationsList => { for (const mutation of mutationsList) { if ('childList' === mutation.type || 'attributes' === mutation.type && mutation.target.classList.contains('elementor-sticky')) { callback(); } } }); observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['class', 'style'] }); } initializeStickyAndAnchorTracking() { const anchorLinks = this.getAllAnchorLinks(); const stickyElements = this.getAllStickyElements(); const trackedElements = []; if (!stickyElements.length > 0 && !anchorLinks.length > 0) { return; } this.trackStickyElements(stickyElements, trackedElements); this.trackAnchorLinks(anchorLinks, trackedElements); this.organizeStickyAndAnchors(trackedElements); } trackAnchorLinks(anchorLinks, trackedElements) { anchorLinks.forEach(element => { const target = this.getAnchorTarget(element); const scrollPosition = this.getScrollPosition(target); trackedElements.push({ element: target, type: 'anchor', scrollPosition }); }); } trackStickyElements(stickyElements, trackedElements) { stickyElements.forEach(element => { const settings = this.getElementSettings(element); if (!settings || !settings.sticky_anchor_link_offset) { return; } const { sticky_anchor_link_offset: scrollMarginTop } = settings; if (0 === scrollMarginTop) { return; } const scrollPosition = this.getScrollPosition(element); trackedElements.push({ scrollMarginTop, type: 'sticky', scrollPosition }); }); } organizeStickyAndAnchors(elements) { const stickyList = this.filterAndSortElementsByType(elements, 'sticky'); const anchorList = this.filterAndSortElementsByType(elements, 'anchor'); stickyList.forEach((sticky, index) => { this.defineCurrentStickyRange(sticky, index, stickyList, anchorList); }); } defineCurrentStickyRange(sticky, index, stickyList, anchorList) { const nextStickyScrollPosition = index + 1 < stickyList.length ? stickyList[index + 1].scrollPosition : Infinity; sticky.anchor = anchorList.filter(anchor => { const withinRange = anchor.scrollPosition > sticky.scrollPosition && anchor.scrollPosition < nextStickyScrollPosition; if (withinRange) { anchor.element.style.scrollMarginTop = `${sticky.scrollMarginTop}px`; } return withinRange; }); } getScrollPosition(element) { let offsetTop = 0; while (element) { offsetTop += element.offsetTop; element = element.offsetParent; } return offsetTop; } getAllStickyElements() { const allStickyElements = document.querySelectorAll(this.getSettings('selectors.stickyElements')); return Array.from(allStickyElements).filter((anchor, index, self) => index === self.findIndex(t => t.getAttribute('data-id') === anchor.getAttribute('data-id'))); } getAllAnchorLinks() { const allAnchors = document.querySelectorAll(this.getSettings('selectors.links')); return Array.from(allAnchors).filter((anchor, index, self) => index === self.findIndex(t => t.getAttribute('href') === anchor.getAttribute('href'))); } filterAndSortElementsByType(elements, type) { return elements.filter(item => type === item.type).sort((a, b) => a.scrollPosition - b.scrollPosition); } isValidSelector(hash) { const validSelectorPattern = /^#[A-Za-z_][\w-]*$/; return validSelectorPattern.test(hash); } getAnchorTarget(element) { const hash = element?.hash; if (!this.isValidSelector(hash)) { return null; } return document.querySelector(hash); } getElementSettings(element) { return JSON.parse(element.getAttribute('data-settings')); } } exports["default"] = _default; /***/ }), /***/ "../assets/dev/js/frontend/utils/assets-loader.js": /*!********************************************************!*\ !*** ../assets/dev/js/frontend/utils/assets-loader.js ***! \********************************************************/ /***/ ((__unused_webpack_module, exports) => { Object.defineProperty(exports, "__esModule", ({ value: true })); exports["default"] = void 0; class AssetsLoader { getScriptElement(src) { const scriptElement = document.createElement('script'); scriptElement.src = src; return scriptElement; } getStyleElement(src) { const styleElement = document.createElement('link'); styleElement.rel = 'stylesheet'; styleElement.href = src; return styleElement; } load(type, key) { const assetData = AssetsLoader.assets[type][key]; if (!assetData.loader) { assetData.loader = this.isAssetLoaded(assetData, type) ? Promise.resolve(true) : this.loadAsset(assetData, type); } return assetData.loader; } isAssetLoaded(assetData, assetType) { const filePath = 'script' === assetType ? `script[src="${assetData.src}"]` : `link[href="${assetData.src}"]`; return !!document.querySelectorAll(filePath)?.length; } loadAsset(assetData, assetType) { return new Promise(resolve => { const element = 'style' === assetType ? this.getStyleElement(assetData.src) : this.getScriptElement(assetData.src); element.onload = () => resolve(true); this.appendAsset(assetData, element); }); } appendAsset(assetData, element) { const beforeElement = document.querySelector(assetData.before); if (!!beforeElement) { beforeElement.insertAdjacentElement('beforebegin', element); return; } const parent = 'head' === assetData.parent ? assetData.parent : 'body'; document[parent].appendChild(element); } } exports["default"] = AssetsLoader; const assetsUrl = elementorFrontendConfig.urls.assets; const fileSuffix = elementorFrontendConfig.environmentMode.isScriptDebug ? '' : '.min'; const pluginVersion = elementorFrontendConfig.version; AssetsLoader.assets = { script: { dialog: { src: `${assetsUrl}lib/dialog/dialog${fileSuffix}.js?ver=4.9.3` }, 'share-link': { src: `${assetsUrl}lib/share-link/share-link${fileSuffix}.js?ver=${pluginVersion}` }, // TODO: Remove 'swiper' in v3.29.0 [ED-16272]. swiper: { src: `${assetsUrl}lib/swiper/v8/swiper${fileSuffix}.js?ver=8.4.5` } }, style: { // TODO: Remove 'swiper' in v3.28.0 [ED-16258]. swiper: { src: `${assetsUrl}lib/swiper/v8/css/swiper${fileSuffix}.css?ver=8.4.5`, parent: 'head' }, 'e-lightbox': { src: elementorFrontendConfig?.responsive?.hasCustomBreakpoints ? `${elementorFrontendConfig.urls.uploadUrl}/elementor/css/custom-lightbox.min.css?ver=${pluginVersion}` : `${assetsUrl}css/conditionals/lightbox${fileSuffix}.css?ver=${pluginVersion}` }, dialog: { src: `${assetsUrl}css/conditionals/dialog${fileSuffix}.css?ver=${pluginVersion}`, parent: 'head', before: '#elementor-frontend-css' } } }; /***/ }), /***/ "../assets/dev/js/frontend/utils/controls.js": /*!***************************************************!*\ !*** ../assets/dev/js/frontend/utils/controls.js ***! \***************************************************/ /***/ ((__unused_webpack_module, exports) => { Object.defineProperty(exports, "__esModule", ({ value: true })); exports["default"] = void 0; class Controls { /** * Get Control Value * * Retrieves a control value. * This function has been copied from `elementor/assets/dev/js/editor/utils/conditions.js`. * * @since 3.11.0 * * @param {{}} controlSettings A settings object (e.g. element settings - keys and values) * @param {string} controlKey The control key name * @param {string} controlSubKey A specific property of the control object. * @return {*} Control Value */ getControlValue(controlSettings, controlKey, controlSubKey) { let value; if ('object' === typeof controlSettings[controlKey] && controlSubKey) { value = controlSettings[controlKey][controlSubKey]; } else { value = controlSettings[controlKey]; } return value; } /** * Get the value of a responsive control. * * Retrieves the value of a responsive control for the current device or for this first parent device which has a control value. * * @since 3.11.0 * * @param {{}} controlSettings A settings object (e.g. element settings - keys and values) * @param {string} controlKey The control key name * @param {string} controlSubKey A specific property of the control object. * @param {string} device If we want to get a value for a specific device mode. * @return {*} Control Value */ getResponsiveControlValue(controlSettings, controlKey) { let controlSubKey = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ''; let device = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null; const currentDeviceMode = device || elementorFrontend.getCurrentDeviceMode(), controlValueDesktop = this.getControlValue(controlSettings, controlKey, controlSubKey); // Set the control value for the current device mode. // First check the widescreen device mode. if ('widescreen' === currentDeviceMode) { const controlValueWidescreen = this.getControlValue(controlSettings, `${controlKey}_widescreen`, controlSubKey); return !!controlValueWidescreen || 0 === controlValueWidescreen ? controlValueWidescreen : controlValueDesktop; } // Loop through all responsive and desktop device modes. const activeBreakpoints = elementorFrontend.breakpoints.getActiveBreakpointsList({ withDesktop: true }); let parentDeviceMode = currentDeviceMode, deviceIndex = activeBreakpoints.indexOf(currentDeviceMode), controlValue = ''; while (deviceIndex <= activeBreakpoints.length) { if ('desktop' === parentDeviceMode) { controlValue = controlValueDesktop; break; } const responsiveControlKey = `${controlKey}_${parentDeviceMode}`, responsiveControlValue = this.getControlValue(controlSettings, responsiveControlKey, controlSubKey); if (!!responsiveControlValue || 0 === responsiveControlValue) { controlValue = responsiveControlValue; break; } // If no control value has been set for the current device mode, then check the parent device mode. deviceIndex++; parentDeviceMode = activeBreakpoints[deviceIndex]; } return controlValue; } } exports["default"] = Controls; /***/ }), /***/ "../assets/dev/js/frontend/utils/lightbox/lightbox-manager.js": /*!********************************************************************!*\ !*** ../assets/dev/js/frontend/utils/lightbox/lightbox-manager.js ***! \********************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { Object.defineProperty(exports, "__esModule", ({ value: true })); exports["default"] = void 0; __webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); __webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "../node_modules/core-js/modules/esnext.iterator.find.js"); class LightboxManager extends elementorModules.ViewModule { static getLightbox() { const lightboxPromise = new Promise(resolveLightbox => { __webpack_require__.e(/*! import() | lightbox */ "lightbox").then(__webpack_require__.t.bind(__webpack_require__, /*! elementor-frontend/utils/lightbox/lightbox */ "../assets/dev/js/frontend/utils/lightbox/lightbox.js", 23)).then(_ref => { let { default: LightboxModule } = _ref; return resolveLightbox(new LightboxModule()); }); }), dialogScriptPromise = elementorFrontend.utils.assetsLoader.load('script', 'dialog'), dialogStylePromise = elementorFrontend.utils.assetsLoader.load('style', 'dialog'), shareLinkPromise = elementorFrontend.utils.assetsLoader.load('script', 'share-link'), swiperStylePromise = elementorFrontend.utils.assetsLoader.load('style', 'swiper'), // TODO: Remove in v3.28.0 [ED-16258]. lightboxStylePromise = elementorFrontend.utils.assetsLoader.load('style', 'e-lightbox'); return Promise.all([lightboxPromise, dialogScriptPromise, dialogStylePromise, shareLinkPromise, swiperStylePromise, lightboxStylePromise]).then(() => lightboxPromise); } getDefaultSettings() { return { selectors: { links: 'a, [data-elementor-lightbox]', slideshow: '[data-elementor-lightbox-slideshow]' } }; } getDefaultElements() { return { $links: jQuery(this.getSettings('selectors.links')), $slideshow: jQuery(this.getSettings('selectors.slideshow')) }; } isLightboxLink(element) { // Check for lowercase `a` to make sure it works also for links inside SVGs. if ('a' === element.tagName.toLowerCase() && (element.hasAttribute('download') || !/^[^?]+\.(png|jpe?g|gif|svg|webp)(\?.*)?$/i.test(element.href)) && !element.dataset.elementorLightboxVideo) { return false; } const generalOpenInLightbox = elementorFrontend.getKitSettings('global_image_lightbox'), currentLinkOpenInLightbox = element.dataset.elementorOpenLightbox; return 'yes' === currentLinkOpenInLightbox || generalOpenInLightbox && 'no' !== currentLinkOpenInLightbox; } isLightboxSlideshow() { return 0 !== this.elements.$slideshow.length; } async onLinkClick(event) { const element = event.currentTarget, $target = jQuery(event.target), editMode = elementorFrontend.isEditMode(), isColorPickingMode = editMode && elementor.$previewContents.find('body').hasClass('elementor-editor__ui-state__color-picker'), isClickInsideElementor = !!$target.closest('.elementor-edit-area').length; if (!this.isLightboxLink(element)) { if (editMode && isClickInsideElementor) { event.preventDefault(); } return; } event.preventDefault(); if (editMode && !elementor.getPreferences('lightbox_in_editor')) { return; } // Disable lightbox on color picking mode. if (isColorPickingMode) { return; } const lightbox = await LightboxManager.getLightbox(); lightbox.createLightbox(element); } bindEvents() { elementorFrontend.elements.$document.on('click', this.getSettings('selectors.links'), event => this.onLinkClick(event)); } onInit() { super.onInit(...arguments); if (elementorFrontend.isEditMode()) { return; } this.maybeActivateLightboxOnLink(); } maybeActivateLightboxOnLink() { // Detecting lightbox links on init will reduce the time of waiting to the lightbox to be display on slow connections. this.elements.$links.each((index, element) => { if (this.isLightboxLink(element)) { LightboxManager.getLightbox(); // Breaking the iteration when the library loading has already been triggered. return false; } }); } } exports["default"] = LightboxManager; /***/ }), /***/ "../assets/dev/js/frontend/utils/swiper.js": /*!*************************************************!*\ !*** ../assets/dev/js/frontend/utils/swiper.js ***! \*************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { Object.defineProperty(exports, "__esModule", ({ value: true })); exports["default"] = void 0; __webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); __webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js"); class SwiperHandler { constructor(container, config) { this.config = config; if (this.config.breakpoints) { // The config is passed as a param to allow adjustConfig to be called outside of this wrapper this.config = this.adjustConfig(config); } if (container instanceof jQuery) { container = container[0]; } // The Swiper will overlap the column width when applying custom margin values on the column. container.closest('.elementor-widget-wrap')?.classList.add('e-swiper-container'); container.closest('.elementor-widget')?.classList.add('e-widget-swiper'); return new Promise(resolve => { // TODO: Remove in v3.29.0 [ED-16272]. if ('undefined' === typeof Swiper) { elementorFrontend.utils.assetsLoader.load('script', 'swiper').then(() => resolve(this.createSwiperInstance(container, this.config))); return; } if ('function' === typeof Swiper && 'undefined' === typeof window.Swiper) { window.Swiper = Swiper; } resolve(this.createSwiperInstance(container, this.config)); }); } createSwiperInstance(container, config) { const SwiperSource = window.Swiper; SwiperSource.prototype.adjustConfig = this.adjustConfig; return new SwiperSource(container, config); } // Backwards compatibility for Elementor Pro <2.9.0 (old Swiper version - <5.0.0) // In Swiper 5.0.0 and up, breakpoints changed from acting as max-width to acting as min-width adjustConfig(config) { // Only reverse the breakpoints if the handle param has been defined if (!config.handleElementorBreakpoints) { return config; } const elementorBreakpoints = elementorFrontend.config.responsive.activeBreakpoints, elementorBreakpointValues = elementorFrontend.breakpoints.getBreakpointValues(); Object.keys(config.breakpoints).forEach(configBPKey => { const configBPKeyInt = parseInt(configBPKey); let breakpointToUpdate; // The `configBPKeyInt + 1` is a BC Fix for Elementor Pro Carousels from 2.8.0-2.8.3 used with Elementor >= 2.9.0 if (configBPKeyInt === elementorBreakpoints.mobile.value || configBPKeyInt + 1 === elementorBreakpoints.mobile.value) { // This handles the mobile breakpoint. Elementor's default sm breakpoint is never actually used, // so the mobile breakpoint (md) needs to be handled separately and set to the 0 breakpoint (xs) breakpointToUpdate = 0; } else if (elementorBreakpoints.widescreen && (configBPKeyInt === elementorBreakpoints.widescreen.value || configBPKeyInt + 1 === elementorBreakpoints.widescreen.value)) { // Widescreen is a min-width breakpoint. Since in Swiper >5.0 the breakpoint system is min-width based, // the value we pass to the Swiper instance in this case is the breakpoint from the user, unchanged. breakpointToUpdate = configBPKeyInt; } else { // Find the index of the current config breakpoint in the Elementor Breakpoints array const currentBPIndexInElementorBPs = elementorBreakpointValues.findIndex(elementorBP => { // BC Fix for Elementor Pro Carousels from 2.8.0-2.8.3 used with Elementor >= 2.9.0 return configBPKeyInt === elementorBP || configBPKeyInt + 1 === elementorBP; }); // For all other Swiper config breakpoints, move them one breakpoint down on the breakpoint list, // according to the array of Elementor's global breakpoints breakpointToUpdate = elementorBreakpointValues[currentBPIndexInElementorBPs - 1]; } config.breakpoints[breakpointToUpdate] = config.breakpoints[configBPKey]; // Then reset the settings in the original breakpoint key to the default values config.breakpoints[configBPKey] = { slidesPerView: config.slidesPerView, slidesPerGroup: config.slidesPerGroup ? config.slidesPerGroup : 1 }; }); return config; } } exports["default"] = SwiperHandler; /***/ }), /***/ "../assets/dev/js/frontend/utils/url-actions.js": /*!******************************************************!*\ !*** ../assets/dev/js/frontend/utils/url-actions.js ***! \******************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { Object.defineProperty(exports, "__esModule", ({ value: true })); exports["default"] = void 0; __webpack_require__(/*! core-js/modules/web.dom-exception.stack.js */ "../node_modules/core-js/modules/web.dom-exception.stack.js"); class _default extends elementorModules.ViewModule { getDefaultSettings() { return { selectors: { links: 'a[href^="%23elementor-action"], a[href^="#elementor-action"]' } }; } bindEvents() { elementorFrontend.elements.$document.on('click', this.getSettings('selectors.links'), this.runLinkAction.bind(this)); } initActions() { this.actions = { lightbox: async settings => { const lightbox = await elementorFrontend.utils.lightbox; if (settings.slideshow) { // Handle slideshow display lightbox.openSlideshow(settings.slideshow, settings.url); } else { // If the settings has an ID - the lightbox target content is an image - the ID is an attachment ID. if (settings.id) { settings.type = 'image'; } lightbox.showModal(settings); } } }; } addAction(name, callback) { this.actions[name] = callback; } runAction(url) { url = decodeURI(url); url = decodeURIComponent(url); const actionMatch = url.match(/action=(.+?)&/); if (!actionMatch) { return; } const action = this.actions[actionMatch[1]]; if (!action) { return; } let settings = {}; const settingsMatch = url.match(/settings=(.+)/); if (settingsMatch) { settings = JSON.parse(atob(settingsMatch[1])); } settings.previousEvent = event; for (var _len = arguments.length, restArgs = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { restArgs[_key - 1] = arguments[_key]; } action(settings, ...restArgs); } runLinkAction(event) { event.preventDefault(); this.runAction(jQuery(event.currentTarget).attr('href'), event); } runHashAction() { if (!location.hash) { return; } // Only if an element with this action hash exists on the page do we allow running the action. const elementWithHash = document.querySelector(`[data-e-action-hash="${location.hash}"], a[href*="${location.hash}"]`); if (elementWithHash) { this.runAction(elementWithHash.getAttribute('data-e-action-hash')); } } createActionHash(action, settings) { // We need to encode the hash tag (#) here, in order to support share links for a variety of providers return encodeURIComponent(`#elementor-action:action=${action}&settings=${btoa(JSON.stringify(settings))}`); } onInit() { super.onInit(); this.initActions(); elementorFrontend.on('components:init', this.runHashAction.bind(this)); } } exports["default"] = _default; /***/ }), /***/ "../assets/dev/js/frontend/utils/utils.js": /*!************************************************!*\ !*** ../assets/dev/js/frontend/utils/utils.js ***! \************************************************/ /***/ ((__unused_webpack_module, exports) => { Object.defineProperty(exports, "__esModule", ({ value: true })); exports.isScrollSnapActive = exports.escapeHTML = void 0; // Escape HTML special chars to prevent XSS. const escapeHTML = str => { const specialChars = { '&': '&', '<': '<', '>': '>', "'": ''', '"': '"' }; return str.replace(/[&<>'"]/g, tag => specialChars[tag] || tag); }; // Check if Scroll-Snap is active. exports.escapeHTML = escapeHTML; const isScrollSnapActive = () => { const scrollSnapStatus = elementorFrontend.isEditMode() ? elementor.settings.page.model.attributes?.scroll_snap : elementorFrontend.config.settings.page?.scroll_snap; return 'yes' === scrollSnapStatus ? true : false; }; exports.isScrollSnapActive = isScrollSnapActive; /***/ }), /***/ "../assets/dev/js/frontend/utils/video-api/base-loader.js": /*!****************************************************************!*\ !*** ../assets/dev/js/frontend/utils/video-api/base-loader.js ***! \****************************************************************/ /***/ ((__unused_webpack_module, exports) => { Object.defineProperty(exports, "__esModule", ({ value: true })); exports["default"] = void 0; class BaseLoader extends elementorModules.ViewModule { getDefaultSettings() { return { isInserted: false, selectors: { firstScript: 'script:first' } }; } getDefaultElements() { return { $firstScript: jQuery(this.getSettings('selectors.firstScript')) }; } insertAPI() { this.elements.$firstScript.before(jQuery('<script>', { src: this.getApiURL() })); this.setSettings('isInserted', true); } getVideoIDFromURL(url) { const videoIDParts = url.match(this.getURLRegex()); return videoIDParts && videoIDParts[1]; } onApiReady(callback) { if (!this.getSettings('isInserted')) { this.insertAPI(); } if (this.isApiLoaded()) { callback(this.getApiObject()); } else { // If not ready check again by timeout.. setTimeout(() => { this.onApiReady(callback); }, 350); } } getAutoplayURL(videoURL) { return videoURL.replace('&autoplay=0', '') + '&autoplay=1'; } } exports["default"] = BaseLoader; /***/ }), /***/ "../assets/dev/js/frontend/utils/video-api/vimeo-loader.js": /*!*****************************************************************!*\ !*** ../assets/dev/js/frontend/utils/video-api/vimeo-loader.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 _baseLoader = _interopRequireDefault(__webpack_require__(/*! ./base-loader */ "../assets/dev/js/frontend/utils/video-api/base-loader.js")); class VimeoLoader extends _baseLoader.default { getApiURL() { return 'https://player.vimeo.com/api/player.js'; } getURLRegex() { return /^(?:https?:\/\/)?(?:www|player\.)?(?:vimeo\.com\/)?(?:video\/|external\/)?(\d+)([^.?&#"'>]?)/; } isApiLoaded() { return window.Vimeo; } getApiObject() { return Vimeo; } getAutoplayURL(videoURL) { // Vimeo requires the '#t=' param to be last in the URL. const timeMatch = videoURL.match(/#t=[^&]*/); return videoURL.replace(timeMatch[0], '') + timeMatch; } } exports["default"] = VimeoLoader; /***/ }), /***/ "../assets/dev/js/frontend/utils/video-api/youtube-loader.js": /*!*******************************************************************!*\ !*** ../assets/dev/js/frontend/utils/video-api/youtube-loader.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 _baseLoader = _interopRequireDefault(__webpack_require__(/*! ./base-loader */ "../assets/dev/js/frontend/utils/video-api/base-loader.js")); class YoutubeLoader extends _baseLoader.default { getApiURL() { return 'https://www.youtube.com/iframe_api'; } getURLRegex() { return /^(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtu\.be\/|youtube\.com\/(?:(?:watch)?\?(?:.*&)?vi?=|(?:embed|v|vi|user|shorts)\/))([^?&"'>]+)/; } isApiLoaded() { return window.YT && YT.loaded; } getApiObject() { return YT; } } exports["default"] = YoutubeLoader; /***/ }), /***/ "../assets/dev/js/public-path.js": /*!***************************************!*\ !*** ../assets/dev/js/public-path.js ***! \***************************************/ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { /* eslint-disable camelcase */ __webpack_require__.p = elementorFrontendConfig.urls.assets + 'js/'; /***/ }), /***/ "../assets/dev/js/utils/breakpoints.js": /*!*********************************************!*\ !*** ../assets/dev/js/utils/breakpoints.js ***! \*********************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { Object.defineProperty(exports, "__esModule", ({ value: true })); exports["default"] = void 0; __webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js"); __webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); __webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js"); __webpack_require__(/*! core-js/modules/esnext.iterator.map.js */ "../node_modules/core-js/modules/esnext.iterator.map.js"); /** * Breakpoints * * This utility class contains helper functions relating to Elementor's breakpoints system. * * @since 3.4.0 */ class Breakpoints extends elementorModules.Module { constructor(responsiveConfig) { super(); // The passed config is either `elementor.config.responsive` or `elementorFrontend.config.responsive` this.responsiveConfig = responsiveConfig; } /** * Get Active Breakpoints List * * Returns a flat array containing the active breakpoints/devices. By default, it returns the li * the list ordered from smallest to largest breakpoint. If `true` is passed as a parameter, it reverses the order. * * @since 3.4.0 * * @param {Object} args */ getActiveBreakpointsList() { let args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; const defaultArgs = { largeToSmall: false, withDesktop: false }; args = { ...defaultArgs, ...args }; const breakpointKeys = Object.keys(this.responsiveConfig.activeBreakpoints); if (args.withDesktop) { // If there is an active 'widescreen' breakpoint, insert the artificial 'desktop' device below it. const widescreenIndex = breakpointKeys.indexOf('widescreen'), indexToInsertDesktopDevice = -1 === widescreenIndex ? breakpointKeys.length : breakpointKeys.length - 1; breakpointKeys.splice(indexToInsertDesktopDevice, 0, 'desktop'); } if (args.largeToSmall) { breakpointKeys.reverse(); } return breakpointKeys; } /** * Get Active Breakpoint Values * * Returns a flat array containing the list of active breakpoint values, from smallest to largest. * * @since 3.4.0 */ getBreakpointValues() { const { activeBreakpoints } = this.responsiveConfig, breakpointValues = []; Object.values(activeBreakpoints).forEach(breakpointConfig => { breakpointValues.push(breakpointConfig.value); }); return breakpointValues; } /** * Get Desktop Previous Device Key * * Returns the key of the device directly under desktop (can be 'tablet', 'tablet_extra', 'laptop'). * * @since 3.4.0 * * @return {string} device key */ getDesktopPreviousDeviceKey() { let desktopPreviousDevice = ''; const { activeBreakpoints } = this.responsiveConfig, breakpointKeys = Object.keys(activeBreakpoints), numOfDevices = breakpointKeys.length; if ('min' === activeBreakpoints[breakpointKeys[numOfDevices - 1]].direction) { // If the widescreen breakpoint is active, the device that's previous to desktop is the last one before // widescreen. desktopPreviousDevice = breakpointKeys[numOfDevices - 2]; } else { // If the widescreen breakpoint isn't active, we just take the last device returned by the config. desktopPreviousDevice = breakpointKeys[numOfDevices - 1]; } return desktopPreviousDevice; } /** * Get Device Minimum Breakpoint * * Returns the minimum point in the device's display range. For each device, the minimum point of its display range * is the max point of the device below it + 1px. For example, if the active devices are mobile, tablet, * and desktop, and the mobile breakpoint is 767px, the minimum display point for tablet devices is 768px. * * @since 3.4.0 * * @return {number|*} minimum breakpoint */ getDesktopMinPoint() { const { activeBreakpoints } = this.responsiveConfig, desktopPreviousDevice = this.getDesktopPreviousDeviceKey(); return activeBreakpoints[desktopPreviousDevice].value + 1; } /** * Get Device Minimum Breakpoint * * Returns the minimum point in the device's display range. For each device, the minimum point of its display range * is the max point of the device below it + 1px. For example, if the active devices are mobile, tablet, * and desktop, and the mobile breakpoint is 767px, the minimum display point for tablet devices is 768px. * * @since 3.4.0 * * @param {string} device * @return {number|*} minimum breakpoint */ getDeviceMinBreakpoint(device) { if ('desktop' === device) { return this.getDesktopMinPoint(); } const { activeBreakpoints } = this.responsiveConfig, breakpointNames = Object.keys(activeBreakpoints); let minBreakpoint; if (breakpointNames[0] === device) { // For the lowest breakpoint, the min point is always 320. minBreakpoint = 320; } else if ('widescreen' === device) { // Widescreen only has a minimum point. In this case, the breakpoint // value in the Breakpoints config is itself the device min point. if (activeBreakpoints[device]) { minBreakpoint = activeBreakpoints[device].value; } else { // If the widescreen breakpoint does not exist in the active breakpoints config (for example, in the // case this method runs as the breakpoint is being added), get the value from the full config. minBreakpoint = this.responsiveConfig.breakpoints.widescreen; } } else { const deviceNameIndex = breakpointNames.indexOf(device), previousIndex = deviceNameIndex - 1; minBreakpoint = activeBreakpoints[breakpointNames[previousIndex]].value + 1; } return minBreakpoint; } /** * Get Active Match Regex * * Returns a regular expression containing all active breakpoints prefixed with an underscore. * * @return {RegExp} Active Match Regex */ getActiveMatchRegex() { return new RegExp(this.getActiveBreakpointsList().map(device => '_' + device).join('|') + '$'); } } exports["default"] = Breakpoints; /***/ }), /***/ "../assets/dev/js/utils/events.js": /*!****************************************!*\ !*** ../assets/dev/js/utils/events.js ***! \****************************************/ /***/ ((__unused_webpack_module, exports) => { Object.defineProperty(exports, "__esModule", ({ value: true })); exports["default"] = exports.Events = void 0; class Events { /** * Dispatch an Elementor event. * * Will dispatch both native event & jQuery event (as BC). * By default, `bcEvent` is `null`. * * @param {Object} context - The context that will dispatch the event. * @param {string} event - Event to dispatch. * @param {*} data - Data to pass to the event, default to `null`. * @param {string|null} bcEvent - BC event to dispatch, default to `null`. * * @return {void} */ static dispatch(context, event) { let data = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; let bcEvent = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null; // Make sure to use the native context if it's a jQuery instance. context = context instanceof jQuery ? context[0] : context; // Dispatch the BC event only if exists. if (bcEvent) { context.dispatchEvent(new CustomEvent(bcEvent, { detail: data })); } // jQuery's `.on()` listens also to native custom events, so there is no need // to dispatch also a jQuery event. context.dispatchEvent(new CustomEvent(event, { detail: data })); } } exports.Events = Events; var _default = exports["default"] = Events; /***/ }), /***/ "../assets/dev/js/utils/hooks.js": /*!***************************************!*\ !*** ../assets/dev/js/utils/hooks.js ***! \***************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { /** * Handles managing all events for whatever you plug it into. Priorities for hooks are based on lowest to highest in * that, lowest priority hooks are fired first. */ __webpack_require__(/*! core-js/modules/es.array.push.js */ "../node_modules/core-js/modules/es.array.push.js"); var EventManager = function () { var slice = Array.prototype.slice, MethodsAvailable; /** * Contains the hooks that get registered with this EventManager. The array for storage utilizes a "flat" * object literal such that looking up the hook utilizes the native object literal hash. */ var STORAGE = { actions: {}, filters: {} }; /** * Removes the specified hook by resetting the value of it. * * @param {string} type Type of hook, either 'actions' or 'filters' * @param {Function} hook The hook (namespace.identifier) to remove * @param {Function} callback * @param {*} context * @private */ function _removeHook(type, hook, callback, context) { var handlers, handler, i; if (!STORAGE[type][hook]) { return; } if (!callback) { STORAGE[type][hook] = []; } else { handlers = STORAGE[type][hook]; if (!context) { for (i = handlers.length; i--;) { if (handlers[i].callback === callback) { handlers.splice(i, 1); } } } else { for (i = handlers.length; i--;) { handler = handlers[i]; if (handler.callback === callback && handler.context === context) { handlers.splice(i, 1); } } } } } /** * Use an insert sort for keeping our hooks organized based on priority. This function is ridiculously faster * than bubble sort, etc: http://jsperf.com/javascript-sort * * @param {Array<*>} hooks The custom array containing all of the appropriate hooks to perform an insert sort on. * @private */ function _hookInsertSort(hooks) { var tmpHook, j, prevHook; for (var i = 1, len = hooks.length; i < len; i++) { tmpHook = hooks[i]; j = i; while ((prevHook = hooks[j - 1]) && prevHook.priority > tmpHook.priority) { hooks[j] = hooks[j - 1]; --j; } hooks[j] = tmpHook; } return hooks; } /** * Adds the hook to the appropriate storage container * * @param {string} type 'actions' or 'filters' * @param {Array<*>} hook The hook (namespace.identifier) to add to our event manager * @param {Function} callback The function that will be called when the hook is executed. * @param {number} priority The priority of this hook. Must be an integer. * @param {*} [context] A value to be used for this * @private */ function _addHook(type, hook, callback, priority, context) { var hookObject = { callback, priority, context }; // Utilize 'prop itself' : http://jsperf.com/hasownproperty-vs-in-vs-undefined/19 var hooks = STORAGE[type][hook]; if (hooks) { // TEMP FIX BUG var hasSameCallback = false; jQuery.each(hooks, function () { if (this.callback === callback) { hasSameCallback = true; return false; } }); if (hasSameCallback) { return; } // END TEMP FIX BUG hooks.push(hookObject); hooks = _hookInsertSort(hooks); } else { hooks = [hookObject]; } STORAGE[type][hook] = hooks; } /** * Runs the specified hook. If it is an action, the value is not modified but if it is a filter, it is. * * @param {string} type 'actions' or 'filters' * @param {*} hook The hook ( namespace.identifier ) to be ran. * @param {Array<*>} args Arguments to pass to the action/filter. If it's a filter, args is actually a single parameter. * @private */ function _runHook(type, hook, args) { var handlers = STORAGE[type][hook], i, len; if (!handlers) { return 'filters' === type ? args[0] : false; } len = handlers.length; if ('filters' === type) { for (i = 0; i < len; i++) { args[0] = handlers[i].callback.apply(handlers[i].context, args); } } else { for (i = 0; i < len; i++) { handlers[i].callback.apply(handlers[i].context, args); } } return 'filters' === type ? args[0] : true; } /** * Adds an action to the event manager. * * @param {string} action Must contain namespace.identifier * @param {Function} callback Must be a valid callback function before this action is added * @param {number} [priority=10] Used to control when the function is executed in relation to other callbacks bound to the same hook * @param {*} [context] Supply a value to be used for this */ function addAction(action, callback, priority, context) { if ('string' === typeof action && 'function' === typeof callback) { priority = parseInt(priority || 10, 10); _addHook('actions', action, callback, priority, context); } return MethodsAvailable; } /** * Performs an action if it exists. You can pass as many arguments as you want to this function; the only rule is * that the first argument must always be the action. */ function doAction(/* Action, arg1, arg2, ... */ ) { var args = slice.call(arguments); var action = args.shift(); if ('string' === typeof action) { _runHook('actions', action, args); } return MethodsAvailable; } /** * Removes the specified action if it contains a namespace.identifier & exists. * * @param {string} action The action to remove * @param {Function} [callback] Callback function to remove */ function removeAction(action, callback) { if ('string' === typeof action) { _removeHook('actions', action, callback); } return MethodsAvailable; } /** * Adds a filter to the event manager. * * @param {string} filter Must contain namespace.identifier * @param {Function} callback Must be a valid callback function before this action is added * @param {number} [priority=10] Used to control when the function is executed in relation to other callbacks bound to the same hook * @param {*} [context] Supply a value to be used for this */ function addFilter(filter, callback, priority, context) { if ('string' === typeof filter && 'function' === typeof callback) { priority = parseInt(priority || 10, 10); _addHook('filters', filter, callback, priority, context); } return MethodsAvailable; } /** * Performs a filter if it exists. You should only ever pass 1 argument to be filtered. The only rule is that * the first argument must always be the filter. */ function applyFilters(/* Filter, filtered arg, arg2, ... */ ) { var args = slice.call(arguments); var filter = args.shift(); if ('string' === typeof filter) { return _runHook('filters', filter, args); } return MethodsAvailable; } /** * Removes the specified filter if it contains a namespace.identifier & exists. * * @param {string} filter The action to remove * @param {Function} [callback] Callback function to remove */ function removeFilter(filter, callback) { if ('string' === typeof filter) { _removeHook('filters', filter, callback); } return MethodsAvailable; } /** * Maintain a reference to the object scope so our public methods never get confusing. */ MethodsAvailable = { removeFilter, applyFilters, addFilter, removeAction, doAction, addAction }; // Return all of the publicly available methods return MethodsAvailable; }; module.exports = EventManager; /***/ }), /***/ "../core/common/assets/js/utils/environment.js": /*!*****************************************************!*\ !*** ../core/common/assets/js/utils/environment.js ***! \*****************************************************/ /***/ ((__unused_webpack_module, exports) => { Object.defineProperty(exports, "__esModule", ({ value: true })); exports["default"] = void 0; const matchUserAgent = UserAgentStr => { return userAgent.indexOf(UserAgentStr) >= 0; }, userAgent = navigator.userAgent, // Solution influenced by https://stackoverflow.com/questions/9847580/how-to-detect-safari-chrome-ie-firefox-and-opera-browser // Opera 8.0+ isOpera = !!window.opr && !!opr.addons || !!window.opera || matchUserAgent(' OPR/'), // Firefox 1.0+ isFirefox = matchUserAgent('Firefox'), // Safari 3.0+ "[object HTMLElementConstructor]" isSafari = /^((?!chrome|android).)*safari/i.test(userAgent) || /constructor/i.test(window.HTMLElement) || (p => { return '[object SafariRemoteNotification]' === p.toString(); })(!window.safari || typeof safari !== 'undefined' && safari.pushNotification), // Internet Explorer 6-11 isIE = /Trident|MSIE/.test(userAgent) && (/* @cc_on!@*/ false || !!document.documentMode), // Edge 20+ isEdge = !isIE && !!window.StyleMedia || matchUserAgent('Edg'), // Google Chrome (Not accurate) isChrome = !!window.chrome && matchUserAgent('Chrome') && !(isEdge || isOpera), // Blink engine isBlink = matchUserAgent('Chrome') && !!window.CSS, // Apple Webkit engine isAppleWebkit = matchUserAgent('AppleWebKit') && !isBlink, isTouchDevice = 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0, environment = { isTouchDevice, appleWebkit: isAppleWebkit, blink: isBlink, chrome: isChrome, edge: isEdge, firefox: isFirefox, ie: isIE, mac: matchUserAgent('Macintosh'), opera: isOpera, safari: isSafari, webkit: matchUserAgent('AppleWebKit') }; var _default = exports["default"] = environment; /***/ }), /***/ "../core/common/assets/js/utils/storage.js": /*!*************************************************!*\ !*** ../core/common/assets/js/utils/storage.js ***! \*************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { Object.defineProperty(exports, "__esModule", ({ value: true })); exports["default"] = void 0; __webpack_require__(/*! core-js/modules/esnext.iterator.constructor.js */ "../node_modules/core-js/modules/esnext.iterator.constructor.js"); __webpack_require__(/*! core-js/modules/esnext.iterator.for-each.js */ "../node_modules/core-js/modules/esnext.iterator.for-each.js"); class _default extends elementorModules.Module { get(key, options) { options = options || {}; let storage; try { storage = options.session ? sessionStorage : localStorage; } catch (e) { return key ? undefined : {}; } let elementorStorage = storage.getItem('elementor'); if (elementorStorage) { elementorStorage = JSON.parse(elementorStorage); } else { elementorStorage = {}; } if (!elementorStorage.__expiration) { elementorStorage.__expiration = {}; } const expiration = elementorStorage.__expiration; let expirationToCheck = []; if (key) { if (expiration[key]) { expirationToCheck = [key]; } } else { expirationToCheck = Object.keys(expiration); } let entryExpired = false; expirationToCheck.forEach(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; } set(key, value, options) { options = options || {}; const elementorStorage = this.get(null, options); elementorStorage[key] = value; if (options.lifetimeInSeconds) { const date = new Date(); date.setTime(date.getTime() + options.lifetimeInSeconds * 1000); elementorStorage.__expiration[key] = date.getTime(); } this.save(elementorStorage, options.session); } save(object, session) { let storage; try { storage = session ? sessionStorage : localStorage; } catch (e) { return; } storage.setItem('elementor', JSON.stringify(object)); } } exports["default"] = _default; /***/ }), /***/ "../modules/shapes/assets/js/frontend/frontend.js": /*!********************************************************!*\ !*** ../modules/shapes/assets/js/frontend/frontend.js ***! \********************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { Object.defineProperty(exports, "__esModule", ({ value: true })); exports["default"] = void 0; class _default extends elementorModules.Module { constructor() { super(); elementorFrontend.elementsHandler.attachHandler('text-path', () => __webpack_require__.e(/*! import() | text-path */ "text-path").then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/text-path */ "../modules/shapes/assets/js/frontend/handlers/text-path.js"))); } } exports["default"] = _default; /***/ }), /***/ "../node_modules/core-js/internals/a-possible-prototype.js": /*!*****************************************************************!*\ !*** ../node_modules/core-js/internals/a-possible-prototype.js ***! \*****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var isPossiblePrototype = __webpack_require__(/*! ../internals/is-possible-prototype */ "../node_modules/core-js/internals/is-possible-prototype.js"); var $String = String; var $TypeError = TypeError; module.exports = function (argument) { if (isPossiblePrototype(argument)) return argument; throw new $TypeError("Can't set " + $String(argument) + ' as a prototype'); }; /***/ }), /***/ "../node_modules/core-js/internals/dom-exception-constants.js": /*!********************************************************************!*\ !*** ../node_modules/core-js/internals/dom-exception-constants.js ***! \********************************************************************/ /***/ ((module) => { module.exports = { IndexSizeError: { s: 'INDEX_SIZE_ERR', c: 1, m: 1 }, DOMStringSizeError: { s: 'DOMSTRING_SIZE_ERR', c: 2, m: 0 }, HierarchyRequestError: { s: 'HIERARCHY_REQUEST_ERR', c: 3, m: 1 }, WrongDocumentError: { s: 'WRONG_DOCUMENT_ERR', c: 4, m: 1 }, InvalidCharacterError: { s: 'INVALID_CHARACTER_ERR', c: 5, m: 1 }, NoDataAllowedError: { s: 'NO_DATA_ALLOWED_ERR', c: 6, m: 0 }, NoModificationAllowedError: { s: 'NO_MODIFICATION_ALLOWED_ERR', c: 7, m: 1 }, NotFoundError: { s: 'NOT_FOUND_ERR', c: 8, m: 1 }, NotSupportedError: { s: 'NOT_SUPPORTED_ERR', c: 9, m: 1 }, InUseAttributeError: { s: 'INUSE_ATTRIBUTE_ERR', c: 10, m: 1 }, InvalidStateError: { s: 'INVALID_STATE_ERR', c: 11, m: 1 }, SyntaxError: { s: 'SYNTAX_ERR', c: 12, m: 1 }, InvalidModificationError: { s: 'INVALID_MODIFICATION_ERR', c: 13, m: 1 }, NamespaceError: { s: 'NAMESPACE_ERR', c: 14, m: 1 }, InvalidAccessError: { s: 'INVALID_ACCESS_ERR', c: 15, m: 1 }, ValidationError: { s: 'VALIDATION_ERR', c: 16, m: 0 }, TypeMismatchError: { s: 'TYPE_MISMATCH_ERR', c: 17, m: 1 }, SecurityError: { s: 'SECURITY_ERR', c: 18, m: 1 }, NetworkError: { s: 'NETWORK_ERR', c: 19, m: 1 }, AbortError: { s: 'ABORT_ERR', c: 20, m: 1 }, URLMismatchError: { s: 'URL_MISMATCH_ERR', c: 21, m: 1 }, QuotaExceededError: { s: 'QUOTA_EXCEEDED_ERR', c: 22, m: 1 }, TimeoutError: { s: 'TIMEOUT_ERR', c: 23, m: 1 }, InvalidNodeTypeError: { s: 'INVALID_NODE_TYPE_ERR', c: 24, m: 1 }, DataCloneError: { s: 'DATA_CLONE_ERR', c: 25, m: 1 } }; /***/ }), /***/ "../node_modules/core-js/internals/error-stack-clear.js": /*!**************************************************************!*\ !*** ../node_modules/core-js/internals/error-stack-clear.js ***! \**************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); var $Error = Error; var replace = uncurryThis(''.replace); var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd'); // eslint-disable-next-line redos/no-vulnerable, sonarjs/slow-regex -- safe var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/; var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST); module.exports = function (stack, dropEntries) { if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) { while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, ''); } return stack; }; /***/ }), /***/ "../node_modules/core-js/internals/function-uncurry-this-accessor.js": /*!***************************************************************************!*\ !*** ../node_modules/core-js/internals/function-uncurry-this-accessor.js ***! \***************************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ "../node_modules/core-js/internals/function-uncurry-this.js"); var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js"); module.exports = function (object, key, method) { try { // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method])); } catch (error) { /* empty */ } }; /***/ }), /***/ "../node_modules/core-js/internals/inherit-if-required.js": /*!****************************************************************!*\ !*** ../node_modules/core-js/internals/inherit-if-required.js ***! \****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var isCallable = __webpack_require__(/*! ../internals/is-callable */ "../node_modules/core-js/internals/is-callable.js"); var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ "../node_modules/core-js/internals/object-set-prototype-of.js"); // makes subclassing work correct for wrapped built-ins module.exports = function ($this, dummy, Wrapper) { var NewTarget, NewTargetPrototype; if ( // it can work only with native `setPrototypeOf` setPrototypeOf && // we haven't completely correct pre-ES6 way for getting `new.target`, so use this isCallable(NewTarget = dummy.constructor) && NewTarget !== Wrapper && isObject(NewTargetPrototype = NewTarget.prototype) && NewTargetPrototype !== Wrapper.prototype ) setPrototypeOf($this, NewTargetPrototype); return $this; }; /***/ }), /***/ "../node_modules/core-js/internals/is-possible-prototype.js": /*!******************************************************************!*\ !*** ../node_modules/core-js/internals/is-possible-prototype.js ***! \******************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); module.exports = function (argument) { return isObject(argument) || argument === null; }; /***/ }), /***/ "../node_modules/core-js/internals/iterator-map.js": /*!*********************************************************!*\ !*** ../node_modules/core-js/internals/iterator-map.js ***! \*********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var call = __webpack_require__(/*! ../internals/function-call */ "../node_modules/core-js/internals/function-call.js"); var aCallable = __webpack_require__(/*! ../internals/a-callable */ "../node_modules/core-js/internals/a-callable.js"); var anObject = __webpack_require__(/*! ../internals/an-object */ "../node_modules/core-js/internals/an-object.js"); var getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ "../node_modules/core-js/internals/get-iterator-direct.js"); var createIteratorProxy = __webpack_require__(/*! ../internals/iterator-create-proxy */ "../node_modules/core-js/internals/iterator-create-proxy.js"); var callWithSafeIterationClosing = __webpack_require__(/*! ../internals/call-with-safe-iteration-closing */ "../node_modules/core-js/internals/call-with-safe-iteration-closing.js"); var IteratorProxy = createIteratorProxy(function () { var iterator = this.iterator; var result = anObject(call(this.next, iterator)); var done = this.done = !!result.done; if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true); }); // `Iterator.prototype.map` method // https://github.com/tc39/proposal-iterator-helpers module.exports = function map(mapper) { anObject(this); aCallable(mapper); return new IteratorProxy(getIteratorDirect(this), { mapper: mapper }); }; /***/ }), /***/ "../node_modules/core-js/internals/normalize-string-argument.js": /*!**********************************************************************!*\ !*** ../node_modules/core-js/internals/normalize-string-argument.js ***! \**********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var toString = __webpack_require__(/*! ../internals/to-string */ "../node_modules/core-js/internals/to-string.js"); module.exports = function (argument, $default) { return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument); }; /***/ }), /***/ "../node_modules/core-js/internals/object-set-prototype-of.js": /*!********************************************************************!*\ !*** ../node_modules/core-js/internals/object-set-prototype-of.js ***! \********************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { /* eslint-disable no-proto -- safe */ var uncurryThisAccessor = __webpack_require__(/*! ../internals/function-uncurry-this-accessor */ "../node_modules/core-js/internals/function-uncurry-this-accessor.js"); var isObject = __webpack_require__(/*! ../internals/is-object */ "../node_modules/core-js/internals/is-object.js"); var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ "../node_modules/core-js/internals/require-object-coercible.js"); var aPossiblePrototype = __webpack_require__(/*! ../internals/a-possible-prototype */ "../node_modules/core-js/internals/a-possible-prototype.js"); // `Object.setPrototypeOf` method // https://tc39.es/ecma262/#sec-object.setprototypeof // Works with __proto__ only. Old v8 can't work with null proto objects. // eslint-disable-next-line es/no-object-setprototypeof -- safe module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () { var CORRECT_SETTER = false; var test = {}; var setter; try { setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set'); setter(test, []); CORRECT_SETTER = test instanceof Array; } catch (error) { /* empty */ } return function setPrototypeOf(O, proto) { requireObjectCoercible(O); aPossiblePrototype(proto); if (!isObject(O)) return O; if (CORRECT_SETTER) setter(O, proto); else O.__proto__ = proto; return O; }; }() : undefined); /***/ }), /***/ "../node_modules/core-js/internals/to-string.js": /*!******************************************************!*\ !*** ../node_modules/core-js/internals/to-string.js ***! \******************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var classof = __webpack_require__(/*! ../internals/classof */ "../node_modules/core-js/internals/classof.js"); var $String = String; module.exports = function (argument) { if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string'); return $String(argument); }; /***/ }), /***/ "../node_modules/core-js/modules/es.iterator.map.js": /*!**********************************************************!*\ !*** ../node_modules/core-js/modules/es.iterator.map.js ***! \**********************************************************/ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js"); var map = __webpack_require__(/*! ../internals/iterator-map */ "../node_modules/core-js/internals/iterator-map.js"); var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js"); // `Iterator.prototype.map` method // https://tc39.es/ecma262/#sec-iterator.prototype.map $({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, { map: map }); /***/ }), /***/ "../node_modules/core-js/modules/esnext.iterator.map.js": /*!**************************************************************!*\ !*** ../node_modules/core-js/modules/esnext.iterator.map.js ***! \**************************************************************/ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { // TODO: Remove from `core-js@4` __webpack_require__(/*! ../modules/es.iterator.map */ "../node_modules/core-js/modules/es.iterator.map.js"); /***/ }), /***/ "../node_modules/core-js/modules/web.dom-exception.stack.js": /*!******************************************************************!*\ !*** ../node_modules/core-js/modules/web.dom-exception.stack.js ***! \******************************************************************/ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { var $ = __webpack_require__(/*! ../internals/export */ "../node_modules/core-js/internals/export.js"); var globalThis = __webpack_require__(/*! ../internals/global-this */ "../node_modules/core-js/internals/global-this.js"); var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ "../node_modules/core-js/internals/get-built-in.js"); var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ "../node_modules/core-js/internals/create-property-descriptor.js"); var defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ "../node_modules/core-js/internals/object-define-property.js").f); var hasOwn = __webpack_require__(/*! ../internals/has-own-property */ "../node_modules/core-js/internals/has-own-property.js"); var anInstance = __webpack_require__(/*! ../internals/an-instance */ "../node_modules/core-js/internals/an-instance.js"); var inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ "../node_modules/core-js/internals/inherit-if-required.js"); var normalizeStringArgument = __webpack_require__(/*! ../internals/normalize-string-argument */ "../node_modules/core-js/internals/normalize-string-argument.js"); var DOMExceptionConstants = __webpack_require__(/*! ../internals/dom-exception-constants */ "../node_modules/core-js/internals/dom-exception-constants.js"); var clearErrorStack = __webpack_require__(/*! ../internals/error-stack-clear */ "../node_modules/core-js/internals/error-stack-clear.js"); var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ "../node_modules/core-js/internals/descriptors.js"); var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ "../node_modules/core-js/internals/is-pure.js"); var DOM_EXCEPTION = 'DOMException'; var Error = getBuiltIn('Error'); var NativeDOMException = getBuiltIn(DOM_EXCEPTION); var $DOMException = function DOMException() { anInstance(this, DOMExceptionPrototype); var argumentsLength = arguments.length; var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]); var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error'); var that = new NativeDOMException(message, name); var error = new Error(message); error.name = DOM_EXCEPTION; defineProperty(that, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1))); inheritIfRequired(that, this, $DOMException); return that; }; var DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototype; var ERROR_HAS_STACK = 'stack' in new Error(DOM_EXCEPTION); var DOM_EXCEPTION_HAS_STACK = 'stack' in new NativeDOMException(1, 2); // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe var descriptor = NativeDOMException && DESCRIPTORS && Object.getOwnPropertyDescriptor(globalThis, DOM_EXCEPTION); // Bun ~ 0.1.1 DOMException have incorrect descriptor and we can't redefine it // https://github.com/Jarred-Sumner/bun/issues/399 var BUGGY_DESCRIPTOR = !!descriptor && !(descriptor.writable && descriptor.configurable); var FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !BUGGY_DESCRIPTOR && !DOM_EXCEPTION_HAS_STACK; // `DOMException` constructor patch for `.stack` where it's required // https://webidl.spec.whatwg.org/#es-DOMException-specialness $({ global: true, constructor: true, forced: IS_PURE || FORCED_CONSTRUCTOR }, { // TODO: fix export logic DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException }); var PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION); var PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype; if (PolyfilledDOMExceptionPrototype.constructor !== PolyfilledDOMException) { if (!IS_PURE) { defineProperty(PolyfilledDOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, PolyfilledDOMException)); } for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) { var constant = DOMExceptionConstants[key]; var constantName = constant.s; if (!hasOwn(PolyfilledDOMException, constantName)) { defineProperty(PolyfilledDOMException, constantName, createPropertyDescriptor(6, constant.c)); } } } /***/ }) }, /******/ __webpack_require__ => { // webpackRuntimeModules /******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId)) /******/ __webpack_require__.O(0, ["frontend-modules"], () => (__webpack_exec__("../assets/dev/js/frontend/frontend.js"))); /******/ var __webpack_exports__ = __webpack_require__.O(); /******/ } ]); //# sourceMappingURL=frontend.js.map
Submit
FILE
FOLDER
Name
Size
Permission
Action
packages
---
0755
025905cd015671d0a830.bundle.min.js
4102 bytes
0644
056b8f3bbbcabf026cd1.bundle.js
44877 bytes
0644
0d1a75a41cae2a76432a.bundle.js
15095 bytes
0644
0f7962315cd2e100f80e.bundle.min.js
36898 bytes
0644
2e387c4154cbf63565b2.bundle.min.js
23677 bytes
0644
3ac06e8b9c2e8f04c57d.bundle.min.js
13406 bytes
0644
4573680c5d8b9b2d9f17.bundle.min.js
5438 bytes
0644
513d3f05d575dabcdc35.bundle.js
63581 bytes
0644
56a155a8adcef506ce8a.bundle.js
271244 bytes
0644
5b6ef966b71e5cf670d8.bundle.min.js
5096 bytes
0644
947434f8f98ed29acc17.bundle.js
113943 bytes
0644
accordion.36aa4c8c4eba17bc8e03.bundle.min.js
3793 bytes
0644
accordion.7b5b5744bdd225280eca.bundle.js
8086 bytes
0644
adbbe9b5d6b520e98e4c.bundle.js
14519 bytes
0644
admin-feedback.js
4612 bytes
0644
admin-feedback.min.js
1959 bytes
0644
admin-modules.js
37153 bytes
0644
admin-modules.min.js
17495 bytes
0644
admin-modules.min.js.LICENSE.txt
149 bytes
0644
admin-notifications.js
315181 bytes
0644
admin-notifications.min.js
90596 bytes
0644
admin-notifications.min.js.LICENSE.txt
249 bytes
0644
admin-top-bar.js
69044 bytes
0644
admin-top-bar.min.js
12611 bytes
0644
admin.js
116517 bytes
0644
admin.min.js
55698 bytes
0644
admin.min.js.LICENSE.txt
149 bytes
0644
ai-admin.js
2047321 bytes
0644
ai-admin.min.js
621451 bytes
0644
ai-admin.min.js.LICENSE.txt
511 bytes
0644
ai-gutenberg.js
2182195 bytes
0644
ai-gutenberg.min.js
650769 bytes
0644
ai-gutenberg.min.js.LICENSE.txt
672 bytes
0644
ai-layout.js
603627 bytes
0644
ai-layout.min.js
224952 bytes
0644
ai-layout.min.js.LICENSE.txt
149 bytes
0644
ai-media-library.js
2165088 bytes
0644
ai-media-library.min.js
645772 bytes
0644
ai-media-library.min.js.LICENSE.txt
672 bytes
0644
ai-unify-product-images.js
2160727 bytes
0644
ai-unify-product-images.min.js
642445 bytes
0644
ai-unify-product-images.min.js.LICENSE.txt
672 bytes
0644
ai.js
2217357 bytes
0644
ai.min.js
667287 bytes
0644
ai.min.js.LICENSE.txt
672 bytes
0644
alert.42cc1d522ef5c60bf874.bundle.min.js
658 bytes
0644
alert.b696182ec6f18a35bc69.bundle.js
1445 bytes
0644
announcements-app.js
101111 bytes
0644
announcements-app.min.js
28104 bytes
0644
announcements-app.min.js.LICENSE.txt
149 bytes
0644
app-loader.js
261459 bytes
0644
app-loader.min.js
90729 bytes
0644
app-packages.js
352758 bytes
0644
app-packages.min.js
122957 bytes
0644
app-packages.min.js.LICENSE.txt
149 bytes
0644
app.js
822376 bytes
0644
app.min.js
291943 bytes
0644
app.min.js.LICENSE.txt
149 bytes
0644
atomic-widgets-editor.js
113026 bytes
0644
atomic-widgets-editor.min.js
46228 bytes
0644
beta-tester.js
21458 bytes
0644
beta-tester.min.js
8870 bytes
0644
c4dcba54ff9219690f00.bundle.min.js
59769 bytes
0644
cf70912a0f34653ad242.bundle.js
25979 bytes
0644
checklist.js
400149 bytes
0644
checklist.min.js
129465 bytes
0644
checklist.min.js.LICENSE.txt
399 bytes
0644
common-modules.js
296253 bytes
0644
common-modules.min.js
104010 bytes
0644
common.js
410718 bytes
0644
common.min.js
155262 bytes
0644
common.min.js.LICENSE.txt
149 bytes
0644
contact-buttons.7c9983ed0d4964b951c2.bundle.min.js
8713 bytes
0644
contact-buttons.c21325756a91b795f8e4.bundle.js
14886 bytes
0644
container-converter.js
52177 bytes
0644
container-converter.min.js
18550 bytes
0644
container.0754914e4611dc659a50.bundle.min.js
10794 bytes
0644
container.cb1e834c5aad68e9c908.bundle.js
20894 bytes
0644
counter.12335f45aaa79d244f24.bundle.min.js
946 bytes
0644
counter.f359dee9199f5aad06c6.bundle.js
1933 bytes
0644
dev-tools.js
23856 bytes
0644
dev-tools.min.js
7627 bytes
0644
e-home-screen.js
99471 bytes
0644
e-home-screen.min.js
24005 bytes
0644
e-react-promotions.js
122840 bytes
0644
e-react-promotions.min.js
39243 bytes
0644
e-wc-product-editor.js
106998 bytes
0644
e-wc-product-editor.min.js
17211 bytes
0644
e-wc-product-editor.min.js.LICENSE.txt
160 bytes
0644
e5d6feb1b1d6cf52126f.bundle.js
11262 bytes
0644
editor-document.js
71611 bytes
0644
editor-document.min.js
25908 bytes
0644
editor-environment-v2.js
640 bytes
0644
editor-environment-v2.min.js
246 bytes
0644
editor-loader-v1.js
372 bytes
0644
editor-loader-v1.min.js
88 bytes
0644
editor-loader-v2.js
860 bytes
0644
editor-loader-v2.min.js
443 bytes
0644
editor-modules.js
117532 bytes
0644
editor-modules.min.js
51162 bytes
0644
editor-modules.min.js.LICENSE.txt
149 bytes
0644
editor-notifications.js
325456 bytes
0644
editor-notifications.min.js
94579 bytes
0644
editor-notifications.min.js.LICENSE.txt
249 bytes
0644
editor.js
3195893 bytes
0644
editor.min.js
1314736 bytes
0644
editor.min.js.LICENSE.txt
2000 bytes
0644
element-manager-admin.js
169298 bytes
0644
element-manager-admin.min.js
48296 bytes
0644
element-manager-admin.min.js.LICENSE.txt
310 bytes
0644
elementor-admin-bar.js
18643 bytes
0644
elementor-admin-bar.min.js
7359 bytes
0644
floating-bars.7efeeb8b098e55999ff1.bundle.js
15148 bytes
0644
floating-bars.c1e9838906b386709cd4.bundle.min.js
7943 bytes
0644
floating-elements-modal.js
34512 bytes
0644
floating-elements-modal.min.js
14530 bytes
0644
frontend-modules.js
202806 bytes
0644
frontend-modules.min.js
59749 bytes
0644
frontend.js
122074 bytes
0644
frontend.min.js
44252 bytes
0644
gutenberg.js
7653 bytes
0644
gutenberg.min.js
4100 bytes
0644
image-carousel.1a3e0c6222562304eed5.bundle.js
945 bytes
0644
image-carousel.6167d20b95b33386757b.bundle.min.js
448 bytes
0644
import-export-admin.js
15062 bytes
0644
import-export-admin.min.js
6306 bytes
0644
kit-elements-defaults-editor.js
84627 bytes
0644
kit-elements-defaults-editor.min.js
34775 bytes
0644
kit-elements-defaults-editor.min.js.LICENSE.txt
149 bytes
0644
kit-library.09cb71ec3fbb128f4e25.bundle.min.js
90757 bytes
0644
kit-library.b0f0ab89c95fe1f6fde3.bundle.js
227198 bytes
0644
lightbox.74688eb10c7852662847.bundle.js
49977 bytes
0644
lightbox.f3fa607b705962362647.bundle.min.js
28984 bytes
0644
media-hints.js
11982 bytes
0644
media-hints.min.js
6170 bytes
0644
nested-accordion.a0f28ea648b29da812a1.bundle.js
19215 bytes
0644
nested-accordion.c546968f7aebebc356f2.bundle.min.js
9833 bytes
0644
nested-accordion.js
26854 bytes
0644
nested-accordion.min.js
12622 bytes
0644
nested-accordion.min.js.LICENSE.txt
149 bytes
0644
nested-elements.js
20713 bytes
0644
nested-elements.min.js
6451 bytes
0644
nested-tabs.js
26814 bytes
0644
nested-tabs.min.js
12617 bytes
0644
nested-tabs.min.js.LICENSE.txt
149 bytes
0644
nested-title-keyboard-handler.967db65f6ba460c1f2e9.bundle.js
8062 bytes
0644
nested-title-keyboard-handler.fc9d01c2cd0ef46d20fd.bundle.min.js
4358 bytes
0644
new-template.js
15470 bytes
0644
new-template.min.js
6809 bytes
0644
notes.js
24327 bytes
0644
notes.min.js
9275 bytes
0644
onboarding.120a44527e5a7209a8e4.bundle.js
131886 bytes
0644
onboarding.cb1850dab52d5cd9ce5b.bundle.min.js
60703 bytes
0644
progress.3200f67fe8fb78924bea.bundle.min.js
833 bytes
0644
progress.5d8492a023e85c6cc0e0.bundle.js
1980 bytes
0644
responsive-bar.js
25426 bytes
0644
responsive-bar.min.js
11609 bytes
0644
styleguide-app-initiator.js
34775 bytes
0644
styleguide-app-initiator.min.js
15259 bytes
0644
styleguide-app-initiator.min.js.LICENSE.txt
149 bytes
0644
styleguide-app.51d4579e75a5f39265bc.bundle.min.js
27437 bytes
0644
styleguide-app.a6e297c616479b98c03d.bundle.js
68872 bytes
0644
styleguide.js
99166 bytes
0644
styleguide.min.js
45199 bytes
0644
tabs.537e7a0f178447960143.bundle.min.js
3755 bytes
0644
tabs.e808857358793ac13db5.bundle.js
8013 bytes
0644
text-editor.bd4eccbd156d0b1fc3cf.bundle.js
3105 bytes
0644
text-editor.c084ef86600b6f11690d.bundle.min.js
1394 bytes
0644
text-path.5923566687faac82ea62.bundle.min.js
26201 bytes
0644
text-path.5923566687faac82ea62.bundle.min.js.LICENSE.txt
188 bytes
0644
text-path.acb8842ac7e1cd1dfb44.bundle.js
70505 bytes
0644
toggle.375da8e2f6fed12731c2.bundle.js
8117 bytes
0644
toggle.a6177e2e3c2bc8864bef.bundle.min.js
3823 bytes
0644
video.4343afefd25b5ede51a4.bundle.min.js
3315 bytes
0644
video.e031bfad2085ca92d445.bundle.js
6706 bytes
0644
web-cli.js
493079 bytes
0644
web-cli.min.js
172975 bytes
0644
web-cli.min.js.LICENSE.txt
149 bytes
0644
webpack.runtime.js
16054 bytes
0644
webpack.runtime.min.js
5350 bytes
0644
wp-audio.c91cab3152c3f241f266.bundle.js
797 bytes
0644
wp-audio.c9624cb6e5dc9de86abd.bundle.min.js
366 bytes
0644
N4ST4R_ID | Naxtarrr