"use strict";function _defineproperty(e,t,n){return t in e?object.defineproperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _classcallcheck(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}function _classcallcheck(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}function _classcallcheck(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}function _classcallcheck(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}function _classcallcheck(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}function _classcallcheck(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}function _classcallcheck(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}function _classcallcheck(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}function _classcallcheck(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}function _classcallcheck(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}function _classcallcheck(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}function _classcallcheck(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}function _defineproperty(e,t,n){return t in e?object.defineproperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _classcallcheck(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}function _classcallcheck(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}function _classcallcheck(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}function _classcallcheck(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}function _classcallcheck(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}function _classcallcheck(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}function _classcallcheck(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}function _classcallcheck(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}function _classcallcheck(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}function _classcallcheck(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}function _classcallcheck(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}function _classcallcheck(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}function _classcallcheck(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}function _classcallcheck(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}function _classcallcheck(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}function _classcallcheck(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}function _classcallcheck(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}function _classcallcheck(e,t){if(!(e instanceof t))throw new typeerror("cannot call a class as a function")}var liquidismobile=function e(){return/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.useragent)},liquidmobilenavbreakpoint=function e(){return jquery("body").data("mobile-nav-breakpoint")||1199},liquidwindowwidth=function e(){return window.innerwidth},liquidwindowheight=function e(){return window.innerheight},restarguments=function e(t,n){return n=null==n?t.length-1:+n,function(){for(var e=math.max(arguments.length-n,0),i=array(e),a=0;an?(a&&(cleartimeout(a),a=null),l=c,r=t.apply(s,o),a||(s=o=null)):a||!1===i.trailing||(a=settimeout(u,d)),r};return c.cancel=function(){cleartimeout(a),l=0,a=s=o=null},c},liquiddebounce=function e(t,n,i){var a,s,o=function e(n,i){a=null,i&&(s=t.apply(n,i))},r=restarguments(function(e){if(a&&cleartimeout(a),i){var r=!a;a=settimeout(o,n),r&&(s=t.apply(this,e))}else a=liquiddelay(o,n,this,e);return s});return r.cancel=function(){cleartimeout(a),a=null},r};!function(){function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:null};var n=document.createevent("customevent");return n.initcustomevent(e,t.bubbles,t.cancelable,t.detail),n}if("function"==typeof window.customevent)return!1;e.prototype=window.event.prototype,window.customevent=e}();var _createclass=function(){function e(e,t){for(var n=0;n=i[0]&&t<=i[1]&&(n.width=parseint(e,10),n.offsetleft=(t-e)/2)}),n}},{key:"getelementboundingrect",value:function e(){var t=this;new intersectionobserver(function(e){e.foreach(function(e){e.isintersecting&&(t.elementboundingrect=e.boundingclientrect,t.getmegamenuboundingrect())})}).observe(this.element)}},{key:"getmegamenuboundingrect",value:function e(){var t=this;new intersectionobserver(function(e){e.foreach(function(e){e.isintersecting&&(t.megamenuboundingrect=e.boundingclientrect,t.positioning())})}).observe(this.$megamenucontainer.get(0))}},{key:"positioning",value:function e(){var t=this.elementboundingrect.width,n=this.elementboundingrect.left,i=this.megamenuboundingrect.width,a=this.getglobalcontainerdimensions(),s=a.width,o=a.offsetleft,r=n<=s+o,l=0;this.$submenu.css({left:"",marginleft:""}),i===s&&r&&this.$submenu.css({left:o-this.defaultsidepadding}),r&&(this.$submenu.css({left:o-this.defaultsidepadding+(s/2-i/2)}),l=parseint(this.$submenu.css("left"),10)),l>n?this.$submenu.css({left:n}):l+i=e.rootbounds.width&&i.addclass("to-left"),n.addclass("position-applied"),a.unobserve(e.target)})};new intersectionobserver(i).observe(t)}},{key:"handlewindowresize",value:function t(n){$(e).on("resize",this.onwindowresize.bind(this,n))}},{key:"onwindowresize",value:function e(t){this.offhandlers(t)}}]),n}();$.fn[i]=function(e){return this.each(function(){var t=$(this).data("submenu-options")||e;$.data(this,"plugin_"+i)||$.data(this,"plugin_"+i,new s(this,t))})}}(jquery,window,document),jquery(document).ready(function($){$(".main-nav").liquidsubmenu()});var _createclass=function(){function e(e,t){for(var n=0;n').insertbefore(this.$stickyelement).get(0)}},{key:"addsentinel",value:function e(){var t=this.options.stickytrigger,n=$('