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([[727],{3556:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=class AnchorLinks{observer=null;constructor(e,t){this.$anchorLinks=e,this.activeAnchorClass=t.activeAnchorItem,this.anchorClass=t.anchorItem}getViewportHeight(){return window.innerHeight}bindEvents(){this.onResize=this.onResize.bind(this),window.addEventListener("resize",this.onResize)}initialize(){this.viewPortHeight=this.getViewportHeight(),this.followMenuAnchors(),this.bindEvents()}followMenuAnchors(){this.$anchorLinks.each(((e,t)=>{location.pathname===t.pathname&&""!==t.hash&&this.followMenuAnchor(jQuery(t))}))}followMenuAnchor(e){const t=e.hasClass(this.anchorClass)?e:e.closest(`.${this.anchorClass}`),n=this.getAnchorElement(e);if(!n)return;const i=this.getObserverOptions(n);this.observer=this.createObserver(t,e,i),this.observer.observe(n)}getAnchorElement(e){const t=e[0].hash;try{const e=decodeURIComponent(t);return document.querySelector(e)}catch(e){return null}}getObserverOptions(e){return{root:null,rootMargin:this.calculateRootMargin(e)}}calculateRootMargin(e){const t=(e?.offsetHeight||0)>this.viewPortHeight/2,n=-1*this.viewPortHeight/2;return`${t?n:0}px 0px ${n}px 0px`}createObserver(e,t,n){return new IntersectionObserver((n=>{n.forEach((n=>{e.toggleClass(this.activeAnchorClass,n.isIntersecting),t.attr("aria-current",n.isIntersecting?"location":"")}))}),n)}onResize(){this.viewPortHeight=this.getViewportHeight(),this.observer&&this.observer.disconnect(),this.followMenuAnchors()}}},6974:(e,t)=>{function getChildrenWidth(e){let t=0;const n=e[0].parentNode,i=getComputedStyle(n),o=parseFloat(i.gap)||0;for(let n=0;n<e.length;n++)t+=e[n].offsetWidth+o;return t}Object.defineProperty(t,"__esModule",{value:!0}),t.changeScrollStatus=function changeScrollStatus(e,t){"mousedown"===t.type?(e.classList.add("e-scroll"),e.dataset.pageX=t.pageX):(e.classList.remove("e-scroll","e-scroll-active"),e.dataset.pageX="")},t.setHorizontalScrollAlignment=function setHorizontalScrollAlignment(e){let{element:t,direction:n,justifyCSSVariable:i,horizontalScrollStatus:o}=e;if(!t)return;!function isHorizontalScroll(e,t){return e.clientWidth<getChildrenWidth(e.children)&&"enable"===t}(t,o)?t.style.setProperty(i,""):function initialScrollPosition(e,t,n){const i=elementorFrontend.config.is_rtl;if("end"===t)e.style.setProperty(n,"start"),e.scrollLeft=i?-1*getChildrenWidth(e.children):getChildrenWidth(e.children);else e.style.setProperty(n,"start"),e.scrollLeft=0}(t,n,i)},t.setHorizontalTitleScrollValues=function setHorizontalTitleScrollValues(e,t,n){const i=e.classList.contains("e-scroll"),o="enable"===t,s=e.scrollWidth>e.clientWidth;if(!i||!o||!s)return;n.preventDefault();const r=parseFloat(e.dataset.pageX),l=n.pageX-r;let a=0;a=20<l?5:-20>l?-5:l;e.scrollLeft=e.scrollLeft-a,e.classList.add("e-scroll-active")}},3431:(e,t,n)=>{var i=n(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(166),s=i(n(3556)),r=n(6974);class MegaMenu extends elementorModules.frontend.handlers.Base{constructor(){super(...arguments),elementorFrontend.isEditMode()&&(this.lifecycleChangeListener=null),this.resizeListener=null,this.prevMouseY=null,this.isKeyboardNavigation=!1}getDefaultSettings(){return{selectors:{elementorWidgetWrapper:".elementor-widget-n-menu",widgetContainer:".e-n-menu",dropdownMenuToggle:".e-n-menu-toggle",menuWrapper:".e-n-menu-wrapper",headingContainer:".e-n-menu-heading",menuItem:".e-n-menu-item",tabTitle:".e-n-menu-title",tabTitleText:".e-n-menu-title-text",directTabTitle:":scope > .elementor-widget-container > .e-n-menu > .e-n-menu-wrapper > .e-n-menu-heading > .e-n-menu-item > .e-n-menu-title",tabClickableTitle:".e-n-menu-title.e-click",tabDropdown:".e-n-menu-dropdown-icon",menuContent:".e-n-menu-content",tabContent:".e-n-menu-content > .e-con, .e-n-menu-heading > .e-con",directTabContent:":scope > .elementor-widget-container > .e-n-menu > .e-n-menu-wrapper > .e-n-menu-heading > .e-n-menu-item > .e-n-menu-content > .e-con, :scope > .elementor-widget-container > .e-n-menu > .e-n-menu-wrapper > .e-n-menu-heading > .e-con",tabContentBeforeInterlacing:"> .elementor-widget-container > .e-n-menu > .e-n-menu-wrapper > .e-n-menu-heading > .e-con",newContainerAfterRepeaterAction:"> .elementor-widget-container > .e-n-menu > .e-n-menu-wrapper > .e-n-menu-heading > .e-con, > .elementor-widget-container > .e-n-menu > .e-n-menu-wrapper > .e-n-menu-heading > .e-n-menu-item > .e-n-menu-content > .e-con:nth-child(2)",anchorLink:".e-anchor a"},classes:{active:"e-active",anchorItem:"e-anchor",activeAnchorItem:"e-current"},dataAttributes:{tabIndex:"data-tab-index"},ariaAttributes:{titleStateAttribute:"aria-expanded",activeTitleSelector:'[aria-expanded="true"]'},autoExpand:!1,autoFocus:!1,showTabFn:"show",hideTabFn:"hide",toggleSelf:!1,hidePrevious:!0,postUrl:"post-url",internalUrl:"internal-url"}}getDefaultElements(){const e=this.getSettings("selectors");return{$tabContents:this.findElement(e.tabContent),$widgetContainer:this.findElement(e.widgetContainer),$dropdownMenuToggle:this.findElement(e.dropdownMenuToggle),$menuWrapper:this.findElement(e.menuWrapper),$menuContent:this.findElement(e.menuContent),$headingContainer:this.findElement(e.headingContainer),$menuItems:this.findElement(e.menuItem),$tabTitles:this.findElement(e.tabTitle),$tabDropdowns:this.findElement(e.tabDropdown),$anchorLink:this.findElement(e.anchorLink),$tabContentsBeforeInterlacing:this.findElement(e.tabContentBeforeInterlacing)}}getTabTitleFilterSelector(e){return`[${this.getSettings("dataAttributes").tabIndex}="${e}"]`}getTabIndex(e){return e.getAttribute(this.getSettings("dataAttributes").tabIndex)}setKeyboardNavigation(e){"Tab"===e.key&&(this.isKeyboardNavigation=!0)}dropdownMenuHeightControllerConfig(){const e=this.getSettings("selectors");return{elements:{$element:this.$element,$dropdownMenuContainer:this.$element.find(e.menuWrapper),$menuToggle:this.$element.find(e.dropdownMenuToggle)},attributes:{menuToggleState:"aria-expanded"},settings:{dropdownMenuContainerMaxHeight:"auto",menuHeightCssVarName:"--n-menu-dropdown-content-box-height"}}}handleContentContainerPosition(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.resetContentContainersPosition();const t=this.getSettings("ariaAttributes").activeTitleSelector,n=this.elements.$tabDropdowns.filter(t).attr("data-tab-index");e=e||this.elements.$tabContents.filter(this.getTabContentFilterSelector(n)),e.length&&this.setContentContainerAbsolutePosition(e)}setContentContainerAbsolutePosition(e){const t=this.getElementSettings(),n="fit_to_content"===t.content_width;if((0,o.isMenuInDropdownMode)(t))return;if(n){const t=elementorFrontend.config.is_rtl?"right":"left",n=0<this.getMenuItemContainerAbsolutePosition(e)?this.getMenuItemContainerAbsolutePosition(e):0;e.css(t,n)}const i=this.elements.$headingContainer[0].getBoundingClientRect().height;if(this.shouldPositionContentAbove(e,i)){const t=e[0].getBoundingClientRect();e.css({width:n?"max-content":"","max-width":t.width}),this.elements.$widgetContainer.addClass("content-above")}}getMenuItemContainerAbsolutePosition(e){const t=e.data("tab-index"),n=this.elements.$tabDropdowns.filter(this.getTabTitleFilterSelector(t))[0].closest(this.getSettings("selectors").tabTitle).getBoundingClientRect(),i=e[0].clientWidth;let o=null;switch(this.getElementSettings("content_horizontal_position")){case"left":o=this.getLeftDirectionContainerOffset(i,n);break;case"right":o=this.getRightDirectionContainerOffset(i,n);break;default:o=this.getCenteredContainerOffset(i,n)}return o}getCenteredContainerOffset(e,t){const n=e/2,i=elementorFrontend.elements.$body[0].clientWidth;let o=this.adjustForScrollbarIfNeeded(t.left+t.width/2);elementorFrontend.config.is_rtl&&(o=i-o);let s=o-n;return o+n>i?s=i-e:n>o&&(s=0),s}getLeftDirectionContainerOffset(e,t){return elementorFrontend.config.is_rtl?this.getRtlLeftDirectionContainerOffset(e,t):this.getLtrLeftDirectionContainerOffset(e,t)}getRtlLeftDirectionContainerOffset(e,t){const n=elementorFrontend.elements.$body[0].clientWidth;let i=n-this.adjustForScrollbarIfNeeded(t.left)-e;return-i+e>n&&(i=0),i}getLtrLeftDirectionContainerOffset(e,t){let n=this.adjustForScrollbarIfNeeded(t.left);return n=this.adjustStartOffsetToViewport(n,e),n}getRightDirectionContainerOffset(e,t){return elementorFrontend.config.is_rtl?this.getRtlRightDirectionContainerOffset(e,t):this.getLtrRightDirectionContainerOffset(e,t)}getRtlRightDirectionContainerOffset(e,t){let n=elementorFrontend.elements.$body[0].clientWidth-this.adjustForScrollbarIfNeeded(t.right);return n=this.adjustStartOffsetToViewport(n,e),n}adjustStartOffsetToViewport(e,t){const n=elementorFrontend.elements.$body[0].clientWidth;return e+t>n&&(e=n-t),e}getLtrRightDirectionContainerOffset(e,t){return e>t.right?0:t.right-e}adjustForScrollbarIfNeeded(e){if(elementorFrontend.config.is_rtl&&elementorFrontend.isEditMode()){e-=window.innerWidth-elementorFrontend.elements.$body[0].clientWidth}return e}getMenuContainerOffset(){const e=this.elements.$widgetContainer[0].getBoundingClientRect();return elementorFrontend.config.is_rtl?this.getMenuContainerOffsetRtl(e):e.left}getMenuContainerOffsetRtl(e){const t=elementorFrontend.elements.$body[0].clientWidth;let n=t-e.right;if(elementorFrontend.isEditMode()){n+=window.innerWidth-t}return n}resetContentContainersPosition(){this.elements.$tabContents.css({left:"",right:"",bottom:"",position:"var(--position)","max-width":"",width:"var(--width)"}),this.elements.$widgetContainer.removeClass("content-above")}getTabContentFilterSelector(e){return`[data-tab-index="${e}"]`}isActiveTab(e){return"true"===this.elements.$tabDropdowns.filter('[data-tab-index="'+e+'"]').attr(this.getSettings("ariaAttributes").titleStateAttribute)}activateDefaultTab(){const e=this.getSettings(),t=this.getEditSettings("activeItemIndex")||1,n={showTabFn:e.showTabFn,hideTabFn:e.hideTabFn};this.setSettings({showTabFn:"show",hideTabFn:"hide"}),this.changeActiveTab(t),this.setSettings(n),this.elements.$widgetContainer.addClass("e-activated")}activateTab(e){const t=this.getSettings(),n=t.classes.active,i=`.elementor-element-${this.getID()} .e-n-menu .e-n-menu .e-n-menu-dropdown-icon`,o=`.elementor-element-${this.getID()} .e-n-menu .e-n-menu .e-n-menu-content > .e-con`,s=this.elements.$tabDropdowns.filter(this.getTabTitleFilterSelector(e)).not(i),r="show"===t.showTabFn?0:400,l=this.elements.$tabContents.filter(this.getTabContentFilterSelector(e)).not(o);this.addAnimationToContentIfNeeded(e),l[t.showTabFn](r,(()=>this.onShowTabContent(l))),s.attr(this.getTitleActivationAttributes()),s.prev(".e-n-menu-title-container").find("a").attr(this.getTitleActivationAttributes("link")),l.addClass(n).parent().addClass(n),l.css({display:"var(--display)"}),l.removeAttr("display"),elementorFrontend.isEditMode()&&l.length&&this.activeContainerWidthListener(l),this.menuHeightController.reassignMenuHeight(l)}deactivateActiveTab(){const e=this.getSettings(),t=e.classes.active,n=e.ariaAttributes.activeTitleSelector,i="."+t,o=this.elements.$tabDropdowns.filter(n),s=this.elements.$tabContents.filter(i);this.setTabDeactivationAttributes(o),this.elements.$menuContent.removeClass(t),s.removeClass(t),s[e.hideTabFn](0,(()=>this.onHideTabContent(s))),this.removeAnimationFromContentIfNeeded(),elementorFrontend.isEditMode()&&s.length&&this.observedContainer?.unobserve(s[0]),this.menuHeightController.resetMenuHeight(s),this.clickInProgress=!0}getTitleActivationAttributes(){const e={};return"tab"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"tab")&&(e["aria-expanded"]="true"),e}setTabDeactivationAttributes(e){const t=this.getSettings("ariaAttributes").titleStateAttribute;e.attr(`${t}`,"false")}shouldPositionContentAbove(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const n=e[0].getBoundingClientRect();return this.isContentShorterThanItsTopOffset(n,t)&&this.isContentTallerThanItsBottomOffset(n)}isContentShorterThanItsTopOffset(e,t){return e.height<e.top-t}isContentTallerThanItsBottomOffset(e){return window.innerHeight-e.top<e.height}onShowTabContent(e){this.handleContentContainerPosition(e),elementorFrontend.elements.$window.trigger("elementor-pro/motion-fx/recalc"),elementorFrontend.elements.$window.trigger("elementor/nested-tabs/activate",e),elementorFrontend.elements.$window.trigger("elementor/bg-video/recalc")}onHideTabContent(){this.elements.$widgetContainer.hasClass("content-above")&&this.resetContentContainersPosition()}changeActiveTab(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.clickInProgress&&elementorFrontend.isEditMode()&&!n)return;const i=this.isActiveTab(e);this.deactivateActiveTab(),(!i||i&&!t)&&(this.clickInProgress=!0,this.activateTab(e)),setTimeout((()=>{this.clickInProgress=!1}))}changeActiveTabByKeyboard(e,t){if(t.widgetId.toString()!==this.getID().toString())return;if(!t.titleIndex)return void this.changeActiveTab("",!0,!0);const n=this.$element.find(`[data-focus-index="${t.titleIndex}"]`),i="a"===n[0].tagName.toLowerCase(),o=this.getSettings("selectors.tabDropdown"),s=i?n.next(o):n,r=this.getTabIndex(s[0]);this.changeActiveTab(r,!0,!0),e.stopPropagation()}onTabClick(e){elementorFrontend.isEditMode()&&e.preventDefault();const t=e?.currentTarget?.classList?.contains("link-only"),n=!this.isNeedToOpenOnClick()&&!this.isKeyboardNavigation;if(t||n)return;const i=this.getSettings("selectors"),o=e?.target?.closest(i.elementorWidgetWrapper)?.getAttribute("data-id");if(o!==this.getID().toString())return;const s=e?.currentTarget,r=s?.querySelector(i.tabDropdown),l=this.getTabIndex(r);this.changeActiveTab(l,!0)}bindEvents(){this.elements.$tabTitles.on(this.getTabEvents()),this.elements.$dropdownMenuToggle.on("click",this.onClickToggleDropdownMenu.bind(this)),this.elements.$tabContents.on(this.getContentEvents()),this.elements.$menuContent.on(this.getContentEvents()),this.elements.$headingContainer.on(this.getHeadingEvents()),elementorFrontend.addListenerOnce(this.getModelCID(),"scroll",elementorFrontend.debounce(this.menuHeightController.reassignMobileMenuHeight.bind(this.menuHeightController),250)),elementorFrontend.elements.$window.on("elementor/nested-tabs/activate",this.reInitSwipers),elementorFrontend.elements.$window.on("elementor/nested-elements/activate-by-keyboard",this.changeActiveTabByKeyboard.bind(this)),elementorFrontend.elements.$window.on("elementor/mega-menu/dropdown-toggle-by-keyboard",this.onClickToggleDropdownMenuByKeyboard.bind(this)),elementorFrontend.elements.$window.on("resize",this.resizeEventHandler.bind(this)),elementorFrontend.isEditMode()&&(this.addChildLifeCycleEventListeners(),elementorFrontend.elements.$window.on("elementor/dynamic/url_change",this.changeMegaMenuTitleContainerTag.bind(this))),elementorFrontend.elements.$window.on("elementor/nested-container/atomic-repeater",this.linkContainer.bind(this))}unbindEvents(){this.elements.$tabTitles.off(),this.elements.$menuContent.off(),this.elements.$tabContents.off(),this.elements.$headingContainer.off(),elementorFrontend.elements.$window.off("resize"),elementorFrontend.isEditMode()&&(this.removeChildLifeCycleEventListeners(),elementorFrontend.elements.$window.on("elementor/dynamic/url_change",this.changeMegaMenuTitleContainerTag.bind(this))),elementorFrontend.elements.$window.off("elementor/nested-tabs/activate",this.reInitSwipers),elementorFrontend.elements.$window.off("elementor/nested-elements/activate-by-keyboard",this.changeActiveTabByKeyboard.bind(this)),elementorFrontend.elements.$window.off("elementor/mega-menu/dropdown-toggle-by-keyboard",this.onClickToggleDropdownMenuByKeyboard.bind(this)),elementorFrontend.elements.$window.off("resize",this.resizeEventHandler.bind(this)),elementorFrontend.elements.$window.off("elementor/nested-container/atomic-repeater",this.linkContainer.bind(this))}reInitSwipers(e,t){const n=t.querySelectorAll(".swiper");for(const e of n){if(!e.swiper)return;e.swiper.initialized=!1,e.swiper.init()}}resizeEventHandler(){this.resizeListener=this.handleContentContainerPosition(),this.setLayoutType(),this.setTouchMode(),this.menuHeightController.reassignMobileMenuHeight(),this.setScrollPosition();const e=this.getSettings("ariaAttributes").activeTitleSelector,t=this.elements.$tabDropdowns.filter(e).attr("data-tab-index"),n=`.elementor-element-${this.getID()} .e-n-menu .e-n-menu .e-n-menu-content > .e-con`,i=this.elements.$tabContents.filter(this.getTabContentFilterSelector(t)).not(n);this.menuHeightController.resetMenuHeight(i),this.menuHeightController.reassignMenuHeight(i)}addChildLifeCycleEventListeners(){this.lifecycleChangeListener=this.handleContentContainerChildrenChanges.bind(this),window.addEventListener("elementor/editor/element-rendered",this.lifecycleChangeListener),window.addEventListener("elementor/editor/element-destroyed",this.lifecycleChangeListener)}removeChildLifeCycleEventListeners(){window.removeEventListener("elementor/editor/element-rendered",this.lifecycleChangeListener),window.removeEventListener("elementor/editor/element-destroyed",this.lifecycleChangeListener)}handleContentContainerChildrenChanges(e){this.isNestedElementRenderedInContentContainer(e.detail.elementView)&&this.handleContentContainerPosition()}isNestedElementRenderedInContentContainer(e){const t=e?.getContainer();if(!t)return!1;return t.getParentAncestry().some((e=>this.getID().toString()===e.model.get("id").toString()))}getTabEvents(){const e={click:this.onTabClick.bind(this)};return this.isNeedToOpenOnClick()?e:this.replaceClickWithHover(e)}getContentEvents(){return this.isNeedToOpenOnClick()?{}:{mouseleave:this.onMouseLeave.bind(this),mousemove:this.trackMousePosition.bind(this)}}isNeedToOpenOnClick(){const e=this.getElementSettings();return this.isEdit||this.isMobileDevice()||"hover"!==e.open_on||"dropdown"===e.item_layout}isMobileDevice(){return["mobile","mobile_extra","tablet","tablet_extra"].includes(elementorFrontend.getCurrentDeviceMode())}replaceClickWithHover(e){return e.mouseenter=this.onMouseTitleEnter.bind(this),e.mouseleave=this.onMouseLeave.bind(this),e.keyup=this.setKeyboardNavigation.bind(this),e}onMouseTitleEnter(e){e.preventDefault();const t=this.getSettings(),n=e?.currentTarget,i=n?.closest(t.selectors.elementorWidgetWrapper)?.getAttribute("data-id");if(this.$element[0].getAttribute("data-id")!==i)return;const o=t.ariaAttributes.titleStateAttribute,s=t.selectors.tabDropdown,r=n?.querySelector(s);if("true"===r?.getAttribute(o))return;const l=r?.getAttribute("data-tab-index");this.changeActiveTab(l,!0)}onClickToggleDropdownMenu(e){this.elements.$widgetContainer.attr("data-layout","dropdown");const t=this.getSettings("ariaAttributes").titleStateAttribute,n="true"===this.elements.$dropdownMenuToggle.attr(t);"boolean"!=typeof e&&(e=!n);const i=e?"true":"false";this.elements.$dropdownMenuToggle.attr(t,i),elementorFrontend.utils.events.dispatch(window,"elementor-pro/mega-menu/dropdown-open"),this.menuHeightController.reassignMobileMenuHeight()}onClickOutsideDropdownMenu(e){if(!this.isNeedToOpenOnClick())return;const t=this.getSettings(),n=t.selectors,i=`.elementor-element-${this.getID()}`,o=`> .e-con.${t.classes.active}`,s=0===this.elements.$menuContent.find(o).length,r=elementorFrontend.isEditMode()&&!document.body.contains(e?.target),l=!!e?.target?.closest(`${i} ${n.widgetContainer}`),a=e?.target?.classList?.contains(n.menuContent.replace(".",""));a?this.deactivateActiveTab():s||l||r||this.deactivateActiveTab()}onClickToggleDropdownMenuByKeyboard(e,t){t.widgetId.toString()===this.getID().toString()&&this.onClickToggleDropdownMenu(t.show)}addAnimationToContentIfNeeded(e){const t=this.getElementSettings("open_animation");if("none"===t||""===t)return;this.elements.$tabContents.filter(this.getTabContentFilterSelector(e)).addClass(`animated ${t}`)}removeAnimationFromContentIfNeeded(){const e=this.getElementSettings("open_animation");"none"!==e&&""!==e&&this.elements.$tabContents.removeClass(`animated ${e}`)}trackMousePosition(e){this.prevMouseY=e?.clientY}isMenuContentHovered(){const e=this.getSettings();return this.$element.find(`${e.selectors.menuContent}:hover`).length>0}isCursorInBetweenMenuTitleAndContent(e){const t=this.getSettings(),n=t.selectors,i=e?.currentTarget,o=i?.closest(n.menuItem)?.querySelector(n.menuContent),s=i.classList?.contains(n.tabTitle.replace(".","")),r=o?.classList?.contains(t.classes.active);if(!s||!r)return!1;const l=i.getBoundingClientRect(),a=o.getBoundingClientRect(),d=e.clientY;return l.bottom<=a.top?d>=l.bottom&&d<a.top:d<=l.top&&d>a.bottom}didCursorMoveSidewaysOrDown(e){return null!==this.prevMouseY&&e?.clientY>=this.prevMouseY}isHoveredDropdownMenu(e,t){return(!e||!this.didCursorMoveSidewaysOrDown(t))&&this.isMenuContentHovered()}onMouseLeave(e){e.preventDefault();const t=e?.currentTarget?.classList?.contains("e-con");this.isHoveredDropdownMenu(t,e)||this.isCursorInBetweenMenuTitleAndContent(e)||this.deactivateActiveTab()}onInit(){if(this.menuHeightController=new elementorProFrontend.utils.DropdownMenuHeightController(this.dropdownMenuHeightControllerConfig()),super.onInit(...arguments),this.getSettings("autoExpand")&&this.activateDefaultTab(),(0,r.setHorizontalScrollAlignment)(this.getHorizontalScrollingSettings()),this.setTouchMode(),!elementorFrontend.isEditMode()){const e=this.getSettings("classes");this.anchorLinks=new s.default(this.elements.$anchorLink,e),this.anchorLinks.initialize(),elementorFrontend.elements.$window.on("elementor/dynamic/url_change",this.changeMegaMenuTitleContainerTag.bind(this))}this.menuToggleVisibilityListener(this.elements.$dropdownMenuToggle),this.setScrollPosition(),this.onClickOutsideDropdownMenu=this.onClickOutsideDropdownMenu.bind(this),document.addEventListener("click",this.onClickOutsideDropdownMenu),this.clickInProgress=!1}onDestroy(){document.removeEventListener("click",this.onClickOutsideDropdownMenu),elementorFrontend.elements.$window.off("elementor/dynamic/url_change")}setScrollPosition(){const e={element:this.elements.$headingContainer[0],direction:this.getItemPosition(),justifyCSSVariable:"--n-menu-heading-justify-content",horizontalScrollStatus:this.getHorizontalScrollSetting()};(0,r.setHorizontalScrollAlignment)(e)}getPropsThatTriggerContentPositionCalculations(){return["content_horizontal_position","content_position","item_position_horizontal","content_width","item_layout"]}activeContainerWidthListener(e){let t=0;this.observedContainer=new ResizeObserver((e=>{const n=e[0].borderBoxSize?.[0].inlineSize;n&&n!==t&&(t=n,0!==t&&this.handleContentContainerPosition())})),this.observedContainer.observe(e[0])}menuToggleVisibilityListener(e){let t;this.observedContainer=new ResizeObserver((e=>{const n=e[0].borderBoxSize?.[0].inlineSize;n!==t&&(t=n,this.setLayoutType())})),this.observedContainer.observe(e[0])}onElementChange(e){this.getPropsThatTriggerContentPositionCalculations().includes(e)&&this.handleContentContainerPosition(),this.setLayoutType()}onEditSettingsChange(e,t){this.getSettings().autoFocus&&"activeItemIndex"===e&&this.changeActiveTab(t,!1),this.setLayoutType()}setLayoutType(){const e="none"===this.elements.$dropdownMenuToggle.css("display")?"horizontal":"dropdown";this.elements.$widgetContainer.attr("data-layout",e)}getHeadingEvents(){const e=this.elements.$headingContainer[0];return{mousedown:this.changeScrollStatusAndDispatch.bind(this,e),mouseup:this.changeScrollStatusAndDispatch.bind(this,e),mouseleave:this.changeScrollStatusAndDispatch.bind(this,e),mousemove:this.setHorizontalTitleScrollValuesAndDispatch.bind(this,e)}}getHorizontalScrollSetting(){const e=elementorFrontend.getCurrentDeviceMode();return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),"horizontal_scroll","",e)}getItemPosition(){const e=elementorFrontend.getCurrentDeviceMode();return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),"item_position_horizontal","",e)}changeScrollStatusAndDispatch(e,t){(0,r.changeScrollStatus)(e,t),elementorFrontend.elements.$window.trigger("elementor-pro/mega-menu/heading-mouse-event")}setHorizontalTitleScrollValuesAndDispatch(e,t){(0,r.setHorizontalTitleScrollValues)(e,this.getHorizontalScrollSetting(),t),elementorFrontend.elements.$window.trigger("elementor-pro/mega-menu/heading-mouse-event")}linkContainer(e){const{container:t}=e.detail,n=t.model.get("id"),i=String(this.$element.data("id")),o=t.view.$el;n===i&&(this.updateIndexValues(o),this.updateListeners(o))}updateIndexValues(e){const{selectors:{directTabTitle:t,directTabContent:n}}=this.getDefaultSettings(),i=e[0],o=i.querySelectorAll(n),s=i.querySelectorAll(t),r=this.getSettings(),l=s[0].getAttribute("id").slice(0,-1);s.forEach(((e,t)=>{const n=t+1,i=l+n,s=i.replace("e-n-menu-title-","e-n-menu-content-"),a=i.replace("e-n-menu-title-","e-n-menu-dropdown-icon-");e.setAttribute("id",i),e.querySelector(r.selectors.tabDropdown)?.setAttribute("data-tab-index",n),e.querySelector(r.selectors.tabDropdown)?.setAttribute("id",a),e.querySelector(r.selectors.tabDropdown)?.setAttribute("aria-controls",s),e.querySelector(r.selectors.tabTitleText)?.setAttribute("data-binding-index",n),o[t]?.setAttribute("aria-labelledby",a),o[t]?.setAttribute("data-tab-index",n),o[t]?.setAttribute("id",s)}))}updateListeners(e){const{selectors:{tabClickableTitle:t,tabDropdown:n,tabContent:i,tabTitle:o}}=this.getSettings(),s=e.find(o),r=e.find(t);this.elements.$tabTitles=e.find(t),this.elements.$tabDropdowns=e.find(n),this.elements.$tabContents=e.find(i),s.off(),r.on(this.getTabEvents()),this.clickInProgress=!1}changeMegaMenuTitleContainerTag(e){const{element:t,actionName:n,value:i}=e.detail,o=t.parentNode,s=o.parentNode,r=this.maybeCreateNewElement(o,i),l=this.maybeReplaceMenuItemTitleContent(o,r,s),a=t.dataset?.currentUrl||null;this.maybeUpdateNewElementsHref(i,l),this.eCurrentClassHandler(n,s,a===i)}maybeReplaceMenuItemTitleContent(e,t,n){return t?(Array.from(e.attributes).forEach((e=>{t.setAttribute(e.name,e.value)})),"A"===t.tagName?t.classList.add("e-link","e-focus"):"DIV"===t.tagName&&t.classList.remove("e-link","e-focus"),t.innerHTML=e.innerHTML,n.replaceChild(t,e),t):e}maybeCreateNewElement(e,t){return t?t&&"DIV"===e.tagName?document.createElement("a"):void 0:document.createElement("div")}maybeUpdateNewElementsHref(e,t){e?t.setAttribute("href",e):t.removeAttribute("href")}eCurrentClassHandler(e,t,n){const i=this.getSettings(),{classes:{activeAnchorItem:o},postUrl:s,internalUrl:r}=i;switch(e){case s:t.classList.add(o);break;case r:n?t.classList.add(o):t.classList.remove(o);break;default:t.classList.contains(o)&&s!==e&&t.classList.remove(o)}}setTouchMode(){const e=this.getSettings("selectors").widgetContainer;if(elementorFrontend.isEditMode()||"resize"===event?.type){const t=["mobile","mobile_extra","tablet","tablet_extra"],n=elementorFrontend.getCurrentDeviceMode();if(-1!==t.indexOf(n))return void this.$element.find(e).attr("data-touch-mode","true")}else if("ontouchstart"in window)return void this.$element.find(e).attr("data-touch-mode","true");this.$element.find(e).attr("data-touch-mode","false")}getTabsDirection(){const e=elementorFrontend.getCurrentDeviceMode();return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),"tabs_justify_horizontal","",e)}getHorizontalScrollingSettings(){return{element:this.elements.$headingContainer[0],direction:this.getTabsDirection(),justifyCSSVariable:"--n-tabs-heading-justify-content",horizontalScrollStatus:this.getHorizontalScrollSetting()}}}t.default=MegaMenu},166:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isMenuInDropdownMode=function isMenuInDropdownMode(e){if("dropdown"===e.item_layout)return!0;const t=elementorFrontend.breakpoints.getActiveBreakpointsList({withDesktop:!0}),n=t.indexOf(e.breakpoint_selector);return t.indexOf(elementorFrontend.getCurrentDeviceMode())<=n}}}]);
[+]
..
[-] 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]