if(function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],e):e((t=t||self).bootstrap={},t.jQuery)}(this,function(t,e){"use strict";function n(t,e){for(var n=0;n0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var n=t.prototype;return n.next=function(){this._isSliding||this._slide(O)},n.nextWhenVisible=function(){!document.hidden&&e(this._element).is(":visible")&&"hidden"!==e(this._element).css("visibility")&&this.next()},n.prev=function(){this._isSliding||this._slide(N)},n.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(K.NEXT_PREV)&&(l.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},n.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},n.to=function(t){var n=this;this._activeElement=this._element.querySelector(K.ACTIVE_ITEM);var i=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)e(this._element).one(P.SLID,function(){return n.to(t)});else{if(i===t)return this.pause(),void this.cycle();var o=t>i?O:N;this._slide(o,this._items[t])}},n.dispose=function(){e(this._element).off(T),e.removeData(this._element,"bs.carousel"),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},n._getConfig=function(t){return t=r({},x,t),l.typeCheckConfig(I,t,k),t},n._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;e>0&&this.prev(),e<0&&this.next()}},n._addEventListeners=function(){var t=this;this._config.keyboard&&e(this._element).on(P.KEYDOWN,function(e){return t._keydown(e)}),"hover"===this._config.pause&&e(this._element).on(P.MOUSEENTER,function(e){return t.pause(e)}).on(P.MOUSELEAVE,function(e){return t.cycle(e)}),this._config.touch&&this._addTouchEventListeners()},n._addTouchEventListeners=function(){var t=this;if(this._touchSupported){var n=function(e){t._pointerEvent&&z[e.originalEvent.pointerType.toUpperCase()]?t.touchStartX=e.originalEvent.clientX:t._pointerEvent||(t.touchStartX=e.originalEvent.touches[0].clientX)},i=function(e){t._pointerEvent&&z[e.originalEvent.pointerType.toUpperCase()]&&(t.touchDeltaX=e.originalEvent.clientX-t.touchStartX),t._handleSwipe(),"hover"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout(function(e){return t.cycle(e)},500+t._config.interval))};e(this._element.querySelectorAll(K.ITEM_IMG)).on(P.DRAG_START,function(t){return t.preventDefault()}),this._pointerEvent?(e(this._element).on(P.POINTERDOWN,function(t){return n(t)}),e(this._element).on(P.POINTERUP,function(t){return i(t)}),this._element.classList.add(U)):(e(this._element).on(P.TOUCHSTART,function(t){return n(t)}),e(this._element).on(P.TOUCHMOVE,function(e){return function(e){e.originalEvent.touches&&e.originalEvent.touches.length>1?t.touchDeltaX=0:t.touchDeltaX=e.originalEvent.touches[0].clientX-t.touchStartX}(e)}),e(this._element).on(P.TOUCHEND,function(t){return i(t)}))}},n._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},n._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(K.ITEM)):[],this._items.indexOf(t)},n._getItemByDirection=function(t,e){var n=t===O,i=t===N,o=this._getItemIndex(e),r=this._items.length-1;if((i&&0===o||n&&o===r)&&!this._config.wrap)return e;var s=(o+(t===N?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},n._triggerSlideEvent=function(t,n){var i=this._getItemIndex(t),o=this._getItemIndex(this._element.querySelector(K.ACTIVE_ITEM)),r=e.Event(P.SLIDE,{relatedTarget:t,direction:n,from:o,to:i});return e(this._element).trigger(r),r},n._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var n=[].slice.call(this._indicatorsElement.querySelectorAll(K.ACTIVE));e(n).removeClass(R);var i=this._indicatorsElement.children[this._getItemIndex(t)];i&&e(i).addClass(R)}},n._slide=function(t,n){var i,o,r,s=this,a=this._element.querySelector(K.ACTIVE_ITEM),c=this._getItemIndex(a),h=n||a&&this._getItemByDirection(t,a),u=this._getItemIndex(h),d=Boolean(this._interval);if(t===O?(i=M,o=W,r=L):(i=H,o=B,r=j),h&&e(h).hasClass(R))this._isSliding=!1;else if(!this._triggerSlideEvent(h,r).isDefaultPrevented()&&a&&h){this._isSliding=!0,d&&this.pause(),this._setActiveIndicatorElement(h);var f=e.Event(P.SLID,{relatedTarget:h,direction:r,from:c,to:u});if(e(this._element).hasClass(F)){e(h).addClass(o),l.reflow(h),e(a).addClass(i),e(h).addClass(i);var p=parseInt(h.getAttribute("data-interval"),10);p?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=p):this._config.interval=this._config.defaultInterval||this._config.interval;var g=l.getTransitionDurationFromElement(a);e(a).one(l.TRANSITION_END,function(){e(h).removeClass(i+" "+o).addClass(R),e(a).removeClass(R+" "+o+" "+i),s._isSliding=!1,setTimeout(function(){return e(s._element).trigger(f)},0)}).emulateTransitionEnd(g)}else e(a).removeClass(R),e(h).addClass(R),this._isSliding=!1,e(this._element).trigger(f);d&&this.cycle()}},t._jQueryInterface=function(n){return this.each(function(){var i=e(this).data("bs.carousel"),o=r({},x,e(this).data());"object"==typeof n&&(o=r({},o,n));var s="string"==typeof n?n:o.slide;if(i||(i=new t(this,o),e(this).data("bs.carousel",i)),"number"==typeof n)i.to(n);else if("string"==typeof s){if(void 0===i[s])throw new TypeError('No method named "'+s+'"');i[s]()}else o.interval&&o.ride&&(i.pause(),i.cycle())})},t._dataApiClickHandler=function(n){var i=l.getSelectorFromElement(this);if(i){var o=e(i)[0];if(o&&e(o).hasClass(Q)){var s=r({},e(o).data(),e(this).data()),a=this.getAttribute("data-slide-to");a&&(s.interval=!1),t._jQueryInterface.call(e(o),s),a&&e(o).data("bs.carousel").to(a),n.preventDefault()}}},i(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return x}}]),t}();e(document).on(P.CLICK_DATA_API,K.DATA_SLIDE,q._dataApiClickHandler),e(window).on(P.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll(K.DATA_RIDE)),n=0,i=t.length;n0&&(this._selector=s,this._triggerArray.push(r))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var n=t.prototype;return n.toggle=function(){e(this._element).hasClass(J)?this.hide():this.show()},n.show=function(){var n,i,o=this;if(!this._isTransitioning&&!e(this._element).hasClass(J)&&(this._parent&&0===(n=[].slice.call(this._parent.querySelectorAll(ot.ACTIVES)).filter(function(t){return"string"==typeof o._config.parent?t.getAttribute("data-parent")===o._config.parent:t.classList.contains(Z)})).length&&(n=null),!(n&&(i=e(n).not(this._selector).data("bs.collapse"))&&i._isTransitioning))){var r=e.Event(X.SHOW);if(e(this._element).trigger(r),!r.isDefaultPrevented()){n&&(t._jQueryInterface.call(e(n).not(this._selector),"hide"),i||e(n).data("bs.collapse",null));var s=this._getDimension();e(this._element).removeClass(Z).addClass(tt),this._element.style[s]=0,this._triggerArray.length&&e(this._triggerArray).removeClass(et).attr("aria-expanded",!0),this.setTransitioning(!0);var a="scroll"+(s[0].toUpperCase()+s.slice(1)),c=l.getTransitionDurationFromElement(this._element);e(this._element).one(l.TRANSITION_END,function(){e(o._element).removeClass(tt).addClass(Z).addClass(J),o._element.style[s]="",o.setTransitioning(!1),e(o._element).trigger(X.SHOWN)}).emulateTransitionEnd(c),this._element.style[s]=this._element[a]+"px"}}},n.hide=function(){var t=this;if(!this._isTransitioning&&e(this._element).hasClass(J)){var n=e.Event(X.HIDE);if(e(this._element).trigger(n),!n.isDefaultPrevented()){var i=this._getDimension();this._element.style[i]=this._element.getBoundingClientRect()[i]+"px",l.reflow(this._element),e(this._element).addClass(tt).removeClass(Z).removeClass(J);var o=this._triggerArray.length;if(o>0)for(var r=0;r=0){lt=1;break}var ht=st&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},lt))}};function ut(t){return t&&"[object Function]"==={}.toString.call(t)}function dt(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function ft(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function pt(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=dt(t),n=e.overflow,i=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(n+o+i)?t:pt(ft(t))}var gt=st&&!(!window.MSInputMethodContext||!document.documentMode),mt=st&&/MSIE 10/.test(navigator.userAgent);function vt(t){return 11===t?gt:10===t?mt:gt||mt}function _t(t){if(!t)return document.documentElement;for(var e=vt(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===dt(n,"position")?_t(n):n:t?t.ownerDocument.documentElement:document.documentElement}function bt(t){return null!==t.parentNode?bt(t.parentNode):t}function yt(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?t:e,o=n?e:t,r=document.createRange();r.setStart(i,0),r.setEnd(o,0);var s,a,l=r.commonAncestorContainer;if(t!==l&&e!==l||i.contains(o))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&_t(s.firstElementChild)!==s?_t(l):l;var c=bt(t);return c.host?yt(c.host,e):yt(t,bt(e).host)}function At(t){var e="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var i=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||i)[e]}return t[e]}function wt(t,e){var n="x"===e?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+i+"Width"],10)}function Et(t,e,n,i){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],vt(10)?parseInt(n["offset"+t])+parseInt(i["margin"+("Height"===t?"Top":"Left")])+parseInt(i["margin"+("Height"===t?"Bottom":"Right")]):0)}function Ct(t){var e=t.body,n=t.documentElement,i=vt(10)&&getComputedStyle(n);return{height:Et("Height",e,n,i),width:Et("Width",e,n,i)}}var St=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},It=function(){function t(t,e){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],i=vt(10),o="HTML"===e.nodeName,r=kt(t),s=kt(e),a=pt(t),l=dt(e),c=parseFloat(l.borderTopWidth,10),h=parseFloat(l.borderLeftWidth,10);n&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var u=xt({top:r.top-s.top-c,left:r.left-s.left-h,width:r.width,height:r.height});if(u.marginTop=0,u.marginLeft=0,!i&&o){var d=parseFloat(l.marginTop,10),f=parseFloat(l.marginLeft,10);u.top-=c-d,u.bottom-=c-d,u.left-=h-f,u.right-=h-f,u.marginTop=d,u.marginLeft=f}return(i&&!n?e.contains(a):e===a&&"BODY"!==a.nodeName)&&(u=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=At(e,"top"),o=At(e,"left"),r=n?-1:1;return t.top+=i*r,t.bottom+=i*r,t.left+=o*r,t.right+=o*r,t}(u,e)),u}function Nt(t){if(!t||!t.parentElement||vt())return document.documentElement;for(var e=t.parentElement;e&&"none"===dt(e,"transform");)e=e.parentElement;return e||document.documentElement}function Lt(t,e,n,i){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},s=o?Nt(t):yt(t,e);if("viewport"===i)r=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,i=Ot(t,n),o=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),s=e?0:At(n),a=e?0:At(n,"left");return xt({top:s-i.top+i.marginTop,left:a-i.left+i.marginLeft,width:o,height:r})}(s,o);else{var a=void 0;"scrollParent"===i?"BODY"===(a=pt(ft(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===i?t.ownerDocument.documentElement:i;var l=Ot(a,s,o);if("HTML"!==a.nodeName||function t(e){var n=e.nodeName;if("BODY"===n||"HTML"===n)return!1;if("fixed"===dt(e,"position"))return!0;var i=ft(e);return!!i&&t(i)}(s))r=l;else{var c=Ct(t.ownerDocument),h=c.height,u=c.width;r.top+=l.top-l.marginTop,r.bottom=h+l.top,r.left+=l.left-l.marginLeft,r.right=u+l.left}}var d="number"==typeof(n=n||0);return r.left+=d?n:n.left||0,r.top+=d?n:n.top||0,r.right-=d?n:n.right||0,r.bottom-=d?n:n.bottom||0,r}function jt(t,e,n,i,o){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=Lt(n,i,r,o),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map(function(t){return Dt({key:t},a[t],{area:(e=a[t],e.width*e.height)});var e}).sort(function(t,e){return e.area-t.area}),c=l.filter(function(t){var e=t.width,i=t.height;return e>=n.clientWidth&&i>=n.clientHeight}),h=c.length>0?c[0].key:l[0].key,u=t.split("-")[1];return h+(u?"-"+u:"")}function Pt(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return Ot(n,i?Nt(e):yt(e,n),i)}function Qt(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),i=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+i,height:t.offsetHeight+n}}function Rt(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function Ft(t,e,n){n=n.split("-")[0];var i=Qt(t),o={width:i.width,height:i.height},r=-1!==["right","left"].indexOf(n),s=r?"top":"left",a=r?"left":"top",l=r?"height":"width",c=r?"width":"height";return o[s]=e[s]+e[l]/2-i[l]/2,o[a]=n===a?e[a]-i[c]:e[Rt(a)],o}function Ht(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function Mt(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var i=Ht(t,function(t){return t[e]===n});return t.indexOf(i)}(t,"name",n))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&ut(n)&&(e.offsets.popper=xt(e.offsets.popper),e.offsets.reference=xt(e.offsets.reference),e=n(e,t))}),e}function Wt(t,e){return t.some(function(t){var n=t.name;return t.enabled&&n===e})}function Bt(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;i1&&void 0!==arguments[1]&&arguments[1],n=Xt.indexOf(t),i=Xt.slice(n+1).concat(Xt.slice(0,n));return e?i.reverse():i}var Zt={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function te(t,e,n,i){var o=[0,0],r=-1!==["right","left"].indexOf(i),s=t.split(/(\+|\-)/).map(function(t){return t.trim()}),a=s.indexOf(Ht(s,function(t){return-1!==t.search(/,|\s/)}));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return(c=c.map(function(t,i){var o=(1===i?!r:r)?"height":"width",s=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,n,i){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],s=o[2];if(!r)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=i}return xt(a)[e]/100*r}if("vh"===s||"vw"===s)return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r;return r}(t,o,e,n)})})).forEach(function(t,e){t.forEach(function(n,i){qt(n)&&(o[e]+=n*("-"===t[i-1]?-1:1))})}),o}var ee={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],i=e.split("-")[1];if(i){var o=t.offsets,r=o.reference,s=o.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",c=a?"width":"height",h={start:Tt({},l,r[l]),end:Tt({},l,r[l]+r[c]-s[c])};t.offsets.popper=Dt({},s,h[i])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,i=t.placement,o=t.offsets,r=o.popper,s=o.reference,a=i.split("-")[0],l=void 0;return l=qt(+n)?[+n,0]:te(n,r,s,a),"left"===a?(r.top+=l[0],r.left-=l[1]):"right"===a?(r.top+=l[0],r.left+=l[1]):"top"===a?(r.left+=l[0],r.top-=l[1]):"bottom"===a&&(r.left+=l[0],r.top+=l[1]),t.popper=r,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||_t(t.instance.popper);t.instance.reference===n&&(n=_t(n));var i=Bt("transform"),o=t.instance.popper.style,r=o.top,s=o.left,a=o[i];o.top="",o.left="",o[i]="";var l=Lt(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);o.top=r,o.left=s,o[i]=a,e.boundaries=l;var c=e.priority,h=t.offsets.popper,u={primary:function(t){var n=h[t];return h[t]l[t]&&!e.escapeWithReference&&(i=Math.min(h[n],l[t]-("right"===t?h.width:h.height))),Tt({},n,i)}};return c.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";h=Dt({},h,u[e](t))}),t.offsets.popper=h,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,i=e.reference,o=t.placement.split("-")[0],r=Math.floor,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return n[a]r(i[a])&&(t.offsets.popper[l]=r(i[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!Gt(t.instance.modifiers,"arrow","keepTogether"))return t;var i=e.element;if("string"==typeof i){if(!(i=t.instance.popper.querySelector(i)))return t}else if(!t.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],r=t.offsets,s=r.popper,a=r.reference,l=-1!==["left","right"].indexOf(o),c=l?"height":"width",h=l?"Top":"Left",u=h.toLowerCase(),d=l?"left":"top",f=l?"bottom":"right",p=Qt(i)[c];a[f]-ps[f]&&(t.offsets.popper[u]+=a[u]+p-s[f]),t.offsets.popper=xt(t.offsets.popper);var g=a[u]+a[c]/2-p/2,m=dt(t.instance.popper),v=parseFloat(m["margin"+h],10),_=parseFloat(m["border"+h+"Width"],10),b=g-t.offsets.popper[u]-v-_;return b=Math.max(Math.min(s[c]-p,b),0),t.arrowElement=i,t.offsets.arrow=(Tt(n={},u,Math.round(b)),Tt(n,d,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(Wt(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=Lt(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),i=t.placement.split("-")[0],o=Rt(i),r=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case Zt.FLIP:s=[i,o];break;case Zt.CLOCKWISE:s=Jt(i);break;case Zt.COUNTERCLOCKWISE:s=Jt(i,!0);break;default:s=e.behavior}return s.forEach(function(a,l){if(i!==a||s.length===l+1)return t;i=t.placement.split("-")[0],o=Rt(i);var c=t.offsets.popper,h=t.offsets.reference,u=Math.floor,d="left"===i&&u(c.right)>u(h.left)||"right"===i&&u(c.left)u(h.top)||"bottom"===i&&u(c.top)u(n.right),g=u(c.top)u(n.bottom),v="left"===i&&f||"right"===i&&p||"top"===i&&g||"bottom"===i&&m,_=-1!==["top","bottom"].indexOf(i),b=!!e.flipVariations&&(_&&"start"===r&&f||_&&"end"===r&&p||!_&&"start"===r&&g||!_&&"end"===r&&m);(d||v||b)&&(t.flipped=!0,(d||v)&&(i=s[l+1]),b&&(r=function(t){return"end"===t?"start":"start"===t?"end":t}(r)),t.placement=i+(r?"-"+r:""),t.offsets.popper=Dt({},t.offsets.popper,Ft(t.instance.popper,t.offsets.reference,t.placement)),t=Mt(t.instance.modifiers,t,"flip"))}),t},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],i=t.offsets,o=i.popper,r=i.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return o[s?"left":"top"]=r[n]-(a?o[s?"width":"height"]:0),t.placement=Rt(e),t.offsets.popper=xt(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!Gt(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=Ht(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottomn.right||e.top>n.bottom||e.right2&&void 0!==arguments[2]?arguments[2]:{};St(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=ht(this.update.bind(this)),this.options=Dt({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(Dt({},t.Defaults.modifiers,o.modifiers)).forEach(function(e){i.options.modifiers[e]=Dt({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return Dt({name:t},i.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&ut(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)}),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}return It(t,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=Pt(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=jt(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=Ft(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=Mt(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,Wt(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[Bt("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=Kt(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return zt.call(this)}}]),t}();ne.Utils=("undefined"!=typeof window?window:global).PopperUtils,ne.placements=$t,ne.Defaults=ee;var ie="dropdown",oe=e.fn[ie],re=new RegExp("38|40|27"),se={HIDE:"hide.bs.dropdown",HIDDEN:"hidden.bs.dropdown",SHOW:"show.bs.dropdown",SHOWN:"shown.bs.dropdown",CLICK:"click.bs.dropdown",CLICK_DATA_API:"click.bs.dropdown.data-api",KEYDOWN_DATA_API:"keydown.bs.dropdown.data-api",KEYUP_DATA_API:"keyup.bs.dropdown.data-api"},ae="disabled",le="show",ce="dropup",he="dropright",ue="dropleft",de="dropdown-menu-right",fe="position-static",pe='[data-toggle="dropdown"]',ge=".dropdown form",me=".dropdown-menu",ve=".navbar-nav",_e=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",be="top-start",ye="top-end",Ae="bottom-start",we="bottom-end",Ee="right-start",Ce="left-start",Se={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},Ie={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},Te=function(){function t(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var n=t.prototype;return n.toggle=function(){if(!this._element.disabled&&!e(this._element).hasClass(ae)){var n=t._getParentFromElement(this._element),i=e(this._menu).hasClass(le);if(t._clearMenus(),!i){var o={relatedTarget:this._element},r=e.Event(se.SHOW,o);if(e(n).trigger(r),!r.isDefaultPrevented()){if(!this._inNavbar){if(void 0===ne)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var s=this._element;"parent"===this._config.reference?s=n:l.isElement(this._config.reference)&&(s=this._config.reference,void 0!==this._config.reference.jquery&&(s=this._config.reference[0])),"scrollParent"!==this._config.boundary&&e(n).addClass(fe),this._popper=new ne(s,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===e(n).closest(ve).length&&e(document.body).children().on("mouseover",null,e.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),e(this._menu).toggleClass(le),e(n).toggleClass(le).trigger(e.Event(se.SHOWN,o))}}}},n.show=function(){if(!(this._element.disabled||e(this._element).hasClass(ae)||e(this._menu).hasClass(le))){var n={relatedTarget:this._element},i=e.Event(se.SHOW,n),o=t._getParentFromElement(this._element);e(o).trigger(i),i.isDefaultPrevented()||(e(this._menu).toggleClass(le),e(o).toggleClass(le).trigger(e.Event(se.SHOWN,n)))}},n.hide=function(){if(!this._element.disabled&&!e(this._element).hasClass(ae)&&e(this._menu).hasClass(le)){var n={relatedTarget:this._element},i=e.Event(se.HIDE,n),o=t._getParentFromElement(this._element);e(o).trigger(i),i.isDefaultPrevented()||(e(this._menu).toggleClass(le),e(o).toggleClass(le).trigger(e.Event(se.HIDDEN,n)))}},n.dispose=function(){e.removeData(this._element,"bs.dropdown"),e(this._element).off(".bs.dropdown"),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},n.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},n._addEventListeners=function(){var t=this;e(this._element).on(se.CLICK,function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},n._getConfig=function(t){return t=r({},this.constructor.Default,e(this._element).data(),t),l.typeCheckConfig(ie,t,this.constructor.DefaultType),t},n._getMenuElement=function(){if(!this._menu){var e=t._getParentFromElement(this._element);e&&(this._menu=e.querySelector(me))}return this._menu},n._getPlacement=function(){var t=e(this._element.parentNode),n=Ae;return t.hasClass(ce)?(n=be,e(this._menu).hasClass(de)&&(n=ye)):t.hasClass(he)?n=Ee:t.hasClass(ue)?n=Ce:e(this._menu).hasClass(de)&&(n=we),n},n._detectNavbar=function(){return e(this._element).closest(".navbar").length>0},n._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=r({},e.offsets,t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e},n._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),t},t._jQueryInterface=function(n){return this.each(function(){var i=e(this).data("bs.dropdown");if(i||(i=new t(this,"object"==typeof n?n:null),e(this).data("bs.dropdown",i)),"string"==typeof n){if(void 0===i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},t._clearMenus=function(n){if(!n||3!==n.which&&("keyup"!==n.type||9===n.which))for(var i=[].slice.call(document.querySelectorAll(pe)),o=0,r=i.length;o0&&s--,40===n.which&&sdocument.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},n._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},n._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right
',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:We},Je="show",Ze="out",tn={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},en="fade",nn="show",on=".tooltip-inner",rn=".arrow",sn="hover",an="focus",ln="click",cn="manual",hn=function(){function t(t,e){if(void 0===ne)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var n=t.prototype;return n.enable=function(){this._isEnabled=!0},n.disable=function(){this._isEnabled=!1},n.toggleEnabled=function(){this._isEnabled=!this._isEnabled},n.toggle=function(t){if(this._isEnabled)if(t){var n=this.constructor.DATA_KEY,i=e(t.currentTarget).data(n);i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(n,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(e(this.getTipElement()).hasClass(nn))return void this._leave(null,this);this._enter(null,this)}},n.dispose=function(){clearTimeout(this._timeout),e.removeData(this.element,this.constructor.DATA_KEY),e(this.element).off(this.constructor.EVENT_KEY),e(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&e(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,null!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},n.show=function(){var t=this;if("none"===e(this.element).css("display"))throw new Error("Please use show on visible elements");var n=e.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){e(this.element).trigger(n);var i=l.findShadowRoot(this.element),o=e.contains(null!==i?i:this.element.ownerDocument.documentElement,this.element);if(n.isDefaultPrevented()||!o)return;var r=this.getTipElement(),s=l.getUID(this.constructor.NAME);r.setAttribute("id",s),this.element.setAttribute("aria-describedby",s),this.setContent(),this.config.animation&&e(r).addClass(en);var a="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement,c=this._getAttachment(a);this.addAttachmentClass(c);var h=this._getContainer();e(r).data(this.constructor.DATA_KEY,this),e.contains(this.element.ownerDocument.documentElement,this.tip)||e(r).appendTo(h),e(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new ne(this.element,r,{placement:c,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:rn},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){return t._handlePopperPlacementChange(e)}}),e(r).addClass(nn),"ontouchstart"in document.documentElement&&e(document.body).children().on("mouseover",null,e.noop);var u=function(){t.config.animation&&t._fixTransition();var n=t._hoverState;t._hoverState=null,e(t.element).trigger(t.constructor.Event.SHOWN),n===Ze&&t._leave(null,t)};if(e(this.tip).hasClass(en)){var d=l.getTransitionDurationFromElement(this.tip);e(this.tip).one(l.TRANSITION_END,u).emulateTransitionEnd(d)}else u()}},n.hide=function(t){var n=this,i=this.getTipElement(),o=e.Event(this.constructor.Event.HIDE),r=function(){n._hoverState!==Je&&i.parentNode&&i.parentNode.removeChild(i),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),e(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),t&&t()};if(e(this.element).trigger(o),!o.isDefaultPrevented()){if(e(i).removeClass(nn),"ontouchstart"in document.documentElement&&e(document.body).children().off("mouseover",null,e.noop),this._activeTrigger[ln]=!1,this._activeTrigger[an]=!1,this._activeTrigger[sn]=!1,e(this.tip).hasClass(en)){var s=l.getTransitionDurationFromElement(i);e(i).one(l.TRANSITION_END,r).emulateTransitionEnd(s)}else r();this._hoverState=""}},n.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},n.isWithContent=function(){return Boolean(this.getTitle())},n.addAttachmentClass=function(t){e(this.getTipElement()).addClass("bs-tooltip-"+t)},n.getTipElement=function(){return this.tip=this.tip||e(this.config.template)[0],this.tip},n.setContent=function(){var t=this.getTipElement();this.setElementContent(e(t.querySelectorAll(on)),this.getTitle()),e(t).removeClass(en+" "+nn)},n.setElementContent=function(t,n){"object"!=typeof n||!n.nodeType&&!n.jquery?this.config.html?(this.config.sanitize&&(n=Ke(n,this.config.whiteList,this.config.sanitizeFn)),t.html(n)):t.text(n):this.config.html?e(n).parent().is(t)||t.empty().append(n):t.text(e(n).text())},n.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},n._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=r({},e.offsets,t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},n._getContainer=function(){return!1===this.config.container?document.body:l.isElement(this.config.container)?e(this.config.container):e(document).find(this.config.container)},n._getAttachment=function(t){return $e[t.toUpperCase()]},n._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach(function(n){if("click"===n)e(t.element).on(t.constructor.Event.CLICK,t.config.selector,function(e){return t.toggle(e)});else if(n!==cn){var i=n===sn?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,o=n===sn?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;e(t.element).on(i,t.config.selector,function(e){return t._enter(e)}).on(o,t.config.selector,function(e){return t._leave(e)})}}),e(this.element).closest(".modal").on("hide.bs.modal",function(){t.element&&t.hide()}),this.config.selector?this.config=r({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},n._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},n._enter=function(t,n){var i=this.constructor.DATA_KEY;(n=n||e(t.currentTarget).data(i))||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(i,n)),t&&(n._activeTrigger["focusin"===t.type?an:sn]=!0),e(n.getTipElement()).hasClass(nn)||n._hoverState===Je?n._hoverState=Je:(clearTimeout(n._timeout),n._hoverState=Je,n.config.delay&&n.config.delay.show?n._timeout=setTimeout(function(){n._hoverState===Je&&n.show()},n.config.delay.show):n.show())},n._leave=function(t,n){var i=this.constructor.DATA_KEY;(n=n||e(t.currentTarget).data(i))||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(i,n)),t&&(n._activeTrigger["focusout"===t.type?an:sn]=!1),n._isWithActiveTrigger()||(clearTimeout(n._timeout),n._hoverState=Ze,n.config.delay&&n.config.delay.hide?n._timeout=setTimeout(function(){n._hoverState===Ze&&n.hide()},n.config.delay.hide):n.hide())},n._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},n._getConfig=function(t){var n=e(this.element).data();return Object.keys(n).forEach(function(t){-1!==Ye.indexOf(t)&&delete n[t]}),"number"==typeof(t=r({},this.constructor.Default,n,"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),l.typeCheckConfig(ze,t,this.constructor.DefaultType),t.sanitize&&(t.template=Ke(t.template,t.whiteList,t.sanitizeFn)),t},n._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},n._cleanTipClass=function(){var t=e(this.getTipElement()),n=t.attr("class").match(Ve);null!==n&&n.length&&t.removeClass(n.join(""))},n._handlePopperPlacementChange=function(t){var e=t.instance;this.tip=e.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},n._fixTransition=function(){var t=this.getTipElement(),n=this.config.animation;null===t.getAttribute("x-placement")&&(e(t).removeClass(en),this.config.animation=!1,this.hide(),this.show(),this.config.animation=n)},t._jQueryInterface=function(n){return this.each(function(){var i=e(this).data("bs.tooltip"),o="object"==typeof n&&n;if((i||!/dispose|hide/.test(n))&&(i||(i=new t(this,o),e(this).data("bs.tooltip",i)),"string"==typeof n)){if(void 0===i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},i(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Xe}},{key:"NAME",get:function(){return ze}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return tn}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return Ge}}]),t}();e.fn.tooltip=hn._jQueryInterface,e.fn.tooltip.Constructor=hn,e.fn.tooltip.noConflict=function(){return e.fn.tooltip=qe,hn._jQueryInterface};var un="popover",dn=e.fn.popover,fn=new RegExp("(^|\\s)bs-popover\\S+","g"),pn=r({},hn.Default,{placement:"right",trigger:"click",content:"",template:''}),gn=r({},hn.DefaultType,{content:"(string|element|function)"}),mn="fade",vn="show",_n=".popover-header",bn=".popover-body",yn={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},An=function(t){var n,o;function r(){return t.apply(this,arguments)||this}o=t,(n=r).prototype=Object.create(o.prototype),n.prototype.constructor=n,n.__proto__=o;var s=r.prototype;return s.isWithContent=function(){return this.getTitle()||this._getContent()},s.addAttachmentClass=function(t){e(this.getTipElement()).addClass("bs-popover-"+t)},s.getTipElement=function(){return this.tip=this.tip||e(this.config.template)[0],this.tip},s.setContent=function(){var t=e(this.getTipElement());this.setElementContent(t.find(_n),this.getTitle());var n=this._getContent();"function"==typeof n&&(n=n.call(this.element)),this.setElementContent(t.find(bn),n),t.removeClass(mn+" "+vn)},s._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},s._cleanTipClass=function(){var t=e(this.getTipElement()),n=t.attr("class").match(fn);null!==n&&n.length>0&&t.removeClass(n.join(""))},r._jQueryInterface=function(t){return this.each(function(){var n=e(this).data("bs.popover"),i="object"==typeof t?t:null;if((n||!/dispose|hide/.test(t))&&(n||(n=new r(this,i),e(this).data("bs.popover",n)),"string"==typeof t)){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}})},i(r,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return pn}},{key:"NAME",get:function(){return un}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return yn}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return gn}}]),r}(hn);e.fn.popover=An._jQueryInterface,e.fn.popover.Constructor=An,e.fn.popover.noConflict=function(){return e.fn.popover=dn,An._jQueryInterface};var wn="scrollspy",En=e.fn[wn],Cn={offset:10,method:"auto",target:""},Sn={offset:"number",method:"string",target:"(string|element)"},In={ACTIVATE:"activate.bs.scrollspy",SCROLL:"scroll.bs.scrollspy",LOAD_DATA_API:"load.bs.scrollspy.data-api"},Tn="dropdown-item",Dn="active",xn={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},kn="offset",On="position",Nn=function(){function t(t,n){var i=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(n),this._selector=this._config.target+" "+xn.NAV_LINKS+","+this._config.target+" "+xn.LIST_ITEMS+","+this._config.target+" "+xn.DROPDOWN_ITEMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,e(this._scrollElement).on(In.SCROLL,function(t){return i._process(t)}),this.refresh(),this._process()}var n=t.prototype;return n.refresh=function(){var t=this,n=this._scrollElement===this._scrollElement.window?kn:On,i="auto"===this._config.method?n:this._config.method,o=i===On?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(t){var n,r=l.getSelectorFromElement(t);if(r&&(n=document.querySelector(r)),n){var s=n.getBoundingClientRect();if(s.width||s.height)return[e(n)[i]().top+o,r]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(e){t._offsets.push(e[0]),t._targets.push(e[1])})},n.dispose=function(){e.removeData(this._element,"bs.scrollspy"),e(this._scrollElement).off(".bs.scrollspy"),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},n._getConfig=function(t){if("string"!=typeof(t=r({},Cn,"object"==typeof t&&t?t:{})).target){var n=e(t.target).attr("id");n||(n=l.getUID(wn),e(t.target).attr("id",n)),t.target="#"+n}return l.typeCheckConfig(wn,t,Sn),t},n._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},n._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},n._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},n._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&t0)return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;){this._activeTarget!==this._targets[o]&&t>=this._offsets[o]&&(void 0===this._offsets[o+1]||t=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),t.Util=l,t.Alert=p,t.Button=S,t.Carousel=q,t.Collapse=rt,t.Dropdown=Te,t.Modal=He,t.Popover=An,t.Scrollspy=Nn,t.Tab=Vn,t.Toast=ii,t.Tooltip=hn,Object.defineProperty(t,"__esModule",{value:!0})}),jQuery(function(t){function e(){"none"==t(".navbar-toggler").css("display")&&t(".navbar-nav").find(".open").removeClass("open")}t(document).ready(function(){e(),t(window).resize(e)})}),jQuery(function(t){function e(){"none"==t(".navbar-toggler").css("display")&&"1"===evolve_js_local_vars.main_menu&&t(".dropdown-toggle").each(function(){}),t(".dropdown.nav-item > a").click(function(e){t(this).closest("li").find(".dropdown-menu").length&&(t(this).hasClass("clicked")||(t(this).closest("ul").find(".open").removeClass("open"),t(this).closest("ul").find(".clicked").removeClass("clicked"),t(this).closest("li").addClass("open"),e.preventDefault()),t(this).addClass("clicked"))})}t(".dropdown-toggle").removeAttr("data-toggle dropdown"),t(document).ready(function(){e(),t(window).resize(e)})}),jQuery(function(t){"use strict";var e=function(e,n){this.options=n,this.$element=t(e);var i=this;this.dropdowns=this.$element.hasClass("dropdown-toggle")?this.$element.parent().find(".dropdown-menu").parent(".dropdown"):this.$element.find(".dropdown"),window.outerWidth>=768&&(this.dropdowns.each(function(){t(this).on("mouseenter.bs.dropdownhover",function(e){i.show(t(this).children("a, button")),e.preventDefault(),t(this).children("a").addClass("clicked")})}),this.dropdowns.each(function(){t(this).on("mouseleave.bs.dropdownhover",function(e){i.hide(t(this).children("a, button")),t(this).children("a").removeClass("clicked")})}))};function n(n){return this.each(function(){var i=t(this),o=i.data("bs.dropdownhover"),r=i.data();void 0!==i.data("animations")&&null!==i.data("animations")&&(r.animations=t.isArray(r.animations)?r.animations:r.animations.split(" "));var s=t.extend({},e.DEFAULTS,r,"object"==typeof n&&n);o||i.data("bs.dropdownhover",o=new e(this,s))})}e.TRANSITION_DURATION=300,e.DELAY=150,e.TIMEOUT,e.DEFAULTS={animations:["fadeInDown","fadeInRight","fadeInUp","fadeInLeft"]},e.prototype.show=function(n){var i=t(n);window.clearTimeout(e.TIMEOUT),t(".dropdown").not(i.parents()).each(function(){t(this).removeClass("open")});var o=this.options.animations[0];if(!i.is(".disabled, :disabled")){var r=i.parent();if(!r.hasClass("open")){var s=i.next(".dropdown-hover");r.addClass("open");var a=this.position(s);o="top"==a?this.options.animations[2]:"right"==a?this.options.animations[3]:"left"==a?this.options.animations[1]:this.options.animations[0],s.addClass("animated "+o),s.hasClass("animated")?s.one("bsTransitionEnd",function(){s.removeClass("animated "+o)}).emulateTransitionEnd(e.TRANSITION_DURATION):s.removeClass("animated "+o)}return!1}},e.prototype.hide=function(n){var i=t(n).parent();e.TIMEOUT=window.setTimeout(function(){i.removeClass("open")},e.DELAY)},e.prototype.position=function(e){var n=t(window);e.css({bottom:"",left:"",top:"",right:""}).removeClass("dropdownhover-top");var i={top:n.scrollTop(),left:n.scrollLeft()};i.right=i.left+n.width(),i.bottom=i.top+n.height();var o=e.offset();if(void 0!==o){o.right=o.left+e.outerWidth(),o.bottom=o.top+e.outerHeight();var r=e.position();r.right=o.left+e.outerWidth(),r.bottom=o.top+e.outerHeight();var s="";if(e.parents(".dropdown-hover").length)r.left<0?(s="left",e.removeClass("dropdownhover-right").addClass("dropdownhover-left")):(s="right",e.addClass("dropdownhover-right").removeClass("dropdownhover-left")),o.lefti.right&&(s="left",e.css({left:"auto",right:"100%"}).removeClass("dropdownhover-right").addClass("dropdownhover-left")),o.bottom>i.bottom?e.css({bottom:"auto",top:-(o.bottom-i.bottom)}):o.topi.right&&e.css({left:-(o.right-i.right),right:"auto"}),o.bottom>i.bottom&&l.top-i.top>i.bottom-l.bottom||e.position().top<0?(s="top",e.css({bottom:"100%",top:"auto"}).addClass("dropdownhover-top").removeClass("dropdownhover-bottom")):(s="bottom",e.addClass("dropdownhover-bottom"))}return s}};var i,o=t.fn.dropdownhover;t.fn.dropdownhover=n,t.fn.dropdownhover.Constructor=e,t.fn.dropdownhover.noConflict=function(){return t.fn.dropdownhover=o,this},t("body").on("click touchstart",function(){0==t(event.target).closest(".navbar").length&&t(".navbar-nav .open").removeClass("open")}),t(document).ready(function(){t(".navbar-nav .open").removeClass("open"),t('[data-hover="dropdown"]').each(function(){var e=t(this);n.call(e,e.data())})}),t(window).on("resize",function(){clearTimeout(i),i=setTimeout(function(){t(window).width()>=768?t('[data-hover="dropdown"]').each(function(){var e=t(this);n.call(e,e.data())}):t('[data-hover="dropdown"]').each(function(){t(this).removeData("bs.dropdownhover"),t(this).hasClass("dropdown-toggle")?t(this).parent(".dropdown").find(".dropdown").andSelf().off("mouseenter.bs.dropdownhover mouseleave.bs.dropdownhover"):t(this).find(".dropdown").off("mouseenter.bs.dropdownhover mouseleave.bs.dropdownhover")})},200)})}),"1"===evolve_js_local_vars.sticky_header&&jQuery(function(t){t(".sticky-header").length>=1&&t(window).scroll(function(){t(document).scrollTop()>t(".header-height").height()?t(".sticky-header").addClass("fadein"):t(".sticky-header").removeClass("fadein")})}),jQuery(function(t){{var e;function n(){clearTimeout(e),e=setTimeout(function(){var e=t(".carousel-resize .active").height();t(".carousel-resize .active").closest(".carousel-resize").animate({height:e})},100)}t("#posts-slider img.d-block").each(function(){t(this).attr("data-lazy-src")&&t(this).attr("src",t(this).attr("data-lazy-src"))}),t(".carousel").on("slide.bs.carousel",function(e){var n=t(e.relatedTarget).height();t(e.target).find(".carousel-inner").animate({height:n})}),t(window).resize(function(){n()})}t(".product-carousel").carousel({interval:!1,wrap:!1}),t(document).ready(function(){o("#carousel-slider-product .carousel-inner"),o(".carousel-multiple-items")}),t("#carousel-slider-product").on("slid.bs.carousel",function(){o("#carousel-slider-product .carousel-inner")});var i=t(".carousel-multiple-items");function o(e){var n=e,i=t(n);t(n+" .carousel-item:first").hasClass("active")?(i.children(".carousel-control-prev").hide().removeClass("carousel-arrow"),i.children(".carousel-control-next").show().css("display","flex").addClass("carousel-arrow")):t(n+" .carousel-item:last").hasClass("active")?(i.children(".carousel-control-next").hide().removeClass("carousel-arrow"),i.children(".carousel-control-prev").show().css("display","flex").addClass("carousel-arrow")):i.children(".carousel-control").show().css("display","flex").addClass("carousel-arrow")}i.carousel({interval:!1}),i.on("slid.bs.carousel",function(){o("#carousel-slider-thumbnails")}),i.on("slide.bs.carousel",function(e){var n=t(e.relatedTarget).index(),i=3;window.outerWidth<=768?i=2:window.outerWidth<=575&&(i=1);var o=t(".carousel-item").length;if(n>=o-(i-1))for(var r=i-(o-n),s=0;s '+plan_text+""):t.html(' '+plan_text)):"1"===evolve_js_local_vars.wpml_menu_effect?t.html(''+plan_text+""):t.html(plan_text)})}),jQuery(function(t){t(".nav-tabs li:first-child a").tab("show")}),void 0!==evolve_js_local_vars.woocommerce&&jQuery(function(t){t(".catalog-ordering .orderby .current-item").html(t(".catalog-ordering .orderby .current").html()),t(".catalog-ordering .sort-count .current-item").html(t(".catalog-ordering .sort-count .current").html()),t(".rtl .woocommerce .wc-forward").each(function(){t(this).val(t(".rtl .woocommerce .wc-forward").val().replace("→","←"))}),t(".woocommerce-checkout-nav a, .continue-checkout").click(function(e){e.preventDefault();var n=t(this).attr("data-name");t(".woocommerce-checkout-nav li").removeClass("active"),t(".woocommerce-checkout-nav").find("[data-name="+n+"]").parent().addClass("active")}),t("a.add_to_cart_button").click(function(e){var n=this;t(n).closest(".products .product").find(".cart-loading").find("div").removeClass("ok").addClass("loader"),t(this).closest(".products .product").find(".cart-loading").addClass("fadein"),setTimeout(function(){t(n).closest(".products .product").find(".cart-loading").find("div").removeClass("fadein").removeClass("loader").addClass("ok").addClass("fadein"),setTimeout(function(){t(n).closest(".products .product").find(".cart-loading").removeClass("fadein").closest(".products .product").find(".product-images img").animate({opacity:1})},2e3)},2e3)}),t(".products .product").mouseenter(function(){t(this).find(".cart-loading").find("div").hasClass("ok")&&t(this).find(".cart-loading").addClass("fadein")}).mouseleave(function(){t(this).find(".cart-loading").find("div").hasClass("ok")&&t(this).find(".cart-loading").stop().removeClass("fadein")}),t(".woocommerce .woocommerce-input-wrapper").addClass("col-sm-8"),t('#checkout-tab a[href="#checkout-billing"]').tab("show"),t('#account-tab a[href="#account-dashboard"]').tab("show"),t(".continue").click(function(){t(".nav-pills > .active").next("a").trigger("click")}),t(".view-orders-link").click(function(){t("a#account-orders-tab").click()}),t(".edit-address-link").click(function(){t("a#account-address-tab").click()}),t(".edit-account-link").click(function(){t("a#account-edit-tab").click()}),t(".woocommerce-tabs a:first-child").tab("show"),t(".woocommerce-review-link").click(function(){t("a#reviews").click()}),"#reviews"===window.location.hash&&t('.woocommerce-tabs a[href="#tab-reviews"]').tab("show"),t("#account-tab a.account-tab").click(function(e){e.preventDefault(),t(".editaddress_billing").hide(),t(".editaddress_shipping").hide()}),t(document).ready(function(t){t(".woo_editaddress").click(function(e){e.preventDefault();var n=t(this).attr("id");"editaddress_billing"==n?(t(".editaddress_billing").fadeIn(),t(".editaddress_shipping").hide()):"editaddress_shipping"==n&&(t(".editaddress_shipping").fadeIn(),t(".editaddress_billing").hide())}),t("#saveaddress").click(function(){var e=t("#formvalue").val();"billing"==e?(t(".editaddress_billing").fadeIn(),t(".editaddress_shipping").hide()):"shipping"==e&&(t(".editaddress_shipping").fadeIn(),t(".editaddress_billing").hide())})}),t(".attachment-shop_single").on("load",function(){var e=t(".woocommerce-product-gallery__image .attachment-shop_single").attr("src");t(".woocommerce-product-gallery__image").attr("href",e)})}),"1"===evolve_js_local_vars.infinite_scroll_enabled){var IASCallbacks=function(t){return this.list=[],this.fireStack=[],this.isFiring=!1,this.isDisabled=!1,this.Deferred=t.Deferred,this.fire=function(t){var e=t[0],n=t[1],i=t[2];this.isFiring=!0;for(var o=0,r=this.list.length;r>o;o++)if(null!=this.list[o]&&!1===this.list[o].fn.apply(e,i)){n.reject();break}this.isFiring=!1,n.resolve(),this.fireStack.length&&this.fire(this.fireStack.shift())},this.inList=function(t,e){for(var n=e=e||0,i=this.list.length;i>n;n++)if(this.list[n].fn===t||t.guid&&this.list[n].fn.guid&&t.guid===this.list[n].fn.guid)return n;return-1},this};IASCallbacks.prototype={add:function(t,e){var n={fn:t,priority:e};e=e||0;for(var i=0,o=this.list.length;o>i;i++)if(e>this.list[i].priority)return this.list.splice(i,0,n),this;return this.list.push(n),this},remove:function(t){for(var e=0;(e=this.inList(t,e))>-1;)this.list.splice(e,1);return this},has:function(t){return this.inList(t)>-1},fireWith:function(t,e){var n=this.Deferred();return this.isDisabled?n.reject():(e=[t,n,(e=e||[]).slice?e.slice():e],this.isFiring?this.fireStack.push(e):this.fire(e),n)},disable:function(){this.isDisabled=!0},enable:function(){this.isDisabled=!1}},function(t){"use strict";var e=function(e,n){return this.itemsContainerSelector=n.container,this.itemSelector=n.item,this.nextSelector=n.next,this.paginationSelector=n.pagination,this.$scrollContainer=e,this.$container=window===e.get(0)?t(document):e,this.defaultDelay=n.delay,this.negativeMargin=n.negativeMargin,this.nextUrl=null,this.isBound=!1,this.isPaused=!1,this.isInitialized=!1,this.jsXhr=!1,this.listeners={next:new IASCallbacks(t),load:new IASCallbacks(t),loaded:new IASCallbacks(t),render:new IASCallbacks(t),rendered:new IASCallbacks(t),scroll:new IASCallbacks(t),noneLeft:new IASCallbacks(t),ready:new IASCallbacks(t)},this.extensions=[],this.scrollHandler=function(){if(this.isBound&&!this.isPaused){var t=this.getCurrentScrollOffset(this.$scrollContainer),e=this.getScrollThreshold();-1!=e&&(this.fire("scroll",[t,e]),t>=e&&this.next())}},this.getItemsContainer=function(){return t(this.itemsContainerSelector,this.$container)},this.getLastItem=function(){return t(this.itemSelector,this.getItemsContainer().get(0)).last()},this.getFirstItem=function(){return t(this.itemSelector,this.getItemsContainer().get(0)).first()},this.getScrollThreshold=function(t){var e;return t=(t=t||this.negativeMargin)>=0?-1*t:t,0===(e=this.getLastItem()).length?-1:e.offset().top+e.height()+t},this.getCurrentScrollOffset=function(t){var e,n=t.height();return e=window===t.get(0)?t.scrollTop():t.offset().top,(-1!=navigator.platform.indexOf("iPhone")||-1!=navigator.platform.indexOf("iPod"))&&(n+=80),e+n},this.getNextUrl=function(e){return e=e||this.$container,t(this.nextSelector,e).last().attr("href")},this.load=function(e,n,i){var o,r,s=this,a=[],l=+new Date;i=i||this.defaultDelay;var c={url:e,ajaxOptions:{dataType:"html"}};return s.fire("load",[c]),this.jsXhr=t.ajax(c.url,c.ajaxOptions).done(t.proxy(function(e){0===(o=t(this.itemsContainerSelector,e).eq(0)).length&&(o=t(e).filter(this.itemsContainerSelector).eq(0)),o&&o.find(this.itemSelector).each(function(){a.push(this)}),s.fire("loaded",[e,a]),n&&(r=+new Date-l,i>r?setTimeout(function(){n.call(s,e,a)},i-r):n.call(s,e,a))},s)),this.jsXhr},this.render=function(e,n){var i=this,o=this.getLastItem(),r=0,s=this.fire("render",[e]);s.done(function(){t(e).hide(),o.after(e),t(e).fadeIn(400,function(){++rn?t():o=setTimeout(t,n)},t.guid&&(i.guid=e.guid=e.guid||t.guid++),i},this.fire=function(t,e){return this.listeners[t].fireWith(this,e)},this.pause=function(){this.isPaused=!0},this.resume=function(){this.isPaused=!1},this};e.prototype.initialize=function(){if(this.isInitialized)return!1;var t=!!("onscroll"in this.$scrollContainer.get(0)),e=this.getCurrentScrollOffset(this.$scrollContainer),n=this.getScrollThreshold();return!!t&&(this.hidePagination(),this.bind(),this.nextUrl=this.getNextUrl(),this.nextUrl||this.fire("noneLeft",[this.getLastItem()]),this.nextUrl&&e>=n?(this.next(),this.one("rendered",function(){this.isInitialized=!0,this.fire("ready")})):(this.isInitialized=!0,this.fire("ready")),this)},e.prototype.reinitialize=function(){this.isInitialized=!1,this.unbind(),this.initialize()},e.prototype.bind=function(){if(!this.isBound){this.$scrollContainer.on("scroll",t.proxy(this.throttle(this.scrollHandler,150),this));for(var e=0,n=this.extensions.length;n>e;e++)this.extensions[e].bind(this);this.isBound=!0,this.resume()}},e.prototype.unbind=function(){if(this.isBound){this.$scrollContainer.off("scroll",this.scrollHandler);for(var t=0,e=this.extensions.length;e>t;t++)void 0!==this.extensions[t].unbind&&this.extensions[t].unbind(this);this.isBound=!1}},e.prototype.destroy=function(){try{this.jsXhr.abort()}catch(t){}this.unbind(),this.$scrollContainer.data("ias",null)},e.prototype.on=function(e,n,i){if(void 0===this.listeners[e])throw new Error('There is no event called "'+e+'"');return i=i||0,this.listeners[e].add(t.proxy(n,this),i),this.isInitialized&&("ready"===e?t.proxy(n,this)():"noneLeft"!==e||this.nextUrl||t.proxy(n,this)()),this},e.prototype.one=function(t,e){var n=this,i=function(){n.off(t,e),n.off(t,i)};return this.on(t,e),this.on(t,i),this},e.prototype.off=function(t,e){if(void 0===this.listeners[t])throw new Error('There is no event called "'+t+'"');return this.listeners[t].remove(e),this},e.prototype.next=function(){var t=this.nextUrl,e=this;if(!t)return!1;this.pause();var n=this.fire("next",[t]);return n.done(function(){e.load(t,function(t,n){e.render(n,function(){e.nextUrl=e.getNextUrl(t),e.nextUrl||e.fire("noneLeft",[e.getLastItem()]),e.resume()})})}),n.fail(function(){e.resume()}),!0},e.prototype.extension=function(t){if(void 0===t.bind)throw new Error('Extension doesn\'t have required method "bind"');return void 0!==t.initialize&&t.initialize(this),this.extensions.push(t),this.isBound&&this.reinitialize(),this},t.ias=function(e){var n=t(window);return n.ias.apply(n,arguments)},t.fn.ias=function(n){var i=Array.prototype.slice.call(arguments),o=this;return this.each(function(){var r=t(this),s=r.data("ias"),a=t.extend({},t.fn.ias.defaults,r.data(),"object"==typeof n&&n);if(s||(r.data("ias",s=new e(r,a)),a.initialize&&t(document).ready(t.proxy(s.initialize,s))),"string"==typeof n){if("function"!=typeof s[n])throw new Error('There is no method called "'+n+'"');i.shift(),s[n].apply(s,i)}o=s}),o},t.fn.ias.defaults={item:".item",container:".listing",next:".next",pagination:!1,delay:600,negativeMargin:10,initialize:!0}}(jQuery);var IASHistoryExtension=function(t){return t=jQuery.extend({},this.defaults,t),this.ias=null,this.prevSelector=t.prev,this.prevUrl=null,this.listeners={prev:new IASCallbacks(jQuery)},this.onPageChange=function(t,e,n){if(window.history&&window.history.replaceState){var i=history.state;history.replaceState(i,document.title,n)}},this.onScroll=function(t,e){var n=this.getScrollThresholdFirstItem();this.prevUrl&&(n>=(t-=this.ias.$scrollContainer.height())&&this.prev())},this.onReady=function(){var t=this.ias.getCurrentScrollOffset(this.ias.$scrollContainer);this.getScrollThresholdFirstItem()>=(t-=this.ias.$scrollContainer.height())&&this.prev()},this.getPrevUrl=function(t){return t||(t=this.ias.$container),jQuery(this.prevSelector,t).last().attr("href")},this.getScrollThresholdFirstItem=function(){var t;return 0===(t=this.ias.getFirstItem()).length?-1:t.offset().top},this.renderBefore=function(t,e){var n=this.ias,i=n.getFirstItem(),o=0;n.fire("render",[t]),jQuery(t).hide(),i.before(t),jQuery(t).fadeIn(400,function(){++o{text}'};var IASPagingExtension=function(){return this.ias=null,this.pagebreaks=[[0,document.location.toString()]],this.lastPageNum=1,this.enabled=!0,this.listeners={pageChange:new IASCallbacks(jQuery)},this.onScroll=function(t,e){if(this.enabled){var n,i=this.ias,o=this.getCurrentPageNum(t),r=this.getCurrentPagebreak(t);this.lastPageNum!==o&&(n=r[1],i.fire("pageChange",[o,t,n])),this.lastPageNum=o}},this.onNext=function(t){var e=this.ias.getCurrentScrollOffset(this.ias.$scrollContainer);this.pagebreaks.push([e,t]);var n=this.getCurrentPageNum(e)+1;this.ias.fire("pageChange",[n,e,t]),this.lastPageNum=n},this.onPrev=function(t){var e=this,n=e.ias,i=n.getCurrentScrollOffset(n.$scrollContainer)-n.$scrollContainer.height(),o=n.getFirstItem();this.enabled=!1,this.pagebreaks.unshift([0,t]),n.one("rendered",function(){for(var r=1,s=e.pagebreaks.length;s>r;r++)e.pagebreaks[r][0]=e.pagebreaks[r][0]+o.offset().top;var a=e.getCurrentPageNum(i)+1;n.fire("pageChange",[a,i,t]),e.lastPageNum=a,e.enabled=!0})},this};IASPagingExtension.prototype.initialize=function(t){this.ias=t,jQuery.extend(t.listeners,this.listeners)},IASPagingExtension.prototype.bind=function(t){try{t.on("prev",jQuery.proxy(this.onPrev,this),this.priority)}catch(t){}t.on("next",jQuery.proxy(this.onNext,this),this.priority),t.on("scroll",jQuery.proxy(this.onScroll,this),this.priority)},IASPagingExtension.prototype.unbind=function(t){try{t.off("prev",this.onPrev)}catch(t){}t.off("next",this.onNext),t.off("scroll",this.onScroll)},IASPagingExtension.prototype.getCurrentPageNum=function(t){for(var e=this.pagebreaks.length-1;e>0;e--)if(t>this.pagebreaks[e][0])return e+1;return 1},IASPagingExtension.prototype.getCurrentPagebreak=function(t){for(var e=this.pagebreaks.length-1;e>=0;e--)if(t>this.pagebreaks[e][0])return this.pagebreaks[e];return null},IASPagingExtension.prototype.priority=500;var IASSpinnerExtension=function(t){return t=jQuery.extend({},this.defaults,t),this.ias=null,this.uid=(new Date).getTime(),this.src=t.src,this.html=t.html.replace("{src}",this.src),this.showSpinner=function(){var t=this.getSpinner()||this.createSpinner();this.ias.getLastItem().after(t),t.fadeIn()},this.showSpinnerBefore=function(){var t=this.getSpinner()||this.createSpinner();this.ias.getFirstItem().before(t),t.fadeIn()},this.removeSpinner=function(){this.hasSpinner()&&this.getSpinner().remove()},this.getSpinner=function(){var t=jQuery("#ias_spinner_"+this.uid);return t.length>0&&t},this.hasSpinner=function(){return jQuery("#ias_spinner_"+this.uid).length>0},this.createSpinner=function(){var t=jQuery(this.html).attr("id","ias_spinner_"+this.uid);return t.hide(),t},this};IASSpinnerExtension.prototype.bind=function(t){this.ias=t,t.on("next",jQuery.proxy(this.showSpinner,this)),t.on("render",jQuery.proxy(this.removeSpinner,this));try{t.on("prev",jQuery.proxy(this.showSpinnerBefore,this))}catch(t){}},IASSpinnerExtension.prototype.unbind=function(t){t.off("next",this.showSpinner),t.off("render",this.removeSpinner);try{t.off("prev",this.showSpinnerBefore)}catch(t){}},IASSpinnerExtension.prototype.defaults={src:"data:image/gif;base64,R0lGODlhEAAQAPQAAP///wAAAPDw8IqKiuDg4EZGRnp6egAAAFhYWCQkJKysrL6+vhQUFJycnAQEBDY2NmhoaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAEAAQAAAFdyAgAgIJIeWoAkRCCMdBkKtIHIngyMKsErPBYbADpkSCwhDmQCBethRB6Vj4kFCkQPG4IlWDgrNRIwnO4UKBXDufzQvDMaoSDBgFb886MiQadgNABAokfCwzBA8LCg0Egl8jAggGAA1kBIA1BAYzlyILczULC2UhACH5BAkKAAAALAAAAAAQABAAAAV2ICACAmlAZTmOREEIyUEQjLKKxPHADhEvqxlgcGgkGI1DYSVAIAWMx+lwSKkICJ0QsHi9RgKBwnVTiRQQgwF4I4UFDQQEwi6/3YSGWRRmjhEETAJfIgMFCnAKM0KDV4EEEAQLiF18TAYNXDaSe3x6mjidN1s3IQAh+QQJCgAAACwAAAAAEAAQAAAFeCAgAgLZDGU5jgRECEUiCI+yioSDwDJyLKsXoHFQxBSHAoAAFBhqtMJg8DgQBgfrEsJAEAg4YhZIEiwgKtHiMBgtpg3wbUZXGO7kOb1MUKRFMysCChAoggJCIg0GC2aNe4gqQldfL4l/Ag1AXySJgn5LcoE3QXI3IQAh+QQJCgAAACwAAAAAEAAQAAAFdiAgAgLZNGU5joQhCEjxIssqEo8bC9BRjy9Ag7GILQ4QEoE0gBAEBcOpcBA0DoxSK/e8LRIHn+i1cK0IyKdg0VAoljYIg+GgnRrwVS/8IAkICyosBIQpBAMoKy9dImxPhS+GKkFrkX+TigtLlIyKXUF+NjagNiEAIfkECQoAAAAsAAAAABAAEAAABWwgIAICaRhlOY4EIgjH8R7LKhKHGwsMvb4AAy3WODBIBBKCsYA9TjuhDNDKEVSERezQEL0WrhXucRUQGuik7bFlngzqVW9LMl9XWvLdjFaJtDFqZ1cEZUB0dUgvL3dgP4WJZn4jkomWNpSTIyEAIfkECQoAAAAsAAAAABAAEAAABX4gIAICuSxlOY6CIgiD8RrEKgqGOwxwUrMlAoSwIzAGpJpgoSDAGifDY5kopBYDlEpAQBwevxfBtRIUGi8xwWkDNBCIwmC9Vq0aiQQDQuK+VgQPDXV9hCJjBwcFYU5pLwwHXQcMKSmNLQcIAExlbH8JBwttaX0ABAcNbWVbKyEAIfkECQoAAAAsAAAAABAAEAAABXkgIAICSRBlOY7CIghN8zbEKsKoIjdFzZaEgUBHKChMJtRwcWpAWoWnifm6ESAMhO8lQK0EEAV3rFopIBCEcGwDKAqPh4HUrY4ICHH1dSoTFgcHUiZjBhAJB2AHDykpKAwHAwdzf19KkASIPl9cDgcnDkdtNwiMJCshACH5BAkKAAAALAAAAAAQABAAAAV3ICACAkkQZTmOAiosiyAoxCq+KPxCNVsSMRgBsiClWrLTSWFoIQZHl6pleBh6suxKMIhlvzbAwkBWfFWrBQTxNLq2RG2yhSUkDs2b63AYDAoJXAcFRwADeAkJDX0AQCsEfAQMDAIPBz0rCgcxky0JRWE1AmwpKyEAIfkECQoAAAAsAAAAABAAEAAABXkgIAICKZzkqJ4nQZxLqZKv4NqNLKK2/Q4Ek4lFXChsg5ypJjs1II3gEDUSRInEGYAw6B6zM4JhrDAtEosVkLUtHA7RHaHAGJQEjsODcEg0FBAFVgkQJQ1pAwcDDw8KcFtSInwJAowCCA6RIwqZAgkPNgVpWndjdyohACH5BAkKAAAALAAAAAAQABAAAAV5ICACAimc5KieLEuUKvm2xAKLqDCfC2GaO9eL0LABWTiBYmA06W6kHgvCqEJiAIJiu3gcvgUsscHUERm+kaCxyxa+zRPk0SgJEgfIvbAdIAQLCAYlCj4DBw0IBQsMCjIqBAcPAooCBg9pKgsJLwUFOhCZKyQDA3YqIQAh+QQJCgAAACwAAAAAEAAQAAAFdSAgAgIpnOSonmxbqiThCrJKEHFbo8JxDDOZYFFb+A41E4H4OhkOipXwBElYITDAckFEOBgMQ3arkMkUBdxIUGZpEb7kaQBRlASPg0FQQHAbEEMGDSVEAA1QBhAED1E0NgwFAooCDWljaQIQCE5qMHcNhCkjIQAh+QQJCgAAACwAAAAAEAAQAAAFeSAgAgIpnOSoLgxxvqgKLEcCC65KEAByKK8cSpA4DAiHQ/DkKhGKh4ZCtCyZGo6F6iYYPAqFgYy02xkSaLEMV34tELyRYNEsCQyHlvWkGCzsPgMCEAY7Cg04Uk48LAsDhRA8MVQPEF0GAgqYYwSRlycNcWskCkApIyEAOwAAAAAAAAAAAA==",html:'
'};var IASTriggerExtension=function(t){return t=jQuery.extend({},this.defaults,t),this.ias=null,this.html=t.html.replace("{text}",t.text),this.htmlPrev=t.htmlPrev.replace("{text}",t.textPrev),this.enabled=!0,this.count=0,this.offset=t.offset,this.$triggerNext=null,this.$triggerPrev=null,this.showTriggerNext=function(){if(!this.enabled)return!0;if(!1===this.offset||++this.count{text}',textPrev:"Load previous items",htmlPrev:'',offset:0},IASTriggerExtension.prototype.priority=1e3;var ias=jQuery.ias({container:".posts",item:"article",pagination:".infinite",next:".nav-previous a"});ias.extension(new IASSpinnerExtension({})),ias.extension(new IASTriggerExtension({text:evolve_js_local_vars.infinite_scroll_text,offset:3})),ias.extension(new IASNoneLeftExtension({text:evolve_js_local_vars.infinite_scroll_text_finished}))}"1"===evolve_js_local_vars.scroll_to_top&&jQuery(function(t){t(window).scroll(function(){t(this).scrollTop()>50?t("#backtotop").fadeIn():t("#backtotop").fadeOut()}),t("#backtotop").click(function(){return t("body,html").animate({scrollTop:0},600),!1})}),jQuery(function(t){t("article").mouseover(function(){t(this).find("span.edit-post").addClass("fadein")}).mouseout(function(){t(this).find("span.edit-post").removeClass("fadein")}),t("li.comment").mouseover(function(){t(this).find("span.edit-comment").addClass("fadein")}).mouseout(function(){t(this).find("span.edit-comment").removeClass("fadein")})}),"disable"!==evolve_js_local_vars.buttons_effect&&jQuery(function(t){t(".btn, .button, .widget .button, button, input#submit, input[type=submit]").hover(function(){t(this).addClass(evolve_js_local_vars.buttons_effect)},function(){t(this).removeClass(evolve_js_local_vars.buttons_effect)})}),"1"===evolve_js_local_vars.counter_circle&&(function(t,e){"object"==typeof exports?module.exports=e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e(t.jQuery)}(this,function(t){var e=function(t,e){var n,i=document.createElement("canvas");t.appendChild(i),"object"==typeof G_vmlCanvasManager&&G_vmlCanvasManager.initElement(i);var o=i.getContext("2d");i.width=i.height=e.size;var r=1;window.devicePixelRatio>1&&(r=window.devicePixelRatio,i.style.width=i.style.height=[e.size,"px"].join(""),i.width=i.height=e.size*r,o.scale(r,r)),o.translate(e.size/2,e.size/2),o.rotate((e.rotate/180-.5)*Math.PI);var s=(e.size-e.lineWidth)/2;e.scaleColor&&e.scaleLength&&(s-=e.scaleLength+2),Date.now=Date.now||function(){return+new Date};var a=function(t,e,n){var i=(n=Math.min(Math.max(-1,n||0),1))<=0;o.beginPath(),o.arc(0,0,s,0,2*Math.PI*n,i),o.strokeStyle=t,o.lineWidth=e,o.stroke()},l=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)},c=function(){e.scaleColor&&function(){var t,n;o.lineWidth=1,o.fillStyle=e.scaleColor,o.save();for(var i=24;i>0;--i)i%6==0?(n=e.scaleLength,t=0):(n=.6*e.scaleLength,t=e.scaleLength-n),o.fillRect(-e.size/2+t,0,n,1),o.rotate(Math.PI/12);o.restore()}(),e.trackColor&&a(e.trackColor,e.trackWidth||e.lineWidth,1)};this.getCanvas=function(){return i},this.getCtx=function(){return o},this.clear=function(){o.clearRect(e.size/-2,e.size/-2,e.size,e.size)},this.draw=function(t){var i;e.scaleColor||e.trackColor?o.getImageData&&o.putImageData?n?o.putImageData(n,0,0):(c(),n=o.getImageData(0,0,e.size*r,e.size*r)):(this.clear(),c()):this.clear(),o.lineCap=e.lineCap,i="function"==typeof e.barColor?e.barColor(t):e.barColor,a(i,e.lineWidth,t/100)}.bind(this),this.animate=function(t,n){var i=Date.now();e.onStart(t,n);var o=function(){var r=Math.min(Date.now()-i,e.animate.duration),s=e.easing(this,r,t,n-t,e.animate.duration);this.draw(s),e.onStep(t,n,s),r>=e.animate.duration?e.onStop(t,n):l(o)}.bind(this);l(o)}.bind(this)},n=function(t,n){var i={barColor:"#ef1e25",trackColor:"#f9f9f9",scaleColor:"#dfe0e0",scaleLength:5,lineCap:"round",lineWidth:3,trackWidth:void 0,size:110,rotate:0,animate:{duration:1e3,enabled:!0},easing:function(t,e,n,i,o){return(e/=o/2)<1?i/2*e*e+n:-i/2*(--e*(e-2)-1)+n},onStart:function(t,e){},onStep:function(t,e,n){},onStop:function(t,e){}};i.renderer=e;var o={},r=0,s=function(){for(var e in this.el=t,this.options=o,i)i.hasOwnProperty(e)&&(o[e]=n&&void 0!==n[e]?n[e]:i[e],"function"==typeof o[e]&&(o[e]=o[e].bind(this)));"string"==typeof o.easing&&"undefined"!=typeof jQuery&&jQuery.isFunction(jQuery.easing[o.easing])?o.easing=jQuery.easing[o.easing]:o.easing=i.easing,"number"==typeof o.animate&&(o.animate={duration:o.animate,enabled:!0}),"boolean"!=typeof o.animate||o.animate||(o.animate={duration:1e3,enabled:o.animate}),this.renderer=new o.renderer(t,o),this.renderer.draw(r),t.dataset&&t.dataset.percent?this.update(parseFloat(t.dataset.percent)):t.getAttribute&&t.getAttribute("data-percent")&&this.update(parseFloat(t.getAttribute("data-percent")))}.bind(this);this.update=function(t){return t=parseFloat(t),o.animate.enabled?this.renderer.animate(r,t):this.renderer.draw(t),r=t,this}.bind(this),this.disableAnimation=function(){return o.animate.enabled=!1,this},this.enableAnimation=function(){return o.animate.enabled=!0,this},s()};t.fn.easyPieChart=function(e){return this.each(function(){var i;t.data(this,"easyPieChart")||(i=t.extend({},e,t(this).data()),t.data(this,"easyPieChart",new n(this,i)))})}}),function(t){"use strict";t.fn.draw_circles=function(){var e=t(this),n=e.children(".counter-circle-content").attr("data-countdown"),i=e.children(".counter-circle-content").attr("data-filledcolor"),o=e.children(".counter-circle-content").attr("data-unfilledcolor"),r=e.children(".counter-circle-content").attr("data-scale"),s=e.children(".counter-circle-content").attr("data-size"),a=e.children(".counter-circle-content").attr("data-speed"),l=e.children(".counter-circle-content").attr("data-strokesize"),c=e.children(".counter-circle-content").attr("data-percent");r&&(r=t("body").css("color")),n?(e.children(".counter-circle-content").attr("data-percent",100),e.children(".counter-circle-content").easyPieChart({barColor:i,trackColor:o,scaleColor:r,scaleLength:5,lineCap:"round",lineWidth:l,size:s,rotate:0,animate:{duration:a,enabled:!0}}),e.children(".counter-circle-content").data("easyPieChart").enableAnimation(),e.children(".counter-circle-content").data("easyPieChart").update(c)):e.children(".counter-circle-content").easyPieChart({barColor:i,trackColor:o,scaleColor:r,scaleLength:5,lineCap:"round",lineWidth:l,size:s,rotate:0,animate:{duration:a,enabled:!0}})}}(jQuery)),jQuery(function(){var t,e,n=[].indexOf||function(t){for(var e=0,n=this.length;e=0,a={horizontal:{},vertical:{}},l=1,h={},c="waypoints-context-id",p="resize.waypoints",g="scroll.waypoints",m=1,v="waypoints-waypoint-ids",_="waypoint",b="waypoints",r=function(){function n(n){var i=this;this.$element=n,this.element=n[0],this.didResize=!1,this.didScroll=!1,this.id="context"+l++,this.oldScroll={x:n.scrollLeft(),y:n.scrollTop()},this.waypoints={horizontal:{},vertical:{}},n.data(c,this.id),h[this.id]=this,n.bind(g,function(){var n;if(!i.didScroll&&!u)return i.didScroll=!0,n=function(){return i.doScroll(),i.didScroll=!1},e.setTimeout(n,t[b].settings.scrollThrottle)}),n.bind(p,function(){var n;if(!i.didResize)return i.didResize=!0,n=function(){return t[b]("refresh"),i.didResize=!1},e.setTimeout(n,t[b].settings.resizeThrottle)})}return n.prototype.doScroll=function(){var e,n=this;return e={horizontal:{newScroll:this.$element.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.$element.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}},!u||e.vertical.oldScroll&&e.vertical.newScroll||t[b]("refresh"),t.each(e,function(e,i){var o,r,s;return s=[],r=i.newScroll>i.oldScroll,o=r?i.forward:i.backward,t.each(n.waypoints[e],function(t,e){var n,o;return i.oldScroll<(n=e.offset)&&n<=i.newScroll?s.push(e):i.newScroll<(o=e.offset)&&o<=i.oldScroll?s.push(e):void 0}),s.sort(function(t,e){return t.offset-e.offset}),r||s.reverse(),t.each(s,function(t,e){if(e.options.continuous||t===s.length-1)return e.trigger([o])})}),this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},n.prototype.refresh=function(){var e,n,i,o=this;return i=t.isWindow(this.element),n=this.$element.offset(),this.doScroll(),e={horizontal:{contextOffset:i?0:n.left,contextScroll:i?0:this.oldScroll.x,contextDimension:this.$element.width(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:i?0:n.top,contextScroll:i?0:this.oldScroll.y,contextDimension:i?t[b]("viewportHeight"):this.$element.height(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}},t.each(e,function(e,n){return t.each(o.waypoints[e],function(e,i){var o,r,s,a,l;if(o=i.options.offset,s=i.offset,r=t.isWindow(i.element)?0:i.$element.offset()[n.offsetProp],t.isFunction(o)?o=o.apply(i.element):"string"==typeof o&&(o=parseFloat(o),i.options.offset.indexOf("%")>-1&&(o=Math.ceil(n.contextDimension*o/100))),i.offset=r-n.contextOffset+n.contextScroll-o,(!i.options.onlyOnScroll||null==s)&&i.enabled)return null!==s&&s<(a=n.oldScroll)&&a<=i.offset?i.trigger([n.backward]):null!==s&&s>(l=n.oldScroll)&&l>=i.offset?i.trigger([n.forward]):null===s&&n.oldScroll>=i.offset?i.trigger([n.forward]):void 0})})},n.prototype.checkEmpty=function(){if(t.isEmptyObject(this.waypoints.horizontal)&&t.isEmptyObject(this.waypoints.vertical))return this.$element.unbind([p,g].join(" ")),delete h[this.id]},n}(),s=function(){function e(e,n,i){var o,r;"bottom-in-view"===(i=t.extend({},t.fn[_].defaults,i)).offset&&(i.offset=function(){var e;return e=t[b]("viewportHeight"),t.isWindow(n.element)||(e=n.$element.height()),e-t(this).outerHeight()}),this.$element=e,this.element=e[0],this.axis=i.horizontal?"horizontal":"vertical",this.callback=i.handler,this.context=n,this.enabled=i.enabled,this.id="waypoints"+m++,this.offset=null,this.options=i,n.waypoints[this.axis][this.id]=this,a[this.axis][this.id]=this,(o=null!=(r=e.data(v))?r:[]).push(this.id),e.data(v,o)}return e.prototype.trigger=function(t){if(this.enabled)return null!=this.callback&&this.callback.apply(this.element,t),this.options.triggerOnce?this.destroy():void 0},e.prototype.disable=function(){return this.enabled=!1},e.prototype.enable=function(){return this.context.refresh(),this.enabled=!0},e.prototype.destroy=function(){return delete a[this.axis][this.id],delete this.context.waypoints[this.axis][this.id],this.context.checkEmpty()},e.getWaypointsByElement=function(e){var n,i;return(i=t(e).data(v))?(n=t.extend({},a.horizontal,a.vertical),t.map(i,function(t){return n[t]})):[]},e}(),f={init:function(e,n){return null==n&&(n={}),null==n.handler&&(n.handler=e),this.each(function(){var e,i,o,a;return e=t(this),o=null!=(a=n.context)?a:t.fn[_].defaults.context,t.isWindow(o)||(o=e.closest(o)),o=t(o),(i=h[o.data(c)])||(i=new r(o)),new s(e,i,n)}),t[b]("refresh"),this},disable:function(){return f._invoke(this,"disable")},enable:function(){return f._invoke(this,"enable")},destroy:function(){return f._invoke(this,"destroy")},prev:function(t,e){return f._traverse.call(this,t,e,function(t,e,n){if(e>0)return t.push(n[e-1])})},next:function(t,e){return f._traverse.call(this,t,e,function(t,e,n){if(et.oldScroll.y})},left:function(t){return null==t&&(t=e),d._filter(t,"horizontal",function(t,e){return e.offset<=t.oldScroll.x})},right:function(t){return null==t&&(t=e),d._filter(t,"horizontal",function(t,e){return e.offset>t.oldScroll.x})},enable:function(){return d._invoke("enable")},disable:function(){return d._invoke("disable")},destroy:function(){return d._invoke("destroy")},extendFn:function(t,e){return f[t]=e},_invoke:function(e){var n;return n=t.extend({},a.vertical,a.horizontal),t.each(n,function(t,n){return n[e](),!0})},_filter:function(e,n,i){var o,r;return(o=h[t(e).data(c)])?(r=[],t.each(o.waypoints[n],function(t,e){if(i(o,e))return r.push(e)}),r.sort(function(t,e){return t.offset-e.offset}),t.map(r,function(t){return t.element})):[]}},t[b]=function(){var t,e;return e=arguments[0],t=2<=arguments.length?i.call(arguments,1):[],d[e]?d[e].apply(null,t):d.aggregate.call(null,e)},t[b].settings={resizeThrottle:100,scrollThrottle:30},o.on("load",function(){return t[b]("refresh")})},"function"==typeof define&&define.amd?define("waypoints",["jquery"],function(n){return e(n,t)}):e(t.jQuery,t)}.call(this)),jQuery(window).on("load",function(){jQuery(".counter-circle").waypoint(function(){jQuery(this).draw_circles()},{triggerOnce:!0,offset:"bottom-in-view"})}),"1"===evolve_js_local_vars.footer_reveal&&jQuery(function(t){t.fn.footerReveal=function(e){var n=t(this),i=n.prev(),o=t(window),r=t.extend({shadow:!1,shadowOpacity:.6,zIndex:-100},e);t.extend(!0,{},r,e);return n.outerHeight()<=o.outerHeight()&&n.offset().top>=o.outerHeight()&&(n.css({"z-index":r.zIndex,position:"fixed",bottom:0}),r.shadow&&i.css({"-webkit-box-shadow":" 0 0 9px rgba(0,0,0,"+r.shadowOpacity+")","box-shadow":" 0 0 9px rgba(0,0,0,"+r.shadowOpacity+")"}),o.on("load resize footerRevealResize",function(){n.css({width:i.outerWidth()}),i.css({"margin-bottom":n.outerHeight()})})),this};var e=t("#wrapper").width();t(".footer").footerReveal({width:e})});