| @@ -1036,9 +1036,9 @@ | ||
| 1036 | 1036 | __webpack_require__(/*! core-js/modules/esnext.iterator.find.js */ "../node_modules/core-js/modules/esnext.iterator.find.js"); |
| 1037 | 1037 | class LightboxManager extends elementorModules.ViewModule { |
| 1038 | 1038 | static getLightbox() { |
| 1039 | 1039 | const lightboxPromise = new Promise(resolveLightbox => { |
| 1040 | - Promise.all(/*! import() | lightbox */[__webpack_require__.e("vendors-node_modules_dompurify_dist_purify_cjs_js"), __webpack_require__.e("lightbox")]).then(__webpack_require__.t.bind(__webpack_require__, /*! elementor-frontend/utils/lightbox/lightbox */ "../assets/dev/js/frontend/utils/lightbox/lightbox.js", 23)).then(({ | |
| 1040 | + __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(({ | |
| 1041 | 1041 | default: LightboxModule |
| 1042 | 1042 | }) => resolveLightbox(new LightboxModule())); |
| 1043 | 1043 | }), |
| 1044 | 1044 | dialogScriptPromise = elementorFrontend.utils.assetsLoader.load('script', 'dialog'), |
| @@ -1166,9 +1166,8 @@ | ||
| 1166 | 1166 | } |
| 1167 | 1167 | createSwiperInstance(container, config) { |
| 1168 | 1168 | const SwiperSource = window.Swiper; |
| 1169 | 1169 | SwiperSource.prototype.adjustConfig = this.adjustConfig; |
| 1170 | - config = this.applyMotionPreferences(config); | |
| 1171 | 1170 | return new SwiperSource(container, config); |
| 1172 | 1171 | } |
| 1173 | 1172 | |
| 1174 | 1173 | // Backwards compatibility for Elementor Pro <2.9.0 (old Swiper version - <5.0.0) |
| @@ -1213,18 +1212,8 @@ | ||
| 1213 | 1212 | }; |
| 1214 | 1213 | }); |
| 1215 | 1214 | return config; |
| 1216 | 1215 | } |
| 1217 | - applyMotionPreferences(config) { | |
| 1218 | - const prefersReducedMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches; | |
| 1219 | - if (!prefersReducedMotion) { | |
| 1220 | - return config; | |
| 1221 | - } | |
| 1222 | - return Object.assign({}, config, { | |
| 1223 | - speed: 0, | |
| 1224 | - autoplay: false | |
| 1225 | - }); | |
| 1226 | - } | |
| 1227 | 1216 | } |
| 1228 | 1217 | exports["default"] = SwiperHandler; |
| 1229 | 1218 | |
| 1230 | 1219 | /***/ }), |
| @@ -2133,9 +2122,9 @@ | ||
| 2133 | 2122 | exports["default"] = void 0; |
| 2134 | 2123 | class _default extends elementorModules.Module { |
| 2135 | 2124 | constructor() { |
| 2136 | 2125 | super(); |
| 2137 | - elementorFrontend.elementsHandler.attachHandler('text-path', () => Promise.all(/*! import() | text-path */[__webpack_require__.e("vendors-node_modules_dompurify_dist_purify_cjs_js"), __webpack_require__.e("text-path")]).then(__webpack_require__.bind(__webpack_require__, /*! ./handlers/text-path */ "../modules/shapes/assets/js/frontend/handlers/text-path.js"))); | |
| 2126 | + 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"))); | |
| 2138 | 2127 | } |
| 2139 | 2128 | } |
| 2140 | 2129 | exports["default"] = _default; |
| 2141 | 2130 | |