PATH:
home
/
lab2454c
/
sothebankuab.com
/
wp-content
/
plugins
/
elementor-pro
/
assets
/
js
/*! elementor-pro - v3.3.4 - 21-07-2021 */ (self["webpackChunkelementor_pro"] = self["webpackChunkelementor_pro"] || []).push([["hotspot"],{ /***/ "../modules/hotspot/assets/js/frontend/handlers/hotspot.js": /*!*****************************************************************!*\ !*** ../modules/hotspot/assets/js/frontend/handlers/hotspot.js ***! \*****************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); var _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs2/helpers/interopRequireDefault */ "../node_modules/@babel/runtime-corejs2/helpers/interopRequireDefault.js"); _Object$defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; __webpack_require__(/*! core-js/modules/es6.array.find.js */ "../node_modules/core-js/modules/es6.array.find.js"); __webpack_require__(/*! core-js/modules/es6.array.filter.js */ "../node_modules/core-js/modules/es6.array.filter.js"); __webpack_require__(/*! core-js/modules/es6.regexp.match.js */ "../node_modules/core-js/modules/es6.regexp.match.js"); __webpack_require__(/*! core-js/modules/es6.string.starts-with.js */ "../node_modules/core-js/modules/es6.string.starts-with.js"); var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/classCallCheck */ "../node_modules/@babel/runtime-corejs2/helpers/classCallCheck.js")); var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createClass */ "../node_modules/@babel/runtime-corejs2/helpers/createClass.js")); var _get3 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/get */ "../node_modules/@babel/runtime-corejs2/helpers/get.js")); var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/getPrototypeOf */ "../node_modules/@babel/runtime-corejs2/helpers/getPrototypeOf.js")); var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/inherits */ "../node_modules/@babel/runtime-corejs2/helpers/inherits.js")); var _createSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs2/helpers/createSuper */ "../node_modules/@babel/runtime-corejs2/helpers/createSuper.js")); var Hotspot = /*#__PURE__*/function (_elementorModules$fro) { (0, _inherits2.default)(Hotspot, _elementorModules$fro); var _super = (0, _createSuper2.default)(Hotspot); function Hotspot() { (0, _classCallCheck2.default)(this, Hotspot); return _super.apply(this, arguments); } (0, _createClass2.default)(Hotspot, [{ key: "getDefaultSettings", value: function getDefaultSettings() { return { selectors: { hotspot: '.e-hotspot', tooltip: '.e-hotspot__tooltip' } }; } }, { key: "getDefaultElements", value: function getDefaultElements() { var selectors = this.getSettings('selectors'); return { $hotspot: this.$element.find(selectors.hotspot), $hotspotsExcludesLinks: this.$element.find(selectors.hotspot).filter(':not(.e-hotspot--link)'), $tooltip: this.$element.find(selectors.tooltip) }; } }, { key: "bindEvents", value: function bindEvents() { var _this = this; var tooltipTrigger = this.getCurrentDeviceSetting('tooltip_trigger'), tooltipTriggerEvent = 'mouseenter' === tooltipTrigger ? 'mouseleave mouseenter' : tooltipTrigger; if (tooltipTriggerEvent !== 'none') { this.elements.$hotspotsExcludesLinks.on(tooltipTriggerEvent, function (event) { return _this.onHotspotTriggerEvent(event); }); } } }, { key: "onDeviceModeChange", value: function onDeviceModeChange() { this.elements.$hotspotsExcludesLinks.off(); this.bindEvents(); } }, { key: "onHotspotTriggerEvent", value: function onHotspotTriggerEvent(event) { var elementTarget = jQuery(event.target), isHotspotButtonEvent = elementTarget.closest('.e-hotspot__button').length, isTooltipMouseLeave = 'mouseleave' === event.type && (elementTarget.is('.e-hotspot--tooltip-position') || elementTarget.parents('.e-hotspot--tooltip-position').length); if (isHotspotButtonEvent || isTooltipMouseLeave) { var currentHotspot = jQuery(event.currentTarget); this.elements.$hotspot.not(currentHotspot).removeClass('e-hotspot--active'); currentHotspot.toggleClass('e-hotspot--active'); } } // Fix bad UX of "Sequenced Animation" when editing other controls }, { key: "editorAddSequencedAnimation", value: function editorAddSequencedAnimation() { this.elements.$hotspot.toggleClass('e-hotspot--sequenced', 'yes' === this.getElementSettings('hotspot_sequenced_animation')); } }, { key: "hotspotSequencedAnimation", value: function hotspotSequencedAnimation() { var _this2 = this; var elementSettings = this.getElementSettings(), isSequencedAnimation = elementSettings.hotspot_sequenced_animation; if ('no' === isSequencedAnimation) { return; } //start sequenced animation when element on viewport var hotspotObserver = elementorModules.utils.Scroll.scrollObserver({ callback: function callback(event) { if (event.isInViewport) { hotspotObserver.unobserve(_this2.$element[0]); //add delay for each hotspot _this2.elements.$hotspot.each(function (index, element) { if (0 === index) { return; } var sequencedAnimation = elementSettings.hotspot_sequenced_animation_duration, sequencedAnimationDuration = sequencedAnimation ? sequencedAnimation.size : 1000, animationDelay = index * (sequencedAnimationDuration / _this2.elements.$hotspot.length); element.style.animationDelay = animationDelay + 'ms'; }); } } }); hotspotObserver.observe(this.$element[0]); } }, { key: "setTooltipPositionControl", value: function setTooltipPositionControl() { var elementSettings = this.getElementSettings(), isDirectionAnimation = 'undefined' !== typeof elementSettings.tooltip_animation && elementSettings.tooltip_animation.match(/^e-hotspot--(slide|fade)-direction/); if (isDirectionAnimation) { this.elements.$tooltip.removeClass('e-hotspot--tooltip-animation-from-left e-hotspot--tooltip-animation-from-top e-hotspot--tooltip-animation-from-right e-hotspot--tooltip-animation-from-bottom'); this.elements.$tooltip.addClass('e-hotspot--tooltip-animation-from-' + elementSettings.tooltip_position); } } }, { key: "onInit", value: function onInit() { var _get2, _this3 = this; for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } (_get2 = (0, _get3.default)((0, _getPrototypeOf2.default)(Hotspot.prototype), "onInit", this)).call.apply(_get2, [this].concat(args)); this.hotspotSequencedAnimation(); this.setTooltipPositionControl(); if (window.elementor) { elementor.listenTo(elementor.channels.deviceMode, 'change', function () { return _this3.onDeviceModeChange(); }); } } }, { key: "onElementChange", value: function onElementChange(propertyName) { if (propertyName.startsWith('tooltip_position')) { this.setTooltipPositionControl(); } if (propertyName.startsWith('hotspot_sequenced_animation')) { this.editorAddSequencedAnimation(); } } }]); return Hotspot; }(elementorModules.frontend.handlers.Base); exports.default = Hotspot; /***/ }), /***/ "../node_modules/core-js/modules/_fails-is-regexp.js": /*!***********************************************************!*\ !*** ../node_modules/core-js/modules/_fails-is-regexp.js ***! \***********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var MATCH = __webpack_require__(/*! ./_wks */ "../node_modules/core-js/modules/_wks.js")('match'); module.exports = function (KEY) { var re = /./; try { '/./'[KEY](re); } catch (e) { try { re[MATCH] = false; return !'/./'[KEY](re); } catch (f) { /* empty */ } } return true; }; /***/ }), /***/ "../node_modules/core-js/modules/_string-context.js": /*!**********************************************************!*\ !*** ../node_modules/core-js/modules/_string-context.js ***! \**********************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { // helper for String#{startsWith, endsWith, includes} var isRegExp = __webpack_require__(/*! ./_is-regexp */ "../node_modules/core-js/modules/_is-regexp.js"); var defined = __webpack_require__(/*! ./_defined */ "../node_modules/core-js/modules/_defined.js"); module.exports = function (that, searchString, NAME) { if (isRegExp(searchString)) throw TypeError('String#' + NAME + " doesn't accept regex!"); return String(defined(that)); }; /***/ }), /***/ "../node_modules/core-js/modules/es6.string.starts-with.js": /*!*****************************************************************!*\ !*** ../node_modules/core-js/modules/es6.string.starts-with.js ***! \*****************************************************************/ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { "use strict"; // 21.1.3.18 String.prototype.startsWith(searchString [, position ]) var $export = __webpack_require__(/*! ./_export */ "../node_modules/core-js/modules/_export.js"); var toLength = __webpack_require__(/*! ./_to-length */ "../node_modules/core-js/modules/_to-length.js"); var context = __webpack_require__(/*! ./_string-context */ "../node_modules/core-js/modules/_string-context.js"); var STARTS_WITH = 'startsWith'; var $startsWith = ''[STARTS_WITH]; $export($export.P + $export.F * __webpack_require__(/*! ./_fails-is-regexp */ "../node_modules/core-js/modules/_fails-is-regexp.js")(STARTS_WITH), 'String', { startsWith: function startsWith(searchString /* , position = 0 */) { var that = context(this, searchString, STARTS_WITH); var index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length)); var search = String(searchString); return $startsWith ? $startsWith.call(that, search, index) : that.slice(index, index + search.length) === search; } }); /***/ }) }]); //# sourceMappingURL=hotspot.6e5f8367844f92a2df4d.bundle.js.map
[-] frontend.min.js
[edit]
[-] elements-handlers.js
[edit]
[-] editor.js
[edit]
[-] screenshot.min.js
[edit]
[-] archive-posts.fd5949b12eae1d836370.bundle.min.js
[edit]
[-] share-buttons.90bff2e73000d4e3f189.bundle.min.js
[edit]
[-] posts.4b4834181e0158037844.bundle.js
[edit]
[-] qunit-tests.min.js
[edit]
[-] elements-handlers.min.js
[edit]
[-] portfolio.7e41bde7ebd3c1195e2a.bundle.min.js
[edit]
[-] share-buttons.a4ac583614766c17243b.bundle.js
[edit]
[-] form-submission-admin.js
[edit]
[-] frontend.js
[edit]
[-] popup.502330d9929af9beeefd.bundle.min.js
[edit]
[-] form-submission-admin.min.js
[edit]
[-] countdown.e8b325f6654ba38a5606.bundle.js
[edit]
[-] popup.11f78f8460dfd624d6fd.bundle.js
[edit]
[-] countdown.bb46c1fe3c44d539dcc5.bundle.min.js
[edit]
[-] table-of-contents.18b2bc609c0761e78803.bundle.min.js
[edit]
[+]
..
[-] admin.js
[edit]
[-] preview.min.js
[edit]
[-] lottie.56eeeacd4e8b45bf0e69.bundle.js
[edit]
[-] search-form.3930197ed1faa52a1ca6.bundle.js
[edit]
[-] webpack-pro.runtime.min.js
[edit]
[-] app.min.js
[edit]
[-] app.js
[edit]
[-] gallery.553ce77143c8a6c9fb2f.bundle.min.js
[edit]
[-] social.248e7d2278f85735e210.bundle.js
[edit]
[-] gallery.044b1c02fe2971304f4b.bundle.js
[edit]
[-] animated-headline.c48ffcc42cf8e1937b79.bundle.js
[edit]
[-] video-playlist.5e558c60b53f53a24687.bundle.js
[edit]
[-] jszip.vendor.8911033537a0c9d6e5f8.bundle.js
[edit]
[-] woocommerce-menu-cart.c85790f6adbf4d37d78a.bundle.js
[edit]
[-] code-highlight.980168b9b4c79600c41c.bundle.min.js
[edit]
[-] jszip.vendor.9ec53381c344ee903f3e.bundle.min.js.LICENSE.txt
[edit]
[-] 2674f26f7a61a076ae44.bundle.js
[edit]
[-] social.313de86242bbec8993a6.bundle.min.js
[edit]
[-] archive-posts.c5bfd0c6126737964ea3.bundle.js
[edit]
[-] search-form.69e3551a94b182780302.bundle.min.js
[edit]
[-] table-of-contents.c40874e82fb2b6d09547.bundle.js
[edit]
[-] editor.min.js
[edit]
[-] custom-code.js
[edit]
[-] nav-menu.1047f3cf542aebc7eea1.bundle.js
[edit]
[-] lottie.b602d6a1c68e229db197.bundle.min.js
[edit]
[-] portfolio.1753cf6f95efb460cd6c.bundle.js
[edit]
[-] form.dd13e7aa247581b7c347.bundle.min.js
[edit]
[-] paypal-button.e7bc00be6d37a75afa94.bundle.js
[edit]
[-] nav-menu.45545c0d5772c620c9fc.bundle.min.js
[edit]
[-] preloaded-elements-handlers.js
[edit]
[-] animated-headline.0cdf629ebd9eaf373218.bundle.min.js
[edit]
[-] woocommerce-menu-cart.a0ca3c5b1b1fbd100eae.bundle.min.js
[edit]
[-] webpack-pro.runtime.js
[edit]
[-] screenshot.js
[edit]
[-] media-carousel.90dacec614de60683492.bundle.min.js
[edit]
[-] code-highlight.36c6ab32da7b5cd4cf39.bundle.js
[edit]
[-] carousel.b9b72c3f8c26e7336341.bundle.js
[edit]
[-] slides.b404bc7083be41fc917c.bundle.js
[edit]
[-] media-carousel.195b60e9d52641de17ef.bundle.js
[edit]
[-] preview.js
[edit]
[-] jszip.vendor.9ec53381c344ee903f3e.bundle.min.js
[edit]
[-] hotspot.87f8b120d01ef70bdf13.bundle.min.js
[edit]
[-] slides.805ab056f4b77290515e.bundle.min.js
[edit]
[-] admin.min.js
[edit]
[-] preloaded-elements-handlers.min.js
[edit]
[-] hotspot.6e5f8367844f92a2df4d.bundle.js
[edit]
[-] qunit-tests.js
[edit]
[-] custom-code.min.js
[edit]
[-] paypal-button.b2f7547fbb7a974af793.bundle.min.js
[edit]
[-] carousel.1ebc0652cb61e40967b7.bundle.min.js
[edit]
[-] posts.2850ece7b8987a6bff85.bundle.min.js
[edit]
[-] form.a1a56dc07903de7da0f4.bundle.js
[edit]
[-] video-playlist.05b3106f8cec7280494a.bundle.min.js
[edit]