!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof module&&"object"==typeof module.exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){function b(b){var i=".smartmenus_mouse";if(h||b)h&&b&&(a(document).off(i),h=!1);else{var j=!0,k=null,l={mousemove:function(b){var c={x:b.pageX,y:b.pageY,timeStamp:(new Date).getTime()};if(k){var d=Math.abs(k.x-c.x),g=Math.abs(k.y-c.y);if((d>0||g>0)&&d<=4&&g<=4&&c.timeStamp-k.timeStamp<=300&&(f=!0,j)){var h=a(b.target).closest("a");h.is("a")&&a.each(e,function(){if(a.contains(this.$root[0],h[0]))return this.itemEnter({currentTarget:h[0]}),!1}),j=!1}}k=c}};l[g?"touchstart":"pointerover pointermove pointerout MSPointerOver MSPointerMove MSPointerOut"]=function(a){c(a.originalEvent)&&(f=!1)},a(document).on(d(l,i)),h=!0}}function c(a){return!/^(4|mouse)$/.test(a.pointerType)}function d(a,b){b||(b="");var c={};for(var d in a)c[d.split(" ").join(b+" ")+b]=a[d];return c}var e=[],f=!1,g="ontouchstart"in window,h=!1,i=window.requestAnimationFrame||function(a){return setTimeout(a,1e3/60)},j=window.cancelAnimationFrame||function(a){clearTimeout(a)},k=!!a.fn.animate;return a.SmartMenus=function(b,c){this.$root=a(b),this.opts=c,this.rootId="",this.accessIdPrefix="",this.$subArrow=null,this.activatedItems=[],this.visibleSubMenus=[],this.showTimeout=0,this.hideTimeout=0,this.scrollTimeout=0,this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.idInc=0,this.$firstLink=null,this.$firstSub=null,this.disabled=!1,this.$disableOverlay=null,this.$touchScrollingSub=null,this.cssTransforms3d="perspective"in b.style||"webkitPerspective"in b.style,this.wasCollapsible=!1,this.init()},a.extend(a.SmartMenus,{hideAll:function(){a.each(e,function(){this.menuHideAll()})},destroy:function(){for(;e.length;)e[0].destroy();b(!0)},prototype:{init:function(c){var f=this;if(!c){e.push(this),this.rootId=((new Date).getTime()+Math.random()+"").replace(/\D/g,""),this.accessIdPrefix="sm-"+this.rootId+"-",this.$root.hasClass("sm-rtl")&&(this.opts.rightToLeftSubMenus=!0);var g=".smartmenus";this.$root.data("smartmenus",this).attr("data-smartmenus-id",this.rootId).dataSM("level",1).on(d({"mouseover focusin":a.proxy(this.rootOver,this),"mouseout focusout":a.proxy(this.rootOut,this),keydown:a.proxy(this.rootKeyDown,this)},g)).on(d({mouseenter:a.proxy(this.itemEnter,this),mouseleave:a.proxy(this.itemLeave,this),mousedown:a.proxy(this.itemDown,this),focus:a.proxy(this.itemFocus,this),blur:a.proxy(this.itemBlur,this),click:a.proxy(this.itemClick,this)},g),"a"),g+=this.rootId,this.opts.hideOnClick&&a(document).on(d({touchstart:a.proxy(this.docTouchStart,this),touchmove:a.proxy(this.docTouchMove,this),touchend:a.proxy(this.docTouchEnd,this),click:a.proxy(this.docClick,this)},g)),a(window).on(d({"resize orientationchange":a.proxy(this.winResize,this)},g)),this.opts.subIndicators&&(this.$subArrow=a("<span/>").addClass("sub-arrow"),this.opts.subIndicatorsText&&this.$subArrow.html(this.opts.subIndicatorsText)),b()}if(this.$firstSub=this.$root.find("ul").each(function(){f.menuInit(a(this))}).eq(0),this.$firstLink=this.$root.find("a").eq(0),this.opts.markCurrentItem){var h=/(index|default)\.[^#\?\/]*/i,i=/#.*/,j=window.location.href.replace(h,""),k=j.replace(i,"");this.$root.find("a:not(.mega-menu a)").each(function(){var b=this.href.replace(h,""),c=a(this);b!=j&&b!=k||(c.addClass("current"),f.opts.markCurrentTree&&c.parentsUntil("[data-smartmenus-id]","ul").each(function(){a(this).dataSM("parent-a").addClass("current")}))})}this.wasCollapsible=this.isCollapsible()},destroy:function(b){if(!b){var c=".smartmenus";this.$root.removeData("smartmenus").removeAttr("data-smartmenus-id").removeDataSM("level").off(c),c+=this.rootId,a(document).off(c),a(window).off(c),this.opts.subIndicators&&(this.$subArrow=null)}this.menuHideAll();var d=this;this.$root.find("ul").each(function(){var b=a(this);b.dataSM("scroll-arrows")&&b.dataSM("scroll-arrows").remove(),b.dataSM("shown-before")&&((d.opts.subMenusMinWidth||d.opts.subMenusMaxWidth)&&b.css({width:"",minWidth:"",maxWidth:""}).removeClass("sm-nowrap"),b.dataSM("scroll-arrows")&&b.dataSM("scroll-arrows").remove(),b.css({zIndex:"",top:"",left:"",marginLeft:"",marginTop:"",display:""})),0==(b.attr("id")||"").indexOf(d.accessIdPrefix)&&b.removeAttr("id")}).removeDataSM("in-mega").removeDataSM("shown-before").removeDataSM("scroll-arrows").removeDataSM("parent-a").removeDataSM("level").removeDataSM("beforefirstshowfired").removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeAttr("aria-expanded"),this.$root.find("a.has-submenu").each(function(){var b=a(this);0==b.attr("id").indexOf(d.accessIdPrefix)&&b.removeAttr("id")}).removeClass("has-submenu").removeDataSM("sub").removeAttr("aria-haspopup").removeAttr("aria-controls").removeAttr("aria-expanded").closest("li").removeDataSM("sub"),this.opts.subIndicators&&this.$root.find("span.sub-arrow").remove(),this.opts.markCurrentItem&&this.$root.find("a.current").removeClass("current"),b||(this.$root=null,this.$firstLink=null,this.$firstSub=null,this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),e.splice(a.inArray(this,e),1))},disable:function(b){if(!this.disabled){if(this.menuHideAll(),!b&&!this.opts.isPopup&&this.$root.is(":visible")){var c=this.$root.offset();this.$disableOverlay=a('<div class="sm-jquery-disable-overlay"/>').css({position:"absolute",top:c.top,left:c.left,width:this.$root.outerWidth(),height:this.$root.outerHeight(),zIndex:this.getStartZIndex(!0),opacity:0}).appendTo(document.body)}this.disabled=!0}},docClick:function(b){return this.$touchScrollingSub?void(this.$touchScrollingSub=null):void((this.visibleSubMenus.length&&!a.contains(this.$root[0],b.target)||a(b.target).closest("a").length)&&this.menuHideAll())},docTouchEnd:function(b){if(this.lastTouch){if(this.visibleSubMenus.length&&(void 0===this.lastTouch.x2||this.lastTouch.x1==this.lastTouch.x2)&&(void 0===this.lastTouch.y2||this.lastTouch.y1==this.lastTouch.y2)&&(!this.lastTouch.target||!a.contains(this.$root[0],this.lastTouch.target))){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var c=this;this.hideTimeout=setTimeout(function(){c.menuHideAll()},350)}this.lastTouch=null}},docTouchMove:function(a){if(this.lastTouch){var b=a.originalEvent.touches[0];this.lastTouch.x2=b.pageX,this.lastTouch.y2=b.pageY}},docTouchStart:function(a){var b=a.originalEvent.touches[0];this.lastTouch={x1:b.pageX,y1:b.pageY,target:b.target}},enable:function(){this.disabled&&(this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),this.disabled=!1)},getClosestMenu:function(b){for(var c=a(b).closest("ul");c.dataSM("in-mega");)c=c.parent().closest("ul");return c[0]||null},getHeight:function(a){return this.getOffset(a,!0)},getOffset:function(a,b){var c;"none"==a.css("display")&&(c={position:a[0].style.position,visibility:a[0].style.visibility},a.css({position:"absolute",visibility:"hidden"}).show());var d=a[0].getBoundingClientRect&&a[0].getBoundingClientRect(),e=d&&(b?d.height||d.bottom-d.top:d.width||d.right-d.left);return e||0===e||(e=b?a[0].offsetHeight:a[0].offsetWidth),c&&a.hide().css(c),e},getStartZIndex:function(a){var b=parseInt(this[a?"$root":"$firstSub"].css("z-index"));return!a&&isNaN(b)&&(b=parseInt(this.$root.css("z-index"))),isNaN(b)?1:b},getTouchPoint:function(a){return a.touches&&a.touches[0]||a.changedTouches&&a.changedTouches[0]||a},getViewport:function(a){var b=a?"Height":"Width",c=document.documentElement["client"+b],d=window["inner"+b];return d&&(c=Math.min(c,d)),c},getViewportHeight:function(){return this.getViewport(!0)},getViewportWidth:function(){return this.getViewport()},getWidth:function(a){return this.getOffset(a)},handleEvents:function(){return!this.disabled&&this.isCSSOn()},handleItemEvents:function(a){return this.handleEvents()&&!this.isLinkInMegaMenu(a)},isCollapsible:function(){return"static"==this.$firstSub.css("position")},isCSSOn:function(){return"inline"!=this.$firstLink.css("display")},isFixed:function(){var b="fixed"==this.$root.css("position");return b||this.$root.parentsUntil("body").each(function(){if("fixed"==a(this).css("position"))return b=!0,!1}),b},isLinkInMegaMenu:function(b){return a(this.getClosestMenu(b[0])).hasClass("mega-menu")},isTouchMode:function(){return!f||this.opts.noMouseOver||this.isCollapsible()},itemActivate:function(b,c){var d=b.closest("ul"),e=d.dataSM("level");if(e>1&&(!this.activatedItems[e-2]||this.activatedItems[e-2][0]!=d.dataSM("parent-a")[0])){var f=this;a(d.parentsUntil("[data-smartmenus-id]","ul").get().reverse()).add(d).each(function(){f.itemActivate(a(this).dataSM("parent-a"))})}if(this.isCollapsible()&&!c||this.menuHideSubMenus(this.activatedItems[e-1]&&this.activatedItems[e-1][0]==b[0]?e:e-1),this.activatedItems[e-1]=b,this.$root.triggerHandler("activate.smapi",b[0])!==!1){var g=b.dataSM("sub");g&&(this.isTouchMode()||!this.opts.showOnClick||this.clickActivated)&&this.menuShow(g)}},itemBlur:function(b){var c=a(b.currentTarget);this.handleItemEvents(c)&&this.$root.triggerHandler("blur.smapi",c[0])},itemClick:function(b){var c=a(b.currentTarget);if(this.handleItemEvents(c)){if(this.$touchScrollingSub&&this.$touchScrollingSub[0]==c.closest("ul")[0])return this.$touchScrollingSub=null,b.stopPropagation(),!1;if(this.$root.triggerHandler("click.smapi",c[0])===!1)return!1;var d=c.dataSM("sub"),e=!!d&&2==d.dataSM("level");if(d){var f=a(b.target).is(".sub-arrow"),g=this.isCollapsible(),h=/toggle$/.test(this.opts.collapsibleBehavior),i=/link$/.test(this.opts.collapsibleBehavior),j=/^accordion/.test(this.opts.collapsibleBehavior);if(d.is(":visible")){if(!g&&this.opts.showOnClick&&e)return this.menuHide(d),this.clickActivated=!1,this.focusActivated=!1,!1;if(g&&(h||f))return this.itemActivate(c,j),this.menuHide(d),!1}else if((!i||!g||f)&&(!g&&this.opts.showOnClick&&e&&(this.clickActivated=!0),this.itemActivate(c,j),d.is(":visible")))return this.focusActivated=!0,!1}return!(!g&&this.opts.showOnClick&&e||c.hasClass("disabled")||this.$root.triggerHandler("select.smapi",c[0])===!1)&&void 0}},itemDown:function(b){var c=a(b.currentTarget);this.handleItemEvents(c)&&c.dataSM("mousedown",!0)},itemEnter:function(b){var c=a(b.currentTarget);if(this.handleItemEvents(c)){if(!this.isTouchMode()){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);var d=this;this.showTimeout=setTimeout(function(){d.itemActivate(c)},this.opts.showOnClick&&1==c.closest("ul").dataSM("level")?1:this.opts.showTimeout)}this.$root.triggerHandler("mouseenter.smapi",c[0])}},itemFocus:function(b){var c=a(b.currentTarget);this.handleItemEvents(c)&&(!this.focusActivated||this.isTouchMode()&&c.dataSM("mousedown")||this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0]==c[0]||this.itemActivate(c,!0),this.$root.triggerHandler("focus.smapi",c[0]))},itemLeave:function(b){var c=a(b.currentTarget);this.handleItemEvents(c)&&(this.isTouchMode()||(c[0].blur(),this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0)),c.removeDataSM("mousedown"),this.$root.triggerHandler("mouseleave.smapi",c[0]))},menuHide:function(b){if(this.$root.triggerHandler("beforehide.smapi",b[0])!==!1&&(k&&b.stop(!0,!0),"none"!=b.css("display"))){var c=function(){b.css("z-index","")};this.isCollapsible()?k&&this.opts.collapsibleHideFunction?this.opts.collapsibleHideFunction.call(this,b,c):b.hide(this.opts.collapsibleHideDuration,c):k&&this.opts.hideFunction?this.opts.hideFunction.call(this,b,c):b.hide(this.opts.hideDuration,c),b.dataSM("scroll")&&(this.menuScrollStop(b),b.css({"touch-action":"","-ms-touch-action":"","-webkit-transform":"",transform:""}).off(".smartmenus_scroll").removeDataSM("scroll").dataSM("scroll-arrows").hide()),b.dataSM("parent-a").removeClass("highlighted").attr("aria-expanded","false"),b.attr({"aria-expanded":"false","aria-hidden":"true"});var d=b.dataSM("level");this.activatedItems.splice(d-1,1),this.visibleSubMenus.splice(a.inArray(b,this.visibleSubMenus),1),this.$root.triggerHandler("hide.smapi",b[0])}},menuHideAll:function(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);for(var a=this.opts.isPopup?1:0,b=this.visibleSubMenus.length-1;b>=a;b--)this.menuHide(this.visibleSubMenus[b]);this.opts.isPopup&&(k&&this.$root.stop(!0,!0),this.$root.is(":visible")&&(k&&this.opts.hideFunction?this.opts.hideFunction.call(this,this.$root):this.$root.hide(this.opts.hideDuration))),this.activatedItems=[],this.visibleSubMenus=[],this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.$root.triggerHandler("hideAll.smapi")},menuHideSubMenus:function(a){for(var b=this.activatedItems.length-1;b>=a;b--){var c=this.activatedItems[b].dataSM("sub");c&&this.menuHide(c)}},menuInit:function(a){if(!a.dataSM("in-mega")){a.hasClass("mega-menu")&&a.find("ul").dataSM("in-mega",!0);for(var b=2,c=a[0];(c=c.parentNode.parentNode)!=this.$root[0];)b++;var d=a.prevAll("a").eq(-1);d.length||(d=a.prevAll().find("a").eq(-1)),d.addClass("has-submenu").dataSM("sub",a),a.dataSM("parent-a",d).dataSM("level",b).parent().dataSM("sub",a);var e=d.attr("id")||this.accessIdPrefix+ ++this.idInc,f=a.attr("id")||this.accessIdPrefix+ ++this.idInc;d.attr({id:e,"aria-haspopup":"true","aria-controls":f,"aria-expanded":"false"}),a.attr({id:f,role:"group","aria-hidden":"true","aria-labelledby":e,"aria-expanded":"false"}),this.opts.subIndicators&&d[this.opts.subIndicatorsPos](this.$subArrow.clone())}},menuPosition:function(b){var c,e,f=b.dataSM("parent-a"),h=f.closest("li"),i=h.parent(),j=b.dataSM("level"),k=this.getWidth(b),l=this.getHeight(b),m=f.offset(),n=m.left,o=m.top,p=this.getWidth(f),q=this.getHeight(f),r=a(window),s=r.scrollLeft(),t=r.scrollTop(),u=this.getViewportWidth(),v=this.getViewportHeight(),w=i.parent().is("[data-sm-horizontal-sub]")||2==j&&!i.hasClass("sm-vertical"),x=this.opts.rightToLeftSubMenus&&!h.is("[data-sm-reverse]")||!this.opts.rightToLeftSubMenus&&h.is("[data-sm-reverse]"),y=2==j?this.opts.mainMenuSubOffsetX:this.opts.subMenusSubOffsetX,z=2==j?this.opts.mainMenuSubOffsetY:this.opts.subMenusSubOffsetY;if(w?(c=x?p-k-y:y,e=this.opts.bottomToTopSubMenus?-l-z:q+z):(c=x?y-k:p-y,e=this.opts.bottomToTopSubMenus?q-z-l:z),this.opts.keepInViewport){var A=n+c,B=o+e;if(x&&A<s?c=w?s-A+c:p-y:!x&&A+k>s+u&&(c=w?s+u-k-A+c:y-k),w||(l<v&&B+l>t+v?e+=t+v-l-B:(l>=v||B<t)&&(e+=t-B)),w&&(B+l>t+v+.49||B<t)||!w&&l>v+.49){var C=this;b.dataSM("scroll-arrows")||b.dataSM("scroll-arrows",a([a('<span class="scroll-up"><span class="scroll-up-arrow"></span></span>')[0],a('<span class="scroll-down"><span class="scroll-down-arrow"></span></span>')[0]]).on({mouseenter:function(){b.dataSM("scroll").up=a(this).hasClass("scroll-up"),C.menuScroll(b)},mouseleave:function(a){C.menuScrollStop(b),C.menuScrollOut(b,a)},"mousewheel DOMMouseScroll":function(a){a.preventDefault()}}).insertAfter(b));var D=".smartmenus_scroll";if(b.dataSM("scroll",{y:this.cssTransforms3d?0:e-q,step:1,itemH:q,subH:l,arrowDownH:this.getHeight(b.dataSM("scroll-arrows").eq(1))}).on(d({mouseover:function(a){C.menuScrollOver(b,a)},mouseout:function(a){C.menuScrollOut(b,a)},"mousewheel DOMMouseScroll":function(a){C.menuScrollMousewheel(b,a)}},D)).dataSM("scroll-arrows").css({top:"auto",left:"0",marginLeft:c+(parseInt(b.css("border-left-width"))||0),width:k-(parseInt(b.css("border-left-width"))||0)-(parseInt(b.css("border-right-width"))||0),zIndex:b.css("z-index")}).eq(w&&this.opts.bottomToTopSubMenus?0:1).show(),this.isFixed()){var E={};E[g?"touchstart touchmove touchend":"pointerdown pointermove pointerup MSPointerDown MSPointerMove MSPointerUp"]=function(a){C.menuScrollTouch(b,a)},b.css({"touch-action":"none","-ms-touch-action":"none"}).on(d(E,D))}}}b.css({top:"auto",left:"0",marginLeft:c,marginTop:e-q})},menuScroll:function(a,b,c){var d,e=a.dataSM("scroll"),g=a.dataSM("scroll-arrows"),h=e.up?e.upEnd:e.downEnd;if(!b&&e.momentum){if(e.momentum*=.92,d=e.momentum,d<.5)return void this.menuScrollStop(a)}else d=c||(b||!this.opts.scrollAccelerate?this.opts.scrollStep:Math.floor(e.step));var j=a.dataSM("level");if(this.activatedItems[j-1]&&this.activatedItems[j-1].dataSM("sub")&&this.activatedItems[j-1].dataSM("sub").is(":visible")&&this.menuHideSubMenus(j-1),e.y=e.up&&h<=e.y||!e.up&&h>=e.y?e.y:Math.abs(h-e.y)>d?e.y+(e.up?d:-d):h,a.css(this.cssTransforms3d?{"-webkit-transform":"translate3d(0, "+e.y+"px, 0)",transform:"translate3d(0, "+e.y+"px, 0)"}:{marginTop:e.y}),f&&(e.up&&e.y>e.downEnd||!e.up&&e.y<e.upEnd)&&g.eq(e.up?1:0).show(),e.y==h)f&&g.eq(e.up?0:1).hide(),this.menuScrollStop(a);else if(!b){this.opts.scrollAccelerate&&e.step<this.opts.scrollStep&&(e.step+=.2);var k=this;this.scrollTimeout=i(function(){k.menuScroll(a)})}},menuScrollMousewheel:function(a,b){if(this.getClosestMenu(b.target)==a[0]){b=b.originalEvent;var c=(b.wheelDelta||-b.detail)>0;a.dataSM("scroll-arrows").eq(c?0:1).is(":visible")&&(a.dataSM("scroll").up=c,this.menuScroll(a,!0))}b.preventDefault()},menuScrollOut:function(b,c){f&&(/^scroll-(up|down)/.test((c.relatedTarget||"").className)||(b[0]==c.relatedTarget||a.contains(b[0],c.relatedTarget))&&this.getClosestMenu(c.relatedTarget)==b[0]||b.dataSM("scroll-arrows").css("visibility","hidden"))},menuScrollOver:function(b,c){if(f&&!/^scroll-(up|down)/.test(c.target.className)&&this.getClosestMenu(c.target)==b[0]){this.menuScrollRefreshData(b);var d=b.dataSM("scroll"),e=a(window).scrollTop()-b.dataSM("parent-a").offset().top-d.itemH;b.dataSM("scroll-arrows").eq(0).css("margin-top",e).end().eq(1).css("margin-top",e+this.getViewportHeight()-d.arrowDownH).end().css("visibility","visible")}},menuScrollRefreshData:function(b){var c=b.dataSM("scroll"),d=a(window).scrollTop()-b.dataSM("parent-a").offset().top-c.itemH;this.cssTransforms3d&&(d=-(parseFloat(b.css("margin-top"))-d)),a.extend(c,{upEnd:d,downEnd:d+this.getViewportHeight()-c.subH})},menuScrollStop:function(a){if(this.scrollTimeout)return j(this.scrollTimeout),this.scrollTimeout=0,a.dataSM("scroll").step=1,!0},menuScrollTouch:function(b,d){if(d=d.originalEvent,c(d)){var e=this.getTouchPoint(d);if(this.getClosestMenu(e.target)==b[0]){var f=b.dataSM("scroll");if(/(start|down)$/i.test(d.type))this.menuScrollStop(b)?(d.preventDefault(),this.$touchScrollingSub=b):this.$touchScrollingSub=null,this.menuScrollRefreshData(b),a.extend(f,{touchStartY:e.pageY,touchStartTime:d.timeStamp});else if(/move$/i.test(d.type)){var g=void 0!==f.touchY?f.touchY:f.touchStartY;if(void 0!==g&&g!=e.pageY){this.$touchScrollingSub=b;var h=g<e.pageY;void 0!==f.up&&f.up!=h&&a.extend(f,{touchStartY:e.pageY,touchStartTime:d.timeStamp}),a.extend(f,{up:h,touchY:e.pageY}),this.menuScroll(b,!0,Math.abs(e.pageY-g))}d.preventDefault()}else void 0!==f.touchY&&((f.momentum=15*Math.pow(Math.abs(e.pageY-f.touchStartY)/(d.timeStamp-f.touchStartTime),2))&&(this.menuScrollStop(b),this.menuScroll(b),d.preventDefault()),delete f.touchY)}}},menuShow:function(a){if((a.dataSM("beforefirstshowfired")||(a.dataSM("beforefirstshowfired",!0),this.$root.triggerHandler("beforefirstshow.smapi",a[0])!==!1))&&this.$root.triggerHandler("beforeshow.smapi",a[0])!==!1&&(a.dataSM("shown-before",!0),k&&a.stop(!0,!0),!a.is(":visible"))){var b=a.dataSM("parent-a"),c=this.isCollapsible();if((this.opts.keepHighlighted||c)&&b.addClass("highlighted"),c)a.removeClass("sm-nowrap").css({zIndex:"",width:"auto",minWidth:"",maxWidth:"",top:"",left:"",marginLeft:"",marginTop:""});else{if(a.css("z-index",this.zIndexInc=(this.zIndexInc||this.getStartZIndex())+1),(this.opts.subMenusMinWidth||this.opts.subMenusMaxWidth)&&(a.css({width:"auto",minWidth:"",maxWidth:""}).addClass("sm-nowrap"),this.opts.subMenusMinWidth&&a.css("min-width",this.opts.subMenusMinWidth),this.opts.subMenusMaxWidth)){var d=this.getWidth(a);a.css("max-width",this.opts.subMenusMaxWidth),d>this.getWidth(a)&&a.removeClass("sm-nowrap").css("width",this.opts.subMenusMaxWidth)}this.menuPosition(a)}var e=function(){a.css("overflow","")};c?k&&this.opts.collapsibleShowFunction?this.opts.collapsibleShowFunction.call(this,a,e):a.show(this.opts.collapsibleShowDuration,e):k&&this.opts.showFunction?this.opts.showFunction.call(this,a,e):a.show(this.opts.showDuration,e),b.attr("aria-expanded","true"),a.attr({"aria-expanded":"true","aria-hidden":"false"}),this.visibleSubMenus.push(a),this.$root.triggerHandler("show.smapi",a[0])}},popupHide:function(a){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var b=this;this.hideTimeout=setTimeout(function(){b.menuHideAll()},a?1:this.opts.hideTimeout)},popupShow:function(a,b){if(!this.opts.isPopup)return void alert('SmartMenus jQuery Error:\n\nIf you want to show this menu via the "popupShow" method, set the isPopup:true option.');if(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),this.$root.dataSM("shown-before",!0),k&&this.$root.stop(!0,!0),!this.$root.is(":visible")){this.$root.css({left:a,top:b});var c=this,d=function(){c.$root.css("overflow","")};k&&this.opts.showFunction?this.opts.showFunction.call(this,this.$root,d):this.$root.show(this.opts.showDuration,d),this.visibleSubMenus[0]=this.$root}},refresh:function(){this.destroy(!0),this.init(!0)},rootKeyDown:function(b){if(this.handleEvents())switch(b.keyCode){case 27:var c=this.activatedItems[0];if(c){this.menuHideAll(),c[0].focus();var d=c.dataSM("sub");d&&this.menuHide(d)}break;case 32:var e=a(b.target);if(e.is("a")&&this.handleItemEvents(e)){var d=e.dataSM("sub");d&&!d.is(":visible")&&(this.itemClick({currentTarget:b.target}),b.preventDefault())}}},rootOut:function(a){if(this.handleEvents()&&!this.isTouchMode()&&a.target!=this.$root[0]&&(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),!this.opts.showOnClick||!this.opts.hideOnClick)){var b=this;this.hideTimeout=setTimeout(function(){b.menuHideAll()},this.opts.hideTimeout)}},rootOver:function(a){this.handleEvents()&&!this.isTouchMode()&&a.target!=this.$root[0]&&this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0)},winResize:function(a){if(this.handleEvents()){if(!("onorientationchange"in window)||"orientationchange"==a.type){var b=this.isCollapsible();this.wasCollapsible&&b||(this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0].blur(),this.menuHideAll()),this.wasCollapsible=b}}else if(this.$disableOverlay){var c=this.$root.offset();this.$disableOverlay.css({top:c.top,left:c.left,width:this.$root.outerWidth(),height:this.$root.outerHeight()})}}}}),a.fn.dataSM=function(a,b){return b?this.data(a+"_smartmenus",b):this.data(a+"_smartmenus")},a.fn.removeDataSM=function(a){return this.removeData(a+"_smartmenus")},a.fn.smartmenus=function(b){if("string"==typeof b){var c=arguments,d=b;return Array.prototype.shift.call(c),this.each(function(){var b=a(this).data("smartmenus");b&&b[d]&&b[d].apply(b,c)})}return this.each(function(){var c=a(this).data("sm-options")||null;c&&"object"!=typeof c&&(c=null,alert('ERROR\n\nSmartMenus jQuery init:\nThe value of the "data-sm-options" attribute must be valid JSON.')),c&&a.each(["showFunction","hideFunction","collapsibleShowFunction","collapsibleHideFunction"],function(){this in c&&delete c[this]}),new a.SmartMenus(this,a.extend({},a.fn.smartmenus.defaults,b,c))})},a.fn.smartmenus.defaults={isPopup:!1,mainMenuSubOffsetX:0,mainMenuSubOffsetY:0,subMenusSubOffsetX:0,subMenusSubOffsetY:0,subMenusMinWidth:"10em",subMenusMaxWidth:"20em",subIndicators:!0,subIndicatorsPos:"append",subIndicatorsText:"",scrollStep:30,scrollAccelerate:!0,showTimeout:250,hideTimeout:500,showDuration:0,showFunction:null,hideDuration:0,hideFunction:function(a,b){a.fadeOut(200,b)},collapsibleShowDuration:0,collapsibleShowFunction:function(a,b){a.slideDown(200,b)},collapsibleHideDuration:0,collapsibleHideFunction:function(a,b){a.slideUp(200,b)},showOnClick:!1,hideOnClick:!0,noMouseOver:!1,keepInViewport:!0,keepHighlighted:!0,markCurrentItem:!1,markCurrentTree:!0,rightToLeftSubMenus:!1,bottomToTopSubMenus:!1,collapsibleBehavior:"default"},a});
!function(t){var o=function(o,s){var i,e,n,r,a=!1,c=!1,f=!1,p={},l={to:"top",offset:0,effectsOffset:0,parent:!1,classes:{sticky:"sticky",stickyActive:"sticky-active",stickyEffects:"sticky-effects",spacer:"sticky-spacer"},isRTL:!1,handleScrollbarWidth:!1},d=function(t,o,s){var i={},e=t[0].style;s.forEach((function(t){i[t]=void 0!==e[t]?e[t]:""})),t.data("css-backup-"+o,i)},m=function(t,o){return t.data("css-backup-"+o)};const u=()=>{if(r=b(i,"width"),n=i.offset().left,e.isRTL){const t=e.handleScrollbarWidth?window.innerWidth:document.body.offsetWidth;n=Math.max(t-r-n,0)}};var h=function(){p.$spacer=i.clone().addClass(e.classes.spacer).css({visibility:"hidden",transition:"none",animation:"none"}),i.after(p.$spacer)},y=function(){p.$spacer.remove()},k=function(){d(i,"unsticky",["position","width","margin-top","margin-bottom","top","bottom","inset-inline-start"]);const t={position:"fixed",width:r,marginTop:0,marginBottom:0};t[e.to]=e.offset,t["top"===e.to?"bottom":"top"]="",n&&(t["inset-inline-start"]=n+"px"),i.css(t).addClass(e.classes.stickyActive)},v=function(){i.css(m(i,"unsticky")).removeClass(e.classes.stickyActive)},b=function(t,o,s){var i=getComputedStyle(t[0]),e=parseFloat(i[o]),n="height"===o?["top","bottom"]:["left","right"],r=[];return"border-box"!==i.boxSizing&&r.push("border","padding"),s&&r.push("margin"),r.forEach((function(t){n.forEach((function(o){e+=parseFloat(i[t+"-"+o])}))})),e},w=function(t){var o=p.$window.scrollTop(),s=b(t,"height"),i=innerHeight,e=t.offset().top-o,n=e-i;return{top:{fromTop:e,fromBottom:n},bottom:{fromTop:e+s,fromBottom:n+s}}},g=function(){v(),y(),a=!1,i.trigger("sticky:unstick")},$=function(){var t=w(i),o="top"===e.to;if(c){(o?t.top.fromTop>e.offset:t.bottom.fromBottom<-e.offset)&&(p.$parent.css(m(p.$parent,"childNotFollowing")),i.css(m(i,"notFollowing")),c=!1)}else{var s=w(p.$parent),a=getComputedStyle(p.$parent[0]),f=parseFloat(a[o?"borderBottomWidth":"borderTopWidth"]),l=o?s.bottom.fromTop-f:s.top.fromBottom+f;(o?l<=t.bottom.fromTop:l>=t.top.fromBottom)&&function(){d(p.$parent,"childNotFollowing",["position"]),p.$parent.css("position","relative"),d(i,"notFollowing",["position","inset-inline-start","top","bottom"]);const t={position:"absolute"};if(n=p.$spacer.position().left,e.isRTL){const t=i.parent().outerWidth(),o=p.$spacer.position().left;r=p.$spacer.outerWidth(),n=Math.max(t-r-o,0)}t["inset-inline-start"]=n+"px",t[e.to]="",t["top"===e.to?"bottom":"top"]=0,i.css(t),c=!0}()}},T=function(){var t,o=e.offset;if(a){var s=w(p.$spacer);t="top"===e.to?s.top.fromTop-o:-s.bottom.fromBottom-o,e.parent&&$(),t>0&&g()}else{var n=w(i);(t="top"===e.to?n.top.fromTop-o:-n.bottom.fromBottom-o)<=0&&(u(),h(),k(),a=!0,i.trigger("sticky:stick"),e.parent&&$())}!function(t){f&&-t<e.effectsOffset?(i.removeClass(e.classes.stickyEffects),f=!1):!f&&-t>=e.effectsOffset&&(i.addClass(e.classes.stickyEffects),f=!0)}(t)},B=function(){T()},C=function(){a&&(v(),y(),u(),h(),k(),e.parent&&(c=!1,$()))};this.destroy=function(){a&&g(),p.$window.off("scroll",B).off("resize",C),i.removeClass(e.classes.sticky)},e=jQuery.extend(!0,l,s),i=t(o).addClass(e.classes.sticky),p.$window=t(window),e.parent&&(p.$parent=i.parent(),"parent"!==e.parent&&(p.$parent=p.$parent.closest(e.parent))),p.$window.on({scroll:B,resize:C}),T()};t.fn.sticky=function(s){var i="string"==typeof s;return this.each((function(){var e=t(this);if(i){var n=e.data("sticky");if(!n)throw Error("Trying to perform the `"+s+"` method prior to initialization");if(!n[s])throw ReferenceError("Method `"+s+"` not found in sticky instance");n[s].apply(n,Array.prototype.slice.call(arguments,1)),"destroy"===s&&e.removeData("sticky")}else e.data("sticky",new o(this,s))})),this},window.Sticky=o}(jQuery);
(function(me,ve){typeof exports=="object"&&typeof module<"u"?module.exports=ve():typeof define=="function"&&define.amd?define("uikit",ve):(me=typeof globalThis<"u"?globalThis:me||self,me.bdtUIkit=ve())})(this,function(){"use strict";const{hasOwnProperty:me,toString:ve}=Object.prototype;function pt(t,e){return me.call(t,e)}const Qo=/\B([A-Z])/g,Mt=rt(t=>t.replace(Qo,"-$1").toLowerCase()),tr=/-(\w)/g,we=rt(t=>(t.charAt(0).toLowerCase()+t.slice(1)).replace(tr,(e,i)=>i.toUpperCase())),It=rt(t=>t.charAt(0).toUpperCase()+t.slice(1));function dt(t,e){var i;return(i=t==null?void 0:t.startsWith)==null?void 0:i.call(t,e)}function ee(t,e){var i;return(i=t==null?void 0:t.endsWith)==null?void 0:i.call(t,e)}function m(t,e){var i;return(i=t==null?void 0:t.includes)==null?void 0:i.call(t,e)}function bt(t,e){var i;return(i=t==null?void 0:t.findIndex)==null?void 0:i.call(t,e)}const{isArray:Q,from:Tt}=Array,{assign:gt}=Object;function et(t){return typeof t=="function"}function Ct(t){return t!==null&&typeof t=="object"}function xt(t){return ve.call(t)==="[object Object]"}function ie(t){return Ct(t)&&t===t.window}function be(t){return zi(t)===9}function Qe(t){return zi(t)>=1}function xe(t){return zi(t)===1}function zi(t){return!ie(t)&&Ct(t)&&t.nodeType}function se(t){return typeof t=="boolean"}function N(t){return typeof t=="string"}function $e(t){return typeof t=="number"}function vt(t){return $e(t)||N(t)&&!isNaN(t-parseFloat(t))}function ti(t){return!(Q(t)?t.length:Ct(t)&&Object.keys(t).length)}function G(t){return t===void 0}function Fi(t){return se(t)?t:t==="true"||t==="1"||t===""?!0:t==="false"||t==="0"?!1:t}function $t(t){const e=Number(t);return isNaN(e)?!1:e}function S(t){return parseFloat(t)||0}function F(t){return C(t)[0]}function C(t){return Qe(t)?[t]:Array.from(t||[]).filter(Qe)}function ne(t){if(ie(t))return t;t=F(t);const e=be(t)?t:t==null?void 0:t.ownerDocument;return(e==null?void 0:e.defaultView)||window}function ei(t,e){return t===e||Ct(t)&&Ct(e)&&Object.keys(t).length===Object.keys(e).length&&Nt(t,(i,s)=>i===e[s])}function Hi(t,e,i){return t.replace(new RegExp(`${e}|${i}`,"g"),s=>s===e?i:e)}function Bt(t){return t[t.length-1]}function Nt(t,e){for(const i in t)if(e(t[i],i)===!1)return!1;return!0}function Fs(t,e){return t.slice().sort(({[e]:i=0},{[e]:s=0})=>i>s?1:s>i?-1:0)}function zt(t,e){return t.reduce((i,s)=>i+S(et(e)?e(s):s[e]),0)}function Hs(t,e){const i=new Set;return t.filter(({[e]:s})=>i.has(s)?!1:i.add(s))}function Li(t,e){return e.reduce((i,s)=>({...i,[s]:t[s]}),{})}function tt(t,e=0,i=1){return Math.min(Math.max($t(t)||0,e),i)}function A(){}function Wi(...t){return[["bottom","top"],["right","left"]].every(([e,i])=>Math.min(...t.map(({[e]:s})=>s))-Math.max(...t.map(({[i]:s})=>s))>0)}function ii(t,e){return t.x<=e.right&&t.x>=e.left&&t.y<=e.bottom&&t.y>=e.top}function ji(t,e,i){const s=e==="width"?"height":"width";return{[s]:t[e]?Math.round(i*t[s]/t[e]):t[s],[e]:i}}function Ls(t,e){t={...t};for(const i in t)t=t[i]>e[i]?ji(t,i,e[i]):t;return t}function er(t,e){t=Ls(t,e);for(const i in t)t=t[i]<e[i]?ji(t,i,e[i]):t;return t}const Ri={ratio:ji,contain:Ls,cover:er};function ot(t,e,i=0,s=!1){e=C(e);const{length:n}=e;return n?(t=vt(t)?$t(t):t==="next"?i+1:t==="previous"?i-1:t==="last"?n-1:e.indexOf(F(t)),s?tt(t,0,n-1):(t%=n,t<0?t+n:t)):-1}function rt(t){const e=Object.create(null);return(i,...s)=>e[i]||(e[i]=t(i,...s))}function p(t,e,i){var s;if(Ct(e)){for(const n in e)p(t,n,e[n]);return}if(G(i))return(s=F(t))==null?void 0:s.getAttribute(e);for(const n of C(t))et(i)&&(i=i.call(n,p(n,e))),i===null?ye(n,e):n.setAttribute(e,i)}function yt(t,e){return C(t).some(i=>i.hasAttribute(e))}function ye(t,e){C(t).forEach(i=>i.removeAttribute(e))}function X(t,e){for(const i of[e,`data-${e}`])if(yt(t,i))return p(t,i)}function $(t,...e){for(const i of C(t)){const s=Ft(e).filter(n=>!y(i,n));s.length&&i.classList.add(...s)}}function D(t,...e){for(const i of C(t)){const s=Ft(e).filter(n=>y(i,n));s.length&&i.classList.remove(...s)}}function qi(t,e){e=new RegExp(e);for(const i of C(t))i.classList.remove(...Tt(i.classList).filter(s=>s.match(e)))}function si(t,e,i){i=Ft(i),e=Ft(e).filter(s=>!m(i,s)),D(t,e),$(t,i)}function y(t,e){return[e]=Ft(e),C(t).some(i=>i.classList.contains(e))}function j(t,e,i){const s=Ft(e);G(i)||(i=!!i);for(const n of C(t))for(const o of s)n.classList.toggle(o,i)}function Ft(t){return t?Q(t)?t.map(Ft).flat():String(t).split(/[ ,]/).filter(Boolean):[]}const ir={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};function Ui(t){return C(t).some(e=>ir[e.tagName.toLowerCase()])}function q(t){return C(t).some(e=>e.offsetWidth||e.offsetHeight||e.getClientRects().length)}const ke="input,select,textarea,button";function Vi(t){return C(t).some(e=>E(e,ke))}const Se=`${ke},a[href],[tabindex]`;function ni(t){return E(t,Se)}function P(t){var e;return(e=F(t))==null?void 0:e.parentElement}function Ie(t,e){return C(t).filter(i=>E(i,e))}function E(t,e){return C(t).some(i=>i.matches(e))}function oi(t,e){var i;return(i=F(t))==null?void 0:i.closest(dt(e,">")?e.slice(1):e)}function Ws(t,e){return N(e)?!!oi(t,e):F(e).contains(F(t))}function Te(t,e){const i=[];for(;t=P(t);)(!e||E(t,e))&&i.push(t);return i}function B(t,e){t=F(t);const i=t?Tt(t.children):[];return e?Ie(i,e):i}function Et(t,e){return e?C(t).indexOf(F(e)):B(P(t)).indexOf(t)}function oe(t){return t=F(t),t&&["origin","pathname","search"].every(e=>t[e]===location[e])}function Yi(t){if(oe(t)){t=F(t);const e=decodeURIComponent(t.hash).substring(1);return document.getElementById(e)||document.getElementsByName(e)[0]}}function J(t,e){return Gi(t,Rs(t,e))}function Ce(t,e){return Ee(t,Rs(t,e))}function Gi(t,e){return F(qs(t,F(e),"querySelector"))}function Ee(t,e){return C(qs(t,F(e),"querySelectorAll"))}const sr=/(^|[^\\],)\s*[!>+~-]/,js=rt(t=>t.match(sr));function Rs(t,e=document){return N(t)&&js(t)||be(e)?e:e.ownerDocument}const nr=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,or=rt(t=>t.replace(nr,"$1 *"));function qs(t,e=document,i){if(!t||!N(t))return t;if(t=or(t),js(t)){const s=ar(t);t="";for(let n of s){let o=e;if(n[0]==="!"){const r=n.substr(1).trim().split(" ");if(o=P(e).closest(r[0]),n=r.slice(1).join(" ").trim(),!n.length&&s.length===1)return o}if(n[0]==="-"){const r=n.substr(1).trim().split(" "),a=(o||e).previousElementSibling;o=E(a,n.substr(1))?a:null,n=r.slice(1).join(" ")}o&&(t+=`${t?",":""}${lr(o)} ${n}`)}be(e)||(e=e.ownerDocument)}try{return e[i](t)}catch{return null}}const rr=/.*?[^\\](?![^(]*\))(?:,|$)/g,ar=rt(t=>t.match(rr).map(e=>e.replace(/,$/,"").trim()));function lr(t){const e=[];for(;t.parentNode;){const i=p(t,"id");if(i){e.unshift(`#${Xi(i)}`);break}else{let{tagName:s}=t;s!=="HTML"&&(s+=`:nth-child(${Et(t)+1})`),e.unshift(s),t=t.parentNode}}return e.join(" > ")}function Xi(t){return N(t)?CSS.escape(t):""}function b(...t){let[e,i,s,n,o=!1]=Ji(t);n.length>1&&(n=cr(n)),o!=null&&o.self&&(n=ur(n)),s&&(n=hr(s,n));for(const r of i)for(const a of e)a.addEventListener(r,n,o);return()=>Pt(e,i,n,o)}function Pt(...t){let[e,i,,s,n=!1]=Ji(t);for(const o of i)for(const r of e)r.removeEventListener(o,s,n)}function H(...t){const[e,i,s,n,o=!1,r]=Ji(t),a=b(e,i,s,l=>{const h=!r||r(l);h&&(a(),n(l,h))},o);return a}function g(t,e,i){return Ki(t).every(s=>s.dispatchEvent(Ht(e,!0,!0,i)))}function Ht(t,e=!0,i=!1,s){return N(t)&&(t=new CustomEvent(t,{bubbles:e,cancelable:i,detail:s})),t}function Ji(t){return t[0]=Ki(t[0]),N(t[1])&&(t[1]=t[1].split(" ")),et(t[2])&&t.splice(2,0,!1),t}function hr(t,e){return i=>{const s=t[0]===">"?Ee(t,i.currentTarget).reverse().find(n=>n.contains(i.target)):i.target.closest(t);s&&(i.current=s,e.call(this,i),delete i.current)}}function cr(t){return e=>Q(e.detail)?t(e,...e.detail):t(e)}function ur(t){return function(e){if(e.target===e.currentTarget||e.target===e.current)return t.call(null,e)}}function Us(t){return t&&"addEventListener"in t}function dr(t){return Us(t)?t:F(t)}function Ki(t){return Q(t)?t.map(dr).filter(Boolean):N(t)?Ee(t):Us(t)?[t]:C(t)}function kt(t){return t.pointerType==="touch"||!!t.touches}function _t(t){var e,i;const{clientX:s,clientY:n}=((e=t.touches)==null?void 0:e[0])||((i=t.changedTouches)==null?void 0:i[0])||t;return{x:s,y:n}}const fr={"animation-iteration-count":!0,"column-count":!0,"fill-opacity":!0,"flex-grow":!0,"flex-shrink":!0,"font-weight":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,"stroke-dasharray":!0,"stroke-dashoffset":!0,widows:!0,"z-index":!0,zoom:!0};function c(t,e,i,s){const n=C(t);for(const o of n)if(N(e)){if(e=ri(e),G(i))return getComputedStyle(o).getPropertyValue(e);o.style.setProperty(e,vt(i)&&!fr[e]?`${i}px`:i||$e(i)?i:"",s)}else if(Q(e)){const r={};for(const a of e)r[a]=c(o,a);return r}else if(Ct(e))for(const r in e)c(o,r,e[r],i);return n[0]}const ri=rt(t=>pr(t));function pr(t){if(dt(t,"--"))return t;t=Mt(t);const{style:e}=document.documentElement;if(t in e)return t;for(const i of["webkit","moz"]){const s=`-${i}-${t}`;if(s in e)return s}}const Zi="bdt-transition",Qi="transitionend",ts="transitioncanceled";function gr(t,e,i=400,s="linear"){return i=Math.round(i),Promise.all(C(t).map(n=>new Promise((o,r)=>{for(const l in e){const h=c(n,l);h===""&&c(n,l,h)}const a=setTimeout(()=>g(n,Qi),i);H(n,[Qi,ts],({type:l})=>{clearTimeout(a),D(n,Zi),c(n,{transitionProperty:"",transitionDuration:"",transitionTimingFunction:""}),l===ts?r():o(n)},{self:!0}),$(n,Zi),c(n,{transitionProperty:Object.keys(e).map(ri).join(","),transitionDuration:`${i}ms`,transitionTimingFunction:s,...e})})))}const O={start:gr,async stop(t){g(t,Qi),await Promise.resolve()},async cancel(t){g(t,ts),await Promise.resolve()},inProgress(t){return y(t,Zi)}},Pe="bdt-animation-",Vs="animationend",ai="animationcanceled";function Ys(t,e,i=200,s,n){return Promise.all(C(t).map(o=>new Promise((r,a)=>{g(o,ai);const l=setTimeout(()=>g(o,Vs),i);H(o,[Vs,ai],({type:h})=>{clearTimeout(l),h===ai?a():r(o),c(o,"animationDuration",""),qi(o,`${Pe}\\S*`)},{self:!0}),c(o,"animationDuration",`${i}ms`),$(o,e,Pe+(n?"leave":"enter")),dt(e,Pe)&&(s&&$(o,`bdt-transform-origin-${s}`),n&&$(o,`${Pe}reverse`))})))}const mr=new RegExp(`${Pe}(enter|leave)`),At={in:Ys,out(t,e,i,s){return Ys(t,e,i,s,!0)},inProgress(t){return mr.test(p(t,"class"))},cancel(t){g(t,ai)}};function vr(t){if(document.readyState!=="loading"){t();return}H(document,"DOMContentLoaded",t)}function R(t,...e){return e.some(i=>{var s;return((s=t==null?void 0:t.tagName)==null?void 0:s.toLowerCase())===i.toLowerCase()})}function es(t){return t=k(t),t.innerHTML="",t}function Lt(t,e){return G(e)?k(t).innerHTML:L(es(t),e)}const wr=ci("prepend"),L=ci("append"),li=ci("before"),hi=ci("after");function ci(t){return function(e,i){var s;const n=C(N(i)?Wt(i):i);return(s=k(e))==null||s[t](...n),Gs(n)}}function at(t){C(t).forEach(e=>e.remove())}function ui(t,e){for(e=F(li(t,e));e.firstElementChild;)e=e.firstElementChild;return L(e,t),e}function is(t,e){return C(C(t).map(i=>i.hasChildNodes()?ui(Tt(i.childNodes),e):L(i,e)))}function _e(t){C(t).map(P).filter((e,i,s)=>s.indexOf(e)===i).forEach(e=>e.replaceWith(...e.childNodes))}const br=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Wt(t){const e=br.exec(t);if(e)return document.createElement(e[1]);const i=document.createElement("template");return i.innerHTML=t.trim(),Gs(i.content.childNodes)}function Gs(t){return t.length>1?t:t[0]}function St(t,e){if(xe(t))for(e(t),t=t.firstElementChild;t;){const i=t.nextElementSibling;St(t,e),t=i}}function k(t,e){return Xs(t)?F(Wt(t)):Gi(t,e)}function z(t,e){return Xs(t)?C(Wt(t)):Ee(t,e)}function Xs(t){return N(t)&&dt(t.trim(),"<")}const jt={width:["left","right"],height:["top","bottom"]};function w(t){const e=xe(t)?F(t).getBoundingClientRect():{height:it(t),width:di(t),top:0,left:0};return{height:e.height,width:e.width,top:e.top,left:e.left,bottom:e.top+e.height,right:e.left+e.width}}function I(t,e){e&&c(t,{left:0,top:0});const i=w(t);if(t){const{scrollY:s,scrollX:n}=ne(t),o={height:s,width:n};for(const r in jt)for(const a of jt[r])i[a]+=o[r]}if(!e)return i;for(const s of["left","top"])c(t,s,e[s]-i[s])}function ss(t){let{top:e,left:i}=I(t);const{ownerDocument:{body:s,documentElement:n},offsetParent:o}=F(t);let r=o||n;for(;r&&(r===s||r===n)&&c(r,"position")==="static";)r=r.parentNode;if(xe(r)){const a=I(r);e-=a.top+S(c(r,"borderTopWidth")),i-=a.left+S(c(r,"borderLeftWidth"))}return{top:e-S(c(t,"marginTop")),left:i-S(c(t,"marginLeft"))}}function Rt(t){t=F(t);const e=[t.offsetTop,t.offsetLeft];for(;t=t.offsetParent;)if(e[0]+=t.offsetTop+S(c(t,"borderTopWidth")),e[1]+=t.offsetLeft+S(c(t,"borderLeftWidth")),c(t,"position")==="fixed"){const i=ne(t);return e[0]+=i.scrollY,e[1]+=i.scrollX,e}return e}const it=Js("height"),di=Js("width");function Js(t){const e=It(t);return(i,s)=>{if(G(s)){if(ie(i))return i[`inner${e}`];if(be(i)){const n=i.documentElement;return Math.max(n[`offset${e}`],n[`scroll${e}`])}return i=F(i),s=c(i,t),s=s==="auto"?i[`offset${e}`]:S(s)||0,s-Ae(i,t)}else return c(i,t,!s&&s!==0?"":+s+Ae(i,t)+"px")}}function Ae(t,e,i="border-box"){return c(t,"boxSizing")===i?zt(jt[e].map(It),s=>S(c(t,`padding${s}`))+S(c(t,`border${s}Width`))):0}function fi(t){for(const e in jt)for(const i in jt[e])if(jt[e][i]===t)return jt[e][1-i];return t}function U(t,e="width",i=window,s=!1){return N(t)?zt($r(t),n=>{const o=kr(n);return o?Sr(o==="vh"?Ir():o==="vw"?di(ne(i)):s?i[`offset${It(e)}`]:w(i)[e],n):n}):S(t)}const xr=/-?\d+(?:\.\d+)?(?:v[wh]|%|px)?/g,$r=rt(t=>t.toString().replace(/\s/g,"").match(xr)||[]),yr=/(?:v[hw]|%)$/,kr=rt(t=>(t.match(yr)||[])[0]);function Sr(t,e){return t*S(e)/100}let De,re;function Ir(){return De||(re||(re=k("<div>"),c(re,{height:"100vh",position:"fixed"}),b(window,"resize",()=>De=null)),L(document.body,re),De=re.clientHeight,at(re),De)}const qt=typeof window<"u",V=qt&&document.dir==="rtl",ae=qt&&"ontouchstart"in window,le=qt&&window.PointerEvent,mt=le?"pointerdown":ae?"touchstart":"mousedown",pi=le?"pointermove":ae?"touchmove":"mousemove",Dt=le?"pointerup":ae?"touchend":"mouseup",he=le?"pointerenter":ae?"":"mouseenter",Oe=le?"pointerleave":ae?"":"mouseleave",gi=le?"pointercancel":"touchcancel",K={reads:[],writes:[],read(t){return this.reads.push(t),os(),t},write(t){return this.writes.push(t),os(),t},clear(t){Zs(this.reads,t),Zs(this.writes,t)},flush:ns};function ns(t){Ks(K.reads),Ks(K.writes.splice(0)),K.scheduled=!1,(K.reads.length||K.writes.length)&&os(t+1)}const Tr=4;function os(t){K.scheduled||(K.scheduled=!0,t&&t<Tr?Promise.resolve().then(()=>ns(t)):requestAnimationFrame(()=>ns(1)))}function Ks(t){let e;for(;e=t.shift();)try{e()}catch(i){console.error(i)}}function Zs(t,e){const i=t.indexOf(e);return~i&&t.splice(i,1)}class Qs{init(){this.positions=[];let e;this.unbind=b(document,"mousemove",i=>e=_t(i)),this.interval=setInterval(()=>{e&&(this.positions.push(e),this.positions.length>5&&this.positions.shift())},50)}cancel(){var e;(e=this.unbind)==null||e.call(this),clearInterval(this.interval)}movesTo(e){if(!this.positions||this.positions.length<2)return!1;const i=w(e),{left:s,right:n,top:o,bottom:r}=i,[a]=this.positions,l=Bt(this.positions),h=[a,l];return ii(l,i)?!1:[[{x:s,y:o},{x:n,y:r}],[{x:s,y:r},{x:n,y:o}]].some(d=>{const f=Cr(h,d);return f&&ii(f,i)})}}function Cr([{x:t,y:e},{x:i,y:s}],[{x:n,y:o},{x:r,y:a}]){const l=(a-o)*(i-t)-(r-n)*(s-e);if(l===0)return!1;const h=((r-n)*(e-o)-(a-o)*(t-n))/l;return h<0?!1:{x:t+h*(i-t),y:e+h*(s-e)}}function tn(t,e,i={},{intersecting:s=!0}={}){const n=new IntersectionObserver(s?(o,r)=>{o.some(a=>a.isIntersecting)&&e(o,r)}:e,i);for(const o of C(t))n.observe(o);return n}const Er=qt&&window.ResizeObserver;function Me(t,e,i={box:"border-box"}){if(Er)return sn(ResizeObserver,t,e,i);const s=[b(window,"load resize",e),b(document,"loadedmetadata load",e,!0)];return{disconnect:()=>s.map(n=>n())}}function rs(t){return{disconnect:b([window,window.visualViewport],"resize",t)}}function en(t,e,i){return sn(MutationObserver,t,e,i)}function sn(t,e,i,s){const n=new t(i);for(const o of C(e))n.observe(o,s);return n}function nn(t){vi(t)&&as(t,{func:"playVideo",method:"play"}),mi(t)&&t.play()}function on(t){vi(t)&&as(t,{func:"pauseVideo",method:"pause"}),mi(t)&&t.pause()}function rn(t){vi(t)&&as(t,{func:"mute",method:"setVolume",value:0}),mi(t)&&(t.muted=!0)}function an(t){return mi(t)||vi(t)}function mi(t){return R(t,"video")}function vi(t){return R(t,"iframe")&&(ln(t)||hn(t))}function ln(t){return!!t.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)}function hn(t){return!!t.src.match(/vimeo\.com\/video\/.*/)}async function as(t,e){await _r(t),cn(t,e)}function cn(t,e){t.contentWindow.postMessage(JSON.stringify({event:"command",...e}),"*")}const ls="_ukPlayer";let Pr=0;function _r(t){if(t[ls])return t[ls];const e=ln(t),i=hn(t),s=++Pr;let n;return t[ls]=new Promise(o=>{e&&H(t,"load",()=>{const r=()=>cn(t,{event:"listening",id:s});n=setInterval(r,100),r()}),H(window,"message",o,!1,({data:r})=>{try{return r=JSON.parse(r),e&&(r==null?void 0:r.id)===s&&r.event==="onReady"||i&&Number(r==null?void 0:r.player_id)===s}catch{}}),t.src=`${t.src}${m(t.src,"?")?"&":"?"}${e?"enablejsapi=1":`api=1&player_id=${s}`}`}).then(()=>clearInterval(n))}function Ar(t,e=0,i=0){return q(t)?Wi(...Vt(t).map(s=>{const{top:n,left:o,bottom:r,right:a}=lt(s);return{top:n-e,left:o-i,bottom:r+e,right:a+i}}).concat(I(t))):!1}function un(t,{offset:e=0}={}){const i=q(t)?Ut(t,!1,["hidden"]):[];return i.reduce((r,a,l)=>{const{scrollTop:h,scrollHeight:u,offsetHeight:d}=a,f=lt(a),v=u-f.height,{height:x,top:T}=i[l-1]?lt(i[l-1]):I(t);let M=Math.ceil(T-f.top-e+h);return e>0&&d<x+e?M+=e:e=0,M>v?(e-=M-v,M=v):M<0&&(e-=M,M=0),()=>s(a,M-h,t,v).then(r)},()=>Promise.resolve())();function s(r,a,l,h){return new Promise(u=>{const d=r.scrollTop,f=n(Math.abs(a)),v=Date.now(),x=us(r)===r,T=I(l).top+(x?0:d);let M=0,wt=15;(function Ze(){const Bi=o(tt((Date.now()-v)/f));let ft=0;if(i[0]===r&&d+a<h){ft=I(l).top+(x?0:r.scrollTop)-T;const ge=hs(l);ft-=ge?I(ge).height:0}r.scrollTop=Math[a+ft>0?"max":"min"](r.scrollTop,d+(a+ft)*Bi),Bi===1&&(M===ft||!wt--)?u():(M=ft,requestAnimationFrame(Ze))})()})}function n(r){return 40*Math.pow(r,.375)}function o(r){return .5*(1-Math.cos(Math.PI*r))}}function wi(t,e=0,i=0){if(!q(t))return 0;const s=Ot(t,!0),{scrollHeight:n,scrollTop:o}=s,{height:r}=lt(s),a=n-r,l=Rt(t)[0]-Rt(s)[0],h=Math.max(0,l-r+e),u=Math.min(a,l+t.offsetHeight-i);return h<u?tt((o-h)/(u-h)):1}function Ut(t,e=!1,i=[]){const s=us(t);let n=Te(t).reverse();n=n.slice(n.indexOf(s)+1);const o=bt(n,r=>c(r,"position")==="fixed");return~o&&(n=n.slice(o)),[s].concat(n.filter(r=>c(r,"overflow").split(" ").some(a=>m(["auto","scroll",...i],a))&&(!e||r.scrollHeight>lt(r).height))).reverse()}function Ot(...t){return Ut(...t)[0]}function Vt(t){return Ut(t,!1,["hidden","clip"])}function lt(t){const e=ne(t);let i=t===us(t)?e:t;if(ie(i)&&e.visualViewport){let{height:n,width:o,scale:r,pageTop:a,pageLeft:l}=e.visualViewport;return n=Math.round(n*r),o=Math.round(o*r),{height:n,width:o,top:a,left:l,bottom:a+n,right:l+o}}let s=I(i);if(c(i,"display")==="inline")return s;for(let[n,o,r,a]of[["width","x","left","right"],["height","y","top","bottom"]]){ie(i)?i=t.ownerDocument:s[r]+=S(c(i,`border-${r}-width`));const l=s[n]%1;s[n]=s[o]=i[`client${It(n)}`]-(l?l<.5?-l:1-l:0),s[a]=s[n]+s[r]}return s}function hs(t){const{left:e,width:i,top:s}=w(t);return t.ownerDocument.elementsFromPoint(e+i/2,s).find(n=>!n.contains(t)&&!y(n,"bdt-togglable-leave")&&(cs(n,"fixed")&&dn(Te(t).reverse().find(o=>!o.contains(n)&&!cs(o,"static")))<dn(n)||cs(n,"sticky")&&P(n).contains(t)))}function dn(t){return S(c(t,"zIndex"))}function cs(t,e){return c(t,"position")===e}function us(t){return ne(t).document.scrollingElement}const ht=[["width","x","left","right"],["height","y","top","bottom"]];function fn(t,e,i){i={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],placement:[],...i},Q(e)||(e=[e,e]),I(t,pn(t,e,i))}function pn(t,e,i){const s=gn(t,e,i),{boundary:n,viewportOffset:o=0,placement:r}=i;let a=s;for(const[l,[h,,u,d]]of Object.entries(ht)){const f=Dr(t,e[l],o,n,l);if(bi(s,f,l))continue;let v=0;if(r[l]==="flip"){const x=i.attach.target[l];if(x===d&&s[d]<=f[d]||x===u&&s[u]>=f[u])continue;v=Mr(t,e,i,l)[u]-s[u];const T=Or(t,e[l],o,l);if(!bi(ds(s,v,l),T,l)){if(bi(s,T,l))continue;if(i.recursion)return!1;const M=Br(t,e,i);if(M&&bi(M,T,1-l))return M;continue}}else if(r[l]==="shift"){const x=I(e[l]),{offset:T}=i;v=tt(tt(s[u],f[u],f[d]-s[h]),x[u]-s[h]+T[l],x[d]-T[l])-s[u]}a=ds(a,v,l)}return a}function gn(t,e,i){let{attach:s,offset:n}={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],...i},o=I(t);for(const[r,[a,,l,h]]of Object.entries(ht)){const u=s.target[r]===s.element[r]?lt(e[r]):I(e[r]);o=ds(o,u[l]-o[l]+mn(s.target[r],h,u[a])-mn(s.element[r],h,o[a])+ +n[r],r)}return o}function ds(t,e,i){const[,s,n,o]=ht[i],r={...t};return r[n]=t[s]=t[n]+e,r[o]+=e,r}function mn(t,e,i){return t==="center"?i/2:t===e?i:0}function Dr(t,e,i,s,n){let o=wn(...vn(t,e).map(lt));return i&&(o[ht[n][2]]+=i,o[ht[n][3]]-=i),s&&(o=wn(o,I(Q(s)?s[n]:s))),o}function Or(t,e,i,s){const[n,o,r,a]=ht[s],[l]=vn(t,e),h=lt(l);return["auto","scroll"].includes(c(l,`overflow-${o}`))&&(h[r]-=l[`scroll${It(r)}`],h[a]=h[r]+l[`scroll${It(n)}`]),h[r]+=i,h[a]-=i,h}function vn(t,e){return Vt(e).filter(i=>i.contains(t))}function wn(...t){let e={};for(const i of t)for(const[,,s,n]of ht)e[s]=Math.max(e[s]||0,i[s]),e[n]=Math.min(...[e[n],i[n]].filter(Boolean));return e}function bi(t,e,i){const[,,s,n]=ht[i];return t[s]>=e[s]&&t[n]<=e[n]}function Mr(t,e,{offset:i,attach:s},n){return gn(t,e,{attach:{element:bn(s.element,n),target:bn(s.target,n)},offset:Nr(i,n)})}function Br(t,e,i){return pn(t,e,{...i,attach:{element:i.attach.element.map(xn).reverse(),target:i.attach.target.map(xn).reverse()},offset:i.offset.reverse(),placement:i.placement.reverse(),recursion:!0})}function bn(t,e){const i=[...t],s=ht[e].indexOf(t[e]);return~s&&(i[e]=ht[e][1-s%2+2]),i}function xn(t){for(let e=0;e<ht.length;e++){const i=ht[e].indexOf(t);if(~i)return ht[1-e][i%2+2]}}function Nr(t,e){return t=[...t],t[e]*=-1,t}var zr=Object.freeze({__proto__:null,$:k,$$:z,Animation:At,Dimensions:Ri,MouseTracker:Qs,Transition:O,addClass:$,after:hi,append:L,apply:St,assign:gt,attr:p,before:li,boxModelAdjust:Ae,camelize:we,children:B,clamp:tt,closest:oi,createEvent:Ht,css:c,data:X,dimensions:w,each:Nt,empty:es,endsWith:ee,escape:Xi,fastdom:K,filter:Ie,find:Gi,findAll:Ee,findIndex:bt,flipPosition:fi,fragment:Wt,getCoveringElement:hs,getEventPos:_t,getIndex:ot,getTargetedElement:Yi,hasAttr:yt,hasClass:y,hasOwn:pt,hasTouch:ae,height:it,html:Lt,hyphenate:Mt,inBrowser:qt,includes:m,index:Et,intersectRect:Wi,isArray:Q,isBoolean:se,isDocument:be,isElement:xe,isEmpty:ti,isEqual:ei,isFocusable:ni,isFunction:et,isInView:Ar,isInput:Vi,isNode:Qe,isNumber:$e,isNumeric:vt,isObject:Ct,isPlainObject:xt,isRtl:V,isSameSiteAnchor:oe,isString:N,isTag:R,isTouch:kt,isUndefined:G,isVideo:an,isVisible:q,isVoidElement:Ui,isWindow:ie,last:Bt,matches:E,memoize:rt,mute:rn,noop:A,observeIntersection:tn,observeMutation:en,observeResize:Me,observeViewportResize:rs,off:Pt,offset:I,offsetPosition:Rt,offsetViewport:lt,on:b,once:H,overflowParents:Vt,parent:P,parents:Te,pause:on,pick:Li,play:nn,pointInRect:ii,pointerCancel:gi,pointerDown:mt,pointerEnter:he,pointerLeave:Oe,pointerMove:pi,pointerUp:Dt,position:ss,positionAt:fn,prepend:wr,propName:ri,query:J,queryAll:Ce,ready:vr,remove:at,removeAttr:ye,removeClass:D,removeClasses:qi,replaceClass:si,scrollIntoView:un,scrollParent:Ot,scrollParents:Ut,scrolledOver:wi,selFocusable:Se,selInput:ke,sortBy:Fs,startsWith:dt,sumBy:zt,swap:Hi,toArray:Tt,toBoolean:Fi,toEventTargets:Ki,toFloat:S,toNode:F,toNodes:C,toNumber:$t,toPx:U,toWindow:ne,toggleClass:j,trigger:g,ucfirst:It,uniqueBy:Hs,unwrap:_e,width:di,within:Ws,wrapAll:ui,wrapInner:is}),st={connected(){$(this.$el,this.$options.id)}};const Fr=["days","hours","minutes","seconds"];var Hr={mixins:[st],props:{date:String,clsWrapper:String,role:String},data:{date:"",clsWrapper:".bdt-countdown-%unit%",role:"timer"},connected(){p(this.$el,"role",this.role),this.date=S(Date.parse(this.$props.date)),this.end=!1,this.start()},disconnected(){this.stop()},events:{name:"visibilitychange",el:()=>document,handler(){document.hidden?this.stop():this.start()}},methods:{start(){this.stop(),this.update(),this.timer||(g(this.$el,"countdownstart"),this.timer=setInterval(this.update,1e3))},stop(){this.timer&&(clearInterval(this.timer),g(this.$el,"countdownstop"),this.timer=null)},update(){const t=Lr(this.date);t.total||(this.stop(),this.end||(g(this.$el,"countdownend"),this.end=!0));for(const e of Fr){const i=k(this.clsWrapper.replace("%unit%",e),this.$el);if(!i)continue;let s=String(Math.trunc(t[e]));s=s.length<2?`0${s}`:s,i.textContent!==s&&(s=s.split(""),s.length!==i.children.length&&Lt(i,s.map(()=>"<span></span>").join("")),s.forEach((n,o)=>i.children[o].textContent=n))}}}};function Lr(t){const e=Math.max(0,t-Date.now())/1e3;return{total:e,seconds:e%60,minutes:e/60%60,hours:e/60/60%24,days:e/60/60/24}}const Y={};Y.events=Y.watch=Y.observe=Y.created=Y.beforeConnect=Y.connected=Y.beforeDisconnect=Y.disconnected=Y.destroy=fs,Y.args=function(t,e){return e!==!1&&fs(e||t)},Y.update=function(t,e){return Fs(fs(t,et(e)?{read:e}:e),"order")},Y.props=function(t,e){if(Q(e)){const i={};for(const s of e)i[s]=String;e=i}return Y.methods(t,e)},Y.computed=Y.methods=function(t,e){return e?t?{...t,...e}:e:t},Y.i18n=Y.data=function(t,e,i){return i?$n(t,e,i):e?t?function(s){return $n(t,e,s)}:e:t};function $n(t,e,i){return Y.computed(et(t)?t.call(i,i):t,et(e)?e.call(i,i):e)}function fs(t,e){return t=t&&!Q(t)?[t]:t,e?t?t.concat(e):Q(e)?e:[e]:t}function Wr(t,e){return G(e)?t:e}function Be(t,e,i){const s={};if(et(e)&&(e=e.options),e.extends&&(t=Be(t,e.extends,i)),e.mixins)for(const o of e.mixins)t=Be(t,o,i);for(const o in t)n(o);for(const o in e)pt(t,o)||n(o);function n(o){s[o]=(Y[o]||Wr)(t[o],e[o],i)}return s}function ce(t,e=[]){try{return t?dt(t,"{")?JSON.parse(t):e.length&&!m(t,":")?{[e[0]]:t}:t.split(";").reduce((i,s)=>{const[n,o]=s.split(/:(.*)/);return n&&!G(o)&&(i[n.trim()]=o.trim()),i},{}):{}}catch{return{}}}function ps(t,e){return t===Boolean?Fi(e):t===Number?$t(e):t==="list"?Rr(e):t===Object&&N(e)?ce(e):t?t(e):e}const jr=/,(?![^(]*\))/;function Rr(t){return Q(t)?t:N(t)?t.split(jr).map(e=>vt(e)?$t(e):Fi(e.trim())):[t]}function qr(t){t._data={},t._updates=[...t.$options.update||[]]}function Ur(t,e){t._updates.unshift(e)}function Vr(t){delete t._data}function Ne(t,e="update"){t._connected&&t._updates.length&&(t._queued||(t._queued=new Set,K.read(()=>{t._connected&&Yr(t,t._queued),delete t._queued})),t._queued.add(e.type||e))}function Yr(t,e){for(const{read:i,write:s,events:n=[]}of t._updates){if(!e.has("update")&&!n.some(r=>e.has(r)))continue;let o;i&&(o=i.call(t,t._data,e),o&&xt(o)&&gt(t._data,o)),s&&o!==!1&&K.write(()=>{t._connected&&s.call(t,t._data,e)})}}function ct(t){return Le(Me,t,"resize")}function ze(t){return Le(tn,t)}function gs(t){return Le(en,t)}function Fe(t={}){return ze({handler:function(e,i){const{targets:s=this.$el,preload:n=5}=t;for(const o of C(et(s)?s(this):s))z('[loading="lazy"]',o).slice(0,n-1).forEach(r=>ye(r,"loading"));for(const o of e.filter(({isIntersecting:r})=>r).map(({target:r})=>r))i.unobserve(o)},...t})}function ms(t){return Le((e,i)=>rs(i),t,"resize")}function He(t){return Le((e,i)=>({disconnect:b(Xr(e),"scroll",i,{passive:!0})}),t,"scroll")}function yn(t){return{observe(e,i){return{observe:A,unobserve:A,disconnect:b(e,mt,i,{passive:!0})}},handler(e){if(!kt(e))return;const i=_t(e),s="tagName"in e.target?e.target:P(e.target);H(document,`${Dt} ${gi} scroll`,n=>{const{x:o,y:r}=_t(n);(n.type!=="scroll"&&s&&o&&Math.abs(i.x-o)>100||r&&Math.abs(i.y-r)>100)&&setTimeout(()=>{g(s,"swipe"),g(s,`swipe${Gr(i.x,i.y,o,r)}`)})})},...t}}function Le(t,e,i){return{observe:t,handler(){Ne(this,i)},...e}}function Gr(t,e,i,s){return Math.abs(t-i)>=Math.abs(e-s)?t-i>0?"Left":"Right":e-s>0?"Up":"Down"}function Xr(t){return C(t).map(e=>{const{ownerDocument:i}=e,s=Ot(e,!0);return s===i.scrollingElement?i:s})}var kn={props:{margin:String,firstColumn:Boolean},data:{margin:"bdt-margin-small-top",firstColumn:"bdt-first-column"},observe:[gs({options:{childList:!0,attributes:!0,attributeFilter:["style"]}}),ct({target:({$el:t})=>[t,...B(t)]})],update:{read(){return{rows:vs(Tt(this.$el.children))}},write({rows:t}){for(const e of t)for(const i of e)j(i,this.margin,t[0]!==e),j(i,this.firstColumn,e[V?e.length-1:0]===i)},events:["resize"]}};function vs(t){const e=[[]],i=t.some((s,n)=>n&&t[n-1].offsetParent!==s.offsetParent);for(const s of t){if(!q(s))continue;const n=ws(s,i);for(let o=e.length-1;o>=0;o--){const r=e[o];if(!r[0]){r.push(s);break}const a=ws(r[0],i);if(n.top>=a.bottom-1&&n.top!==a.top){e.push([s]);break}if(n.bottom-1>a.top||n.top===a.top){let l=r.length-1;for(;l>=0;l--){const h=ws(r[l],i);if(n.left>=h.left)break}r.splice(l+1,0,s);break}if(o===0){e.unshift([s]);break}}}return e}function ws(t,e=!1){let{offsetTop:i,offsetLeft:s,offsetHeight:n,offsetWidth:o}=t;return e&&([i,s]=Rt(t)),{top:i,left:s,bottom:i+n,right:s+o}}const bs="bdt-transition-leave",xs="bdt-transition-enter";function Sn(t,e,i,s=0){const n=xi(e,!0),o={opacity:1},r={opacity:0},a=u=>()=>n===xi(e)?u():Promise.reject(),l=a(async()=>{$(e,bs),await Promise.all(Tn(e).map((u,d)=>new Promise(f=>setTimeout(()=>O.start(u,r,i/2,"ease").then(f),d*s)))),D(e,bs)}),h=a(async()=>{const u=it(e);$(e,xs),t(),c(B(e),{opacity:0}),await Jr();const d=B(e),f=it(e);c(e,"alignContent","flex-start"),it(e,u);const v=Tn(e);c(d,r);const x=v.map(async(T,M)=>{await Kr(M*s),await O.start(T,o,i/2,"ease")});u!==f&&x.push(O.start(e,{height:f},i/2+v.length*s,"ease")),await Promise.all(x).then(()=>{D(e,xs),n===xi(e)&&(c(e,{height:"",alignContent:""}),c(d,{opacity:""}),delete e.dataset.transition)})});return y(e,bs)?In(e).then(h):y(e,xs)?In(e).then(l).then(h):l().then(h)}function xi(t,e){return e&&(t.dataset.transition=1+xi(t)),$t(t.dataset.transition)||0}function In(t){return Promise.all(B(t).filter(O.inProgress).map(e=>new Promise(i=>H(e,"transitionend transitioncanceled",i))))}function Tn(t){return vs(B(t)).flat().filter(e=>q(e))}function Jr(){return new Promise(t=>requestAnimationFrame(t))}function Kr(t){return new Promise(e=>setTimeout(e,t))}async function Zr(t,e,i){await Pn();let s=B(e);const n=s.map(f=>Cn(f,!0)),o={...c(e,["height","padding"]),display:"block"};await Promise.all(s.concat(e).map(O.cancel)),t(),s=s.concat(B(e).filter(f=>!m(s,f))),await Promise.resolve(),K.flush();const r=p(e,"style"),a=c(e,["height","padding"]),[l,h]=Qr(e,s,n),u=s.map(f=>({style:p(f,"style")}));s.forEach((f,v)=>h[v]&&c(f,h[v])),c(e,o),g(e,"scroll"),K.flush(),await Pn();const d=s.map((f,v)=>P(f)===e&&O.start(f,l[v],i,"ease")).concat(O.start(e,a,i,"ease"));try{await Promise.all(d),s.forEach((f,v)=>{p(f,u[v]),P(f)===e&&c(f,"display",l[v].opacity===0?"none":"")}),p(e,"style",r)}catch{p(s,"style",""),ta(e,o)}}function Cn(t,e){const i=c(t,"zIndex");return q(t)?{display:"",opacity:e?c(t,"opacity"):"0",pointerEvents:"none",position:"absolute",zIndex:i==="auto"?Et(t):i,...En(t)}:!1}function Qr(t,e,i){const s=e.map((o,r)=>P(o)&&r in i?i[r]?q(o)?En(o):{opacity:0}:{opacity:q(o)?1:0}:!1),n=s.map((o,r)=>{const a=P(e[r])===t&&(i[r]||Cn(e[r]));if(!a)return!1;if(!o)delete a.opacity;else if(!("opacity"in o)){const{opacity:l}=a;l%1?o.opacity=1:delete a.opacity}return a});return[s,n]}function ta(t,e){for(const i in e)c(t,i,"")}function En(t){const{height:e,width:i}=I(t);return{height:e,width:i,transform:"",...ss(t),...c(t,["marginTop","marginLeft"])}}function Pn(){return new Promise(t=>requestAnimationFrame(t))}var _n={props:{duration:Number,animation:Boolean},data:{duration:150,animation:"slide"},methods:{animate(t,e=this.$el){const i=this.animation;return(i==="fade"?Sn:i==="delayed-fade"?(...n)=>Sn(...n,40):i?Zr:()=>(t(),Promise.resolve()))(t,e,this.duration).catch(A)}}};const _={TAB:9,ESC:27,SPACE:32,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40};var ea={mixins:[_n],args:"target",props:{target:String,selActive:Boolean},data:{target:"",selActive:!1,attrItem:"bdt-filter-control",cls:"bdt-active",duration:250},computed:{children:({target:t},e)=>z(`${t} > *`,e),toggles:({attrItem:t},e)=>z(`[${t}],[data-${t}]`,e)},watch:{toggles(t){this.updateState();const e=z(this.selActive,this.$el);for(const i of t){this.selActive!==!1&&j(i,this.cls,m(e,i));const s=aa(i);R(s,"a")&&p(s,"role","button")}},children(t,e){e&&this.updateState()}},events:{name:"click keydown",delegate(){return`[${this.attrItem}],[data-${this.attrItem}]`},handler(t){t.type==="keydown"&&t.keyCode!==_.SPACE||t.target.closest("a,button")&&(t.preventDefault(),this.apply(t.current))}},methods:{apply(t){const e=this.getState(),i=Dn(t,this.attrItem,this.getState());ia(e,i)||this.setState(i)},getState(){return this.toggles.filter(t=>y(t,this.cls)).reduce((t,e)=>Dn(e,this.attrItem,t),{filter:{"":""},sort:[]})},async setState(t,e=!0){t={filter:{"":""},sort:[],...t},g(this.$el,"beforeFilter",[this,t]);for(const i of this.toggles)j(i,this.cls,na(i,this.attrItem,t));await Promise.all(z(this.target,this.$el).map(i=>{const s=()=>{sa(t,i,B(i)),this.$update(this.$el)};return e?this.animate(s,i):s()})),g(this.$el,"afterFilter",[this])},updateState(){K.write(()=>this.setState(this.getState(),!1))}}};function An(t,e){return ce(X(t,e),["filter"])}function ia(t,e){return["filter","sort"].every(i=>ei(t[i],e[i]))}function sa(t,e,i){const s=oa(t);i.forEach(r=>c(r,"display",s&&!E(r,s)?"none":""));const[n,o]=t.sort;if(n){const r=ra(i,n,o);ei(r,i)||L(e,r)}}function Dn(t,e,i){const{filter:s,group:n,sort:o,order:r="asc"}=An(t,e);return(s||G(o))&&(n?s?(delete i.filter[""],i.filter[n]=s):(delete i.filter[n],(ti(i.filter)||""in i.filter)&&(i.filter={"":s||""})):i.filter={"":s||""}),G(o)||(i.sort=[o,r]),i}function na(t,e,{filter:i={"":""},sort:[s,n]}){const{filter:o="",group:r="",sort:a,order:l="asc"}=An(t,e);return G(a)?r in i&&o===i[r]||!o&&r&&!(r in i)&&!i[""]:s===a&&n===l}function oa({filter:t}){let e="";return Nt(t,i=>e+=i||""),e}function ra(t,e,i){return[...t].sort((s,n)=>X(s,e).localeCompare(X(n,e),void 0,{numeric:!0})*(i==="asc"||-1))}function aa(t){return k("a,button",t)||t}let $s;function On(t){const e=b(t,"touchstart",s=>{if(s.targetTouches.length!==1||E(s.target,'input[type="range"'))return;let n=_t(s).y;const o=b(t,"touchmove",r=>{const a=_t(r).y;a!==n&&(n=a,Ut(r.target).some(l=>{if(!t.contains(l))return!1;let{scrollHeight:h,clientHeight:u}=l;return u<h})||r.preventDefault())},{passive:!1});H(t,"scroll touchend touchcanel",o,{capture:!0})});if($s)return e;$s=!0;const{scrollingElement:i}=document;return c(i,{overflowY:CSS.supports("overflow","clip")?"clip":"hidden",touchAction:"none",paddingRight:di(window)-i.clientWidth||""}),()=>{$s=!1,e(),c(i,{overflowY:"",touchAction:"",paddingRight:""})}}var We={props:{container:Boolean},data:{container:!0},computed:{container({container:t}){return t===!0&&this.$container||t&&k(t)}}},Yt={props:{cls:Boolean,animation:"list",duration:Number,velocity:Number,origin:String,transition:String},data:{cls:!1,animation:[!1],duration:200,velocity:.2,origin:!1,transition:"ease",clsEnter:"bdt-togglable-enter",clsLeave:"bdt-togglable-leave"},computed:{hasAnimation:({animation:t})=>!!t[0],hasTransition:({animation:t})=>["slide","reveal"].some(e=>dt(t[0],e))},methods:{async toggleElement(t,e,i){try{return await Promise.all(C(t).map(s=>{const n=se(e)?e:!this.isToggled(s);if(!g(s,`before${n?"show":"hide"}`,[this]))return Promise.reject();const o=(et(i)?i:i===!1||!this.hasAnimation?la:this.hasTransition?ha:ca)(s,n,this),r=n?this.clsEnter:this.clsLeave;$(s,r),g(s,n?"show":"hide",[this]);const a=()=>{D(s,r),g(s,n?"shown":"hidden",[this])};return o?o.then(a,()=>(D(s,r),Promise.reject())):a()})),!0}catch{return!1}},isToggled(t=this.$el){return t=F(t),y(t,this.clsEnter)?!0:y(t,this.clsLeave)?!1:this.cls?y(t,this.cls.split(" ")[0]):q(t)},_toggle(t,e){if(!t)return;e=!!e;let i;this.cls?(i=m(this.cls," ")||e!==y(t,this.cls),i&&j(t,this.cls,m(this.cls," ")?void 0:e)):(i=e===t.hidden,i&&(t.hidden=!e)),z("[autofocus]",t).some(s=>q(s)?s.focus()||!0:s.blur()),i&&g(t,"toggled",[e,this])}}};function la(t,e,{_toggle:i}){return At.cancel(t),O.cancel(t),i(t,e)}async function ha(t,e,{animation:i,duration:s,velocity:n,transition:o,_toggle:r}){var a;const[l="reveal",h="top"]=((a=i[0])==null?void 0:a.split("-"))||[],u=[["left","right"],["top","bottom"]],d=u[m(u[0],h)?0:1],f=d[1]===h,x=["width","height"][u.indexOf(d)],T=`margin-${d[0]}`,M=`margin-${h}`;let wt=w(t)[x];const Ze=O.inProgress(t);await O.cancel(t),e&&r(t,!0);const Bi=Object.fromEntries(["padding","border","width","height","minWidth","minHeight","overflowY","overflowX",T,M].map(Zo=>[Zo,t.style[Zo]])),ft=w(t),ge=S(c(t,T)),Xo=S(c(t,M)),te=ft[x]+Xo;!Ze&&!e&&(wt+=Xo);const[Ni]=is(t,"<div>");c(Ni,{boxSizing:"border-box",height:ft.height,width:ft.width,...c(t,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",M])}),c(t,{padding:0,border:0,minWidth:0,minHeight:0,[M]:0,width:ft.width,height:ft.height,overflow:"hidden",[x]:wt});const Jo=wt/te;s=(n*te+s)*(e?1-Jo:Jo);const Ko={[x]:e?te:0};f&&(c(t,T,te-wt+ge),Ko[T]=e?ge:te+ge),!f^l==="reveal"&&(c(Ni,T,-te+wt),O.start(Ni,{[T]:e?0:-te},s,o));try{await O.start(t,Ko,s,o)}finally{c(t,Bi),_e(Ni.firstChild),e||r(t,!1)}}function ca(t,e,i){const{animation:s,duration:n,_toggle:o}=i;return e?(o(t,!0),At.in(t,s[0],n,i.origin)):At.out(t,s[1]||s[0],n,i.origin).then(()=>o(t,!1))}const nt=[];var ys={mixins:[st,We,Yt],props:{selPanel:String,selClose:String,escClose:Boolean,bgClose:Boolean,stack:Boolean,role:String},data:{cls:"bdt-open",escClose:!0,bgClose:!0,overlay:!0,stack:!1,role:"dialog"},computed:{panel:({selPanel:t},e)=>k(t,e),transitionElement(){return this.panel},bgClose({bgClose:t}){return t&&this.panel}},connected(){p(this.panel||this.$el,"role",this.role),this.overlay&&p(this.panel||this.$el,"aria-modal",!0)},beforeDisconnect(){m(nt,this)&&this.toggleElement(this.$el,!1,!1)},events:[{name:"click",delegate(){return`${this.selClose},a[href*="#"]`},handler(t){const{current:e,defaultPrevented:i}=t,{hash:s}=e;!i&&s&&oe(e)&&!this.$el.contains(k(s))?this.hide():E(e,this.selClose)&&(t.preventDefault(),this.hide())}},{name:"toggle",self:!0,handler(t){t.defaultPrevented||(t.preventDefault(),this.isToggled()===m(nt,this)&&this.toggle())}},{name:"beforeshow",self:!0,handler(t){if(m(nt,this))return!1;!this.stack&&nt.length?(Promise.all(nt.map(e=>e.hide())).then(this.show),t.preventDefault()):nt.push(this)}},{name:"show",self:!0,handler(){this.stack&&c(this.$el,"zIndex",S(c(this.$el,"zIndex"))+nt.length);const t=[this.overlay&&da(this),this.overlay&&On(this.$el),this.bgClose&&fa(this),this.escClose&&pa(this)];H(this.$el,"hidden",()=>t.forEach(e=>e&&e()),{self:!0}),$(document.documentElement,this.clsPage)}},{name:"shown",self:!0,handler(){ni(this.$el)||p(this.$el,"tabindex","-1"),E(this.$el,":focus-within")||this.$el.focus()}},{name:"hidden",self:!0,handler(){m(nt,this)&&nt.splice(nt.indexOf(this),1),c(this.$el,"zIndex",""),nt.some(t=>t.clsPage===this.clsPage)||D(document.documentElement,this.clsPage)}}],methods:{toggle(){return this.isToggled()?this.hide():this.show()},show(){return this.container&&P(this.$el)!==this.container?(L(this.container,this.$el),new Promise(t=>requestAnimationFrame(()=>this.show().then(t)))):this.toggleElement(this.$el,!0,Mn)},hide(){return this.toggleElement(this.$el,!1,Mn)}}};function Mn(t,e,{transitionElement:i,_toggle:s}){return new Promise((n,o)=>H(t,"show hide",()=>{var r;(r=t._reject)==null||r.call(t),t._reject=o,s(t,e);const a=H(i,"transitionstart",()=>{H(i,"transitionend transitioncancel",n,{self:!0}),clearTimeout(l)},{self:!0}),l=setTimeout(()=>{a(),n()},ua(c(i,"transitionDuration")))})).then(()=>delete t._reject)}function ua(t){return t?ee(t,"ms")?S(t):S(t)*1e3:0}function da(t){return b(document,"focusin",e=>{Bt(nt)===t&&!t.$el.contains(e.target)&&t.$el.focus()})}function fa(t){return b(document,mt,({target:e})=>{Bt(nt)!==t||t.overlay&&!t.$el.contains(e)||t.panel.contains(e)||H(document,`${Dt} ${gi} scroll`,({defaultPrevented:i,type:s,target:n})=>{!i&&s===Dt&&e===n&&t.hide()},!0)})}function pa(t){return b(document,"keydown",e=>{e.keyCode===27&&Bt(nt)===t&&t.hide()})}var ks={slide:{show(t){return[{transform:W(t*-100)},{transform:W()}]},percent(t){return je(t)},translate(t,e){return[{transform:W(e*-100*t)},{transform:W(e*100*(1-t))}]}}};function je(t){return Math.abs(c(t,"transform").split(",")[4]/t.offsetWidth)}function W(t=0,e="%"){return t+=t?e:"",`translate3d(${t}, 0, 0)`}function ue(t){return`scale3d(${t}, ${t}, 1)`}function ga(t,e,i,{animation:s,easing:n}){const{percent:o,translate:r,show:a=A}=s,l=a(i);let h;return{dir:i,show(u,d=0,f){const v=f?"linear":n;return u-=Math.round(u*tt(d,-1,1)),this.translate(d),$i(e,"itemin",{percent:d,duration:u,timing:v,dir:i}),$i(t,"itemout",{percent:1-d,duration:u,timing:v,dir:i}),new Promise(x=>{h||(h=x),Promise.all([O.start(e,l[1],u,v),O.start(t,l[0],u,v)]).then(()=>{this.reset(),h()},A)})},cancel(){return O.cancel([e,t])},reset(){for(const u in l[0])c([e,t],u,"")},async forward(u,d=this.percent()){return await this.cancel(),this.show(u,d,!0)},translate(u){this.reset();const d=r(u,i);c(e,d[1]),c(t,d[0]),$i(e,"itemtranslatein",{percent:u,dir:i}),$i(t,"itemtranslateout",{percent:1-u,dir:i})},percent(){return o(t||e,e,i)},getDistance(){return t==null?void 0:t.offsetWidth}}}function $i(t,e,i){g(t,Ht(e,!1,!1,i))}var yi={props:{i18n:Object},data:{i18n:null},methods:{t(t,...e){var i,s,n;let o=0;return((n=((i=this.i18n)==null?void 0:i[t])||((s=this.$options.i18n)==null?void 0:s[t]))==null?void 0:n.replace(/%s/g,()=>e[o++]||""))||""}}},ma={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){p(this.list,"aria-live",this.autoplay?"off":"polite"),this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){p(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el:()=>document,filter(){return this.autoplay},handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}}],methods:{startAutoplay(){this.stopAutoplay(),this.interval=setInterval(()=>{this.stack.length||this.draggable&&E(this.$el,":focus-within")&&!E(this.$el,":focus")||this.pauseOnHover&&E(this.$el,":hover")||this.show("next")},this.autoplayInterval)},stopAutoplay(){clearInterval(this.interval)}}};const Re={passive:!1,capture:!0},Bn={passive:!0,capture:!0},va="touchstart mousedown",Ss="touchmove mousemove",Nn="touchend touchcancel mouseup click input scroll",zn=t=>t.preventDefault();var wa={props:{draggable:Boolean},data:{draggable:!0,threshold:10},created(){for(const t of["start","move","end"]){const e=this[t];this[t]=i=>{const s=_t(i).x*(V?-1:1);this.prevPos=s===this.pos?this.prevPos:this.pos,this.pos=s,e(i)}}},events:[{name:va,passive:!0,delegate(){return`${this.selList} > *`},handler(t){!this.draggable||this.parallax||!kt(t)&&ba(t.target)||t.target.closest(ke)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:Ss,el(){return this.list},handler:A,...Re}],methods:{start(){this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag+=this._transitioner.getDistance()*this.percent*this.dir,this._transitioner.cancel(),this._transitioner.translate(this.percent),this.dragging=!0,this.stack=[]):this.prevIndex=this.index,b(document,Ss,this.move,Re),b(document,Nn,this.end,Bn),c(this.list,"userSelect","none")},move(t){const e=this.pos-this.drag;if(e===0||this.prevPos===this.pos||!this.dragging&&Math.abs(e)<this.threshold)return;this.dragging||b(this.list,"click",zn,Re),t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=e<0?1:-1;let{slides:i,prevIndex:s}=this,n=Math.abs(e),o=this.getIndex(s+this.dir),r=Fn.call(this,s,o);for(;o!==s&&n>r;)this.drag-=r*this.dir,s=o,n-=r,o=this.getIndex(s+this.dir),r=Fn.call(this,s,o);this.percent=n/r;const a=i[s],l=i[o],h=this.index!==o,u=s===o;let d;for(const f of[this.index,this.prevIndex])m([o,s],f)||(g(i[f],"itemhidden",[this]),u&&(d=!0,this.prevIndex=s));(this.index===s&&this.prevIndex!==s||d)&&g(i[this.index],"itemshown",[this]),h&&(this.prevIndex=s,this.index=o,u||(g(a,"beforeitemhide",[this]),g(a,"itemhide",[this])),g(l,"beforeitemshow",[this]),g(l,"itemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),a,!u&&l)},end(){if(Pt(document,Ss,this.move,Re),Pt(document,Nn,this.end,Bn),this.dragging)if(this.dragging=null,this.index===this.prevIndex)this.percent=1-this.percent,this.dir*=-1,this._show(!1,this.index,!0),this._transitioner=null;else{const t=(V?this.dir*(V?1:-1):this.dir)<0==this.prevPos>this.pos;this.index=t?this.index:this.prevIndex,t&&(this.percent=1-this.percent),this.show(this.dir>0&&!t||this.dir<0&&t?"next":"previous",!0)}setTimeout(()=>Pt(this.list,"click",zn,Re)),c(this.list,{userSelect:""}),this.drag=this.percent=null}}};function Fn(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()||this.slides[t].offsetWidth}function ba(t){return c(t,"userSelect")!=="none"&&Tt(t.childNodes).some(e=>e.nodeType===3&&e.textContent.trim())}function xa(t){t._watches=[];for(const e of t.$options.watch||[])for(const[i,s]of Object.entries(e))Hn(t,s,i);t._initial=!0}function Hn(t,e,i){t._watches.push({name:i,...xt(e)?e:{handler:e}})}function $a(t,e){for(const{name:i,handler:s,immediate:n=!0}of t._watches)(t._initial&&n||pt(e,i)&&!ei(e[i],t[i]))&&s.call(t,t[i],e[i]);t._initial=!1}function ya(t){const{computed:e}=t.$options;if(t._computed={},e)for(const i in e)Ln(t,i,e[i])}function Ln(t,e,i){t._hasComputed=!0,Object.defineProperty(t,e,{enumerable:!0,get(){const{_computed:s,$props:n,$el:o}=t;return pt(s,e)||(s[e]=(i.get||i).call(t,n,o)),s[e]},set(s){const{_computed:n}=t;n[e]=i.set?i.set.call(t,s):s,G(n[e])&&delete n[e]}})}function ka(t){t._hasComputed&&(Ur(t,{read:()=>$a(t,Wn(t)),events:["resize","computed"]}),Ia(),qe.add(t))}function Sa(t){qe==null||qe.delete(t),Wn(t)}function Wn(t){const e={...t._computed};return t._computed={},e}let Is,qe;function Ia(){Is||(qe=new Set,Is=new MutationObserver(()=>{for(const t of qe)Ne(t,"computed")}),Is.observe(document,{subtree:!0,childList:!0}))}function Ta(t){t._events=[];for(const e of t.$options.events||[])if(pt(e,"handler"))jn(t,e);else for(const i in e)jn(t,e[i],i)}function Ca(t){t._events.forEach(e=>e()),delete t._events}function jn(t,e,i){let{name:s,el:n,handler:o,capture:r,passive:a,delegate:l,filter:h,self:u}=xt(e)?e:{name:i,handler:e};n=et(n)?n.call(t,t):n||t.$el,!(!n||Q(n)&&!n.length||h&&!h.call(t))&&t._events.push(b(n,s,l?N(l)?l:l.call(t,t):null,N(o)?t[o]:o.bind(t),{passive:a,capture:r,self:u}))}function Ea(t){t._observers=[];for(const e of t.$options.observe||[])if(pt(e,"handler"))qn(t,e);else for(const i of e)qn(t,i)}function Rn(t,...e){t._observers.push(...e)}function Pa(t){for(const e of t._observers)e.disconnect()}function qn(t,e){let{observe:i,target:s=t.$el,handler:n,options:o,filter:r,args:a}=e;if(r&&!r.call(t,t))return;const l=`_observe${t._observers.length}`;et(s)&&!pt(t,l)&&Ln(t,l,()=>s.call(t,t)),n=N(n)?t[n]:n.bind(t),et(o)&&(o=o.call(t,t));const h=pt(t,l)?t[l]:s,u=i(h,n,o,a);et(s)&&Q(t[l])&&u.unobserve&&Hn(t,{handler:_a(u),immediate:!1},l),Rn(t,u)}function _a(t){return(e,i)=>{for(const s of i)!m(e,s)&&t.unobserve(s);for(const s of e)!m(i,s)&&t.observe(s)}}function Aa(t){const{$options:e,$props:i}=t,s=Un(e);gt(i,s);const{computed:n,methods:o}=e;for(let r in i)r in s&&(!n||!pt(n,r))&&(!o||!pt(o,r))&&(t[r]=i[r])}function Un(t){const e={},{args:i=[],props:s={},el:n,id:o}=t;if(!s)return e;for(const a in s){const l=Mt(a);let h=X(n,l);G(h)||(h=s[a]===Boolean&&h===""?!0:ps(s[a],h),!(l==="target"&&dt(h,"_"))&&(e[a]=h))}const r=ce(X(n,o),i);for(const a in r){const l=we(a);G(s[l])||(e[l]=ps(s[l],r[a]))}return e}const Da=rt((t,e)=>{const i=Object.keys(e),s=i.concat(t).map(n=>[Mt(n),`data-${Mt(n)}`]).flat();return{attributes:i,filter:s}});function Oa(t){const{$options:e,$props:i}=t,{id:s,props:n,el:o}=e;if(!n)return;const{attributes:r,filter:a}=Da(s,n),l=new MutationObserver(h=>{const u=Un(e);h.some(({attributeName:d})=>{const f=d.replace("data-","");return(f===s?r:[we(f),we(d)]).some(v=>!G(u[v])&&u[v]!==i[v])})&&t.$reset()});l.observe(o,{attributes:!0,attributeFilter:a}),Rn(t,l)}function de(t,e){var i;(i=t.$options[e])==null||i.forEach(s=>s.call(t))}function Ts(t){t._connected||(Aa(t),de(t,"beforeConnect"),t._connected=!0,Ta(t),qr(t),xa(t),Ea(t),Oa(t),ka(t),de(t,"connected"),Ne(t))}function Cs(t){t._connected&&(de(t,"beforeDisconnect"),Ca(t),Vr(t),Pa(t),Sa(t),de(t,"disconnected"),t._connected=!1)}let Ma=0;function Vn(t,e={}){e.data=za(e,t.constructor.options),t.$options=Be(t.constructor.options,e,t),t.$props={},t._uid=Ma++,Ba(t),Na(t),ya(t),de(t,"created"),e.el&&t.$mount(e.el)}function Ba(t){const{data:e={}}=t.$options;for(const i in e)t.$props[i]=t[i]=e[i]}function Na(t){const{methods:e}=t.$options;if(e)for(const i in e)t[i]=e[i].bind(t)}function za({data:t={}},{args:e=[],props:i={}}){Q(t)&&(t=t.slice(0,e.length).reduce((s,n,o)=>(xt(n)?gt(s,n):s[e[o]]=n,s),{}));for(const s in t)G(t[s])?delete t[s]:i[s]&&(t[s]=ps(i[s],t[s]));return t}const ut=function(t){Vn(this,t)};ut.util=zr,ut.options={},ut.version="3.18.3";const Fa="bdt-",Gt="__uikit__",fe={};function Yn(t,e){var i;const s=Fa+Mt(t);if(!e)return xt(fe[s])&&(fe[s]=ut.extend(fe[s])),fe[s];t=we(t),ut[t]=(o,r)=>Ue(t,o,r);const n=xt(e)?{...e}:e.options;return n.id=s,n.name=t,(i=n.install)==null||i.call(n,ut,n,t),ut._initialized&&!n.functional&&requestAnimationFrame(()=>Ue(t,`[${s}],[data-${s}]`)),fe[s]=n}function Ue(t,e,i,...s){const n=Yn(t);return n.options.functional?new n({data:xt(e)?e:[e,i,...s]}):e?z(e).map(o)[0]:o();function o(r){const a=ki(r,t);if(a)if(i)a.$destroy();else return a;return new n({el:r,data:i})}}function Xt(t){return(t==null?void 0:t[Gt])||{}}function ki(t,e){return Xt(t)[e]}function Ha(t,e){t[Gt]||(t[Gt]={}),t[Gt][e.$options.name]=e}function La(t,e){var i;(i=t[Gt])==null||delete i[e.$options.name],ti(t[Gt])||delete t[Gt]}function Wa(t){t.component=Yn,t.getComponents=Xt,t.getComponent=ki,t.update=Gn,t.use=function(i){if(!i.installed)return i.call(null,this),i.installed=!0,this},t.mixin=function(i,s){s=(N(s)?this.component(s):s)||this,s.options=Be(s.options,i)},t.extend=function(i){i||(i={});const s=this,n=function(r){Vn(this,r)};return n.prototype=Object.create(s.prototype),n.prototype.constructor=n,n.options=Be(s.options,i),n.super=s,n.extend=s.extend,n};let e;Object.defineProperty(t,"container",{get(){return e||document.body},set(i){e=k(i)}})}function Gn(t,e){t=t?F(t):document.body;for(const i of Te(t).reverse())Xn(i,e);St(t,i=>Xn(i,e))}function Xn(t,e){const i=Xt(t);for(const s in i)Ne(i[s],e)}function ja(t){t.prototype.$mount=function(e){const i=this;Ha(e,i),i.$options.el=e,document.contains(e)&&Ts(i)},t.prototype.$destroy=function(e=!1){const i=this,{el:s}=i.$options;s&&Cs(i),de(i,"destroy"),La(s,i),e&&at(i.$el)},t.prototype.$create=Ue,t.prototype.$emit=function(e){Ne(this,e)},t.prototype.$update=function(e=this.$el,i){Gn(e,i)},t.prototype.$reset=function(){Cs(this),Ts(this)},t.prototype.$getComponent=ki,Object.defineProperties(t.prototype,{$el:{get(){return this.$options.el}},$container:Object.getOwnPropertyDescriptor(t,"container")})}let Ra=1;function Jt(t,e=null){return(e==null?void 0:e.id)||`${t.$options.id}-${Ra++}`}var qa={i18n:{next:"Next slide",previous:"Previous slide",slideX:"Slide %s",slideLabel:"%s of %s",role:"String"},data:{selNav:!1,role:"region"},computed:{nav:({selNav:t},e)=>k(t,e),navChildren(){return B(this.nav)},selNavItem:({attrItem:t})=>`[${t}],[data-${t}]`,navItems(t,e){return z(this.selNavItem,e)}},watch:{nav(t,e){p(t,"role","tablist"),e&&this.$emit()},list(t){p(t,"role","presentation")},navChildren(t){p(t,"role","presentation")},navItems(t){for(const e of t){const i=X(e,this.attrItem),s=k("a,button",e)||e;let n,o=null;if(vt(i)){const r=$t(i),a=this.slides[r];a&&(a.id||(a.id=Jt(this,a)),o=a.id),n=this.t("slideX",S(i)+1),p(s,"role","tab")}else this.list&&(this.list.id||(this.list.id=Jt(this,this.list)),o=this.list.id),n=this.t(i);p(s,{"aria-controls":o,"aria-label":p(s,"aria-label")||n})}},slides(t){t.forEach((e,i)=>p(e,{role:this.nav?"tabpanel":"group","aria-label":this.t("slideLabel",i+1,this.length),"aria-roledescription":this.nav?null:"slide"}))},length(t){const e=this.navChildren.length;if(this.nav&&t!==e){es(this.nav);for(let i=0;i<t;i++)L(this.nav,`<li ${this.attrItem}="${i}"><a href></a></li>`)}}},connected(){p(this.$el,{role:this.role,"aria-roledescription":"carousel"})},update:[{write(){this.navItems.concat(this.nav).forEach(t=>t&&(t.hidden=!this.maxIndex)),this.updateNav()},events:["resize"]}],events:[{name:"click keydown",delegate(){return this.selNavItem},filter(){return!this.parallax},handler(t){t.target.closest("a,button")&&(t.type==="click"||t.keyCode===_.SPACE)&&(t.preventDefault(),this.show(X(t.current,this.attrItem)))}},{name:"itemshow",handler:"updateNav"},{name:"keydown",delegate(){return this.selNavItem},filter(){return!this.parallax},handler(t){const{current:e,keyCode:i}=t,s=X(e,this.attrItem);if(!vt(s))return;let n=i===_.HOME?0:i===_.END?"last":i===_.LEFT?"previous":i===_.RIGHT?"next":-1;~n&&(t.preventDefault(),this.show(n))}}],methods:{updateNav(){const t=this.getValidIndex();for(const e of this.navItems){const i=X(e,this.attrItem),s=k("a,button",e)||e;if(vt(i)){const o=$t(i)===t;j(e,this.clsActive,o),j(s,"bdt-disabled",this.parallax),p(s,{"aria-selected":o,tabindex:o&&!this.parallax?null:-1}),o&&s&&E(P(e),":focus-within")&&s.focus()}else j(e,"bdt-invisible",this.finite&&(i==="previous"&&t===0||i==="next"&&t>=this.maxIndex))}}}},Jn={mixins:[ma,wa,qa,yi],props:{clsActivated:String,easing:String,index:Number,finite:Boolean,velocity:Number},data:()=>({easing:"ease",finite:!1,velocity:1,index:0,prevIndex:-1,stack:[],percent:0,clsActive:"bdt-active",clsActivated:"",clsEnter:"bdt-slide-enter",clsLeave:"bdt-slide-leave",clsSlideActive:"bdt-slide-active",Transitioner:!1,transitionOptions:{}}),connected(){this.prevIndex=-1,this.index=this.getValidIndex(this.$props.index),this.stack=[]},disconnected(){D(this.slides,this.clsActive)},computed:{duration:({velocity:t},e)=>Kn(e.offsetWidth/t),list:({selList:t},e)=>k(t,e),maxIndex(){return this.length-1},slides(){return B(this.list)},length(){return this.slides.length}},watch:{slides(t,e){e&&this.$emit()}},observe:ct(),events:{itemshow({target:t}){$(t,this.clsEnter,this.clsSlideActive)},itemshown({target:t}){D(t,this.clsEnter)},itemhide({target:t}){$(t,this.clsLeave)},itemhidden({target:t}){D(t,this.clsLeave,this.clsSlideActive)}},methods:{show(t,e=!1){var i;if(this.dragging||!this.length||this.parallax)return;const{stack:s}=this,n=e?0:s.length,o=()=>{s.splice(n,1),s.length&&this.show(s.shift(),!0)};if(s[e?"unshift":"push"](t),!e&&s.length>1){s.length===2&&((i=this._transitioner)==null||i.forward(Math.min(this.duration,200)));return}const r=this.getIndex(this.index),a=y(this.slides,this.clsActive)&&this.slides[r],l=this.getIndex(t,this.index),h=this.slides[l];if(a===h){o();return}if(this.dir=Ua(t,r),this.prevIndex=r,this.index=l,a&&!g(a,"beforeitemhide",[this])||!g(h,"beforeitemshow",[this,a])){this.index=this.prevIndex,o();return}const u=this._show(a,h,e).then(()=>{a&&g(a,"itemhidden",[this]),g(h,"itemshown",[this]),s.shift(),this._transitioner=null,requestAnimationFrame(()=>s.length&&this.show(s.shift(),!0))});return a&&g(a,"itemhide",[this]),g(h,"itemshow",[this]),u},getIndex(t=this.index,e=this.index){return tt(ot(t,this.slides,e,this.finite),0,Math.max(0,this.maxIndex))},getValidIndex(t=this.index,e=this.prevIndex){return this.getIndex(t,e)},_show(t,e,i){if(this._transitioner=this._getTransitioner(t,e,this.dir,{easing:i?e.offsetWidth<600?"cubic-bezier(0.25, 0.46, 0.45, 0.94)":"cubic-bezier(0.165, 0.84, 0.44, 1)":this.easing,...this.transitionOptions}),!i&&!t)return this._translate(1),Promise.resolve();const{length:s}=this.stack;return this._transitioner[s>1?"forward":"show"](s>1?Math.min(this.duration,75+75/(s-1)):this.duration,this.percent)},_translate(t,e=this.prevIndex,i=this.index){const s=this._getTransitioner(e===i?!1:e,i);return s.translate(t),s},_getTransitioner(t=this.prevIndex,e=this.index,i=this.dir||1,s=this.transitionOptions){return new this.Transitioner($e(t)?this.slides[t]:t,$e(e)?this.slides[e]:e,i*(V?-1:1),s)}}};function Ua(t,e){return t==="next"?1:t==="previous"||t<e?-1:1}function Kn(t){return .5*t+300}var Zn={mixins:[Jn],props:{animation:String},data:{animation:"slide",clsActivated:"bdt-transition-active",Animations:ks,Transitioner:ga},computed:{animation({animation:t,Animations:e}){return{...e[t]||e.slide,name:t}},transitionOptions(){return{animation:this.animation}}},events:{beforeitemshow({target:t}){$(t,this.clsActive)},itemshown({target:t}){$(t,this.clsActivated)},itemhidden({target:t}){D(t,this.clsActive,this.clsActivated)}}},Qn={...ks,fade:{show(){return[{opacity:0},{opacity:1}]},percent(t){return 1-c(t,"opacity")},translate(t){return[{opacity:1-t},{opacity:t}]}},scale:{show(){return[{opacity:0,transform:ue(1-.2)},{opacity:1,transform:ue(1)}]},percent(t){return 1-c(t,"opacity")},translate(t){return[{opacity:1-t,transform:ue(1-.2*t)},{opacity:t,transform:ue(1-.2+.2*t)}]}}},to={mixins:[ys,Zn],functional:!0,props:{delayControls:Number,preload:Number,videoAutoplay:Boolean,template:String},data:()=>({preload:1,videoAutoplay:!1,delayControls:3e3,items:[],cls:"bdt-open",clsPage:"bdt-lightbox-page",selList:".bdt-lightbox-items",attrItem:"bdt-lightbox-item",selClose:".bdt-close-large",selCaption:".bdt-lightbox-caption",pauseOnHover:!1,velocity:2,Animations:Qn,template:'<div class="bdt-lightbox bdt-overflow-hidden"> <ul class="bdt-lightbox-items"></ul> <div class="bdt-lightbox-toolbar bdt-position-top bdt-text-right bdt-transition-slide-top bdt-transition-opaque"> <button class="bdt-lightbox-toolbar-icon bdt-close-large" type="button" bdt-close></button> </div> <a class="bdt-lightbox-button bdt-position-center-left bdt-position-medium bdt-transition-fade" href bdt-slidenav-previous bdt-lightbox-item="previous"></a> <a class="bdt-lightbox-button bdt-position-center-right bdt-position-medium bdt-transition-fade" href bdt-slidenav-next bdt-lightbox-item="next"></a> <div class="bdt-lightbox-toolbar bdt-lightbox-caption bdt-position-bottom bdt-text-center bdt-transition-slide-bottom bdt-transition-opaque"></div> </div>'}),created(){const t=k(this.template),e=k(this.selList,t);this.items.forEach(()=>L(e,"<li>"));const i=k("[bdt-close]",t),s=this.t("close");i&&s&&(i.dataset.i18n=JSON.stringify({label:s})),this.$mount(L(this.container,t))},computed:{caption:({selCaption:t},e)=>k(t,e)},events:[{name:`${pi} ${mt} keydown`,handler:"showControls"},{name:"click",self:!0,delegate(){return`${this.selList} > *`},handler(t){t.defaultPrevented||this.hide()}},{name:"shown",self:!0,handler:"showControls"},{name:"hide",self:!0,handler(){this.hideControls(),D(this.slides,this.clsActive),O.stop(this.slides)}},{name:"hidden",self:!0,handler(){this.$destroy(!0)}},{name:"keyup",el:()=>document,handler({keyCode:t}){if(!this.isToggled(this.$el)||!this.draggable)return;let e=-1;t===_.LEFT?e="previous":t===_.RIGHT?e="next":t===_.HOME?e=0:t===_.END&&(e="last"),~e&&this.show(e)}},{name:"beforeitemshow",handler(t){this.isToggled()||(this.draggable=!1,t.preventDefault(),this.toggleElement(this.$el,!0,!1),this.animation=Qn.scale,D(t.target,this.clsActive),this.stack.splice(1,0,this.index))}},{name:"itemshow",handler(){Lt(this.caption,this.getItem().caption||"");for(let t=-this.preload;t<=this.preload;t++)this.loadItem(this.index+t)}},{name:"itemshown",handler(){this.draggable=this.$props.draggable}},{name:"itemload",async handler(t,e){const{source:i,type:s,alt:n="",poster:o,attrs:r={}}=e;if(this.setItem(e,"<span bdt-spinner></span>"),!i)return;let a;const l={allowfullscreen:"",style:"max-width: 100%; box-sizing: border-box;","bdt-responsive":"","bdt-video":`${this.videoAutoplay}`};if(s==="image"||i.match(/\.(avif|jpe?g|jfif|a?png|gif|svg|webp)($|\?)/i)){const h=Ve("img",{src:i,alt:n,...r});b(h,"load",()=>this.setItem(e,h)),b(h,"error",()=>this.setError(e))}else if(s==="video"||i.match(/\.(mp4|webm|ogv)($|\?)/i)){const h=Ve("video",{src:i,poster:o,controls:"",playsinline:"","bdt-video":`${this.videoAutoplay}`,...r});b(h,"loadedmetadata",()=>this.setItem(e,h)),b(h,"error",()=>this.setError(e))}else if(s==="iframe"||i.match(/\.(html|php)($|\?)/i))this.setItem(e,Ve("iframe",{src:i,allowfullscreen:"",class:"bdt-lightbox-iframe",...r}));else if(a=i.match(/\/\/(?:.*?youtube(-nocookie)?\..*?(?:[?&]v=|\/shorts\/)|youtu\.be\/)([\w-]{11})[&?]?(.*)?/))this.setItem(e,Ve("iframe",{src:`https://www.youtube${a[1]||""}.com/embed/${a[2]}${a[3]?`?${a[3]}`:""}`,width:1920,height:1080,...l,...r}));else if(a=i.match(/\/\/.*?vimeo\.[a-z]+\/(\d+)[&?]?(.*)?/))try{const{height:h,width:u}=await(await fetch(`https://vimeo.com/api/oembed.json?maxwidth=1920&url=${encodeURI(i)}`,{credentials:"omit"})).json();this.setItem(e,Ve("iframe",{src:`https://player.vimeo.com/video/${a[1]}${a[2]?`?${a[2]}`:""}`,width:u,height:h,...l,...r}))}catch{this.setError(e)}}}],methods:{loadItem(t=this.index){const e=this.getItem(t);this.getSlide(e).childElementCount||g(this.$el,"itemload",[e])},getItem(t=this.index){return this.items[ot(t,this.slides)]},setItem(t,e){g(this.$el,"itemloaded",[this,Lt(this.getSlide(t),e)])},getSlide(t){return this.slides[this.items.indexOf(t)]},setError(t){this.setItem(t,'<span bdt-icon="icon: bolt; ratio: 2"></span>')},showControls(){clearTimeout(this.controlsTimer),this.controlsTimer=setTimeout(this.hideControls,this.delayControls),$(this.$el,"bdt-active","bdt-transition-active")},hideControls(){D(this.$el,"bdt-active","bdt-transition-active")}}};function Ve(t,e){const i=Wt(`<${t}>`);return p(i,e),i}var Va={install:Ya,props:{toggle:String},data:{toggle:"a"},computed:{toggles:({toggle:t},e)=>z(t,e)},watch:{toggles(t){this.hide();for(const e of t)R(e,"a")&&p(e,"role","button")}},disconnected(){this.hide()},events:{name:"click",delegate(){return`${this.toggle}:not(.bdt-disabled)`},handler(t){t.preventDefault(),this.show(t.current)}},methods:{show(t){const e=Hs(this.toggles.map(eo),"source");if(xe(t)){const{source:i}=eo(t);t=bt(e,({source:s})=>i===s)}return this.panel=this.panel||this.$create("lightboxPanel",{...this.$props,items:e}),b(this.panel.$el,"hidden",()=>this.panel=null),this.panel.show(t)},hide(){var t;return(t=this.panel)==null?void 0:t.hide()}}};function Ya(t,e){t.lightboxPanel||t.component("lightboxPanel",to),gt(e.props,t.component("lightboxPanel").options.props)}function eo(t){const e={};for(const i of["href","caption","type","poster","alt","attrs"])e[i==="href"?"source":i]=X(t,i);return e.attrs=ce(e.attrs),e}var Ga={mixins:[We],functional:!0,args:["message","status"],data:{message:"",status:"",timeout:5e3,group:"",pos:"top-center",clsContainer:"bdt-notification",clsClose:"bdt-notification-close",clsMsg:"bdt-notification-message"},install:Xa,computed:{marginProp:({pos:t})=>`margin-${t.match(/[a-z]+(?=-)/)[0]}`,startProps(){return{opacity:0,[this.marginProp]:-this.$el.offsetHeight}}},created(){const t=`${this.clsContainer}-${this.pos}`,e=`data-${this.clsContainer}-container`,i=k(`.${t}[${e}]`,this.container)||L(this.container,`<div class="${this.clsContainer} ${t}" ${e}></div>`);this.$mount(L(i,`<div class="${this.clsMsg}${this.status?` ${this.clsMsg}-${this.status}`:""}" role="alert"> <a href class="${this.clsClose}" data-bdt-close></a> <div>${this.message}</div> </div>`))},async connected(){const t=S(c(this.$el,this.marginProp));await O.start(c(this.$el,this.startProps),{opacity:1,[this.marginProp]:t}),this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},events:{click(t){t.target.closest('a[href="#"],a[href=""]')&&t.preventDefault(),this.close()},[he](){this.timer&&clearTimeout(this.timer)},[Oe](){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))}},methods:{async close(t){const e=i=>{const s=P(i);g(i,"close",[this]),at(i),s!=null&&s.hasChildNodes()||at(s)};this.timer&&clearTimeout(this.timer),t||await O.start(this.$el,this.startProps),e(this.$el)}}};function Xa(t){t.notification.closeAll=function(e,i){St(document.body,s=>{const n=t.getComponent(s,"notification");n&&(!e||e===n.group)&&n.close(i)})}}var Si={props:{media:Boolean},data:{media:!1},connected(){const t=Ja(this.media,this.$el);if(this.matchMedia=!0,t){this.mediaObj=window.matchMedia(t);const e=()=>{this.matchMedia=this.mediaObj.matches,g(this.$el,Ht("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=b(this.mediaObj,"change",()=>{e(),this.$emit("resize")}),e()}},disconnected(){var t;(t=this.offMediaObj)==null||t.call(this)}};function Ja(t,e){if(N(t)){if(dt(t,"@"))t=S(c(e,`--bdt-breakpoint-${t.substr(1)}`));else if(isNaN(t))return t}return t&&vt(t)?`(min-width: ${t}px)`:""}function io(t){return Math.ceil(Math.max(0,...z("[stroke]",t).map(e=>{try{return e.getTotalLength()}catch{return 0}})))}const Ii={x:Ti,y:Ti,rotate:Ti,scale:Ti,color:Es,backgroundColor:Es,borderColor:Es,blur:Kt,hue:Kt,fopacity:Kt,grayscale:Kt,invert:Kt,saturate:Kt,sepia:Kt,opacity:Za,stroke:Qa,bgx:oo,bgy:oo},{keys:so}=Object;var no={mixins:[Si],props:ho(so(Ii),"list"),data:ho(so(Ii),void 0),computed:{props(t,e){const i={};for(const n in t)n in Ii&&!G(t[n])&&(i[n]=t[n].slice());const s={};for(const n in i)s[n]=Ii[n](n,e,i[n],i);return s}},events:{load(){this.$emit()}},methods:{reset(){for(const t in this.getCss(0))c(this.$el,t,"")},getCss(t){const e={};for(const i in this.props)this.props[i](e,tt(t));return e.willChange=Object.keys(e).map(ri).join(","),e}}};function Ti(t,e,i){let s=Ei(i)||{x:"px",y:"px",rotate:"deg"}[t]||"",n;return t==="x"||t==="y"?(t=`translate${It(t)}`,n=o=>S(S(o).toFixed(s==="px"?0:6))):t==="scale"&&(s="",n=o=>{var r;return Ei([o])?U(o,"width",e,!0)/e[`offset${(r=o.endsWith)!=null&&r.call(o,"vh")?"Height":"Width"}`]:S(o)}),i.length===1&&i.unshift(t==="scale"?1:0),i=pe(i,n),(o,r)=>{o.transform=`${o.transform||""} ${t}(${Ye(i,r)}${s})`}}function Es(t,e,i){return i.length===1&&i.unshift(Ge(e,t,"")),i=pe(i,s=>Ka(e,s)),(s,n)=>{const[o,r,a]=lo(i,n),l=o.map((h,u)=>(h+=a*(r[u]-h),u===3?S(h):parseInt(h,10))).join(",");s[t]=`rgba(${l})`}}function Ka(t,e){return Ge(t,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(S)}function Kt(t,e,i){i.length===1&&i.unshift(0);const s=Ei(i)||{blur:"px",hue:"deg"}[t]||"%";return t={fopacity:"opacity",hue:"hue-rotate"}[t]||t,i=pe(i),(n,o)=>{const r=Ye(i,o);n.filter=`${n.filter||""} ${t}(${r+s})`}}function Za(t,e,i){return i.length===1&&i.unshift(Ge(e,t,"")),i=pe(i),(s,n)=>{s[t]=Ye(i,n)}}function Qa(t,e,i){i.length===1&&i.unshift(0);const s=Ei(i),n=io(e);return i=pe(i.reverse(),o=>(o=S(o),s==="%"?o*n/100:o)),i.some(([o])=>o)?(c(e,"strokeDasharray",n),(o,r)=>{o.strokeDashoffset=Ye(i,r)}):A}function oo(t,e,i,s){i.length===1&&i.unshift(0);const n=t==="bgy"?"height":"width";s[t]=pe(i,a=>U(a,n,e));const o=["bgx","bgy"].filter(a=>a in s);if(o.length===2&&t==="bgx")return A;if(Ge(e,"backgroundSize","")==="cover")return tl(t,e,i,s);const r={};for(const a of o)r[a]=ro(e,a);return ao(o,r,s)}function tl(t,e,i,s){const n=el(e);if(!n.width)return A;const o={width:e.offsetWidth,height:e.offsetHeight},r=["bgx","bgy"].filter(u=>u in s),a={};for(const u of r){const d=s[u].map(([M])=>M),f=Math.min(...d),v=Math.max(...d),x=d.indexOf(f)<d.indexOf(v),T=v-f;a[u]=`${(x?-T:0)-(x?f:v)}px`,o[u==="bgy"?"height":"width"]+=T}const l=Ri.cover(n,o);for(const u of r){const d=u==="bgy"?"height":"width",f=l[d]-o[d];a[u]=`max(${ro(e,u)},-${f}px) + ${a[u]}`}const h=ao(r,a,s);return(u,d)=>{h(u,d),u.backgroundSize=`${l.width}px ${l.height}px`,u.backgroundRepeat="no-repeat"}}function ro(t,e){return Ge(t,`background-position-${e.substr(-1)}`,"")}function ao(t,e,i){return function(s,n){for(const o of t){const r=Ye(i[o],n);s[`background-position-${o.substr(-1)}`]=`calc(${e[o]} + ${r}px)`}}}const Ci={};function el(t){const e=c(t,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(Ci[e])return Ci[e];const i=new Image;return e&&(i.src=e,!i.naturalWidth)?(i.onload=()=>{Ci[e]=Ps(i),g(t,Ht("load",!1))},Ps(i)):Ci[e]=Ps(i)}function Ps(t){return{width:t.naturalWidth,height:t.naturalHeight}}function pe(t,e=S){const i=[],{length:s}=t;let n=0;for(let o=0;o<s;o++){let[r,a]=N(t[o])?t[o].trim().split(/ (?![^(]*\))/):[t[o]];if(r=e(r),a=a?S(a)/100:null,o===0?a===null?a=0:a&&i.push([r,0]):o===s-1&&(a===null?a=1:a!==1&&(i.push([r,a]),a=1)),i.push([r,a]),a===null)n++;else if(n){const l=i[o-n-1][1],h=(a-l)/(n+1);for(let u=n;u>0;u--)i[o-u][1]=l+h*(n-u+1);n=0}}return i}function lo(t,e){const i=bt(t.slice(1),([,s])=>e<=s)+1;return[t[i-1][0],t[i][0],(e-t[i-1][1])/(t[i][1]-t[i-1][1])]}function Ye(t,e){const[i,s,n]=lo(t,e);return i+Math.abs(i-s)*n*(i<s?1:-1)}const il=/^-?\d+(?:\.\d+)?(\S+)?/;function Ei(t,e){var i;for(const s of t){const n=(i=s.match)==null?void 0:i.call(s,il);if(n)return n[1]}return e}function Ge(t,e,i){const s=t.style[e],n=c(c(t,e,i),e);return t.style[e]=s,n}function ho(t,e){return t.reduce((i,s)=>(i[s]=e,i),{})}function co(t,e){return e>=0?Math.pow(t,e+1):1-Math.pow(1-t,1-e)}var sl={mixins:[no],props:{target:String,viewport:Number,easing:Number,start:String,end:String},data:{target:!1,viewport:1,easing:1,start:0,end:0},computed:{target:({target:t},e)=>uo(t&&J(t,e)||e),start({start:t}){return U(t,"height",this.target,!0)},end({end:t,viewport:e}){return U(t||(e=(1-e)*100)&&`${e}vh+${e}%`,"height",this.target,!0)}},observe:[ms(),He({target:({target:t})=>t}),ct({target:({$el:t,target:e})=>[t,e,Ot(e,!0)]})],update:{read({percent:t},e){if(e.has("scroll")||(t=!1),!q(this.$el))return!1;if(!this.matchMedia)return;const i=t;return t=co(wi(this.target,this.start,this.end),this.easing),{percent:t,style:i===t?!1:this.getCss(t)}},write({style:t}){if(!this.matchMedia){this.reset();return}t&&c(this.$el,t)},events:["scroll","resize"]}};function uo(t){return t?"offsetTop"in t?t:uo(P(t)):document.documentElement}var fo={props:{parallax:Boolean,parallaxTarget:Boolean,parallaxStart:String,parallaxEnd:String,parallaxEasing:Number},data:{parallax:!1,parallaxTarget:!1,parallaxStart:0,parallaxEnd:0,parallaxEasing:0},observe:[ct({target:({$el:t,parallaxTarget:e})=>[t,e],filter:({parallax:t})=>t}),He({filter:({parallax:t})=>t})],computed:{parallaxTarget({parallaxTarget:t},e){return t&&J(t,e)||this.list}},update:{write(){if(!this.parallax)return;const t=this.parallaxTarget,e=U(this.parallaxStart,"height",t,!0),i=U(this.parallaxEnd,"height",t,!0),s=co(wi(t,e,i),this.parallaxEasing),[n,o]=this.getIndexAt(s),r=this.getValidIndex(n+Math.ceil(o)),a=this.slides[n],l=this.slides[r],{triggerShow:h,triggerShown:u,triggerHide:d,triggerHidden:f}=nl(this);if(~this.prevIndex)for(const x of new Set([this.index,this.prevIndex]))m([r,n],x)||(d(this.slides[x]),f(this.slides[x]));const v=this.prevIndex!==n||this.index!==r;this.dir=1,this.prevIndex=n,this.index=r,a!==l&&d(a),h(l),v&&u(a),this._translate(a===l?1:o,a,l)},events:["scroll","resize"]},methods:{getIndexAt(t){const e=t*(this.length-1);return[Math.floor(e),e%1]}}};function nl(t){const{clsSlideActive:e,clsEnter:i,clsLeave:s}=t;return{triggerShow:n,triggerShown:o,triggerHide:r,triggerHidden:a};function n(l){y(l,s)&&(r(l),a(l)),y(l,e)||(g(l,"beforeitemshow",[t]),g(l,"itemshow",[t]))}function o(l){y(l,i)&&g(l,"itemshown",[t])}function r(l){y(l,e)||n(l),y(l,i)&&o(l),y(l,s)||(g(l,"beforeitemhide",[t]),g(l,"itemhide",[t]))}function a(l){y(l,s)&&g(l,"itemhidden",[t])}}var po={update:{write(){if(this.stack.length||this.dragging||this.parallax)return;const t=this.getValidIndex();!~this.prevIndex||this.index!==t?this.show(t):this._translate(1,this.prevIndex,this.index)},events:["resize"]}},go={observe:Fe({target:({slides:t})=>t,targets:t=>t.getAdjacentSlides()}),methods:{getAdjacentSlides(){return[1,-1].map(t=>this.slides[this.getIndex(this.index+t)])}}};function ol(t,e,i,{center:s,easing:n,list:o}){const r=t?Xe(t,o,s):Xe(e,o,s)+w(e).width*i,a=e?Xe(e,o,s):r+w(t).width*i*(V?-1:1);let l;return{dir:i,show(h,u=0,d){const f=d?"linear":n;return h-=Math.round(h*tt(u,-1,1)),this.translate(u),u=t?u:tt(u,0,1),_s(this.getItemIn(),"itemin",{percent:u,duration:h,timing:f,dir:i}),t&&_s(this.getItemIn(!0),"itemout",{percent:1-u,duration:h,timing:f,dir:i}),new Promise(v=>{l||(l=v),O.start(o,{transform:W(-a*(V?-1:1),"px")},h,f).then(l,A)})},cancel(){return O.cancel(o)},reset(){c(o,"transform","")},async forward(h,u=this.percent()){return await this.cancel(),this.show(h,u,!0)},translate(h){const u=this.getDistance()*i*(V?-1:1);c(o,"transform",W(tt(-a+(u-u*h),-Je(o),w(o).width)*(V?-1:1),"px"));const d=this.getActives(),f=this.getItemIn(),v=this.getItemIn(!0);h=t?tt(h,-1,1):0;for(const x of B(o)){const T=m(d,x),M=x===f,wt=x===v,Ze=M||!wt&&(T||i*(V?-1:1)===-1^Pi(x,o)>Pi(t||e));_s(x,`itemtranslate${Ze?"in":"out"}`,{dir:i,percent:wt?1-h:M?h:T?1:0})}},percent(){return Math.abs((c(o,"transform").split(",")[4]*(V?-1:1)+r)/(a-r))},getDistance(){return Math.abs(a-r)},getItemIn(h=!1){let u=this.getActives(),d=vo(o,Xe(e||t,o,s));if(h){const f=u;u=d,d=f}return d[bt(d,f=>!m(u,f))]},getActives(){return vo(o,Xe(t||e,o,s))}}}function Xe(t,e,i){const s=Pi(t,e);return i?s-rl(t,e):Math.min(s,mo(e))}function mo(t){return Math.max(0,Je(t)-w(t).width)}function Je(t){return zt(B(t),e=>w(e).width)}function rl(t,e){return w(e).width/2-w(t).width/2}function Pi(t,e){return t&&(ss(t).left+(V?w(t).width-w(e).width:0))*(V?-1:1)||0}function vo(t,e){e-=1;const i=w(t).width,s=e+i+2;return B(t).filter(n=>{const o=Pi(n,t),r=o+Math.min(w(n).width,i);return o>=e&&r<=s})}function _s(t,e,i){g(t,Ht(e,!1,!1,i))}var al={mixins:[st,Jn,po,fo,go],props:{center:Boolean,sets:Boolean},data:{center:!1,sets:!1,attrItem:"bdt-slider-item",selList:".bdt-slider-items",selNav:".bdt-slider-nav",clsContainer:"bdt-slider-container",Transitioner:ol},computed:{finite({finite:t}){return t||ll(this.list,this.center)},maxIndex(){if(!this.finite||this.center&&!this.sets)return this.length-1;if(this.center)return Bt(this.sets);let t=0;const e=mo(this.list),i=bt(this.slides,s=>{if(t>=e)return!0;t+=w(s).width});return~i?i:this.length-1},sets({sets:t}){if(!t||this.parallax)return;let e=0;const i=[],s=w(this.list).width;for(let n=0;n<this.length;n++){const o=w(this.slides[n]).width;e+o>s&&(e=0),this.center?e<s/2&&e+o+w(this.slides[ot(+n+1,this.slides)]).width/2>s/2&&(i.push(+n),e=s/2-o/2):e===0&&i.push(Math.min(+n,this.maxIndex)),e+=o}if(i.length)return i},transitionOptions(){return{center:this.center,list:this.list}},slides(){return B(this.list).filter(q)}},connected(){j(this.$el,this.clsContainer,!k(`.${this.clsContainer}`,this.$el))},observe:ct({target:({slides:t})=>t}),update:{write(){for(const t of this.navItems){const e=$t(X(t,this.attrItem));e!==!1&&(t.hidden=!this.maxIndex||e>this.maxIndex||this.sets&&!m(this.sets,e))}this.reorder(),this.updateActiveClasses()},events:["resize"]},events:{beforeitemshow(t){!this.dragging&&this.sets&&this.stack.length<2&&!m(this.sets,this.index)&&(this.index=this.getValidIndex());const e=Math.abs(this.index-this.prevIndex+(this.dir>0&&this.index<this.prevIndex||this.dir<0&&this.index>this.prevIndex?(this.maxIndex+1)*this.dir:0));if(!this.dragging&&e>1){for(let n=0;n<e;n++)this.stack.splice(1,0,this.dir>0?"next":"previous");t.preventDefault();return}const i=this.dir<0||!this.slides[this.prevIndex]?this.index:this.prevIndex,s=Je(this.list)/this.length;this.duration=Kn(s/this.velocity)*(w(this.slides[i]).width/s),this.reorder()},itemshow(){~this.prevIndex&&$(this._getTransitioner().getItemIn(),this.clsActive),this.updateActiveClasses(this.prevIndex)},itemshown(){this.updateActiveClasses()}},methods:{reorder(){if(this.finite){c(this.slides,"order","");return}const t=this.dir>0&&this.slides[this.prevIndex]?this.prevIndex:this.index;if(this.slides.forEach((n,o)=>c(n,"order",this.dir>0&&o<t?1:this.dir<0&&o>=this.index?-1:"")),!this.center)return;const e=this.slides[t];let i=w(this.list).width/2-w(e).width/2,s=0;for(;i>0;){const n=this.getIndex(--s+t,t),o=this.slides[n];c(o,"order",n>t?-2:-1),i-=w(o).width}},updateActiveClasses(t=this.index){const e=this._getTransitioner(t).getActives(),i=[this.clsActive,!this.sets||m(this.sets,S(this.index))?this.clsActivated:""];for(const s of this.slides){const n=m(e,s);j(s,i,n),p(s,"aria-hidden",!n);for(const o of z(Se,s))pt(o,"_tabindex")||(o._tabindex=p(o,"tabindex")),p(o,"tabindex",n?o._tabindex:-1)}},getValidIndex(t=this.index,e=this.prevIndex){if(t=this.getIndex(t,e),!this.sets)return t;let i;do{if(m(this.sets,t))return t;i=t,t=this.getIndex(t+this.dir,e)}while(t!==i);return t},getAdjacentSlides(){const{width:t}=w(this.list),e=-t,i=t*2,s=w(this.slides[this.index]).width,n=this.center?t/2-s/2:0,o=new Set;for(const r of[-1,1]){let a=n+(r>0?s:0),l=0;do{const h=this.slides[this.getIndex(this.index+r+l++*r)];a+=w(h).width*r,o.add(h)}while(this.length>l&&a>e&&a<i)}return Array.from(o)},getIndexAt(t){let e=-1;const i=w(this.slides[0]).width,s=w(Bt(this.slides)).width,n=Je(this.list)-(this.center?i/2+s/2:s);let o=t*n,r=0;do{const a=w(this.slides[++e]).width,l=this.center?a/2+w(this.slides[e+1]).width/2:a;r=o/l%1,o-=l}while(o>=0&&e<this.maxIndex);return[e,r]}}};function ll(t,e){if(!t||t.length<2)return!0;const{width:i}=w(t);if(!e)return Math.ceil(Je(t))<Math.trunc(i+hl(t));const s=B(t),n=Math.trunc(i/2);for(const o in s){const r=s[o],a=w(r).width,l=new Set([r]);let h=0;for(const u of[-1,1]){let d=a/2,f=0;for(;d<n;){const v=s[ot(+o+u+f++*u,s)];if(l.has(v))return!0;d+=w(v).width,l.add(v)}h=Math.max(h,a/2+w(s[ot(+o+u,s)]).width/2-(d-n))}if(h>zt(s.filter(u=>!l.has(u)),u=>w(u).width))return!0}return!1}function hl(t){return Math.max(0,...B(t).map(e=>w(e).width))}var wo={mixins:[no],data:{selItem:"!li"},beforeConnect(){this.item=J(this.selItem,this.$el)},disconnected(){this.item=null},events:[{name:"itemin itemout",self:!0,el(){return this.item},handler({type:t,detail:{percent:e,duration:i,timing:s,dir:n}}){K.read(()=>{if(!this.matchMedia)return;const o=this.getCss(xo(t,n,e)),r=this.getCss(bo(t)?.5:n>0?1:0);K.write(()=>{c(this.$el,o),O.start(this.$el,r,i,s).catch(A)})})}},{name:"transitioncanceled transitionend",self:!0,el(){return this.item},handler(){O.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el(){return this.item},handler({type:t,detail:{percent:e,dir:i}}){K.read(()=>{if(!this.matchMedia){this.reset();return}const s=this.getCss(xo(t,i,e));K.write(()=>c(this.$el,s))})}}]};function bo(t){return ee(t,"in")}function xo(t,e,i){return i/=2,bo(t)^e<0?i:1-i}var cl={...ks,fade:{show(){return[{opacity:0,zIndex:0},{zIndex:-1}]},percent(t){return 1-c(t,"opacity")},translate(t){return[{opacity:1-t,zIndex:0},{zIndex:-1}]}},scale:{show(){return[{opacity:0,transform:ue(1+.5),zIndex:0},{zIndex:-1}]},percent(t){return 1-c(t,"opacity")},translate(t){return[{opacity:1-t,transform:ue(1+.5*t),zIndex:0},{zIndex:-1}]}},pull:{show(t){return t<0?[{transform:W(30),zIndex:-1},{transform:W(),zIndex:0}]:[{transform:W(-100),zIndex:0},{transform:W(),zIndex:-1}]},percent(t,e,i){return i<0?1-je(e):je(t)},translate(t,e){return e<0?[{transform:W(30*t),zIndex:-1},{transform:W(-100*(1-t)),zIndex:0}]:[{transform:W(-t*100),zIndex:0},{transform:W(30*(1-t)),zIndex:-1}]}},push:{show(t){return t<0?[{transform:W(100),zIndex:0},{transform:W(),zIndex:-1}]:[{transform:W(-30),zIndex:-1},{transform:W(),zIndex:0}]},percent(t,e,i){return i>0?1-je(e):je(t)},translate(t,e){return e<0?[{transform:W(t*100),zIndex:0},{transform:W(-30*(1-t)),zIndex:-1}]:[{transform:W(-30*t),zIndex:-1},{transform:W(100*(1-t)),zIndex:0}]}}},ul={mixins:[st,Zn,po,fo,go],props:{ratio:String,minHeight:String,maxHeight:String},data:{ratio:"16:9",minHeight:void 0,maxHeight:void 0,selList:".bdt-slideshow-items",attrItem:"bdt-slideshow-item",selNav:".bdt-slideshow-nav",Animations:cl},watch:{list(t){c(t,{aspectRatio:this.ratio?this.ratio.replace(":","/"):void 0,minHeight:this.minHeight,maxHeight:this.maxHeight,minWidth:"100%",maxWidth:"100%"})}},methods:{getAdjacentSlides(){return[1,-1].map(t=>this.slides[this.getIndex(this.index+t)])}}},dl={mixins:[st,_n],props:{group:String,threshold:Number,clsItem:String,clsPlaceholder:String,clsDrag:String,clsDragState:String,clsBase:String,clsNoDrag:String,clsEmpty:String,clsCustom:String,handle:String},data:{group:!1,threshold:5,clsItem:"bdt-sortable-item",clsPlaceholder:"bdt-sortable-placeholder",clsDrag:"bdt-sortable-drag",clsDragState:"bdt-drag",clsBase:"bdt-sortable",clsNoDrag:"bdt-sortable-nodrag",clsEmpty:"bdt-sortable-empty",clsCustom:"",handle:!1,pos:{}},created(){for(const t of["init","start","move","end"]){const e=this[t];this[t]=i=>{gt(this.pos,_t(i)),e(i)}}},events:{name:mt,passive:!1,handler:"init"},computed:{target:(t,e)=>(e.tBodies||[e])[0],items(){return B(this.target)},isEmpty(){return!this.items.length},handles({handle:t},e){return t?z(t,e):this.items}},watch:{isEmpty(t){j(this.target,this.clsEmpty,t)},handles(t,e){c(e,{touchAction:"",userSelect:""}),c(t,{touchAction:"none",userSelect:"none"})}},update:{write(t){if(!this.drag||!P(this.placeholder))return;const{pos:{x:e,y:i},origin:{offsetTop:s,offsetLeft:n},placeholder:o}=this;c(this.drag,{top:i-s,left:e-n});const r=this.getSortable(document.elementFromPoint(e,i));if(!r)return;const{items:a}=r;if(a.some(O.inProgress))return;const l=ml(a,{x:e,y:i});if(a.length&&(!l||l===o))return;const h=this.getSortable(o),u=vl(r.target,l,o,e,i,r===h&&t.moved!==l);u!==!1&&(u&&o===u||(r!==h?(h.remove(o),t.moved=l):delete t.moved,r.insert(o,u),this.touched.add(r)))},events:["move"]},methods:{init(t){const{target:e,button:i,defaultPrevented:s}=t,[n]=this.items.filter(o=>o.contains(e));!n||s||i>0||Vi(e)||e.closest(`.${this.clsNoDrag}`)||this.handle&&!e.closest(this.handle)||(t.preventDefault(),this.touched=new Set([this]),this.placeholder=n,this.origin={target:e,index:Et(n),...this.pos},b(document,pi,this.move),b(document,Dt,this.end),this.threshold||this.start(t))},start(t){this.drag=gl(this.$container,this.placeholder);const{left:e,top:i}=w(this.placeholder);gt(this.origin,{offsetLeft:this.pos.x-e,offsetTop:this.pos.y-i}),$(this.drag,this.clsDrag,this.clsCustom),$(this.placeholder,this.clsPlaceholder),$(this.items,this.clsItem),$(document.documentElement,this.clsDragState),g(this.$el,"start",[this,this.placeholder]),fl(this.pos),this.move(t)},move(t){this.drag?this.$emit("move"):(Math.abs(this.pos.x-this.origin.x)>this.threshold||Math.abs(this.pos.y-this.origin.y)>this.threshold)&&this.start(t)},end(){if(Pt(document,pi,this.move),Pt(document,Dt,this.end),!this.drag)return;pl();const t=this.getSortable(this.placeholder);this===t?this.origin.index!==Et(this.placeholder)&&g(this.$el,"moved",[this,this.placeholder]):(g(t.$el,"added",[t,this.placeholder]),g(this.$el,"removed",[this,this.placeholder])),g(this.$el,"stop",[this,this.placeholder]),at(this.drag),this.drag=null;for(const{clsPlaceholder:e,clsItem:i}of this.touched)for(const s of this.touched)D(s.items,e,i);this.touched=null,D(document.documentElement,this.clsDragState)},insert(t,e){$(this.items,this.clsItem);const i=()=>e?li(e,t):L(this.target,t);this.animate(i)},remove(t){this.target.contains(t)&&this.animate(()=>at(t))},getSortable(t){do{const e=this.$getComponent(t,"sortable");if(e&&(e===this||this.group!==!1&&e.group===this.group))return e}while(t=P(t))}}};let $o;function fl(t){let e=Date.now();$o=setInterval(()=>{let{x:i,y:s}=t;s+=document.scrollingElement.scrollTop;const n=(Date.now()-e)*.3;e=Date.now(),Ut(document.elementFromPoint(i,t.y)).reverse().some(o=>{let{scrollTop:r,scrollHeight:a}=o;const{top:l,bottom:h,height:u}=lt(o);if(l<s&&l+35>s)r-=n;else if(h>s&&h-35<s)r+=n;else return;if(r>0&&r<a-u)return o.scrollTop=r,!0})},15)}function pl(){clearInterval($o)}function gl(t,e){let i;if(R(e,"li","tr")){i=k("<div>"),L(i,e.cloneNode(!0).children);for(const s of e.getAttributeNames())p(i,s,e.getAttribute(s))}else i=e.cloneNode(!0);return L(t,i),c(i,"margin","0","important"),c(i,{boxSizing:"border-box",width:e.offsetWidth,height:e.offsetHeight,padding:c(e,"padding")}),it(i.firstElementChild,it(e.firstElementChild)),i}function ml(t,e){return t[bt(t,i=>ii(e,w(i)))]}function vl(t,e,i,s,n,o){if(!B(t).length)return;const r=w(e);if(!o)return wl(t,i)||n<r.top+r.height/2?e:e.nextElementSibling;const a=w(i),l=yo([r.top,r.bottom],[a.top,a.bottom]),[h,u,d,f]=l?[s,"width","left","right"]:[n,"height","top","bottom"],v=a[u]<r[u]?r[u]-a[u]:0;return a[d]<r[d]?v&&h<r[d]+v?!1:e.nextElementSibling:v&&h>r[f]-v?!1:e}function wl(t,e){const i=B(t).length===1;i&&L(t,e);const s=B(t),n=s.some((o,r)=>{const a=w(o);return s.slice(r+1).some(l=>{const h=w(l);return!yo([a.left,a.right],[h.left,h.right])})});return i&&at(e),n}function yo(t,e){return t[1]>e[0]&&e[1]>t[0]}var ko={props:{pos:String,offset:null,flip:Boolean,shift:Boolean,inset:Boolean},data:{pos:`bottom-${V?"right":"left"}`,offset:!1,flip:!0,shift:!0,inset:!1},connected(){this.pos=this.$props.pos.split("-").concat("center").slice(0,2),[this.dir,this.align]=this.pos,this.axis=m(["top","bottom"],this.dir)?"y":"x"},methods:{positionAt(t,e,i){let s=[this.getPositionOffset(t),this.getShiftOffset(t)];const n=[this.flip&&"flip",this.shift&&"shift"],o={element:[this.inset?this.dir:fi(this.dir),this.align],target:[this.dir,this.align]};if(this.axis==="y"){for(const l in o)o[l].reverse();s.reverse(),n.reverse()}const r=bl(t),a=w(t);c(t,{top:-a.height,left:-a.width}),fn(t,e,{attach:o,offset:s,boundary:i,placement:n,viewportOffset:this.getViewportOffset(t)}),r()},getPositionOffset(t=this.$el){return U(this.offset===!1?c(t,"--bdt-position-offset"):this.offset,this.axis==="x"?"width":"height",t)*(m(["left","top"],this.dir)?-1:1)*(this.inset?-1:1)},getShiftOffset(t=this.$el){return this.align==="center"?0:U(c(t,"--bdt-position-shift-offset"),this.axis==="y"?"width":"height",t)*(m(["left","top"],this.align)?1:-1)},getViewportOffset(t){return U(c(t,"--bdt-position-viewport-offset"))}}};function bl(t){const e=Ot(t),{scrollTop:i}=e;return()=>{i!==e.scrollTop&&(e.scrollTop=i)}}var xl={mixins:[We,Yt,ko],data:{pos:"top",animation:["bdt-animation-scale-up"],duration:100,cls:"bdt-active"},connected(){$l(this.$el)},disconnected(){this.hide()},methods:{show(){if(this.isToggled(this.tooltip||null))return;const{delay:t=0,title:e}=kl(this.$options);if(!e)return;const i=p(this.$el,"title"),s=b(this.$el,["blur",Oe],o=>!kt(o)&&this.hide());this.reset=()=>{p(this.$el,{title:i,"aria-describedby":null}),s()};const n=Jt(this);p(this.$el,{title:null,"aria-describedby":n}),clearTimeout(this.showTimer),this.showTimer=setTimeout(()=>this._show(e,n),t)},async hide(){var t;E(this.$el,"input:focus")||(clearTimeout(this.showTimer),this.isToggled(this.tooltip||null)&&await this.toggleElement(this.tooltip,!1,!1),(t=this.reset)==null||t.call(this),at(this.tooltip),this.tooltip=null)},async _show(t,e){this.tooltip=L(this.container,`<div id="${e}" class="bdt-${this.$options.name}" role="tooltip"> <div class="bdt-${this.$options.name}-inner">${t}</div> </div>`),b(this.tooltip,"toggled",(i,s)=>{if(!s)return;const n=()=>this.positionAt(this.tooltip,this.$el);n();const[o,r]=yl(this.tooltip,this.$el,this.pos);this.origin=this.axis==="y"?`${fi(o)}-${r}`:`${r}-${fi(o)}`;const a=[H(document,`keydown ${mt}`,this.hide,!1,l=>l.type===mt&&!this.$el.contains(l.target)||l.type==="keydown"&&l.keyCode===_.ESC),b([document,...Vt(this.$el)],"scroll",n,{passive:!0})];H(this.tooltip,"hide",()=>a.forEach(l=>l()),{self:!0})}),await this.toggleElement(this.tooltip,!0)||this.hide()}},events:{[`focus ${he} ${mt}`](t){kt(t)||this.show()}}};function $l(t){ni(t)||p(t,"tabindex","0")}function yl(t,e,[i,s]){const n=I(t),o=I(e),r=[["left","right"],["top","bottom"]];for(const l of r){if(n[l[0]]>=o[l[1]]){i=l[1];break}if(n[l[1]]<=o[l[0]]){i=l[0];break}}return s=(m(r[0],i)?r[1]:r[0]).find(l=>n[l]===o[l])||"center",[i,s]}function kl(t){const{el:e,id:i,data:s}=t;return["delay","title"].reduce((n,o)=>({[o]:X(e,o),...n}),{...ce(X(e,i),["title"]),...s})}var Sl={mixins:[yi],i18n:{invalidMime:"Invalid File Type: %s",invalidName:"Invalid File Name: %s",invalidSize:"Invalid File Size: %s Kilobytes Max"},props:{allow:String,clsDragover:String,concurrent:Number,maxSize:Number,method:String,mime:String,multiple:Boolean,name:String,params:Object,type:String,url:String},data:{allow:!1,clsDragover:"bdt-dragover",concurrent:1,maxSize:0,method:"POST",mime:!1,multiple:!1,name:"files[]",params:{},type:"",url:"",abort:A,beforeAll:A,beforeSend:A,complete:A,completeAll:A,error:A,fail:A,load:A,loadEnd:A,loadStart:A,progress:A},events:{change(t){E(t.target,'input[type="file"]')&&(t.preventDefault(),t.target.files&&this.upload(t.target.files),t.target.value="")},drop(t){_i(t);const e=t.dataTransfer;e!=null&&e.files&&(D(this.$el,this.clsDragover),this.upload(e.files))},dragenter(t){_i(t)},dragover(t){_i(t),$(this.$el,this.clsDragover)},dragleave(t){_i(t),D(this.$el,this.clsDragover)}},methods:{async upload(t){if(t=Tt(t),!t.length)return;g(this.$el,"upload",[t]);for(const s of t){if(this.maxSize&&this.maxSize*1e3<s.size){this.fail(this.t("invalidSize",this.maxSize));return}if(this.allow&&!So(this.allow,s.name)){this.fail(this.t("invalidName",this.allow));return}if(this.mime&&!So(this.mime,s.type)){this.fail(this.t("invalidMime",this.mime));return}}this.multiple||(t=t.slice(0,1)),this.beforeAll(this,t);const e=Il(t,this.concurrent),i=async s=>{const n=new FormData;s.forEach(o=>n.append(this.name,o));for(const o in this.params)n.append(o,this.params[o]);try{const o=await Tl(this.url,{data:n,method:this.method,responseType:this.type,beforeSend:r=>{const{xhr:a}=r;b(a.upload,"progress",this.progress);for(const l of["loadStart","load","loadEnd","abort"])b(a,l.toLowerCase(),this[l]);return this.beforeSend(r)}});this.complete(o),e.length?await i(e.shift()):this.completeAll(o)}catch(o){this.error(o)}};await i(e.shift())}}};function So(t,e){return e.match(new RegExp(`^${t.replace(/\//g,"\\/").replace(/\*\*/g,"(\\/[^\\/]+)*").replace(/\*/g,"[^\\/]+").replace(/((?!\\))\?/g,"$1.")}$`,"i"))}function Il(t,e){const i=[];for(let s=0;s<t.length;s+=e)i.push(t.slice(s,s+e));return i}function _i(t){t.preventDefault(),t.stopPropagation()}function Tl(t,e){const i={data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:A,responseType:"",...e};return Promise.resolve().then(()=>i.beforeSend(i)).then(()=>Cl(t,i))}function Cl(t,e){return new Promise((i,s)=>{const{xhr:n}=e;for(const o in e)if(o in n)try{n[o]=e[o]}catch{}n.open(e.method.toUpperCase(),t);for(const o in e.headers)n.setRequestHeader(o,e.headers[o]);b(n,"load",()=>{n.status===0||n.status>=200&&n.status<300||n.status===304?i(n):s(gt(Error(n.statusText),{xhr:n,status:n.status}))}),b(n,"error",()=>s(gt(Error("Network Error"),{xhr:n}))),b(n,"timeout",()=>s(gt(Error("Network Timeout"),{xhr:n}))),n.send(e.data)})}var El=Object.freeze({__proto__:null,Countdown:Hr,Filter:ea,Lightbox:Va,LightboxPanel:to,Notification:Ga,Parallax:sl,Slider:al,SliderParallax:wo,Slideshow:ul,SlideshowParallax:wo,Sortable:dl,Tooltip:xl,Upload:Sl});function Pl(t){qt&&window.MutationObserver&&(document.body?requestAnimationFrame(()=>Io(t)):new MutationObserver((e,i)=>{document.body&&(Io(t),i.disconnect())}).observe(document.documentElement,{childList:!0}))}function Io(t){g(document,"uikit:init",t),document.body&&St(document.body,To),new MutationObserver(e=>e.forEach(_l)).observe(document,{subtree:!0,childList:!0}),new MutationObserver(e=>e.forEach(Al)).observe(document,{subtree:!0,attributes:!0}),t._initialized=!0}function _l({addedNodes:t,removedNodes:e}){for(const i of t)St(i,To);for(const i of e)St(i,Dl)}function Al({target:t,attributeName:e}){var i;const s=Co(e);if(s){if(yt(t,e)){Ue(s,t);return}(i=ki(t,s))==null||i.$destroy()}}function To(t){const e=Xt(t);for(const i in Xt(t))Ts(e[i]);for(const i of t.getAttributeNames()){const s=Co(i);s&&Ue(s,t)}}function Dl(t){const e=Xt(t);for(const i in Xt(t))Cs(e[i])}function Co(t){dt(t,"data-")&&(t=t.slice(5));const e=fe[t];return e&&(xt(e)?e:e.options).name}Wa(ut),ja(ut);var Eo={mixins:[st,Yt],props:{animation:Boolean,targets:String,active:null,collapsible:Boolean,multiple:Boolean,toggle:String,content:String,offset:Number},data:{targets:"> *",active:!1,animation:!0,collapsible:!0,multiple:!1,clsOpen:"bdt-open",toggle:"> .bdt-accordion-title",content:"> .bdt-accordion-content",offset:0},computed:{items:({targets:t},e)=>z(t,e),toggles({toggle:t}){return this.items.map(e=>k(t,e))},contents({content:t}){return this.items.map(e=>{var i;return((i=e._wrapper)==null?void 0:i.firstElementChild)||k(t,e)})}},watch:{items(t,e){if(e||y(t,this.clsOpen))return;const i=this.active!==!1&&t[Number(this.active)]||!this.collapsible&&t[0];i&&this.toggle(i,!1)},toggles(){this.$emit()},contents(t){for(const e of t){const i=y(this.items.find(s=>s.contains(e)),this.clsOpen);Ai(e,!i)}this.$emit()}},observe:Fe(),events:[{name:"click keydown",delegate(){return`${this.targets} ${this.$props.toggle}`},async handler(t){var e;t.type==="keydown"&&t.keyCode!==_.SPACE||(t.preventDefault(),(e=this._off)==null||e.call(this),this._off=Ml(t.target),await this.toggle(Et(this.toggles,t.current)),this._off())}},{name:"shown hidden",self:!0,delegate(){return this.targets},handler(){this.$emit()}}],update(){const t=Ie(this.items,`.${this.clsOpen}`);for(const e in this.items){const i=this.toggles[e],s=this.contents[e];if(!i||!s)continue;i.id=Jt(this,i),s.id=Jt(this,s);const n=m(t,this.items[e]);p(i,{role:R(i,"a")?"button":null,"aria-controls":s.id,"aria-expanded":n,"aria-disabled":!this.collapsible&&t.length<2&&n}),p(s,{role:"region","aria-labelledby":i.id}),R(s,"ul")&&p(B(s),"role","presentation")}},methods:{toggle(t,e){t=this.items[ot(t,this.items)];let i=[t];const s=Ie(this.items,`.${this.clsOpen}`);if(!this.multiple&&!m(s,i[0])&&(i=i.concat(s)),!(!this.collapsible&&s.length<2&&m(s,t)))return Promise.all(i.map(n=>this.toggleElement(n,!m(s,n),(o,r)=>{if(j(o,this.clsOpen,r),e===!1||!this.animation){Ai(k(this.content,o),!r);return}return Ol(o,r,this)})))}}};function Ai(t,e){t&&(t.hidden=e)}async function Ol(t,e,{content:i,duration:s,velocity:n,transition:o}){var r;i=((r=t._wrapper)==null?void 0:r.firstElementChild)||k(i,t),t._wrapper||(t._wrapper=ui(i,"<div>"));const a=t._wrapper;c(a,"overflow","hidden");const l=S(c(a,"height"));await O.cancel(a),Ai(i,!1);const h=zt(["marginTop","marginBottom"],d=>c(i,d))+w(i).height,u=l/h;s=(n*h+s)*(e?1-u:u),c(a,"height",l),await O.start(a,{height:e?h:0},s,o),_e(i),delete t._wrapper,e||Ai(i,!0)}function Ml(t){const e=Ot(t,!0);let i;return function s(){i=requestAnimationFrame(()=>{const{top:n}=w(t);n<0&&(e.scrollTop+=n),s()})}(),()=>requestAnimationFrame(()=>cancelAnimationFrame(i))}var Bl={mixins:[st,Yt],args:"animation",props:{animation:Boolean,close:String},data:{animation:!0,selClose:".bdt-alert-close",duration:150},events:{name:"click",delegate(){return this.selClose},handler(t){t.preventDefault(),this.close()}},methods:{async close(){await this.toggleElement(this.$el,!1,Nl),this.$destroy(!0)}}};function Nl(t,e,{duration:i,transition:s,velocity:n}){const o=S(c(t,"height"));return c(t,"height",o),O.start(t,{height:0,marginTop:0,marginBottom:0,paddingTop:0,paddingBottom:0,borderTop:0,borderBottom:0,opacity:0},n*o+i,s)}var Po={args:"autoplay",props:{automute:Boolean,autoplay:Boolean},data:{automute:!1,autoplay:!0},connected(){this.autoplay==="inview"&&!yt(this.$el,"preload")&&(this.$el.preload="none"),R(this.$el,"iframe")&&!yt(this.$el,"allow")&&(this.$el.allow="autoplay"),this.automute&&rn(this.$el)},observe:[ze({filter:({$el:t,autoplay:e})=>e&&an(t),handler([{isIntersecting:t}]){t||this.$el.webkitDisplayingFullscreen||document.fullscreenElement===this.$el?nn(this.$el):on(this.$el)},args:{intersecting:!1},options:({$el:t,autoplay:e})=>({root:e==="inview"?null:P(t)})})]},zl={mixins:[Po],props:{width:Number,height:Number},data:{automute:!0},events:{"load loadedmetadata"(){this.$emit("resize")}},observe:ct({target:({$el:t})=>[_o(t)||P(t)],filter:({$el:t})=>!Ao(t)}),update:{read(){if(Ao(this.$el))return;const{ratio:t,cover:e}=Ri,{$el:i,width:s,height:n}=this;let o={width:s,height:n};if(!s||!n){const h={width:i.naturalWidth||i.videoWidth||i.clientWidth,height:i.naturalHeight||i.videoHeight||i.clientHeight};s?o=t(h,"width",s):n?o=t(h,"height",n):o=h}const{offsetHeight:r,offsetWidth:a}=_o(i)||P(i),l=e(o,{width:a+(a%2?1:0),height:r+(r%2?1:0)});return!l.width||!l.height?!1:l},write({height:t,width:e}){c(this.$el,{height:t,width:e})},events:["resize"]}};function _o(t){for(;t=P(t);)if(c(t,"position")!=="static")return t}function Ao(t){return R(t,"img","video")}let Z;var Do={mixins:[We,ko,Yt],args:"pos",props:{mode:"list",toggle:Boolean,boundary:Boolean,boundaryX:Boolean,boundaryY:Boolean,target:Boolean,targetX:Boolean,targetY:Boolean,stretch:Boolean,delayShow:Number,delayHide:Number,autoUpdate:Boolean,clsDrop:String,animateOut:Boolean,bgScroll:Boolean,closeOnScroll:Boolean},data:{mode:["click","hover"],toggle:"- *",boundary:!1,boundaryX:!1,boundaryY:!1,target:!1,targetX:!1,targetY:!1,stretch:!1,delayShow:0,delayHide:800,autoUpdate:!0,clsDrop:!1,animateOut:!1,bgScroll:!0,animation:["bdt-animation-fade"],cls:"bdt-open",container:!1,closeOnScroll:!1},computed:{boundary({boundary:t,boundaryX:e,boundaryY:i},s){return[J(e||t,s)||window,J(i||t,s)||window]},target({target:t,targetX:e,targetY:i},s){return e||(e=t||this.targetEl),i||(i=t||this.targetEl),[e===!0?window:J(e,s),i===!0?window:J(i,s)]}},created(){this.tracker=new Qs},beforeConnect(){this.clsDrop=this.$props.clsDrop||`bdt-${this.$options.name}`},connected(){$(this.$el,"bdt-drop",this.clsDrop),this.toggle&&!this.targetEl&&(this.targetEl=Ll(this)),this._style=Li(this.$el.style,["width","height"])},disconnected(){this.isActive()&&(this.hide(!1),Z=null),c(this.$el,this._style)},observe:Fe({target:({toggle:t,$el:e})=>J(t,e),targets:({$el:t})=>t}),events:[{name:"click",delegate(){return".bdt-drop-close"},handler(t){t.preventDefault(),this.hide(!1)}},{name:"click",delegate(){return'a[href*="#"]'},handler({defaultPrevented:t,current:e}){const{hash:i}=e;!t&&i&&oe(e)&&!this.$el.contains(k(i))&&this.hide(!1)}},{name:"beforescroll",handler(){this.hide(!1)}},{name:"toggle",self:!0,handler(t,e){t.preventDefault(),this.isToggled()?this.hide(!1):this.show(e==null?void 0:e.$el,!1)}},{name:"toggleshow",self:!0,handler(t,e){t.preventDefault(),this.show(e==null?void 0:e.$el)}},{name:"togglehide",self:!0,handler(t){t.preventDefault(),E(this.$el,":focus,:hover")||this.hide()}},{name:`${he} focusin`,filter(){return m(this.mode,"hover")},handler(t){kt(t)||this.clearTimers()}},{name:`${Oe} focusout`,filter(){return m(this.mode,"hover")},handler(t){!kt(t)&&t.relatedTarget&&this.hide()}},{name:"toggled",self:!0,handler(t,e){e&&(this.clearTimers(),this.position())}},{name:"show",self:!0,handler(){Z=this,this.tracker.init(),p(this.targetEl,"aria-expanded",!0);const t=[Wl(this),jl(this),ql(this),this.autoUpdate&&Oo(this),this.closeOnScroll&&Rl(this)];H(this.$el,"hide",()=>t.forEach(e=>e&&e()),{self:!0}),this.bgScroll||H(this.$el,"hidden",On(this.$el),{self:!0})}},{name:"beforehide",self:!0,handler:"clearTimers"},{name:"hide",handler({target:t}){if(this.$el!==t){Z=Z===null&&this.$el.contains(t)&&this.isToggled()?this:Z;return}Z=this.isActive()?null:Z,this.tracker.cancel(),p(this.targetEl,"aria-expanded",null)}}],update:{write(){this.isToggled()&&!y(this.$el,this.clsEnter)&&this.position()}},methods:{show(t=this.targetEl,e=!0){if(this.isToggled()&&t&&this.targetEl&&t!==this.targetEl&&this.hide(!1,!1),this.targetEl=t,this.clearTimers(),!this.isActive()){if(Z){if(e&&Z.isDelaying){this.showTimer=setTimeout(()=>E(t,":hover")&&this.show(),10);return}let i;for(;Z&&i!==Z&&!Z.$el.contains(this.$el);)i=Z,Z.hide(!1,!1)}this.container&&P(this.$el)!==this.container&&L(this.container,this.$el),this.showTimer=setTimeout(()=>this.toggleElement(this.$el,!0),e&&this.delayShow||0)}},hide(t=!0,e=!0){const i=()=>this.toggleElement(this.$el,!1,this.animateOut&&e);this.clearTimers(),this.isDelayedHide=t,this.isDelaying=Fl(this.$el).some(s=>this.tracker.movesTo(s)),t&&this.isDelaying?this.hideTimer=setTimeout(this.hide,50):t&&this.delayHide?this.hideTimer=setTimeout(i,this.delayHide):i()},clearTimers(){clearTimeout(this.showTimer),clearTimeout(this.hideTimer),this.showTimer=null,this.hideTimer=null,this.isDelaying=!1},isActive(){return Z===this},position(){D(this.$el,"bdt-drop-stack"),c(this.$el,this._style),this.$el.hidden=!0;const t=this.target.map(n=>Hl(this.$el,n)),e=this.getViewportOffset(this.$el),i=[[0,["x","width","left","right"]],[1,["y","height","top","bottom"]]];for(const[n,[o,r]]of i)this.axis!==o&&m([o,!0],this.stretch)&&c(this.$el,{[r]:Math.min(I(this.boundary[n])[r],t[n][r]-2*e),[`overflow-${o}`]:"auto"});const s=t[0].width-2*e;this.$el.hidden=!1,c(this.$el,"maxWidth",""),this.$el.offsetWidth>s&&$(this.$el,"bdt-drop-stack"),c(this.$el,"maxWidth",s),this.positionAt(this.$el,this.target,this.boundary);for(const[n,[o,r,a,l]]of i)if(this.axis===o&&m([o,!0],this.stretch)){const h=Math.abs(this.getPositionOffset()),u=I(this.target[n]),d=I(this.$el);c(this.$el,{[r]:(u[a]>d[a]?u[this.inset?l:a]-Math.max(I(this.boundary[n])[a],t[n][a]+e):Math.min(I(this.boundary[n])[l],t[n][l]-e)-u[this.inset?a:l])-h,[`overflow-${o}`]:"auto"}),this.positionAt(this.$el,this.target,this.boundary)}}}};function Fl(t){const e=[];return St(t,i=>c(i,"position")!=="static"&&e.push(i)),e}function Hl(t,e){return lt(Vt(e).find(i=>i.contains(t)))}function Ll(t){const{$el:e}=t.$create("toggle",J(t.toggle,t.$el),{target:t.$el,mode:t.mode});return p(e,"aria-haspopup",!0),e}function Wl(t){const e=()=>t.$emit(),i=[rs(e),Me(Vt(t.$el).concat(t.target),e)];return()=>i.map(s=>s.disconnect())}function Oo(t,e=()=>t.$emit()){return b([document,...Vt(t.$el)],"scroll",e,{passive:!0})}function jl(t){return b(document,"keydown",e=>{e.keyCode===_.ESC&&t.hide(!1)})}function Rl(t){return Oo(t,()=>t.hide(!1))}function ql(t){return b(document,mt,({target:e})=>{t.$el.contains(e)||H(document,`${Dt} ${gi} scroll`,({defaultPrevented:i,type:s,target:n})=>{!i&&s===Dt&&e===n&&!(t.targetEl&&Ws(e,t.targetEl))&&t.hide(!1)},!0)})}var Mo={mixins:[st,We],props:{align:String,clsDrop:String,boundary:Boolean,dropbar:Boolean,dropbarAnchor:Boolean,duration:Number,mode:Boolean,offset:Boolean,stretch:Boolean,delayShow:Boolean,delayHide:Boolean,target:Boolean,targetX:Boolean,targetY:Boolean,animation:Boolean,animateOut:Boolean,closeOnScroll:Boolean},data:{align:V?"right":"left",clsDrop:"bdt-dropdown",clsDropbar:"bdt-dropnav-dropbar",boundary:!0,dropbar:!1,dropbarAnchor:!1,duration:200,container:!1,selNavItem:"> li > a, > ul > li > a"},computed:{dropbarAnchor:({dropbarAnchor:t},e)=>J(t,e)||e,dropbar({dropbar:t}){return t?(t=this._dropbar||J(t,this.$el)||k(`+ .${this.clsDropbar}`,this.$el),t||(this._dropbar=k("<div></div>"))):null},dropContainer(t,e){return this.container||e},dropdowns({clsDrop:t},e){var i;const s=z(`.${t}`,e);if(this.dropContainer!==e)for(const n of z(`.${t}`,this.dropContainer)){const o=(i=this.getDropdown(n))==null?void 0:i.targetEl;!m(s,n)&&o&&this.$el.contains(o)&&s.push(n)}return s},items({selNavItem:t},e){return z(t,e)}},watch:{dropbar(t){$(t,"bdt-dropbar","bdt-dropbar-top",this.clsDropbar,`bdt-${this.$options.name}-dropbar`)},dropdowns(){this.initializeDropdowns()}},connected(){this.initializeDropdowns()},disconnected(){at(this._dropbar),delete this._dropbar},events:[{name:"mouseover focusin",delegate(){return this.selNavItem},handler({current:t}){const e=this.getActive();e&&m(e.mode,"hover")&&e.targetEl&&!t.contains(e.targetEl)&&!e.isDelaying&&e.hide(!1)}},{name:"keydown",self:!0,delegate(){return this.selNavItem},handler(t){var e;const{current:i,keyCode:s}=t,n=this.getActive();s===_.DOWN&&(n==null?void 0:n.targetEl)===i&&(t.preventDefault(),(e=k(Se,n.$el))==null||e.focus()),Bo(t,this.items,n)}},{name:"keydown",el(){return this.dropContainer},delegate(){return`.${this.clsDrop}`},handler(t){var e;const{current:i,keyCode:s}=t;if(!m(this.dropdowns,i))return;const n=this.getActive();let o=-1;if(s===_.HOME?o=0:s===_.END?o="last":s===_.UP?o="previous":s===_.DOWN?o="next":s===_.ESC&&((e=n.targetEl)==null||e.focus()),~o){t.preventDefault();const r=z(Se,i);r[ot(o,r,bt(r,a=>E(a,":focus")))].focus()}Bo(t,this.items,n)}},{name:"mouseleave",el(){return this.dropbar},filter(){return this.dropbar},handler(){const t=this.getActive();t&&m(t.mode,"hover")&&!this.dropdowns.some(e=>E(e,":hover"))&&t.hide()}},{name:"beforeshow",el(){return this.dropContainer},filter(){return this.dropbar},handler({target:t}){this.isDropbarDrop(t)&&(this.dropbar.previousElementSibling!==this.dropbarAnchor&&hi(this.dropbarAnchor,this.dropbar),$(t,`${this.clsDrop}-dropbar`))}},{name:"show",el(){return this.dropContainer},filter(){return this.dropbar},handler({target:t}){if(!this.isDropbarDrop(t))return;const e=this.getDropdown(t),i=()=>{const s=Math.max(...Te(t,`.${this.clsDrop}`).concat(t).map(n=>I(n).bottom));I(this.dropbar,{left:I(this.dropbar).left,top:this.getDropbarOffset(e.getPositionOffset())}),this.transitionTo(s-I(this.dropbar).top+S(c(t,"marginBottom")),t)};this._observer=Me([e.$el,...e.target],i),i()}},{name:"beforehide",el(){return this.dropContainer},filter(){return this.dropbar},handler(t){const e=this.getActive();E(this.dropbar,":hover")&&e.$el===t.target&&this.isDropbarDrop(e.$el)&&m(e.mode,"hover")&&e.isDelayedHide&&!this.items.some(i=>e.targetEl!==i&&E(i,":focus"))&&t.preventDefault()}},{name:"hide",el(){return this.dropContainer},filter(){return this.dropbar},handler({target:t}){var e;if(!this.isDropbarDrop(t))return;(e=this._observer)==null||e.disconnect();const i=this.getActive();(!i||i.$el===t)&&this.transitionTo(0)}}],methods:{getActive(){var t;return m(this.dropdowns,(t=Z)==null?void 0:t.$el)&&Z},async transitionTo(t,e){const{dropbar:i}=this,s=it(i);if(e=s<t&&e,await O.cancel([e,i]),e){const n=I(e).top-I(i).top-s;n>0&&c(e,"transitionDelay",`${n/t*this.duration}ms`)}c(e,"clipPath",`polygon(0 0,100% 0,100% ${s}px,0 ${s}px)`),it(i,s),await Promise.all([O.start(i,{height:t},this.duration),O.start(e,{clipPath:`polygon(0 0,100% 0,100% ${t}px,0 ${t}px)`},this.duration).finally(()=>c(e,{clipPath:"",transitionDelay:""}))]).catch(A)},getDropdown(t){return this.$getComponent(t,"drop")||this.$getComponent(t,"dropdown")},isDropbarDrop(t){return m(this.dropdowns,t)&&y(t,this.clsDrop)},getDropbarOffset(t){const{$el:e,target:i,targetY:s}=this,{top:n,height:o}=I(J(s||i||e,e));return n+o+t},initializeDropdowns(){this.$create("drop",this.dropdowns.filter(t=>!this.getDropdown(t)),{...this.$props,flip:!1,shift:!0,pos:`bottom-${this.align}`,boundary:this.boundary===!0?this.$el:this.boundary})}}};function Bo(t,e,i){var s,n,o;const{current:r,keyCode:a}=t;let l=-1;a===_.HOME?l=0:a===_.END?l="last":a===_.LEFT?l="previous":a===_.RIGHT?l="next":a===_.TAB&&((s=i.targetEl)==null||s.focus(),(n=i.hide)==null||n.call(i,!1)),~l&&(t.preventDefault(),(o=i.hide)==null||o.call(i,!1),e[ot(l,e,e.indexOf(i.targetEl||r))].focus())}var Ul={mixins:[st],args:"target",props:{target:Boolean},data:{target:!1},computed:{input:(t,e)=>k(ke,e),state(){return this.input.nextElementSibling},target({target:t},e){return t&&(t===!0&&P(this.input)===e&&this.input.nextElementSibling||k(t,e))}},update(){var t;const{target:e,input:i}=this;if(!e)return;let s;const n=Vi(e)?"value":"textContent",o=e[n],r=(t=i.files)!=null&&t[0]?i.files[0].name:E(i,"select")&&(s=z("option",i).filter(a=>a.selected)[0])?s.textContent:i.value;o!==r&&(e[n]=r)},events:[{name:"change",handler(){this.$emit()}},{name:"reset",el(){return this.$el.closest("form")},handler(){this.$emit()}}]},Vl={extends:kn,mixins:[st],name:"grid",props:{masonry:Boolean,parallax:String,parallaxStart:String,parallaxEnd:String,parallaxJustify:Boolean},data:{margin:"bdt-grid-margin",clsStack:"bdt-grid-stack",masonry:!1,parallax:0,parallaxStart:0,parallaxEnd:0,parallaxJustify:!1},connected(){this.masonry&&$(this.$el,"bdt-flex-top","bdt-flex-wrap-top")},observe:He({filter:({parallax:t,parallaxJustify:e})=>t||e}),update:[{write({rows:t}){j(this.$el,this.clsStack,!t.some(e=>e.length>1))},events:["resize"]},{read(t){const{rows:e}=t;let{masonry:i,parallax:s,parallaxJustify:n,margin:o}=this;if(s=Math.max(0,U(s)),!(i||s||n)||No(e)||e[0].some((x,T)=>e.some(M=>M[T]&&M[T].offsetWidth!==x.offsetWidth)))return t.translates=t.scrollColumns=!1;let r=Gl(e,o),a,l;i?[a,l]=Yl(e,r,i==="next"):a=Xl(e);const h=a.map(x=>zt(x,"offsetHeight")+r*(x.length-1)),u=Math.max(0,...h);let d,f,v;return(s||n)&&(d=h.map((x,T)=>n?u-x+s:s/(T%2||8)),n||(s=Math.max(...h.map((x,T)=>x+d[T]-u))),f=U(this.parallaxStart,"height",this.$el,!0),v=U(this.parallaxEnd,"height",this.$el,!0)),{columns:a,translates:l,scrollColumns:d,parallaxStart:f,parallaxEnd:v,padding:s,height:l?u:""}},write({height:t,padding:e}){c(this.$el,"paddingBottom",e||""),t!==!1&&c(this.$el,"height",t)},events:["resize"]},{read({rows:t,scrollColumns:e,parallaxStart:i,parallaxEnd:s}){return e&&No(t)?!1:{scrolled:e?wi(this.$el,i,s):!1}},write({columns:t,scrolled:e,scrollColumns:i,translates:s}){!e&&!s||t.forEach((n,o)=>n.forEach((r,a)=>{let[l,h]=s&&s[o][a]||[0,0];e&&(h+=e*i[o]),c(r,"transform",`translate(${l}px, ${h}px)`)}))},events:["scroll","resize"]}]};function No(t){return t.flat().some(e=>c(e,"position")==="absolute")}function Yl(t,e,i){const s=[],n=[],o=Array(t[0].length).fill(0);let r=0;for(let a of t){V&&(a=a.reverse());let l=0;for(const h in a){const{offsetWidth:u,offsetHeight:d}=a[h],f=i?h:o.indexOf(Math.min(...o));As(s,f,a[h]),As(n,f,[(f-h)*u*(V?-1:1),o[f]-r]),o[f]+=d+e,l=Math.max(l,d)}r+=l+e}return[s,n]}function Gl(t,e){const i=t.flat().find(s=>y(s,e));return S(i?c(i,"marginTop"):c(t[0][0],"paddingLeft"))}function Xl(t){const e=[];for(const i of t)for(const s in i)As(e,s,i[s]);return e}function As(t,e,i){t[e]||(t[e]=[]),t[e].push(i)}var Jl={args:"target",props:{target:String,row:Boolean},data:{target:"> *",row:!0},computed:{elements:({target:t},e)=>z(t,e)},observe:ct({target:({$el:t,elements:e})=>e.reduce((i,s)=>i.concat(s,...s.children),[t])}),update:{read(){return{rows:(this.row?vs(this.elements):[this.elements]).map(Kl)}},write({rows:t}){for(const{heights:e,elements:i}of t)i.forEach((s,n)=>c(s,"minHeight",e[n]))},events:["resize"]}};function Kl(t){if(t.length<2)return{heights:[""],elements:t};let e=t.map(Zl);const i=Math.max(...e);return{heights:t.map((s,n)=>e[n].toFixed(2)===i.toFixed(2)?"":i),elements:t}}function Zl(t){const e=Li(t.style,["display","minHeight"]);q(t)||c(t,"display","block","important"),c(t,"minHeight","");const i=w(t).height-Ae(t,"height","content-box");return c(t,e),i}var Ql={args:"target",props:{target:String},data:{target:""},computed:{target:({target:t},e)=>J(t,e)},observe:ct({target:({target:t})=>t}),update:{read(){return{height:this.target.offsetHeight}},write({height:t}){c(this.$el,{minHeight:t})},events:["resize"]}},th={props:{expand:Boolean,offsetTop:Boolean,offsetBottom:Boolean,minHeight:Number},data:{expand:!1,offsetTop:!1,offsetBottom:!1,minHeight:0},observe:[ms({filter:({expand:t})=>t}),ct({target:({$el:t})=>Ut(t)})],update:{read(){if(!q(this.$el))return!1;let t="";const e=Ae(this.$el,"height","content-box"),{body:i,scrollingElement:s}=document,n=Ot(this.$el),{height:o}=lt(n===i?s:n),r=s===n||i===n;if(t=`calc(${r?"100vh":`${o}px`}`,this.expand){const a=w(n).height-w(this.$el).height;t+=` - ${a}px`}else{if(this.offsetTop)if(r){const a=this.offsetTop===!0?this.$el:J(this.offsetTop,this.$el),l=Rt(a)[0]-Rt(n)[0];t+=l>0&&l<o/2?` - ${l}px`:""}else t+=` - ${c(n,"paddingTop")}`;this.offsetBottom===!0?t+=` - ${w(this.$el.nextElementSibling).height}px`:vt(this.offsetBottom)?t+=` - ${this.offsetBottom}vh`:this.offsetBottom&&ee(this.offsetBottom,"px")?t+=` - ${S(this.offsetBottom)}px`:N(this.offsetBottom)&&(t+=` - ${w(J(this.offsetBottom,this.$el)).height}px`)}return t+=`${e?` - ${e}px`:""})`,{minHeight:t}},write({minHeight:t}){c(this.$el,"minHeight",`max(${this.minHeight||0}px, ${t})`)},events:["resize"]}},eh='<svg width="14" height="14" viewBox="0 0 14 14"><line fill="none" stroke="#000" stroke-width="1.1" x1="1" y1="1" x2="13" y2="13"/><line fill="none" stroke="#000" stroke-width="1.1" x1="13" y1="1" x2="1" y2="13"/></svg>',ih='<svg width="20" height="20" viewBox="0 0 20 20"><line fill="none" stroke="#000" stroke-width="1.4" x1="1" y1="1" x2="19" y2="19"/><line fill="none" stroke="#000" stroke-width="1.4" x1="19" y1="1" x2="1" y2="19"/></svg>',sh='<svg width="12" height="12" viewBox="0 0 12 12"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 3.5 6 8.5 11 3.5"/></svg>',nh='<svg width="20" height="20" viewBox="0 0 20 20"><rect x="9" y="4" width="1" height="11"/><rect x="4" y="9" width="11" height="1"/></svg>',oh='<svg width="14" height="14" viewBox="0 0 14 14"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 4 7 10 13 4"/></svg>',rh='<svg width="12" height="12" viewBox="0 0 12 12"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 3.5 6 8.5 11 3.5"/></svg>',ah='<svg width="12" height="12" viewBox="0 0 12 12"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 3.5 6 8.5 11 3.5"/></svg>',lh='<svg width="20" height="20" viewBox="0 0 20 20"><style>.bdt-navbar-toggle-animate svg&gt;[class*=&quot;line-&quot;]{transition:0.2s ease-in-out;transition-property:transform, opacity;transform-origin:center;opacity:1}.bdt-navbar-toggle-animate svg&gt;.line-3{opacity:0}.bdt-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-3{opacity:1}.bdt-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-2{transform:rotate(45deg)}.bdt-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-3{transform:rotate(-45deg)}.bdt-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-1,.bdt-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-4{opacity:0}.bdt-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-1{transform:translateY(6px) scaleX(0)}.bdt-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-4{transform:translateY(-6px) scaleX(0)}</style><rect class="line-1" y="3" width="20" height="2"/><rect class="line-2" y="9" width="20" height="2"/><rect class="line-3" y="9" width="20" height="2"/><rect class="line-4" y="15" width="20" height="2"/></svg>',hh='<svg width="40" height="40" viewBox="0 0 40 40"><rect x="19" y="0" width="1" height="40"/><rect x="0" y="19" width="40" height="1"/></svg>',ch='<svg width="7" height="12" viewBox="0 0 7 12"><polyline fill="none" stroke="#000" stroke-width="1.2" points="1 1 6 6 1 11"/></svg>',uh='<svg width="7" height="12" viewBox="0 0 7 12"><polyline fill="none" stroke="#000" stroke-width="1.2" points="6 1 1 6 6 11"/></svg>',zo='<svg width="20" height="20" viewBox="0 0 20 20"><circle fill="none" stroke="#000" stroke-width="1.1" cx="9" cy="9" r="7"/><path fill="none" stroke="#000" stroke-width="1.1" d="M14,14 L18,18 L14,14 Z"/></svg>',dh='<svg width="40" height="40" viewBox="0 0 40 40"><circle fill="none" stroke="#000" stroke-width="1.8" cx="17.5" cy="17.5" r="16.5"/><line fill="none" stroke="#000" stroke-width="1.8" x1="38" y1="39" x2="29" y2="30"/></svg>',fh='<svg width="24" height="24" viewBox="0 0 24 24"><circle fill="none" stroke="#000" stroke-width="1.1" cx="10.5" cy="10.5" r="9.5"/><line fill="none" stroke="#000" stroke-width="1.1" x1="23" y1="23" x2="17" y2="17"/></svg>',ph='<svg width="25" height="40" viewBox="0 0 25 40"><polyline fill="none" stroke="#000" stroke-width="2" points="4.002,38.547 22.527,20.024 4,1.5"/></svg>',gh='<svg width="14" height="24" viewBox="0 0 14 24"><polyline fill="none" stroke="#000" stroke-width="1.4" points="1.225,23 12.775,12 1.225,1"/></svg>',mh='<svg width="25" height="40" viewBox="0 0 25 40"><polyline fill="none" stroke="#000" stroke-width="2" points="20.527,1.5 2,20.024 20.525,38.547"/></svg>',vh='<svg width="14" height="24" viewBox="0 0 14 24"><polyline fill="none" stroke="#000" stroke-width="1.4" points="12.775,1 1.225,12 12.775,23"/></svg>',wh='<svg width="30" height="30" viewBox="0 0 30 30"><circle fill="none" stroke="#000" cx="15" cy="15" r="14"/></svg>',bh='<svg width="18" height="10" viewBox="0 0 18 10"><polyline fill="none" stroke="#000" stroke-width="1.2" points="1 9 9 1 17 9"/></svg>',Fo={args:"src",props:{width:Number,height:Number,ratio:Number},data:{ratio:1},connected(){this.svg=this.getSvg().then(t=>{if(!this._connected)return;const e=xh(t,this.$el);return this.svgEl&&e!==this.svgEl&&at(this.svgEl),$h.call(this,e,t),this.svgEl=e},A)},disconnected(){this.svg.then(t=>{this._connected||(Ui(this.$el)&&(this.$el.hidden=!1),at(t),this.svgEl=null)}),this.svg=null},methods:{async getSvg(){}}};function xh(t,e){if(Ui(e)||R(e,"canvas")){e.hidden=!0;const s=e.nextElementSibling;return Ho(t,s)?s:hi(e,t)}const i=e.lastElementChild;return Ho(t,i)?i:L(e,t)}function Ho(t,e){return R(t,"svg")&&R(e,"svg")&&t.innerHTML===e.innerHTML}function $h(t,e){const i=["width","height"];let s=i.map(o=>this[o]);s.some(o=>o)||(s=i.map(o=>p(e,o)));const n=p(e,"viewBox");n&&!s.some(o=>o)&&(s=n.split(" ").slice(2)),s.forEach((o,r)=>p(t,i[r],S(o)*this.ratio||null))}const Di={spinner:wh,totop:bh,marker:nh,"close-icon":eh,"close-large":ih,"drop-parent-icon":sh,"nav-parent-icon":rh,"nav-parent-icon-large":oh,"navbar-parent-icon":ah,"navbar-toggle-icon":lh,"overlay-icon":hh,"pagination-next":ch,"pagination-previous":uh,"search-icon":zo,"search-large":dh,"search-navbar":fh,"search-toggle-icon":zo,"slidenav-next":gh,"slidenav-next-large":ph,"slidenav-previous":vh,"slidenav-previous-large":mh},Ds={install:Ah,mixins:[Fo],args:"icon",props:{icon:String},isIcon:!0,beforeConnect(){$(this.$el,"bdt-icon")},methods:{async getSvg(){const t=Oh(this.icon);if(!t)throw"Icon not found.";return t}}},Zt={args:!1,extends:Ds,data:t=>({icon:Mt(t.constructor.options.name)}),beforeConnect(){$(this.$el,this.$options.id)}},yh={extends:Zt,beforeConnect(){const t=this.$props.icon;this.icon=this.$el.closest(".bdt-nav-primary")?`${t}-large`:t}},kh={extends:Zt,mixins:[yi],i18n:{toggle:"Open Search",submit:"Submit Search"},beforeConnect(){const t=y(this.$el,"bdt-search-toggle")||y(this.$el,"bdt-navbar-toggle");if(this.icon=t?"search-toggle-icon":y(this.$el,"bdt-search-icon")&&oi(this.$el,".bdt-search-large")?"search-large":oi(this.$el,".bdt-search-navbar")?"search-navbar":this.$props.icon,!yt(this.$el,"aria-label"))if(t){const e=this.t("toggle");p(this.$el,"aria-label",e)}else{const e=this.$el.closest("a,button");if(e){const i=this.t("submit");p(e,"aria-label",i)}}}},Sh={extends:Zt,beforeConnect(){p(this.$el,"role","status")},methods:{async getSvg(){const t=await Ds.methods.getSvg.call(this);return this.ratio!==1&&c(k("circle",t),"strokeWidth",1/this.ratio),t}}},Qt={extends:Zt,mixins:[yi],beforeConnect(){const t=this.$el.closest("a,button");p(t,"role",this.role!==null&&R(t,"a")?"button":this.role);const e=this.t("label");e&&!yt(t,"aria-label")&&p(t,"aria-label",e)}},Lo={extends:Qt,beforeConnect(){$(this.$el,"bdt-slidenav");const t=this.$props.icon;this.icon=y(this.$el,"bdt-slidenav-large")?`${t}-large`:t}},Ih={extends:Qt,i18n:{label:"Open menu"}},Th={extends:Qt,i18n:{label:"Close"},beforeConnect(){this.icon=`close-${y(this.$el,"bdt-close-large")?"large":"icon"}`}},Ch={extends:Qt,i18n:{label:"Open"}},Eh={extends:Qt,i18n:{label:"Back to top"}},Ph={extends:Qt,i18n:{label:"Next page"},data:{role:null}},_h={extends:Qt,i18n:{label:"Previous page"},data:{role:null}},Oi={};function Ah(t){t.icon.add=(e,i)=>{const s=N(e)?{[e]:i}:e;Nt(s,(n,o)=>{Di[o]=n,delete Oi[o]}),t._initialized&&St(document.body,n=>Nt(t.getComponents(n),o=>{o.$options.isIcon&&o.icon in s&&o.$reset()}))}}const Dh={twitter:"x"};function Oh(t){return t=Dh[t]||t,Di[t]?(Oi[t]||(Oi[t]=k((Di[Mh(t)]||Di[t]).trim())),Oi[t].cloneNode(!0)):null}function Mh(t){return V?Hi(Hi(t,"left","right"),"previous","next"):t}const Bh=qt&&"loading"in HTMLImageElement.prototype;var Nh={args:"dataSrc",props:{dataSrc:String,sources:String,margin:String,target:String,loading:String},data:{dataSrc:"",sources:!1,margin:"50%",target:!1,loading:"lazy"},connected(){if(this.loading!=="lazy"){this.load();return}Bh&&Mi(this.$el)&&(this.$el.loading="lazy",Os(this.$el)),Wh(this.$el)},disconnected(){this.img&&(this.img.onload=""),delete this.img},observe:ze({target:({$el:t,$props:e})=>[t,...Ce(e.target,t)],handler(t,e){this.load(),e.disconnect()},options:({margin:t})=>({rootMargin:t}),filter:({loading:t})=>t==="lazy"}),methods:{load(){if(this.img)return this.img;const t=Mi(this.$el)?this.$el:Fh(this.$el,this.dataSrc,this.sources);return ye(t,"loading"),Os(this.$el,t.currentSrc),this.img=t}}};function Os(t,e){if(Mi(t)){const i=P(t);(R(i,"picture")?B(i):[t]).forEach(n=>Wo(n,n))}else e&&!m(t.style.backgroundImage,e)&&(c(t,"backgroundImage",`url(${Xi(e)})`),g(t,Ht("load",!1)))}const zh=["data-src","data-srcset","sizes"];function Wo(t,e){for(const i of zh){const s=X(t,i);s&&p(e,i.replace(/^(data-)+/,""),s)}}function Fh(t,e,i){const s=new Image;return Hh(s,i),Wo(t,s),s.onload=()=>{Os(t,s.currentSrc)},p(s,"src",e),s}function Hh(t,e){if(e=Lh(e),e.length){const i=Wt("<picture>");for(const s of e){const n=Wt("<source>");p(n,s),L(i,n)}L(i,t)}}function Lh(t){if(!t)return[];if(dt(t,"["))try{t=JSON.parse(t)}catch{t=[]}else t=ce(t);return Q(t)||(t=[t]),t.filter(e=>!ti(e))}function Wh(t){Mi(t)&&!yt(t,"src")&&p(t,"src",'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"></svg>')}function Mi(t){return R(t,"img")}var jh={props:{target:String,selActive:String},data:{target:!1,selActive:!1},computed:{target:({target:t},e)=>t?z(t,e):[e]},observe:[gs({target:({target:t})=>t,options:{attributes:!0,attributeFilter:["class"],attributeOldValue:!0}}),{target:({target:t})=>t,observe:(t,e)=>{const i=Me([...t,document.documentElement],e),s=[b(document,"scroll itemshown itemhidden",e,{passive:!0,capture:!0}),b(document,"show hide transitionstart",n=>(e(),i.observe(n.target))),b(document,"shown hidden transitionend transitioncancel",n=>(e(),i.unobserve(n.target)))];return{disconnect(){i.disconnect(),s.map(n=>n())}}},handler(){this.$emit()}}],update:{read(){for(const t of this.target)si(t,"bdt-light,bdt-dark",!this.selActive||E(t,this.selActive)?Rh(t):"")}}};function Rh(t){const{left:e,top:i,height:s,width:n}=w(t);let o;for(const r of[.25,.5,.75]){const a=t.ownerDocument.elementsFromPoint(Math.max(0,e)+n*r,Math.max(0,i)+s/2);for(const l of a){if(t.contains(l)||l.closest('[class*="-leave"]')&&a.some(u=>l!==u&&E(u,'[class*="-enter"]')))continue;const h=c(l,"--bdt-inverse");if(h){if(h===o)return`bdt-${h}`;o=h;break}}}return o?`bdt-${o}`:""}var qh={mixins:[st,Si],props:{fill:String},data:{fill:"",clsWrapper:"bdt-leader-fill",clsHide:"bdt-leader-hide",attrFill:"data-fill"},computed:{fill:({fill:t},e)=>t||c(e,"--bdt-leader-fill-content")},connected(){[this.wrapper]=is(this.$el,`<span class="${this.clsWrapper}">`)},disconnected(){_e(this.wrapper.childNodes)},observe:ct(),update:{read(){return{width:Math.trunc(this.$el.offsetWidth/2),fill:this.fill,hide:!this.matchMedia}},write({width:t,fill:e,hide:i}){j(this.wrapper,this.clsHide,i),p(this.wrapper,this.attrFill,new Array(t).join(e))},events:["resize"]}},Uh={install:Vh,mixins:[ys],data:{clsPage:"bdt-modal-page",selPanel:".bdt-modal-dialog",selClose:".bdt-modal-close, .bdt-modal-close-default, .bdt-modal-close-outside, .bdt-modal-close-full"},events:[{name:"fullscreenchange webkitendfullscreen",capture:!0,handler(t){R(t.target,"video")&&this.isToggled()&&!document.fullscreenElement&&this.hide()}},{name:"show",self:!0,handler(){y(this.panel,"bdt-margin-auto-vertical")?$(this.$el,"bdt-flex"):c(this.$el,"display","block"),it(this.$el)}},{name:"hidden",self:!0,handler(){c(this.$el,"display",""),D(this.$el,"bdt-flex")}}]};function Vh({modal:t}){t.dialog=function(i,s){const n=t(`<div class="bdt-modal"> <div class="bdt-modal-dialog">${i}</div> </div>`,{stack:!0,role:"alertdialog",...s});return n.show(),b(n.$el,"hidden",async()=>{await Promise.resolve(),n.$destroy(!0)},{self:!0}),n},t.alert=function(i,s){return e(({i18n:n})=>`<div class="bdt-modal-body">${N(i)?i:Lt(i)}</div> <div class="bdt-modal-footer bdt-text-right"> <button class="bdt-button bdt-button-primary bdt-modal-close" autofocus>${n.ok}</button> </div>`,s)},t.confirm=function(i,s){return e(({i18n:n})=>`<form> <div class="bdt-modal-body">${N(i)?i:Lt(i)}</div> <div class="bdt-modal-footer bdt-text-right"> <button class="bdt-button bdt-button-default bdt-modal-close" type="button">${n.cancel}</button> <button class="bdt-button bdt-button-primary" autofocus>${n.ok}</button> </div> </form>`,s,()=>Promise.reject())},t.prompt=function(i,s,n){const o=e(({i18n:l})=>`<form class="bdt-form-stacked"> <div class="bdt-modal-body"> <label>${N(i)?i:Lt(i)}</label> <input class="bdt-input" value="${s||""}" autofocus> </div> <div class="bdt-modal-footer bdt-text-right"> <button class="bdt-button bdt-button-default bdt-modal-close" type="button">${l.cancel}</button> <button class="bdt-button bdt-button-primary">${l.ok}</button> </div> </form>`,n,()=>null,()=>a.value),{$el:r}=o.dialog,a=k("input",r);return b(r,"show",()=>a.select()),o},t.i18n={ok:"Ok",cancel:"Cancel"};function e(i,s,n=A,o=A){s={bgClose:!1,escClose:!0,...s,i18n:{...t.i18n,...s==null?void 0:s.i18n}};const r=t.dialog(i(s),s);return gt(new Promise(a=>{const l=b(r.$el,"hide",()=>a(n()));b(r.$el,"submit","form",h=>{h.preventDefault(),a(o(r)),l(),r.hide()})}),{dialog:r})}}var Yh={extends:Eo,data:{targets:"> .bdt-parent",toggle:"> a",content:"> ul"}};const Ms="bdt-navbar-transparent";var Gh={extends:Mo,props:{dropbarTransparentMode:Boolean},data:{clsDrop:"bdt-navbar-dropdown",selNavItem:".bdt-navbar-nav > li > a,a.bdt-navbar-item,button.bdt-navbar-item,.bdt-navbar-item a,.bdt-navbar-item button,.bdt-navbar-toggle",dropbarTransparentMode:!1},computed:{navbarContainer:(t,e)=>e.closest(".bdt-navbar-container")},watch:{items(){const t=y(this.$el,"bdt-navbar-justify"),e=z(".bdt-navbar-nav, .bdt-navbar-left, .bdt-navbar-right",this.$el);for(const i of e){const s=t?z(".bdt-navbar-nav > li > a, .bdt-navbar-item, .bdt-navbar-toggle",i).length:"";c(i,"flexGrow",s)}}},events:[{name:"show",el(){return this.dropContainer},handler({target:t}){this.getTransparentMode(t)==="remove"&&y(this.navbarContainer,Ms)&&(D(this.navbarContainer,Ms),this._transparent=!0)}},{name:"hide",el(){return this.dropContainer},async handler(){await Xh(),!this.getActive()&&this._transparent&&($(this.navbarContainer,Ms),this._transparent=null)}}],methods:{getTransparentMode(t){if(!this.navbarContainer)return;if(this.dropbar&&this.isDropbarDrop(t))return this.dropbarTransparentMode;const e=this.getDropdown(t);if(e&&y(t,"bdt-dropbar"))return e.inset?"behind":"remove"},getDropbarOffset(t){const{top:e,height:i}=I(this.navbarContainer);return e+(this.dropbarTransparentMode==="behind"?0:i+t)}}};function Xh(){return new Promise(t=>setTimeout(t))}var Jh={mixins:[ys],args:"mode",props:{mode:String,flip:Boolean,overlay:Boolean,swiping:Boolean},data:{mode:"slide",flip:!1,overlay:!1,clsPage:"bdt-offcanvas-page",clsContainer:"bdt-offcanvas-container",selPanel:".bdt-offcanvas-bar",clsFlip:"bdt-offcanvas-flip",clsContainerAnimation:"bdt-offcanvas-container-animation",clsSidebarAnimation:"bdt-offcanvas-bar-animation",clsMode:"bdt-offcanvas",clsOverlay:"bdt-offcanvas-overlay",selClose:".bdt-offcanvas-close",container:!1,swiping:!0},computed:{clsFlip:({flip:t,clsFlip:e})=>t?e:"",clsOverlay:({overlay:t,clsOverlay:e})=>t?e:"",clsMode:({mode:t,clsMode:e})=>`${e}-${t}`,clsSidebarAnimation:({mode:t,clsSidebarAnimation:e})=>t==="none"||t==="reveal"?"":e,clsContainerAnimation:({mode:t,clsContainerAnimation:e})=>t!=="push"&&t!=="reveal"?"":e,transitionElement({mode:t}){return t==="reveal"?P(this.panel):this.panel}},observe:yn({filter:({swiping:t})=>t}),update:{read(){this.isToggled()&&!q(this.$el)&&this.hide()},events:["resize"]},events:[{name:"touchmove",self:!0,passive:!1,filter(){return this.overlay},handler(t){t.cancelable&&t.preventDefault()}},{name:"show",self:!0,handler(){this.mode==="reveal"&&!y(P(this.panel),this.clsMode)&&(ui(this.panel,"<div>"),$(P(this.panel),this.clsMode));const{body:t,scrollingElement:e}=document;$(t,this.clsContainer,this.clsFlip),c(t,"touch-action","pan-y pinch-zoom"),c(this.$el,"display","block"),c(this.panel,"maxWidth",e.clientWidth),$(this.$el,this.clsOverlay),$(this.panel,this.clsSidebarAnimation,this.mode==="reveal"?"":this.clsMode),it(t),$(t,this.clsContainerAnimation),this.clsContainerAnimation&&Kh()}},{name:"hide",self:!0,handler(){D(document.body,this.clsContainerAnimation),c(document.body,"touch-action","")}},{name:"hidden",self:!0,handler(){this.clsContainerAnimation&&Zh(),this.mode==="reveal"&&_e(this.panel),D(this.panel,this.clsSidebarAnimation,this.clsMode),D(this.$el,this.clsOverlay),c(this.$el,"display",""),c(this.panel,"maxWidth",""),D(document.body,this.clsContainer,this.clsFlip)}},{name:"swipeLeft swipeRight",handler(t){this.isToggled()&&ee(t.type,"Left")^this.flip&&this.hide()}}]};function Kh(){jo().content+=",user-scalable=0"}function Zh(){const t=jo();t.content=t.content.replace(/,user-scalable=0$/,"")}function jo(){return k('meta[name="viewport"]',document.head)||L(document.head,'<meta name="viewport">')}var Qh={mixins:[st],props:{selContainer:String,selContent:String,minHeight:Number},data:{selContainer:".bdt-modal",selContent:".bdt-modal-dialog",minHeight:150},computed:{container:({selContainer:t},e)=>e.closest(t),content:({selContent:t},e)=>e.closest(t)},observe:ct({target:({container:t,content:e})=>[t,e]}),update:{read(){return!this.content||!this.container||!q(this.$el)?!1:{max:Math.max(this.minHeight,it(this.container)-(w(this.content).height-it(this.$el)))}},write({max:t}){c(this.$el,{minHeight:this.minHeight,maxHeight:t})},events:["resize"]}},tc={props:["width","height"],connected(){$(this.$el,"bdt-responsive-width"),c(this.$el,"aspectRatio",`${this.width}/${this.height}`)}},ec={props:{offset:Number},data:{offset:0},connected(){ic(this)},disconnected(){sc(this)},methods:{async scrollTo(t){t=t&&k(t)||document.body,g(this.$el,"beforescroll",[this,t])&&(await un(t,{offset:this.offset}),g(this.$el,"scrolled",[this,t]))}}};const Ke=new Set;function ic(t){Ke.size||b(document,"click",Ro),Ke.add(t)}function sc(t){Ke.delete(t),Ke.size||Pt(document,"click",Ro)}function Ro(t){if(!t.defaultPrevented)for(const e of Ke)e.$el.contains(t.target)&&oe(e.$el)&&(t.preventDefault(),window.location.href!==e.$el.href&&window.history.pushState({},"",e.$el.href),e.scrollTo(Yi(e.$el)))}var nc={args:"cls",props:{cls:String,target:String,hidden:Boolean,margin:String,repeat:Boolean,delay:Number},data:()=>({cls:"",target:!1,hidden:!0,margin:"-1px",repeat:!1,delay:0,inViewClass:"bdt-scrollspy-inview"}),computed:{elements:({target:t},e)=>t?z(t,e):[e]},watch:{elements(t){this.hidden&&c(Ie(t,`:not(.${this.inViewClass})`),"opacity",0)}},connected(){this.elementData=new Map},disconnected(){for(const[t,e]of this.elementData.entries())D(t,this.inViewClass,(e==null?void 0:e.cls)||"");delete this.elementData},observe:ze({target:({elements:t})=>t,handler(t){const e=this.elementData;for(const{target:i,isIntersecting:s}of t){e.has(i)||e.set(i,{cls:X(i,"bdt-scrollspy-class")||this.cls});const n=e.get(i);!this.repeat&&n.show||(n.show=s)}this.$emit()},options:({margin:t})=>({rootMargin:t}),args:{intersecting:!1}}),update:[{write(t){for(const[e,i]of this.elementData.entries())i.show&&!i.inview&&!i.queued?(i.queued=!0,t.promise=(t.promise||Promise.resolve()).then(()=>new Promise(s=>setTimeout(s,this.delay))).then(()=>{this.toggle(e,!0),setTimeout(()=>{i.queued=!1,this.$emit()},300)})):!i.show&&i.inview&&!i.queued&&this.repeat&&this.toggle(e,!1)}}],methods:{toggle(t,e){var i;const s=this.elementData.get(t);if(s){if((i=s.off)==null||i.call(s),c(t,"opacity",!e&&this.hidden?0:""),j(t,this.inViewClass,e),j(t,s.cls),/\bbdt-animation-/.test(s.cls)){const n=()=>qi(t,"bdt-animation-[\\w-]+");e?s.off=H(t,"animationcancel animationend",n,{self:!0}):n()}g(t,e?"inview":"outview"),s.inview=e,this.$update(t)}}}},oc={props:{cls:String,closest:Boolean,scroll:Boolean,overflow:Boolean,offset:Number},data:{cls:"bdt-active",closest:!1,scroll:!1,overflow:!0,offset:0},computed:{links:(t,e)=>z('a[href*="#"]',e).filter(i=>i.hash&&oe(i)),elements({closest:t}){return this.links.map(e=>e.closest(t||"*"))}},watch:{links(t){this.scroll&&this.$create("scroll",t,{offset:this.offset})}},observe:[ze(),He()],update:[{read(){const t=this.links.map(Yi).filter(Boolean),{length:e}=t;if(!e||!q(this.$el))return!1;const i=Ot(t,!0),{scrollTop:s,scrollHeight:n}=i,o=lt(i),r=n-o.height;let a=!1;if(s===r)a=e-1;else{for(let l=0;l<t.length;l++){const h=hs(t[l]),u=this.offset+(h?I(h).height:0);if(I(t[l]).top-o.top-u>0)break;a=+l}a===!1&&this.overflow&&(a=0)}return{active:a}},write({active:t}){const e=t!==!1&&!y(this.elements[t],this.cls);this.links.forEach(i=>i.blur());for(let i=0;i<this.elements.length;i++)j(this.elements[i],this.cls,+i===t);e&&g(this.$el,"active",[t,this.elements[t]])},events:["scroll","resize"]}]},rc={mixins:[st,Si],props:{position:String,top:null,bottom:null,start:null,end:null,offset:String,overflowFlip:Boolean,animation:String,clsActive:String,clsInactive:String,clsFixed:String,clsBelow:String,selTarget:String,showOnUp:Boolean,targetOffset:Number},data:{position:"top",top:!1,bottom:!1,start:!1,end:!1,offset:0,overflowFlip:!1,animation:"",clsActive:"bdt-active",clsInactive:"",clsFixed:"bdt-sticky-fixed",clsBelow:"bdt-sticky-below",selTarget:"",showOnUp:!1,targetOffset:!1},computed:{target:({selTarget:t},e)=>t&&k(t,e)||e},connected(){this.start=qo(this.start||this.top),this.end=qo(this.end||this.bottom),this.placeholder=k("+ .bdt-sticky-placeholder",this.$el)||k('<div class="bdt-sticky-placeholder"></div>'),this.isFixed=!1,this.setActive(!1)},beforeDisconnect(){this.isFixed&&(this.hide(),D(this.target,this.clsInactive)),Uo(this.$el),at(this.placeholder),this.placeholder=null},observe:[ms({handler(){U("100vh","height")!==this._data.viewport&&this.$emit("resize")}}),He({target:()=>document.scrollingElement}),ct({target:()=>document.scrollingElement,options:{box:"content-box"}}),ct({target:({$el:t})=>t})],events:[{name:"load hashchange popstate",el(){return window},filter(){return this.targetOffset!==!1},handler(){const{scrollingElement:t}=document;!location.hash||t.scrollTop===0||setTimeout(()=>{const e=I(k(location.hash)),i=I(this.$el);this.isFixed&&Wi(e,i)&&(t.scrollTop=e.top-i.height-U(this.targetOffset,"height",this.placeholder)-U(this.offset,"height",this.placeholder))})}},{name:"transitionstart",handler(){this.transitionInProgress=H(this.$el,"transitionend transitioncancel",()=>this.transitionInProgress=null)}}],update:[{read({height:t,width:e,margin:i,sticky:s}){if(this.inactive=!this.matchMedia||!q(this.$el),this.inactive)return;const n=this.isFixed&&!this.transitionInProgress;n&&(Ns(this.target),this.hide()),this.active||({height:t,width:e}=I(this.$el),i=c(this.$el,"margin")),n&&this.show();const o=U("100vh","height"),r=it(window),a=Math.max(0,document.scrollingElement.scrollHeight-o);let l=this.position;this.overflowFlip&&t>o&&(l=l==="top"?"bottom":"top");const h=this.isFixed?this.placeholder:this.$el;let u=U(this.offset,"height",s?this.$el:h);l==="bottom"&&(t<r||this.overflowFlip)&&(u+=r-t);const d=this.overflowFlip?0:Math.max(0,t+u-o),f=I(h).top,v=I(this.$el).height,x=(this.start===!1?f:Bs(this.start,this.$el,f))-u,T=this.end===!1?a:Math.min(a,Bs(this.end,this.$el,f+t,!0)-v-u+d);return s=a&&!this.showOnUp&&x+u===f&&T===Math.min(a,Bs(!0,this.$el,0,!0)-v-u+d)&&c(P(this.$el),"overflowY")==="visible",{start:x,end:T,offset:u,overflow:d,height:t,elHeight:v,width:e,margin:i,top:Rt(h)[0],sticky:s,viewport:o}},write({height:t,width:e,margin:i,offset:s,sticky:n}){if((this.inactive||n||!this.isFixed)&&Uo(this.$el),this.inactive)return;n&&(t=e=i=0,c(this.$el,{position:"sticky",top:s}));const{placeholder:o}=this;c(o,{height:t,width:e,margin:i}),(P(o)!==P(this.$el)||n^Et(o)<Et(this.$el))&&((n?li:hi)(this.$el,o),o.hidden=!0)},events:["resize"]},{read({scroll:t=0,dir:e="down",overflow:i,overflowScroll:s=0,start:n,end:o,elHeight:r,height:a,sticky:l}){const h=document.scrollingElement.scrollTop,u=t<=h?"down":"up",d=this.isFixed?this.placeholder:this.$el;return{dir:u,prevDir:e,scroll:h,prevScroll:t,below:h>I(d).top+(l?Math.min(a,r):a),offsetParentTop:I(d.offsetParent).top,overflowScroll:tt(s+tt(h,n,o)-tt(t,n,o),0,i)}},write(t,e){const i=e.has("scroll"),{initTimestamp:s=0,dir:n,prevDir:o,scroll:r,prevScroll:a=0,top:l,start:h,below:u}=t;if(r<0||r===a&&i||this.showOnUp&&!i&&!this.isFixed)return;const d=Date.now();if((d-s>300||n!==o)&&(t.initScroll=r,t.initTimestamp=d),!(this.showOnUp&&!this.isFixed&&Math.abs(t.initScroll-r)<=30&&Math.abs(a-r)<=10))if(this.inactive||r<h||this.showOnUp&&(r<=h||n==="down"&&i||n==="up"&&!this.isFixed&&!u)){if(!this.isFixed){At.inProgress(this.$el)&&l>r&&(At.cancel(this.$el),this.hide());return}if(this.animation&&u){if(y(this.$el,"bdt-animation-leave"))return;At.out(this.$el,this.animation).then(()=>this.hide(),A)}else this.hide()}else this.isFixed?this.update():this.animation&&u?(this.show(),At.in(this.$el,this.animation).catch(A)):(Ns(this.target),this.show())},events:["resize","resizeViewport","scroll"]}],methods:{show(){this.isFixed=!0,this.update(),this.placeholder.hidden=!1},hide(){const{offset:t,sticky:e}=this._data;this.setActive(!1),D(this.$el,this.clsFixed,this.clsBelow),e?c(this.$el,"top",t):c(this.$el,{position:"",top:"",width:"",marginTop:""}),this.placeholder.hidden=!0,this.isFixed=!1},update(){let{width:t,scroll:e=0,overflow:i,overflowScroll:s=0,start:n,end:o,offset:r,offsetParentTop:a,sticky:l,below:h}=this._data;const u=n!==0||e>n;if(!l){let d="fixed";e>o&&(r+=o-a+s-i,d="absolute"),c(this.$el,{position:d,width:t,marginTop:0},"important")}c(this.$el,"top",r-s),this.setActive(u),j(this.$el,this.clsBelow,h),$(this.$el,this.clsFixed)},setActive(t){const e=this.active;this.active=t,t?(si(this.target,this.clsInactive,this.clsActive),e!==t&&g(this.$el,"active")):(si(this.target,this.clsActive,this.clsInactive),e!==t&&(Ns(this.target),g(this.$el,"inactive")))}}};function Bs(t,e,i,s){if(!t)return 0;if(vt(t)||N(t)&&t.match(/^-?\d/))return i+U(t,"height",e,!0);{const n=t===!0?P(e):J(t,e);return I(n).bottom-(s&&(n!=null&&n.contains(e))?S(c(n,"paddingBottom")):0)}}function qo(t){return t==="true"?!0:t==="false"?!1:t}function Uo(t){c(t,{position:"",top:"",marginTop:"",width:""})}function Ns(t){$(t,"bdt-transition-disable"),requestAnimationFrame(()=>D(t,"bdt-transition-disable"))}var ac={mixins:[Fo],args:"src",props:{src:String,icon:String,attributes:"list",strokeAnimation:Boolean},data:{strokeAnimation:!1},observe:[gs({async handler(){const t=await this.svg;t&&Vo.call(this,t)},options:{attributes:!0,attributeFilter:["id","class","style"]}})],async connected(){m(this.src,"#")&&([this.src,this.icon]=this.src.split("#"));const t=await this.svg;t&&(Vo.call(this,t),this.strokeAnimation&&uc(t))},methods:{async getSvg(){return R(this.$el,"img")&&!this.$el.complete&&this.$el.loading==="lazy"&&await new Promise(t=>H(this.$el,"load",t)),hc(await lc(this.src),this.icon)||Promise.reject("SVG not found.")}}};function Vo(t){const{$el:e}=this;$(t,p(e,"class"),"bdt-svg");for(let i=0;i<e.style.length;i++){const s=e.style[i];c(t,s,c(e,s))}for(const i in this.attributes){const[s,n]=this.attributes[i].split(":",2);p(t,s,n)}this.$el.id||ye(t,"id")}const lc=rt(async t=>t?dt(t,"data:")?decodeURIComponent(t.split(",")[1]):(await fetch(t)).text():Promise.reject());function hc(t,e){return e&&m(t,"<symbol")&&(t=cc(t)[e]||t),t=k(t.substr(t.indexOf("<svg"))),(t==null?void 0:t.hasChildNodes())&&t}const Yo=/<symbol([^]*?id=(['"])(.+?)\2[^]*?<\/)symbol>/g,cc=rt(function(t){const e={};Yo.lastIndex=0;let i;for(;i=Yo.exec(t);)e[i[3]]=`<svg ${i[1]}svg>`;return e});function uc(t){const e=io(t);e&&c(t,"--bdt-animation-stroke",e)}const zs=".bdt-disabled *, .bdt-disabled, [disabled]";var Go={mixins:[Yt],args:"connect",props:{connect:String,toggle:String,itemNav:String,active:Number,followFocus:Boolean,swiping:Boolean},data:{connect:"~.bdt-switcher",toggle:"> * > :first-child",itemNav:!1,active:0,cls:"bdt-active",attrItem:"bdt-switcher-item",selVertical:".bdt-nav",followFocus:!1,swiping:!0},computed:{connects:({connect:t},e)=>Ce(t,e),connectChildren(){return this.connects.map(t=>B(t)).flat()},toggles:({toggle:t},e)=>z(t,e),children(t,e){return B(e).filter(i=>this.toggles.some(s=>i.contains(s)))}},watch:{connects(t){this.swiping&&c(t,"touchAction","pan-y pinch-zoom"),this.$emit()},connectChildren(){let t=Math.max(0,this.index());for(const e of this.connects)B(e).forEach((i,s)=>j(i,this.cls,s===t));this.$emit()},toggles(t){this.$emit();const e=this.index();this.show(~e?e:t[this.active]||t[0])}},connected(){p(this.$el,"role","tablist")},observe:[Fe({targets:({connectChildren:t})=>t}),yn({target:({connects:t})=>t,filter:({swiping:t})=>t})],events:[{name:"click keydown",delegate(){return this.toggle},handler(t){!E(t.current,zs)&&(t.type==="click"||t.keyCode===_.SPACE)&&(t.preventDefault(),this.show(t.current))}},{name:"keydown",delegate(){return this.toggle},handler(t){const{current:e,keyCode:i}=t,s=E(this.$el,this.selVertical);let n=i===_.HOME?0:i===_.END?"last":i===_.LEFT&&!s||i===_.UP&&s?"previous":i===_.RIGHT&&!s||i===_.DOWN&&s?"next":-1;if(~n){t.preventDefault();const o=this.toggles.filter(a=>!E(a,zs)),r=o[ot(n,o,o.indexOf(e))];r.focus(),this.followFocus&&this.show(r)}}},{name:"click",el(){return this.connects.concat(this.itemNav?Ce(this.itemNav,this.$el):[])},delegate(){return`[${this.attrItem}],[data-${this.attrItem}]`},handler(t){t.target.closest("a,button")&&(t.preventDefault(),this.show(X(t.current,this.attrItem)))}},{name:"swipeRight swipeLeft",filter(){return this.swiping},el(){return this.connects},handler({type:t}){this.show(ee(t,"Left")?"next":"previous")}}],update(){var t;p(this.connects,"role","presentation"),p(B(this.$el),"role","presentation");for(const e in this.toggles){const i=this.toggles[e],s=(t=this.connects[0])==null?void 0:t.children[e];p(i,"role","tab"),s&&(i.id=Jt(this,i),s.id=Jt(this,s),p(i,"aria-controls",s.id),p(s,{role:"tabpanel","aria-labelledby":i.id}))}p(this.$el,"aria-orientation",E(this.$el,this.selVertical)?"vertical":null)},methods:{index(){return bt(this.children,t=>y(t,this.cls))},show(t){const e=this.toggles.filter(r=>!E(r,zs)),i=this.index(),s=ot(!Qe(t)||m(e,t)?t:0,e,ot(this.toggles[i],e)),n=ot(e[s],this.toggles);this.children.forEach((r,a)=>{j(r,this.cls,n===a),p(this.toggles[a],{"aria-selected":n===a,tabindex:n===a?null:-1})});const o=i>=0&&i!==s;this.connects.forEach(async({children:r})=>{const a=Tt(r).filter((l,h)=>h!==n&&y(l,this.cls));await this.toggleElement(a,!1,o),await this.toggleElement(r[n],!0,o)})}}},dc={mixins:[st],extends:Go,props:{media:Boolean},data:{media:960,attrItem:"bdt-tab-item",selVertical:".bdt-tab-left,.bdt-tab-right"},connected(){const t=y(this.$el,"bdt-tab-left")?"bdt-tab-left":y(this.$el,"bdt-tab-right")?"bdt-tab-right":!1;t&&this.$create("toggle",this.$el,{cls:t,mode:"media",media:this.media})}};const fc=32;var pc={mixins:[Si,Yt],args:"target",props:{href:String,target:null,mode:"list",queued:Boolean},data:{href:!1,target:!1,mode:"click",queued:!0},computed:{target({target:t},e){return t=Ce(t||e.hash,e),t.length?t:[e]}},connected(){m(this.mode,"media")||(ni(this.$el)||p(this.$el,"tabindex","0"),!this.cls&&R(this.$el,"a")&&p(this.$el,"role","button"))},observe:Fe({target:({target:t})=>t}),events:[{name:mt,filter(){return m(this.mode,"hover")},handler(t){this._preventClick=null,!(!kt(t)||se(this._showState)||this.$el.disabled)&&(g(this.$el,"focus"),H(document,mt,()=>g(this.$el,"blur"),!0,e=>!this.$el.contains(e.target)),m(this.mode,"click")&&(this._preventClick=!0))}},{name:`mouseenter mouseleave ${he} ${Oe} focus blur`,filter(){return m(this.mode,"hover")},handler(t){if(kt(t)||this.$el.disabled)return;const e=m(["mouseenter",he,"focus"],t.type),i=this.isToggled(this.target);if(!e&&(!se(this._showState)||t.type!=="blur"&&E(this.$el,":focus")||t.type==="blur"&&E(this.$el,":hover"))){i===this._showState&&(this._showState=null);return}e&&se(this._showState)&&i!==this._showState||(this._showState=e?i:null,this.toggle(`toggle${e?"show":"hide"}`))}},{name:"keydown",filter(){return m(this.mode,"click")&&!R(this.$el,"input")},handler(t){t.keyCode===fc&&(t.preventDefault(),this.$el.click())}},{name:"click",filter(){return["click","hover"].some(t=>m(this.mode,t))},handler(t){let e;(this._preventClick||t.target.closest('a[href="#"], a[href=""]')||(e=t.target.closest("a[href]"))&&(!this.isToggled(this.target)||e.hash&&E(this.target,e.hash)))&&t.preventDefault(),!this._preventClick&&m(this.mode,"click")&&this.toggle()}},{name:"mediachange",filter(){return m(this.mode,"media")},el(){return this.target},handler(t,e){e.matches^this.isToggled(this.target)&&this.toggle()}}],methods:{async toggle(t){if(!g(this.target,t||"toggle",[this]))return;if(yt(this.$el,"aria-expanded")&&p(this.$el,"aria-expanded",!this.isToggled(this.target)),!this.queued)return this.toggleElement(this.target);const e=this.target.filter(s=>y(s,this.clsLeave));if(e.length){for(const s of this.target){const n=m(e,s);this.toggleElement(s,n,n)}return}const i=this.target.filter(this.isToggled);await this.toggleElement(i,!1)&&await this.toggleElement(this.target.filter(s=>!m(i,s)),!0)}}},gc=Object.freeze({__proto__:null,Accordion:Eo,Alert:Bl,Close:Th,Cover:zl,Drop:Do,DropParentIcon:Zt,Dropdown:Do,Dropnav:Mo,FormCustom:Ul,Grid:Vl,HeightMatch:Jl,HeightPlaceholder:Ql,HeightViewport:th,Icon:Ds,Img:Nh,Inverse:jh,Leader:qh,Margin:kn,Marker:Ch,Modal:Uh,Nav:Yh,NavParentIcon:yh,Navbar:Gh,NavbarParentIcon:Zt,NavbarToggleIcon:Ih,Offcanvas:Jh,OverflowAuto:Qh,OverlayIcon:Zt,PaginationNext:Ph,PaginationPrevious:_h,Responsive:tc,Scroll:ec,Scrollspy:nc,ScrollspyNav:oc,SearchIcon:kh,SlidenavNext:Lo,SlidenavPrevious:Lo,Spinner:Sh,Sticky:rc,Svg:ac,Switcher:Go,Tab:dc,Toggle:pc,Totop:Eh,Video:Po});return Nt(gc,(t,e)=>ut.component(e,t)),Pl(ut),Nt(El,(t,e)=>ut.component(e,t)),ut});
!function(t,n){"use strict";var i=function(t,n){var i=t.find(".bdt-mailchimp");if(i.length){var e=window.ElementPackConfig.mailchimp;return i.submit((function(){var t=n(this);return bdtUIkit.notification({message:"<span bdt-spinner></span> "+e.subscribing,timeout:!1,status:"primary"}),n.ajax({url:t.attr("action"),type:"POST",data:t.serialize(),success:function(t){bdtUIkit.notification.closeAll(),bdtUIkit.notification({message:t,status:"success"})}}),!1})),!1}};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-mailchimp.default",i)}))}(jQuery,window.elementorFrontend);
var debounce=function(t,e,a){var n;return function(){var r=this,u=arguments,i=a&&!n;clearTimeout(n),n=setTimeout((function(){n=null,a||t.apply(r,u)}),e),i&&t.apply(r,u)}};function returnCurrencySymbol(t=null){if(null===t)return"";let e={USD:"$",EUR:"€",CRC:"₡",GBP:"£",ILS:"₪",INR:"₹",JPY:"¥",KRW:"₩",NGN:"₦",PHP:"₱",PLN:"zł",PYG:"₲",THB:"฿",UAH:"₴",VND:"₫"};return void 0!==e[t]?e[t]:""}jQuery(document).ready((function(){jQuery(".bdt-ss-link").on("click",(function(){var t=jQuery("<input>");jQuery("body").append(t),t.val(jQuery(this).data("url")).select(),document.execCommand ("copy"),t.remove(),jQuery(this).find(".bdt-social-share-title").html(jQuery(this).data("copied")),setTimeout(()=>{jQuery(this).find(".bdt-social-share-title").html(jQuery(this).data("orginal"))},5e3)}))})),jQuery(document).ajaxComplete((function(t,e,a){if(e.responseJSON&&void 0!==e.responseJSON.cart_hash&&e.responseJSON.cart_hash&&jQuery(".bdt-offcanvas").hasClass("__update_cart")){let t=jQuery(".bdt-offcanvas.__update_cart").attr("id");bdtUIkit.util.ready((function(){bdtUIkit.offcanvas("#"+t).show()}))}}));
(()=>{"use strict";var e,r,a,n={},c={};function __webpack_require__(e){var r=c[e];if(void 0!==r)return r.exports;var a=c[e]={exports:{}};return n[e](a,a.exports,__webpack_require__),a.exports}__webpack_require__.m=n,e=[],__webpack_require__.O=(r,a,n,c)=>{if(!a){var b=1/0;for(o=0;o<e.length;o++){for(var[a,n,c]=e[o],i=!0,t=0;t<a.length;t++)(!1&c||b>=c)&&Object.keys(__webpack_require__.O).every(e=>__webpack_require__.O[e](a[t]))?a.splice(t--,1):(i=!1,c<b&&(b=c));if(i){e.splice(o--,1);var _=n();void 0!==_&&(r=_)}}return r}c=c||0;for(var o=e.length;o>0&&e[o-1][2]>c;o--)e[o]=e[o-1];e[o]=[a,n,c]},__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce((r,a)=>(__webpack_require__.f[a](e,r),r),[])),__webpack_require__.u=e=>635===e?"code-highlight.38ec4828db8d33cccbe9.bundle.min.js":519===e?"video-playlist.d48e1a11007fe8c248f8.bundle.min.js":375===e?"paypal-button.5c63e4c8f36fb06aff31.bundle.min.js":786===e?"bd4b7d0b3467c3b749da.bundle.min.js":857===e?"stripe-button.b7e32b5d713d60752c7e.bundle.min.js":581===e?"progress-tracker.7b160888e308c5f64701.bundle.min.js":961===e?"animated-headline.bc08854fb1e1a80434b2.bundle.min.js":692===e?"media-carousel.87c2cf115553a2c4f709.bundle.min.js":897===e?"carousel.e2af910b095554625156.bundle.min.js":416===e?"countdown.05b148ca20af32fc8e9f.bundle.min.js":292===e?"hotspot.737497535441dc0bc037.bundle.min.js":325===e?"form.cfd61a9174be80f835c6.bundle.min.js":543===e?"gallery.cca2358f59857ce6f62f.bundle.min.js":970===e?"lottie.55ad84218daed1323133.bundle.min.js":334===e?"nav-menu.3afa8f5eb1fef7c22561.bundle.min.js":887===e?"popup.61d4fcab8891b2e07802.bundle.min.js":535===e?"load-more.7c4417f8a727b79f546f.bundle.min.js":396===e?"posts.844727d8428792223d2f.bundle.min.js":726===e?"portfolio.3d0e387cc28c07bae511.bundle.min.js":316===e?"share-buttons.b99b5ff11c944a3a8ea9.bundle.min.js":829===e?"slides.8e9b74f1b31471377df8.bundle.min.js":158===e?"social.de5cec83bf689b2f1f01.bundle.min.js":404===e?"table-of-contents.485ffc086d8923139868.bundle.min.js":345===e?"archive-posts.0b71f7023819e3872142.bundle.min.js":798===e?"search-form.9abeafeecde90cf7e0f4.bundle.min.js":6===e?"woocommerce-menu-cart.33fbf47b819947e7a2a7.bundle.min.js":80===e?"woocommerce-purchase-summary.118e54b95a68f0ad8c09.bundle.min.js":354===e?"woocommerce-checkout-page.8391e03a51a57a42528a.bundle.min.js":4===e?"woocommerce-cart.9131ef5e40333f8066dd.bundle.min.js":662===e?"woocommerce-my-account.ab469f426496c628ac6c.bundle.min.js":621===e?"woocommerce-notices.181b8701c45ec5374829.bundle.min.js":787===e?"product-add-to-cart.a4f88a0c19e95b3912b6.bundle.min.js":993===e?"loop.1594a1df76e87a11eda2.bundle.min.js":932===e?"loop-carousel.881847b13e8fe1f8bfc2.bundle.min.js":550===e?"ajax-pagination.505018eb312c83998279.bundle.min.js":727===e?"mega-menu.857df1cf3198ae47b617.bundle.min.js":87===e?"mega-menu-stretch-content.7ed04741ba7d5a80c556.bundle.min.js":912===e?"menu-title-keyboard-handler.b3891112675eb0b0c4d5.bundle.min.js":33===e?"nested-carousel.659b0373371215e60dab.bundle.min.js":225===e?"taxonomy-filter.6526351a1205655def47.bundle.min.js":579===e?"off-canvas.82d118980fb5aa03c82b.bundle.min.js":1===e?"contact-buttons.e1605c5cfaccbff3c14b.bundle.min.js":61===e?"contact-buttons-var-10.11bf4233106e1245bd61.bundle.min.js":249===e?"floating-bars-var-2.5287acd8570f1ce2dde3.bundle.min.js":440===e?"floating-bars-var-3.e9e9c0ea3c6fb0e51c58.bundle.min.js":187===e?"search.f239247b514b4d0e8743.bundle.min.js":void 0,__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r={},a="elementor-pro:",__webpack_require__.l=(e,n,c,b)=>{if(r[e])r[e].push(n);else{var i,t;if(void 0!==c)for(var _=document.getElementsByTagName("script"),o=0;o<_.length;o++){var u=_[o];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==a+c){i=u;break}}i||(t=!0,(i=document.createElement("script")).charset="utf-8",__webpack_require__.nc&&i.setAttribute("nonce",__webpack_require__.nc),i.setAttribute("data-webpack",a+c),i.src=e),r[e]=[n];var onScriptComplete=(a,n)=>{i.onerror=i.onload=null,clearTimeout(d);var c=r[e];if(delete r[e],i.parentNode&&i.parentNode.removeChild(i),c&&c.forEach(e=>e(n)),a)return a(n)},d=setTimeout(onScriptComplete.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=onScriptComplete.bind(null,i.onerror),i.onload=onScriptComplete.bind(null,i.onload),t&&document.head.appendChild(i)}},(()=>{var e;__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var r=__webpack_require__.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var a=r.getElementsByTagName("script");if(a.length)for(var n=a.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=a[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=e})(),(()=>{var e={978:0};__webpack_require__.f.j=(r,a)=>{var n=__webpack_require__.o(e,r)?e[r]:void 0;if(0!==n)if(n)a.push(n[2]);else if(978!=r){var c=new Promise((a,c)=>n=e[r]=[a,c]);a.push(n[2]=c);var b=__webpack_require__.p+__webpack_require__.u(r),i=new Error;__webpack_require__.l(b,a=>{if(__webpack_require__.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var c=a&&("load"===a.type?"missing":a.type),b=a&&a.target&&a.target.src;i.message="Loading chunk "+r+" failed.\n("+c+": "+b+")",i.name="ChunkLoadError",i.type=c,i.request=b,n[1](i)}},"chunk-"+r,r)}else e[r]=0},__webpack_require__.O.j=r=>0===e[r];var webpackJsonpCallback=(r,a)=>{var n,c,[b,i,t]=a,_=0;if(b.some(r=>0!==e[r])){for(n in i)__webpack_require__.o(i,n)&&(__webpack_require__.m[n]=i[n]);if(t)var o=t(__webpack_require__)}for(r&&r(a);_<b.length;_++)c=b[_],__webpack_require__.o(e,c)&&e[c]&&e[c][0](),e[c]=0;return __webpack_require__.O(o)},r=self.webpackChunkelementor_pro=self.webpackChunkelementor_pro||[];r.forEach(webpackJsonpCallback.bind(null,0)),r.push=webpackJsonpCallback.bind(null,r.push.bind(r))})()})();
(function(){
"use strict";var wp;(wp||={}).hooks=(()=>{var v=Object.defineProperty;var S=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var I=Object.prototype.hasOwnProperty;var w=(e,n)=>{for(var s in n)v(e,s,{get:n[s],enumerable:!0})},D=(e,n,s,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of g(n))!I.call(e,t)&&t!==s&&v(e,t,{get:()=>n[t],enumerable:!(r=S(n,t))||r.enumerable});return e};var T=e=>D(v({},"__esModule",{value:!0}),e);var le={};w(le,{actions:()=>ae,addAction:()=>J,addFilter:()=>K,applyFilters:()=>N,applyFiltersAsync:()=>ee,createHooks:()=>F,currentAction:()=>te,currentFilter:()=>re,defaultHooks:()=>b,didAction:()=>ie,didFilter:()=>se,doAction:()=>X,doActionAsync:()=>Y,doingAction:()=>ne,doingFilter:()=>oe,filters:()=>ce,hasAction:()=>P,hasFilter:()=>Q,removeAction:()=>L,removeAllActions:()=>U,removeAllFilters:()=>W,removeFilter:()=>M});function z(e){return typeof e!="string"||e===""?(console.error("The namespace must be a non-empty string."),!1):/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)?!0:(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)}var m=z;function E(e){return typeof e!="string"||e===""?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)?!0:(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)}var f=E;function Z(e,n){return function(r,t,a,i=10){let c=e[n];if(!f(r)||!m(t))return;if(typeof a!="function"){console.error("The hook callback must be a function.");return}if(typeof i!="number"){console.error("If specified, the hook priority must be a number.");return}let l={callback:a,priority:i,namespace:t};if(c[r]){let o=c[r].handlers,d;for(d=o.length;d>0&&!(i>=o[d-1].priority);d--);d===o.length?o[d]=l:o.splice(d,0,l),c.__current.forEach(h=>{h.name===r&&h.currentIndex>=d&&h.currentIndex++})}else c[r]={handlers:[l],runs:0};r!=="hookAdded"&&e.doAction("hookAdded",r,t,a,i)}}var H=Z;function C(e,n,s=!1){return function(t,a){let i=e[n];if(!f(t)||!s&&!m(a))return;if(!i[t])return 0;let c=0;if(s)c=i[t].handlers.length,i[t]={runs:i[t].runs,handlers:[]};else{let l=i[t].handlers;for(let o=l.length-1;o>=0;o--)l[o].namespace===a&&(l.splice(o,1),c++,i.__current.forEach(d=>{d.name===t&&d.currentIndex>=o&&d.currentIndex--}))}return t!=="hookRemoved"&&e.doAction("hookRemoved",t,a),c}}var p=C;function O(e,n){return function(r,t){let a=e[n];return typeof t<"u"?r in a&&a[r].handlers.some(i=>i.namespace===t):r in a}}var _=O;function j(e,n,s,r){return function(a,...i){let c=e[n];c[a]||(c[a]={handlers:[],runs:0}),c[a].runs++;let l=c[a].handlers;if(!l||!l.length)return s?i[0]:void 0;let o={name:a,currentIndex:0};async function d(){try{c.__current.add(o);let u=s?i[0]:void 0;for(;o.currentIndex<l.length;)u=await l[o.currentIndex].callback.apply(null,i),s&&(i[0]=u),o.currentIndex++;return s?u:void 0}finally{c.__current.delete(o)}}function h(){try{c.__current.add(o);let u=s?i[0]:void 0;for(;o.currentIndex<l.length;)u=l[o.currentIndex].callback.apply(null,i),s&&(i[0]=u),o.currentIndex++;return s?u:void 0}finally{c.__current.delete(o)}}return(r?d:h)()}}var A=j;function $(e,n){return function(){let r=e[n];return Array.from(r.__current).at(-1)?.name??null}}var y=$;function V(e,n){return function(r){let t=e[n];return typeof r>"u"?t.__current.size>0:Array.from(t.__current).some(a=>a.name===r)}}var k=V;function q(e,n){return function(r){let t=e[n];if(f(r))return t[r]&&t[r].runs?t[r].runs:0}}var x=q;var B=class{actions;filters;addAction;addFilter;removeAction;removeFilter;hasAction;hasFilter;removeAllActions;removeAllFilters;doAction;doActionAsync;applyFilters;applyFiltersAsync;currentAction;currentFilter;doingAction;doingFilter;didAction;didFilter;constructor(){this.actions=Object.create(null),this.actions.__current=new Set,this.filters=Object.create(null),this.filters.__current=new Set,this.addAction=H(this,"actions"),this.addFilter=H(this,"filters"),this.removeAction=p(this,"actions"),this.removeFilter=p(this,"filters"),this.hasAction=_(this,"actions"),this.hasFilter=_(this,"filters"),this.removeAllActions=p(this,"actions",!0),this.removeAllFilters=p(this,"filters",!0),this.doAction=A(this,"actions",!1,!1),this.doActionAsync=A(this,"actions",!1,!0),this.applyFilters=A(this,"filters",!0,!1),this.applyFiltersAsync=A(this,"filters",!0,!0),this.currentAction=y(this,"actions"),this.currentFilter=y(this,"filters"),this.doingAction=k(this,"actions"),this.doingFilter=k(this,"filters"),this.didAction=x(this,"actions"),this.didFilter=x(this,"filters")}};function G(){return new B}var F=G;var b=F(),{addAction:J,addFilter:K,removeAction:L,removeFilter:M,hasAction:P,hasFilter:Q,removeAllActions:U,removeAllFilters:W,doAction:X,doActionAsync:Y,applyFilters:N,applyFiltersAsync:ee,currentAction:te,currentFilter:re,doingAction:ne,doingFilter:oe,didAction:ie,didFilter:se,actions:ae,filters:ce}=b;return T(le);})();
(window.wp||={}).hooks=wp.hooks;
})();
(function(){
"use strict";var wp;(wp||={}).i18n=(()=>{var nt=Object.create;var L=Object.defineProperty;var at=Object.getOwnPropertyDescriptor;var it=Object.getOwnPropertyNames;var ut=Object.getPrototypeOf,lt=Object.prototype.hasOwnProperty;var ft=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),ot=(t,r)=>{for(var e in r)L(t,e,{get:r[e],enumerable:!0})},O=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let u of it(r))!lt.call(t,u)&&u!==e&&L(t,u,{get:()=>r[u],enumerable:!(n=at(r,u))||n.enumerable});return t};var st=(t,r,e)=>(e=t!=null?nt(ut(t)):{},O(r||!t||!t.__esModule?L(e,"default",{value:t,enumerable:!0}):e,t)),pt=t=>O(L({},"__esModule",{value:!0}),t);var $=ft((It,M)=>{M.exports=window.wp.hooks});var yt={};ot(yt,{__:()=>Z,_n:()=>G,_nx:()=>B,_x:()=>q,createI18n:()=>R,defaultI18n:()=>H,getLocaleData:()=>j,hasTranslation:()=>Q,isRTL:()=>J,resetLocaleData:()=>U,setLocaleData:()=>z,sprintf:()=>P,subscribe:()=>X});var ct=/%(((\d+)\$)|(\(([$_a-zA-Z][$_a-zA-Z0-9]*)\)))?[ +0#-]*\d*(\.(\d+|\*))?(ll|[lhqL])?([cduxXefgsp%])/g;function T(t,...r){var e=0;return Array.isArray(r[0])&&(r=r[0]),t.replace(ct,function(){var n,u,l,o,f;return n=arguments[3],u=arguments[5],l=arguments[7],o=arguments[9],o==="%"?"%":(l==="*"&&(l=r[e],e++),u===void 0?(n===void 0&&(n=e+1),e++,f=r[n-1]):r[0]&&typeof r[0]=="object"&&r[0].hasOwnProperty(u)&&(f=r[0][u]),o==="f"?f=parseFloat(f)||0:o==="d"&&(f=parseInt(f)||0),l!==void 0&&(o==="f"?f=f.toFixed(l):o==="s"&&(f=f.substr(0,l))),f??"")})}function P(t,...r){return T(t,...r)}var D,I,h,N;D={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1};I=["(","?"];h={")":["("],":":["?","?:"]};N=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;function b(t){for(var r=[],e=[],n,u,l,o;n=t.match(N);){for(u=n[0],l=t.substr(0,n.index).trim(),l&&r.push(l);o=e.pop();){if(h[u]){if(h[u][0]===o){u=h[u][1]||u;break}}else if(I.indexOf(o)>=0||D[o]<D[u]){e.push(o);break}r.push(o)}h[u]||e.push(u),t=t.substr(n.index+u.length)}return t=t.trim(),t&&r.push(t),r.concat(e.reverse())}var dt={"!":function(t){return!t},"*":function(t,r){return t*r},"/":function(t,r){return t/r},"%":function(t,r){return t%r},"+":function(t,r){return t+r},"-":function(t,r){return t-r},"<":function(t,r){return t<r},"<=":function(t,r){return t<=r},">":function(t,r){return t>r},">=":function(t,r){return t>=r},"==":function(t,r){return t===r},"!=":function(t,r){return t!==r},"&&":function(t,r){return t&&r},"||":function(t,r){return t||r},"?:":function(t,r,e){if(t)throw r;return e}};function g(t,r){var e=[],n,u,l,o,f,_;for(n=0;n<t.length;n++){if(f=t[n],o=dt[f],o){for(u=o.length,l=Array(u);u--;)l[u]=e.pop();try{_=o.apply(null,l)}catch(v){return v}}else r.hasOwnProperty(f)?_=r[f]:_=+f;e.push(_)}return e[0]}function A(t){var r=b(t);return function(e){return g(r,e)}}function E(t){var r=A(t);return function(e){return+r({n:e})}}var S={contextDelimiter:"",onMissingKey:null};function _t(t){var r,e,n;for(r=t.split(";"),e=0;e<r.length;e++)if(n=r[e].trim(),n.indexOf("plural=")===0)return n.substr(7)}function x(t,r){var e;this.data=t,this.pluralForms={},this.options={};for(e in S)this.options[e]=r!==void 0&&e in r?r[e]:S[e]}x.prototype.getPluralForm=function(t,r){var e=this.pluralForms[t],n,u,l;return e||(n=this.data[t][""],l=n["Plural-Forms"]||n["plural-forms"]||n.plural_forms,typeof l!="function"&&(u=_t(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),l=E(u)),e=this.pluralForms[t]=l),e(r)};x.prototype.dcnpgettext=function(t,r,e,n,u){var l,o,f;return u===void 0?l=0:l=this.getPluralForm(t,u),o=e,r&&(o=r+this.options.contextDelimiter+e),f=this.data[t][o],f&&f[l]?f[l]:(this.options.onMissingKey&&this.options.onMissingKey(e,t),l===0?e:n)};var K={"":{plural_forms(t){return t===1?0:1}}},vt=/^i18n\.(n?gettext|has_translation)(_|$)/,R=(t,r,e)=>{let n=new x({}),u=new Set,l=()=>{u.forEach(a=>a())},o=a=>(u.add(a),()=>u.delete(a)),f=(a="default")=>n.data[a],_=(a,i="default")=>{n.data[i]={...n.data[i],...a},n.data[i][""]={...K[""],...n.data[i]?.[""]},delete n.pluralForms[i]},v=(a,i)=>{_(a,i),l()},V=(a,i="default")=>{n.data[i]={...n.data[i],...a,"":{...K[""],...n.data[i]?.[""],...a?.[""]}},delete n.pluralForms[i],l()},W=(a,i)=>{n.data={},n.pluralForms={},v(a,i)},m=(a="default",i,s,c,d)=>(n.data[a]||_(void 0,a),n.dcnpgettext(a,i,s,c,d)),y=a=>a||"default",Y=(a,i)=>{let s=m(i,void 0,a);return e?(s=e.applyFilters("i18n.gettext",s,a,i),e.applyFilters("i18n.gettext_"+y(i),s,a,i)):s},w=(a,i,s)=>{let c=m(s,i,a);return e?(c=e.applyFilters("i18n.gettext_with_context",c,a,i,s),e.applyFilters("i18n.gettext_with_context_"+y(s),c,a,i,s)):c},k=(a,i,s,c)=>{let d=m(c,void 0,a,i,s);return e?(d=e.applyFilters("i18n.ngettext",d,a,i,s,c),e.applyFilters("i18n.ngettext_"+y(c),d,a,i,s,c)):d},tt=(a,i,s,c,d)=>{let F=m(d,c,a,i,s);return e?(F=e.applyFilters("i18n.ngettext_with_context",F,a,i,s,c,d),e.applyFilters("i18n.ngettext_with_context_"+y(d),F,a,i,s,c,d)):F},rt=()=>w("ltr","text direction")==="rtl",et=(a,i,s)=>{let c=i?i+""+a:a,d=!!n.data?.[s??"default"]?.[c];return e&&(d=e.applyFilters("i18n.has_translation",d,a,i,s),d=e.applyFilters("i18n.has_translation_"+y(s),d,a,i,s)),d};if(t&&v(t,r),e){let a=i=>{vt.test(i)&&l()};e.addAction("hookAdded","core/i18n",a),e.addAction("hookRemoved","core/i18n",a)}return{getLocaleData:f,setLocaleData:v,addLocaleData:V,resetLocaleData:W,subscribe:o,__:Y,_x:w,_n:k,_nx:tt,isRTL:rt,hasTranslation:et}};var C=st($(),1);var p=R(void 0,void 0,C.defaultHooks),H=p,j=p.getLocaleData.bind(p),z=p.setLocaleData.bind(p),U=p.resetLocaleData.bind(p),X=p.subscribe.bind(p),Z=p.__.bind(p),q=p._x.bind(p),G=p._n.bind(p),B=p._nx.bind(p),J=p.isRTL.bind(p),Q=p.hasTranslation.bind(p);return pt(yt);})();
(window.wp||={}).i18n=wp.i18n;
})();