!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],t):t((e=e||self).bootstrap={},e.jQuery,e.Popper)}(this,function(e,g,d){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function r(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function l(o){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{},t=Object.keys(s);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(s).filter(function(e){return Object.getOwnPropertyDescriptor(s,e).enumerable}))),t.forEach(function(e){var t,n,i;t=o,i=s[n=e],n in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i})}return o}g=g&&g.hasOwnProperty("default")?g.default:g,d=d&&d.hasOwnProperty("default")?d.default:d;var t="transitionend";function n(e){var t=this,n=!1;return g(this).one(m.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||m.triggerTransitionEnd(t)},e),this}var m={TRANSITION_END:"bsTransitionEnd",getUID:function(e){for(;e+=~~(1e6*Math.random()),document.getElementById(e););return e},getSelectorFromElement:function(e){var t=e.getAttribute("data-target");if(!t||"#"===t){var n=e.getAttribute("href");t=n&&"#"!==n?n.trim():""}try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement:function(e){if(!e)return 0;var t=g(e).css("transition-duration"),n=g(e).css("transition-delay"),i=parseFloat(t),o=parseFloat(n);return i||o?(t=t.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(t)+parseFloat(n))):0},reflow:function(e){return e.offsetHeight},triggerTransitionEnd:function(e){g(e).trigger(t)},supportsTransitionEnd:function(){return Boolean(t)},isElement:function(e){return(e[0]||e).nodeType},typeCheckConfig:function(e,t,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var o=n[i],s=t[i],r=s&&m.isElement(s)?"element":(a=s,{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(o).test(r))throw new Error(e.toUpperCase()+': Option "'+i+'" provided type "'+r+'" but expected type "'+o+'".')}var a},findShadowRoot:function(e){if(!document.documentElement.attachShadow)return null;if("function"!=typeof e.getRootNode)return e instanceof ShadowRoot?e:e.parentNode?m.findShadowRoot(e.parentNode):null;var t=e.getRootNode();return t instanceof ShadowRoot?t:null}};g.fn.emulateTransitionEnd=n,g.event.special[m.TRANSITION_END]={bindType:t,delegateType:t,handle:function(e){if(g(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}};var o="alert",s="bs.alert",a="."+s,c=g.fn[o],h={CLOSE:"close"+a,CLOSED:"closed"+a,CLICK_DATA_API:"click"+a+".data-api"},u="alert",f="fade",_="show",p=function(){function i(e){this._element=e}var e=i.prototype;return e.close=function(e){var t=this._element;e&&(t=this._getRootElement(e)),this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},e.dispose=function(){g.removeData(this._element,s),this._element=null},e._getRootElement=function(e){var t=m.getSelectorFromElement(e),n=!1;return t&&(n=document.querySelector(t)),n||(n=g(e).closest("."+u)[0]),n},e._triggerCloseEvent=function(e){var t=g.Event(h.CLOSE);return g(e).trigger(t),t},e._removeElement=function(t){var n=this;if(g(t).removeClass(_),g(t).hasClass(f)){var e=m.getTransitionDurationFromElement(t);g(t).one(m.TRANSITION_END,function(e){return n._destroyElement(t,e)}).emulateTransitionEnd(e)}else this._destroyElement(t)},e._destroyElement=function(e){g(e).detach().trigger(h.CLOSED).remove()},i._jQueryInterface=function(n){return this.each(function(){var e=g(this),t=e.data(s);t||(t=new i(this),e.data(s,t)),"close"===n&&t[n](this)})},i._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},r(i,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),i}();g(document).on(h.CLICK_DATA_API,'[data-dismiss="alert"]',p._handleDismiss(new p)),g.fn[o]=p._jQueryInterface,g.fn[o].Constructor=p,g.fn[o].noConflict=function(){return g.fn[o]=c,p._jQueryInterface};var v="button",y="bs.button",E="."+y,b=".data-api",C=g.fn[v],w="active",T="btn",S="focus",I='[data-toggle^="button"]',D='[data-toggle="buttons"]',A='input:not([type="hidden"])',N=".active",k=".btn",O={CLICK_DATA_API:"click"+E+b,FOCUS_BLUR_DATA_API:"focus"+E+b+" blur"+E+b},L=function(){function n(e){this._element=e}var e=n.prototype;return e.toggle=function(){var e=!0,t=!0,n=g(this._element).closest(D)[0];if(n){var i=this._element.querySelector(A);if(i){if("radio"===i.type)if(i.checked&&this._element.classList.contains(w))e=!1;else{var o=n.querySelector(N);o&&g(o).removeClass(w)}if(e){if(i.hasAttribute("disabled")||n.hasAttribute("disabled")||i.classList.contains("disabled")||n.classList.contains("disabled"))return;i.checked=!this._element.classList.contains(w),g(i).trigger("change")}i.focus(),t=!1}}t&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(w)),e&&g(this._element).toggleClass(w)},e.dispose=function(){g.removeData(this._element,y),this._element=null},n._jQueryInterface=function(t){return this.each(function(){var e=g(this).data(y);e||(e=new n(this),g(this).data(y,e)),"toggle"===t&&e[t]()})},r(n,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),n}();g(document).on(O.CLICK_DATA_API,I,function(e){e.preventDefault();var t=e.target;g(t).hasClass(T)||(t=g(t).closest(k)),L._jQueryInterface.call(g(t),"toggle")}).on(O.FOCUS_BLUR_DATA_API,I,function(e){var t=g(e.target).closest(k)[0];g(t).toggleClass(S,/^focus(in)?$/.test(e.type))}),g.fn[v]=L._jQueryInterface,g.fn[v].Constructor=L,g.fn[v].noConflict=function(){return g.fn[v]=C,L._jQueryInterface};var P="carousel",j="bs.carousel",x="."+j,H=".data-api",R=g.fn[P],F={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},U={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},W="next",q="prev",M="left",B="right",K={SLIDE:"slide"+x,SLID:"slid"+x,KEYDOWN:"keydown"+x,MOUSEENTER:"mouseenter"+x,MOUSELEAVE:"mouseleave"+x,TOUCHSTART:"touchstart"+x,TOUCHMOVE:"touchmove"+x,TOUCHEND:"touchend"+x,POINTERDOWN:"pointerdown"+x,POINTERUP:"pointerup"+x,DRAG_START:"dragstart"+x,LOAD_DATA_API:"load"+x+H,CLICK_DATA_API:"click"+x+H},Q="carousel",V="active",Y="slide",z="carousel-item-right",X="carousel-item-left",$="carousel-item-next",G="carousel-item-prev",J="pointer-event",Z=".active",ee=".active.carousel-item",te=".carousel-item",ne=".carousel-item img",ie=".carousel-item-next, .carousel-item-prev",oe=".carousel-indicators",se="[data-slide], [data-slide-to]",re='[data-ride="carousel"]',ae={TOUCH:"touch",PEN:"pen"},le=function(){function s(e,t){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._element=e,this._indicatorsElement=this._element.querySelector(oe),this._touchSupported="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var e=s.prototype;return e.next=function(){this._isSliding||this._slide(W)},e.nextWhenVisible=function(){!document.hidden&&g(this._element).is(":visible")&&"hidden"!==g(this._element).css("visibility")&&this.next()},e.prev=function(){this._isSliding||this._slide(q)},e.pause=function(e){e||(this._isPaused=!0),this._element.querySelector(ie)&&(m.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},e.cycle=function(e){e||(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))},e.to=function(e){var t=this;this._activeElement=this._element.querySelector(ee);var n=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)g(this._element).one(K.SLID,function(){return t.to(e)});else{if(n===e)return this.pause(),void this.cycle();var i=n<e?W:q;this._slide(i,this._items[e])}},e.dispose=function(){g(this._element).off(x),g.removeData(this._element,j),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},e._getConfig=function(e){return e=l({},F,e),m.typeCheckConfig(P,e,U),e},e._handleSwipe=function(){var e=Math.abs(this.touchDeltaX);if(!(e<=40)){var t=e/this.touchDeltaX;0<t&&this.prev(),t<0&&this.next()}},e._addEventListeners=function(){var t=this;this._config.keyboard&&g(this._element).on(K.KEYDOWN,function(e){return t._keydown(e)}),"hover"===this._config.pause&&g(this._element).on(K.MOUSEENTER,function(e){return t.pause(e)}).on(K.MOUSELEAVE,function(e){return t.cycle(e)}),this._config.touch&&this._addTouchEventListeners()},e._addTouchEventListeners=function(){var n=this;if(this._touchSupported){var t=function(e){n._pointerEvent&&ae[e.originalEvent.pointerType.toUpperCase()]?n.touchStartX=e.originalEvent.clientX:n._pointerEvent||(n.touchStartX=e.originalEvent.touches[0].clientX)},i=function(e){n._pointerEvent&&ae[e.originalEvent.pointerType.toUpperCase()]&&(n.touchDeltaX=e.originalEvent.clientX-n.touchStartX),n._handleSwipe(),"hover"===n._config.pause&&(n.pause(),n.touchTimeout&&clearTimeout(n.touchTimeout),n.touchTimeout=setTimeout(function(e){return n.cycle(e)},500+n._config.interval))};g(this._element.querySelectorAll(ne)).on(K.DRAG_START,function(e){return e.preventDefault()}),this._pointerEvent?(g(this._element).on(K.POINTERDOWN,function(e){return t(e)}),g(this._element).on(K.POINTERUP,function(e){return i(e)}),this._element.classList.add(J)):(g(this._element).on(K.TOUCHSTART,function(e){return t(e)}),g(this._element).on(K.TOUCHMOVE,function(e){var t;(t=e).originalEvent.touches&&1<t.originalEvent.touches.length?n.touchDeltaX=0:n.touchDeltaX=t.originalEvent.touches[0].clientX-n.touchStartX}),g(this._element).on(K.TOUCHEND,function(e){return i(e)}))}},e._keydown=function(e){if(!/input|textarea/i.test(e.target.tagName))switch(e.which){case 37:e.preventDefault(),this.prev();break;case 39:e.preventDefault(),this.next()}},e._getItemIndex=function(e){return this._items=e&&e.parentNode?[].slice.call(e.parentNode.querySelectorAll(te)):[],this._items.indexOf(e)},e._getItemByDirection=function(e,t){var n=e===W,i=e===q,o=this._getItemIndex(t),s=this._items.length-1;if((i&&0===o||n&&o===s)&&!this._config.wrap)return t;var r=(o+(e===q?-1:1))%this._items.length;return-1===r?this._items[this._items.length-1]:this._items[r]},e._triggerSlideEvent=function(e,t){var n=this._getItemIndex(e),i=this._getItemIndex(this._element.querySelector(ee)),o=g.Event(K.SLIDE,{relatedTarget:e,direction:t,from:i,to:n});return g(this._element).trigger(o),o},e._setActiveIndicatorElement=function(e){if(this._indicatorsElement){var t=[].slice.call(this._indicatorsElement.querySelectorAll(Z));g(t).removeClass(V);var n=this._indicatorsElement.children[this._getItemIndex(e)];n&&g(n).addClass(V)}},e._slide=function(e,t){var n,i,o,s=this,r=this._element.querySelector(ee),a=this._getItemIndex(r),l=t||r&&this._getItemByDirection(e,r),c=this._getItemIndex(l),h=Boolean(this._interval);if(o=e===W?(n=X,i=$,M):(n=z,i=G,B),l&&g(l).hasClass(V))this._isSliding=!1;else if(!this._triggerSlideEvent(l,o).isDefaultPrevented()&&r&&l){this._isSliding=!0,h&&this.pause(),this._setActiveIndicatorElement(l);var d=g.Event(K.SLID,{relatedTarget:l,direction:o,from:a,to:c});if(g(this._element).hasClass(Y)){g(l).addClass(i),m.reflow(l),g(r).addClass(n),g(l).addClass(n);var u=parseInt(l.getAttribute("data-interval"),10);this._config.interval=u?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,u):this._config.defaultInterval||this._config.interval;var f=m.getTransitionDurationFromElement(r);g(r).one(m.TRANSITION_END,function(){g(l).removeClass(n+" "+i).addClass(V),g(r).removeClass(V+" "+i+" "+n),s._isSliding=!1,setTimeout(function(){return g(s._element).trigger(d)},0)}).emulateTransitionEnd(f)}else g(r).removeClass(V),g(l).addClass(V),this._isSliding=!1,g(this._element).trigger(d);h&&this.cycle()}},s._jQueryInterface=function(i){return this.each(function(){var e=g(this).data(j),t=l({},F,g(this).data());"object"==typeof i&&(t=l({},t,i));var n="string"==typeof i?i:t.slide;if(e||(e=new s(this,t),g(this).data(j,e)),"number"==typeof i)e.to(i);else if("string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}else t.interval&&t.ride&&(e.pause(),e.cycle())})},s._dataApiClickHandler=function(e){var t=m.getSelectorFromElement(this);if(t){var n=g(t)[0];if(n&&g(n).hasClass(Q)){var i=l({},g(n).data(),g(this).data()),o=this.getAttribute("data-slide-to");o&&(i.interval=!1),s._jQueryInterface.call(g(n),i),o&&g(n).data(j).to(o),e.preventDefault()}}},r(s,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return F}}]),s}();g(document).on(K.CLICK_DATA_API,se,le._dataApiClickHandler),g(window).on(K.LOAD_DATA_API,function(){for(var e=[].slice.call(document.querySelectorAll(re)),t=0,n=e.length;t<n;t++){var i=g(e[t]);le._jQueryInterface.call(i,i.data())}}),g.fn[P]=le._jQueryInterface,g.fn[P].Constructor=le,g.fn[P].noConflict=function(){return g.fn[P]=R,le._jQueryInterface};var ce="collapse",he="bs.collapse",de="."+he,ue=g.fn[ce],fe={toggle:!0,parent:""},ge={toggle:"boolean",parent:"(string|element)"},me={SHOW:"show"+de,SHOWN:"shown"+de,HIDE:"hide"+de,HIDDEN:"hidden"+de,CLICK_DATA_API:"click"+de+".data-api"},_e="show",pe="collapse",ve="collapsing",ye="collapsed",Ee="width",be="height",Ce=".show, .collapsing",we='[data-toggle="collapse"]',Te=function(){function a(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var n=[].slice.call(document.querySelectorAll(we)),i=0,o=n.length;i<o;i++){var s=n[i],r=m.getSelectorFromElement(s),a=[].slice.call(document.querySelectorAll(r)).filter(function(e){return e===t});null!==r&&0<a.length&&(this._selector=r,this._triggerArray.push(s))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var e=a.prototype;return e.toggle=function(){g(this._element).hasClass(_e)?this.hide():this.show()},e.show=function(){var e,t,n=this;if(!this._isTransitioning&&!g(this._element).hasClass(_e)&&(this._parent&&0===(e=[].slice.call(this._parent.querySelectorAll(Ce)).filter(function(e){return"string"==typeof n._config.parent?e.getAttribute("data-parent")===n._config.parent:e.classList.contains(pe)})).length&&(e=null),!(e&&(t=g(e).not(this._selector).data(he))&&t._isTransitioning))){var i=g.Event(me.SHOW);if(g(this._element).trigger(i),!i.isDefaultPrevented()){e&&(a._jQueryInterface.call(g(e).not(this._selector),"hide"),t||g(e).data(he,null));var o=this._getDimension();g(this._element).removeClass(pe).addClass(ve),this._element.style[o]=0,this._triggerArray.length&&g(this._triggerArray).removeClass(ye).attr("aria-expanded",!0),this.setTransitioning(!0);var s="scroll"+(o[0].toUpperCase()+o.slice(1)),r=m.getTransitionDurationFromElement(this._element);g(this._element).one(m.TRANSITION_END,function(){g(n._element).removeClass(ve).addClass(pe).addClass(_e),n._element.style[o]="",n.setTransitioning(!1),g(n._element).trigger(me.SHOWN)}).emulateTransitionEnd(r),this._element.style[o]=this._element[s]+"px"}}},e.hide=function(){var e=this;if(!this._isTransitioning&&g(this._element).hasClass(_e)){var t=g.Event(me.HIDE);if(g(this._element).trigger(t),!t.isDefaultPrevented()){var n=this._getDimension();this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",m.reflow(this._element),g(this._element).addClass(ve).removeClass(pe).removeClass(_e);var i=this._triggerArray.length;if(0<i)for(var o=0;o<i;o++){var s=this._triggerArray[o],r=m.getSelectorFromElement(s);if(null!==r)g([].slice.call(document.querySelectorAll(r))).hasClass(_e)||g(s).addClass(ye).attr("aria-expanded",!1)}this.setTransitioning(!0);this._element.style[n]="";var a=m.getTransitionDurationFromElement(this._element);g(this._element).one(m.TRANSITION_END,function(){e.setTransitioning(!1),g(e._element).removeClass(ve).addClass(pe).trigger(me.HIDDEN)}).emulateTransitionEnd(a)}}},e.setTransitioning=function(e){this._isTransitioning=e},e.dispose=function(){g.removeData(this._element,he),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},e._getConfig=function(e){return(e=l({},fe,e)).toggle=Boolean(e.toggle),m.typeCheckConfig(ce,e,ge),e},e._getDimension=function(){return g(this._element).hasClass(Ee)?Ee:be},e._getParent=function(){var e,n=this;m.isElement(this._config.parent)?(e=this._config.parent,void 0!==this._config.parent.jquery&&(e=this._config.parent[0])):e=document.querySelector(this._config.parent);var t='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',i=[].slice.call(e.querySelectorAll(t));return g(i).each(function(e,t){n._addAriaAndCollapsedClass(a._getTargetFromElement(t),[t])}),e},e._addAriaAndCollapsedClass=function(e,t){var n=g(e).hasClass(_e);t.length&&g(t).toggleClass(ye,!n).attr("aria-expanded",n)},a._getTargetFromElement=function(e){var t=m.getSelectorFromElement(e);return t?document.querySelector(t):null},a._jQueryInterface=function(i){return this.each(function(){var e=g(this),t=e.data(he),n=l({},fe,e.data(),"object"==typeof i&&i?i:{});if(!t&&n.toggle&&/show|hide/.test(i)&&(n.toggle=!1),t||(t=new a(this,n),e.data(he,t)),"string"==typeof i){if(void 0===t[i])throw new TypeError('No method named "'+i+'"');t[i]()}})},r(a,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return fe}}]),a}();g(document).on(me.CLICK_DATA_API,we,function(e){"A"===e.currentTarget.tagName&&e.preventDefault();var n=g(this),t=m.getSelectorFromElement(this),i=[].slice.call(document.querySelectorAll(t));g(i).each(function(){var e=g(this),t=e.data(he)?"toggle":n.data();Te._jQueryInterface.call(e,t)})}),g.fn[ce]=Te._jQueryInterface,g.fn[ce].Constructor=Te,g.fn[ce].noConflict=function(){return g.fn[ce]=ue,Te._jQueryInterface};var Se="dropdown",Ie="bs.dropdown",De="."+Ie,Ae=".data-api",Ne=g.fn[Se],ke=new RegExp("38|40|27"),Oe={HIDE:"hide"+De,HIDDEN:"hidden"+De,SHOW:"show"+De,SHOWN:"shown"+De,CLICK:"click"+De,CLICK_DATA_API:"click"+De+Ae,KEYDOWN_DATA_API:"keydown"+De+Ae,KEYUP_DATA_API:"keyup"+De+Ae},Le="disabled",Pe="show",je="dropup",xe="dropright",He="dropleft",Re="dropdown-menu-right",Fe="position-static",Ue='[data-toggle="dropdown"]',We=".dropdown form",qe=".dropdown-menu",Me=".navbar-nav",Be=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Ke="top-start",Qe="top-end",Ve="bottom-start",Ye="bottom-end",ze="right-start",Xe="left-start",$e={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},Ge={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},Je=function(){function c(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var e=c.prototype;return e.toggle=function(){if(!this._element.disabled&&!g(this._element).hasClass(Le)){var e=c._getParentFromElement(this._element),t=g(this._menu).hasClass(Pe);if(c._clearMenus(),!t){var n={relatedTarget:this._element},i=g.Event(Oe.SHOW,n);if(g(e).trigger(i),!i.isDefaultPrevented()){if(!this._inNavbar){if(void 0===d)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var o=this._element;"parent"===this._config.reference?o=e:m.isElement(this._config.reference)&&(o=this._config.reference,void 0!==this._config.reference.jquery&&(o=this._config.reference[0])),"scrollParent"!==this._config.boundary&&g(e).addClass(Fe),this._popper=new d(o,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===g(e).closest(Me).length&&g(document.body).children().on("mouseover",null,g.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),g(this._menu).toggleClass(Pe),g(e).toggleClass(Pe).trigger(g.Event(Oe.SHOWN,n))}}}},e.show=function(){if(!(this._element.disabled||g(this._element).hasClass(Le)||g(this._menu).hasClass(Pe))){var e={relatedTarget:this._element},t=g.Event(Oe.SHOW,e),n=c._getParentFromElement(this._element);g(n).trigger(t),t.isDefaultPrevented()||(g(this._menu).toggleClass(Pe),g(n).toggleClass(Pe).trigger(g.Event(Oe.SHOWN,e)))}},e.hide=function(){if(!this._element.disabled&&!g(this._element).hasClass(Le)&&g(this._menu).hasClass(Pe)){var e={relatedTarget:this._element},t=g.Event(Oe.HIDE,e),n=c._getParentFromElement(this._element);g(n).trigger(t),t.isDefaultPrevented()||(g(this._menu).toggleClass(Pe),g(n).toggleClass(Pe).trigger(g.Event(Oe.HIDDEN,e)))}},e.dispose=function(){g.removeData(this._element,Ie),g(this._element).off(De),this._element=null,(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},e.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},e._addEventListeners=function(){var t=this;g(this._element).on(Oe.CLICK,function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},e._getConfig=function(e){return e=l({},this.constructor.Default,g(this._element).data(),e),m.typeCheckConfig(Se,e,this.constructor.DefaultType),e},e._getMenuElement=function(){if(!this._menu){var e=c._getParentFromElement(this._element);e&&(this._menu=e.querySelector(qe))}return this._menu},e._getPlacement=function(){var e=g(this._element.parentNode),t=Ve;return e.hasClass(je)?(t=Ke,g(this._menu).hasClass(Re)&&(t=Qe)):e.hasClass(xe)?t=ze:e.hasClass(He)?t=Xe:g(this._menu).hasClass(Re)&&(t=Ye),t},e._detectNavbar=function(){return 0<g(this._element).closest(".navbar").length},e._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=l({},e.offsets,t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e},e._getPopperConfig=function(){var e={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(e.modifiers.applyStyle={enabled:!1}),e},c._jQueryInterface=function(t){return this.each(function(){var e=g(this).data(Ie);if(e||(e=new c(this,"object"==typeof t?t:null),g(this).data(Ie,e)),"string"==typeof t){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t]()}})},c._clearMenus=function(e){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var t=[].slice.call(document.querySelectorAll(Ue)),n=0,i=t.length;n<i;n++){var o=c._getParentFromElement(t[n]),s=g(t[n]).data(Ie),r={relatedTarget:t[n]};if(e&&"click"===e.type&&(r.clickEvent=e),s){var a=s._menu;if(g(o).hasClass(Pe)&&!(e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&9===e.which)&&g.contains(o,e.target))){var l=g.Event(Oe.HIDE,r);g(o).trigger(l),l.isDefaultPrevented()||("ontouchstart"in document.documentElement&&g(document.body).children().off("mouseover",null,g.noop),t[n].setAttribute("aria-expanded","false"),g(a).removeClass(Pe),g(o).removeClass(Pe).trigger(g.Event(Oe.HIDDEN,r)))}}}},c._getParentFromElement=function(e){var t,n=m.getSelectorFromElement(e);return n&&(t=document.querySelector(n)),t||e.parentNode},c._dataApiKeydownHandler=function(e){if((/input|textarea/i.test(e.target.tagName)?!(32===e.which||27!==e.which&&(40!==e.which&&38!==e.which||g(e.target).closest(qe).length)):ke.test(e.which))&&(e.preventDefault(),e.stopPropagation(),!this.disabled&&!g(this).hasClass(Le))){var t=c._getParentFromElement(this),n=g(t).hasClass(Pe);if(n&&(!n||27!==e.which&&32!==e.which)){var i=[].slice.call(t.querySelectorAll(Be));if(0!==i.length){var o=i.indexOf(e.target);38===e.which&&0<o&&o--,40===e.which&&o<i.length-1&&o++,o<0&&(o=0),i[o].focus()}}else{if(27===e.which){var s=t.querySelector(Ue);g(s).trigger("focus")}g(this).trigger("click")}}},r(c,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return $e}},{key:"DefaultType",get:function(){return Ge}}]),c}();g(document).on(Oe.KEYDOWN_DATA_API,Ue,Je._dataApiKeydownHandler).on(Oe.KEYDOWN_DATA_API,qe,Je._dataApiKeydownHandler).on(Oe.CLICK_DATA_API+" "+Oe.KEYUP_DATA_API,Je._clearMenus).on(Oe.CLICK_DATA_API,Ue,function(e){e.preventDefault(),e.stopPropagation(),Je._jQueryInterface.call(g(this),"toggle")}).on(Oe.CLICK_DATA_API,We,function(e){e.stopPropagation()}),g.fn[Se]=Je._jQueryInterface,g.fn[Se].Constructor=Je,g.fn[Se].noConflict=function(){return g.fn[Se]=Ne,Je._jQueryInterface};var Ze="modal",et="bs.modal",tt="."+et,nt=g.fn[Ze],it={backdrop:!0,keyboard:!0,focus:!0,show:!0},ot={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},st={HIDE:"hide"+tt,HIDDEN:"hidden"+tt,SHOW:"show"+tt,SHOWN:"shown"+tt,FOCUSIN:"focusin"+tt,RESIZE:"resize"+tt,CLICK_DISMISS:"click.dismiss"+tt,KEYDOWN_DISMISS:"keydown.dismiss"+tt,MOUSEUP_DISMISS:"mouseup.dismiss"+tt,MOUSEDOWN_DISMISS:"mousedown.dismiss"+tt,CLICK_DATA_API:"click"+tt+".data-api"},rt="modal-dialog-scrollable",at="modal-scrollbar-measure",lt="modal-backdrop",ct="modal-open",ht="fade",dt="show",ut=".modal-dialog",ft=".modal-body",gt='[data-toggle="modal"]',mt='[data-dismiss="modal"]',_t=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",pt=".sticky-top",vt=function(){function o(e,t){this._config=this._getConfig(t),this._element=e,this._dialog=e.querySelector(ut),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var e=o.prototype;return e.toggle=function(e){return this._isShown?this.hide():this.show(e)},e.show=function(e){var t=this;if(!this._isShown&&!this._isTransitioning){g(this._element).hasClass(ht)&&(this._isTransitioning=!0);var n=g.Event(st.SHOW,{relatedTarget:e});g(this._element).trigger(n),this._isShown||n.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),g(this._element).on(st.CLICK_DISMISS,mt,function(e){return t.hide(e)}),g(this._dialog).on(st.MOUSEDOWN_DISMISS,function(){g(t._element).one(st.MOUSEUP_DISMISS,function(e){g(e.target).is(t._element)&&(t._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return t._showElement(e)}))}},e.hide=function(e){var t=this;if(e&&e.preventDefault(),this._isShown&&!this._isTransitioning){var n=g.Event(st.HIDE);if(g(this._element).trigger(n),this._isShown&&!n.isDefaultPrevented()){this._isShown=!1;var i=g(this._element).hasClass(ht);if(i&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),g(document).off(st.FOCUSIN),g(this._element).removeClass(dt),g(this._element).off(st.CLICK_DISMISS),g(this._dialog).off(st.MOUSEDOWN_DISMISS),i){var o=m.getTransitionDurationFromElement(this._element);g(this._element).one(m.TRANSITION_END,function(e){return t._hideModal(e)}).emulateTransitionEnd(o)}else this._hideModal()}}},e.dispose=function(){[window,this._element,this._dialog].forEach(function(e){return g(e).off(tt)}),g(document).off(st.FOCUSIN),g.removeData(this._element,et),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},e.handleUpdate=function(){this._adjustDialog()},e._getConfig=function(e){return e=l({},it,e),m.typeCheckConfig(Ze,e,ot),e},e._showElement=function(e){var t=this,n=g(this._element).hasClass(ht);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),g(this._dialog).hasClass(rt)?this._dialog.querySelector(ft).scrollTop=0:this._element.scrollTop=0,n&&m.reflow(this._element),g(this._element).addClass(dt),this._config.focus&&this._enforceFocus();var i=g.Event(st.SHOWN,{relatedTarget:e}),o=function(){t._config.focus&&t._element.focus(),t._isTransitioning=!1,g(t._element).trigger(i)};if(n){var s=m.getTransitionDurationFromElement(this._dialog);g(this._dialog).one(m.TRANSITION_END,o).emulateTransitionEnd(s)}else o()},e._enforceFocus=function(){var t=this;g(document).off(st.FOCUSIN).on(st.FOCUSIN,function(e){document!==e.target&&t._element!==e.target&&0===g(t._element).has(e.target).length&&t._element.focus()})},e._setEscapeEvent=function(){var t=this;this._isShown&&this._config.keyboard?g(this._element).on(st.KEYDOWN_DISMISS,function(e){27===e.which&&(e.preventDefault(),t.hide())}):this._isShown||g(this._element).off(st.KEYDOWN_DISMISS)},e._setResizeEvent=function(){var t=this;this._isShown?g(window).on(st.RESIZE,function(e){return t.handleUpdate(e)}):g(window).off(st.RESIZE)},e._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._isTransitioning=!1,this._showBackdrop(function(){g(document.body).removeClass(ct),e._resetAdjustments(),e._resetScrollbar(),g(e._element).trigger(st.HIDDEN)})},e._removeBackdrop=function(){this._backdrop&&(g(this._backdrop).remove(),this._backdrop=null)},e._showBackdrop=function(e){var t=this,n=g(this._element).hasClass(ht)?ht:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=lt,n&&this._backdrop.classList.add(n),g(this._backdrop).appendTo(document.body),g(this._element).on(st.CLICK_DISMISS,function(e){t._ignoreBackdropClick?t._ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"===t._config.backdrop?t._element.focus():t.hide())}),n&&m.reflow(this._backdrop),g(this._backdrop).addClass(dt),!e)return;if(!n)return void e();var i=m.getTransitionDurationFromElement(this._backdrop);g(this._backdrop).one(m.TRANSITION_END,e).emulateTransitionEnd(i)}else if(!this._isShown&&this._backdrop){g(this._backdrop).removeClass(dt);var o=function(){t._removeBackdrop(),e&&e()};if(g(this._element).hasClass(ht)){var s=m.getTransitionDurationFromElement(this._backdrop);g(this._backdrop).one(m.TRANSITION_END,o).emulateTransitionEnd(s)}else o()}else e&&e()},e._adjustDialog=function(){var e=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},e._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},e._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=e.left+e.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},e._setScrollbar=function(){var o=this;if(this._isBodyOverflowing){var e=[].slice.call(document.querySelectorAll(_t)),t=[].slice.call(document.querySelectorAll(pt));g(e).each(function(e,t){var n=t.style.paddingRight,i=g(t).css("padding-right");g(t).data("padding-right",n).css("padding-right",parseFloat(i)+o._scrollbarWidth+"px")}),g(t).each(function(e,t){var n=t.style.marginRight,i=g(t).css("margin-right");g(t).data("margin-right",n).css("margin-right",parseFloat(i)-o._scrollbarWidth+"px")});var n=document.body.style.paddingRight,i=g(document.body).css("padding-right");g(document.body).data("padding-right",n).css("padding-right",parseFloat(i)+this._scrollbarWidth+"px")}g(document.body).addClass(ct)},e._resetScrollbar=function(){var e=[].slice.call(document.querySelectorAll(_t));g(e).each(function(e,t){var n=g(t).data("padding-right");g(t).removeData("padding-right"),t.style.paddingRight=n||""});var t=[].slice.call(document.querySelectorAll(""+pt));g(t).each(function(e,t){var n=g(t).data("margin-right");void 0!==n&&g(t).css("margin-right",n).removeData("margin-right")});var n=g(document.body).data("padding-right");g(document.body).removeData("padding-right"),document.body.style.paddingRight=n||""},e._getScrollbarWidth=function(){var e=document.createElement("div");e.className=at,document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t},o._jQueryInterface=function(n,i){return this.each(function(){var e=g(this).data(et),t=l({},it,g(this).data(),"object"==typeof n&&n?n:{});if(e||(e=new o(this,t),g(this).data(et,e)),"string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n](i)}else t.show&&e.show(i)})},r(o,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return it}}]),o}();g(document).on(st.CLICK_DATA_API,gt,function(e){var t,n=this,i=m.getSelectorFromElement(this);i&&(t=document.querySelector(i));var o=g(t).data(et)?"toggle":l({},g(t).data(),g(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault();var s=g(t).one(st.SHOW,function(e){e.isDefaultPrevented()||s.one(st.HIDDEN,function(){g(n).is(":visible")&&n.focus()})});vt._jQueryInterface.call(g(t),o,this)}),g.fn[Ze]=vt._jQueryInterface,g.fn[Ze].Constructor=vt,g.fn[Ze].noConflict=function(){return g.fn[Ze]=nt,vt._jQueryInterface};var yt=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],Et={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},bt=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Ct=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function wt(e,r,t){if(0===e.length)return e;if(t&&"function"==typeof t)return t(e);for(var n=(new window.DOMParser).parseFromString(e,"text/html"),a=Object.keys(r),l=[].slice.call(n.body.querySelectorAll("*")),i=function(e,t){var n=l[e],i=n.nodeName.toLowerCase();if(-1===a.indexOf(n.nodeName.toLowerCase()))return n.parentNode.removeChild(n),"continue";var o=[].slice.call(n.attributes),s=[].concat(r["*"]||[],r[i]||[]);o.forEach(function(e){(function(e,t){var n=e.nodeName.toLowerCase();if(-1!==t.indexOf(n))return-1===yt.indexOf(n)||Boolean(e.nodeValue.match(bt)||e.nodeValue.match(Ct));for(var i=t.filter(function(e){return e instanceof RegExp}),o=0,s=i.length;o<s;o++)if(n.match(i[o]))return!0;return!1})(e,s)||n.removeAttribute(e.nodeName)})},o=0,s=l.length;o<s;o++)i(o);return n.body.innerHTML}var Tt="tooltip",St="bs.tooltip",It="."+St,Dt=g.fn[Tt],At="bs-tooltip",Nt=new RegExp("(^|\\s)"+At+"\\S+","g"),kt=["sanitize","whiteList","sanitizeFn"],Ot={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object"},Lt={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},Pt={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',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:Et},jt="show",xt="out",Ht={HIDE:"hide"+It,HIDDEN:"hidden"+It,SHOW:"show"+It,SHOWN:"shown"+It,INSERTED:"inserted"+It,CLICK:"click"+It,FOCUSIN:"focusin"+It,FOCUSOUT:"focusout"+It,MOUSEENTER:"mouseenter"+It,MOUSELEAVE:"mouseleave"+It},Rt="fade",Ft="show",Ut=".tooltip-inner",Wt=".arrow",qt="hover",Mt="focus",Bt="click",Kt="manual",Qt=function(){function i(e,t){if(void 0===d)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=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}var e=i.prototype;return e.enable=function(){this._isEnabled=!0},e.disable=function(){this._isEnabled=!1},e.toggleEnabled=function(){this._isEnabled=!this._isEnabled},e.toggle=function(e){if(this._isEnabled)if(e){var t=this.constructor.DATA_KEY,n=g(e.currentTarget).data(t);n||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),g(e.currentTarget).data(t,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(g(this.getTipElement()).hasClass(Ft))return void this._leave(null,this);this._enter(null,this)}},e.dispose=function(){clearTimeout(this._timeout),g.removeData(this.element,this.constructor.DATA_KEY),g(this.element).off(this.constructor.EVENT_KEY),g(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&g(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,(this._activeTrigger=null)!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},e.show=function(){var t=this;if("none"===g(this.element).css("display"))throw new Error("Please use show on visible elements");var e=g.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){g(this.element).trigger(e);var n=m.findShadowRoot(this.element),i=g.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element);if(e.isDefaultPrevented()||!i)return;var o=this.getTipElement(),s=m.getUID(this.constructor.NAME);o.setAttribute("id",s),this.element.setAttribute("aria-describedby",s),this.setContent(),this.config.animation&&g(o).addClass(Rt);var r="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,a=this._getAttachment(r);this.addAttachmentClass(a);var l=this._getContainer();g(o).data(this.constructor.DATA_KEY,this),g.contains(this.element.ownerDocument.documentElement,this.tip)||g(o).appendTo(l),g(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new d(this.element,o,{placement:a,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:Wt},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){return t._handlePopperPlacementChange(e)}}),g(o).addClass(Ft),"ontouchstart"in document.documentElement&&g(document.body).children().on("mouseover",null,g.noop);var c=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,g(t.element).trigger(t.constructor.Event.SHOWN),e===xt&&t._leave(null,t)};if(g(this.tip).hasClass(Rt)){var h=m.getTransitionDurationFromElement(this.tip);g(this.tip).one(m.TRANSITION_END,c).emulateTransitionEnd(h)}else c()}},e.hide=function(e){var t=this,n=this.getTipElement(),i=g.Event(this.constructor.Event.HIDE),o=function(){t._hoverState!==jt&&n.parentNode&&n.parentNode.removeChild(n),t._cleanTipClass(),t.element.removeAttribute("aria-describedby"),g(t.element).trigger(t.constructor.Event.HIDDEN),null!==t._popper&&t._popper.destroy(),e&&e()};if(g(this.element).trigger(i),!i.isDefaultPrevented()){if(g(n).removeClass(Ft),"ontouchstart"in document.documentElement&&g(document.body).children().off("mouseover",null,g.noop),this._activeTrigger[Bt]=!1,this._activeTrigger[Mt]=!1,this._activeTrigger[qt]=!1,g(this.tip).hasClass(Rt)){var s=m.getTransitionDurationFromElement(n);g(n).one(m.TRANSITION_END,o).emulateTransitionEnd(s)}else o();this._hoverState=""}},e.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},e.isWithContent=function(){return Boolean(this.getTitle())},e.addAttachmentClass=function(e){g(this.getTipElement()).addClass(At+"-"+e)},e.getTipElement=function(){return this.tip=this.tip||g(this.config.template)[0],this.tip},e.setContent=function(){var e=this.getTipElement();this.setElementContent(g(e.querySelectorAll(Ut)),this.getTitle()),g(e).removeClass(Rt+" "+Ft)},e.setElementContent=function(e,t){"object"!=typeof t||!t.nodeType&&!t.jquery?this.config.html?(this.config.sanitize&&(t=wt(t,this.config.whiteList,this.config.sanitizeFn)),e.html(t)):e.text(t):this.config.html?g(t).parent().is(e)||e.empty().append(t):e.text(g(t).text())},e.getTitle=function(){var e=this.element.getAttribute("data-original-title");return e||(e="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),e},e._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=l({},e.offsets,t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},e._getContainer=function(){return!1===this.config.container?document.body:m.isElement(this.config.container)?g(this.config.container):g(document).find(this.config.container)},e._getAttachment=function(e){return Lt[e.toUpperCase()]},e._setListeners=function(){var i=this;this.config.trigger.split(" ").forEach(function(e){if("click"===e)g(i.element).on(i.constructor.Event.CLICK,i.config.selector,function(e){return i.toggle(e)});else if(e!==Kt){var t=e===qt?i.constructor.Event.MOUSEENTER:i.constructor.Event.FOCUSIN,n=e===qt?i.constructor.Event.MOUSELEAVE:i.constructor.Event.FOCUSOUT;g(i.element).on(t,i.config.selector,function(e){return i._enter(e)}).on(n,i.config.selector,function(e){return i._leave(e)})}}),g(this.element).closest(".modal").on("hide.bs.modal",function(){i.element&&i.hide()}),this.config.selector?this.config=l({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},e._fixTitle=function(){var e=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==e)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},e._enter=function(e,t){var n=this.constructor.DATA_KEY;(t=t||g(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),g(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusin"===e.type?Mt:qt]=!0),g(t.getTipElement()).hasClass(Ft)||t._hoverState===jt?t._hoverState=jt:(clearTimeout(t._timeout),t._hoverState=jt,t.config.delay&&t.config.delay.show?t._timeout=setTimeout(function(){t._hoverState===jt&&t.show()},t.config.delay.show):t.show())},e._leave=function(e,t){var n=this.constructor.DATA_KEY;(t=t||g(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),g(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusout"===e.type?Mt:qt]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=xt,t.config.delay&&t.config.delay.hide?t._timeout=setTimeout(function(){t._hoverState===xt&&t.hide()},t.config.delay.hide):t.hide())},e._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},e._getConfig=function(e){var t=g(this.element).data();return Object.keys(t).forEach(function(e){-1!==kt.indexOf(e)&&delete t[e]}),"number"==typeof(e=l({},this.constructor.Default,t,"object"==typeof e&&e?e:{})).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),m.typeCheckConfig(Tt,e,this.constructor.DefaultType),e.sanitize&&(e.template=wt(e.template,e.whiteList,e.sanitizeFn)),e},e._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},e._cleanTipClass=function(){var e=g(this.getTipElement()),t=e.attr("class").match(Nt);null!==t&&t.length&&e.removeClass(t.join(""))},e._handlePopperPlacementChange=function(e){var t=e.instance;this.tip=t.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},e._fixTransition=function(){var e=this.getTipElement(),t=this.config.animation;null===e.getAttribute("x-placement")&&(g(e).removeClass(Rt),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},i._jQueryInterface=function(n){return this.each(function(){var e=g(this).data(St),t="object"==typeof n&&n;if((e||!/dispose|hide/.test(n))&&(e||(e=new i(this,t),g(this).data(St,e)),"string"==typeof n)){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},r(i,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Pt}},{key:"NAME",get:function(){return Tt}},{key:"DATA_KEY",get:function(){return St}},{key:"Event",get:function(){return Ht}},{key:"EVENT_KEY",get:function(){return It}},{key:"DefaultType",get:function(){return Ot}}]),i}();g.fn[Tt]=Qt._jQueryInterface,g.fn[Tt].Constructor=Qt,g.fn[Tt].noConflict=function(){return g.fn[Tt]=Dt,Qt._jQueryInterface};var Vt="popover",Yt="bs.popover",zt="."+Yt,Xt=g.fn[Vt],$t="bs-popover",Gt=new RegExp("(^|\\s)"+$t+"\\S+","g"),Jt=l({},Qt.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),Zt=l({},Qt.DefaultType,{content:"(string|element|function)"}),en="fade",tn="show",nn=".popover-header",on=".popover-body",sn={HIDE:"hide"+zt,HIDDEN:"hidden"+zt,SHOW:"show"+zt,SHOWN:"shown"+zt,INSERTED:"inserted"+zt,CLICK:"click"+zt,FOCUSIN:"focusin"+zt,FOCUSOUT:"focusout"+zt,MOUSEENTER:"mouseenter"+zt,MOUSELEAVE:"mouseleave"+zt},rn=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),(t.prototype.constructor=t).__proto__=n;var o=i.prototype;return o.isWithContent=function(){return this.getTitle()||this._getContent()},o.addAttachmentClass=function(e){g(this.getTipElement()).addClass($t+"-"+e)},o.getTipElement=function(){return this.tip=this.tip||g(this.config.template)[0],this.tip},o.setContent=function(){var e=g(this.getTipElement());this.setElementContent(e.find(nn),this.getTitle());var t=this._getContent();"function"==typeof t&&(t=t.call(this.element)),this.setElementContent(e.find(on),t),e.removeClass(en+" "+tn)},o._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},o._cleanTipClass=function(){var e=g(this.getTipElement()),t=e.attr("class").match(Gt);null!==t&&0<t.length&&e.removeClass(t.join(""))},i._jQueryInterface=function(n){return this.each(function(){var e=g(this).data(Yt),t="object"==typeof n?n:null;if((e||!/dispose|hide/.test(n))&&(e||(e=new i(this,t),g(this).data(Yt,e)),"string"==typeof n)){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},r(i,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Jt}},{key:"NAME",get:function(){return Vt}},{key:"DATA_KEY",get:function(){return Yt}},{key:"Event",get:function(){return sn}},{key:"EVENT_KEY",get:function(){return zt}},{key:"DefaultType",get:function(){return Zt}}]),i}(Qt);g.fn[Vt]=rn._jQueryInterface,g.fn[Vt].Constructor=rn,g.fn[Vt].noConflict=function(){return g.fn[Vt]=Xt,rn._jQueryInterface};var an="scrollspy",ln="bs.scrollspy",cn="."+ln,hn=g.fn[an],dn={offset:10,method:"auto",target:""},un={offset:"number",method:"string",target:"(string|element)"},fn={ACTIVATE:"activate"+cn,SCROLL:"scroll"+cn,LOAD_DATA_API:"load"+cn+".data-api"},gn="dropdown-item",mn="active",_n='[data-spy="scroll"]',pn=".nav, .list-group",vn=".nav-link",yn=".nav-item",En=".list-group-item",bn=".dropdown",Cn=".dropdown-item",wn=".dropdown-toggle",Tn="offset",Sn="position",In=function(){function n(e,t){var n=this;this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(t),this._selector=this._config.target+" "+vn+","+this._config.target+" "+En+","+this._config.target+" "+Cn,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,g(this._scrollElement).on(fn.SCROLL,function(e){return n._process(e)}),this.refresh(),this._process()}var e=n.prototype;return e.refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?Tn:Sn,o="auto"===this._config.method?e:this._config.method,s=o===Sn?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(e){var t,n=m.getSelectorFromElement(e);if(n&&(t=document.querySelector(n)),t){var i=t.getBoundingClientRect();if(i.width||i.height)return[g(t)[o]().top+s,n]}return null}).filter(function(e){return e}).sort(function(e,t){return e[0]-t[0]}).forEach(function(e){t._offsets.push(e[0]),t._targets.push(e[1])})},e.dispose=function(){g.removeData(this._element,ln),g(this._scrollElement).off(cn),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},e._getConfig=function(e){if("string"!=typeof(e=l({},dn,"object"==typeof e&&e?e:{})).target){var t=g(e.target).attr("id");t||(t=m.getUID(an),g(e.target).attr("id",t)),e.target="#"+t}return m.typeCheckConfig(an,e,un),e},e._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},e._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},e._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},e._process=function(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),n<=e){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&e<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;){this._activeTarget!==this._targets[o]&&e>=this._offsets[o]&&(void 0===this._offsets[o+1]||e<this._offsets[o+1])&&this._activate(this._targets[o])}}},e._activate=function(t){this._activeTarget=t,this._clear();var e=this._selector.split(",").map(function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'}),n=g([].slice.call(document.querySelectorAll(e.join(","))));n.hasClass(gn)?(n.closest(bn).find(wn).addClass(mn),n.addClass(mn)):(n.addClass(mn),n.parents(pn).prev(vn+", "+En).addClass(mn),n.parents(pn).prev(yn).children(vn).addClass(mn)),g(this._scrollElement).trigger(fn.ACTIVATE,{relatedTarget:t})},e._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(e){return e.classList.contains(mn)}).forEach(function(e){return e.classList.remove(mn)})},n._jQueryInterface=function(t){return this.each(function(){var e=g(this).data(ln);if(e||(e=new n(this,"object"==typeof t&&t),g(this).data(ln,e)),"string"==typeof t){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t]()}})},r(n,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return dn}}]),n}();g(window).on(fn.LOAD_DATA_API,function(){for(var e=[].slice.call(document.querySelectorAll(_n)),t=e.length;t--;){var n=g(e[t]);In._jQueryInterface.call(n,n.data())}}),g.fn[an]=In._jQueryInterface,g.fn[an].Constructor=In,g.fn[an].noConflict=function(){return g.fn[an]=hn,In._jQueryInterface};var Dn="bs.tab",An="."+Dn,Nn=g.fn.tab,kn={HIDE:"hide"+An,HIDDEN:"hidden"+An,SHOW:"show"+An,SHOWN:"shown"+An,CLICK_DATA_API:"click"+An+".data-api"},On="dropdown-menu",Ln="active",Pn="disabled",jn="fade",xn="show",Hn=".dropdown",Rn=".nav, .list-group",Fn=".active",Un="> li > .active",Wn='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',qn=".dropdown-toggle",Mn="> .dropdown-menu .active",Bn=function(){function i(e){this._element=e}var e=i.prototype;return e.show=function(){var n=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&g(this._element).hasClass(Ln)||g(this._element).hasClass(Pn))){var e,i,t=g(this._element).closest(Rn)[0],o=m.getSelectorFromElement(this._element);if(t){var s="UL"===t.nodeName||"OL"===t.nodeName?Un:Fn;i=(i=g.makeArray(g(t).find(s)))[i.length-1]}var r=g.Event(kn.HIDE,{relatedTarget:this._element}),a=g.Event(kn.SHOW,{relatedTarget:i});if(i&&g(i).trigger(r),g(this._element).trigger(a),!a.isDefaultPrevented()&&!r.isDefaultPrevented()){o&&(e=document.querySelector(o)),this._activate(this._element,t);var l=function(){var e=g.Event(kn.HIDDEN,{relatedTarget:n._element}),t=g.Event(kn.SHOWN,{relatedTarget:i});g(i).trigger(e),g(n._element).trigger(t)};e?this._activate(e,e.parentNode,l):l()}}},e.dispose=function(){g.removeData(this._element,Dn),this._element=null},e._activate=function(e,t,n){var i=this,o=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?g(t).children(Fn):g(t).find(Un))[0],s=n&&o&&g(o).hasClass(jn),r=function(){return i._transitionComplete(e,o,n)};if(o&&s){var a=m.getTransitionDurationFromElement(o);g(o).removeClass(xn).one(m.TRANSITION_END,r).emulateTransitionEnd(a)}else r()},e._transitionComplete=function(e,t,n){if(t){g(t).removeClass(Ln);var i=g(t.parentNode).find(Mn)[0];i&&g(i).removeClass(Ln),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}if(g(e).addClass(Ln),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),m.reflow(e),e.classList.contains(jn)&&e.classList.add(xn),e.parentNode&&g(e.parentNode).hasClass(On)){var o=g(e).closest(Hn)[0];if(o){var s=[].slice.call(o.querySelectorAll(qn));g(s).addClass(Ln)}e.setAttribute("aria-expanded",!0)}n&&n()},i._jQueryInterface=function(n){return this.each(function(){var e=g(this),t=e.data(Dn);if(t||(t=new i(this),e.data(Dn,t)),"string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},r(i,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),i}();g(document).on(kn.CLICK_DATA_API,Wn,function(e){e.preventDefault(),Bn._jQueryInterface.call(g(this),"show")}),g.fn.tab=Bn._jQueryInterface,g.fn.tab.Constructor=Bn,g.fn.tab.noConflict=function(){return g.fn.tab=Nn,Bn._jQueryInterface};var Kn="toast",Qn="bs.toast",Vn="."+Qn,Yn=g.fn[Kn],zn={CLICK_DISMISS:"click.dismiss"+Vn,HIDE:"hide"+Vn,HIDDEN:"hidden"+Vn,SHOW:"show"+Vn,SHOWN:"shown"+Vn},Xn="fade",$n="hide",Gn="show",Jn="showing",Zn={animation:"boolean",autohide:"boolean",delay:"number"},ei={animation:!0,autohide:!0,delay:500},ti='[data-dismiss="toast"]',ni=function(){function i(e,t){this._element=e,this._config=this._getConfig(t),this._timeout=null,this._setListeners()}var e=i.prototype;return e.show=function(){var e=this;g(this._element).trigger(zn.SHOW),this._config.animation&&this._element.classList.add(Xn);var t=function(){e._element.classList.remove(Jn),e._element.classList.add(Gn),g(e._element).trigger(zn.SHOWN),e._config.autohide&&e.hide()};if(this._element.classList.remove($n),this._element.classList.add(Jn),this._config.animation){var n=m.getTransitionDurationFromElement(this._element);g(this._element).one(m.TRANSITION_END,t).emulateTransitionEnd(n)}else t()},e.hide=function(e){var t=this;this._element.classList.contains(Gn)&&(g(this._element).trigger(zn.HIDE),e?this._close():this._timeout=setTimeout(function(){t._close()},this._config.delay))},e.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(Gn)&&this._element.classList.remove(Gn),g(this._element).off(zn.CLICK_DISMISS),g.removeData(this._element,Qn),this._element=null,this._config=null},e._getConfig=function(e){return e=l({},ei,g(this._element).data(),"object"==typeof e&&e?e:{}),m.typeCheckConfig(Kn,e,this.constructor.DefaultType),e},e._setListeners=function(){var e=this;g(this._element).on(zn.CLICK_DISMISS,ti,function(){return e.hide(!0)})},e._close=function(){var e=this,t=function(){e._element.classList.add($n),g(e._element).trigger(zn.HIDDEN)};if(this._element.classList.remove(Gn),this._config.animation){var n=m.getTransitionDurationFromElement(this._element);g(this._element).one(m.TRANSITION_END,t).emulateTransitionEnd(n)}else t()},i._jQueryInterface=function(n){return this.each(function(){var e=g(this),t=e.data(Qn);if(t||(t=new i(this,"object"==typeof n&&n),e.data(Qn,t)),"string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n](this)}})},r(i,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"DefaultType",get:function(){return Zn}},{key:"Default",get:function(){return ei}}]),i}();g.fn[Kn]=ni._jQueryInterface,g.fn[Kn].Constructor=ni,g.fn[Kn].noConflict=function(){return g.fn[Kn]=Yn,ni._jQueryInterface},function(){if(void 0===g)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var e=g.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1===e[0]&&9===e[1]&&e[2]<1||4<=e[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),e.Util=m,e.Alert=p,e.Button=L,e.Carousel=le,e.Collapse=Te,e.Dropdown=Je,e.Modal=vt,e.Popover=rn,e.Scrollspy=In,e.Tab=Bn,e.Toast=ni,e.Tooltip=Qt,Object.defineProperty(e,"__esModule",{value:!0})}),function(){var e=-1<navigator.userAgent.toLowerCase().indexOf("webkit"),t=-1<navigator.userAgent.toLowerCase().indexOf("opera"),n=-1<navigator.userAgent.toLowerCase().indexOf("msie");(e||t||n)&&document.getElementById&&window.addEventListener&&window.addEventListener("hashchange",function(){var e,t=location.hash.substring(1);/^[A-z0-9_-]+$/.test(t)&&(e=document.getElementById(t))&&(/^(?:a|select|input|button|textarea)$/i.test(e.tagName)||(e.tabIndex=-1),e.focus())},!1)}(),jQuery(function(a){"use strict";a(document).ready(function(){a(".dropdown-submenu").on("click",function(e){e.stopPropagation(),a(this).toggleClass("show-submenu")})}),a(document).ready(function(){a('.cart-content-count:contains("0")').addClass("cart-content-count-null")}),a(document).ready(function(){a("nav.header-bottom").hasClass("navbar-expand-sm")?a(window).width()<576?(a("body").addClass("mobile-mode"),a("body").removeClass("desktop-mode"),a("#single-wrapper .col-md-8.content-area").addClass("order-first")):(a("body").addClass("desktop-mode"),a("body").removeClass("mobile-mode"),a("#single-wrapper .col-md-8.content-area").removeClass("order-first")):a("nav.header-bottom").hasClass("navbar-expand-md")?a(window).width()<768?(a("body").addClass("mobile-mode"),a("body").removeClass("desktop-mode"),a("#single-wrapper .col-md-8.content-area").addClass("order-first")):(a("body").addClass("desktop-mode"),a("body").removeClass("mobile-mode"),a("#single-wrapper .col-md-8.content-area").removeClass("order-first")):a("nav.header-bottom").hasClass("navbar-expand-lg")?a(window).width()<992?(a("body").addClass("mobile-mode"),a("body").removeClass("desktop-mode"),a("#single-wrapper .col-md-8.content-area").addClass("order-first")):(a("body").addClass("desktop-mode"),a("body").removeClass("mobile-mode"),a("#single-wrapper .col-md-8.content-area").removeClass("order-first")):a("nav.header-bottom").hasClass("navbar-expand-xl")?a(window).width()<1200?(a("body").addClass("mobile-mode"),a("body").removeClass("desktop-mode"),a("#single-wrapper .col-md-8.content-area").addClass("order-first")):(a("body").addClass("desktop-mode"),a("body").removeClass("mobile-mode"),a("#single-wrapper .col-md-8.content-area").removeClass("order-first")):a("nav.header-bottom").hasClass("navbar-expand-never")&&(a("body").addClass("mobile-mode"),a("body").removeClass("desktop-mode"))}),a(window).resize(function(){a("nav.header-bottom").hasClass("navbar-expand-sm")?a(window).width()<576?(a("body").addClass("mobile-mode"),a("body").removeClass("desktop-mode"),a("#single-wrapper .col-md-8.content-area").addClass("order-first")):(a("body").addClass("desktop-mode"),a("body").removeClass("mobile-mode"),a("#single-wrapper .col-md-8.content-area").removeClass("order-first")):a("nav.header-bottom").hasClass("navbar-expand-md")?a(window).width()<768?(a("body").addClass("mobile-mode"),a("body").removeClass("desktop-mode"),a("#single-wrapper .col-md-8.content-area").addClass("order-first")):(a("body").addClass("desktop-mode"),a("body").removeClass("mobile-mode"),a("#single-wrapper .col-md-8.content-area").removeClass("order-first")):a("nav.header-bottom").hasClass("navbar-expand-lg")?a(window).width()<992?(a("body").addClass("mobile-mode"),a("body").removeClass("desktop-mode"),a("#single-wrapper .col-md-8.content-area").addClass("order-first")):(a("body").addClass("desktop-mode"),a("body").removeClass("mobile-mode"),a("#single-wrapper .col-md-8.content-area").removeClass("order-first")):a("nav.header-bottom").hasClass("navbar-expand-xl")&&(a(window).width()<1200?(a("body").addClass("mobile-mode"),a("body").removeClass("desktop-mode"),a("#single-wrapper .col-md-8.content-area").addClass("order-first")):(a("body").addClass("desktop-mode"),a("body").removeClass("mobile-mode"),a("#single-wrapper .col-md-8.content-area").removeClass("order-first")))}),a(document).ready(function(){a(".bottom-to-top span i").click(function(){return a("html, body").animate({scrollTop:0},600),!1})}),a(document).ready(function(){a(".navbar-nav li.menu-item a[href^='#']").click(function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")||location.hostname==this.hostname){var e=a(this.hash),t=a("#wrapper-navbar").height(),n=a("#wpadminbar").height();if((e=e.length?e:a("[name="+this.hash.slice(1)+"]")).length)return a("html,body").animate({scrollTop:e.offset().top-t-n},1e3),!1}})}),a(document).ready(function(){if(0<a(".header-presentation").length&&!a("section").hasClass("custom-header-title-height")){var e=a(window).height(),t=a(".header-presentation").height(),n=a(".header-top").height(),i=a("#wrapper-navbar").height(),o=a("#wpadminbar").height(),s="";a(".header-presentation.small").length?s=3:a(".header-presentation.medium").length?s=1.5:a(".header-presentation.full").length&&(s=1),t<e&&1===s?(a(".header-presentation").css({height:a(window).height()-o-n-i+"px"}),a(".header-presentation").append("<div class='hp-scroll-down text-center'><i class='fa fa-angle-down'></i></div>"),a(".hp-scroll-down").click(function(){a("html, body").animate({scrollTop:a(window).height()-o-i},600)})):t<e&&a(".header-presentation").css({height:(a(window).height()-o)/s+"px"})}}),a(document).ready(function(){var e=a(".header-top").height(),t=a("#wrapper-navbar").height(),n="";a("body").hasClass("vc_editor")&&(n="62"),0<a(".header-presentation").length&&!a("section").hasClass("custom-header-title-height")||a("section").hasClass("hp-slider-revolution")?a(".colors-overlay-enabled .header-presentation, .colors-overlay-enabled .hp-slider-revolution").css({"margin-top":-(e+t+2)+"px"}):!a("section").hasClass("header-presentation")&&(a("body").hasClass("default-colors-overlay")||a("body").hasClass("light-colors-overlay")||a("body").hasClass("dark-colors-overlay"))&&a(".desktop-mode #page-wrapper").css({"margin-top":-(e+t-n+2)+"px"})}),a(window).scroll(function(){(a("body").hasClass("colors-overlay-enabled")||a("body").hasClass("colors-overlay-disabled"))&&(0===a(this).scrollTop()?(a("body").removeClass("colors-overlay-disabled"),a("body").addClass("colors-overlay-enabled")):100<=a(this).scrollTop()&&(a("body").removeClass("colors-overlay-enabled"),a("body").addClass("colors-overlay-disabled")))}),a(window).scroll(function(){a("div").hasClass("sticky-navigation")&&(0===a(this).scrollTop()?(a("body").removeClass("sticky-navigation-enabled"),a("body").addClass("sticky-navigation-disabled")):100<=a(this).scrollTop()&&(a("body").removeClass("sticky-navigation-disabled"),a("body").addClass("sticky-navigation-enabled")))}),a(document).ready(function(){a(window).width()<768?a(".dropdown-toggle").attr("data-toggle","dropdown"):a(".dropdown-toggle").removeAttr("data-toggle dropdown"),a(window).resize(function(){a(window).width()<768?a(".dropdown-toggle").attr("data-toggle","dropdown"):a(".dropdown-toggle").removeAttr("data-toggle dropdown")})}),a(document).ready(function(){0<a("#sidenav-overlay").length?(a("#open-side-navigation").click(function(){document.getElementById("sidenav-overlay").style.width="300px"}),a("#close-side-navigation").click(function(){document.getElementById("sidenav-overlay").style.width="0"})):0<a("#sidenav-push").length?(a("#open-side-navigation").click(function(){document.getElementById("page").style.transition="margin-right .5s",document.getElementById("sidenav-push").style.width="300px",document.getElementById("page").style.marginRight="300px"}),a("#close-side-navigation").click(function(){document.getElementById("sidenav-push").style.width="0",document.getElementById("page").style.marginRight="0"})):0<a("#sidenav-fullscreen").length&&(a("#open-side-navigation").click(function(){document.getElementById("sidenav-fullscreen").style.width="100%"}),a("#close-side-navigation").click(function(){document.getElementById("sidenav-fullscreen").style.width="0"}))}),a(document).on("click",".sl-button",function(){var s,e=a(this),t=e.attr("data-post-id"),n=e.attr("data-nonce"),i=e.attr("data-iscomment"),r=(s=a("1"===i?".sl-comment-button-"+t:".sl-button-"+t)).next("#sl-loader");return""!==t&&a.ajax({type:"POST",url:simpleLikes.ajaxurl,data:{action:"process_simple_like",post_id:t,nonce:n,is_comment:i},beforeSend:function(){r.html('&nbsp;<div class="loader">Loading...</div>')},success:function(e){var t=e.icon,n=e.count;if(s.html(t+n),"unliked"===e.status){var i=simpleLikes.like;s.prop("title",i),s.removeClass("liked")}else{var o=simpleLikes.unlike;s.prop("title",o),s.addClass("liked")}r.empty()}}),!1})});
;/*! This file is auto-generated */
!function(c,d){"use strict";var e=!1,n=!1;if(d.querySelector)if(c.addEventListener)e=!0;if(c.wp=c.wp||{},!c.wp.receiveEmbedMessage)if(c.wp.receiveEmbedMessage=function(e){var t=e.data;if(t)if(t.secret||t.message||t.value)if(!/[^a-zA-Z0-9]/.test(t.secret)){for(var r,a,i,s=d.querySelectorAll('iframe[data-secret="'+t.secret+'"]'),n=d.querySelectorAll('blockquote[data-secret="'+t.secret+'"]'),o=0;o<n.length;o++)n[o].style.display="none";for(o=0;o<s.length;o++)if(r=s[o],e.source===r.contentWindow){if(r.removeAttribute("style"),"height"===t.message){if(1e3<(i=parseInt(t.value,10)))i=1e3;else if(~~i<200)i=200;r.height=i}if("link"===t.message)if(a=d.createElement("a"),i=d.createElement("a"),a.href=r.getAttribute("src"),i.href=t.value,i.host===a.host)if(d.activeElement===r)c.top.location.href=t.value}}},e)c.addEventListener("message",c.wp.receiveEmbedMessage,!1),d.addEventListener("DOMContentLoaded",t,!1),c.addEventListener("load",t,!1);function t(){if(!n){n=!0;for(var e,t,r=-1!==navigator.appVersion.indexOf("MSIE 10"),a=!!navigator.userAgent.match(/Trident.*rv:11\./),i=d.querySelectorAll("iframe.wp-embedded-content"),s=0;s<i.length;s++){if(!(e=i[s]).getAttribute("data-secret"))t=Math.random().toString(36).substr(2,10),e.src+="#?secret="+t,e.setAttribute("data-secret",t);if(r||a)(t=e.cloneNode(!0)).removeAttribute("security"),e.parentNode.replaceChild(t,e)}}}}(window,document);
;/*!
 * WPBakery Page Builder v6.0.0 (https://wpbakery.com)
 * Copyright 2011-2021 Michael M, WPBakery
 * License: Commercial. More details: http://go.wpbakery.com/licensing
 */

// jscs:disable
// jshint ignore: start

document.documentElement.className+=" js_active ",document.documentElement.className+="ontouchstart"in document.documentElement?" vc_mobile ":" vc_desktop ",function(){for(var prefix=["-webkit-","-moz-","-ms-","-o-",""],i=0;i<prefix.length;i++)prefix[i]+"transform"in document.documentElement.style&&(document.documentElement.className+=" vc_transform ")}(),function($){"function"!=typeof window.vc_js&&(window.vc_js=function(){"use strict";vc_toggleBehaviour(),vc_tabsBehaviour(),vc_accordionBehaviour(),vc_teaserGrid(),vc_carouselBehaviour(),vc_slidersBehaviour(),vc_prettyPhoto(),vc_pinterest(),vc_progress_bar(),vc_plugin_flexslider(),vc_gridBehaviour(),vc_rowBehaviour(),vc_prepareHoverBox(),vc_googleMapsPointer(),vc_ttaActivation(),jQuery(document).trigger("vc_js"),window.setTimeout(vc_waypoints,500)}),"function"!=typeof window.vc_plugin_flexslider&&(window.vc_plugin_flexslider=function($parent){($parent?$parent.find(".wpb_flexslider"):jQuery(".wpb_flexslider")).each(function(){var this_element=jQuery(this),sliderTimeout=1e3*parseInt(this_element.attr("data-interval"),10),sliderFx=this_element.attr("data-flex_fx"),slideshow=0==sliderTimeout?!1:!0;this_element.is(":visible")&&this_element.flexslider({animation:sliderFx,slideshow:slideshow,slideshowSpeed:sliderTimeout,sliderSpeed:800,smoothHeight:!0})})}),"function"!=typeof window.vc_googleplus&&(window.vc_googleplus=function(){0<jQuery(".wpb_googleplus").length&&function(){var po=document.createElement("script");po.type="text/javascript",po.async=!0,po.src="https://apis.google.com/js/plusone.js";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(po,s)}()}),"function"!=typeof window.vc_pinterest&&(window.vc_pinterest=function(){0<jQuery(".wpb_pinterest").length&&function(){var po=document.createElement("script");po.type="text/javascript",po.async=!0,po.src="https://assets.pinterest.com/js/pinit.js";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(po,s)}()}),"function"!=typeof window.vc_progress_bar&&(window.vc_progress_bar=function(){void 0!==jQuery.fn.vcwaypoint&&jQuery(".vc_progress_bar").each(function(){var $el=jQuery(this);$el.vcwaypoint(function(){$el.find(".vc_single_bar").each(function(index){var bar=jQuery(this).find(".vc_bar"),val=bar.data("percentage-value");setTimeout(function(){bar.css({width:val+"%"})},200*index)})},{offset:"85%"})})}),"function"!=typeof window.vc_waypoints&&(window.vc_waypoints=function(){void 0!==jQuery.fn.vcwaypoint&&jQuery(".wpb_animate_when_almost_visible:not(.wpb_start_animation)").each(function(){var $el=jQuery(this);$el.vcwaypoint(function(){$el.addClass("wpb_start_animation animated")},{offset:"85%"})})}),"function"!=typeof window.vc_toggleBehaviour&&(window.vc_toggleBehaviour=function($el){function event(content){content&&content.preventDefault&&content.preventDefault();var element=jQuery(this).closest(".vc_toggle"),content=element.find(".vc_toggle_content");element.hasClass("vc_toggle_active")?content.slideUp({duration:300,complete:function(){element.removeClass("vc_toggle_active")}}):content.slideDown({duration:300,complete:function(){element.addClass("vc_toggle_active")}})}($el?$el.hasClass("vc_toggle_title")?$el.unbind("click"):$el.find(".vc_toggle_title").off("click"):jQuery(".vc_toggle_title").off("click")).on("click",event)}),"function"!=typeof window.vc_tabsBehaviour&&(window.vc_tabsBehaviour=function(ver){var $call,old_version;jQuery.ui&&($call=ver||jQuery(".wpb_tabs, .wpb_tour"),ver=jQuery.ui&&jQuery.ui.version?jQuery.ui.version.split("."):"1.10",old_version=1===parseInt(ver[0],10)&&parseInt(ver[1],10)<9,$call.each(function(index){var interval=jQuery(this).attr("data-interval"),tabs_array=[],$tabs=jQuery(this).find(".wpb_tour_tabs_wrapper").tabs({show:function(event,ui){wpb_prepare_tab_content(event,ui)},activate:function(event,ui){wpb_prepare_tab_content(event,ui)}});if(interval&&0<interval)try{$tabs.tabs("rotate",1e3*interval)}catch(err){window.console&&window.console.warn&&console.warn("tabs behaviours error",err)}jQuery(this).find(".wpb_tab").each(function(){tabs_array.push(this.id)}),jQuery(this).find(".wpb_tabs_nav li").on("click",function(e){return e&&e.preventDefault&&e.preventDefault(),old_version?$tabs.tabs("select",jQuery("a",this).attr("href")):$tabs.tabs("option","active",jQuery(this).index()),!1}),jQuery(this).find(".wpb_prev_slide a, .wpb_next_slide a").on("click",function(length){var index;length&&length.preventDefault&&length.preventDefault(),old_version?(index=$tabs.tabs("option","selected"),jQuery(this).parent().hasClass("wpb_next_slide")?index++:index--,index<0?index=$tabs.tabs("length")-1:index>=$tabs.tabs("length")&&(index=0),$tabs.tabs("select",index)):(index=$tabs.tabs("option","active"),length=$tabs.find(".wpb_tab").length,index=jQuery(this).parent().hasClass("wpb_next_slide")?length<=index+1?0:index+1:index-1<0?length-1:index-1,$tabs.tabs("option","active",index))})}))}),"function"!=typeof window.vc_accordionBehaviour&&(window.vc_accordionBehaviour=function(){jQuery(".wpb_accordion").each(function(index){var $this=jQuery(this),active_tab=($this.attr("data-interval"),!isNaN(jQuery(this).data("active-tab"))&&0<parseInt($this.data("active-tab"),10)&&parseInt($this.data("active-tab"),10)-1),$tabs=!1===active_tab||"yes"===$this.data("collapsible"),$tabs=$this.find(".wpb_accordion_wrapper").accordion({header:"> div > h3",autoHeight:!1,heightStyle:"content",active:active_tab,collapsible:$tabs,navigation:!0,activate:vc_accordionActivate,change:function(event,ui){void 0!==jQuery.fn.isotope&&ui.newContent.find(".isotope").isotope("layout"),vc_carouselBehaviour(ui.newPanel)}});!0===$this.data("vcDisableKeydown")&&($tabs.data("uiAccordion")._keydown=function(){})})}),"function"!=typeof window.vc_teaserGrid&&(window.vc_teaserGrid=function(){var layout_modes={fitrows:"fitRows",masonry:"masonry"};jQuery(".wpb_grid .teaser_grid_container:not(.wpb_carousel), .wpb_filtered_grid .teaser_grid_container:not(.wpb_carousel)").each(function(){var $container=jQuery(this),$thumbs=$container.find(".wpb_thumbnails"),layout_mode=$thumbs.attr("data-layout-mode");$thumbs.isotope({itemSelector:".isotope-item",layoutMode:void 0===layout_modes[layout_mode]?"fitRows":layout_modes[layout_mode]}),$container.find(".categories_filter a").data("isotope",$thumbs).on("click",function($thumbs){$thumbs&&$thumbs.preventDefault&&$thumbs.preventDefault();$thumbs=jQuery(this).data("isotope");jQuery(this).parent().parent().find(".active").removeClass("active"),jQuery(this).parent().addClass("active"),$thumbs.isotope({filter:jQuery(this).attr("data-filter")})}),jQuery(window).on("load resize",function(){$thumbs.isotope("layout")})})}),"function"!=typeof window.vc_carouselBehaviour&&(window.vc_carouselBehaviour=function($parent){($parent?$parent.find(".wpb_carousel"):jQuery(".wpb_carousel")).each(function(){var fluid_ul=jQuery(this);!0!==fluid_ul.data("carousel_enabled")&&fluid_ul.is(":visible")&&(fluid_ul.data("carousel_enabled",!0),getColumnsCount(jQuery(this)),jQuery(this).hasClass("columns_count_1"),(fluid_ul=jQuery(this).find(".wpb_thumbnails-fluid li")).css({"margin-right":fluid_ul.css("margin-left"),"margin-left":0}),(fluid_ul=jQuery(this).find("ul.wpb_thumbnails-fluid")).width(fluid_ul.width()+300))})}),"function"!=typeof window.vc_slidersBehaviour&&(window.vc_slidersBehaviour=function(){jQuery(".wpb_gallery_slides").each(function(index){var $imagesGrid,sliderTimeout,this_element=jQuery(this);this_element.hasClass("wpb_slider_nivo")?(0===(sliderTimeout=1e3*this_element.attr("data-interval"))&&(sliderTimeout=9999999999),this_element.find(".nivoSlider").nivoSlider({effect:"boxRainGrow,boxRain,boxRainReverse,boxRainGrowReverse",slices:15,boxCols:8,boxRows:4,animSpeed:800,pauseTime:sliderTimeout,startSlide:0,directionNav:!0,directionNavHide:!0,controlNav:!0,keyboardNav:!1,pauseOnHover:!0,manualAdvance:!1,prevText:"Prev",nextText:"Next"})):this_element.hasClass("wpb_image_grid")&&(jQuery.fn.imagesLoaded?$imagesGrid=this_element.find(".wpb_image_grid_ul").imagesLoaded(function(){$imagesGrid.isotope({itemSelector:".isotope-item",layoutMode:"fitRows"})}):this_element.find(".wpb_image_grid_ul").isotope({itemSelector:".isotope-item",layoutMode:"fitRows"}))})}),"function"!=typeof window.vc_prettyPhoto&&(window.vc_prettyPhoto=function(){try{jQuery&&jQuery.fn&&jQuery.fn.prettyPhoto&&jQuery('a.prettyphoto, .gallery-icon a[href*=".jpg"]').prettyPhoto({animationSpeed:"normal",hook:"data-rel",padding:15,opacity:.7,showTitle:!0,allowresize:!0,counter_separator_label:"/",hideflash:!1,deeplinking:!1,modal:!1,callback:function(){-1<location.href.indexOf("#!prettyPhoto")&&(location.hash="")},social_tools:""})}catch(err){window.console&&window.console.warn&&window.console.warn("vc_prettyPhoto initialize error",err)}}),"function"!=typeof window.vc_google_fonts&&(window.vc_google_fonts=function(){return window.console&&window.console.warn&&window.console.warn("function vc_google_fonts is deprecated, no need to use it"),!1}),window.vcParallaxSkroll=!1,"function"!=typeof window.vc_rowBehaviour&&(window.vc_rowBehaviour=function(){var callSkrollInit,$=window.jQuery;function fullWidthRow(){var $elements=$('[data-vc-full-width="true"]');$.each($elements,function(key,item){var $el=$(this);$el.addClass("vc_hidden");var el_margin_left,el_margin_right,offset,width,padding,paddingRight,$el_full=$el.next(".vc_row-full-width");($el_full=!$el_full.length?$el.parent().next(".vc_row-full-width"):$el_full).length&&(el_margin_left=parseInt($el.css("margin-left"),10),el_margin_right=parseInt($el.css("margin-right"),10),offset=0-$el_full.offset().left-el_margin_left,width=$(window).width(),"rtl"===$el.css("direction")&&(offset-=$el_full.width(),offset+=width,offset+=el_margin_left,offset+=el_margin_right),$el.css({position:"relative",left:offset,"box-sizing":"border-box",width:width}),$el.data("vcStretchContent")||("rtl"===$el.css("direction")?((padding=offset)<0&&(padding=0),(paddingRight=offset)<0&&(paddingRight=0)):(paddingRight=width-(padding=(padding=-1*offset)<0?0:padding)-$el_full.width()+el_margin_left+el_margin_right)<0&&(paddingRight=0),$el.css({"padding-left":padding+"px","padding-right":paddingRight+"px"})),$el.attr("data-vc-full-width-init","true"),$el.removeClass("vc_hidden"),$(document).trigger("vc-full-width-row-single",{el:$el,offset:offset,marginLeft:el_margin_left,marginRight:el_margin_right,elFull:$el_full,width:width}))}),$(document).trigger("vc-full-width-row",$elements)}function fullHeightRow(){var windowHeight,offsetTop,$element=$(".vc_row-o-full-height:first");$element.length&&(windowHeight=$(window).height(),(offsetTop=$element.offset().top)<windowHeight&&$element.css("min-height",100-offsetTop/(windowHeight/100)+"vh")),$(document).trigger("vc-full-height-row",$element)}$(window).off("resize.vcRowBehaviour").on("resize.vcRowBehaviour",fullWidthRow).on("resize.vcRowBehaviour",fullHeightRow),fullWidthRow(),fullHeightRow(),(0<window.navigator.userAgent.indexOf("MSIE ")||navigator.userAgent.match(/Trident.*rv\:11\./))&&$(".vc_row-o-full-height").each(function(){"flex"===$(this).css("display")&&$(this).wrap('<div class="vc_ie-flexbox-fixer"></div>')}),vc_initVideoBackgrounds(),callSkrollInit=!1,window.vcParallaxSkroll&&window.vcParallaxSkroll.destroy(),$(".vc_parallax-inner").remove(),$("[data-5p-top-bottom]").removeAttr("data-5p-top-bottom data-30p-top-bottom"),$("[data-vc-parallax]").each(function(){var skrollrSize,$parallaxElement,parallaxImage,youtubeId;callSkrollInit=!0,"on"===$(this).data("vcParallaxOFade")&&$(this).children().attr("data-5p-top-bottom","opacity:0;").attr("data-30p-top-bottom","opacity:1;"),skrollrSize=100*$(this).data("vcParallax"),($parallaxElement=$("<div />").addClass("vc_parallax-inner").appendTo($(this))).height(skrollrSize+"%"),parallaxImage=$(this).data("vcParallaxImage"),(youtubeId=vcExtractYoutubeId(parallaxImage))?insertYoutubeVideoAsBackground($parallaxElement,youtubeId):void 0!==parallaxImage&&$parallaxElement.css("background-image","url("+parallaxImage+")"),$parallaxElement.attr("data-bottom-top","top: "+-(skrollrSize-100)+"%;").attr("data-top-bottom","top: 0%;")}),callSkrollInit&&window.skrollr&&(window.vcParallaxSkroll=skrollr.init({forceHeight:!1,smoothScrolling:!1,mobileCheck:function(){return!1}}),window.vcParallaxSkroll)}),"function"!=typeof window.vc_gridBehaviour&&(window.vc_gridBehaviour=function(){jQuery.fn.vcGrid&&jQuery("[data-vc-grid]").vcGrid()}),"function"!=typeof window.getColumnsCount&&(window.getColumnsCount=function(el){for(var find=!1,i=1;!1===find;){if(el.hasClass("columns_count_"+i))return find=!0,i;i++}}),"function"!=typeof window.wpb_prepare_tab_content&&(window.wpb_prepare_tab_content=function(event,ui){var panel=ui.panel||ui.newPanel,$pie_charts=panel.find(".vc_pie_chart:not(.vc_ready)"),$round_charts=panel.find(".vc_round-chart"),$frame=panel.find(".vc_line-chart"),$google_maps=panel.find('[data-ride="vc_carousel"]');vc_carouselBehaviour(),vc_plugin_flexslider(panel),ui.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&ui.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var grid=jQuery(this).data("vcGrid");grid&&grid.gridBuilder&&grid.gridBuilder.setMasonry&&grid.gridBuilder.setMasonry()}),panel.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&panel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var grid=jQuery(this).data("vcGrid");grid&&grid.gridBuilder&&grid.gridBuilder.setMasonry&&grid.gridBuilder.setMasonry()}),$pie_charts.length&&jQuery.fn.vcChat&&$pie_charts.vcChat(),$round_charts.length&&jQuery.fn.vcRoundChart&&$round_charts.vcRoundChart({reload:!1}),$frame.length&&jQuery.fn.vcLineChart&&$frame.vcLineChart({reload:!1}),$google_maps.length&&jQuery.fn.carousel&&$google_maps.carousel("resizeAction"),$frame=panel.find(".isotope, .wpb_image_grid_ul"),$google_maps=panel.find(".wpb_gmaps_widget"),0<$frame.length&&$frame.isotope("layout"),$google_maps.length&&!$google_maps.is(".map_ready")&&(($frame=$google_maps.find("iframe")).attr("src",$frame.attr("src")),$google_maps.addClass("map_ready")),panel.parents(".isotope").length&&panel.parents(".isotope").each(function(){jQuery(this).isotope("layout")}),$(document).trigger("wpb_prepare_tab_content",panel)}),"function"!=typeof window.vc_ttaActivation&&(window.vc_ttaActivation=function(){jQuery("[data-vc-accordion]").on("show.vc.accordion",function(e){var $=window.jQuery,ui={};ui.newPanel=$(this).data("vc.accordion").getTarget(),window.wpb_prepare_tab_content(e,ui)})}),"function"!=typeof window.vc_accordionActivate&&(window.vc_accordionActivate=function(event,ui){var $pie_charts,$round_charts,$line_charts,$carousel;ui.newPanel.length&&ui.newHeader.length&&($pie_charts=ui.newPanel.find(".vc_pie_chart:not(.vc_ready)"),$round_charts=ui.newPanel.find(".vc_round-chart"),$line_charts=ui.newPanel.find(".vc_line-chart"),$carousel=ui.newPanel.find('[data-ride="vc_carousel"]'),void 0!==jQuery.fn.isotope&&ui.newPanel.find(".isotope, .wpb_image_grid_ul").isotope("layout"),ui.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&ui.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var grid=jQuery(this).data("vcGrid");grid&&grid.gridBuilder&&grid.gridBuilder.setMasonry&&grid.gridBuilder.setMasonry()}),vc_carouselBehaviour(ui.newPanel),vc_plugin_flexslider(ui.newPanel),$pie_charts.length&&jQuery.fn.vcChat&&$pie_charts.vcChat(),$round_charts.length&&jQuery.fn.vcRoundChart&&$round_charts.vcRoundChart({reload:!1}),$line_charts.length&&jQuery.fn.vcLineChart&&$line_charts.vcLineChart({reload:!1}),$carousel.length&&jQuery.fn.carousel&&$carousel.carousel("resizeAction"),ui.newPanel.parents(".isotope").length&&ui.newPanel.parents(".isotope").each(function(){jQuery(this).isotope("layout")}))}),"function"!=typeof window.initVideoBackgrounds&&(window.initVideoBackgrounds=function(){return window.console&&window.console.warn&&window.console.warn("this function is deprecated use vc_initVideoBackgrounds"),vc_initVideoBackgrounds()}),"function"!=typeof window.vc_initVideoBackgrounds&&(window.vc_initVideoBackgrounds=function(){jQuery("[data-vc-video-bg]").each(function(){var youtubeId,$element=jQuery(this);$element.data("vcVideoBg")?(youtubeId=$element.data("vcVideoBg"),(youtubeId=vcExtractYoutubeId(youtubeId))&&($element.find(".vc_video-bg").remove(),insertYoutubeVideoAsBackground($element,youtubeId)),jQuery(window).on("grid:items:added",function(event,$grid){$element.has($grid).length&&vcResizeVideoBackground($element)})):$element.find(".vc_video-bg").remove()})}),"function"!=typeof window.insertYoutubeVideoAsBackground&&(window.insertYoutubeVideoAsBackground=function($element,youtubeId,counter){if("undefined"==typeof YT||void 0===YT.Player)return 100<(counter=void 0===counter?0:counter)?void console.warn("Too many attempts to load YouTube api"):void setTimeout(function(){insertYoutubeVideoAsBackground($element,youtubeId,counter++)},100);var $container=$element.prepend('<div class="vc_video-bg vc_hidden-xs"><div class="inner"></div></div>').find(".inner");new YT.Player($container[0],{width:"100%",height:"100%",videoId:youtubeId,playerVars:{playlist:youtubeId,iv_load_policy:3,enablejsapi:1,disablekb:1,autoplay:1,controls:0,showinfo:0,rel:0,loop:1,wmode:"transparent"},events:{onReady:function(event){event.target.mute().setLoop(!0)}}}),vcResizeVideoBackground($element),jQuery(window).on("resize",function(){vcResizeVideoBackground($element)})}),"function"!=typeof window.vcResizeVideoBackground&&(window.vcResizeVideoBackground=function($element){var iframeW,iframeH,marginLeft,marginTop,containerW=$element.innerWidth(),containerH=$element.innerHeight();containerW/containerH<16/9?(iframeW=containerH*(16/9),iframeH=containerH,marginLeft=-Math.round((iframeW-containerW)/2)+"px",marginTop=-Math.round((iframeH-containerH)/2)+"px"):(iframeH=(iframeW=containerW)*(9/16),marginTop=-Math.round((iframeH-containerH)/2)+"px",marginLeft=-Math.round((iframeW-containerW)/2)+"px"),iframeW+="px",iframeH+="px",$element.find(".vc_video-bg iframe").css({maxWidth:"1000%",marginLeft:marginLeft,marginTop:marginTop,width:iframeW,height:iframeH})}),"function"!=typeof window.vcExtractYoutubeId&&(window.vcExtractYoutubeId=function(id){if(void 0===id)return!1;id=id.match(/(?:https?:\/{2})?(?:w{3}\.)?youtu(?:be)?\.(?:com|be)(?:\/watch\?v=|\/)([^\s&]+)/);return null!==id&&id[1]}),"function"!=typeof window.vc_googleMapsPointer&&(window.vc_googleMapsPointer=function(){var $=window.jQuery,$wpbGmapsWidget=$(".wpb_gmaps_widget");$wpbGmapsWidget.on("click",function(){$("iframe",this).css("pointer-events","auto")}),$wpbGmapsWidget.on("mouseleave",function(){$("iframe",this).css("pointer-events","none")}),$(".wpb_gmaps_widget iframe").css("pointer-events","none")}),"function"!=typeof window.vc_setHoverBoxPerspective&&(window.vc_setHoverBoxPerspective=function(hoverBox){hoverBox.each(function(){var $this=jQuery(this),width=$this.width();$this.css("perspective",4*width+"px")})}),"function"!=typeof window.vc_setHoverBoxHeight&&(window.vc_setHoverBoxHeight=function(hoverBox){hoverBox.each(function(){var hoverBoxHeight=jQuery(this),hoverBoxInner=hoverBoxHeight.find(".vc-hoverbox-inner");hoverBoxInner.css("min-height",0);var frontHeight=hoverBoxHeight.find(".vc-hoverbox-front-inner").outerHeight(),hoverBoxHeight=hoverBoxHeight.find(".vc-hoverbox-back-inner").outerHeight(),hoverBoxHeight=hoverBoxHeight<frontHeight?frontHeight:hoverBoxHeight;hoverBoxInner.css("min-height",(hoverBoxHeight=hoverBoxHeight<250?250:hoverBoxHeight)+"px")})}),"function"!=typeof window.vc_prepareHoverBox&&(window.vc_prepareHoverBox=function(){var hoverBox=jQuery(".vc-hoverbox");vc_setHoverBoxHeight(hoverBox),vc_setHoverBoxPerspective(hoverBox)}),jQuery(document).ready(window.vc_prepareHoverBox),jQuery(window).on("resize",window.vc_prepareHoverBox),jQuery(document).ready(function($){window.vc_js()})}(window.jQuery);
;/*!
 * WPBakery Page Builder v6.0.0 (https://wpbakery.com)
 * Copyright 2011-2019 Michael M, WPBakery
 * License: Commercial. More details: http://go.wpbakery.com/licensing
 */

// jscs:disable
// jshint ignore: start

/*!
Waypoints - 4.0.1
Copyright © 2011-2016 Caleb Troughton
Licensed under the MIT license.
https://github.com/imakewebthings/waypoints/blob/master/licenses.txt
*/
!function(){"use strict";var e=0,r={};function i(t){if(!t)throw new Error("No options passed to Waypoint constructor");if(!t.element)throw new Error("No element option passed to Waypoint constructor");if(!t.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.options=i.Adapter.extend({},i.defaults,t),this.element=this.options.element,this.adapter=new i.Adapter(this.element),this.callback=t.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=i.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=i.Context.findOrCreateByElement(this.options.context),i.offsetAliases[this.options.offset]&&(this.options.offset=i.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),r[this.key]=this,e+=1}i.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},i.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},i.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete r[this.key]},i.prototype.disable=function(){return this.enabled=!1,this},i.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},i.prototype.next=function(){return this.group.next(this)},i.prototype.previous=function(){return this.group.previous(this)},i.invokeAll=function(t){var e=[];for(var i in r)e.push(r[i]);for(var o=0,n=e.length;o<n;o++)e[o][t]()},i.destroyAll=function(){i.invokeAll("destroy")},i.disableAll=function(){i.invokeAll("disable")},i.enableAll=function(){for(var t in i.Context.refreshAll(),r)r[t].enabled=!0;return this},i.refreshAll=function(){i.Context.refreshAll()},i.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},i.viewportWidth=function(){return document.documentElement.clientWidth},i.adapters=[],i.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},i.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.VcWaypoint=i}(),function(){"use strict";function e(t){window.setTimeout(t,1e3/60)}var i=0,o={},y=window.VcWaypoint,t=window.onload;function n(t){this.element=t,this.Adapter=y.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+i,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,o[t.waypointContextKey]=this,i+=1,y.windowContext||(y.windowContext=!0,y.windowContext=new n(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}n.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},n.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical),i=this.element==this.element.window;t&&e&&!i&&(this.adapter.off(".vcwaypoints"),delete o[this.key])},n.prototype.createThrottledResizeHandler=function(){var t=this;function e(){t.handleResize(),t.didResize=!1}this.adapter.on("resize.vcwaypoints",function(){t.didResize||(t.didResize=!0,y.requestAnimationFrame(e))})},n.prototype.createThrottledScrollHandler=function(){var t=this;function e(){t.handleScroll(),t.didScroll=!1}this.adapter.on("scroll.vcwaypoints",function(){t.didScroll&&!y.isTouch||(t.didScroll=!0,y.requestAnimationFrame(e))})},n.prototype.handleResize=function(){y.Context.refreshAll()},n.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var i in e){var o=e[i],n=o.newScroll>o.oldScroll?o.forward:o.backward;for(var r in this.waypoints[i]){var s=this.waypoints[i][r];if(null!==s.triggerPoint){var a=o.oldScroll<s.triggerPoint,l=o.newScroll>=s.triggerPoint;(a&&l||!a&&!l)&&(s.queueTrigger(n),t[s.group.id]=s.group)}}}for(var h in t)t[h].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},n.prototype.innerHeight=function(){return this.element==this.element.window?y.viewportHeight():this.adapter.innerHeight()},n.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},n.prototype.innerWidth=function(){return this.element==this.element.window?y.viewportWidth():this.adapter.innerWidth()},n.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var o=0,n=t.length;o<n;o++)t[o].destroy()},n.prototype.refresh=function(){var t,e=this.element==this.element.window,i=e?void 0:this.adapter.offset(),o={};for(var n in this.handleScroll(),t={horizontal:{contextOffset:e?0:i.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:i.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var r=t[n];for(var s in this.waypoints[n]){var a,l,h,p,c=this.waypoints[n][s],u=c.options.offset,d=c.triggerPoint,f=0,w=null==d;c.element!==c.element.window&&(f=c.adapter.offset()[r.offsetProp]),"function"==typeof u?u=u.apply(c):"string"==typeof u&&(u=parseFloat(u),-1<c.options.offset.indexOf("%")&&(u=Math.ceil(r.contextDimension*u/100))),a=r.contextScroll-r.contextOffset,c.triggerPoint=Math.floor(f+a-u),l=d<r.oldScroll,h=c.triggerPoint>=r.oldScroll,p=!l&&!h,!w&&(l&&h)?(c.queueTrigger(r.backward),o[c.group.id]=c.group):!w&&p?(c.queueTrigger(r.forward),o[c.group.id]=c.group):w&&r.oldScroll>=c.triggerPoint&&(c.queueTrigger(r.forward),o[c.group.id]=c.group)}}return y.requestAnimationFrame(function(){for(var t in o)o[t].flushTriggers()}),this},n.findOrCreateByElement=function(t){return n.findByElement(t)||new n(t)},n.refreshAll=function(){for(var t in o)o[t].refresh()},n.findByElement=function(t){return o[t.waypointContextKey]},window.onload=function(){t&&t(),n.refreshAll()},y.requestAnimationFrame=function(t){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||e).call(window,t)},y.Context=n}(),function(){"use strict";function s(t,e){return t.triggerPoint-e.triggerPoint}function a(t,e){return e.triggerPoint-t.triggerPoint}var e={vertical:{},horizontal:{}},i=window.VcWaypoint;function o(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),e[this.axis][this.name]=this}o.prototype.add=function(t){this.waypoints.push(t)},o.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},o.prototype.flushTriggers=function(){for(var t in this.triggerQueues){var e=this.triggerQueues[t],i="up"===t||"left"===t;e.sort(i?a:s);for(var o=0,n=e.length;o<n;o+=1){var r=e[o];(r.options.continuous||o===e.length-1)&&r.trigger([t])}}this.clearTriggerQueues()},o.prototype.next=function(t){this.waypoints.sort(s);var e=i.Adapter.inArray(t,this.waypoints);return e===this.waypoints.length-1?null:this.waypoints[e+1]},o.prototype.previous=function(t){this.waypoints.sort(s);var e=i.Adapter.inArray(t,this.waypoints);return e?this.waypoints[e-1]:null},o.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},o.prototype.remove=function(t){var e=i.Adapter.inArray(t,this.waypoints);-1<e&&this.waypoints.splice(e,1)},o.prototype.first=function(){return this.waypoints[0]},o.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},o.findOrCreate=function(t){return e[t.axis][t.name]||new o(t)},i.Group=o}(),function(){"use strict";var i=window.jQuery,t=window.VcWaypoint;function o(t){this.$element=i(t)}i.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(t,e){o.prototype[e]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[e].apply(this.$element,t)}}),i.each(["extend","inArray","isEmptyObject"],function(t,e){o[e]=i[e]}),t.adapters.push({name:"jquery",Adapter:o}),t.Adapter=o}(),function(){"use strict";var n=window.VcWaypoint;function t(o){return function(){var e=[],i=arguments[0];return o.isFunction(arguments[0])&&((i=o.extend({},arguments[1])).handler=arguments[0]),this.each(function(){var t=o.extend({},i,{element:this});"string"==typeof t.context&&(t.context=o(this).closest(t.context)[0]),e.push(new n(t))}),e}}window.jQuery&&(window.jQuery.fn.vcwaypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.vcwaypoint=t(window.Zepto))}();