packages
1 week ago
012778ff5828d0d1739f.bundle.js
2 weeks ago
02ab54a3328c55e115ea.bundle.min.js
2 weeks ago
0352e30f394e8e1dd4dc.bundle.js
2 months ago
06dbd869189450c5db6c.bundle.js
2 weeks ago
0982f37bec0944fbcb10.bundle.js
4 months ago
0bc41c4656ca54cf2aca.bundle.min.js
4 months ago
14bcbc91620c14a7112c.bundle.min.js
2 weeks ago
1564d2bfa4591bf857f3.bundle.min.js
4 months ago
197583acd246fea0e25d.bundle.js
5 months ago
20866d9d9e34bf3cb0a7.bundle.min.js
2 weeks ago
2140afa714e988f1069e.bundle.js
2 months ago
220e9c3d1caa01726b1a.bundle.js
2 weeks ago
29c342e9c10e3f13f498.bundle.js
2 weeks ago
2bac2875cdf51a1f8140.bundle.min.js
2 weeks ago
32f7c5e8db4c8976b254.bundle.js
2 months ago
35423d812dc1d52fdb27.bundle.min.js
4 months ago
397f2d183c19202777d6.bundle.min.js
3 months ago
397f2d183c19202777d6.bundle.min.js.LICENSE.txt
3 months ago
3c838288a9b7ddd2aea4.bundle.min.js
4 months ago
3d410a099008411bb011.bundle.js
5 months ago
3df4dbb5d612dbdab477.bundle.min.js
2 months ago
40d841f4b4ce7b1928f5.bundle.js
4 months ago
435080452e81c388e779.bundle.min.js
2 months ago
4927500be197e062162e.bundle.min.js
2 months ago
4c96eab5a48ee097dcb2.bundle.js
2 weeks ago
59845ab5a628d2b79f57.bundle.js
2 weeks ago
5b575dffd21b0cec15a5.bundle.js
2 weeks ago
6117d083decd13b6ed73.bundle.js
2 months ago
6844b6c0a66040e3ca12.bundle.js
2 months ago
687979ffbcfd58352c29.bundle.min.js
2 weeks ago
6936b079b4e7c28cd901.bundle.min.js
2 weeks ago
6a19e86dd8c1f9165dbe.bundle.js
5 months ago
6caa76d2f6eec6c4e665.bundle.js
3 months ago
6d09ff0398a56a60654b.bundle.min.js
3 months ago
6f779545aaa23e951088.bundle.min.js
2 months ago
73f63f9507c306870586.bundle.min.js
2 weeks ago
7698e0d50a8ad7ecc822.bundle.js
2 weeks ago
77b60be7dc925a32f560.bundle.min.js
2 weeks ago
78dd4dee6173d40eb75a.bundle.min.js
2 months ago
7dae73b622bebe8a5d94.bundle.js
4 months ago
8277989eebcfba278cb0.bundle.min.js
7 months ago
831aea236b1ddda24f0c.bundle.js
2 weeks ago
845418a5488e9937fc99.bundle.min.js
2 weeks ago
8ad22e7ba800b096313c.bundle.min.js
2 weeks ago
8c20eb5e96967d3016b2.bundle.js
2 weeks ago
8e5b42844d27eada9b53.bundle.min.js
2 months ago
8e80438d29fc79b648e5.bundle.js
2 months ago
8e8b47ad5b4e4d038c80.bundle.js
4 months ago
8ecfd8495b7ec419862a.bundle.js
4 months ago
979a9c03fe10da23400d.bundle.js
2 months ago
9b0cc3aa93cf287cd0a2.bundle.min.js
2 weeks ago
9b97a73ee8fdc5fb7dc3.bundle.js
3 months ago
9bd390911e34b349d8cb.bundle.min.js
2 months ago
9dcd9e88237da6496816.bundle.min.js
4 months ago
9e7e356552c03a622b0f.bundle.js
2 months ago
9ffe53753902b9aca176.bundle.js
2 weeks ago
a0f667abb781daab8e48.bundle.js
2 weeks ago
a9c3d5b02d26399aebfb.bundle.js
2 weeks ago
accordion.8b0db5058afeb74622f5.bundle.min.js
7 months ago
accordion.b9a0ab19c7c872c405d7.bundle.js
5 months ago
admin-feedback.js
7 months ago
admin-feedback.min.js
7 months ago
admin-feedback.strings.js
2 weeks ago
admin-modules.js
5 months ago
admin-modules.min.js
5 months ago
admin-modules.min.js.LICENSE.txt
9 months ago
admin-modules.strings.js
1 month ago
admin-notifications.js
7 months ago
admin-notifications.min.js
7 months ago
admin-notifications.strings.js
5 months ago
admin-top-bar.js
2 months ago
admin-top-bar.min.js
2 months ago
admin-top-bar.strings.js
5 months ago
admin.js
2 weeks ago
admin.min.js
2 weeks ago
admin.min.js.LICENSE.txt
9 months ago
admin.strings.js
5 months ago
aee13673e923469c3275.bundle.min.js
4 months ago
af05aac2eb23e7438265.bundle.js
2 weeks ago
ai-admin.js
5 months ago
ai-admin.min.js
5 months ago
ai-admin.min.js.LICENSE.txt
9 months ago
ai-admin.strings.js
5 months ago
ai-gutenberg.js
5 months ago
ai-gutenberg.min.js
5 months ago
ai-gutenberg.min.js.LICENSE.txt
9 months ago
ai-gutenberg.strings.js
5 months ago
ai-layout.js
3 months ago
ai-layout.min.js
3 months ago
ai-layout.min.js.LICENSE.txt
9 months ago
ai-layout.strings.js
1 week ago
ai-media-library.js
5 months ago
ai-media-library.min.js
5 months ago
ai-media-library.min.js.LICENSE.txt
9 months ago
ai-media-library.strings.js
5 months ago
ai-unify-product-images.js
5 months ago
ai-unify-product-images.min.js
5 months ago
ai-unify-product-images.min.js.LICENSE.txt
9 months ago
ai-unify-product-images.strings.js
5 months ago
ai.js
5 months ago
ai.min.js
5 months ago
ai.min.js.LICENSE.txt
9 months ago
ai.strings.js
1 week ago
alert.b4336601ffdb6086d1b5.bundle.min.js
2 weeks ago
alert.fd509aa768e7b35a8e32.bundle.js
5 months ago
announcements-app.js
2 weeks ago
announcements-app.min.js
2 weeks ago
announcements-app.min.js.LICENSE.txt
9 months ago
announcements-app.strings.js
5 months ago
app-loader.js
5 months ago
app-loader.min.js
7 months ago
app-loader.strings.js
1 week ago
app-packages.js
4 months ago
app-packages.min.js
4 months ago
app-packages.min.js.LICENSE.txt
9 months ago
app-packages.strings.js
1 week ago
app.js
2 weeks ago
app.min.js
2 weeks ago
app.min.js.LICENSE.txt
9 months ago
app.strings.js
1 week ago
atomic-widgets-action-link-handler.js
2 weeks ago
atomic-widgets-action-link-handler.min.js
2 weeks ago
atomic-widgets-editor.js
2 weeks ago
atomic-widgets-editor.min.js
2 weeks ago
atomic-widgets-editor.min.js.LICENSE.txt
4 months ago
atomic-widgets-editor.strings.js
2 months ago
atomic-widgets-form-handler.js
1 week ago
atomic-widgets-form-handler.min.js
1 week ago
atomic-widgets-form-handler.min.js.LICENSE.txt
2 weeks ago
b4d39e5186d768f79598.bundle.js
2 weeks ago
b96d70044d0d67c2df19.bundle.min.js
7 months ago
bcb5135af6b817bc9708.bundle.min.js
2 months ago
beta-tester.js
7 months ago
beta-tester.min.js
7 months ago
beta-tester.strings.js
5 months ago
bf2fa9f81b3d78f5858f.bundle.min.js
2 weeks ago
c13d205fa26f8af1ce7c.bundle.js
5 months ago
c73a7d15e48e3305780a.bundle.min.js
2 weeks ago
cf6ec600fcf4e08ba6d3.bundle.js
4 months ago
checklist.js
5 months ago
checklist.min.js
5 months ago
checklist.min.js.LICENSE.txt
9 months ago
checklist.strings.js
5 months ago
cloud-library-screenshot.js
5 months ago
cloud-library-screenshot.min.js
5 months ago
cloud-library-screenshot.min.js.LICENSE.txt
7 months ago
cloud-library-screenshot.strings.js
5 months ago
common-modules.js
2 months ago
common-modules.min.js
2 months ago
common-modules.strings.js
5 months ago
common.js
2 weeks ago
common.min.js
2 weeks ago
common.min.js.LICENSE.txt
9 months ago
common.strings.js
5 months ago
contact-buttons.086261d3e9c4d8037686.bundle.js
5 months ago
contact-buttons.e98d0220ce8c38404e7e.bundle.min.js
7 months ago
container-converter.js
7 months ago
container-converter.min.js
7 months ago
container-converter.strings.js
5 months ago
container-editor-handlers.a2e8e48d28c5544fb183.bundle.min.js
4 months ago
container-editor-handlers.e7e069c4e656425c51f8.bundle.js
4 months ago
counter.12335f45aaa79d244f24.bundle.min.js
7 months ago
counter.7310c276bc7865a3d438.bundle.js
5 months ago
d39cd4cb3d5b09b11c14.bundle.min.js
2 weeks ago
d42de03ef4a0f50e39ca.bundle.min.js
4 months ago
d4c67aa71d8173f6201f.bundle.js
2 months ago
d52aa05c75af56327744.bundle.js
5 months ago
d67ddd6f08b08392c42f.bundle.js
5 months ago
d8a330693f9211e2166e.bundle.min.js
2 weeks ago
daedc6797eaad5c82711.bundle.min.js
7 months ago
de7511b88f9ec0968921.bundle.js
2 weeks ago
design-system-sync.js
1 month ago
design-system-sync.min.js
1 month ago
design-system-sync.strings.js
2 months ago
dev-tools.js
7 months ago
dev-tools.min.js
7 months ago
dev-tools.strings.js
5 months ago
df2f2a2ae20e0181ec2d.bundle.js
2 months ago
df4ff09f2b412abf0cd3.bundle.js
2 weeks ago
dff865a4d52c12bcf996.bundle.min.js
2 weeks ago
e-home-screen.js
2 weeks ago
e-home-screen.min.js
2 weeks ago
e-home-screen.min.js.LICENSE.txt
2 weeks ago
e-home-screen.strings.js
2 weeks ago
e-react-promotions.js
1 month ago
e-react-promotions.min.js
1 month ago
e-react-promotions.min.js.LICENSE.txt
1 month ago
e-react-promotions.strings.js
5 months ago
e-wc-product-editor.js
5 months ago
e-wc-product-editor.min.js
7 months ago
e-wc-product-editor.min.js.LICENSE.txt
1 year ago
e-wc-product-editor.strings.js
5 months ago
e1cb4d726bb59646c677.bundle.min.js
7 months ago
e459c6c89c0c0899c850.bundle.js
5 months ago
e9a764dcd37c06162942.bundle.js
2 weeks ago
eb5018119ee87fd6a7fc.bundle.min.js
2 months ago
ec1ee92b2a471389c7b9.bundle.min.js
2 weeks ago
editor-document.js
5 months ago
editor-document.min.js
7 months ago
editor-document.strings.js
1 week ago
editor-environment-v2.js
7 months ago
editor-environment-v2.min.js
7 months ago
editor-environment-v2.strings.js
5 months ago
editor-interactions.js
2 weeks ago
editor-interactions.min.js
2 weeks ago
editor-interactions.strings.js
5 months ago
editor-loader-v1.js
7 months ago
editor-loader-v1.min.js
7 months ago
editor-loader-v1.strings.js
5 months ago
editor-loader-v2.js
7 months ago
editor-loader-v2.min.js
7 months ago
editor-loader-v2.strings.js
5 months ago
editor-modules.js
2 months ago
editor-modules.min.js
2 months ago
editor-modules.min.js.LICENSE.txt
9 months ago
editor-modules.strings.js
1 week ago
editor-notifications.js
7 months ago
editor-notifications.min.js
7 months ago
editor-notifications.strings.js
5 months ago
editor-one-admin.js
5 months ago
editor-one-admin.min.js
5 months ago
editor-one-admin.strings.js
5 months ago
editor-one-menu.js
4 months ago
editor-one-menu.min.js
4 months ago
editor-one-menu.strings.js
5 months ago
editor-one-sidebar-navigation.js
2 months ago
editor-one-sidebar-navigation.min.js
2 months ago
editor-one-sidebar-navigation.min.js.LICENSE.txt
5 months ago
editor-one-sidebar-navigation.strings.js
5 months ago
editor-one-top-bar.js
2 weeks ago
editor-one-top-bar.min.js
2 weeks ago
editor-one-top-bar.min.js.LICENSE.txt
4 months ago
editor-one-top-bar.strings.js
4 months ago
editor-v4-opt-in-alphachip.js
2 months ago
editor-v4-opt-in-alphachip.min.js
2 months ago
editor-v4-opt-in-alphachip.strings.js
2 months ago
editor-v4-opt-in.js
2 months ago
editor-v4-opt-in.min.js
2 months ago
editor-v4-opt-in.min.js.LICENSE.txt
5 months ago
editor-v4-opt-in.strings.js
2 months ago
editor.js
2 weeks ago
editor.min.js
2 weeks ago
editor.min.js.LICENSE.txt
5 months ago
editor.strings.js
2 weeks ago
ef2100ac3eda1a957819.bundle.min.js
7 months ago
ef35c83e4628f0a5c328.bundle.js
4 months ago
element-manager-admin.js
2 months ago
element-manager-admin.min.js
2 months ago
element-manager-admin.min.js.LICENSE.txt
9 months ago
element-manager-admin.strings.js
2 months ago
elementor-admin-bar.js
7 months ago
elementor-admin-bar.min.js
7 months ago
elementor-admin-bar.strings.js
5 months ago
f3b4453f66034a6655a7.bundle.min.js
2 weeks ago
f56b0d1257a5346afe64.bundle.min.js
2 months ago
fdda4547e887fbda71b3.bundle.js
2 months ago
fdf69f4e1f300fb27472.bundle.min.js
2 months ago
floating-bars.740d06d17cea5cebdb61.bundle.min.js
7 months ago
floating-bars.a6e6a043444b62f64f82.bundle.js
5 months ago
floating-elements-modal.js
2 months ago
floating-elements-modal.min.js
2 months ago
floating-elements-modal.strings.js
5 months ago
frontend-modules.js
2 months ago
frontend-modules.min.js
2 months ago
frontend.js
2 weeks ago
frontend.min.js
2 weeks ago
gutenberg.js
7 months ago
gutenberg.min.js
7 months ago
gutenberg.strings.js
2 months ago
image-carousel.6167d20b95b33386757b.bundle.min.js
7 months ago
image-carousel.8b25f3674c29b829a867.bundle.js
5 months ago
import-export-admin.js
5 months ago
import-export-admin.min.js
5 months ago
import-export-admin.strings.js
1 week ago
import-export-customization-admin.js
2 weeks ago
import-export-customization-admin.min.js
2 weeks ago
import-export-customization-admin.min.js.LICENSE.txt
7 months ago
import-export-customization-admin.strings.js
1 week ago
interactions-shared-utils.js
2 weeks ago
interactions-shared-utils.min.js
2 weeks ago
interactions-shared-utils.strings.js
2 months ago
interactions.js
2 weeks ago
interactions.min.js
2 weeks ago
interactions.strings.js
5 months ago
kit-elements-defaults-editor.js
5 months ago
kit-elements-defaults-editor.min.js
5 months ago
kit-elements-defaults-editor.min.js.LICENSE.txt
9 months ago
kit-elements-defaults-editor.strings.js
5 months ago
kit-library.a394510096bc447f636d.bundle.min.js
2 months ago
kit-library.b768952e1d4177aa68d8.bundle.js
2 months ago
lightbox.570c05c5a283cfb6b223.bundle.min.js
3 months ago
lightbox.d9ea72d232a14f514ee2.bundle.js
3 months ago
media-hints.js
7 months ago
media-hints.min.js
7 months ago
media-hints.strings.js
5 months ago
nested-accordion.294d40984397351fd0f5.bundle.min.js
4 months ago
nested-accordion.4340b64226322f36bcc0.bundle.js
4 months ago
nested-accordion.js
5 months ago
nested-accordion.min.js
5 months ago
nested-accordion.min.js.LICENSE.txt
9 months ago
nested-accordion.strings.js
5 months ago
nested-elements.js
3 months ago
nested-elements.min.js
3 months ago
nested-elements.strings.js
5 months ago
nested-tabs.7a338e6d7e060c473993.bundle.js
5 months ago
nested-tabs.a2401356d329f179475e.bundle.min.js
5 months ago
nested-tabs.js
5 months ago
nested-tabs.min.js
5 months ago
nested-tabs.min.js.LICENSE.txt
9 months ago
nested-tabs.strings.js
5 months ago
nested-title-keyboard-handler.0c2b498e3e0695a1dc19.bundle.js
5 months ago
nested-title-keyboard-handler.2a67d3cc630e11815acc.bundle.min.js
5 months ago
new-template.js
4 months ago
new-template.min.js
4 months ago
new-template.strings.js
5 months ago
notes.js
7 months ago
notes.min.js
7 months ago
notes.strings.js
5 months ago
pro-free-trial-popup.js
7 months ago
pro-free-trial-popup.min.js
7 months ago
pro-free-trial-popup.strings.js
5 months ago
pro-install-events.js
7 months ago
pro-install-events.min.js
7 months ago
pro-install-events.strings.js
5 months ago
progress.0ea083b809812c0e3aa1.bundle.min.js
7 months ago
progress.b1057ba870016558bce1.bundle.js
5 months ago
responsive-bar.js
7 months ago
responsive-bar.min.js
7 months ago
responsive-bar.strings.js
5 months ago
section-editor-handlers.53ffedef32043348b99b.bundle.min.js
7 months ago
section-editor-handlers.d65899d232b5339510d7.bundle.js
5 months ago
section-frontend-handlers.c3950c6b190ca134bc8d.bundle.js
5 months ago
section-frontend-handlers.d85ab872da118940910d.bundle.min.js
7 months ago
shared-editor-handlers.3023894100138e442ab0.bundle.js
4 months ago
shared-editor-handlers.cacdcbed391abf4b48b0.bundle.min.js
4 months ago
shared-frontend-handlers.03caa53373b56d3bab67.bundle.min.js
7 months ago
shared-frontend-handlers.3b079824c37a5fe2bdaa.bundle.js
5 months ago
styleguide-app-initiator.js
5 months ago
styleguide-app-initiator.min.js
5 months ago
styleguide-app-initiator.min.js.LICENSE.txt
9 months ago
styleguide-app-initiator.strings.js
5 months ago
styleguide-app.04340244193733d78622.bundle.min.js
7 months ago
styleguide-app.36ecabae74d9b87fc5a8.bundle.js
5 months ago
styleguide.js
7 months ago
styleguide.min.js
7 months ago
styleguide.strings.js
3 months ago
tabs-handler.js
2 weeks ago
tabs-handler.min.js
2 weeks ago
tabs-preview-handler.js
2 weeks ago
tabs-preview-handler.min.js
2 weeks ago
tabs.18344b05d8d1ea0702bc.bundle.min.js
7 months ago
tabs.40498fa771d612162c53.bundle.js
5 months ago
text-editor.0c9960167105139d27c9.bundle.js
5 months ago
text-editor.45609661e409413f1cef.bundle.min.js
7 months ago
text-path.6db73cc0a10a70f128eb.bundle.js
3 months ago
text-path.a67c1f3a78d208bc7e1b.bundle.min.js
3 months ago
toggle.2a177a3ef4785d3dfbc5.bundle.min.js
7 months ago
toggle.b75e66d2aca6f6ee742e.bundle.js
5 months ago
video.6e96510afa701d1f2ebc.bundle.js
5 months ago
video.86d44e46e43d0807e708.bundle.min.js
7 months ago
web-cli.js
5 months ago
web-cli.min.js
5 months ago
web-cli.min.js.LICENSE.txt
9 months ago
web-cli.strings.js
5 months ago
webpack.runtime.js
2 weeks ago
webpack.runtime.min.js
2 weeks ago
wp-audio.0ba9114964acf4c37ca2.bundle.js
5 months ago
wp-audio.c9624cb6e5dc9de86abd.bundle.min.js
7 months ago
youtube-handler.js
5 months ago
youtube-handler.min.js
5 months ago
responsive-bar.js
595 lines
| 1 | /******/ (() => { // webpackBootstrap |
| 2 | /******/ var __webpack_modules__ = ({ |
| 3 | |
| 4 | /***/ "../assets/dev/js/editor/regions/responsive-bar/responsive-bar.js": |
| 5 | /*!************************************************************************!*\ |
| 6 | !*** ../assets/dev/js/editor/regions/responsive-bar/responsive-bar.js ***! |
| 7 | \************************************************************************/ |
| 8 | /***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 9 | |
| 10 | "use strict"; |
| 11 | |
| 12 | |
| 13 | var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 14 | Object.defineProperty(exports, "__esModule", ({ |
| 15 | value: true |
| 16 | })); |
| 17 | exports["default"] = void 0; |
| 18 | var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); |
| 19 | var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); |
| 20 | var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); |
| 21 | var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); |
| 22 | var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); |
| 23 | var _view = _interopRequireDefault(__webpack_require__(/*! ./view */ "../assets/dev/js/editor/regions/responsive-bar/view.js")); |
| 24 | function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } |
| 25 | function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } |
| 26 | var _default = exports["default"] = /*#__PURE__*/function (_Marionette$Region) { |
| 27 | function _default() { |
| 28 | (0, _classCallCheck2.default)(this, _default); |
| 29 | return _callSuper(this, _default, arguments); |
| 30 | } |
| 31 | (0, _inherits2.default)(_default, _Marionette$Region); |
| 32 | return (0, _createClass2.default)(_default, [{ |
| 33 | key: "initialize", |
| 34 | value: function initialize() { |
| 35 | var _this = this; |
| 36 | this.show(new _view.default()); |
| 37 | elementor.panel.$el.on({ |
| 38 | resizestart: function resizestart() { |
| 39 | return _this.onPanelResizeStart(); |
| 40 | }, |
| 41 | resizestop: function resizestop() { |
| 42 | return _this.onPanelResizeStop(); |
| 43 | } |
| 44 | }); |
| 45 | } |
| 46 | }, { |
| 47 | key: "onPanelResizeStart", |
| 48 | value: function onPanelResizeStart() { |
| 49 | this.$el.addClass('ui-resizable-resizing'); |
| 50 | } |
| 51 | }, { |
| 52 | key: "onPanelResizeStop", |
| 53 | value: function onPanelResizeStop() { |
| 54 | this.$el.removeClass('ui-resizable-resizing'); |
| 55 | } |
| 56 | }]); |
| 57 | }(Marionette.Region); |
| 58 | |
| 59 | /***/ }), |
| 60 | |
| 61 | /***/ "../assets/dev/js/editor/regions/responsive-bar/view.js": |
| 62 | /*!**************************************************************!*\ |
| 63 | !*** ../assets/dev/js/editor/regions/responsive-bar/view.js ***! |
| 64 | \**************************************************************/ |
| 65 | /***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 66 | |
| 67 | "use strict"; |
| 68 | /* provided dependency */ var __ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n")["__"]; |
| 69 | |
| 70 | |
| 71 | var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 72 | Object.defineProperty(exports, "__esModule", ({ |
| 73 | value: true |
| 74 | })); |
| 75 | exports["default"] = void 0; |
| 76 | var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); |
| 77 | var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); |
| 78 | var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); |
| 79 | var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); |
| 80 | var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); |
| 81 | function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } |
| 82 | function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } |
| 83 | var View = exports["default"] = /*#__PURE__*/function (_Marionette$ItemView) { |
| 84 | function View() { |
| 85 | (0, _classCallCheck2.default)(this, View); |
| 86 | return _callSuper(this, View, arguments); |
| 87 | } |
| 88 | (0, _inherits2.default)(View, _Marionette$ItemView); |
| 89 | return (0, _createClass2.default)(View, [{ |
| 90 | key: "getTemplate", |
| 91 | value: function getTemplate() { |
| 92 | return '#tmpl-elementor-templates-responsive-bar'; |
| 93 | } |
| 94 | }, { |
| 95 | key: "id", |
| 96 | value: function id() { |
| 97 | return 'e-responsive-bar'; |
| 98 | } |
| 99 | }, { |
| 100 | key: "ui", |
| 101 | value: function ui() { |
| 102 | var prefix = '#' + this.id(); |
| 103 | return { |
| 104 | switcherInput: '.e-responsive-bar-switcher__option input', |
| 105 | switcherLabel: '.e-responsive-bar-switcher__option', |
| 106 | switcher: prefix + '-switcher', |
| 107 | sizeInputWidth: prefix + '__input-width', |
| 108 | sizeInputHeight: prefix + '__input-height', |
| 109 | scaleValue: prefix + '-scale__value', |
| 110 | scalePlusButton: prefix + '-scale__plus', |
| 111 | scaleMinusButton: prefix + '-scale__minus', |
| 112 | scaleResetButton: prefix + '-scale__reset', |
| 113 | closeButton: prefix + '__close-button', |
| 114 | breakpointSettingsButton: prefix + '__settings-button' |
| 115 | }; |
| 116 | } |
| 117 | }, { |
| 118 | key: "events", |
| 119 | value: function events() { |
| 120 | return { |
| 121 | 'change @ui.switcherInput': 'onBreakpointSelected', |
| 122 | 'input @ui.sizeInputWidth': 'onSizeInputChange', |
| 123 | 'input @ui.sizeInputHeight': 'onSizeInputChange', |
| 124 | 'click @ui.scalePlusButton': 'onScalePlusButtonClick', |
| 125 | 'click @ui.scaleMinusButton': 'onScaleMinusButtonClick', |
| 126 | 'click @ui.scaleResetButton': 'onScaleResetButtonClick', |
| 127 | 'click @ui.closeButton': 'onCloseButtonClick', |
| 128 | 'click @ui.breakpointSettingsButton': 'onBreakpointSettingsOpen' |
| 129 | }; |
| 130 | } |
| 131 | }, { |
| 132 | key: "initialize", |
| 133 | value: function initialize() { |
| 134 | this.listenTo(elementor.channels.deviceMode, 'change', this.onDeviceModeChange); |
| 135 | this.listenTo(elementor.channels.responsivePreview, 'resize', this.onPreviewResize); |
| 136 | this.listenTo(elementor.channels.responsivePreview, 'open', this.onPreviewOpen); |
| 137 | this.listenTo(elementor.channels.deviceMode, 'close', this.resetScale); |
| 138 | } |
| 139 | }, { |
| 140 | key: "addTipsyToIconButtons", |
| 141 | value: function addTipsyToIconButtons() { |
| 142 | this.ui.switcherLabel.add(this.ui.closeButton).add(this.ui.breakpointSettingsButton).tipsy({ |
| 143 | html: true, |
| 144 | gravity: 'n', |
| 145 | title: function title() { |
| 146 | return jQuery(this).data('tooltip'); |
| 147 | } |
| 148 | }); |
| 149 | } |
| 150 | }, { |
| 151 | key: "restoreLastValidPreviewSize", |
| 152 | value: function restoreLastValidPreviewSize() { |
| 153 | var lastSize = elementor.channels.responsivePreview.request('size'); |
| 154 | this.ui.sizeInputWidth.val(lastSize.width).tipsy({ |
| 155 | html: true, |
| 156 | trigger: 'manual', |
| 157 | gravity: 'n', |
| 158 | title: function title() { |
| 159 | return __('The value inserted isn\'t in the breakpoint boundaries', 'elementor'); |
| 160 | } |
| 161 | }); |
| 162 | var tipsy = this.ui.sizeInputWidth.data('tipsy'); |
| 163 | tipsy.show(); |
| 164 | setTimeout(function () { |
| 165 | return tipsy.hide(); |
| 166 | }, 3000); |
| 167 | } |
| 168 | }, { |
| 169 | key: "autoScale", |
| 170 | value: function autoScale() { |
| 171 | var handlesWidth = 40 * this.scalePercentage / 100, |
| 172 | previewWidth = elementor.$previewWrapper.width() - handlesWidth, |
| 173 | iframeWidth = parseInt(elementor.$preview.css('--e-editor-preview-width')), |
| 174 | iframeScaleWidth = iframeWidth * this.scalePercentage / 100; |
| 175 | if (iframeScaleWidth > previewWidth) { |
| 176 | var scalePercentage = previewWidth / iframeWidth * 100; |
| 177 | this.setScalePercentage(scalePercentage); |
| 178 | } else { |
| 179 | this.setScalePercentage(); |
| 180 | } |
| 181 | this.scalePreview(); |
| 182 | } |
| 183 | }, { |
| 184 | key: "scalePreview", |
| 185 | value: function scalePreview() { |
| 186 | var scale = this.scalePercentage / 100; |
| 187 | elementor.$previewWrapper.css('--e-preview-scale', scale); |
| 188 | } |
| 189 | }, { |
| 190 | key: "resetScale", |
| 191 | value: function resetScale() { |
| 192 | this.setScalePercentage(); |
| 193 | this.scalePreview(); |
| 194 | } |
| 195 | }, { |
| 196 | key: "setScalePercentage", |
| 197 | value: function setScalePercentage() { |
| 198 | var scalePercentage = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 100; |
| 199 | this.scalePercentage = scalePercentage; |
| 200 | this.ui.scaleValue.text(parseInt(this.scalePercentage)); |
| 201 | } |
| 202 | }, { |
| 203 | key: "onRender", |
| 204 | value: function onRender() { |
| 205 | this.addTipsyToIconButtons(); |
| 206 | this.setScalePercentage(); |
| 207 | } |
| 208 | }, { |
| 209 | key: "onDeviceModeChange", |
| 210 | value: function onDeviceModeChange() { |
| 211 | var currentDeviceMode = elementor.channels.deviceMode.request('currentMode'), |
| 212 | $currentDeviceSwitcherInput = this.ui.switcherInput.filter('[value=' + currentDeviceMode + ']'); |
| 213 | this.setWidthHeightInputsEditableState(); |
| 214 | this.ui.switcherLabel.attr('aria-selected', false); |
| 215 | $currentDeviceSwitcherInput.closest('label').attr('aria-selected', true); |
| 216 | if (!$currentDeviceSwitcherInput.prop('checked')) { |
| 217 | $currentDeviceSwitcherInput.prop('checked', true); |
| 218 | } |
| 219 | } |
| 220 | }, { |
| 221 | key: "onBreakpointSelected", |
| 222 | value: function onBreakpointSelected(e) { |
| 223 | var selectedDeviceMode = e.target.value; |
| 224 | elementor.changeDeviceMode(selectedDeviceMode, false); |
| 225 | this.autoScale(); |
| 226 | } |
| 227 | }, { |
| 228 | key: "onBreakpointSettingsOpen", |
| 229 | value: function onBreakpointSettingsOpen() { |
| 230 | var isWPPreviewMode = elementorCommon.elements.$body.hasClass('elementor-editor-preview'); |
| 231 | if (isWPPreviewMode) { |
| 232 | elementor.exitPreviewMode(); |
| 233 | } |
| 234 | var isInSettingsPanelActive = 'panel/global/menu' === elementor.documents.currentDocument.config.panel.default_route; |
| 235 | if (isInSettingsPanelActive) { |
| 236 | $e.run('panel/global/close'); |
| 237 | return; |
| 238 | } |
| 239 | |
| 240 | // Open Settings Panel for Global/Layout/Breakpoints Settings |
| 241 | $e.run('editor/documents/switch', { |
| 242 | id: elementor.config.kit_id, |
| 243 | mode: 'autosave' |
| 244 | }).then(function () { |
| 245 | return $e.route('panel/global/settings-layout'); |
| 246 | }) |
| 247 | // TODO: Replace with a standard routing solution once one is available |
| 248 | .then(function () { |
| 249 | return jQuery('.elementor-control-section_breakpoints').trigger('click'); |
| 250 | }); |
| 251 | } |
| 252 | }, { |
| 253 | key: "onPreviewResize", |
| 254 | value: function onPreviewResize() { |
| 255 | if (this.updatingPreviewSize) { |
| 256 | return; |
| 257 | } |
| 258 | var size = elementor.channels.responsivePreview.request('size'); |
| 259 | this.ui.sizeInputWidth.val(Math.round(size.width)); |
| 260 | this.ui.sizeInputHeight.val(Math.round(size.height)); |
| 261 | } |
| 262 | }, { |
| 263 | key: "onPreviewOpen", |
| 264 | value: function onPreviewOpen() { |
| 265 | this.setWidthHeightInputsEditableState(); |
| 266 | } |
| 267 | }, { |
| 268 | key: "setWidthHeightInputsEditableState", |
| 269 | value: function setWidthHeightInputsEditableState() { |
| 270 | var currentDeviceMode = elementor.channels.deviceMode.request('currentMode'); |
| 271 | // TODO: disable inputs |
| 272 | if ('desktop' === currentDeviceMode) { |
| 273 | this.ui.sizeInputWidth.attr('disabled', 'disabled'); |
| 274 | this.ui.sizeInputHeight.attr('disabled', 'disabled'); |
| 275 | } else { |
| 276 | this.ui.sizeInputWidth.removeAttr('disabled'); |
| 277 | this.ui.sizeInputHeight.removeAttr('disabled'); |
| 278 | } |
| 279 | } |
| 280 | }, { |
| 281 | key: "onCloseButtonClick", |
| 282 | value: function onCloseButtonClick() { |
| 283 | elementor.changeDeviceMode('desktop'); |
| 284 | // Force exit if device mode is already desktop |
| 285 | elementor.exitDeviceMode(); |
| 286 | } |
| 287 | }, { |
| 288 | key: "onSizeInputChange", |
| 289 | value: function onSizeInputChange() { |
| 290 | var _this = this; |
| 291 | clearTimeout(this.restorePreviewSizeTimeout); |
| 292 | var size = { |
| 293 | width: this.ui.sizeInputWidth.val(), |
| 294 | height: this.ui.sizeInputHeight.val() |
| 295 | }; |
| 296 | var currentDeviceConstrains = elementor.getCurrentDeviceConstrains(); |
| 297 | if (size.width < currentDeviceConstrains.minWidth || size.width > currentDeviceConstrains.maxWidth) { |
| 298 | this.restorePreviewSizeTimeout = setTimeout(function () { |
| 299 | return _this.restoreLastValidPreviewSize(); |
| 300 | }, 1500); |
| 301 | return; |
| 302 | } |
| 303 | this.updatingPreviewSize = true; |
| 304 | setTimeout(function () { |
| 305 | return _this.updatingPreviewSize = false; |
| 306 | }, 300); |
| 307 | elementor.updatePreviewSize(size); |
| 308 | this.autoScale(); |
| 309 | } |
| 310 | }, { |
| 311 | key: "onScalePlusButtonClick", |
| 312 | value: function onScalePlusButtonClick() { |
| 313 | var scaleUp = 0 === this.scalePercentage % 10 ? this.scalePercentage + 10 : Math.ceil(this.scalePercentage / 10) * 10; |
| 314 | if (scaleUp > 200) { |
| 315 | return; |
| 316 | } |
| 317 | this.setScalePercentage(scaleUp); |
| 318 | this.scalePreview(); |
| 319 | } |
| 320 | }, { |
| 321 | key: "onScaleMinusButtonClick", |
| 322 | value: function onScaleMinusButtonClick() { |
| 323 | var scaleDown = 0 === this.scalePercentage % 10 ? this.scalePercentage - 10 : Math.floor(this.scalePercentage / 10) * 10; |
| 324 | if (scaleDown < 50) { |
| 325 | return; |
| 326 | } |
| 327 | this.setScalePercentage(scaleDown); |
| 328 | this.scalePreview(); |
| 329 | } |
| 330 | }, { |
| 331 | key: "onScaleResetButtonClick", |
| 332 | value: function onScaleResetButtonClick() { |
| 333 | this.resetScale(); |
| 334 | } |
| 335 | }]); |
| 336 | }(Marionette.ItemView); |
| 337 | |
| 338 | /***/ }), |
| 339 | |
| 340 | /***/ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js": |
| 341 | /*!***********************************************************************!*\ |
| 342 | !*** ../node_modules/@babel/runtime/helpers/assertThisInitialized.js ***! |
| 343 | \***********************************************************************/ |
| 344 | /***/ ((module) => { |
| 345 | |
| 346 | function _assertThisInitialized(e) { |
| 347 | if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); |
| 348 | return e; |
| 349 | } |
| 350 | module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 351 | |
| 352 | /***/ }), |
| 353 | |
| 354 | /***/ "../node_modules/@babel/runtime/helpers/classCallCheck.js": |
| 355 | /*!****************************************************************!*\ |
| 356 | !*** ../node_modules/@babel/runtime/helpers/classCallCheck.js ***! |
| 357 | \****************************************************************/ |
| 358 | /***/ ((module) => { |
| 359 | |
| 360 | function _classCallCheck(a, n) { |
| 361 | if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); |
| 362 | } |
| 363 | module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 364 | |
| 365 | /***/ }), |
| 366 | |
| 367 | /***/ "../node_modules/@babel/runtime/helpers/createClass.js": |
| 368 | /*!*************************************************************!*\ |
| 369 | !*** ../node_modules/@babel/runtime/helpers/createClass.js ***! |
| 370 | \*************************************************************/ |
| 371 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 372 | |
| 373 | var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../node_modules/@babel/runtime/helpers/toPropertyKey.js"); |
| 374 | function _defineProperties(e, r) { |
| 375 | for (var t = 0; t < r.length; t++) { |
| 376 | var o = r[t]; |
| 377 | o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o); |
| 378 | } |
| 379 | } |
| 380 | function _createClass(e, r, t) { |
| 381 | return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { |
| 382 | writable: !1 |
| 383 | }), e; |
| 384 | } |
| 385 | module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 386 | |
| 387 | /***/ }), |
| 388 | |
| 389 | /***/ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js": |
| 390 | /*!****************************************************************!*\ |
| 391 | !*** ../node_modules/@babel/runtime/helpers/getPrototypeOf.js ***! |
| 392 | \****************************************************************/ |
| 393 | /***/ ((module) => { |
| 394 | |
| 395 | function _getPrototypeOf(t) { |
| 396 | return module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { |
| 397 | return t.__proto__ || Object.getPrototypeOf(t); |
| 398 | }, module.exports.__esModule = true, module.exports["default"] = module.exports, _getPrototypeOf(t); |
| 399 | } |
| 400 | module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 401 | |
| 402 | /***/ }), |
| 403 | |
| 404 | /***/ "../node_modules/@babel/runtime/helpers/inherits.js": |
| 405 | /*!**********************************************************!*\ |
| 406 | !*** ../node_modules/@babel/runtime/helpers/inherits.js ***! |
| 407 | \**********************************************************/ |
| 408 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 409 | |
| 410 | var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js"); |
| 411 | function _inherits(t, e) { |
| 412 | if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); |
| 413 | t.prototype = Object.create(e && e.prototype, { |
| 414 | constructor: { |
| 415 | value: t, |
| 416 | writable: !0, |
| 417 | configurable: !0 |
| 418 | } |
| 419 | }), Object.defineProperty(t, "prototype", { |
| 420 | writable: !1 |
| 421 | }), e && setPrototypeOf(t, e); |
| 422 | } |
| 423 | module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 424 | |
| 425 | /***/ }), |
| 426 | |
| 427 | /***/ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js": |
| 428 | /*!***********************************************************************!*\ |
| 429 | !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***! |
| 430 | \***********************************************************************/ |
| 431 | /***/ ((module) => { |
| 432 | |
| 433 | function _interopRequireDefault(e) { |
| 434 | return e && e.__esModule ? e : { |
| 435 | "default": e |
| 436 | }; |
| 437 | } |
| 438 | module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 439 | |
| 440 | /***/ }), |
| 441 | |
| 442 | /***/ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js": |
| 443 | /*!***************************************************************************!*\ |
| 444 | !*** ../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***! |
| 445 | \***************************************************************************/ |
| 446 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 447 | |
| 448 | var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); |
| 449 | var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js"); |
| 450 | function _possibleConstructorReturn(t, e) { |
| 451 | if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; |
| 452 | if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); |
| 453 | return assertThisInitialized(t); |
| 454 | } |
| 455 | module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 456 | |
| 457 | /***/ }), |
| 458 | |
| 459 | /***/ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js": |
| 460 | /*!****************************************************************!*\ |
| 461 | !*** ../node_modules/@babel/runtime/helpers/setPrototypeOf.js ***! |
| 462 | \****************************************************************/ |
| 463 | /***/ ((module) => { |
| 464 | |
| 465 | function _setPrototypeOf(t, e) { |
| 466 | return module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { |
| 467 | return t.__proto__ = e, t; |
| 468 | }, module.exports.__esModule = true, module.exports["default"] = module.exports, _setPrototypeOf(t, e); |
| 469 | } |
| 470 | module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 471 | |
| 472 | /***/ }), |
| 473 | |
| 474 | /***/ "../node_modules/@babel/runtime/helpers/toPrimitive.js": |
| 475 | /*!*************************************************************!*\ |
| 476 | !*** ../node_modules/@babel/runtime/helpers/toPrimitive.js ***! |
| 477 | \*************************************************************/ |
| 478 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 479 | |
| 480 | var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); |
| 481 | function toPrimitive(t, r) { |
| 482 | if ("object" != _typeof(t) || !t) return t; |
| 483 | var e = t[Symbol.toPrimitive]; |
| 484 | if (void 0 !== e) { |
| 485 | var i = e.call(t, r || "default"); |
| 486 | if ("object" != _typeof(i)) return i; |
| 487 | throw new TypeError("@@toPrimitive must return a primitive value."); |
| 488 | } |
| 489 | return ("string" === r ? String : Number)(t); |
| 490 | } |
| 491 | module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 492 | |
| 493 | /***/ }), |
| 494 | |
| 495 | /***/ "../node_modules/@babel/runtime/helpers/toPropertyKey.js": |
| 496 | /*!***************************************************************!*\ |
| 497 | !*** ../node_modules/@babel/runtime/helpers/toPropertyKey.js ***! |
| 498 | \***************************************************************/ |
| 499 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 500 | |
| 501 | var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); |
| 502 | var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../node_modules/@babel/runtime/helpers/toPrimitive.js"); |
| 503 | function toPropertyKey(t) { |
| 504 | var i = toPrimitive(t, "string"); |
| 505 | return "symbol" == _typeof(i) ? i : i + ""; |
| 506 | } |
| 507 | module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 508 | |
| 509 | /***/ }), |
| 510 | |
| 511 | /***/ "../node_modules/@babel/runtime/helpers/typeof.js": |
| 512 | /*!********************************************************!*\ |
| 513 | !*** ../node_modules/@babel/runtime/helpers/typeof.js ***! |
| 514 | \********************************************************/ |
| 515 | /***/ ((module) => { |
| 516 | |
| 517 | function _typeof(o) { |
| 518 | "@babel/helpers - typeof"; |
| 519 | |
| 520 | return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { |
| 521 | return typeof o; |
| 522 | } : function (o) { |
| 523 | return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; |
| 524 | }, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o); |
| 525 | } |
| 526 | module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 527 | |
| 528 | /***/ }), |
| 529 | |
| 530 | /***/ "@wordpress/i18n": |
| 531 | /*!**************************!*\ |
| 532 | !*** external "wp.i18n" ***! |
| 533 | \**************************/ |
| 534 | /***/ ((module) => { |
| 535 | |
| 536 | "use strict"; |
| 537 | module.exports = wp.i18n; |
| 538 | |
| 539 | /***/ }) |
| 540 | |
| 541 | /******/ }); |
| 542 | /************************************************************************/ |
| 543 | /******/ // The module cache |
| 544 | /******/ var __webpack_module_cache__ = {}; |
| 545 | /******/ |
| 546 | /******/ // The require function |
| 547 | /******/ function __webpack_require__(moduleId) { |
| 548 | /******/ // Check if module is in cache |
| 549 | /******/ var cachedModule = __webpack_module_cache__[moduleId]; |
| 550 | /******/ if (cachedModule !== undefined) { |
| 551 | /******/ return cachedModule.exports; |
| 552 | /******/ } |
| 553 | /******/ // Create a new module (and put it into the cache) |
| 554 | /******/ var module = __webpack_module_cache__[moduleId] = { |
| 555 | /******/ // no module.id needed |
| 556 | /******/ // no module.loaded needed |
| 557 | /******/ exports: {} |
| 558 | /******/ }; |
| 559 | /******/ |
| 560 | /******/ // Execute the module function |
| 561 | /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); |
| 562 | /******/ |
| 563 | /******/ // Return the exports of the module |
| 564 | /******/ return module.exports; |
| 565 | /******/ } |
| 566 | /******/ |
| 567 | /************************************************************************/ |
| 568 | var __webpack_exports__ = {}; |
| 569 | // This entry needs to be wrapped in an IIFE because it needs to be in strict mode. |
| 570 | (() => { |
| 571 | "use strict"; |
| 572 | /*!***************************************************************!*\ |
| 573 | !*** ../assets/dev/js/editor/regions/responsive-bar/index.js ***! |
| 574 | \***************************************************************/ |
| 575 | |
| 576 | |
| 577 | var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 578 | var _responsiveBar = _interopRequireDefault(__webpack_require__(/*! elementor-regions/responsive-bar/responsive-bar */ "../assets/dev/js/editor/regions/responsive-bar/responsive-bar.js")); |
| 579 | elementor.on('preview:loaded', function (isFirstLoad) { |
| 580 | if (!isFirstLoad) { |
| 581 | return; |
| 582 | } |
| 583 | elementor.addRegions({ |
| 584 | responsiveBar: { |
| 585 | el: '#elementor-responsive-bar', |
| 586 | regionClass: _responsiveBar.default |
| 587 | } |
| 588 | }); |
| 589 | elementor.trigger('responsiveBar:init'); |
| 590 | }); |
| 591 | })(); |
| 592 | |
| 593 | /******/ })() |
| 594 | ; |
| 595 | //# sourceMappingURL=responsive-bar.js.map |