PATH:
home
/
hunkmedicalstaff
/
public_html
/
wp-content
/
plugins
/
elementor-pro
/
assets
/
js
/*! elementor-pro - v3.27.0 - 06-02-2025 */ "use strict"; (self["webpackChunkelementor_pro"] = self["webpackChunkelementor_pro"] || []).push([["floating-bars-var-3"],{ /***/ "../modules/floating-buttons/assets/js/frontend/handlers/floating-bars-v3.js": /*!***********************************************************************************!*\ !*** ../modules/floating-buttons/assets/js/frontend/handlers/floating-bars-v3.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 _base = _interopRequireDefault(__webpack_require__(/*! elementor-frontend/handlers/base */ "../../elementor/assets/dev/js/frontend/handlers/base.js")); var _copyToClipboard = __webpack_require__(/*! ../../../../../notes/assets/js/services/copy-to-clipboard */ "../modules/notes/assets/js/services/copy-to-clipboard/index.js"); var _floatinBarDom = _interopRequireDefault(__webpack_require__(/*! ../classes/floatin-bar-dom */ "../modules/floating-buttons/assets/js/frontend/classes/floatin-bar-dom.js")); var _clickTracking = _interopRequireDefault(__webpack_require__(/*! ../../shared/frontend/handlers/click-tracking */ "../modules/floating-buttons/assets/js/shared/frontend/handlers/click-tracking.js")); class FloatingBarsHandler extends _base.default { getDefaultSettings() { return { selectors: { main: '.e-floating-bars', mainV3: '.e-floating-bars-var-3', closeButton: '.e-floating-bars__close-button', couponButton: '.e-floating-bars__coupon-button', couponCode: '.e-floating-bars__coupon-code', codeTextGroup: '.e-floating-bars__coupon-code', successTextGroup: '.e-floating-bars__coupon-success' }, constants: { couponEntranceAnimation: 'style_coupon_animation', couponEntranceAnimationDelay: 'style_coupon_animation_delay', hasEntranceAnimation: 'has-entrance-animation', visible: 'visible', isSticky: 'is-sticky', hasVerticalPositionTop: 'has-vertical-position-top', hasVerticalPositionBottom: 'has-vertical-position-bottom', isHidden: 'is-hidden', successMessageDurationControl: 'style_coupon_success_message_duration', animated: 'animated' } }; } getDefaultElements() { const selectors = this.getSettings('selectors'); return { main: this.$element[0].querySelector(selectors.main), mainV3: this.$element[0].querySelector(selectors.mainV3), mainAll: this.$element[0].querySelectorAll(selectors.main), closeButton: this.$element[0].querySelector(selectors.closeButton), couponButton: this.$element[0].querySelector(selectors.couponButton), couponCode: this.$element[0].querySelector(selectors.couponCode), codeTextGroup: this.$element[0].querySelector(selectors.codeTextGroup), successTextGroup: this.$element[0].querySelector(selectors.successTextGroup) }; } getResponsiveSetting(controlName) { const currentDevice = elementorFrontend.getCurrentDeviceMode(); return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(), controlName, '', currentDevice); } bindEvents() { if (this.elements.closeButton) { this.elements.closeButton.addEventListener('click', this.closeFloatingBar.bind(this)); } if (this.elements.couponButton) { this.elements.couponButton.addEventListener('animationend', this.handleAnimationEnd.bind(this)); } if (this.elements.main) { window.addEventListener('keyup', this.onDocumentKeyup.bind(this)); } if (this.elements.couponButton) { this.elements.couponButton.addEventListener('click', this.handleCouponButtonClick.bind(this)); } if (this.hasStickyElements()) { window.addEventListener('resize', this.handleStickyElements.bind(this)); } } isStickyTop() { const { isSticky, hasVerticalPositionTop } = this.getSettings('constants'); return this.elements.main.classList.contains(isSticky) && this.elements.main.classList.contains(hasVerticalPositionTop); } isStickyBottom() { const { isSticky, hasVerticalPositionBottom } = this.getSettings('constants'); return this.elements.main.classList.contains(isSticky) && this.elements.main.classList.contains(hasVerticalPositionBottom); } hasStickyElements() { const stickyElements = document.querySelectorAll('.elementor-sticky'); return stickyElements.length > 0; } focusOnLoad() { this.elements.main.setAttribute('tabindex', '0'); this.elements.main.focus({ focusVisible: true }); } applyBodyPadding() { const offsetHeight = this.elements.main.offsetHeight; document.body.style.paddingTop = `${offsetHeight}px`; } removeBodyPadding() { document.body.style.paddingTop = '0'; } handleWPAdminBar() { const wpAdminBar = elementorFrontend.elements.$wpAdminBar; if (wpAdminBar.length) { this.elements.main.style.top = `${wpAdminBar.height()}px`; } } handleStickyElements() { const mainHeight = this.elements.main.offsetHeight; const wpAdminBar = elementorFrontend.elements.$wpAdminBar; const stickyElements = document.querySelectorAll('.elementor-sticky:not(.elementor-sticky__spacer)'); if (0 === stickyElements.length) { return; } stickyElements.forEach(stickyElement => { const dataSettings = stickyElement.getAttribute('data-settings'); const stickyPosition = JSON.parse(dataSettings)?.sticky; const isTop = '0px' === stickyElement.style.top || 'top' === stickyPosition; const isBottom = '0px' === stickyElement.style.bottom || 'bottom' === stickyPosition; if (this.isStickyTop() && isTop) { if (wpAdminBar.length) { stickyElement.style.top = `${mainHeight + wpAdminBar.height()}px`; } else { stickyElement.style.top = `${mainHeight}px`; } } else if (this.isStickyBottom() && isBottom) { stickyElement.style.bottom = `${mainHeight}px`; } if (elementorFrontend.isEditMode()) { if (isTop) { stickyElement.style.top = this.isStickyTop() ? `${mainHeight}px` : '0px'; } else if (isBottom) { stickyElement.style.bottom = this.isStickyBottom() ? `${mainHeight}px` : '0px'; } } }); document.querySelectorAll('.elementor-sticky__spacer').forEach(stickySpacer => { const dataSettings = stickySpacer.getAttribute('data-settings'); const stickyPosition = JSON.parse(dataSettings)?.sticky; const isTop = '0px' === stickySpacer.style.top || 'top' === stickyPosition; if (this.isStickyTop() && isTop) { stickySpacer.style.marginBottom = `${mainHeight}px`; } }); } closeFloatingBar() { const { isHidden } = this.getSettings('constants'); if (!elementorFrontend.isEditMode()) { this.elements.main.classList.add(isHidden); if (this.hasStickyElements()) { this.handleStickyElements(); } else if (this.isStickyTop()) { this.removeBodyPadding(); } } } initEntranceAnimation() { const { animated, couponEntranceAnimation, couponEntranceAnimationDelay, hasEntranceAnimation } = this.getSettings('constants'); const entranceAnimationClass = this.getResponsiveSetting(couponEntranceAnimation); const entranceAnimationDelay = this.getResponsiveSetting(couponEntranceAnimationDelay) || 0; const setTimeoutDelay = entranceAnimationDelay + 500; this.elements.couponButton.classList.add(animated); this.elements.couponButton.classList.add(entranceAnimationClass); setTimeout(() => { this.elements.couponButton.classList.remove(hasEntranceAnimation); }, setTimeoutDelay); } handleAnimationEnd() { this.removeEntranceAnimationClasses(); this.focusOnLoad(); } removeEntranceAnimationClasses() { if (!this.elements.couponButton) { return; } const { animated, couponEntranceAnimation, visible } = this.getSettings('constants'); const entranceAnimationClass = this.getResponsiveSetting(couponEntranceAnimation); this.elements.couponButton.classList.remove(animated); this.elements.couponButton.classList.remove(entranceAnimationClass); this.elements.couponButton.classList.add(visible); } onDocumentKeyup(event) { // Bail if not ESC key if (event.keyCode !== 27 || !this.elements.main) { return; } /* eslint-disable @wordpress/no-global-active-element */ if (this.elements.main.contains(document.activeElement)) { this.closeFloatingBar(); } /* eslint-enable @wordpress/no-global-active-element */ } getDuration(duration) { const isUnitSeconds = 's' === duration.unit; const DEFAULT_DURATION_SIZE = isUnitSeconds ? '1.5' : '1500'; const size = '' !== duration.size ? duration.size : DEFAULT_DURATION_SIZE; return isUnitSeconds ? size * 1000 : size; } handleCouponButtonClick(element) { const { successMessageDurationControl, isHidden } = this.getSettings('constants'); const text = this.elements.couponCode.innerText; const successMessageDuration = this.getResponsiveSetting(successMessageDurationControl); const duration = this.getDuration(successMessageDuration); const currentWidth = element.currentTarget.getBoundingClientRect().width; const currentHeight = element.currentTarget.getBoundingClientRect().height; this.elements.mainV3.style.setProperty('--e-floating-bars-coupon-width', `${currentWidth}px`); this.elements.mainV3.style.setProperty('--e-floating-bars-coupon-height', `${currentHeight}px`); (0, _copyToClipboard.copyToClipboard)(text); this.elements.codeTextGroup.classList.add(isHidden); this.elements.successTextGroup.classList.remove(isHidden); setTimeout(() => { this.elements.codeTextGroup.classList.remove(isHidden); this.elements.successTextGroup.classList.add(isHidden); this.elements.mainV3.style.setProperty('--e-floating-bars-coupon-width', 'initial'); this.elements.mainV3.style.setProperty('--e-floating-bars-coupon-height', 'initial'); }, duration); } initDefaultState() { const { hasEntranceAnimation } = this.getSettings('constants'); if (this.isStickyTop()) { this.handleWPAdminBar(); } if (this.hasStickyElements()) { this.handleStickyElements(); } else if (this.isStickyTop()) { this.applyBodyPadding(); } if (this.elements.main && !this.elements.couponButton.classList.contains(hasEntranceAnimation) && !elementorFrontend.isEditMode()) { this.focusOnLoad(); } } setupInnerContainer() { this.elements.main.closest('.e-con-inner').classList.add('e-con-inner--floating-bars'); this.elements.main.closest('.e-con').classList.add('e-con--floating-bars'); } onInit() { const { hasEntranceAnimation } = this.getSettings('constants'); super.onInit(...arguments); this.clickTrackingHandler = new _clickTracking.default({ $element: this.$element }); const domHelper = new _floatinBarDom.default(this.$element); domHelper.maybeMoveToTop(); if (this.elements.couponButton && this.elements.couponButton.classList.contains(hasEntranceAnimation)) { this.initEntranceAnimation(); } this.initDefaultState(); this.setupInnerContainer(); } } exports["default"] = FloatingBarsHandler; /***/ }), /***/ "../modules/notes/assets/js/services/copy-to-clipboard/index.js": /*!**********************************************************************!*\ !*** ../modules/notes/assets/js/services/copy-to-clipboard/index.js ***! \**********************************************************************/ /***/ ((__unused_webpack_module, exports) => { Object.defineProperty(exports, "__esModule", ({ value: true })); exports.canCopyToClipboard = canCopyToClipboard; exports.copyToClipboard = copyToClipboard; /** * Check if there is access to the clipboard API * (Usually, when a website doesn't have an SSL certificate, the browser won't expose the clipboard API). * * @return {boolean} can copy to clipboard? */ function canCopyToClipboard() { return !!navigator?.clipboard; } /** * Will copy value to the clipboard * * @param {string} value */ function copyToClipboard(value) { if (!canCopyToClipboard()) { throw new Error('Cannot copy to clipboard, please make sure you are using SSL in your website.'); } navigator.clipboard.writeText(value); } /***/ }) }]); //# sourceMappingURL=floating-bars-var-3.6cef001471f04cdb931e.bundle.js.map
[+]
..
[-] mega-menu.4a05edbefebc8de41e36.bundle.js
[edit]
[-] screenshot.min.js
[edit]
[-] load-more.8b46f464e573feab5dd7.bundle.min.js
[edit]
[-] floating-bars-var-2.c6f25c32db86d04f5e8b.bundle.js
[edit]
[-] portfolio.4cd5da34009c30cb5d70.bundle.min.js
[edit]
[-] taxonomy-filter.ce05524d53c2d4c5aa24.bundle.js
[edit]
[-] load-more.f5ecc1c66872d0bd2d17.bundle.js
[edit]
[-] posts.aec59265318492b89cb5.bundle.min.js
[edit]
[-] floating-bars-var-3.acd1ad79ebb515e353c9.bundle.min.js
[edit]
[-] ajax-pagination.45dafe7f88c8058e3099.bundle.js
[edit]
[-] mega-menu-stretch-content.0d76e4a3b7bf65ff6f9b.bundle.js
[edit]
[-] contact-buttons-var-10.49a45dadc9c2facb4972.bundle.js
[edit]
[-] gallery.1628df47530ab42dafba.bundle.min.js
[edit]
[-] animated-headline.375998d4790797e91f21.bundle.js
[edit]
[-] posts.e99f84b83c36d4568ffe.bundle.js
[edit]
[-] qunit-tests.js
[edit]
[-] woocommerce-notices.bcee9b5e1c8f65ac7927.bundle.min.js
[edit]
[-] hotspot.d513dd152bf605a2ffbf.bundle.js
[edit]
[-] off-canvas.41d355285c19e4440547.bundle.min.js
[edit]
[-] admin.min.js
[edit]
[-] elements-handlers.js
[edit]
[-] f6214a79e4b78ec016e6.bundle.min.js.LICENSE.txt
[edit]
[-] video-playlist.9e1bbc4fcb37864c89d6.bundle.js
[edit]
[-] share-buttons.63d984f8c96d1e053bc0.bundle.min.js
[edit]
[-] woocommerce-notices.ee407e8319d2ee060119.bundle.js
[edit]
[-] stripe-button.cf3f67d6b95e0138bb6b.bundle.js
[edit]
[-] media-carousel.04412cb9b4479aa37408.bundle.js
[edit]
[-] archive-posts.6e398ddd4a81a78bcea3.bundle.js
[edit]
[-] video-playlist.af20fd9fd8778929829e.bundle.min.js
[edit]
[-] loop-filter-editor.67dfa5d044d7bd86bd6f.bundle.min.js
[edit]
[-] mega-menu-editor.a0c405b93f24b0011f86.bundle.js
[edit]
[-] product-add-to-cart.51a22e1fbd8f914ab3d5.bundle.min.js
[edit]
[-] contact-buttons.6f0dc663eb685c187fea.bundle.js
[edit]
[-] taxonomy-filter.e839f2be32b7ea832b34.bundle.min.js
[edit]
[-] loop.da94e53412e56933f721.bundle.js
[edit]
[-] woocommerce-my-account.7a9d36b2c12b970c6616.bundle.js
[edit]
[-] form.5fb35271b8ba3fb1e7d6.bundle.min.js
[edit]
[-] search-form.8941aba5c12cdb05fb7c.bundle.js
[edit]
[-] frontend.js
[edit]
[-] mega-menu-editor.d6c0f51481d860b12bb7.bundle.min.js
[edit]
[-] display-conditions.js
[edit]
[-] editor.js
[edit]
[-] app.js
[edit]
[-] menu-title-keyboard-handler.ad6efd6a78bf25450d5a.bundle.js
[edit]
[-] contact-buttons-var-10.0dc9f4c9e85e7c4baa3a.bundle.min.js
[edit]
[-] menu-title-keyboard-handler.070cb9cb3c4f1f016388.bundle.min.js
[edit]
[-] search.3db30c59360e14bb4448.bundle.min.js
[edit]
[-] paypal-button.55ffb013a3fe565f55a5.bundle.js
[edit]
[-] cafdcd40a3ed0f7a7a4a.bundle.js
[edit]
[-] off-canvas-editor.d20b8e528d36b21a024c.bundle.js
[edit]
[-] woocommerce-checkout-page.10d97c3a8cb77aebc1bf.bundle.js
[edit]
[-] floating-bars-var-3.6cef001471f04cdb931e.bundle.js
[edit]
[-] loop-filter-editor.46a4c013b80a381a50c9.bundle.js
[edit]
[-] slides.bcd16bbde90338846bd7.bundle.js
[edit]
[-] editor.min.js
[edit]
[-] woocommerce-purchase-summary.3676ccd8c29ef0924b84.bundle.min.js
[edit]
[-] display-conditions.min.js
[edit]
[-] floating-bars-var-2.1a487dc027431fb485cd.bundle.min.js
[edit]
[-] jszip.vendor.eba4ace24dcc63eadac0.bundle.min.js
[edit]
[-] nested-carousel-editor.6d7500036d0766bbe2fc.bundle.min.js
[edit]
[-] product-add-to-cart.d5883897e035f9c53c5e.bundle.js
[edit]
[-] animated-headline.588a0449647bd4f113f3.bundle.min.js
[edit]
[-] elements-handlers.min.js
[edit]
[-] 1644e3d37816d939acca.bundle.js
[edit]
[-] lottie.e74a53bfa4c0bd939250.bundle.min.js
[edit]
[-] off-canvas-editor.3bc6e394bd20d4fd64dc.bundle.min.js
[edit]
[-] page-transitions.js
[edit]
[-] nested-carousel.d08a5094d95215833b5c.bundle.min.js
[edit]
[-] woocommerce-checkout-page.776b4cec45070fe32636.bundle.min.js
[edit]
[-] nav-menu.e135a0d0f766c7f455ff.bundle.js
[edit]
[-] countdown.6e87ca40d36793d92aea.bundle.js
[edit]
[-] lottie.a02a01f29c0733918ac7.bundle.js
[edit]
[-] search-form.b7065999d77832a1b764.bundle.min.js
[edit]
[-] progress-tracker.8cccdda9737c272489fc.bundle.min.js
[edit]
[-] preview.min.js
[edit]
[-] progress-tracker.fd1d31a26340ed74e10a.bundle.js
[edit]
[-] woocommerce-purchase-summary.c8767542fa302a7f351f.bundle.js
[edit]
[-] page-transitions.min.js
[edit]
[-] carousel.298f1fc9c115422aad0e.bundle.js
[edit]
[-] e3f4acef69f217322320.bundle.min.js
[edit]
[-] woocommerce-menu-cart.81f5bafc26b94cc86238.bundle.js
[edit]
[-] nested-carousel-editor.0df35e0e1a284d4bd18b.bundle.js
[edit]
[-] form-submission-admin.js
[edit]
[-] preview.js
[edit]
[-] stripe-button.61d93594d6b7865f8b3f.bundle.min.js
[edit]
[-] media-carousel.afbaabb756a7c18ddb09.bundle.min.js
[edit]
[-] f6214a79e4b78ec016e6.bundle.min.js
[edit]
[-] share-buttons.fda49c1691f4a352c7ef.bundle.js
[edit]
[-] carousel.3620fca501cb18163600.bundle.min.js
[edit]
[-] search.5c7852be6fc67209b3a8.bundle.js
[edit]
[-] woocommerce-menu-cart.eb61fe086245485310a4.bundle.min.js
[edit]
[-] qunit-tests.min.js
[edit]
[-] screenshot.js
[edit]
[-] code-highlight.d4867c919d0858f748df.bundle.js
[edit]
[-] nav-menu.a23fbd67486c5bedf26c.bundle.min.js
[edit]
[-] table-of-contents.8d46d3a531c49309b7eb.bundle.js
[edit]
[-] woocommerce-my-account.4e940a8b4a52d1c98c5c.bundle.min.js
[edit]
[-] code-highlight.d86022c8668c4b072592.bundle.min.js
[edit]
[-] popup.f7b15b2ca565b152bf98.bundle.min.js
[edit]
[-] admin.js
[edit]
[-] archive-posts.16a93245d08246e5e540.bundle.min.js
[edit]
[-] custom-code.js
[edit]
[-] ajax-pagination.55e86e9100bc317aeb0b.bundle.min.js
[edit]
[-] slides.c0029640cbdb48199471.bundle.min.js
[edit]
[-] frontend.min.js
[edit]
[-] countdown.0e9e688751d29d07a8d3.bundle.min.js
[edit]
[-] gallery.b7d55bc976e04f751975.bundle.js
[edit]
[-] custom-code.min.js
[edit]
[-] off-canvas.02e30e192bc782084e8a.bundle.js
[edit]
[-] webpack-pro.runtime.min.js
[edit]
[-] portfolio.5727b56368be256d0893.bundle.js
[edit]
[-] jszip.vendor.a3c65615c1de5560962d.bundle.js
[edit]
[-] jszip.vendor.eba4ace24dcc63eadac0.bundle.min.js.LICENSE.txt
[edit]
[-] table-of-contents.99a74eec7252759bebdb.bundle.min.js
[edit]
[-] woocommerce-cart.79b5dc500681930471c6.bundle.js
[edit]
[-] form.a7e78a23dbf43d6f2639.bundle.js
[edit]
[+]
notes
[-] form-submission-admin.min.js
[edit]
[-] e8eba20060a4b0fa29dc.bundle.js
[edit]
[-] paypal-button.f4f64e46173f50701949.bundle.min.js
[edit]
[-] webpack-pro.runtime.js
[edit]
[-] loop-carousel.5108cb72ebb124297adb.bundle.js
[edit]
[-] hotspot.fa04300164c35a866a51.bundle.min.js
[edit]
[-] app.min.js
[edit]
[-] popup.996738ad83c089bcc0b9.bundle.js
[edit]
[-] nested-carousel.adf1d39e8be72ec094f0.bundle.js
[edit]
[+]
packages
[-] mega-menu.8008698e9df584aa4337.bundle.min.js
[edit]
[-] loop-carousel.f8067ec0c24b628c786e.bundle.min.js
[edit]
[-] mega-menu-stretch-content.480e081cebe071d683e8.bundle.min.js
[edit]
[-] woocommerce-cart.d0d01530f5be6736b5d2.bundle.min.js
[edit]
[-] social.f215e8a3efafbdbeb7ef.bundle.min.js
[edit]
[-] social.ac16c075939dcb93f70c.bundle.js
[edit]
[-] loop.4a16d82b8b5e3e00f25e.bundle.min.js
[edit]
[-] contact-buttons.33ec3b540b7caec4d0f5.bundle.min.js
[edit]