window.scwDisableJsAJAX=!0,function(e){"function"==typeof define&&define.amd?define(["jquery"],function(t){return e(t)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=e(require("jquery")):e(jQuery)}(function(e){function t(e){var t=7.5625,i=2.75;return e<1/i?t*e*e:e<2/i?t*(e-=1.5/i)*e+.75:e<2.5/i?t*(e-=2.25/i)*e+.9375:t*(e-=2.625/i)*e+.984375}void 0!==e.easing&&(e.easing.jswing=e.easing.swing);var i=Math.pow,n=Math.sqrt,a=Math.sin,s=Math.cos,r=Math.PI,o=1.70158,l=1.525*o,c=2*r/3,d=2*r/4.5;return e.extend(e.easing,{def:"easeOutQuad",swing:function(t){return e.easing[e.easing.def](t)},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return 1-(1-e)*(1-e)},easeInOutQuad:function(e){return e<.5?2*e*e:1-i(-2*e+2,2)/2},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return 1-i(1-e,3)},easeInOutCubic:function(e){return e<.5?4*e*e*e:1-i(-2*e+2,3)/2},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return 1-i(1-e,4)},easeInOutQuart:function(e){return e<.5?8*e*e*e*e:1-i(-2*e+2,4)/2},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return 1-i(1-e,5)},easeInOutQuint:function(e){return e<.5?16*e*e*e*e*e:1-i(-2*e+2,5)/2},easeInSine:function(e){return 1-s(e*r/2)},easeOutSine:function(e){return a(e*r/2)},easeInOutSine:function(e){return-(s(r*e)-1)/2},easeInExpo:function(e){return 0===e?0:i(2,10*e-10)},easeOutExpo:function(e){return 1===e?1:1-i(2,-10*e)},easeInOutExpo:function(e){return 0===e?0:1===e?1:e<.5?i(2,20*e-10)/2:(2-i(2,-20*e+10))/2},easeInCirc:function(e){return 1-n(1-i(e,2))},easeOutCirc:function(e){return n(1-i(e-1,2))},easeInOutCirc:function(e){return e<.5?(1-n(1-i(2*e,2)))/2:(n(1-i(-2*e+2,2))+1)/2},easeInElastic:function(e){return 0===e?0:1===e?1:-i(2,10*e-10)*a((10*e-10.75)*c)},easeOutElastic:function(e){return 0===e?0:1===e?1:i(2,-10*e)*a((10*e-.75)*c)+1},easeInOutElastic:function(e){return 0===e?0:1===e?1:e<.5?-i(2,20*e-10)*a((20*e-11.125)*d)/2:i(2,-20*e+10)*a((20*e-11.125)*d)/2+1},easeInBack:function(e){return 2.70158*e*e*e-o*e*e},easeOutBack:function(e){return 1+2.70158*i(e-1,3)+o*i(e-1,2)},easeInOutBack:function(e){return e<.5?i(2*e,2)*(7.189819*e-l)/2:(i(2*e-2,2)*((l+1)*(2*e-2)+l)+2)/2},easeInBounce:function(e){return 1-t(1-e)},easeOutBounce:t,easeInOutBounce:function(e){return e<.5?(1-t(1-2*e))/2:(1+t(2*e-1))/2}}),e}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap=t()}(this,function(){"use strict";const e=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let i=e.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i="#"+i.split("#")[1]),t=i&&"#"!==i?i.trim():null}return t},t=t=>{const i=e(t);return i&&document.querySelector(i)?i:null},i=t=>{const i=e(t);return i?document.querySelector(i):null},n=e=>{e.dispatchEvent(new Event("transitionend"))},a=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),s=e=>a(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(e):null,r=(e,t,i)=>{Object.keys(i).forEach(n=>{const s=i[n],r=t[n],o=r&&a(r)?"element":null==(l=r)?""+l:{}.toString.call(l).match(/\s([a-z]+)/i)[1].toLowerCase();var l;if(!new RegExp(s).test(o))throw new TypeError(`${e.toUpperCase()}: Option "${n}" provided type "${o}" but expected type "${s}".`)})},o=e=>!(!a(e)||0===e.getClientRects().length)&&"visible"===getComputedStyle(e).getPropertyValue("visibility"),l=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),c=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?c(e.parentNode):null},d=()=>{},u=e=>{e.offsetHeight},h=()=>{const{jQuery:e}=window;return e&&!document.body.hasAttribute("data-bs-no-jquery")?e:null},p=[],f=()=>"rtl"===document.documentElement.dir,m=e=>{var t;t=(()=>{const t=h();if(t){const i=e.NAME,n=t.fn[i];t.fn[i]=e.jQueryInterface,t.fn[i].Constructor=e,t.fn[i].noConflict=(()=>(t.fn[i]=n,e.jQueryInterface))}}),"loading"===document.readyState?(p.length||document.addEventListener("DOMContentLoaded",()=>{p.forEach(e=>e())}),p.push(t)):t()},g=e=>{"function"==typeof e&&e()},v=(e,t,i=!0)=>{if(!i)return void g(e);const a=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:i}=window.getComputedStyle(e);const n=Number.parseFloat(t),a=Number.parseFloat(i);return n||a?(t=t.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(i))):0})(t)+5;let s=!1;const r=({target:i})=>{i===t&&(s=!0,t.removeEventListener("transitionend",r),g(e))};t.addEventListener("transitionend",r),setTimeout(()=>{s||n(t)},a)},y=(e,t,i,n)=>{let a=e.indexOf(t);if(-1===a)return e[!i&&n?e.length-1:0];const s=e.length;return a+=i?1:-1,n&&(a=(a+s)%s),e[Math.max(0,Math.min(a,s-1))]},b=/[^.]*(?=\..*)\.|.*/,w=/\..*/,_=/::\d+$/,T={};let x=1;const C={mouseenter:"mouseover",mouseleave:"mouseout"},S=/^(mouseenter|mouseleave)/i,E=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function P(e,t){return t&&`${t}::${x++}`||e.uidEvent||x++}function k(e){const t=P(e);return e.uidEvent=t,T[t]=T[t]||{},T[t]}function M(e,t,i=null){const n=Object.keys(e);for(let a=0,s=n.length;a(function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)});n?n=e(n):i=e(i)}const[s,r,o]=I(t,i,n),l=k(e),c=l[o]||(l[o]={}),d=M(c,r,s?i:null);if(d)return void(d.oneOff=d.oneOff&&a);const u=P(r,t.replace(b,"")),h=s?function(e,t,i){return function n(a){const s=e.querySelectorAll(t);for(let{target:r}=a;r&&r!==this;r=r.parentNode)for(let o=s.length;o--;)if(s[o]===r)return a.delegateTarget=r,n.oneOff&&A.off(e,a.type,t,i),i.apply(r,[a]);return null}}(e,i,n):function(e,t){return function i(n){return n.delegateTarget=e,i.oneOff&&A.off(e,n.type,t),t.apply(e,[n])}}(e,i);h.delegationSelector=s?i:null,h.originalHandler=r,h.oneOff=a,h.uidEvent=u,c[u]=h,e.addEventListener(o,h,s)}function L(e,t,i,n,a){const s=M(t[i],n,a);s&&(e.removeEventListener(i,s,Boolean(a)),delete t[i][s.uidEvent])}function j(e){return e=e.replace(w,""),C[e]||e}const A={on(e,t,i,n){O(e,t,i,n,!1)},one(e,t,i,n){O(e,t,i,n,!0)},off(e,t,i,n){if("string"!=typeof t||!e)return;const[a,s,r]=I(t,i,n),o=r!==t,l=k(e),c=t.startsWith(".");if(void 0!==s){if(!l||!l[r])return;return void L(e,l,r,s,a?i:null)}c&&Object.keys(l).forEach(i=>{!function(e,t,i,n){const a=t[i]||{};Object.keys(a).forEach(s=>{if(s.includes(n)){const n=a[s];L(e,t,i,n.originalHandler,n.delegationSelector)}})}(e,l,i,t.slice(1))});const d=l[r]||{};Object.keys(d).forEach(i=>{const n=i.replace(_,"");if(!o||t.includes(n)){const t=d[i];L(e,l,r,t.originalHandler,t.delegationSelector)}})},trigger(e,t,i){if("string"!=typeof t||!e)return null;const n=h(),a=j(t),s=t!==a,r=E.has(a);let o,l=!0,c=!0,d=!1,u=null;return s&&n&&(o=n.Event(t,i),n(e).trigger(o),l=!o.isPropagationStopped(),c=!o.isImmediatePropagationStopped(),d=o.isDefaultPrevented()),r?(u=document.createEvent("HTMLEvents")).initEvent(a,l,!0):u=new CustomEvent(t,{bubbles:l,cancelable:!0}),void 0!==i&&Object.keys(i).forEach(e=>{Object.defineProperty(u,e,{get:()=>i[e]})}),d&&u.preventDefault(),c&&e.dispatchEvent(u),u.defaultPrevented&&void 0!==o&&o.preventDefault(),u}},z=new Map;var Y={set(e,t,i){z.has(e)||z.set(e,new Map);const n=z.get(e);n.has(t)||0===n.size?n.set(t,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`)},get:(e,t)=>z.has(e)&&z.get(e).get(t)||null,remove(e,t){if(!z.has(e))return;const i=z.get(e);i.delete(t),0===i.size&&z.delete(e)}};class D{constructor(e){(e=s(e))&&(this._element=e,Y.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Y.remove(this._element,this.constructor.DATA_KEY),A.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach(e=>{this[e]=null})}_queueCallback(e,t,i=!0){v(e,t,i)}static getInstance(e){return Y.get(s(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.1.0"}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return"bs."+this.NAME}static get EVENT_KEY(){return"."+this.DATA_KEY}}const N=(e,t="hide")=>{const n="click.dismiss"+e.EVENT_KEY,a=e.NAME;A.on(document,n,`[data-bs-dismiss="${a}"]`,function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),l(this))return;const s=i(this)||this.closest("."+a);e.getOrCreateInstance(s)[t]()})};class $ extends D{static get NAME(){return"alert"}close(){if(A.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,e)}_destroyElement(){this._element.remove(),A.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=$.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}N($,"close"),m($);class B extends D{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each(function(){const t=B.getOrCreateInstance(this);"toggle"===e&&t[e]()})}}function Q(e){return"true"===e||"false"!==e&&(e===Number(e).toString()?Number(e):""===e||"null"===e?null:e)}function R(e){return e.replace(/[A-Z]/g,e=>"-"+e.toLowerCase())}A.on(document,"click.bs.button.data-api",'[data-bs-toggle="button"]',e=>{e.preventDefault();const t=e.target.closest('[data-bs-toggle="button"]');B.getOrCreateInstance(t).toggle()}),m(B);const F={setDataAttribute(e,t,i){e.setAttribute("data-bs-"+R(t),i)},removeDataAttribute(e,t){e.removeAttribute("data-bs-"+R(t))},getDataAttributes(e){if(!e)return{};const t={};return Object.keys(e.dataset).filter(e=>e.startsWith("bs")).forEach(i=>{let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),t[n]=Q(e.dataset[i])}),t},getDataAttribute:(e,t)=>Q(e.getAttribute("data-bs-"+R(t))),offset(e){const t=e.getBoundingClientRect();return{top:t.top+window.pageYOffset,left:t.left+window.pageXOffset}},position:e=>({top:e.offsetTop,left:e.offsetLeft})},H={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter(e=>e.matches(t)),parents(e,t){const i=[];let n=e.parentNode;for(;n&&n.nodeType===Node.ELEMENT_NODE&&3!==n.nodeType;)n.matches(t)&&i.push(n),n=n.parentNode;return i},prev(e,t){let i=e.previousElementSibling;for(;i;){if(i.matches(t))return[i];i=i.previousElementSibling}return[]},next(e,t){let i=e.nextElementSibling;for(;i;){if(i.matches(t))return[i];i=i.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>e+':not([tabindex^="-"])').join(", ");return this.find(t,e).filter(e=>!l(e)&&o(e))}},W={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},q={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},V="next",U="prev",G="left",X="right",K={ArrowLeft:X,ArrowRight:G};class Z extends D{constructor(e,t){super(e),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._indicatorsElement=H.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return W}static get NAME(){return"carousel"}next(){this._slide(V)}nextWhenVisible(){!document.hidden&&o(this._element)&&this.next()}prev(){this._slide(U)}pause(e){e||(this._isPaused=!0),H.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(n(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(e){this._activeElement=H.findOne(".active.carousel-item",this._element);const t=this._getItemIndex(this._activeElement);if(e>this._items.length-1||e<0)return;if(this._isSliding)return void A.one(this._element,"slid.bs.carousel",()=>this.to(e));if(t===e)return this.pause(),void this.cycle();const i=e>t?V:U;this._slide(i,this._items[e])}_getConfig(e){return e={...W,...F.getDataAttributes(this._element),..."object"==typeof e?e:{}},r("carousel",e,q),e}_handleSwipe(){const e=Math.abs(this.touchDeltaX);if(e<=40)return;const t=e/this.touchDeltaX;this.touchDeltaX=0,t&&this._slide(t>0?X:G)}_addEventListeners(){this._config.keyboard&&A.on(this._element,"keydown.bs.carousel",e=>this._keydown(e)),"hover"===this._config.pause&&(A.on(this._element,"mouseenter.bs.carousel",e=>this.pause(e)),A.on(this._element,"mouseleave.bs.carousel",e=>this.cycle(e))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const e=e=>{!this._pointerEvent||"pen"!==e.pointerType&&"touch"!==e.pointerType?this._pointerEvent||(this.touchStartX=e.touches[0].clientX):this.touchStartX=e.clientX},t=e=>{this.touchDeltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this.touchStartX},i=e=>{!this._pointerEvent||"pen"!==e.pointerType&&"touch"!==e.pointerType||(this.touchDeltaX=e.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(e=>this.cycle(e),500+this._config.interval))};H.find(".carousel-item img",this._element).forEach(e=>{A.on(e,"dragstart.bs.carousel",e=>e.preventDefault())}),this._pointerEvent?(A.on(this._element,"pointerdown.bs.carousel",t=>e(t)),A.on(this._element,"pointerup.bs.carousel",e=>i(e)),this._element.classList.add("pointer-event")):(A.on(this._element,"touchstart.bs.carousel",t=>e(t)),A.on(this._element,"touchmove.bs.carousel",e=>t(e)),A.on(this._element,"touchend.bs.carousel",e=>i(e)))}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=K[e.key];t&&(e.preventDefault(),this._slide(t))}_getItemIndex(e){return this._items=e&&e.parentNode?H.find(".carousel-item",e.parentNode):[],this._items.indexOf(e)}_getItemByOrder(e,t){const i=e===V;return y(this._items,t,i,this._config.wrap)}_triggerSlideEvent(e,t){const i=this._getItemIndex(e),n=this._getItemIndex(H.findOne(".active.carousel-item",this._element));return A.trigger(this._element,"slide.bs.carousel",{relatedTarget:e,direction:t,from:n,to:i})}_setActiveIndicatorElement(e){if(this._indicatorsElement){const t=H.findOne(".active",this._indicatorsElement);t.classList.remove("active"),t.removeAttribute("aria-current");const i=H.find("[data-bs-target]",this._indicatorsElement);for(let t=0;t{A.trigger(this._element,"slid.bs.carousel",{relatedTarget:s,direction:h,from:a,to:r})};if(this._element.classList.contains("slide")){s.classList.add(d),u(s),n.classList.add(c),s.classList.add(c);const e=()=>{s.classList.remove(c,d),s.classList.add("active"),n.classList.remove("active",d,c),this._isSliding=!1,setTimeout(p,0)};this._queueCallback(e,n,!0)}else n.classList.remove("active"),s.classList.add("active"),this._isSliding=!1,p();o&&this.cycle()}_directionToOrder(e){return[X,G].includes(e)?f()?e===G?U:V:e===G?V:U:e}_orderToDirection(e){return[V,U].includes(e)?f()?e===U?G:X:e===U?X:G:e}static carouselInterface(e,t){const i=Z.getOrCreateInstance(e,t);let{_config:n}=i;"object"==typeof t&&(n={...n,...t});const a="string"==typeof t?t:n.slide;if("number"==typeof t)i.to(t);else if("string"==typeof a){if(void 0===i[a])throw new TypeError(`No method named "${a}"`);i[a]()}else n.interval&&n.ride&&(i.pause(),i.cycle())}static jQueryInterface(e){return this.each(function(){Z.carouselInterface(this,e)})}static dataApiClickHandler(e){const t=i(this);if(!t||!t.classList.contains("carousel"))return;const n={...F.getDataAttributes(t),...F.getDataAttributes(this)},a=this.getAttribute("data-bs-slide-to");a&&(n.interval=!1),Z.carouselInterface(t,n),a&&Z.getInstance(t).to(a),e.preventDefault()}}A.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",Z.dataApiClickHandler),A.on(window,"load.bs.carousel.data-api",()=>{const e=H.find('[data-bs-ride="carousel"]');for(let t=0,i=e.length;te===this._element);null!==a&&s.length&&(this._selector=a,this._triggerArray.push(i))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return J}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e,t=[];if(this._config.parent){const e=H.find(".collapse .collapse",this._config.parent);t=H.find(".show, .collapsing",this._config.parent).filter(t=>!e.includes(t))}const i=H.findOne(this._selector);if(t.length){const n=t.find(e=>i!==e);if((e=n?te.getInstance(n):null)&&e._isTransitioning)return}if(A.trigger(this._element,"show.bs.collapse").defaultPrevented)return;t.forEach(t=>{i!==t&&te.getOrCreateInstance(t,{toggle:!1}).hide(),e||Y.set(t,"bs.collapse",null)});const n=this._getDimension();this._element.classList.remove("collapse"),this._element.classList.add("collapsing"),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const a="scroll"+(n[0].toUpperCase()+n.slice(1));this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove("collapsing"),this._element.classList.add("collapse","show"),this._element.style[n]="",A.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[n]=this._element[a]+"px"}hide(){if(this._isTransitioning||!this._isShown())return;if(A.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const e=this._getDimension();this._element.style[e]=this._element.getBoundingClientRect()[e]+"px",u(this._element),this._element.classList.add("collapsing"),this._element.classList.remove("collapse","show");const t=this._triggerArray.length;for(let e=0;e{this._isTransitioning=!1,this._element.classList.remove("collapsing"),this._element.classList.add("collapse"),A.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}_isShown(e=this._element){return e.classList.contains("show")}_getConfig(e){return(e={...J,...F.getDataAttributes(this._element),...e}).toggle=Boolean(e.toggle),e.parent=s(e.parent),r("collapse",e,ee),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=H.find(".collapse .collapse",this._config.parent);H.find('[data-bs-toggle="collapse"]',this._config.parent).filter(t=>!e.includes(t)).forEach(e=>{const t=i(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))})}_addAriaAndCollapsedClass(e,t){e.length&&e.forEach(e=>{t?e.classList.remove("collapsed"):e.classList.add("collapsed"),e.setAttribute("aria-expanded",t)})}static jQueryInterface(e){return this.each(function(){const t={};"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1);const i=te.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e]()}})}}A.on(document,"click.bs.collapse.data-api",'[data-bs-toggle="collapse"]',function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();const i=t(this);H.find(i).forEach(e=>{te.getOrCreateInstance(e,{toggle:!1}).toggle()})}),m(te);var ie="top",ne="bottom",ae="right",se="left",re=[ie,ne,ae,se],oe=re.reduce(function(e,t){return e.concat([t+"-start",t+"-end"])},[]),le=[].concat(re,["auto"]).reduce(function(e,t){return e.concat([t,t+"-start",t+"-end"])},[]),ce=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function de(e){return e?(e.nodeName||"").toLowerCase():null}function ue(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function he(e){return e instanceof ue(e).Element||e instanceof Element}function pe(e){return e instanceof ue(e).HTMLElement||e instanceof HTMLElement}function fe(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ue(e).ShadowRoot||e instanceof ShadowRoot)}var me={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var i=t.styles[e]||{},n=t.attributes[e]||{},a=t.elements[e];pe(a)&&de(a)&&(Object.assign(a.style,i),Object.keys(n).forEach(function(e){var t=n[e];!1===t?a.removeAttribute(e):a.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,i={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,i.popper),t.styles=i,t.elements.arrow&&Object.assign(t.elements.arrow.style,i.arrow),function(){Object.keys(t.elements).forEach(function(e){var n=t.elements[e],a=t.attributes[e]||{},s=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:i[e]).reduce(function(e,t){return e[t]="",e},{});pe(n)&&de(n)&&(Object.assign(n.style,s),Object.keys(a).forEach(function(e){n.removeAttribute(e)}))})}},requires:["computeStyles"]};function ge(e){return e.split("-")[0]}var ve=Math.round;function ye(e,t){void 0===t&&(t=!1);var i=e.getBoundingClientRect(),n=1,a=1;return pe(e)&&t&&(n=i.width/e.offsetWidth||1,a=i.height/e.offsetHeight||1),{width:ve(i.width/n),height:ve(i.height/a),top:ve(i.top/a),right:ve(i.right/n),bottom:ve(i.bottom/a),left:ve(i.left/n),x:ve(i.left/n),y:ve(i.top/a)}}function be(e){var t=ye(e),i=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:n}}function we(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&fe(i)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function _e(e){return ue(e).getComputedStyle(e)}function Te(e){return["table","td","th"].indexOf(de(e))>=0}function xe(e){return((he(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ce(e){return"html"===de(e)?e:e.assignedSlot||e.parentNode||(fe(e)?e.host:null)||xe(e)}function Se(e){return pe(e)&&"fixed"!==_e(e).position?e.offsetParent:null}function Ee(e){for(var t=ue(e),i=Se(e);i&&Te(i)&&"static"===_e(i).position;)i=Se(i);return i&&("html"===de(i)||"body"===de(i)&&"static"===_e(i).position)?t:i||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&pe(e)&&"fixed"===_e(e).position)return null;for(var i=Ce(e);pe(i)&&["html","body"].indexOf(de(i))<0;){var n=_e(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(e)||t}function Pe(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var ke=Math.max,Me=Math.min,Ie=Math.round;function Oe(e,t,i){return ke(e,Me(t,i))}function Le(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function je(e,t){return t.reduce(function(t,i){return t[i]=e,t},{})}var Ae={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,i=e.state,n=e.name,a=e.options,s=i.elements.arrow,r=i.modifiersData.popperOffsets,o=ge(i.placement),l=Pe(o),c=[se,ae].indexOf(o)>=0?"height":"width";if(s&&r){var d=function(e,t){return Le("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:je(e,re))}(a.padding,i),u=be(s),h="y"===l?ie:se,p="y"===l?ne:ae,f=i.rects.reference[c]+i.rects.reference[l]-r[l]-i.rects.popper[c],m=r[l]-i.rects.reference[l],g=Ee(s),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,y=f/2-m/2,b=d[h],w=v-u[c]-d[p],_=v/2-u[c]/2+y,T=Oe(b,_,w),x=l;i.modifiersData[n]=((t={})[x]=T,t.centerOffset=T-_,t)}},effect:function(e){var t=e.state,i=e.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&we(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},ze={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ye(e){var t,i=e.popper,n=e.popperRect,a=e.placement,s=e.offsets,r=e.position,o=e.gpuAcceleration,l=e.adaptive,c=e.roundOffsets,d=!0===c?function(e){var t=e.x,i=e.y,n=window.devicePixelRatio||1;return{x:Ie(Ie(t*n)/n)||0,y:Ie(Ie(i*n)/n)||0}}(s):"function"==typeof c?c(s):s,u=d.x,h=void 0===u?0:u,p=d.y,f=void 0===p?0:p,m=s.hasOwnProperty("x"),g=s.hasOwnProperty("y"),v=se,y=ie,b=window;if(l){var w=Ee(i),_="clientHeight",T="clientWidth";w===ue(i)&&"static"!==_e(w=xe(i)).position&&(_="scrollHeight",T="scrollWidth"),w=w,a===ie&&(y=ne,f-=w[_]-n.height,f*=o?1:-1),a===se&&(v=ae,h-=w[T]-n.width,h*=o?1:-1)}var x,C=Object.assign({position:r},l&&ze);return o?Object.assign({},C,((x={})[y]=g?"0":"",x[v]=m?"0":"",x.transform=(b.devicePixelRatio||1)<2?"translate("+h+"px, "+f+"px)":"translate3d("+h+"px, "+f+"px, 0)",x)):Object.assign({},C,((t={})[y]=g?f+"px":"",t[v]=m?h+"px":"",t.transform="",t))}var De={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,i=e.options,n=i.gpuAcceleration,a=void 0===n||n,s=i.adaptive,r=void 0===s||s,o=i.roundOffsets,l=void 0===o||o,c={placement:ge(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Ye(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:r,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ye(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Ne={passive:!0},$e={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,i=e.instance,n=e.options,a=n.scroll,s=void 0===a||a,r=n.resize,o=void 0===r||r,l=ue(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&c.forEach(function(e){e.addEventListener("scroll",i.update,Ne)}),o&&l.addEventListener("resize",i.update,Ne),function(){s&&c.forEach(function(e){e.removeEventListener("scroll",i.update,Ne)}),o&&l.removeEventListener("resize",i.update,Ne)}},data:{}},Be={left:"right",right:"left",bottom:"top",top:"bottom"};function Qe(e){return e.replace(/left|right|bottom|top/g,function(e){return Be[e]})}var Re={start:"end",end:"start"};function Fe(e){return e.replace(/start|end/g,function(e){return Re[e]})}function He(e){var t=ue(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function We(e){return ye(xe(e)).left+He(e).scrollLeft}function qe(e){var t=_e(e),i=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+a+n)}function Ve(e,t){var i;void 0===t&&(t=[]);var n=function e(t){return["html","body","#document"].indexOf(de(t))>=0?t.ownerDocument.body:pe(t)&&qe(t)?t:e(Ce(t))}(e),a=n===(null==(i=e.ownerDocument)?void 0:i.body),s=ue(n),r=a?[s].concat(s.visualViewport||[],qe(n)?n:[]):n,o=t.concat(r);return a?o:o.concat(Ve(Ce(r)))}function Ue(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ge(e,t){return"viewport"===t?Ue(function(e){var t=ue(e),i=xe(e),n=t.visualViewport,a=i.clientWidth,s=i.clientHeight,r=0,o=0;return n&&(a=n.width,s=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(r=n.offsetLeft,o=n.offsetTop)),{width:a,height:s,x:r+We(e),y:o}}(e)):pe(t)?function(e){var t=ye(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Ue(function(e){var t,i=xe(e),n=He(e),a=null==(t=e.ownerDocument)?void 0:t.body,s=ke(i.scrollWidth,i.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),r=ke(i.scrollHeight,i.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),o=-n.scrollLeft+We(e),l=-n.scrollTop;return"rtl"===_e(a||i).direction&&(o+=ke(i.clientWidth,a?a.clientWidth:0)-s),{width:s,height:r,x:o,y:l}}(xe(e)))}function Xe(e){return e.split("-")[1]}function Ke(e){var t,i=e.reference,n=e.element,a=e.placement,s=a?ge(a):null,r=a?Xe(a):null,o=i.x+i.width/2-n.width/2,l=i.y+i.height/2-n.height/2;switch(s){case ie:t={x:o,y:i.y-n.height};break;case ne:t={x:o,y:i.y+i.height};break;case ae:t={x:i.x+i.width,y:l};break;case se:t={x:i.x-n.width,y:l};break;default:t={x:i.x,y:i.y}}var c=s?Pe(s):null;if(null!=c){var d="y"===c?"height":"width";switch(r){case"start":t[c]=t[c]-(i[d]/2-n[d]/2);break;case"end":t[c]=t[c]+(i[d]/2-n[d]/2)}}return t}function Ze(e,t){void 0===t&&(t={});var i=t,n=i.placement,a=void 0===n?e.placement:n,s=i.boundary,r=void 0===s?"clippingParents":s,o=i.rootBoundary,l=void 0===o?"viewport":o,c=i.elementContext,d=void 0===c?"popper":c,u=i.altBoundary,h=void 0!==u&&u,p=i.padding,f=void 0===p?0:p,m=Le("number"!=typeof f?f:je(f,re)),g="popper"===d?"reference":"popper",v=e.elements.reference,y=e.rects.popper,b=e.elements[h?g:d],w=function(e,t,i){var n="clippingParents"===t?function(e){var t=Ve(Ce(e)),i=["absolute","fixed"].indexOf(_e(e).position)>=0&&pe(e)?Ee(e):e;return he(i)?t.filter(function(e){return he(e)&&we(e,i)&&"body"!==de(e)}):[]}(e):[].concat(t),a=[].concat(n,[i]),s=a[0],r=a.reduce(function(t,i){var n=Ge(e,i);return t.top=ke(n.top,t.top),t.right=Me(n.right,t.right),t.bottom=Me(n.bottom,t.bottom),t.left=ke(n.left,t.left),t},Ge(e,s));return r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}(he(b)?b:b.contextElement||xe(e.elements.popper),r,l),_=ye(v),T=Ke({reference:_,element:y,strategy:"absolute",placement:a}),x=Ue(Object.assign({},y,T)),C="popper"===d?x:_,S={top:w.top-C.top+m.top,bottom:C.bottom-w.bottom+m.bottom,left:w.left-C.left+m.left,right:C.right-w.right+m.right},E=e.modifiersData.offset;if("popper"===d&&E){var P=E[a];Object.keys(S).forEach(function(e){var t=[ae,ne].indexOf(e)>=0?1:-1,i=[ie,ne].indexOf(e)>=0?"y":"x";S[e]+=P[i]*t})}return S}var Je={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=i.mainAxis,s=void 0===a||a,r=i.altAxis,o=void 0===r||r,l=i.fallbackPlacements,c=i.padding,d=i.boundary,u=i.rootBoundary,h=i.altBoundary,p=i.flipVariations,f=void 0===p||p,m=i.allowedAutoPlacements,g=t.options.placement,v=ge(g),y=l||(v!==g&&f?function(e){if("auto"===ge(e))return[];var t=Qe(e);return[Fe(e),t,Fe(t)]}(g):[Qe(g)]),b=[g].concat(y).reduce(function(e,i){return e.concat("auto"===ge(i)?function(e,t){void 0===t&&(t={});var i=t,n=i.placement,a=i.boundary,s=i.rootBoundary,r=i.padding,o=i.flipVariations,l=i.allowedAutoPlacements,c=void 0===l?le:l,d=Xe(n),u=d?o?oe:oe.filter(function(e){return Xe(e)===d}):re,h=u.filter(function(e){return c.indexOf(e)>=0});0===h.length&&(h=u);var p=h.reduce(function(t,i){return t[i]=Ze(e,{placement:i,boundary:a,rootBoundary:s,padding:r})[ge(i)],t},{});return Object.keys(p).sort(function(e,t){return p[e]-p[t]})}(t,{placement:i,boundary:d,rootBoundary:u,padding:c,flipVariations:f,allowedAutoPlacements:m}):i)},[]),w=t.rects.reference,_=t.rects.popper,T=new Map,x=!0,C=b[0],S=0;S=0,I=M?"width":"height",O=Ze(t,{placement:E,boundary:d,rootBoundary:u,altBoundary:h,padding:c}),L=M?k?ae:se:k?ne:ie;w[I]>_[I]&&(L=Qe(L));var j=Qe(L),A=[];if(s&&A.push(O[P]<=0),o&&A.push(O[L]<=0,O[j]<=0),A.every(function(e){return e})){C=E,x=!1;break}T.set(E,A)}if(x)for(var z=function(e){var t=b.find(function(t){var i=T.get(t);if(i)return i.slice(0,e).every(function(e){return e})});if(t)return C=t,"break"},Y=f?3:1;Y>0&&"break"!==z(Y);Y--);t.placement!==C&&(t.modifiersData[n]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function et(e,t,i){return void 0===i&&(i={x:0,y:0}),{top:e.top-t.height-i.y,right:e.right-t.width+i.x,bottom:e.bottom-t.height+i.y,left:e.left-t.width-i.x}}function tt(e){return[ie,ae,ne,se].some(function(t){return e[t]>=0})}var it={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,i=e.name,n=t.rects.reference,a=t.rects.popper,s=t.modifiersData.preventOverflow,r=Ze(t,{elementContext:"reference"}),o=Ze(t,{altBoundary:!0}),l=et(r,n),c=et(o,a,s),d=tt(l),u=tt(c);t.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}},nt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,i=e.options,n=e.name,a=i.offset,s=void 0===a?[0,0]:a,r=le.reduce(function(e,i){return e[i]=function(e,t,i){var n=ge(e),a=[se,ie].indexOf(n)>=0?-1:1,s="function"==typeof i?i(Object.assign({},t,{placement:e})):i,r=s[0],o=s[1];return r=r||0,o=(o||0)*a,[se,ae].indexOf(n)>=0?{x:o,y:r}:{x:r,y:o}}(i,t.rects,s),e},{}),o=r[t.placement],l=o.x,c=o.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=r}},at={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,i=e.name;t.modifiersData[i]=Ke({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},st={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,n=e.name,a=i.mainAxis,s=void 0===a||a,r=i.altAxis,o=void 0!==r&&r,l=i.boundary,c=i.rootBoundary,d=i.altBoundary,u=i.padding,h=i.tether,p=void 0===h||h,f=i.tetherOffset,m=void 0===f?0:f,g=Ze(t,{boundary:l,rootBoundary:c,padding:u,altBoundary:d}),v=ge(t.placement),y=Xe(t.placement),b=!y,w=Pe(v),_="x"===w?"y":"x",T=t.modifiersData.popperOffsets,x=t.rects.reference,C=t.rects.popper,S="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,E={x:0,y:0};if(T){if(s||o){var P="y"===w?ie:se,k="y"===w?ne:ae,M="y"===w?"height":"width",I=T[w],O=T[w]+g[P],L=T[w]-g[k],j=p?-C[M]/2:0,A="start"===y?x[M]:C[M],z="start"===y?-C[M]:-x[M],Y=t.elements.arrow,D=p&&Y?be(Y):{width:0,height:0},N=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},$=N[P],B=N[k],Q=Oe(0,x[M],D[M]),R=b?x[M]/2-j-Q-$-S:A-Q-$-S,F=b?-x[M]/2+j+Q+B+S:z+Q+B+S,H=t.elements.arrow&&Ee(t.elements.arrow),W=H?"y"===w?H.clientTop||0:H.clientLeft||0:0,q=t.modifiersData.offset?t.modifiersData.offset[t.placement][w]:0,V=T[w]+R-q-W,U=T[w]+F-q;if(s){var G=Oe(p?Me(O,V):O,I,p?ke(L,U):L);T[w]=G,E[w]=G-I}if(o){var X="x"===w?ie:se,K="x"===w?ne:ae,Z=T[_],J=Z+g[X],ee=Z-g[K],te=Oe(p?Me(J,V):J,Z,p?ke(ee,U):ee);T[_]=te,E[_]=te-Z}}t.modifiersData[n]=E}},requiresIfExists:["offset"]};function rt(e,t,i){void 0===i&&(i=!1);var n,a,s=pe(t),r=pe(t)&&function(e){var t=e.getBoundingClientRect(),i=t.width/e.offsetWidth||1,n=t.height/e.offsetHeight||1;return 1!==i||1!==n}(t),o=xe(t),l=ye(e,r),c={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(s||!s&&!i)&&(("body"!==de(t)||qe(o))&&(c=(n=t)!==ue(n)&&pe(n)?{scrollLeft:(a=n).scrollLeft,scrollTop:a.scrollTop}:He(n)),pe(t)?((d=ye(t,!0)).x+=t.clientLeft,d.y+=t.clientTop):o&&(d.x=We(o))),{x:l.left+c.scrollLeft-d.x,y:l.top+c.scrollTop-d.y,width:l.width,height:l.height}}var ot={placement:"bottom",modifiers:[],strategy:"absolute"};function lt(){for(var e=arguments.length,t=new Array(e),i=0;iA.on(e,"mouseover",d)),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add("show"),this._element.classList.add("show"),A.trigger(this._element,"shown.bs.dropdown",e)}hide(){if(l(this._element)||!this._isShown(this._menu))return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){A.trigger(this._element,"hide.bs.dropdown",e).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(e=>A.off(e,"mouseover",d)),this._popper&&this._popper.destroy(),this._menu.classList.remove("show"),this._element.classList.remove("show"),this._element.setAttribute("aria-expanded","false"),F.removeDataAttribute(this._menu,"popper"),A.trigger(this._element,"hidden.bs.dropdown",e))}_getConfig(e){if(e={...this.constructor.Default,...F.getDataAttributes(this._element),...e},r("dropdown",e,this.constructor.DefaultType),"object"==typeof e.reference&&!a(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError("dropdown".toUpperCase()+': Option "reference" provided type "object" without a required "getBoundingClientRect" method.');return e}_createPopper(e){if(void 0===pt)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=e:a(this._config.reference)?t=s(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const i=this._getPopperConfig(),n=i.modifiers.find(e=>"applyStyles"===e.name&&!1===e.enabled);this._popper=ht(t,this._menu,i),n&&F.setDataAttribute(this._menu,"popper","static")}_isShown(e=this._element){return e.classList.contains("show")}_getMenuElement(){return H.next(this._element,".dropdown-menu")[0]}_getPlacement(){const e=this._element.parentNode;if(e.classList.contains("dropend"))return bt;if(e.classList.contains("dropstart"))return wt;const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?gt:mt:t?yt:vt}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:e,target:t}){const i=H.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(o);i.length&&y(i,t,"ArrowDown"===e,!i.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=xt.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(e){if(e&&(2===e.button||"keyup"===e.type&&"Tab"!==e.key))return;const t=H.find('[data-bs-toggle="dropdown"]');for(let i=0,n=t.length;it+e),this._setElementAttributes(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top","paddingRight",t=>t+e),this._setElementAttributes(".sticky-top","marginRight",t=>t-e)}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,i){const n=this.getWidth();this._applyManipulationCallback(e,e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+n)return;this._saveInitialAttribute(e,t);const a=window.getComputedStyle(e)[t];e.style[t]=i(Number.parseFloat(a))+"px"})}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top","paddingRight"),this._resetElementAttributes(".sticky-top","marginRight")}_saveInitialAttribute(e,t){const i=e.style[t];i&&F.setDataAttribute(e,t,i)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,e=>{const i=F.getDataAttribute(e,t);void 0===i?e.style.removeProperty(t):(F.removeDataAttribute(e,t),e.style[t]=i)})}_applyManipulationCallback(e,t){a(e)?t(e):H.find(e,this._element).forEach(t)}isOverflowing(){return this.getWidth()>0}}const St={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},Et={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"};class Pt{constructor(e){this._config=this._getConfig(e),this._isAppended=!1,this._element=null}show(e){this._config.isVisible?(this._append(),this._config.isAnimated&&u(this._getElement()),this._getElement().classList.add("show"),this._emulateAnimation(()=>{g(e)})):g(e)}hide(e){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),g(e)})):g(e)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_getConfig(e){return(e={...St,..."object"==typeof e?e:{}}).rootElement=s(e.rootElement),r("backdrop",e,Et),e}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),A.on(this._getElement(),"mousedown.bs.backdrop",()=>{g(this._config.clickCallback)}),this._isAppended=!0)}dispose(){this._isAppended&&(A.off(this._element,"mousedown.bs.backdrop"),this._element.remove(),this._isAppended=!1)}_emulateAnimation(e){v(e,this._getElement(),this._config.isAnimated)}}const kt={trapElement:null,autofocus:!0},Mt={trapElement:"element",autofocus:"boolean"};class It{constructor(e){this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}activate(){const{trapElement:e,autofocus:t}=this._config;this._isActive||(t&&e.focus(),A.off(document,".bs.focustrap"),A.on(document,"focusin.bs.focustrap",e=>this._handleFocusin(e)),A.on(document,"keydown.tab.bs.focustrap",e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,A.off(document,".bs.focustrap"))}_handleFocusin(e){const{target:t}=e,{trapElement:i}=this._config;if(t===document||t===i||i.contains(t))return;const n=H.focusableChildren(i);0===n.length?i.focus():"backward"===this._lastTabNavDirection?n[n.length-1].focus():n[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?"backward":"forward")}_getConfig(e){return e={...kt,..."object"==typeof e?e:{}},r("focustrap",e,Mt),e}}const Ot={backdrop:!0,keyboard:!0,focus:!0},Lt={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"};class jt extends D{constructor(e,t){super(e),this._config=this._getConfig(t),this._dialog=H.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollBar=new Ct}static get Default(){return Ot}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||A.trigger(this._element,"show.bs.modal",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add("modal-open"),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),A.on(this._dialog,"mousedown.dismiss.bs.modal",()=>{A.one(this._element,"mouseup.dismiss.bs.modal",e=>{e.target===this._element&&(this._ignoreBackdropClick=!0)})}),this._showBackdrop(()=>this._showElement(e)))}hide(){if(!this._isShown||this._isTransitioning)return;if(A.trigger(this._element,"hide.bs.modal").defaultPrevented)return;this._isShown=!1;const e=this._isAnimated();e&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),this._focustrap.deactivate(),this._element.classList.remove("show"),A.off(this._element,"click.dismiss.bs.modal"),A.off(this._dialog,"mousedown.dismiss.bs.modal"),this._queueCallback(()=>this._hideModal(),this._element,e)}dispose(){[window,this._dialog].forEach(e=>A.off(e,".bs.modal")),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Pt({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new It({trapElement:this._element})}_getConfig(e){return e={...Ot,...F.getDataAttributes(this._element),..."object"==typeof e?e:{}},r("modal",e,Lt),e}_showElement(e){const t=this._isAnimated(),i=H.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0,i&&(i.scrollTop=0),t&&u(this._element),this._element.classList.add("show"),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,A.trigger(this._element,"shown.bs.modal",{relatedTarget:e})},this._dialog,t)}_setEscapeEvent(){this._isShown?A.on(this._element,"keydown.dismiss.bs.modal",e=>{this._config.keyboard&&"Escape"===e.key?(e.preventDefault(),this.hide()):this._config.keyboard||"Escape"!==e.key||this._triggerBackdropTransition()}):A.off(this._element,"keydown.dismiss.bs.modal")}_setResizeEvent(){this._isShown?A.on(window,"resize.bs.modal",()=>this._adjustDialog()):A.off(window,"resize.bs.modal")}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove("modal-open"),this._resetAdjustments(),this._scrollBar.reset(),A.trigger(this._element,"hidden.bs.modal")})}_showBackdrop(e){A.on(this._element,"click.dismiss.bs.modal",e=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:e.target===e.currentTarget&&(!0===this._config.backdrop?this.hide():"static"===this._config.backdrop&&this._triggerBackdropTransition())}),this._backdrop.show(e)}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(A.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const{classList:e,scrollHeight:t,style:i}=this._element,n=t>document.documentElement.clientHeight;!n&&"hidden"===i.overflowY||e.contains("modal-static")||(n||(i.overflowY="hidden"),e.add("modal-static"),this._queueCallback(()=>{e.remove("modal-static"),n||this._queueCallback(()=>{i.overflowY=""},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),i=t>0;(!i&&e&&!f()||i&&!e&&f())&&(this._element.style.paddingLeft=t+"px"),(i&&!e&&!f()||!i&&e&&f())&&(this._element.style.paddingRight=t+"px")}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const i=jt.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e](t)}})}}A.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(e){const t=i(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),A.one(t,"show.bs.modal",e=>{e.defaultPrevented||A.one(t,"hidden.bs.modal",()=>{o(this)&&this.focus()})}),jt.getOrCreateInstance(t).toggle(this)}),N(jt),m(jt);const At={backdrop:!0,keyboard:!0,scroll:!1},zt={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"};class Yt extends D{constructor(e,t){super(e),this._config=this._getConfig(t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get NAME(){return"offcanvas"}static get Default(){return At}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||A.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(new Ct).hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add("show"),this._queueCallback(()=>{this._config.scroll||this._focustrap.activate(),A.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})},this._element,!0))}hide(){this._isShown&&(A.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove("show"),this._backdrop.hide(),this._queueCallback(()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||(new Ct).reset(),A.trigger(this._element,"hidden.bs.offcanvas")},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(e){return e={...At,...F.getDataAttributes(this._element),..."object"==typeof e?e:{}},r("offcanvas",e,zt),e}_initializeBackDrop(){return new Pt({className:"offcanvas-backdrop",isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new It({trapElement:this._element})}_addEventListeners(){A.on(this._element,"keydown.dismiss.bs.offcanvas",e=>{this._config.keyboard&&"Escape"===e.key&&this.hide()})}static jQueryInterface(e){return this.each(function(){const t=Yt.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}A.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(e){const t=i(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),l(this))return;A.one(t,"hidden.bs.offcanvas",()=>{o(this)&&this.focus()});const n=H.findOne(".offcanvas.show");n&&n!==t&&Yt.getInstance(n).hide(),Yt.getOrCreateInstance(t).toggle(this)}),A.on(window,"load.bs.offcanvas.data-api",()=>H.find(".offcanvas.show").forEach(e=>Yt.getOrCreateInstance(e).show())),N(Yt),m(Yt);const Dt=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Nt=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&\/:?]*(?:[#\/?]|$))/i,$t=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+\/a-z]+=*$/i,Bt=(e,t)=>{const i=e.nodeName.toLowerCase();if(t.includes(i))return!Dt.has(i)||Boolean(Nt.test(e.nodeValue)||$t.test(e.nodeValue));const n=t.filter(e=>e instanceof RegExp);for(let e=0,t=n.length;e{Bt(e,o)||i.removeAttribute(e.nodeName)})}return n.body.innerHTML}const Rt=new Set(["sanitize","allowList","sanitizeFn"]),Ft={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},Ht={AUTO:"auto",TOP:"top",RIGHT:f()?"left":"right",BOTTOM:"bottom",LEFT:f()?"right":"left"},Wt={animation:!0,template:'',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:{"*":["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","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},qt={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"};class Vt extends D{constructor(e,t){if(void 0===pt)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(t),this.tip=null,this._setListeners()}static get Default(){return Wt}static get NAME(){return"tooltip"}static get Event(){return qt}static get DefaultType(){return Ft}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(e){if(this._isEnabled)if(e){const t=this._initializeOnDelegatedTarget(e);t._activeTrigger.click=!t._activeTrigger.click,t._isWithActiveTrigger()?t._enter(null,t):t._leave(null,t)}else{if(this.getTipElement().classList.contains("show"))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),A.off(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler),this.tip&&this.tip.remove(),this._popper&&this._popper.destroy(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this.isWithContent()||!this._isEnabled)return;const e=A.trigger(this._element,this.constructor.Event.SHOW),t=c(this._element),i=null===t?this._element.ownerDocument.documentElement.contains(this._element):t.contains(this._element);if(e.defaultPrevented||!i)return;const n=this.getTipElement(),a=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME);n.setAttribute("id",a),this._element.setAttribute("aria-describedby",a),this._config.animation&&n.classList.add("fade");const s="function"==typeof this._config.placement?this._config.placement.call(this,n,this._element):this._config.placement,r=this._getAttachment(s);this._addAttachmentClass(r);const{container:o}=this._config;Y.set(n,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(o.append(n),A.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=ht(this._element,n,this._getPopperConfig(r)),n.classList.add("show");const l=this._resolvePossibleFunction(this._config.customClass);l&&n.classList.add(...l.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(e=>{A.on(e,"mouseover",d)});const u=this.tip.classList.contains("fade");this._queueCallback(()=>{const e=this._hoverState;this._hoverState=null,A.trigger(this._element,this.constructor.Event.SHOWN),"out"===e&&this._leave(null,this)},this.tip,u)}hide(){if(!this._popper)return;const e=this.getTipElement();if(A.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;e.classList.remove("show"),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(e=>A.off(e,"mouseover",d)),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1;const t=this.tip.classList.contains("fade");this._queueCallback(()=>{this._isWithActiveTrigger()||("show"!==this._hoverState&&e.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),A.trigger(this._element,this.constructor.Event.HIDDEN),this._popper&&(this._popper.destroy(),this._popper=null))},this.tip,t),this._hoverState=""}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const e=document.createElement("div");e.innerHTML=this._config.template;const t=e.children[0];return this.setContent(t),t.classList.remove("fade","show"),this.tip=t,this.tip}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),".tooltip-inner")}_sanitizeAndSetContent(e,t,i){const n=H.findOne(i,e);t||!n?this.setElementContent(n,t):n.remove()}setElementContent(e,t){if(null!==e)return a(t)?(t=s(t),void(this._config.html?t.parentNode!==e&&(e.innerHTML="",e.append(t)):e.textContent=t.textContent)):void(this._config.html?(this._config.sanitize&&(t=Qt(t,this._config.allowList,this._config.sanitizeFn)),e.innerHTML=t):e.textContent=t)}getTitle(){const e=this._element.getAttribute("data-bs-original-title")||this._config.title;return this._resolvePossibleFunction(e)}updateAttachment(e){return"right"===e?"end":"left"===e?"start":e}_initializeOnDelegatedTarget(e,t){return t||this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return"function"==typeof e?e.call(this._element):e}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"onChange",enabled:!0,phase:"afterWrite",fn:e=>this._handlePopperPlacementChange(e)}],onFirstUpdate:e=>{e.options.placement!==e.placement&&this._handlePopperPlacementChange(e)}};return{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_addAttachmentClass(e){this.getTipElement().classList.add(`${this._getBasicClassPrefix()}-${this.updateAttachment(e)}`)}_getAttachment(e){return Ht[e.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach(e=>{if("click"===e)A.on(this._element,this.constructor.Event.CLICK,this._config.selector,e=>this.toggle(e));else if("manual"!==e){const t="hover"===e?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,i="hover"===e?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;A.on(this._element,t,this._config.selector,e=>this._enter(e)),A.on(this._element,i,this._config.selector,e=>this._leave(e))}}),this._hideModalHandler=(()=>{this._element&&this.hide()}),A.on(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const e=this._element.getAttribute("title"),t=typeof this._element.getAttribute("data-bs-original-title");(e||"string"!==t)&&(this._element.setAttribute("data-bs-original-title",e||""),!e||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",e),this._element.setAttribute("title",""))}_enter(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusin"===e.type?"focus":"hover"]=!0),t.getTipElement().classList.contains("show")||"show"===t._hoverState?t._hoverState="show":(clearTimeout(t._timeout),t._hoverState="show",t._config.delay&&t._config.delay.show?t._timeout=setTimeout(()=>{"show"===t._hoverState&&t.show()},t._config.delay.show):t.show())}_leave(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusout"===e.type?"focus":"hover"]=t._element.contains(e.relatedTarget)),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState="out",t._config.delay&&t._config.delay.hide?t._timeout=setTimeout(()=>{"out"===t._hoverState&&t.hide()},t._config.delay.hide):t.hide())}_isWithActiveTrigger(){for(const e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1}_getConfig(e){const t=F.getDataAttributes(this._element);return Object.keys(t).forEach(e=>{Rt.has(e)&&delete t[e]}),(e={...this.constructor.Default,...t,..."object"==typeof e&&e?e:{}}).container=!1===e.container?document.body:s(e.container),"number"==typeof 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()),r("tooltip",e,this.constructor.DefaultType),e.sanitize&&(e.template=Qt(e.template,e.allowList,e.sanitizeFn)),e}_getDelegateConfig(){const e={};for(const t in this._config)this.constructor.Default[t]!==this._config[t]&&(e[t]=this._config[t]);return e}_cleanTipClass(){const e=this.getTipElement(),t=new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`,"g"),i=e.getAttribute("class").match(t);null!==i&&i.length>0&&i.map(e=>e.trim()).forEach(t=>e.classList.remove(t))}_getBasicClassPrefix(){return"bs-tooltip"}_handlePopperPlacementChange(e){const{state:t}=e;t&&(this.tip=t.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(t.placement)))}static jQueryInterface(e){return this.each(function(){const t=Vt.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}m(Vt);const Ut={...Vt.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:''},Gt={...Vt.DefaultType,content:"(string|element|function)"},Xt={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"};class Kt extends Vt{static get Default(){return Ut}static get NAME(){return"popover"}static get Event(){return Xt}static get DefaultType(){return Gt}isWithContent(){return this.getTitle()||this._getContent()}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),".popover-header"),this._sanitizeAndSetContent(e,this._getContent(),".popover-body")}_getContent(){return this._resolvePossibleFunction(this._config.content)}_getBasicClassPrefix(){return"bs-popover"}static jQueryInterface(e){return this.each(function(){const t=Kt.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}m(Kt);const Zt={offset:10,method:"auto",target:""},Jt={offset:"number",method:"string",target:"(string|element)"},ei=".nav-link, .list-group-item, .dropdown-item";class ti extends D{constructor(e,t){super(e),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(t),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,A.on(this._scrollElement,"scroll.bs.scrollspy",()=>this._process()),this.refresh(),this._process()}static get Default(){return Zt}static get NAME(){return"scrollspy"}refresh(){const e=this._scrollElement===this._scrollElement.window?"offset":"position",i="auto"===this._config.method?e:this._config.method,n="position"===i?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),H.find(ei,this._config.target).map(e=>{const a=t(e),s=a?H.findOne(a):null;if(s){const e=s.getBoundingClientRect();if(e.width||e.height)return[F[i](s).top+n,a]}return null}).filter(e=>e).sort((e,t)=>e[0]-t[0]).forEach(e=>{this._offsets.push(e[0]),this._targets.push(e[1])})}dispose(){A.off(this._scrollElement,".bs.scrollspy"),super.dispose()}_getConfig(e){return(e={...Zt,...F.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}}).target=s(e.target)||document.documentElement,r("scrollspy",e,Jt),e}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),i=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=i){const e=this._targets[this._targets.length-1];this._activeTarget!==e&&this._activate(e)}else{if(this._activeTarget&&e0)return this._activeTarget=null,void this._clear();for(let t=this._offsets.length;t--;)this._activeTarget!==this._targets[t]&&e>=this._offsets[t]&&(void 0===this._offsets[t+1]||e`${t}[data-bs-target="${e}"],${t}[href="${e}"]`),i=H.findOne(t.join(","),this._config.target);i.classList.add("active"),i.classList.contains("dropdown-item")?H.findOne(".dropdown-toggle",i.closest(".dropdown")).classList.add("active"):H.parents(i,".nav, .list-group").forEach(e=>{H.prev(e,".nav-link, .list-group-item").forEach(e=>e.classList.add("active")),H.prev(e,".nav-item").forEach(e=>{H.children(e,".nav-link").forEach(e=>e.classList.add("active"))})}),A.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:e})}_clear(){H.find(ei,this._config.target).filter(e=>e.classList.contains("active")).forEach(e=>e.classList.remove("active"))}static jQueryInterface(e){return this.each(function(){const t=ti.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}A.on(window,"load.bs.scrollspy.data-api",()=>{H.find('[data-bs-spy="scroll"]').forEach(e=>new ti(e))}),m(ti);class ii extends D{static get NAME(){return"tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains("active"))return;let e;const t=i(this._element),n=this._element.closest(".nav, .list-group");if(n){const t="UL"===n.nodeName||"OL"===n.nodeName?":scope > li > .active":".active";e=(e=H.find(t,n))[e.length-1]}const a=e?A.trigger(e,"hide.bs.tab",{relatedTarget:this._element}):null;if(A.trigger(this._element,"show.bs.tab",{relatedTarget:e}).defaultPrevented||null!==a&&a.defaultPrevented)return;this._activate(this._element,n);const s=()=>{A.trigger(e,"hidden.bs.tab",{relatedTarget:this._element}),A.trigger(this._element,"shown.bs.tab",{relatedTarget:e})};t?this._activate(t,t.parentNode,s):s()}_activate(e,t,i){const n=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?H.children(t,".active"):H.find(":scope > li > .active",t))[0],a=i&&n&&n.classList.contains("fade"),s=()=>this._transitionComplete(e,n,i);n&&a?(n.classList.remove("show"),this._queueCallback(s,e,!0)):s()}_transitionComplete(e,t,i){if(t){t.classList.remove("active");const e=H.findOne(":scope > .dropdown-menu .active",t.parentNode);e&&e.classList.remove("active"),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}e.classList.add("active"),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),u(e),e.classList.contains("fade")&&e.classList.add("show");let n=e.parentNode;if(n&&"LI"===n.nodeName&&(n=n.parentNode),n&&n.classList.contains("dropdown-menu")){const t=e.closest(".dropdown");t&&H.find(".dropdown-toggle",t).forEach(e=>e.classList.add("active")),e.setAttribute("aria-expanded",!0)}i&&i()}static jQueryInterface(e){return this.each(function(){const t=ii.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}A.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),l(this)||ii.getOrCreateInstance(this).show()}),m(ii);const ni={animation:"boolean",autohide:"boolean",delay:"number"},ai={animation:!0,autohide:!0,delay:5e3};class si extends D{constructor(e,t){super(e),this._config=this._getConfig(t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return ni}static get Default(){return ai}static get NAME(){return"toast"}show(){A.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),u(this._element),this._element.classList.add("show"),this._element.classList.add("showing"),this._queueCallback(()=>{this._element.classList.remove("showing"),A.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this._element.classList.contains("show")&&(A.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add("showing"),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove("showing"),this._element.classList.remove("show"),A.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this._element.classList.contains("show")&&this._element.classList.remove("show"),super.dispose()}_getConfig(e){return e={...ai,...F.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}},r("toast",e,this.constructor.DefaultType),e}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const i=e.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){A.on(this._element,"mouseover.bs.toast",e=>this._onInteraction(e,!0)),A.on(this._element,"mouseout.bs.toast",e=>this._onInteraction(e,!1)),A.on(this._element,"focusin.bs.toast",e=>this._onInteraction(e,!0)),A.on(this._element,"focusout.bs.toast",e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=si.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}})}}return N(si),m(si),{Alert:$,Button:B,Carousel:Z,Collapse:te,Dropdown:xt,Modal:jt,Offcanvas:Yt,Popover:Kt,ScrollSpy:ti,Tab:ii,Toast:si,Tooltip:Vt}}),window.scwAccordionsPlugin=window.scwAccordionsPlugin||{},window.SEMICOLON_accordionsInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e,t=$(this),i=t.attr("data-state"),n=t.attr("data-active")||1,a=t.attr("data-active-class")||"",s=t.attr("data-collapsible")||"false",r=location.hash;n=Number(n)-1,void 0!==r&&""!=r&&(e=t.find(".accordion-header"+r)).length>0&&(n=e.index()/2),t.find(".accordion-content").hide(),"closed"!=i&&t.find(".accordion-header:eq("+Number(n)+")").addClass("accordion-active "+a).next().show(),t.find(".accordion-header").off("click").on("click",function(){if($(this).next().is(":hidden")){t.find(".accordion-header").removeClass("accordion-active "+a).next().slideUp("normal");let e=$(this);$(this).toggleClass("accordion-active "+a,!0).next().stop(!0,!0).slideDown("normal",function(){($("body").hasClass("device-sm")||$("body").hasClass("device-xs"))&&t.hasClass("scroll-on-open")&&$("html,body").stop(!0,!0).animate({scrollTop:e.offset().top-(SEMICOLON.initialize.topScrollOffset()-40)},800,"easeOutQuad")})}else"true"==s&&$(this).toggleClass("accordion-active "+a,!1).next().stop(!0,!0).slideUp("normal");return!1})})},function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=e(require("jquery")):e(jQuery)}(function(e){e.extend(e.fn,{validate:function(t){if(this.length){var i=e.data(this[0],"validator");return i||(this.attr("novalidate","novalidate"),i=new e.validator(t,this[0]),e.data(this[0],"validator",i),i.settings.onsubmit&&(this.on("click.validate",":submit",function(t){i.submitButton=t.currentTarget,e(this).hasClass("cancel")&&(i.cancelSubmit=!0),void 0!==e(this).attr("formnovalidate")&&(i.cancelSubmit=!0)}),this.on("submit.validate",function(t){function n(){var n,a;return i.submitButton&&(i.settings.submitHandler||i.formSubmitted)&&(n=e("").attr("name",i.submitButton.name).val(e(i.submitButton).val()).appendTo(i.currentForm)),!(i.settings.submitHandler&&!i.settings.debug)||(a=i.settings.submitHandler.call(i,i.currentForm,t),n&&n.remove(),void 0!==a&&a)}return i.settings.debug&&t.preventDefault(),i.cancelSubmit?(i.cancelSubmit=!1,n()):i.form()?i.pendingRequest?(i.formSubmitted=!0,!1):n():(i.focusInvalid(),!1)})),i)}t&&t.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing.")},valid:function(){var t,i,n;return e(this[0]).is("form")?t=this.validate().form():(n=[],t=!0,i=e(this[0].form).validate(),this.each(function(){(t=i.element(this)&&t)||(n=n.concat(i.errorList))}),i.errorList=n),t},rules:function(t,i){var n,a,s,r,o,l,c=this[0],d=void 0!==this.attr("contenteditable")&&"false"!==this.attr("contenteditable");if(null!=c&&(!c.form&&d&&(c.form=this.closest("form")[0],c.name=this.attr("name")),null!=c.form)){if(t)switch(n=e.data(c.form,"validator").settings,a=n.rules,s=e.validator.staticRules(c),t){case"add":e.extend(s,e.validator.normalizeRule(i)),delete s.messages,a[c.name]=s,i.messages&&(n.messages[c.name]=e.extend(n.messages[c.name],i.messages));break;case"remove":return i?(l={},e.each(i.split(/\s/),function(e,t){l[t]=s[t],delete s[t]}),l):(delete a[c.name],s)}return(r=e.validator.normalizeRules(e.extend({},e.validator.classRules(c),e.validator.attributeRules(c),e.validator.dataRules(c),e.validator.staticRules(c)),c)).required&&(o=r.required,delete r.required,r=e.extend({required:o},r)),r.remote&&(o=r.remote,delete r.remote,r=e.extend(r,{remote:o})),r}}});var t=function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};e.extend(e.expr.pseudos||e.expr[":"],{blank:function(i){return!t(""+e(i).val())},filled:function(i){var n=e(i).val();return null!==n&&!!t(""+n)},unchecked:function(t){return!e(t).prop("checked")}}),e.validator=function(t,i){this.settings=e.extend(!0,{},e.validator.defaults,t),this.currentForm=i,this.init()},e.validator.format=function(t,i){return 1===arguments.length?function(){var i=e.makeArray(arguments);return i.unshift(t),e.validator.format.apply(this,i)}:void 0===i?t:(arguments.length>2&&i.constructor!==Array&&(i=e.makeArray(arguments).slice(1)),i.constructor!==Array&&(i=[i]),e.each(i,function(e,i){t=t.replace(new RegExp("\\{"+e+"\\}","g"),function(){return i})}),t)},e.extend(e.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",pendingClass:"pending",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:e([]),errorLabelContainer:e([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(e){this.lastActive=e,this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,e,this.settings.errorClass,this.settings.validClass),this.hideThese(this.errorsFor(e)))},onfocusout:function(e){this.checkable(e)||!(e.name in this.submitted)&&this.optional(e)||this.element(e)},onkeyup:function(t,i){9===i.which&&""===this.elementValue(t)||-1!==e.inArray(i.keyCode,[16,17,18,20,35,36,37,38,39,40,45,144,225])||(t.name in this.submitted||t.name in this.invalid)&&this.element(t)},onclick:function(e){e.name in this.submitted?this.element(e):e.parentNode.name in this.submitted&&this.element(e.parentNode)},highlight:function(t,i,n){"radio"===t.type?this.findByName(t.name).addClass(i).removeClass(n):e(t).addClass(i).removeClass(n)},unhighlight:function(t,i,n){"radio"===t.type?this.findByName(t.name).removeClass(i).addClass(n):e(t).removeClass(i).addClass(n)}},setDefaults:function(t){e.extend(e.validator.defaults,t)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",equalTo:"Please enter the same value again.",maxlength:e.validator.format("Please enter no more than {0} characters."),minlength:e.validator.format("Please enter at least {0} characters."),rangelength:e.validator.format("Please enter a value between {0} and {1} characters long."),range:e.validator.format("Please enter a value between {0} and {1}."),max:e.validator.format("Please enter a value less than or equal to {0}."),min:e.validator.format("Please enter a value greater than or equal to {0}."),step:e.validator.format("Please enter a multiple of {0}.")},autoCreateRanges:!1,prototype:{init:function(){function t(t){var i=void 0!==e(this).attr("contenteditable")&&"false"!==e(this).attr("contenteditable");if(!this.form&&i&&(this.form=e(this).closest("form")[0],this.name=e(this).attr("name")),n===this.form){var a=e.data(this.form,"validator"),s="on"+t.type.replace(/^validate/,""),r=a.settings;r[s]&&!e(this).is(r.ignore)&&r[s].call(a,this,t)}}this.labelContainer=e(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||e(this.currentForm),this.containers=e(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var i,n=this.currentForm,a=this.groups={};e.each(this.settings.groups,function(t,i){"string"==typeof i&&(i=i.split(/\s/)),e.each(i,function(e,i){a[i]=t})}),i=this.settings.rules,e.each(i,function(t,n){i[t]=e.validator.normalizeRule(n)}),e(this.currentForm).on("focusin.validate focusout.validate keyup.validate",":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'], [type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox'], [contenteditable], [type='button']",t).on("click.validate","select, option, [type='radio'], [type='checkbox']",t),this.settings.invalidHandler&&e(this.currentForm).on("invalid-form.validate",this.settings.invalidHandler)},form:function(){return this.checkForm(),e.extend(this.submitted,this.errorMap),this.invalid=e.extend({},this.errorMap),this.valid()||e(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var e=0,t=this.currentElements=this.elements();t[e];e++)this.check(t[e]);return this.valid()},element:function(t){var i,n,a=this.clean(t),s=this.validationTargetFor(a),r=this,o=!0;return void 0===s?delete this.invalid[a.name]:(this.prepareElement(s),this.currentElements=e(s),(n=this.groups[s.name])&&e.each(this.groups,function(e,t){t===n&&e!==s.name&&((a=r.validationTargetFor(r.clean(r.findByName(e))))&&a.name in r.invalid&&(r.currentElements.push(a),o=r.check(a)&&o))}),i=!1!==this.check(s),o=o&&i,this.invalid[s.name]=!i,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),e(t).attr("aria-invalid",!i)),o},showErrors:function(t){if(t){var i=this;e.extend(this.errorMap,t),this.errorList=e.map(this.errorMap,function(e,t){return{message:e,element:i.findByName(t)[0]}}),this.successList=e.grep(this.successList,function(e){return!(e.name in t)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){e.fn.resetForm&&e(this.currentForm).resetForm(),this.invalid={},this.submitted={},this.prepareForm(),this.hideErrors();var t=this.elements().removeData("previousValue").removeAttr("aria-invalid");this.resetElements(t)},resetElements:function(e){var t;if(this.settings.unhighlight)for(t=0;e[t];t++)this.settings.unhighlight.call(this,e[t],this.settings.errorClass,""),this.findByName(e[t].name).removeClass(this.settings.validClass);else e.removeClass(this.settings.errorClass).removeClass(this.settings.validClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(e){var t,i=0;for(t in e)void 0!==e[t]&&null!==e[t]&&!1!==e[t]&&i++;return i},hideErrors:function(){this.hideThese(this.toHide)},hideThese:function(e){e.not(this.containers).text(""),this.addWrapper(e).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{e(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").trigger("focus").trigger("focusin")}catch(e){}},findLastActive:function(){var t=this.lastActive;return t&&1===e.grep(this.errorList,function(e){return e.element.name===t.name}).length&&t},elements:function(){var t=this,i={};return e(this.currentForm).find("input, select, textarea, [contenteditable]").not(":submit, :reset, :image, :disabled").not(this.settings.ignore).filter(function(){var n=this.name||e(this).attr("name"),a=void 0!==e(this).attr("contenteditable")&&"false"!==e(this).attr("contenteditable");return!n&&t.settings.debug&&window.console&&console.error("%o has no name assigned",this),a&&(this.form=e(this).closest("form")[0],this.name=n),!(this.form!==t.currentForm||n in i||!t.objectLength(e(this).rules())||(i[n]=!0,0))})},clean:function(t){return e(t)[0]},errors:function(){var t=this.settings.errorClass.split(" ").join(".");return e(this.settings.errorElement+"."+t,this.errorContext)},resetInternals:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=e([]),this.toHide=e([])},reset:function(){this.resetInternals(),this.currentElements=e([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(e){this.reset(),this.toHide=this.errorsFor(e)},elementValue:function(t){var i,n,a=e(t),s=t.type,r=void 0!==a.attr("contenteditable")&&"false"!==a.attr("contenteditable");return"radio"===s||"checkbox"===s?this.findByName(t.name).filter(":checked").val():"number"===s&&void 0!==t.validity?t.validity.badInput?"NaN":a.val():(i=r?a.text():a.val(),"file"===s?" "===i.substr(0,12)?i.substr(12):(n=i.lastIndexOf("/"))>=0?i.substr(n+1):(n=i.lastIndexOf("\\"))>=0?i.substr(n+1):i:"string"==typeof i?i.replace(/\r/g,""):i)},check:function(t){t=this.validationTargetFor(this.clean(t));var i,n,a,s,r=e(t).rules(),o=e.map(r,function(e,t){return t}).length,l=!1,c=this.elementValue(t);for(n in"function"==typeof r.normalizer?s=r.normalizer:"function"==typeof this.settings.normalizer&&(s=this.settings.normalizer),s&&(c=s.call(t,c),delete r.normalizer),r){a={method:n,parameters:r[n]};try{if("dependency-mismatch"===(i=e.validator.methods[n].call(this,c,t,a.parameters))&&1===o){l=!0;continue}if(l=!1,"pending"===i)return void(this.toHide=this.toHide.not(this.errorsFor(t)));if(!i)return this.formatAndAdd(t,a),!1}catch(e){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+t.id+", check the '"+a.method+"' method.",e),e instanceof TypeError&&(e.message+=". Exception occurred when checking element "+t.id+", check the '"+a.method+"' method."),e}}if(!l)return this.objectLength(r)&&this.successList.push(t),!0},customDataMessage:function(t,i){return e(t).data("msg"+i.charAt(0).toUpperCase()+i.substring(1).toLowerCase())||e(t).data("msg")},customMessage:function(e,t){var i=this.settings.messages[e];return i&&(i.constructor===String?i:i[t])},findDefined:function(){for(var e=0;eWarning: No message defined for "+t.name+""),a=/\$?\{(\d+)\}/g;return"function"==typeof n?n=n.call(this,i.parameters,t):a.test(n)&&(n=e.validator.format(n.replace(a,"{$1}"),i.parameters)),n},formatAndAdd:function(e,t){var i=this.defaultMessage(e,t);this.errorList.push({message:i,element:e,method:t.method}),this.errorMap[e.name]=i,this.submitted[e.name]=i},addWrapper:function(e){return this.settings.wrapper&&(e=e.add(e.parent(this.settings.wrapper))),e},defaultShowErrors:function(){var e,t,i;for(e=0;this.errorList[e];e++)i=this.errorList[e],this.settings.highlight&&this.settings.highlight.call(this,i.element,this.settings.errorClass,this.settings.validClass),this.showLabel(i.element,i.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(e=0;this.successList[e];e++)this.showLabel(this.successList[e]);if(this.settings.unhighlight)for(e=0,t=this.validElements();t[e];e++)this.settings.unhighlight.call(this,t[e],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return e(this.errorList).map(function(){return this.element})},showLabel:function(t,i){var n,a,s,r,o=this.errorsFor(t),l=this.idOrName(t),c=e(t).attr("aria-describedby");o.length?(o.removeClass(this.settings.validClass).addClass(this.settings.errorClass),o.html(i)):(n=o=e("<"+this.settings.errorElement+">").attr("id",l+"-error").addClass(this.settings.errorClass).html(i||""),this.settings.wrapper&&(n=o.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(n):this.settings.errorPlacement?this.settings.errorPlacement.call(this,n,e(t)):n.insertAfter(t),o.is("label")?o.attr("for",l):0===o.parents("label[for='"+this.escapeCssMeta(l)+"']").length&&(s=o.attr("id"),c?c.match(new RegExp("\\b"+this.escapeCssMeta(s)+"\\b"))||(c+=" "+s):c=s,e(t).attr("aria-describedby",c),(a=this.groups[t.name])&&(r=this,e.each(r.groups,function(t,i){i===a&&e("[name='"+r.escapeCssMeta(t)+"']",r.currentForm).attr("aria-describedby",o.attr("id"))})))),!i&&this.settings.success&&(o.text(""),"string"==typeof this.settings.success?o.addClass(this.settings.success):this.settings.success(o,t)),this.toShow=this.toShow.add(o)},errorsFor:function(t){var i=this.escapeCssMeta(this.idOrName(t)),n=e(t).attr("aria-describedby"),a="label[for='"+i+"'], label[for='"+i+"'] *";return n&&(a=a+", #"+this.escapeCssMeta(n).replace(/\s+/g,", #")),this.errors().filter(a)},escapeCssMeta:function(e){return e.replace(/([\\!"#$%&'()*+,.\/:;<=>?@\[\]^`{|}~])/g,"\\$1")},idOrName:function(e){return this.groups[e.name]||(this.checkable(e)?e.name:e.id||e.name)},validationTargetFor:function(t){return this.checkable(t)&&(t=this.findByName(t.name)),e(t).not(this.settings.ignore)[0]},checkable:function(e){return/radio|checkbox/i.test(e.type)},findByName:function(t){return e(this.currentForm).find("[name='"+this.escapeCssMeta(t)+"']")},getLength:function(t,i){switch(i.nodeName.toLowerCase()){case"select":return e("option:selected",i).length;case"input":if(this.checkable(i))return this.findByName(i.name).filter(":checked").length}return t.length},depend:function(e,t){return!this.dependTypes[typeof e]||this.dependTypes[typeof e](e,t)},dependTypes:{boolean:function(e){return e},string:function(t,i){return!!e(t,i.form).length},function:function(e,t){return e(t)}},optional:function(t){var i=this.elementValue(t);return!e.validator.methods.required.call(this,i,t)&&"dependency-mismatch"},startRequest:function(t){this.pending[t.name]||(this.pendingRequest++,e(t).addClass(this.settings.pendingClass),this.pending[t.name]=!0)},stopRequest:function(t,i){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[t.name],e(t).removeClass(this.settings.pendingClass),i&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(e(this.currentForm).submit(),this.submitButton&&e("input:hidden[name='"+this.submitButton.name+"']",this.currentForm).remove(),this.formSubmitted=!1):!i&&0===this.pendingRequest&&this.formSubmitted&&(e(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(t,i){return i="string"==typeof i&&i||"remote",e.data(t,"previousValue")||e.data(t,"previousValue",{old:null,valid:!0,message:this.defaultMessage(t,{method:i})})},destroy:function(){this.resetForm(),e(this.currentForm).off(".validate").removeData("validator").find(".validate-equalTo-blur").off(".validate-equalTo").removeClass("validate-equalTo-blur").find(".validate-lessThan-blur").off(".validate-lessThan").removeClass("validate-lessThan-blur").find(".validate-lessThanEqual-blur").off(".validate-lessThanEqual").removeClass("validate-lessThanEqual-blur").find(".validate-greaterThanEqual-blur").off(".validate-greaterThanEqual").removeClass("validate-greaterThanEqual-blur").find(".validate-greaterThan-blur").off(".validate-greaterThan").removeClass("validate-greaterThan-blur")}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(t,i){t.constructor===String?this.classRuleSettings[t]=i:e.extend(this.classRuleSettings,t)},classRules:function(t){var i={},n=e(t).attr("class");return n&&e.each(n.split(" "),function(){this in e.validator.classRuleSettings&&e.extend(i,e.validator.classRuleSettings[this])}),i},normalizeAttributeRule:function(e,t,i,n){/min|max|step/.test(i)&&(null===t||/number|range|text/.test(t))&&(n=Number(n),isNaN(n)&&(n=void 0)),n||0===n?e[i]=n:t===i&&"range"!==t&&(e[i]=!0)},attributeRules:function(t){var i,n,a={},s=e(t),r=t.getAttribute("type");for(i in e.validator.methods)"required"===i?(""===(n=t.getAttribute(i))&&(n=!0),n=!!n):n=s.attr(i),this.normalizeAttributeRule(a,r,i,n);return a.maxlength&&/-1|2147483647|524288/.test(a.maxlength)&&delete a.maxlength,a},dataRules:function(t){var i,n,a={},s=e(t),r=t.getAttribute("type");for(i in e.validator.methods)""===(n=s.data("rule"+i.charAt(0).toUpperCase()+i.substring(1).toLowerCase()))&&(n=!0),this.normalizeAttributeRule(a,r,i,n);return a},staticRules:function(t){var i={},n=e.data(t.form,"validator");return n.settings.rules&&(i=e.validator.normalizeRule(n.settings.rules[t.name])||{}),i},normalizeRules:function(t,i){return e.each(t,function(n,a){if(!1!==a){if(a.param||a.depends){var s=!0;switch(typeof a.depends){case"string":s=!!e(a.depends,i.form).length;break;case"function":s=a.depends.call(i,i)}s?t[n]=void 0===a.param||a.param:(e.data(i.form,"validator").resetElements(e(i)),delete t[n])}}else delete t[n]}),e.each(t,function(e,n){t[e]="function"==typeof n&&"normalizer"!==e?n(i):n}),e.each(["minlength","maxlength"],function(){t[this]&&(t[this]=Number(t[this]))}),e.each(["rangelength","range"],function(){var e;t[this]&&(Array.isArray(t[this])?t[this]=[Number(t[this][0]),Number(t[this][1])]:"string"==typeof t[this]&&(e=t[this].replace(/[\[\]]/g,"").split(/[\s,]+/),t[this]=[Number(e[0]),Number(e[1])]))}),e.validator.autoCreateRanges&&(null!=t.min&&null!=t.max&&(t.range=[t.min,t.max],delete t.min,delete t.max),null!=t.minlength&&null!=t.maxlength&&(t.rangelength=[t.minlength,t.maxlength],delete t.minlength,delete t.maxlength)),t},normalizeRule:function(t){if("string"==typeof t){var i={};e.each(t.split(/\s/),function(){i[this]=!0}),t=i}return t},addMethod:function(t,i,n){e.validator.methods[t]=i,e.validator.messages[t]=void 0!==n?n:e.validator.messages[t],i.length<3&&e.validator.addClassRules(t,e.validator.normalizeRule(t))},methods:{required:function(t,i,n){if(!this.depend(n,i))return"dependency-mismatch";if("select"===i.nodeName.toLowerCase()){var a=e(i).val();return a&&a.length>0}return this.checkable(i)?this.getLength(t,i)>0:null!=t&&t.length>0},email:function(e,t){return this.optional(t)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(e)},url:function(e,t){return this.optional(t)||/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[\/?#]\S*)?$/i.test(e)},date:function(){var e=!1;return function(t,i){return e||(e=!0,this.settings.debug&&window.console&&console.warn("The `date` method is deprecated and will be removed in version '2.0.0'.\nPlease don't use it, since it relies on the Date constructor, which\nbehaves very differently across browsers and locales. Use `dateISO`\ninstead or one of the locale specific methods in `localizations/`\nand `additional-methods.js`.")),this.optional(i)||!/Invalid|NaN/.test(new Date(t).toString())}}(),dateISO:function(e,t){return this.optional(t)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)},number:function(e,t){return this.optional(t)||/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(e)},digits:function(e,t){return this.optional(t)||/^\d+$/.test(e)},minlength:function(e,t,i){var n=Array.isArray(e)?e.length:this.getLength(e,t);return this.optional(t)||n>=i},maxlength:function(e,t,i){var n=Array.isArray(e)?e.length:this.getLength(e,t);return this.optional(t)||n<=i},rangelength:function(e,t,i){var n=Array.isArray(e)?e.length:this.getLength(e,t);return this.optional(t)||n>=i[0]&&n<=i[1]},min:function(e,t,i){return this.optional(t)||e>=i},max:function(e,t,i){return this.optional(t)||e<=i},range:function(e,t,i){return this.optional(t)||e>=i[0]&&e<=i[1]},step:function(t,i,n){var a,s=e(i).attr("type"),r="Step attribute on input type "+s+" is not supported.",o=new RegExp("\\b"+s+"\\b"),l=function(e){var t=(""+e).match(/(?:\.(\d+))?$/);return t&&t[1]?t[1].length:0},c=function(e){return Math.round(e*Math.pow(10,a))},d=!0;if(s&&!o.test(["text","number","range"].join()))throw new Error(r);return a=l(n),(l(t)>a||c(t)%c(n)!=0)&&(d=!1),this.optional(i)||d},equalTo:function(t,i,n){var a=e(n);return this.settings.onfocusout&&a.not(".validate-equalTo-blur").length&&a.addClass("validate-equalTo-blur").on("blur.validate-equalTo",function(){e(i).valid()}),t===a.val()},remote:function(t,i,n,a){if(this.optional(i))return"dependency-mismatch";a="string"==typeof a&&a||"remote";var s,r,o,l=this.previousValue(i,a);return this.settings.messages[i.name]||(this.settings.messages[i.name]={}),l.originalMessage=l.originalMessage||this.settings.messages[i.name][a],this.settings.messages[i.name][a]=l.message,n="string"==typeof n&&{url:n}||n,o=e.param(e.extend({data:t},n.data)),l.old===o?l.valid:(l.old=o,s=this,this.startRequest(i),(r={})[i.name]=t,e.ajax(e.extend(!0,{mode:"abort",port:"validate"+i.name,dataType:"json",data:r,context:s.currentForm,success:function(e){var n,r,o,c=!0===e||"true"===e;s.settings.messages[i.name][a]=l.originalMessage,c?(o=s.formSubmitted,s.resetInternals(),s.toHide=s.errorsFor(i),s.formSubmitted=o,s.successList.push(i),s.invalid[i.name]=!1,s.showErrors()):(n={},r=e||s.defaultMessage(i,{method:a,parameters:t}),n[i.name]=l.message=r,s.invalid[i.name]=!0,s.showErrors(n)),l.valid=c,s.stopRequest(i,c)}},n)),"pending")}}});var i,n={};return e.ajaxPrefilter?e.ajaxPrefilter(function(e,t,i){var a=e.port;"abort"===e.mode&&(n[a]&&n[a].abort(),n[a]=i)}):(i=e.ajax,e.ajax=function(t){var a=("mode"in t?t:e.ajaxSettings).mode,s=("port"in t?t:e.ajaxSettings).port;return"abort"===a?(n[s]&&n[s].abort(),n[s]=i.apply(this,arguments),n[s]):i.apply(this,arguments)}),e}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=function(t,i){return void 0===i&&(i="undefined"!=typeof window?require("jquery"):require("jquery")(t)),e(i),i}:e(jQuery)}(function(e){"use strict";var t=/\r?\n/g,i={};i.fileapi=void 0!==e('').get(0).files,i.formdata=void 0!==window.FormData;var n=!!e.fn.prop;function a(t){var i=t.data;t.isDefaultPrevented()||(t.preventDefault(),e(t.target).closest("form").ajaxSubmit(i))}function s(t){var i=t.target,n=e(i);if(!n.is("[type=submit],[type=image]")){var a=n.closest("[type=submit]");if(0===a.length)return;i=a[0]}var s,r=i.form;"image"===(r.clk=i).type&&(void 0!==t.offsetX?(r.clk_x=t.offsetX,r.clk_y=t.offsetY):"function"==typeof e.fn.offset?(s=n.offset(),r.clk_x=t.pageX-s.left,r.clk_y=t.pageY-s.top):(r.clk_x=t.pageX-i.offsetLeft,r.clk_y=t.pageY-i.offsetTop)),setTimeout(function(){r.clk=r.clk_x=r.clk_y=null},100)}function r(){var t;e.fn.ajaxSubmit.debug&&(t="[jquery.form] "+Array.prototype.join.call(arguments,""),window.console&&window.console.log?window.console.log(t):window.opera&&window.opera.postError&&window.opera.postError(t))}e.fn.attr2=function(){if(!n)return this.attr.apply(this,arguments);var e=this.prop.apply(this,arguments);return e&&e.jquery||"string"==typeof e?e:this.attr.apply(this,arguments)},e.fn.ajaxSubmit=function(t,a,s,o){if(!this.length)return r("ajaxSubmit: skipping submit process - no element selected"),this;var l,c,d,u,h=this;"function"==typeof t?t={success:t}:"string"==typeof t||!1===t&&0',T)).css({position:"absolute",top:"-1000px",left:"-1000px"}),p=u[0],f={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(t){var i="timeout"===t?"timeout":"aborted";r("aborting upload... "+i),this.aborted=1;try{p.contentWindow.document.execCommand&&p.contentWindow.document.execCommand("Stop")}catch(t){}u.attr("src",o.iframeSrc),f.error=i,o.error&&o.error.call(o.context,f,i,t),c&&e.event.trigger("ajaxError",[f,o,i]),o.complete&&o.complete.call(o.context,f,i)}},(c=o.global)&&0==e.active++&&e.event.trigger("ajaxStart"),c&&e.event.trigger("ajaxSend",[f,o]),o.beforeSend&&!1===o.beforeSend.call(o.context,f,o))return o.global&&e.active--,_.reject(),_;if(f.aborted)return _.reject(),_;(m=w.clk)&&(g=m.name)&&!m.disabled&&(o.extraData=o.extraData||{},o.extraData[g]=m.value,"image"===m.type&&(o.extraData[g+".x"]=w.clk_x,o.extraData[g+".y"]=w.clk_y));var C=1,S=2;function E(e){var t=null;try{e.contentWindow&&(t=e.contentWindow.document)}catch(e){r("cannot get iframe.contentWindow document: "+e)}if(t)return t;try{t=e.contentDocument?e.contentDocument:e.document}catch(i){r("cannot get iframe.contentDocument: "+i),t=e.document}return t}var P=e("meta[name=csrf-token]").attr("content"),k=e("meta[name=csrf-param]").attr("content");function M(){var t=h.attr2("target"),i=h.attr2("action"),n=h.attr("enctype")||h.attr("encoding")||"multipart/form-data";w.setAttribute("target",d),l&&!/post/i.test(l)||w.setAttribute("method","POST"),i!==o.url&&w.setAttribute("action",o.url),o.skipEncodingOverride||l&&!/post/i.test(l)||h.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"}),o.timeout&&(b=setTimeout(function(){y=!0,A(C)},o.timeout));var a=[];try{if(o.extraData)for(var s in o.extraData)o.extraData.hasOwnProperty(s)&&(e.isPlainObject(o.extraData[s])&&o.extraData[s].hasOwnProperty("name")&&o.extraData[s].hasOwnProperty("value")?a.push(e('',T).val(o.extraData[s].value).appendTo(w)[0]):a.push(e('',T).val(o.extraData[s]).appendTo(w)[0]));o.iframeTarget||u.appendTo(x),p.attachEvent?p.attachEvent("onload",A):p.addEventListener("load",A,!1),setTimeout(function e(){try{var t=E(p).readyState;r("state = "+t),t&&"uninitialized"===t.toLowerCase()&&setTimeout(e,50)}catch(e){r("Server abort: ",e," (",e.name,")"),A(S),b&&clearTimeout(b),b=void 0}},15);try{w.submit()}catch(t){document.createElement("form").submit.apply(w)}}finally{w.setAttribute("action",i),w.setAttribute("enctype",n),t?w.setAttribute("target",t):h.removeAttr("target"),e(a).remove()}}k&&P&&(o.extraData=o.extraData||{},o.extraData[k]=P),o.forceSync?M():setTimeout(M,10);var I,O,L,j=50;function A(t){if(!f.aborted&&!L){if((O=E(p))||(r("cannot access response document"),t=S),t===C&&f)return f.abort("timeout"),void _.reject(f,"timeout");if(t===S&&f)return f.abort("server abort"),void _.reject(f,"error","server abort");if(O&&O.location.href!==o.iframeSrc||y){p.detachEvent?p.detachEvent("onload",A):p.removeEventListener("load",A,!1);var i,n="success";try{if(y)throw"timeout";var a="xml"===o.dataType||O.XMLDocument||e.isXMLDoc(O);if(r("isXml="+a),!a&&window.opera&&(null===O.body||!O.body.innerHTML)&&--j)return r("requeing onLoad callback, DOM not available"),void setTimeout(A,250);var s=O.body?O.body:O.documentElement;f.responseText=s?s.innerHTML:null,f.responseXML=O.XMLDocument?O.XMLDocument:O,a&&(o.dataType="xml"),f.getResponseHeader=function(e){return{"content-type":o.dataType}[e.toLowerCase()]},s&&(f.status=Number(s.getAttribute("status"))||f.status,f.statusText=s.getAttribute("statusText")||f.statusText);var l,d,h,m=(o.dataType||"").toLowerCase(),g=/(json|script|text)/.test(m);g||o.textarea?(l=O.getElementsByTagName("textarea")[0])?(f.responseText=l.value,f.status=Number(l.getAttribute("status"))||f.status,f.statusText=l.getAttribute("statusText")||f.statusText):g&&(d=O.getElementsByTagName("pre")[0],h=O.getElementsByTagName("body")[0],d?f.responseText=d.textContent?d.textContent:d.innerText:h&&(f.responseText=h.textContent?h.textContent:h.innerText)):"xml"===m&&!f.responseXML&&f.responseText&&(f.responseXML=z(f.responseText));try{I=D(f,m,o)}catch(t){n="parsererror",f.error=i=t||n}}catch(t){r("error caught: ",t),n="error",f.error=i=t||n}f.aborted&&(r("upload aborted"),n=null),f.status&&(n=200<=f.status&&f.status<300||304===f.status?"success":"error"),"success"===n?(o.success&&o.success.call(o.context,I,"success",f),_.resolve(f.responseText,"success",f),c&&e.event.trigger("ajaxSuccess",[f,o])):n&&(void 0===i&&(i=f.statusText),o.error&&o.error.call(o.context,f,n,i),_.reject(f,"error",i),c&&e.event.trigger("ajaxError",[f,o,i])),c&&e.event.trigger("ajaxComplete",[f,o]),c&&!--e.active&&e.event.trigger("ajaxStop"),o.complete&&o.complete.call(o.context,f,n),L=!0,o.timeout&&clearTimeout(b),setTimeout(function(){o.iframeTarget?u.attr("src",o.iframeSrc):u.remove(),f.responseXML=null},100)}}}var z=e.parseXML||function(e,t){return window.ActiveXObject?((t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e)):t=(new DOMParser).parseFromString(e,"text/xml"),t&&t.documentElement&&"parsererror"!==t.documentElement.nodeName?t:null},Y=e.parseJSON||function(e){return window.eval("("+e+")")},D=function(t,i,n){var a=t.getResponseHeader("content-type")||"",s=("xml"===i||!i)&&0<=a.indexOf("xml"),r=s?t.responseXML:t.responseText;return s&&"parsererror"===r.documentElement.nodeName&&e.error&&e.error("parsererror"),n&&n.dataFilter&&(r=n.dataFilter(r,i)),"string"==typeof r&&(("json"===i||!i)&&0<=a.indexOf("json")?r=Y(r):("script"===i||!i)&&0<=a.indexOf("javascript")&&e.globalEval(r)),r};return _}},e.fn.ajaxForm=function(t,i,n,o){if(("string"==typeof t||!1===t&&00?e.appendTo(t.parents(".form-group")):e.insertAfter(t)},focusCleanup:!0,submitHandler:function(c){if(i.hasClass("custom-submit"))return $(c).submit(),!0;o.hide(),"button"==r?(e=$(c).find("button"),defButtonText=e.html(),e.html('')):$(c).find(".form-process").fadeIn(),a&&n.removeClass(a+"-ready "+a+"-complete "+a+"-success "+a+"-error").addClass(a+"-processing"),$(c).ajaxSubmit({target:o,dataType:"json",success:function(i){if("button"==r?e.html(defButtonText):$(c).find(".form-process").fadeOut(),"error"!=i.alert&&l)return window.location.replace(l),!0;if("inline"==s?(t="error"==i.alert?"alert-danger":"alert-success",o.removeClass("alert-danger alert-success").addClass("alert "+t).html(i.message).slideDown(400)):"notify"==s&&(o.attr("data-notify-type",i.alert).attr("data-notify-msg",i.message).html(""),SEMICOLON.widget.notifications({el:o})),"error"!=i.alert){$(c).resetForm(),$(c).find(".btn-group > .btn").removeClass("active"),"undefined"!=typeof tinyMCE&&tinyMCE.activeEditor&&!tinyMCE.activeEditor.isHidden()&&tinymce.activeEditor.setContent("");let e=$(c).find(".input-range-slider");e.length>0&&e.each(function(){$(this).data("ionRangeSlider").reset()});let t=$(c).find(".input-rating");t.length>0&&t.each(function(){$(this).rating("reset")});let s=$(c).find(".selectpicker");s.length>0&&s.each(function(){$(this).selectpicker("val",""),$(this).selectpicker("deselectAll")}),$(c).find(".input-select2,select[data-selectsplitter-firstselect-selector]").change(),$(c).trigger("formSubmitSuccess",i),n.removeClass(a+"-error").addClass(a+"-success")}else $(c).trigger("formSubmitError",i),n.removeClass(a+"-success").addClass(a+"-error");a&&n.removeClass(a+"-processing").addClass(a+"-complete"),$(c).find(".g-recaptcha").children("div").length>0&&grecaptcha.reset()}})}})})},window.scwAjaxPortfolioPlugin=window.scwAjaxPortfolioPlugin||{};let $portfolioAjaxItems=$(".portfolio-ajax").find(".portfolio-item"),$portfolioDetails=$("#portfolio-ajax-wrap"),$portfolioDetailsContainer=$("#portfolio-ajax-container"),$portfolioAjaxLoader=$("#portfolio-ajax-loader"),prevPostPortId="";window.SEMICOLON_portfolioAjaxloadInit=function(){if($(".portfolio-ajax").length<1)return!0;$(".portfolio-ajax .portfolio-item a.portfolio-ajax-trigger").off("click").on("click",function(e){let t=$(this).parents(".portfolio-item").attr("id");$(this).parents(".portfolio-item").hasClass("portfolio-active")||SEMICOLON_portfolioLoadItem(t,prevPostPortId),e.preventDefault()})},window.SEMICOLON_portfolionewNextPrev=function(e){let t=SEMICOLON_portfolioGetNextItem(e),i=SEMICOLON_portfolioGetPrevItem(e);$("#next-portfolio").attr("data-id",t),$("#prev-portfolio").attr("data-id",i)},window.SEMICOLON_portfolioLoadItem=function(e,t,i){i||(i=!1);let n=SEMICOLON_portfolioGetNextItem(e),a=SEMICOLON_portfolioGetPrevItem(e);if(0==i){SEMICOLON_portfolioCloseItem(),$portfolioAjaxLoader.fadeIn();let t=$("#"+e).attr("data-loader");$portfolioDetailsContainer.load(t,{portid:e,portnext:n,portprev:a},function(){SEMICOLON_portfolioInitializeAjax(e),SEMICOLON_portfolioOpenItem(),$portfolioAjaxItems.removeClass("portfolio-active"),$("#"+e).addClass("portfolio-active")})}},window.SEMICOLON_portfolioCloseItem=function(){$portfolioDetails&&$portfolioDetails.height()>32&&($portfolioAjaxLoader.fadeIn(),$portfolioDetails.find("#portfolio-ajax-single").fadeOut("600",function(){$(this).remove()}),$portfolioDetails.removeClass("portfolio-ajax-opened"))},window.SEMICOLON_portfolioOpenItem=function(){let e=$portfolioDetails.find("img").length,t=0;if(e>0)$portfolioDetails.find("img").on("load",function(){t++;let i=SEMICOLON.initialize.topScrollOffset();e===t&&($portfolioDetailsContainer.css({display:"block"}),$portfolioDetails.addClass("portfolio-ajax-opened"),$portfolioAjaxLoader.fadeOut(),setTimeout(function(){SEMICOLON.widget.loadFlexSlider(),SEMICOLON.initialize.lightbox({parent:$portfolioDetails}),SEMICOLON.initialize.resizeVideos(),SEMICOLON.widget.masonryThumbs(),$("html,body").stop(!0).animate({scrollTop:$portfolioDetails.offset().top-i},900,"easeOutQuad")},500))});else{let e=SEMICOLON.initialize.topScrollOffset();$portfolioDetailsContainer.css({display:"block"}),$portfolioDetails.addClass("portfolio-ajax-opened"),$portfolioAjaxLoader.fadeOut(),setTimeout(function(){SEMICOLON.widget.loadFlexSlider(),SEMICOLON.initialize.lightbox({parent:$portfolioDetails}),SEMICOLON.initialize.resizeVideos(),SEMICOLON.widget.masonryThumbs(),$("html,body").stop(!0).animate({scrollTop:$portfolioDetails.offset().top-e},900,"easeOutQuad")},500)}},window.SEMICOLON_portfolioGetNextItem=function(e){let t="",i=$("#"+e).next();return 0!=i.length&&(t=i.attr("id")),t},window.SEMICOLON_portfolioGetPrevItem=function(e){let t="",i=$("#"+e).prev();return 0!=i.length&&(t=i.attr("id")),t},window.SEMICOLON_portfolioInitializeAjax=function(e){prevPostPortId=$("#"+e),$("#next-portfolio, #prev-portfolio").off("click").on("click",function(){let e=$(this).attr("data-id");return $portfolioAjaxItems.removeClass("portfolio-active"),$("#"+e).addClass("portfolio-active"),SEMICOLON_portfolioLoadItem(e,prevPostPortId),!1}),$("#close-portfolio").off("click").on("click",function(){return $portfolioDetailsContainer.fadeOut("600",function(){$portfolioDetails.find("#portfolio-ajax-single").remove()}),$portfolioDetails.removeClass("portfolio-ajax-opened"),$portfolioAjaxItems.removeClass("portfolio-active"),!1})},window.scwAnimationsPlugin=window.scwAnimationsPlugin||{},window.SEMICOLON_animationsInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;let t=new IntersectionObserver(function(e,t){e.forEach(function(e){let i=$(e.target),n=i.attr("data-animate"),a=i.attr("data-animate-out"),s=i.attr("data-delay"),r=i.attr("data-delay-out"),o=0,l=3e3;return i.parents(".fslider.no-thumbs-animate").length>0||(i.parents(".swiper-slide").length>0||(o=s?Number(s)+500:500,a&&r&&(l=Number(r)+o),i.hasClass("animated")||(i.addClass("not-animated"),e.intersectionRatio>0&&(setTimeout(function(){i.removeClass("not-animated").addClass(n+" animated")},o),a&&setTimeout(function(){i.removeClass(n).addClass(a)},l))),void(i.hasClass("not-animated")||t.unobserve(e.target))))})});[].filter.call(document.querySelectorAll("[data-animate]"),function(e){return!function(e){e.classList.contains("animated")}(e)}).forEach(function(e){return t.observe(e)})},function(e,t,i,n){function a(t,i){this.settings=null,this.options=e.extend({},a.Defaults,i),this.$element=e(t),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},e.each(["onResize","onThrottledResize"],e.proxy(function(t,i){this._handlers[i]=e.proxy(this[i],this)},this)),e.each(a.Plugins,e.proxy(function(e,t){this._plugins[e.charAt(0).toLowerCase()+e.slice(1)]=new t(this)},this)),e.each(a.Workers,e.proxy(function(t,i){this._pipe.push({filter:i.filter,run:e.proxy(i.run,this)})},this)),this.setup(),this.initialize()}a.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:t,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},a.Width={Default:"default",Inner:"inner",Outer:"outer"},a.Type={Event:"event",State:"state"},a.Plugins={},a.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(e){e.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(e){var t=this.settings.margin||"",i=!this.settings.autoWidth,n=this.settings.rtl,a={width:"auto","margin-left":n?t:"","margin-right":n?"":t};!i&&this.$stage.children().css(a),e.css=a}},{filter:["width","items","settings"],run:function(e){var t=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,i=null,n=this._items.length,a=!this.settings.autoWidth,s=[];for(e.items={merge:!1,width:t};n--;)i=this._mergers[n],i=this.settings.mergeFit&&Math.min(i,this.settings.items)||i,e.items.merge=i>1||e.items.merge,s[n]=a?t*i:this._items[n].width();this._widths=s}},{filter:["items","settings"],run:function(){var t=[],i=this._items,n=this.settings,a=Math.max(2*n.items,4),s=2*Math.ceil(i.length/2),r=n.loop&&i.length?n.rewind?a:Math.max(a,s):0,o="",l="";for(r/=2;r>0;)t.push(this.normalize(t.length/2,!0)),o+=i[t[t.length-1]][0].outerHTML,t.push(this.normalize(i.length-1-(t.length-1)/2,!0)),l=i[t[t.length-1]][0].outerHTML+l,r-=1;this._clones=t,e(o).addClass("cloned").appendTo(this.$stage),e(l).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var e=this.settings.rtl?1:-1,t=this._clones.length+this._items.length,i=-1,n=0,a=0,s=[];++i",o)||this.op(t,"<",r)&&this.op(t,">",o))&&l.push(i);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+l.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],a.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=e("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(e("
",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},a.prototype.initializeItems=function(){var t=this.$element.find(".owl-item");if(t.length)return this._items=t.get().map(function(t){return e(t)}),this._mergers=this._items.map(function(){return 1}),void this.refresh();this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)},a.prototype.initialize=function(){var e,t,i;(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading"))&&(e=this.$element.find("img"),t=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:n,i=this.$element.children(t).width(),e.length&&i<=0&&this.preloadAutoWidthImages(e));this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},a.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},a.prototype.setup=function(){var t=this.viewport(),i=this.options.responsive,n=-1,a=null;i?(e.each(i,function(e){e<=t&&e>n&&(n=Number(e))}),"function"==typeof(a=e.extend({},this.options,i[n])).stagePadding&&(a.stagePadding=a.stagePadding()),delete a.responsive,a.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+n))):a=e.extend({},this.options),this.trigger("change",{property:{name:"settings",value:a}}),this._breakpoint=n,this.settings=a,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},a.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},a.prototype.prepare=function(t){var i=this.trigger("prepare",{content:t});return i.data||(i.data=e("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(t)),this.trigger("prepared",{content:i.data}),i.data},a.prototype.update=function(){for(var t=0,i=this._pipe.length,n=e.proxy(function(e){return this[e]},this._invalidated),a={};t0)&&this._pipe[t].run(a),t++;this._invalidated={},!this.is("valid")&&this.enter("valid")},a.prototype.width=function(e){switch(e=e||a.Width.Default){case a.Width.Inner:case a.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},a.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},a.prototype.onThrottledResize=function(){t.clearTimeout(this.resizeTimer),this.resizeTimer=t.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},a.prototype.onResize=function(){return!!this._items.length&&this._width!==this.$element.width()&&!!this.isVisible()&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))},a.prototype.registerEventHandlers=function(){e.support.transition&&this.$stage.on(e.support.transition.end+".owl.core",e.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(t,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",e.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",e.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",e.proxy(this.onDragEnd,this)))},a.prototype.onDragStart=function(t){var n=null;3!==t.which&&(e.support.transform?n={x:(n=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===n.length?12:4],y:n[16===n.length?13:5]}:(n=this.$stage.position(),n={x:this.settings.rtl?n.left+this.$stage.width()-this.width()+this.settings.margin:n.left,y:n.top}),this.is("animating")&&(e.support.transform?this.animate(n.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===t.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=e(t.target),this._drag.stage.start=n,this._drag.stage.current=n,this._drag.pointer=this.pointer(t),e(i).on("mouseup.owl.core touchend.owl.core",e.proxy(this.onDragEnd,this)),e(i).one("mousemove.owl.core touchmove.owl.core",e.proxy(function(t){var n=this.difference(this._drag.pointer,this.pointer(t));e(i).on("mousemove.owl.core touchmove.owl.core",e.proxy(this.onDragMove,this)),Math.abs(n.x)0^this.settings.rtl?"left":"right";e(i).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==n.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(a.x,0!==n.x?s:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=s,(Math.abs(n.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},a.prototype.closest=function(t,i){var a=-1,s=this.width(),r=this.coordinates();return this.settings.freeDrag||e.each(r,e.proxy(function(e,o){return"left"===i&&t>o-30&&to-s-30&&t",r[e+1]!==n?r[e+1]:o-s)&&(a="left"===i?e+1:e),-1===a},this)),this.settings.loop||(this.op(t,">",r[this.minimum()])?a=t=this.minimum():this.op(t,"<",r[this.maximum()])&&(a=t=this.maximum())),a},a.prototype.animate=function(t){var i=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),i&&(this.enter("animating"),this.trigger("translate")),e.support.transform3d&&e.support.transition?this.$stage.css({transform:"translate3d("+t+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):i?this.$stage.animate({left:t+"px"},this.speed(),this.settings.fallbackEasing,e.proxy(this.onTransitionEnd,this)):this.$stage.css({left:t+"px"})},a.prototype.is=function(e){return this._states.current[e]&&this._states.current[e]>0},a.prototype.current=function(e){if(e===n)return this._current;if(0===this._items.length)return n;if(e=this.normalize(e),this._current!==e){var t=this.trigger("change",{property:{name:"position",value:e}});t.data!==n&&(e=this.normalize(t.data)),this._current=e,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},a.prototype.invalidate=function(t){return"string"===e.type(t)&&(this._invalidated[t]=!0,this.is("valid")&&this.leave("valid")),e.map(this._invalidated,function(e,t){return t})},a.prototype.reset=function(e){(e=this.normalize(e))!==n&&(this._speed=0,this._current=e,this.suppress(["translate","translated"]),this.animate(this.coordinates(e)),this.release(["translate","translated"]))},a.prototype.normalize=function(e,t){var i=this._items.length,a=t?0:this._clones.length;return!this.isNumeric(e)||i<1?e=n:(e<0||e>=i+a)&&(e=((e-a/2)%i+i)%i+a/2),e},a.prototype.relative=function(e){return e-=this._clones.length/2,this.normalize(e,!0)},a.prototype.maximum=function(e){var t,i,n,a=this.settings,s=this._coordinates.length;if(a.loop)s=this._clones.length/2+this._items.length-1;else if(a.autoWidth||a.merge){if(t=this._items.length)for(i=this._items[--t].width(),n=this.$element.width();t--&&!((i+=this._items[t].width()+this.settings.margin)>n););s=t+1}else s=a.center?this._items.length-1:this._items.length-a.items;return e&&(s-=this._clones.length/2),Math.max(s,0)},a.prototype.minimum=function(e){return e?0:this._clones.length/2},a.prototype.items=function(e){return e===n?this._items.slice():(e=this.normalize(e,!0),this._items[e])},a.prototype.mergers=function(e){return e===n?this._mergers.slice():(e=this.normalize(e,!0),this._mergers[e])},a.prototype.clones=function(t){var i=this._clones.length/2,a=i+this._items.length,s=function(e){return e%2==0?a+e/2:i-(e+1)/2};return t===n?e.map(this._clones,function(e,t){return s(t)}):e.map(this._clones,function(e,i){return e===t?s(i):null})},a.prototype.speed=function(e){return e!==n&&(this._speed=e),this._speed},a.prototype.coordinates=function(t){var i,a=1,s=t-1;return t===n?e.map(this._coordinates,e.proxy(function(e,t){return this.coordinates(t)},this)):(this.settings.center?(this.settings.rtl&&(a=-1,s=t+1),i=this._coordinates[t],i+=(this.width()-i+(this._coordinates[s]||0))/2*a):i=this._coordinates[s]||0,i=Math.ceil(i))},a.prototype.duration=function(e,t,i){return 0===i?0:Math.min(Math.max(Math.abs(t-e),1),6)*Math.abs(i||this.settings.smartSpeed)},a.prototype.to=function(e,t){var i=this.current(),n=null,a=e-this.relative(i),s=(a>0)-(a<0),r=this._items.length,o=this.minimum(),l=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(a)>r/2&&(a+=-1*s*r),(n=(((e=i+a)-o)%r+r)%r+o)!==e&&n-a<=l&&n-a>0&&(i=n-a,e=n,this.reset(i))):this.settings.rewind?e=(e%(l+=1)+l)%l:e=Math.max(o,Math.min(l,e)),this.speed(this.duration(i,e,t)),this.current(e),this.isVisible()&&this.update()},a.prototype.next=function(e){e=e||!1,this.to(this.relative(this.current())+1,e)},a.prototype.prev=function(e){e=e||!1,this.to(this.relative(this.current())-1,e)},a.prototype.onTransitionEnd=function(e){if(e!==n&&(e.stopPropagation(),(e.target||e.srcElement||e.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},a.prototype.viewport=function(){var n;return this.options.responsiveBaseElement!==t?n=e(this.options.responsiveBaseElement).width():t.innerWidth?n=t.innerWidth:i.documentElement&&i.documentElement.clientWidth?n=i.documentElement.clientWidth:console.warn("Can not detect viewport width."),n},a.prototype.replace=function(t){this.$stage.empty(),this._items=[],t&&(t=t instanceof jQuery?t:e(t)),this.settings.nestedItemSelector&&(t=t.find("."+this.settings.nestedItemSelector)),t.filter(function(){return 1===this.nodeType}).each(e.proxy(function(e,t){t=this.prepare(t),this.$stage.append(t),this._items.push(t),this._mergers.push(1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},a.prototype.add=function(t,i){var a=this.relative(this._current);i=i===n?this._items.length:this.normalize(i,!0),t=t instanceof jQuery?t:e(t),this.trigger("add",{content:t,position:i}),t=this.prepare(t),0===this._items.length||i===this._items.length?(0===this._items.length&&this.$stage.append(t),0!==this._items.length&&this._items[i-1].after(t),this._items.push(t),this._mergers.push(1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[i].before(t),this._items.splice(i,0,t),this._mergers.splice(i,0,1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[a]&&this.reset(this._items[a].index()),this.invalidate("items"),this.trigger("added",{content:t,position:i})},a.prototype.remove=function(e){(e=this.normalize(e,!0))!==n&&(this.trigger("remove",{content:this._items[e],position:e}),this._items[e].remove(),this._items.splice(e,1),this._mergers.splice(e,1),this.invalidate("items"),this.trigger("removed",{content:null,position:e}))},a.prototype.preloadAutoWidthImages=function(t){t.each(e.proxy(function(t,i){this.enter("pre-loading"),i=e(i),e(new Image).one("load",e.proxy(function(e){i.attr("src",e.target.src),i.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",i.attr("src")||i.attr("data-src")||i.attr("data-src-retina"))},this))},a.prototype.destroy=function(){for(var n in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),e(i).off(".owl.core"),!1!==this.settings.responsive&&(t.clearTimeout(this.resizeTimer),this.off(t,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[n].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},a.prototype.op=function(e,t,i){var n=this.settings.rtl;switch(t){case"<":return n?e>i:e":return n?ei;case">=":return n?e<=i:e>=i;case"<=":return n?e>=i:e<=i}},a.prototype.on=function(e,t,i,n){e.addEventListener?e.addEventListener(t,i,n):e.attachEvent&&e.attachEvent("on"+t,i)},a.prototype.off=function(e,t,i,n){e.removeEventListener?e.removeEventListener(t,i,n):e.detachEvent&&e.detachEvent("on"+t,i)},a.prototype.trigger=function(t,i,n,s,r){var o={item:{count:this._items.length,index:this.current()}},l=e.camelCase(e.grep(["on",t,n],function(e){return e}).join("-").toLowerCase()),c=e.Event([t,"owl",n||"carousel"].join(".").toLowerCase(),e.extend({relatedTarget:this},o,i));return this._supress[t]||(e.each(this._plugins,function(e,t){t.onTrigger&&t.onTrigger(c)}),this.register({type:a.Type.Event,name:t}),this.$element.trigger(c),this.settings&&"function"==typeof this.settings[l]&&this.settings[l].call(this,c)),c},a.prototype.enter=function(t){e.each([t].concat(this._states.tags[t]||[]),e.proxy(function(e,t){this._states.current[t]===n&&(this._states.current[t]=0),this._states.current[t]++},this))},a.prototype.leave=function(t){e.each([t].concat(this._states.tags[t]||[]),e.proxy(function(e,t){this._states.current[t]--},this))},a.prototype.register=function(t){if(t.type===a.Type.Event){if(e.event.special[t.name]||(e.event.special[t.name]={}),!e.event.special[t.name].owl){var i=e.event.special[t.name]._default;e.event.special[t.name]._default=function(e){return!i||!i.apply||e.namespace&&-1!==e.namespace.indexOf("owl")?e.namespace&&e.namespace.indexOf("owl")>-1:i.apply(this,arguments)},e.event.special[t.name].owl=!0}}else t.type===a.Type.State&&(this._states.tags[t.name]?this._states.tags[t.name]=this._states.tags[t.name].concat(t.tags):this._states.tags[t.name]=t.tags,this._states.tags[t.name]=e.grep(this._states.tags[t.name],e.proxy(function(i,n){return e.inArray(i,this._states.tags[t.name])===n},this)))},a.prototype.suppress=function(t){e.each(t,e.proxy(function(e,t){this._supress[t]=!0},this))},a.prototype.release=function(t){e.each(t,e.proxy(function(e,t){delete this._supress[t]},this))},a.prototype.pointer=function(e){var i={x:null,y:null};return(e=(e=e.originalEvent||e||t.event).touches&&e.touches.length?e.touches[0]:e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e).pageX?(i.x=e.pageX,i.y=e.pageY):(i.x=e.clientX,i.y=e.clientY),i},a.prototype.isNumeric=function(e){return!isNaN(parseFloat(e))},a.prototype.difference=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},e.fn.owlCarousel=function(t){var i=Array.prototype.slice.call(arguments,1);return this.each(function(){var n=e(this),s=n.data("owl.carousel");s||(s=new a(this,"object"==typeof t&&t),n.data("owl.carousel",s),e.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(t,i){s.register({type:a.Type.Event,name:i}),s.$element.on(i+".owl.carousel.core",e.proxy(function(e){e.namespace&&e.relatedTarget!==this&&(this.suppress([i]),s[i].apply(this,[].slice.call(arguments,1)),this.release([i]))},s))})),"string"==typeof t&&"_"!==t.charAt(0)&&s[t].apply(s,i)})},e.fn.owlCarousel.Constructor=a}(window.Zepto||window.jQuery,window,document),function(e,t,i,n){var a=function(t){this._core=t,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=e.extend({},a.Defaults,this._core.options),this._core.$element.on(this._handlers)};a.Defaults={autoRefresh:!0,autoRefreshInterval:500},a.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=t.setInterval(e.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},a.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},a.prototype.destroy=function(){var e,i;for(e in t.clearInterval(this._interval),this._handlers)this._core.$element.off(e,this._handlers[e]);for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},e.fn.owlCarousel.Constructor.Plugins.AutoRefresh=a}(window.Zepto||window.jQuery,window,document),function(e,t,i,n){var a=function(t){this._core=t,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":e.proxy(function(t){if(t.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(t.property&&"position"==t.property.name||"initialized"==t.type)){var i=this._core.settings,n=i.center&&Math.ceil(i.items/2)||i.items,a=i.center&&-1*n||0,s=(t.property&&void 0!==t.property.value?t.property.value:this._core.current())+a,r=this._core.clones().length,o=e.proxy(function(e,t){this.load(t)},this);for(i.lazyLoadEager>0&&(n+=i.lazyLoadEager,i.loop&&(s-=i.lazyLoadEager,n++));a++-1||(a.each(e.proxy(function(i,n){var a,s=e(n),r=t.devicePixelRatio>1&&s.attr("data-src-retina")||s.attr("data-src")||s.attr("data-srcset");this._core.trigger("load",{element:s,url:r},"lazy"),s.is("img")?s.one("load.owl.lazy",e.proxy(function(){s.css("opacity",1),this._core.trigger("loaded",{element:s,url:r},"lazy")},this)).attr("src",r):s.is("source")?s.one("load.owl.lazy",e.proxy(function(){this._core.trigger("loaded",{element:s,url:r},"lazy")},this)).attr("srcset",r):((a=new Image).onload=e.proxy(function(){s.css({"background-image":'url("'+r+'")',opacity:"1"}),this._core.trigger("loaded",{element:s,url:r},"lazy")},this),a.src=r)},this)),this._loaded.push(n.get(0)))},a.prototype.destroy=function(){var e,t;for(e in this.handlers)this._core.$element.off(e,this.handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.Lazy=a}(window.Zepto||window.jQuery,window,document),function(e,t,i,n){var a=function(i){this._core=i,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&"position"===e.property.name&&this.update()},this),"loaded.owl.lazy":e.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&e.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=e.extend({},a.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var n=this;e(t).on("load",function(){n._core.settings.autoHeight&&n.update()}),e(t).resize(function(){n._core.settings.autoHeight&&(null!=n._intervalId&&clearTimeout(n._intervalId),n._intervalId=setTimeout(function(){n.update()},250))})};a.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},a.prototype.update=function(){var t=this._core._current,i=t+this._core.settings.items,n=this._core.settings.lazyLoad,a=this._core.$stage.children().toArray().slice(t,i),s=[],r=0;e.each(a,function(t,i){s.push(e(i).height())}),(r=Math.max.apply(null,s))<=1&&n&&this._previousHeight&&(r=this._previousHeight),this._previousHeight=r,this._core.$stage.parent().height(r).addClass(this._core.settings.autoHeightClass)},a.prototype.destroy=function(){var e,t;for(e in this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.AutoHeight=a}(window.Zepto||window.jQuery,window,document),function(e,t,i,n){var a=function(t){this._core=t,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":e.proxy(function(e){e.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.video&&this.isInFullScreen()&&e.preventDefault()},this),"refreshed.owl.carousel":e.proxy(function(e){e.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":e.proxy(function(e){e.namespace&&"position"===e.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":e.proxy(function(t){if(t.namespace){var i=e(t.content).find(".owl-video");i.length&&(i.css("display","none"),this.fetch(i,e(t.content)))}},this)},this._core.options=e.extend({},a.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",e.proxy(function(e){this.play(e)},this))};a.Defaults={video:!1,videoHeight:!1,videoWidth:!1},a.prototype.fetch=function(e,t){var i=e.attr("data-vimeo-id")?"vimeo":e.attr("data-vzaar-id")?"vzaar":"youtube",n=e.attr("data-vimeo-id")||e.attr("data-youtube-id")||e.attr("data-vzaar-id"),a=e.attr("data-width")||this._core.settings.videoWidth,s=e.attr("data-height")||this._core.settings.videoHeight,r=e.attr("href");if(!r)throw new Error("Missing video URL.");if((n=r.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu")>-1)i="youtube";else if(n[3].indexOf("vimeo")>-1)i="vimeo";else{if(!(n[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");i="vzaar"}n=n[6],this._videos[r]={type:i,id:n,width:a,height:s},t.attr("data-video",r),this.thumbnail(e,this._videos[r])},a.prototype.thumbnail=function(t,i){var n,a,s=i.width&&i.height?"width:"+i.width+"px;height:"+i.height+"px;":"",r=t.find("img"),o="src",l="",c=this._core.settings,d=function(i){'
',n=c.lazyLoad?e("
",{class:"owl-video-tn "+l,srcType:i}):e("
",{class:"owl-video-tn",style:"opacity:1;background-image:url("+i+")"}),t.after(n),t.after('
')};if(t.wrap(e("
",{class:"owl-video-wrapper",style:s})),this._core.settings.lazyLoad&&(o="data-src",l="owl-lazy"),r.length)return d(r.attr(o)),r.remove(),!1;"youtube"===i.type?(a="//img.youtube.com/vi/"+i.id+"/hqdefault.jpg",d(a)):"vimeo"===i.type?e.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){a=e[0].thumbnail_large,d(a)}}):"vzaar"===i.type&&e.ajax({type:"GET",url:"//vzaar.com/api/videos/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){a=e.framegrab_url,d(a)}})},a.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},a.prototype.play=function(t){var i,n=e(t.target).closest("."+this._core.settings.itemClass),a=this._videos[n.attr("data-video")],s=a.width||"100%",r=a.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),n=this._core.items(this._core.relative(n.index())),this._core.reset(n.index()),(i=e('')).attr("height",r),i.attr("width",s),"youtube"===a.type?i.attr("src","//www.youtube.com/embed/"+a.id+"?autoplay=1&rel=0&v="+a.id):"vimeo"===a.type?i.attr("src","//player.vimeo.com/video/"+a.id+"?autoplay=1"):"vzaar"===a.type&&i.attr("src","//view.vzaar.com/"+a.id+"/player?autoplay=true"),e(i).wrap('
').insertAfter(n.find(".owl-video")),this._playing=n.addClass("owl-video-playing"))},a.prototype.isInFullScreen=function(){var t=i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement;return t&&e(t).parent().hasClass("owl-video-frame")},a.prototype.destroy=function(){var e,t;for(e in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.Video=a}(window.Zepto||window.jQuery,window,document),function(e,t,i,n){var a=function(t){this.core=t,this.core.options=e.extend({},a.Defaults,this.core.options),this.swapping=!0,this.previous=n,this.next=n,this.handlers={"change.owl.carousel":e.proxy(function(e){e.namespace&&"position"==e.property.name&&(this.previous=this.core.current(),this.next=e.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":e.proxy(function(e){e.namespace&&(this.swapping="translated"==e.type)},this),"translate.owl.carousel":e.proxy(function(e){e.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};a.Defaults={animateOut:!1,animateIn:!1},a.prototype.swap=function(){if(1===this.core.settings.items&&e.support.animation&&e.support.transition){this.core.speed(0);var t,i=e.proxy(this.clear,this),n=this.core.$stage.children().eq(this.previous),a=this.core.$stage.children().eq(this.next),s=this.core.settings.animateIn,r=this.core.settings.animateOut;this.core.current()!==this.previous&&(r&&(t=this.core.coordinates(this.previous)-this.core.coordinates(this.next),n.one(e.support.animation.end,i).css({left:t+"px"}).addClass("animated owl-animated-out").addClass(r)),s&&a.one(e.support.animation.end,i).addClass("animated owl-animated-in").addClass(s))}},a.prototype.clear=function(t){e(t.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},a.prototype.destroy=function(){var e,t;for(e in this.handlers)this.core.$element.off(e,this.handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.Animate=a}(window.Zepto||window.jQuery,window,document),function(e,t,i,n){var a=function(t){this._core=t,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":e.proxy(function(e){e.namespace&&"settings"===e.property.name?this._core.settings.autoplay?this.play():this.stop():e.namespace&&"position"===e.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":e.proxy(function(e,t,i){e.namespace&&this.play(t,i)},this),"stop.owl.autoplay":e.proxy(function(e){e.namespace&&this.stop()},this),"mouseover.owl.autoplay":e.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":e.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":e.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":e.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=e.extend({},a.Defaults,this._core.options)};a.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},a.prototype._next=function(n){this._call=t.setTimeout(e.proxy(this._next,this,n),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||i.hidden||this._core.next(n||this._core.settings.autoplaySpeed)},a.prototype.read=function(){return(new Date).getTime()-this._time},a.prototype.play=function(i,n){var a;this._core.is("rotating")||this._core.enter("rotating"),i=i||this._core.settings.autoplayTimeout,a=Math.min(this._time%(this._timeout||i),i),this._paused?(this._time=this.read(),this._paused=!1):t.clearTimeout(this._call),this._time+=this.read()%i-a,this._timeout=i,this._call=t.setTimeout(e.proxy(this._next,this,n),i-a)},a.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,t.clearTimeout(this._call),this._core.leave("rotating"))},a.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,t.clearTimeout(this._call))},a.prototype.destroy=function(){var e,t;for(e in this.stop(),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.autoplay=a}(window.Zepto||window.jQuery,window,document),function(e,t,i,n){"use strict";var a=function(t){this._core=t,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":e.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.push('
'+e(t.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"
")},this),"added.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.splice(e.position,0,this._templates.pop())},this),"remove.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.splice(e.position,1)},this),"changed.owl.carousel":e.proxy(function(e){e.namespace&&"position"==e.property.name&&this.draw()},this),"initialized.owl.carousel":e.proxy(function(e){e.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":e.proxy(function(e){e.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=e.extend({},a.Defaults,this._core.options),this.$element.on(this._handlers)};a.Defaults={nav:!1,navText:['',''],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},a.prototype.initialize=function(){var t,i=this._core.settings;for(t in this._controls.$relative=(i.navContainer?e(i.navContainer):e("
").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=e("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",e.proxy(function(e){this.prev(i.navSpeed)},this)),this._controls.$next=e("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",e.proxy(function(e){this.next(i.navSpeed)},this)),i.dotsData||(this._templates=[e('',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},e.fn.magnificPopup=function(i){f();var n=e(this);if("string"==typeof i)if("open"===i){var a,s=l?n.data("magnificPopup"):n[0].magnificPopup,r=parseInt(arguments[1],10)||0;s.items?a=s.items[r]:(a=n,s.delegate&&(a=a.find(s.delegate)),a=a.eq(r)),t._openClick({mfpEl:a},n,s)}else t.isOpen&&t[i].apply(t,Array.prototype.slice.call(arguments,1));else i=e.extend(!0,{},i),l?n.data("magnificPopup",i):n[0].magnificPopup=i,t.addGroup(n,i);return n};var m,g,v,y=function(){v&&(g.after(v.addClass(m)).detach(),v=null)};e.magnificPopup.registerModule("inline",{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){t.types.push("inline"),d("Close.inline",function(){y()})},getInline:function(i,n){if(y(),i.src){var a=t.st.inline,s=e(i.src);if(s.length){var r=s[0].parentNode;r&&r.tagName&&(g||(m=a.hiddenClass,g=u(m),m="mfp-"+m),v=s.after(g).detach().removeClass(m)),t.updateStatus("ready")}else t.updateStatus("error",a.tNotFound),s=e("
");return i.inlineElement=s,s}return t.updateStatus("ready"),t._parseMarkup(n,{},i),n}}});var b,w=function(){b&&e(document.body).removeClass(b)},_=function(){w(),t.req&&t.req.abort()};e.magnificPopup.registerModule("ajax",{options:{settings:null,cursor:"mfp-ajax-cur",tError:'The content could not be loaded.'},proto:{initAjax:function(){t.types.push("ajax"),b=t.st.ajax.cursor,d("Close.ajax",_),d("BeforeChange.ajax",_)},getAjax:function(i){b&&e(document.body).addClass(b),t.updateStatus("loading");var n=e.extend({url:i.src,success:function(n,a,s){var r={data:n,xhr:s};h("ParseAjax",r),t.appendContent(e(r.data),"ajax"),i.finished=!0,w(),t._setFocus(),setTimeout(function(){t.wrap.addClass("mfp-ready")},16),t.updateStatus("ready"),h("AjaxContentAdded")},error:function(){w(),i.finished=i.loadError=!0,t.updateStatus("error",t.st.ajax.tError.replace("%url%",i.src))}},t.st.ajax.settings);return t.req=e.ajax(n),""}}});var T,x,C=function(i){if(i.data&&void 0!==i.data.title)return i.data.title;var n=t.st.image.titleSrc;if(n){if(e.isFunction(n))return n.call(t,i);if(i.el)return i.el.attr(n)||""}return""};e.magnificPopup.registerModule("image",{options:{markup:'
',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'The image could not be loaded.'},proto:{initImage:function(){var i=t.st.image,n=".image";t.types.push("image"),d("Open"+n,function(){"image"===t.currItem.type&&i.cursor&&e(document.body).addClass(i.cursor)}),d("Close"+n,function(){i.cursor&&e(document.body).removeClass(i.cursor),c.off("resize.mfp")}),d("Resize"+n,t.resizeImage),t.isLowIE&&d("AfterChange",t.resizeImage)},resizeImage:function(){var e=t.currItem;if(e&&e.img&&t.st.image.verticalFit){var i=0;t.isLowIE&&(i=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",t.wH-i)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,T&&clearInterval(T),e.isCheckingImgSize=!1,h("ImageHasSize",e),e.imgHidden&&(t.content&&t.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(e){var i=0,n=e.img[0],a=function(s){T&&clearInterval(T),T=setInterval(function(){n.naturalWidth>0?t._onImageHasSize(e):(i>200&&clearInterval(T),3==++i?a(10):40===i?a(50):100===i&&a(500))},s)};a(1)},getImage:function(i,n){var a=0,s=function(){i&&(i.img[0].complete?(i.img.off(".mfploader"),i===t.currItem&&(t._onImageHasSize(i),t.updateStatus("ready")),i.hasSize=!0,i.loaded=!0,h("ImageLoadComplete")):++a<200?setTimeout(s,100):r())},r=function(){i&&(i.img.off(".mfploader"),i===t.currItem&&(t._onImageHasSize(i),t.updateStatus("error",o.tError.replace("%url%",i.src))),i.hasSize=!0,i.loaded=!0,i.loadError=!0)},o=t.st.image,l=n.find(".mfp-img");if(l.length){var c=document.createElement("img");c.className="mfp-img",i.el&&i.el.find("img").length&&(c.alt=i.el.find("img").attr("alt")),i.img=e(c).on("load.mfploader",s).on("error.mfploader",r),c.src=i.src,c.srcset=i.srcset,c.sizes=i.sizes,l.is("img")&&(i.img=i.img.clone()),(c=i.img[0]).naturalWidth>0?i.hasSize=!0:c.width||(i.hasSize=!1)}return t._parseMarkup(n,{title:C(i),img_replaceWith:i.img},i),t.resizeImage(),i.hasSize?(T&&clearInterval(T),i.loadError?(n.addClass("mfp-loading"),t.updateStatus("error",o.tError.replace("%url%",i.src))):(n.removeClass("mfp-loading"),t.updateStatus("ready")),n):(t.updateStatus("loading"),i.loading=!0,i.hasSize||(i.imgHidden=!0,n.addClass("mfp-loading"),t.findImageSize(i)),n)}}}),e.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,i=t.st.zoom,n=".zoom";if(i.enabled&&t.supportsTransition){var a,s,r=i.duration,o=function(e){var t=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),n="all "+i.duration/1e3+"s "+i.easing,a={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},s="transition";return a["-webkit-"+s]=a["-moz-"+s]=a["-o-"+s]=a[s]=n,t.css(a),t},l=function(){t.content.css("visibility","visible")};d("BuildControls"+n,function(){if(t._allowZoom()){if(clearTimeout(a),t.content.css("visibility","hidden"),!(e=t._getItemToZoom()))return void l();(s=o(e)).css(t._getOffset()),t.wrap.append(s),a=setTimeout(function(){s.css(t._getOffset(!0)),a=setTimeout(function(){l(),setTimeout(function(){s.remove(),e=s=null,h("ZoomAnimationEnded")},16)},r)},16)}}),d("BeforeClose"+n,function(){if(t._allowZoom()){if(clearTimeout(a),t.st.removalDelay=r,!e){if(!(e=t._getItemToZoom()))return;s=o(e)}s.css(t._getOffset(!0)),t.wrap.append(s),t.content.css("visibility","hidden"),setTimeout(function(){s.css(t._getOffset())},16)}}),d("Close"+n,function(){t._allowZoom()&&(l(),s&&s.remove(),e=null)})}},_allowZoom:function(){return"image"===t.currItem.type},_getItemToZoom:function(){return!!t.currItem.hasSize&&t.currItem.img},_getOffset:function(i){var n,a=(n=i?t.currItem.img:t.st.zoom.opener(t.currItem.el||t.currItem)).offset(),s=parseInt(n.css("padding-top"),10),r=parseInt(n.css("padding-bottom"),10);a.top-=e(window).scrollTop()-s;var o={width:n.width(),height:(l?n.innerHeight():n[0].offsetHeight)-r-s};return void 0===x&&(x=void 0!==document.createElement("p").style.MozTransform),x?o["-moz-transform"]=o.transform="translate("+a.left+"px,"+a.top+"px)":(o.left=a.left,o.top=a.top),o}}});var S=function(e){if(t.currTemplate.iframe){var i=t.currTemplate.iframe.find("iframe");i.length&&(e||(i[0].src="//about:blank"),t.isIE8&&i.css("display",e?"block":"none"))}};e.magnificPopup.registerModule("iframe",{options:{markup:'
',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){t.types.push("iframe"),d("BeforeChange",function(e,t,i){t!==i&&("iframe"===t?S():"iframe"===i&&S(!0))}),d("Close.iframe",function(){S()})},getIframe:function(i,n){var a=i.src,s=t.st.iframe;e.each(s.patterns,function(){if(a.indexOf(this.index)>-1)return this.id&&(a="string"==typeof this.id?a.substr(a.lastIndexOf(this.id)+this.id.length,a.length):this.id.call(this,a)),a=this.src.replace("%id%",a),!1});var r={};return s.srcAction&&(r[s.srcAction]=a),t._parseMarkup(n,r,i),t.updateStatus("ready"),n}}});var E=function(e){var i=t.items.length;return e>i-1?e-i:e<0?i+e:e},P=function(e,t,i){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,i)};e.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var i=t.st.gallery,a=".mfp-gallery";if(t.direction=!0,!i||!i.enabled)return!1;s+=" mfp-gallery",d("Open"+a,function(){i.navigateByImgClick&&t.wrap.on("click"+a,".mfp-img",function(){if(t.items.length>1)return t.next(),!1}),n.on("keydown"+a,function(e){37===e.keyCode?t.prev():39===e.keyCode&&t.next()})}),d("UpdateStatus"+a,function(e,i){i.text&&(i.text=P(i.text,t.currItem.index,t.items.length))}),d("MarkupParse"+a,function(e,n,a,s){var r=t.items.length;a.counter=r>1?P(i.tCounter,s.index,r):""}),d("BuildControls"+a,function(){if(t.items.length>1&&i.arrows&&!t.arrowLeft){var n=i.arrowMarkup,a=t.arrowLeft=e(n.replace(/%title%/gi,i.tPrev).replace(/%dir%/gi,"left")).addClass("mfp-prevent-close"),s=t.arrowRight=e(n.replace(/%title%/gi,i.tNext).replace(/%dir%/gi,"right")).addClass("mfp-prevent-close");a.click(function(){t.prev()}),s.click(function(){t.next()}),t.container.append(a.add(s))}}),d("Change"+a,function(){t._preloadTimeout&&clearTimeout(t._preloadTimeout),t._preloadTimeout=setTimeout(function(){t.preloadNearbyImages(),t._preloadTimeout=null},16)}),d("Close"+a,function(){n.off(a),t.wrap.off("click"+a),t.arrowRight=t.arrowLeft=null})},next:function(){t.direction=!0,t.index=E(t.index+1),t.updateItemHTML()},prev:function(){t.direction=!1,t.index=E(t.index-1),t.updateItemHTML()},goTo:function(e){t.direction=e>=t.index,t.index=e,t.updateItemHTML()},preloadNearbyImages:function(){var e,i=t.st.gallery.preload,n=Math.min(i[0],t.items.length),a=Math.min(i[1],t.items.length);for(e=1;e<=(t.direction?a:n);e++)t._preloadItem(t.index+e);for(e=1;e<=(t.direction?n:a);e++)t._preloadItem(t.index-e)},_preloadItem:function(i){if(i=E(i),!t.items[i].preloaded){var n=t.items[i];n.parsed||(n=t.parseEl(i)),h("LazyLoad",n),"image"===n.type&&(n.img=e('').on("load.mfploader",function(){n.hasSize=!0}).on("error.mfploader",function(){n.hasSize=!0,n.loadError=!0,h("LazyLoadError",n)}).attr("src",n.src).attr("srcset",n.srcset).attr("sizes",n.sizes)),n.preloaded=!0}}}}),e.magnificPopup.registerModule("retina",{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var e=t.st.retina,i=e.ratio;(i=isNaN(i)?i():i)>1&&(d("ImageHasSize.retina",function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/i,width:"100%"})}),d("ElementParse.retina",function(t,n){n.src=e.replaceSrc(n,i)}))}}}}),f()}),window.SEMICOLON_lightboxInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e=$(this),t=e.attr("data-lightbox"),i=e.attr("data-close-button")||"outside",n=e.attr("data-disable-under")||600,a=$("body");i="inside"==i,"image"==t&&e.magnificPopup({type:"image",closeOnContentClick:!0,closeBtnInside:i,fixedContentPos:!0,mainClass:"mfp-no-margins mfp-fade",image:{verticalFit:!0}}),"gallery"==t&&(e.find('a[data-lightbox="gallery-item"]').parent(".clone").hasClass("clone")&&e.find('a[data-lightbox="gallery-item"]').parent(".clone").find('a[data-lightbox="gallery-item"]').attr("data-lightbox",""),e.find('a[data-lightbox="gallery-item"]').parents(".cloned").hasClass("cloned")&&e.find('a[data-lightbox="gallery-item"]').parents(".cloned").find('a[data-lightbox="gallery-item"]').attr("data-lightbox",""),e.magnificPopup({delegate:'a[data-lightbox="gallery-item"]',type:"image",closeOnContentClick:!0,closeBtnInside:i,fixedContentPos:!0,mainClass:"mfp-no-margins mfp-fade",image:{verticalFit:!0},gallery:{enabled:!0,navigateByImgClick:!0,preload:[0,1]}})),"iframe"==t&&e.magnificPopup({disableOn:Number(n),type:"iframe",removalDelay:160,preloader:!1,fixedContentPos:!1}),"inline"==t&&e.magnificPopup({type:"inline",mainClass:"mfp-no-margins mfp-fade",closeBtnInside:i,fixedContentPos:!0,overflowY:"scroll"}),"ajax"==t&&e.magnificPopup({type:"ajax",closeBtnInside:i,autoFocusLast:!1,callbacks:{ajaxContentAdded:function(e){SEMICOLON.widget.loadFlexSlider(),SEMICOLON.initialize.resizeVideos(),SEMICOLON.widget.masonryThumbs()},open:function(){a.addClass("ohidden")},close:function(){a.removeClass("ohidden")}}}),"ajax-gallery"==t&&e.magnificPopup({delegate:'a[data-lightbox="ajax-gallery-item"]',type:"ajax",closeBtnInside:i,autoFocusLast:!1,gallery:{enabled:!0,preload:0,navigateByImgClick:!1},callbacks:{ajaxContentAdded:function(e){SEMICOLON.widget.loadFlexSlider(),SEMICOLON.initialize.resizeVideos(),SEMICOLON.widget.masonryThumbs()},open:function(){a.addClass("ohidden")},close:function(){a.removeClass("ohidden")}}}),e.on("mfpOpen",function(){let e=$.magnificPopup.instance.currItem.el,t=$(e).attr("data-lightbox-class"),i=$(e).attr("data-lightbox-bg-class");""!=t&&$($.magnificPopup.instance.container).addClass(t),""!=i&&$($.magnificPopup.instance.bgOverlay).addClass(i)})})},window.SEMICOLON_modalInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e=$(this),t=e.attr("data-target"),i=t.split("#")[1],n=e.attr("data-delay")||500,a=e.attr("data-timeout"),s=e.attr("data-animate-in"),r=e.attr("data-animate-out"),o=e.attr("data-bg-click"),l=e.attr("data-close-btn"),c=e.attr("data-cookies"),d=e.attr("data-cookie-path"),u=e.attr("data-cookie-expire");if("false"==c&&Cookies.remove(i),"true"==c){let e=Cookies.get(i);if(void 0!==e&&"0"==e)return!0}o="false"!=o,l="false"!=l,n=Number(n)+500,setTimeout(function(){$.magnificPopup.open({items:{src:t},type:"inline",mainClass:"mfp-no-margins mfp-fade",closeBtnInside:!1,fixedContentPos:!0,closeOnBgClick:o,showCloseBtn:l,removalDelay:500,callbacks:{open:function(){""!=s&&$(t).addClass(s+" animated")},beforeClose:function(){""!=r&&$(t).removeClass(s).addClass(r)},afterClose:function(){if(""==s&&""==r||$(t).removeClass(s+" "+r+" animated"),"true"==c){let e={};u&&(e.expires=Number(u)),d&&(e.path=d),Cookies.set(i,"0",e)}}}},0)},n),""!=a&&setTimeout(function(){$.magnificPopup.close()},n+Number(a))})},window.scwLinkScrollPlugin=window.scwLinkScrollPlugin||{},function(e,t){function i(e,t,i){var n=d[t.type]||{};return null==e?i||!t.def?null:t.def:(e=n.floor?~~e:parseFloat(e),isNaN(e)?t.def:n.mod?(e+n.mod)%n.mod:0>e?0:n.max6*(i=(i+1)%1)?e+(t-e)*i*6:1>2*i?t:2>3*i?e+(t-e)*(2/3-i)*6:e}var s,r=/^([\-+])=\s*(\d+\.?\d*)/,o=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[2.55*e[1],2.55*e[2],2.55*e[3],e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],l=e.Color=function(t,i,n,a){return new e.Color.fn.parse(t,i,n,a)},c={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},d={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},u=l.support={},h=e("

")[0],p=e.each;h.style.cssText="background-color:rgba(1,1,1,.5)",u.rgba=h.style.backgroundColor.indexOf("rgba")>-1,p(c,function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}}),l.fn=e.extend(l.prototype,{parse:function(a,r,o,d){if(a===t)return this._rgba=[null,null,null,null],this;(a.jquery||a.nodeType)&&(a=e(a).css(r),r=t);var u=this,h=e.type(a),f=this._rgba=[];return r!==t&&(a=[a,r,o,d],h="array"),"string"===h?this.parse(n(a)||s._default):"array"===h?(p(c.rgba.props,function(e,t){f[t.idx]=i(a[t.idx],t)}),this):"object"===h?(p(c,a instanceof l?function(e,t){a[t.cache]&&(u[t.cache]=a[t.cache].slice())}:function(t,n){var s=n.cache;p(n.props,function(e,t){if(!u[s]&&n.to){if("alpha"===e||null==a[e])return;u[s]=n.to(u._rgba)}u[s][t.idx]=i(a[e],t,!0)}),u[s]&&e.inArray(null,u[s].slice(0,3))<0&&(u[s][3]=1,n.from&&(u._rgba=n.from(u[s])))}),this):void 0},is:function(e){var t=l(e),i=!0,n=this;return p(c,function(e,a){var s,r=t[a.cache];return r&&(s=n[a.cache]||a.to&&a.to(n._rgba)||[],p(a.props,function(e,t){return null!=r[t.idx]?i=r[t.idx]===s[t.idx]:void 0})),i}),i},_space:function(){var e=[],t=this;return p(c,function(i,n){t[n.cache]&&e.push(i)}),e.pop()},transition:function(e,t){var n=l(e),a=n._space(),s=c[a],r=0===this.alpha()?l("transparent"):this,o=r[s.cache]||s.to(r._rgba),u=o.slice();return n=n[s.cache],p(s.props,function(e,a){var s=a.idx,r=o[s],l=n[s],c=d[a.type]||{};null!==l&&(null===r?u[s]=l:(c.mod&&(l-r>c.mod/2?r+=c.mod:r-l>c.mod/2&&(r-=c.mod)),u[s]=i((l-r)*t+r,a)))}),this[a](u)},blend:function(t){if(1===this._rgba[3])return this;var i=this._rgba.slice(),n=i.pop(),a=l(t)._rgba;return l(e.map(i,function(e,t){return(1-n)*a[t]+n*e}))},toRgbaString:function(){var t="rgba(",i=e.map(this._rgba,function(e,t){return null==e?t>2?1:0:e});return 1===i[3]&&(i.pop(),t="rgb("),t+i.join()+")"},toHslaString:function(){var t="hsla(",i=e.map(this.hsla(),function(e,t){return null==e&&(e=t>2?1:0),t&&3>t&&(e=Math.round(100*e)+"%"),e});return 1===i[3]&&(i.pop(),t="hsl("),t+i.join()+")"},toHexString:function(t){var i=this._rgba.slice(),n=i.pop();return t&&i.push(~~(255*n)),"#"+e.map(i,function(e){return 1===(e=(e||0).toString(16)).length?"0"+e:e}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),l.fn.parse.prototype=l.fn,c.hsla.to=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t,i,n=e[0]/255,a=e[1]/255,s=e[2]/255,r=e[3],o=Math.max(n,a,s),l=Math.min(n,a,s),c=o-l,d=o+l,u=.5*d;return t=l===o?0:n===o?60*(a-s)/c+360:a===o?60*(s-n)/c+120:60*(n-a)/c+240,i=0===c?0:.5>=u?c/d:c/(2-d),[Math.round(t)%360,i,u,null==r?1:r]},c.hsla.from=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t=e[0]/360,i=e[1],n=e[2],s=e[3],r=.5>=n?n*(1+i):n+i-n*i,o=2*n-r;return[Math.round(255*a(o,r,t+1/3)),Math.round(255*a(o,r,t)),Math.round(255*a(o,r,t-1/3)),s]},p(c,function(n,a){var s=a.props,o=a.cache,c=a.to,d=a.from;l.fn[n]=function(n){if(c&&!this[o]&&(this[o]=c(this._rgba)),n===t)return this[o].slice();var a,r=e.type(n),u="array"===r||"object"===r?n:arguments,h=this[o].slice();return p(s,function(e,t){var n=u["object"===r?e:t.idx];null==n&&(n=h[t.idx]),h[t.idx]=i(n,t)}),d?((a=l(d(h)))[o]=h,a):l(h)},p(s,function(t,i){l.fn[t]||(l.fn[t]=function(a){var s,o=e.type(a),l="alpha"===t?this._hsla?"hsla":"rgba":n,c=this[l](),d=c[i.idx];return"undefined"===o?d:("function"===o&&(a=a.call(this,d),o=e.type(a)),null==a&&i.empty?this:("string"===o&&((s=r.exec(a))&&(a=d+parseFloat(s[2])*("+"===s[1]?1:-1))),c[i.idx]=a,this[l](c)))})})}),l.hook=function(t){var i=t.split(" ");p(i,function(t,i){e.cssHooks[i]={set:function(t,a){var s,r,o="";if("transparent"!==a&&("string"!==e.type(a)||(s=n(a)))){if(a=l(s||a),!u.rgba&&1!==a._rgba[3]){for(r="backgroundColor"===i?t.parentNode:t;(""===o||"transparent"===o)&&r&&r.style;)try{o=e.css(r,"backgroundColor"),r=r.parentNode}catch(e){}a=a.blend(o&&"transparent"!==o?o:"_default")}a=a.toRgbaString()}try{t.style[i]=a}catch(e){}}},e.fx.step[i]=function(t){t.colorInit||(t.start=l(t.elem,i),t.end=l(t.end),t.colorInit=!0),e.cssHooks[i].set(t.elem,t.start.transition(t.end,t.pos))}})},l.hook("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),e.cssHooks.borderColor={expand:function(e){var t={};return p(["Top","Right","Bottom","Left"],function(i,n){t["border"+n+"Color"]=e}),t}},s=e.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(jQuery);let windowElLs=jQuery(window),$bodyLs=jQuery("body"),$pageSectionElLs,locationHashLs=location.hash;window.SEMICOLON_linkScrollInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;if($('[data-scrollto="'+locationHashLs+'"]').length>0){windowElLs.on("beforeunload",function(){windowElLs.scrollTop(0)}),windowElLs.scrollTop(0);let e=$(locationHashLs);e.length>0&&setTimeout(function(){let t=e.offset().top,i=JSON.parse(e.attr("data-scrollto-settings"));$("html,body").stop(!0,!0).animate({scrollTop:t-Number(i.offset)},i.speed,i.easing,function(){i.highlight&&(e.find(".highlight-me").length>0?(e.find(".highlight-me").animate({backgroundColor:i.highlight},300),setTimeout(function(){e.find(".highlight-me").animate({backgroundColor:"transparent"},300)},500)):(e.animate({backgroundColor:i.highlight},300),setTimeout(function(){e.animate({backgroundColor:"transparent"},300)},500)))})},1200)}e.each(function(){let e=$(this).attr("data-scrollto"),t=$(e);if(t.length>0){let i=SEMICOLON_linkScrollSettings(e,$('[data-scrollto="'+e+'"]'));setTimeout(function(){t.attr("data-scrollto-settings",JSON.stringify(i)),$pageSectionElLs=$("[data-scrollto-settings]")},1e3)}}),e.off("click").on("click",function(){let e=$(this),t=e.attr("data-scrollto"),i=$(t);if(e.parents(".primary-menu").hasClass("on-click"))return!0;if(i.length>0){let e=JSON.parse(i.attr("data-scrollto-settings"));return $("html,body").stop(!0).animate({scrollTop:i.offset().top-Number(e.offset)},Number(e.speed),e.easing,function(){e.highlight&&(i.find(".highlight-me").length>0?(i.find(".highlight-me").animate({backgroundColor:e.highlight},300),setTimeout(function(){i.find(".highlight-me").animate({backgroundColor:"transparent"},300)},500)):(i.animate({backgroundColor:e.highlight},300),setTimeout(function(){i.animate({backgroundColor:"transparent"},300)},500)))}),!1}})},window.SEMICOLON_linkScrollSettings=function(e,t){if(void 0===e&&t.length<1)return!0;let i={},n=($(e).offset().top,t.attr("data-speed")||1250),a=t.attr("data-offset")||SEMICOLON.initialize.topScrollOffset(),s=t.attr("data-easing")||"easeOutQuad",r=t.attr("data-highlight"),o=t.attr("data-offset-xxl"),l=t.attr("data-offset-xl"),c=t.attr("data-offset-lg"),d=t.attr("data-offset-md"),u=t.attr("data-offset-sm"),h=t.attr("data-offset-xs");return h||(h=a),u||(u=h),d||(d=u),c||(c=d),l||(l=c),o||(o=l),$bodyLs.hasClass("device-xxl")?a=o:$bodyLs.hasClass("device-xl")?a=l:$bodyLs.hasClass("device-lg")?a=c:$bodyLs.hasClass("device-md")?a=d:$bodyLs.hasClass("device-sm")?a=u:$bodyLs.hasClass("device-xs")&&(a=h),i.offset=Number(a),i.speed=n,i.easing=s,i.highlight=r,i},window.scwMasonryThumbsPlugin=window.scwMasonryThumbsPlugin||{},window.SEMICOLON_masonryThumbsInit=function(e){if(e.length<1)return!0;$("body");e.each(function(){let e=$(this),t=e.attr("data-big");e.children().css({width:""});let i=e.children().eq(0).outerWidth();if(e.filter(".has-init-isotope").isotope({masonry:{columnWidth:i}}),t){t=t.split(",");let i="",n="";for(n=0;n a").append(' '),e.hasClass("on-hover")?e.find("ul li:has(ul):not(.active)").hover(function(e){$(this).children("ul").stop(!0,!0).slideDown(Number(t),i)},function(){$(this).children("ul").delay(250).slideUp(Number(t),i)}):e.find("ul li:has(ul) > a").off("click").on("click",function(n){let a=$(this);e.find("ul li").not(a.parents()).removeClass("active"),a.parent().children("ul").slideToggle(Number(t),i,function(){$(this).find("ul").hide(),$(this).find("li.active").removeClass("active")}),e.find("ul li > ul").not(a.parent().children("ul")).not(a.parents("ul")).slideUp(Number(t),i),a.parent("li:has(ul)").toggleClass("active"),n.preventDefault()})})},window.scwNotificationPlugin=window.scwNotificationPlugin||{},window.SEMICOLON_notificationInit=function(e){let t,i,n,a=e=e.filter(":not(.customjs)"),s=a.attr("data-notify-position")||"top-right",r=a.attr("data-notify-type"),o=a.attr("data-notify-msg")||"Please set a message!",l=a.attr("data-notify-timeout")||5e3,c=a.attr("data-notify-close")||"true",d=a.attr("data-notify-autohide")||"true",u="toast-"+Math.floor(1e4*Math.random()),h=a.attr("data-notify-trigger")||"self",p=a.attr("data-notify-target"),f="";switch(r){case"primary":i="text-white bg-primary border-0";break;case"warning":i="text-dark bg-warning border-0";break;case"error":i="text-white bg-danger border-0";break;case"success":i="text-white bg-success border-0";break;case"info":i="bg-info text-dark border-0";break;case"dark":i="text-white bg-dark border-0";break;default:i=""}switch(s){case"top-left":t="top-0 start-0";break;case"top-center":t="top-0 start-50 translate-middle-x";break;case"middle-left":t="top-50 start-0 translate-middle-y";break;case"middle-center":t="top-50 start-50 translate-middle";break;case"middle-right":t="top-50 end-0 translate-middle-y";break;case"bottom-left":t="bottom-0 start-0";break;case"bottom-center":t="bottom-0 start-50 translate-middle-x";break;case"bottom-right":t="bottom-0 end-0";break;default:t="top-0 end-0"}n="info"!=r&&"warning"!=r&&r?"btn-close-white":"","true"==c&&(f=''),d="true"==d;let m='

";"self"==h&&(p||(a.attr("data-notify-target","#"+u),$("body").append(m))),[].slice.call(document.querySelectorAll(".toast")).map(function(e){return new bootstrap.Toast(e)}).forEach(e=>{e.hide()});let g=a.attr("data-notify-target");if($(g).length>0){new bootstrap.Toast($(g).get(0),{delay:Number(l),autohide:d}).show()}return!1},window.scwOnePageModulePlugin=window.scwOnePageModulePlugin||{};let $onePageMenu,windowEl=$(window),windowWidth=windowEl.width(),$body=$("body"),$pageSectionEl,locationHash=location.hash,onePageMenuActiveClass;function sm_format_twitter(e){for(var t=[],i=0;i]*[^.,;'">\:\s\<\>\)\]\!])/g,function(e){return''+e+""}).replace(/\B@([_a-z0-9]+)/gi,function(e){return e.charAt(0)+''+e.substring(1)+""});t.push('
  • ")}return t.join("")}function sm_format_twitter2(e){for(var t=[],i=0;i]*[^.,;'">\:\s\<\>\)\]\!])/g,function(e){return''+e+""}).replace(/\B@([_a-z0-9]+)/gi,function(e){return e.charAt(0)+''+e.substring(1)+""});t.push('")}return t.join("")}function sm_format_twitter3(e){for(var t=[],i=0;i]*[^.,;'">\:\s\<\>\)\]\!])/g,function(e){return''+e+""}).replace(/\B@([_a-z0-9]+)/gi,function(e){return e.charAt(0)+''+e.substring(1)+""});t.push('")}return t.join("")}function relative_time(e){var t=e.split(" ");e=t[1]+" "+t[2]+", "+t[5]+" "+t[3];var i=Date.parse(e),n=arguments.length>1?arguments[1]:new Date,a=parseInt((n.getTime()-i)/1e3);return(a+=60*n.getTimezoneOffset())<60?"less than a minute ago":a<120?"about a minute ago":a<3600?parseInt(a/60).toString()+" minutes ago":a<7200?"about an hour ago":a<86400?"about "+parseInt(a/3600).toString()+" hours ago":a<172800?"1 day ago":parseInt(a/86400).toString()+" days ago"}window.SEMICOLON_onePageModule=function(e){if(($onePageMenu=e.filter(":not(.customjs)")).length<1)return!0;if($('a[data-href="'+locationHash+'"]').parents(".one-page-menu").length>0){windowEl.on("beforeunload",function(){windowEl.scrollTop(0)}),windowEl.scrollTop(0);let e=$(locationHash);e.length>0&&setTimeout(function(){let t=e.offset().top,i=JSON.parse(e.attr("data-onepage-settings"));$("html,body").stop(!0,!0).animate({scrollTop:t-Number(i.offset)},i.speed,i.easing)},1200)}let t=setInterval(function(){"pluginOnePageModuleReady"in scwEvents&&(windowEl.scrollEnd(function(){SEMICOLON_onePageScroller()},500),clearInterval(t))},1e3);$onePageMenu.each(function(){let t=$(this);onePageMenuActiveClass=t.attr("data-active-class")||"current",$onePageMenu=t,t.hasClass("no-offset")&&(elOffset=0);let i=t.find("a[data-href]");i.each(function(){let e=$(this).attr("data-href"),t=$(e);if(t.length>0){let i=SEMICOLON_onePageSettings(e,$('a[data-href="'+e+'"]'));setTimeout(function(){t.attr("data-onepage-settings",JSON.stringify(i)),$pageSectionEl=$("[data-onepage-settings]")},1e3)}}),i.off("click").on("click",function(){let i=$(this).attr("data-href"),n=$(i);if(n.length>0){let a=JSON.parse(n.attr("data-onepage-settings"));t.find("li").removeClass(onePageMenuActiveClass),t.find('a[data-href="'+i+'"]').parent("li").addClass(onePageMenuActiveClass),(windowWidth<992||$body.hasClass("overlay-menu"))&&(e.parents(".primary-menu").filter(":not(.mobile-menu-off-canvas)").find(".menu-container").stop(!0,!0).slideUp(200),$(".primary-menu.mobile-menu-off-canvas .menu-container").toggleClass("d-block",!1),$("#page-menu").toggleClass("page-menu-open",!1),$body.toggleClass("primary-menu-open",!1)),setTimeout(function(){let e=n.offset().top;$("html,body").stop(!0,!0).animate({scrollTop:e-Number(a.offset)},Number(a.speed),a.easing)},250)}return!1})})},window.SEMICOLON_onePageScroller=function(){$onePageMenu.find("[data-href]").parent().removeClass(onePageMenuActiveClass),$onePageMenu.find('[data-href="#'+SEMICOLON_onePageCurrentSection()+'"]').parent().addClass(onePageMenuActiveClass)},window.SEMICOLON_onePageCurrentSection=function(){let e;return void 0===$pageSectionEl||($pageSectionEl.each(function(t){let i=$(this),n=JSON.parse(i.attr("data-onepage-settings")),a=i.offset().top-n.offset-5,s=windowEl.scrollTop();s>=a&&s0)||s&&this.length?(n.optionCheck.call(this,a)&&e("."+a.overlayClass).length<=0&&n.addOverlay.call(this,a),a.loading&&e("."+a.loadingClass).length<=0&&n.addLoading.call(this,a),this.each(function(){var s=this,r=e(this),o=e(window),l=e(document);r.data(i)||(a=e.extend({},a),r.data(i,{options:a}),a.timeout&&n.addTimer.call(s),a.onLoadEvent&&(t?(n.settings.timer&&clearTimeout(n.settings.timer),n.in.call(s)):o.on("load."+i,function(){n.settings.timer&&clearTimeout(n.settings.timer),n.in.call(s)})),o.on("pageshow."+i,function(e){e.originalEvent.persisted&&n.in.call(s)}),o.on("unload."+i,function(){}),l.on("click."+i,a.linkElement,function(t){t.preventDefault();var i=e(this),a=i.attr("href");2===t.which||t.metaKey||t.shiftKey||-1!==navigator.platform.toUpperCase().indexOf("WIN")&&t.ctrlKey?window.open(a,"_blank"):n.out.call(s,i,a)}))})):("console"in window||(window.console={},window.console.log=function(e){return e}),this.length||console.log("Animsition: Element does not exist on page."),s||console.log("Animsition: Does not support this browser."),n.destroy.call(this))},addOverlay:function(t){e(t.overlayParentElement).prepend('
    ')},addLoading:function(t){e(t.loadingParentElement).append('
    '+t.loadingInner+"
    ")},removeLoading:function(){var t=e(this).data(i).options;e(t.loadingParentElement).children("."+t.loadingClass).fadeOut().remove()},addTimer:function(){var t=this,a=e(this).data(i).options;n.settings.timer=setTimeout(function(){n.in.call(t),e(window).off("load."+i)},a.timeoutCountdown)},supportCheck:function(t){var i=e(this),n=t.browser,a=n.length,s=!1;0===a&&(s=!0);for(var r=0;a>r;r++)if("string"==typeof i.css(n[r])){s=!0;break}return s},optionCheck:function(t){var i=e(this);return!(!t.overlay&&!i.data(n.settings.data.overlay))},animationCheck:function(t,n,a){var s=e(this).data(i).options,r=typeof t,o=!n&&"number"===r,l=n&&"string"===r&&t.length>0;return o||l?t=t:n&&a?t=s.inClass:!n&&a?t=s.inDuration:n&&!a?t=s.outClass:n||a||(t=s.outDuration),t},in:function(){var t=this,a=e(this),s=a.data(i).options,r=a.data(n.settings.data.inDuration),o=a.data(n.settings.data.inClass),l=n.animationCheck.call(t,r,!1,!0),c=n.animationCheck.call(t,o,!0,!0),d=n.optionCheck.call(t,s),u=a.data(i).outClass;s.loading&&n.removeLoading.call(t),u&&a.removeClass(u),d?n.inOverlay.call(t,c,l):n.inDefault.call(t,c,l)},inDefault:function(t,i){var a=e(this);a.css({"animation-duration":i+"ms"}).addClass(t).trigger(n.settings.events.inStart).animateCallback(function(){a.removeClass(t).css({opacity:1}).trigger(n.settings.events.inEnd)})},inOverlay:function(t,a){var s=e(this),r=s.data(i).options;s.css({opacity:1}).trigger(n.settings.events.inStart),e(r.overlayParentElement).children("."+r.overlayClass).css({"animation-duration":a+"ms"}).addClass(t).animateCallback(function(){s.trigger(n.settings.events.inEnd)})},out:function(t,a){var s=this,r=e(this),o=r.data(i).options,l=t.data(n.settings.data.outClass),c=r.data(n.settings.data.outClass),d=t.data(n.settings.data.outDuration),u=r.data(n.settings.data.outDuration),h=l||c,p=d||u,f=n.animationCheck.call(s,h,!0,!1),m=n.animationCheck.call(s,p,!1,!1),g=n.optionCheck.call(s,o);r.data(i).outClass=f,g?n.outOverlay.call(s,f,m,a):n.outDefault.call(s,f,m,a)},outDefault:function(t,a,s){var r=e(this),o=r.data(i).options;r.css({"animation-duration":a+1+"ms"}).addClass(t).trigger(n.settings.events.outStart).animateCallback(function(){r.trigger(n.settings.events.outEnd),o.transition(s)})},outOverlay:function(t,a,s){var r=e(this),o=r.data(i).options,l=r.data(n.settings.data.inClass),c=n.animationCheck.call(this,l,!0,!0);e(o.overlayParentElement).children("."+o.overlayClass).css({"animation-duration":a+1+"ms"}).removeClass(c).addClass(t).trigger(n.settings.events.outStart).animateCallback(function(){r.trigger(n.settings.events.outEnd),o.transition(s)})},destroy:function(){return this.each(function(){var t=e(this);e(window).off("."+i),t.css({opacity:1}).removeData(i)})}};e.fn.animateCallback=function(t){var i="animationend webkitAnimationEnd";return this.each(function(){var n=e(this);n.on(i,function(){return n.off(i),t.call(this)})})},e.fn.animsition=function(t){return n[t]?n[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void e.error("Method "+t+" does not exist on jQuery."+i):n.init.apply(this,arguments)}}),window.SEMICOLON_pageTransitionInit=function(e){let t=$("body"),i=$("#wrapper");if(t.hasClass("no-transition"))return!0;if(!t.hasClass("page-transition"))return!0;if(!$().animsition)return t.addClass("no-transition"),console.log("pageTransition: Animsition not Defined."),!0;window.onpageshow=function(e){e.persisted&&window.location.reload()};let n=t.attr("data-animation-in")||"fadeIn",a=t.attr("data-animation-out")||"fadeOut",s=t.attr("data-speed-in")||1500,r=t.attr("data-speed-out")||800,o=!1,l=t.attr("data-loader-timeout"),c=t.attr("data-loader"),d=t.attr("data-loader-color"),u=t.attr("data-loader-html"),h="",p="",f="",m="",g="",v="",y="";l?(o=!0,l=Number(l)):(o=!1,l=!1),d&&("theme"==d?(m=" bg-color",g=" border-color",v=' class="bg-color"',y=' class="border-color"'):(p=' style="background-color:'+d+';"',f=' style="border-color:'+d+';"')),h="2"==c?'
    ":"3"==c?'
    ":"4"==c?'
    ":"5"==c?'
    ":"6"==c?'
    ":"7"==c?'
    ":"8"==c?'
    ":"9"==c?'
    ":"10"==c?'
    ":"11"==c?'
    ":"12"==c?'
    ":"13"==c?'
    ":"14"==c?'
    ":'
    ",u||(u=h),u='
    '+u+"
    ",i.css({opacity:1}),i.animsition({inClass:n,outClass:a,inDuration:Number(s),outDuration:Number(r),linkElement:'body:not(.device-md):not(.device-sm):not(.device-xs) .primary-menu:not(.on-click) .menu-link:not([target="_blank"]):not([href*="#"]):not([data-lightbox]):not([href^="mailto"]):not([href^="tel"]):not([href^="sms"]):not([href^="call"])',loading:!0,loadingParentElement:"body",loadingClass:"page-transition-wrap",loadingInner:u,timeout:o,timeoutCountdown:l,onLoadEvent:!0,browser:["animation-duration","-webkit-animation-duration"],overlay:!1,overlayClass:"animsition-overlay-slide",overlayParentElement:"body"})},function(e,t,i){"use strict";function n(i){if(a=t.documentElement,s=t.body,R(),ne=this,le=(i=i||{}).constants||{},i.easing)for(var n in i.easing)W[n]=i.easing[n];me=i.edgeStrategy||"set",re={beforerender:i.beforerender,render:i.render,keyframe:i.keyframe},(oe=!1!==i.forceHeight)&&(Le=i.scale||1),ce=i.mobileDeceleration||x,ue=!1!==i.smoothScrolling,he=i.smoothScrollingDuration||S,pe={targetTop:ne.getScrollTop()},(Be=(i.mobileCheck||function(){return/Android|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent||navigator.vendor||e.opera)})())?((se=t.getElementById(i.skrollrBody||C))&&ie(),q(),Ee(a,[y,_],[b])):Ee(a,[y,w],[b]),ne.refresh(),ye(e,"resize orientationchange",function(){var e=a.clientWidth,t=a.clientHeight;(t!==De||e!==Ye)&&(De=t,Ye=e,Ne=!0)});var r=F();return function e(){U(),ve=r(e)}(),ne}var a,s,r={get:function(){return ne},init:function(e){return ne||new n(e)},VERSION:"0.6.29"},o=Object.prototype.hasOwnProperty,l=e.Math,c=e.getComputedStyle,d="touchstart",u="touchmove",h="touchcancel",p="touchend",f="skrollable",m=f+"-before",g=f+"-between",v=f+"-after",y="skrollr",b="no-"+y,w=y+"-desktop",_=y+"-mobile",T="linear",x=.004,C="skrollr-body",S=200,E="center",P="bottom",k="___skrollable_id",M=/^(?:input|textarea|button|select)$/i,I=/^\s+|\s+$/g,O=/^data(?:-(_\w+))?(?:-?(-?\d*\.?\d+p?))?(?:-?(start|end|top|center|bottom))?(?:-?(top|center|bottom))?$/,L=/\s*(@?[\w\-\[\]]+)\s*:\s*(.+?)\s*(?:;|$)/gi,j=/^(@?[a-z\-]+)\[(\w+)\]$/,A=/-([a-z0-9_])/g,z=function(e,t){return t.toUpperCase()},Y=/[\-+]?[\d]*\.?[\d]+/g,D=/\{\?\}/g,N=/rgba?\(\s*-?\d+\s*,\s*-?\d+\s*,\s*-?\d+/g,$=/[a-z\-]+-gradient/g,B="",Q="",R=function(){var e=/^(?:O|Moz|webkit|ms)|(?:-(?:o|moz|webkit|ms)-)/;if(c){var t=c(s,null);for(var i in t)if(B=i.match(e)||+i==i&&t[i].match(e))break;if(!B)return void(B=Q="");"-"===(B=B[0]).slice(0,1)?(Q=B,B={"-webkit-":"webkit","-moz-":"Moz","-ms-":"ms","-o-":"O"}[B]):Q="-"+B.toLowerCase()+"-"}},F=function(){var t=e.requestAnimationFrame||e[B.toLowerCase()+"RequestAnimationFrame"],i=Me();return(Be||!t)&&(t=function(t){var n=Me()-i,a=l.max(0,1e3/60-n);return e.setTimeout(function(){i=Me(),t()},a)}),t},H=function(){var t=e.cancelAnimationFrame||e[B.toLowerCase()+"CancelAnimationFrame"];return(Be||!t)&&(t=function(t){return e.clearTimeout(t)}),t},W={begin:function(){return 0},end:function(){return 1},linear:function(e){return e},quadratic:function(e){return e*e},cubic:function(e){return e*e*e},swing:function(e){return-l.cos(e*l.PI)/2+.5},sqrt:function(e){return l.sqrt(e)},outCubic:function(e){return l.pow(e-1,3)+1},bounce:function(e){var t;if(.5083>=e)t=3;else if(.8489>=e)t=9;else if(.96208>=e)t=27;else{if(!(.99981>=e))return 1;t=91}return 1-l.abs(3*l.cos(e*t*1.028)/t)}};n.prototype.refresh=function(e){var n,a,s=!1;for(e===i?(s=!0,ae=[],$e=0,e=t.getElementsByTagName("*")):e.length===i&&(e=[e]),n=0,a=e.length;a>n;n++){var r=e[n],o=r,l=[],c=ue,d=me,u=!1;if(s&&k in r&&delete r[k],r.attributes){for(var h=0,p=r.attributes.length;p>h;h++){var m=r.attributes[h];if("data-anchor-target"!==m.name)if("data-smooth-scrolling"!==m.name)if("data-edge-strategy"!==m.name)if("data-emit-events"!==m.name){var g=m.name.match(O);if(null!==g){var v={props:m.value,element:r,eventType:m.name.replace(A,z)};l.push(v);var y=g[1];y&&(v.constant=y.substr(1));var b=g[2];/p$/.test(b)?(v.isPercentage=!0,v.offset=(0|b.slice(0,-1))/100):v.offset=0|b;var w=g[3],_=g[4]||w;w&&"start"!==w&&"end"!==w?(v.mode="relative",v.anchors=[w,_]):(v.mode="absolute","end"===w?v.isEnd=!0:v.isPercentage||(v.offset=v.offset*Le))}}else u=!0;else d=m.value;else c="off"!==m.value;else if(null===(o=t.querySelector(m.value)))throw'Unable to find anchor target "'+m.value+'"'}var T,x,C;if(l.length)!s&&k in r?(C=r[k],T=ae[C].styleAttr,x=ae[C].classAttr):(C=r[k]=$e++,T=r.style.cssText,x=Se(r)),ae[C]={element:r,styleAttr:T,classAttr:x,anchorTarget:o,keyFrames:l,smoothScrolling:c,edgeStrategy:d,emitEvents:u,lastFrameIndex:-1},Ee(r,[f],[])}}for(Te(),n=0,a=e.length;a>n;n++){var S=ae[e[n][k]];S!==i&&(G(S),K(S))}return ne},n.prototype.relativeToAbsolute=function(e,t,i){var n=a.clientHeight,s=e.getBoundingClientRect(),r=s.top,o=s.bottom-s.top;return t===P?r-=n:t===E&&(r-=n/2),i===P?r+=o:i===E&&(r+=o/2),(r+=ne.getScrollTop())+.5|0},n.prototype.animateTo=function(e,t){t=t||{};var n=Me(),a=ne.getScrollTop(),s=t.duration===i?1e3:t.duration;return(de={startTop:a,topDiff:e-a,targetTop:e,duration:s,startTime:n,endTime:n+s,easing:W[t.easing||T],done:t.done}).topDiff||(de.done&&de.done.call(ne,!1),de=i),ne},n.prototype.stopAnimateTo=function(){de&&de.done&&de.done.call(ne,!0),de=i},n.prototype.isAnimatingTo=function(){return!!de},n.prototype.isMobile=function(){return Be},n.prototype.setScrollTop=function(t,i){return fe=!0===i,Be?Qe=l.min(l.max(t,0),Oe):e.scrollTo(0,t),ne},n.prototype.getScrollTop=function(){return Be?Qe:e.pageYOffset||a.scrollTop||s.scrollTop||0},n.prototype.getMaxScrollTop=function(){return Oe},n.prototype.on=function(e,t){return re[e]=t,ne},n.prototype.off=function(e){return delete re[e],ne},n.prototype.destroy=function(){H()(ve),we(),Ee(a,[b],[y,w,_]);for(var e=0,t=ae.length;t>e;e++)te(ae[e].element);a.style.overflow=s.style.overflow="",a.style.height=s.style.height="",se&&r.setStyle(se,"transform","none"),ne=i,se=i,re=i,oe=i,Oe=0,Le=1,le=i,ce=i,je="down",Ae=-1,Ye=0,De=0,Ne=!1,de=i,ue=i,he=i,pe=i,fe=i,$e=0,me=i,Be=!1,Qe=0,ge=i};var q=function(){var n,r,o,c,f,m,g,v,y,b,w;ye(a,[d,u,h,p].join(" "),function(e){var a=e.changedTouches[0];for(c=e.target;3===c.nodeType;)c=c.parentNode;switch(f=a.clientY,m=a.clientX,y=e.timeStamp,M.test(c.tagName)||e.preventDefault(),e.type){case d:n&&n.blur(),ne.stopAnimateTo(),n=c,r=g=f,o=m,y;break;case u:M.test(c.tagName)&&t.activeElement!==c&&e.preventDefault(),v=f-g,w=y-b,ne.setScrollTop(Qe-v,!0),g=f,b=y;break;default:case h:case p:var s=r-f,_=o-m;if(49>_*_+s*s){if(!M.test(n.tagName)){n.focus();var T=t.createEvent("MouseEvents");T.initMouseEvent("click",!0,!0,e.view,1,a.screenX,a.screenY,a.clientX,a.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,0,null),n.dispatchEvent(T)}return}n=i;var x=v/w;x=l.max(l.min(x,3),-3);var C=l.abs(x/ce),S=x*C+.5*ce*C*C,E=ne.getScrollTop()-S,P=0;E>Oe?(P=(Oe-E)/S,E=Oe):0>E&&(P=-E/S,E=0),C*=1-P,ne.animateTo(E+.5|0,{easing:"outCubic",duration:C})}}),e.scrollTo(0,0),a.style.overflow=s.style.overflow="hidden"},V=function(e,t){for(var i=0,n=ae.length;n>i;i++){var a,s,l=ae[i],c=l.element,d=l.smoothScrolling?e:t,u=l.keyFrames,h=u.length,p=u[0],y=u[u.length-1],b=dy.frame,_=b?p:y,T=l.emitEvents,x=l.lastFrameIndex;if(b||w){if(b&&-1===l.edge||w&&1===l.edge)continue;switch(b?(Ee(c,[m],[v,g]),T&&x>-1&&(_e(c,p.eventType,je),l.lastFrameIndex=-1)):(Ee(c,[v],[m,g]),T&&h>x&&(_e(c,y.eventType,je),l.lastFrameIndex=h)),l.edge=b?-1:1,l.edgeStrategy){case"reset":te(c);continue;case"ease":d=_.frame;break;default:case"set":var C=_.props;for(a in C)o.call(C,a)&&(s=ee(C[a].value),0===a.indexOf("@")?c.setAttribute(a.substr(1),s):r.setStyle(c,a,s));continue}}else 0!==l.edge&&(Ee(c,[f,g],[m,v]),l.edge=0);for(var S=0;h-1>S;S++)if(d>=u[S].frame&&d<=u[S+1].frame){var E=u[S],P=u[S+1];for(a in E.props)if(o.call(E.props,a)){var k=(d-E.frame)/(P.frame-E.frame);k=E.props[a].easing(k),s=J(E.props[a].value,P.props[a].value,k),s=ee(s),0===a.indexOf("@")?c.setAttribute(a.substr(1),s):r.setStyle(c,a,s)}T&&x!==S&&(_e(c,"down"===je?E.eventType:P.eventType,je),l.lastFrameIndex=S);break}}},U=function(){Ne&&(Ne=!1,Te());var e,t,n=ne.getScrollTop(),a=Me();if(de)a>=de.endTime?(n=de.targetTop,e=de.done,de=i):(t=de.easing((a-de.startTime)/de.duration),n=de.startTop+t*de.topDiff|0),ne.setScrollTop(n,!0);else if(!fe){pe.targetTop-n&&(pe={startTop:Ae,topDiff:n-Ae,targetTop:n,startTime:ze,endTime:ze+he}),a<=pe.endTime&&(t=W.sqrt((a-pe.startTime)/he),n=pe.startTop+t*pe.topDiff|0)}if(fe||Ae!==n){fe=!1;var s={curTop:n,lastTop:Ae,maxTop:Oe,direction:je=n>Ae?"down":Ae>n?"up":je};!1!==(re.beforerender&&re.beforerender.call(ne,s))&&(V(n,ne.getScrollTop()),Be&&se&&r.setStyle(se,"transform","translate(0, "+-Qe+"px) "+ge),Ae=n,re.render&&re.render.call(ne,s)),e&&e.call(ne,!1)}ze=a},G=function(e){for(var t=0,i=e.keyFrames.length;i>t;t++){for(var n,a,s,r,o=e.keyFrames[t],l={};null!==(r=L.exec(o.props));)s=r[1],a=r[2],null!==(n=s.match(j))?(s=n[1],n=n[2]):n=T,a=a.indexOf("!")?X(a):[a.slice(1)],l[s]={value:a,easing:W[n]};o.props=l}},X=function(e){var t=[];return N.lastIndex=0,e=e.replace(N,function(e){return e.replace(Y,function(e){return e/255*100+"%"})}),Q&&($.lastIndex=0,e=e.replace($,function(e){return Q+e})),e=e.replace(Y,function(e){return t.push(+e),"{?}"}),t.unshift(e),t},K=function(e){var t,i,n={};for(t=0,i=e.keyFrames.length;i>t;t++)Z(e.keyFrames[t],n);for(n={},t=e.keyFrames.length-1;t>=0;t--)Z(e.keyFrames[t],n)},Z=function(e,t){var i;for(i in t)o.call(e.props,i)||(e.props[i]=t[i]);for(i in e.props)t[i]=e.props[i]},J=function(e,t,i){var n,a=e.length;if(a!==t.length)throw"Can't interpolate between \""+e[0]+'" and "'+t[0]+'"';var s=[e[0]];for(n=1;a>n;n++)s[n]=e[n]+(t[n]-e[n])*i;return s},ee=function(e){var t=1;return D.lastIndex=0,e[0].replace(D,function(){return e[t++]})},te=function(e,t){for(var i,n,a=0,s=(e=[].concat(e)).length;s>a;a++)n=e[a],(i=ae[n[k]])&&(t?(n.style.cssText=i.dirtyStyleAttr,Ee(n,i.dirtyClassAttr)):(i.dirtyStyleAttr=n.style.cssText,i.dirtyClassAttr=Se(n),n.style.cssText=i.styleAttr,Ee(n,i.classAttr)))},ie=function(){ge="translateZ(0)",r.setStyle(se,"transform",ge);var e=c(se),t=e.getPropertyValue("transform"),i=e.getPropertyValue(Q+"transform");t&&"none"!==t||i&&"none"!==i||(ge="")};r.setStyle=function(e,t,i){var n=e.style;if("zIndex"===(t=t.replace(A,z).replace("-","")))isNaN(i)?n[t]=i:n[t]=""+(0|i);else if("float"===t)n.styleFloat=n.cssFloat=i;else try{B&&(n[B+t.slice(0,1).toUpperCase()+t.slice(1)]=i),n[t]=i}catch(e){}};var ne,ae,se,re,oe,le,ce,de,ue,he,pe,fe,me,ge,ve,ye=r.addEvent=function(t,i,n){for(var a,s=function(t){return(t=t||e.event).target||(t.target=t.srcElement),t.preventDefault||(t.preventDefault=function(){t.returnValue=!1,t.defaultPrevented=!0}),n.call(this,t)},r=0,o=(i=i.split(" ")).length;o>r;r++)a=i[r],t.addEventListener?t.addEventListener(a,n,!1):t.attachEvent("on"+a,s),Re.push({element:t,name:a,listener:n})},be=r.removeEvent=function(e,t,i){for(var n=0,a=(t=t.split(" ")).length;a>n;n++)e.removeEventListener?e.removeEventListener(t[n],i,!1):e.detachEvent("on"+t[n],i)},we=function(){for(var e,t=0,i=Re.length;i>t;t++)e=Re[t],be(e.element,e.name,e.listener);Re=[]},_e=function(e,t,i){re.keyframe&&re.keyframe.call(ne,e,t,i)},Te=function(){var e=ne.getScrollTop();Oe=0,oe&&!Be&&(s.style.height=""),function(){var e,t,i,n,s,r,o,c,d,u,h,p=a.clientHeight,f=xe();for(c=0,d=ae.length;d>c;c++)for(t=(e=ae[c]).element,i=e.anchorTarget,s=0,r=(n=e.keyFrames).length;r>s;s++)u=(o=n[s]).offset,h=f[o.constant]||0,o.frame=u,o.isPercentage&&(u*=p,o.frame=u),"relative"===o.mode&&(te(t),o.frame=ne.relativeToAbsolute(i,o.anchors[0],o.anchors[1])-u,te(t,!0)),o.frame+=h,oe&&!o.isEnd&&o.frame>Oe&&(Oe=o.frame);for(Oe=l.max(Oe,Ce()),c=0,d=ae.length;d>c;c++){for(s=0,r=(n=(e=ae[c]).keyFrames).length;r>s;s++)h=f[(o=n[s]).constant]||0,o.isEnd&&(o.frame=Oe-o.offset+h);e.keyFrames.sort(Ie)}}(),oe&&!Be&&(s.style.height=Oe+a.clientHeight+"px"),Be?ne.setScrollTop(l.min(ne.getScrollTop(),Oe)):ne.setScrollTop(e,!0),fe=!0},xe=function(){var e,t,i=a.clientHeight,n={};for(e in le)"function"==typeof(t=le[e])?t=t.call(ne):/p$/.test(t)&&(t=t.slice(0,-1)/100*i),n[e]=t;return n},Ce=function(){var e=0;return se&&(e=l.max(se.offsetHeight,se.scrollHeight)),l.max(e,s.scrollHeight,s.offsetHeight,a.scrollHeight,a.offsetHeight,a.clientHeight)-a.clientHeight},Se=function(t){var i="className";return e.SVGElement&&t instanceof e.SVGElement&&(t=t[i],i="baseVal"),t[i]},Ee=function(t,n,a){var s="className";if(e.SVGElement&&t instanceof e.SVGElement&&(t=t[s],s="baseVal"),a!==i){for(var r=t[s],o=0,l=a.length;l>o;o++)r=ke(r).replace(ke(a[o])," ");r=Pe(r);for(var c=0,d=n.length;d>c;c++)-1===ke(r).indexOf(ke(n[c]))&&(r+=" "+n[c]);t[s]=Pe(r)}else t[s]=n},Pe=function(e){return e.replace(I,"")},ke=function(e){return" "+e+" "},Me=Date.now||function(){return+new Date},Ie=function(e,t){return e.frame-t.frame},Oe=0,Le=1,je="down",Ae=-1,ze=Me(),Ye=0,De=0,Ne=!1,$e=0,Be=!1,Qe=0,Re=[];"function"==typeof define&&define.amd?define([],function(){return r}):"undefined"!=typeof module&&module.exports?module.exports=r:e.skrollr=r}(window,document),window.SEMICOLON_parallaxInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;SEMICOLON.isMobile.any()?e.addClass("mobile-parallax"):window.skrollrInstance=skrollr.init({forceHeight:!1})},function(e,t){"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e)}):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(0,function(e){var t=function(e,t){var i,n=document.createElement("canvas");e.appendChild(n),"object"==typeof G_vmlCanvasManager&&G_vmlCanvasManager.initElement(n);var a=n.getContext("2d");n.width=n.height=t.size;var s=1;window.devicePixelRatio>1&&(s=window.devicePixelRatio,n.style.width=n.style.height=[t.size,"px"].join(""),n.width=n.height=t.size*s,a.scale(s,s)),a.translate(t.size/2,t.size/2),a.rotate((t.rotate/180-.5)*Math.PI);var r=(t.size-t.lineWidth)/2;t.scaleColor&&t.scaleLength&&(r-=t.scaleLength+2),Date.now=Date.now||function(){return+new Date};var o=function(e,t,i){var n=0>=(i=Math.min(Math.max(-1,i||0),1));a.beginPath(),a.arc(0,0,r,0,2*Math.PI*i,n),a.strokeStyle=e,a.lineWidth=t,a.stroke()},l=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)},c=function(){t.scaleColor&&function(){var e,i;a.lineWidth=1,a.fillStyle=t.scaleColor,a.save();for(var n=24;n>0;--n)n%6==0?(i=t.scaleLength,e=0):(i=.6*t.scaleLength,e=t.scaleLength-i),a.fillRect(-t.size/2+e,0,i,1),a.rotate(Math.PI/12);a.restore()}(),t.trackColor&&o(t.trackColor,t.trackWidth||t.lineWidth,1)};this.getCanvas=function(){return n},this.getCtx=function(){return a},this.clear=function(){a.clearRect(t.size/-2,t.size/-2,t.size,t.size)},this.draw=function(e){var n;t.scaleColor||t.trackColor?a.getImageData&&a.putImageData?i?a.putImageData(i,0,0):(c(),i=a.getImageData(0,0,t.size*s,t.size*s)):(this.clear(),c()):this.clear(),a.lineCap=t.lineCap,n="function"==typeof t.barColor?t.barColor(e):t.barColor,o(n,t.lineWidth,e/100)}.bind(this),this.animate=function(e,i){var n=Date.now();t.onStart(e,i);var a=function(){var s=Math.min(Date.now()-n,t.animate.duration),r=t.easing(this,s,e,i-e,t.animate.duration);this.draw(r),t.onStep(e,i,r),s>=t.animate.duration?t.onStop(e,i):l(a)}.bind(this);l(a)}.bind(this)},i=function(e,i){var n={barColor:"#ef1e25",trackColor:"#f9f9f9",scaleColor:"#dfe0e0",scaleLength:5,lineCap:"round",lineWidth:3,trackWidth:void 0,size:110,rotate:0,animate:{duration:1e3,enabled:!0},easing:function(e,t,i,n,a){return 1>(t/=a/2)?n/2*t*t+i:-n/2*(--t*(t-2)-1)+i},onStart:function(e,t){},onStep:function(e,t,i){},onStop:function(e,t){}};if(void 0!==t)n.renderer=t;else{if("undefined"==typeof SVGRenderer)throw new Error("Please load either the SVG- or the CanvasRenderer");n.renderer=SVGRenderer}var a={},s=0,r=function(){for(var t in this.el=e,this.options=a,n)n.hasOwnProperty(t)&&(a[t]=i&&void 0!==i[t]?i[t]:n[t],"function"==typeof a[t]&&(a[t]=a[t].bind(this)));"string"==typeof a.easing&&"undefined"!=typeof jQuery&&jQuery.isFunction(jQuery.easing[a.easing])?a.easing=jQuery.easing[a.easing]:a.easing=n.easing,"number"==typeof a.animate&&(a.animate={duration:a.animate,enabled:!0}),"boolean"!=typeof a.animate||a.animate||(a.animate={duration:1e3,enabled:a.animate}),this.renderer=new a.renderer(e,a),this.renderer.draw(s),e.dataset&&e.dataset.percent?this.update(parseFloat(e.dataset.percent)):e.getAttribute&&e.getAttribute("data-percent")&&this.update(parseFloat(e.getAttribute("data-percent")))}.bind(this);this.update=function(e){return e=parseFloat(e),a.animate.enabled?this.renderer.animate(s,e):this.renderer.draw(e),s=e,this}.bind(this),this.disableAnimation=function(){return a.animate.enabled=!1,this},this.enableAnimation=function(){return a.animate.enabled=!0,this},r()};e.fn.easyPieChart=function(t){return this.each(function(){var n;e.data(this,"easyPieChart")||(n=e.extend({},t,e(this).data()),e.data(this,"easyPieChart",new i(this,n)))})}}),window.SEMICOLON_roundedSkillInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e=$(this),t=e.attr("data-size")||140,i=e.attr("data-speed")||2e3,n=e.attr("data-width")||4,a=e.attr("data-color")||"#0093BF",s=e.attr("data-trackcolor")||"rgba(0,0,0,0.04)",r={size:Number(t),speed:Number(i),width:Number(n),color:a,trackcolor:s};if(e.css({width:t+"px",height:t+"px","line-height":t+"px"}),$("body").hasClass("device-xl")||$("body").hasClass("device-lg")){e.animate({opacity:0},10),new IntersectionObserver(function(t,i){t.forEach(function(t){if(t.isIntersecting){if(!e.hasClass("skills-animated")){setTimeout(function(){e.css({opacity:1})},100);SEMICOLON_runRoundedSkills(e,r),e.addClass("skills-animated")}i.unobserve(t.target)}})},{rootMargin:"-50px"}).observe(e[0])}else SEMICOLON_runRoundedSkills(e,r)})},window.SEMICOLON_runRoundedSkills=function(e,t){e.easyPieChart({size:t.size,animate:t.speed,scaleColor:!1,trackColor:t.trackcolor,lineWidth:t.width,lineCap:"square",barColor:t.color})},window.scwPricingSwitcherPlugin=window.scwPricingSwitcherPlugin||{},window.SEMICOLON_pricingSwitcherFn=function(e,t,i,n,a){t.find(".pts-left,.pts-right").removeClass(a).addClass(n),i.find(".pts-switch-content-left,.pts-switch-content-right").addClass("d-none"),e.filter(":checked").length>0?(t.find(".pts-right").removeClass(n).addClass(a),i.find(".pts-switch-content-right").removeClass("d-none")):(t.find(".pts-left").removeClass(n).addClass(a),i.find(".pts-switch-content-left").removeClass("d-none"))},window.SEMICOLON_pricingSwitcherInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){var e=$(this).find(":checkbox"),t=$(this).parents(".pricing-tenure-switcher"),i=$(this).attr("data-default-class")||"text-muted op-05",n=$(this).attr("data-active-class")||"fw-bold",a=$(t.attr("data-container"));SEMICOLON_pricingSwitcherFn(e,t,a,i,n),e.on("change",function(){SEMICOLON_pricingSwitcherFn(e,t,a,i,n)})})},window.scwProgressPlugin=window.scwProgressPlugin||{},window.SEMICOLON_progressInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e=$(this),t=e.parent("li"),i=t.attr("data-percent");if(e.parent(".kv-upload-progress").length>0||e.children(".progress-bar").length>0)return!0;new IntersectionObserver(function(n,a){n.forEach(function(n){n.isIntersecting&&(t.hasClass("skills-animated")||(SEMICOLON.widget.counter({el:e.find(".counter-instant")}),t.find(".progress").css({width:i+"%"}).addClass("skills-animated")),a.unobserve(n.target))})},{rootMargin:"-50px"}).observe(t[0])})},window.scwQuantityPlugin=window.scwQuantityPlugin||{},window.SEMICOLON_quantityInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;$(".plus").off("click").on("click",function(){let e=$(this).parents(".quantity").find(".qty"),t=e.val(),i=e.attr("step")||1,n=e.attr("max");if(n&&Number(t)>=Number(n))return!1;if(/^\d+$/.test(t)){let n=Number(t)+Number(i);e.val(n).change()}else e.val(Number(i)).change();return!1}),$(".minus").off("click").on("click",function(){let e=$(this).parents(".quantity").find(".qty"),t=e.val(),i=e.attr("step")||1,n=e.attr("min");if((!n||n<0)&&(n=1),/^\d+$/.test(t)){if(Number(t)>Number(n)){let n=Number(t)-Number(i);e.val(n).change()}}else e.val(Number(i)).change();return!1})},window.scwReadMorePlugin=window.scwReadMorePlugin||{},window.SEMICOLON_readmoreInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e=$(this),t=e.outerHeight(),i=e.attr("data-readmore-size")||"10rem",n=e.attr("data-readmore-speed")||500,a=e.attr("data-readmore-trigger")||".read-more-trigger",s=e.attr("data-readmore-trigger-open")||"Read More",r=e.attr("data-readmore-trigger-close")||"Read Less";(a=e.find(a)).html(s),n=Number(n),e.addClass("read-more-wrap").css({height:i,"-webkit-transition-duration":n+"ms","transition-duration":n+"ms"}).append('
    ');let o=e.find(".read-more-mask"),l=e.attr("data-readmore-mask")||"true",c=e.attr("data-readmore-maskcolor")||"#FFF",d=e.attr("data-readmore-masksize")||"100%";"true"==l?o.css({height:d,"background-image":"linear-gradient( "+SEMICOLON_HEXtoRGBA(c,0)+", "+SEMICOLON_HEXtoRGBA(c,1)+" )"}):o.addClass("d-none"),a.off("click").on("click",function(){if(e.hasClass("read-more-wrap-open"))e.css({height:i}).removeClass("read-more-wrap-open"),setTimeout(function(){a.html(s)},n),"true"==l&&o.fadeIn(n);else{"false"==r&&a.remove();let i=t+a.outerHeight();e.css({height:i,overflow:""}).addClass("read-more-wrap-open"),setTimeout(function(){a.html(r)},n),"true"==l&&o.fadeOut(n)}return!1})})},window.SEMICOLON_HEXtoRGBA=function(e,t){let i;if(/^#([A-Fa-f0-9]{3}){1,2}$/.test(e))return 3==(i=e.substring(1).split("")).length&&(i=[i[0],i[0],i[1],i[1],i[2],i[2]]),"rgba("+[(i="0x"+i.join(""))>>16&255,i>>8&255,255&i].join(",")+","+t+")";console.log("Bad Hex")},window.scwShapeDividerPlugin=window.scwShapeDividerPlugin||{},window.SEMICOLON_shapeDividerInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e,t,i,n=$(this),a=n.attr("data-shape")||"valley",s=n.attr("data-width")||100,r=n.attr("data-height")||100,o=n.attr("data-fill"),l=n.attr("data-outside")||"false",c=n.attr("data-position")||"top",d="shape-divider-"+Math.floor(1e4*Math.random()),u="",h="";s<100&&(s=100),e="width: calc( "+Number(s)+"% + 1.5px );",t="height: "+Number(r)+"px;",i="fill: "+o+";","true"==l&&(h="bottom"==c?"#"+d+".shape-divider { bottom: -"+(Number(r)-1)+"px; } ":"#"+d+".shape-divider { top: -"+(Number(r)-1)+"px; } ");let p=h+"#"+d+".shape-divider svg { "+e+t+" } #"+d+".shape-divider .shape-divider-fill { "+i+" }",f=document.head||document.getElementsByTagName("head")[0],m=document.createElement("style");switch(f.appendChild(m),m.type="text/css",m.appendChild(document.createTextNode(p)),n.attr("id",d),a){case"valley":u='';break;case"valley-2":u='';break;case"valley-3":u='';break;case"mountain":u='';break;case"mountain-2":u='';break;case"mountain-3":u='';break;case"mountain-4":u='';break;case"mountain-5":u='';break;case"mountains":u='';break;case"mountains-2":u='';break;case"mountains-3":u='';break;case"mountains-4":u='';break;case"plataeu":u='';break;case"plataeu-2":u='';break;case"hills":u='';break;case"hills-2":u='';break;case"hills-3":u='';break;case"hills-4":u='';break;case"cloud":u='';break;case"cloud-2":u='';break;case"cloud-3":u='';break;case"wave":u='';break;case"wave-2":u='';break;case"wave-3":u='';break;case"wave-4":u='';break;case"wave-5":u='';break;case"wave-6":u='';break;case"slant":u='';break;case"slant-2":u='';break;case"slant-3":u='';break;case"rounded":u='';break;case"rounded-2":u='';break;case"rounded-3":u='';break;case"rounded-4":u='';break;case"rounded-5":u='';break;case"triangle":u='';break;case"drops":u='';break;case"cliff":u='';break;case"zigzag":u='';break;case"illusion":u='';break;default:u=""}n.html(u),n.find("svg").addClass("op-ts"),setTimeout(function(){n.find("svg").addClass("op-1")},500)})},function(e){e.fn.scwStickySidebar=function(t){function i(t,i){return!0===t.initialized||!(e("body").width().scwStickySidebar:after {content: ""; display: table; clear: both;}')),i.each(function(){function i(){a.fixedScrollTop=0,a.sidebar.css({"min-height":"1px"}),a.stickySidebar.css({position:"static",width:"",transform:"none"})}var a={};if(a.sidebar=e(this),a.options=t||{},a.container=e(a.options.containerSelector),0==a.container.length&&(a.container=a.sidebar.parent()),a.sidebar.parents().css("-webkit-transform","none"),a.sidebar.css({position:a.options.defaultPosition,overflow:"visible","-webkit-box-sizing":"border-box","-moz-box-sizing":"border-box","box-sizing":"border-box"}),a.stickySidebar=a.sidebar.find(".scwStickySidebar"),0==a.stickySidebar.length){var s=/(?:text|application)\/(?:x-)?(?:javascript|ecmascript)/i;a.sidebar.find("script").filter(function(e,t){return 0===t.type.length||t.type.match(s)}).remove(),a.stickySidebar=e("
    ").addClass("scwStickySidebar").append(a.sidebar.children()),a.sidebar.append(a.stickySidebar)}a.marginBottom=parseInt(a.sidebar.css("margin-bottom")),a.paddingTop=parseInt(a.sidebar.css("padding-top")),a.paddingBottom=parseInt(a.sidebar.css("padding-bottom"));var r=a.stickySidebar.offset().top,o=a.stickySidebar.outerHeight();a.stickySidebar.css("padding-top",1),a.stickySidebar.css("padding-bottom",1),r-=a.stickySidebar.offset().top,o=a.stickySidebar.outerHeight()-o-r,0==r?(a.stickySidebar.css("padding-top",0),a.stickySidebarPaddingTop=0):a.stickySidebarPaddingTop=1,0==o?(a.stickySidebar.css("padding-bottom",0),a.stickySidebarPaddingBottom=0):a.stickySidebarPaddingBottom=1,a.previousScrollTop=null,a.fixedScrollTop=0,i(),a.onScroll=function(a){if(a.stickySidebar.is(":visible")){if(e("body").width()a.container.width())return void i()}var r=e(document).scrollTop(),o="static";if(r>=a.sidebar.offset().top+(a.paddingTop-a.options.additionalMarginTop)){var l,c=a.paddingTop+t.additionalMarginTop,d=a.paddingBottom+a.marginBottom+t.additionalMarginBottom,u=a.sidebar.offset().top,h=a.sidebar.offset().top+function(t){var i=t.height();return t.children().each(function(){i=Math.max(i,e(this).height())}),i}(a.container),p=0+t.additionalMarginTop,f=a.stickySidebar.outerHeight()+c+d0?Math.min(v,p):Math.max(v,l-a.stickySidebar.outerHeight()),v=Math.max(v,m),v=Math.min(v,g-a.stickySidebar.outerHeight());var b=a.container.height()==a.stickySidebar.outerHeight();o=!b&&v==p||!b&&v==l-a.stickySidebar.outerHeight()?"fixed":r+v-a.sidebar.offset().top-a.paddingTop<=t.additionalMarginTop?"static":"absolute"}if("fixed"==o){var w=e(document).scrollLeft();a.stickySidebar.css({position:"fixed",width:n(a.stickySidebar)+"px",transform:"translateY("+v+"px)",left:a.sidebar.offset().left+parseInt(a.sidebar.css("padding-left"))-w+"px",top:"0px"})}else if("absolute"==o){var _={};"absolute"!=a.stickySidebar.css("position")&&(_.position="absolute",_.transform="translateY("+(r+v-a.sidebar.offset().top-a.stickySidebarPaddingTop-a.stickySidebarPaddingBottom)+"px)",_.top="0px"),_.width=n(a.stickySidebar)+"px",_.left="",a.stickySidebar.css(_)}else"static"==o&&i();"static"!=o&&1==a.options.updateSidebarHeight&&a.sidebar.css({"min-height":a.stickySidebar.outerHeight()+a.stickySidebar.offset().top-a.sidebar.offset().top+a.paddingBottom}),a.previousScrollTop=r}},a.onScroll(a),e(document).on("scroll."+a.options.namespace,function(e){return function(){e.onScroll(e)}}(a)),e(window).on("resize."+a.options.namespace,function(e){return function(){e.stickySidebar.css({position:"static"}),e.onScroll(e)}}(a)),"undefined"!=typeof ResizeSensor&&new ResizeSensor(a.stickySidebar[0],function(e){return function(){e.onScroll(e)}}(a))})}(t,i),!0)}function n(e){var t;try{t=e[0].getBoundingClientRect().width}catch(e){}return void 0===t&&(t=e.width()),t}return(t=e.extend({containerSelector:"",additionalMarginTop:0,additionalMarginBottom:0,updateSidebarHeight:!0,minWidth:0,disableOnResponsiveLayouts:!0,sidebarBehavior:"modern",defaultPosition:"relative",namespace:"TSS"},t)).additionalMarginTop=parseInt(t.additionalMarginTop)||0,t.additionalMarginBottom=parseInt(t.additionalMarginBottom)||0,function(t,n){i(t,n)||(console.log("TSS: Body width smaller than options.minWidth. Init is delayed."),e(document).on("scroll."+t.namespace,function(t,n){return function(a){i(t,n)&&e(this).unbind(a)}}(t,n)),e(window).on("resize."+t.namespace,function(t,n){return function(a){i(t,n)&&e(this).unbind(a)}}(t,n)))}(t,this),this}}(jQuery),function(){var e=function(t,i){function n(){var e,t;this.q=[],this.add=function(e){this.q.push(e)},this.call=function(){for(e=0,t=this.q.length;e
    ',e.appendChild(e.resizeSensor),{fixed:1,absolute:1}[function(e,t){return e.currentStyle?e.currentStyle[t]:window.getComputedStyle?window.getComputedStyle(e,null).getPropertyValue(t):e.style[t]}(e,"position")]||(e.style.position="relative");var s,r,o=e.resizeSensor.childNodes[0],l=o.childNodes[0],c=e.resizeSensor.childNodes[1],d=(c.childNodes[0],function(){l.style.width=o.offsetWidth+10+"px",l.style.height=o.offsetHeight+10+"px",o.scrollLeft=o.scrollWidth,o.scrollTop=o.scrollHeight,c.scrollLeft=c.scrollWidth,c.scrollTop=c.scrollHeight,s=e.offsetWidth,r=e.offsetHeight});d();var u=function(e,t,i){e.attachEvent?e.attachEvent("on"+t,i):e.addEventListener(t,i)},h=function(){e.offsetWidth==s&&e.offsetHeight==r||e.resizedAttached&&e.resizedAttached.call(),d()};u(o,"scroll",h),u(c,"scroll",h)}var s=Object.prototype.toString.call(t),r="[object Array]"===s||"[object NodeList]"===s||"[object HTMLCollection]"===s||"undefined"!=typeof jQuery&&t instanceof jQuery||"undefined"!=typeof Elements&&t instanceof Elements;if(r)for(var o=0,l=t.length;o')):$(n).find(".icon-email2").removeClass("icon-email2").addClass("icon-line-loader icon-spin"),$(n).ajaxSubmit({target:r,dataType:"json",resetForm:!0,success:function(l){if("button"==s?e.html(t):$(n).find(".icon-line-loader").removeClass("icon-line-loader icon-spin").addClass("icon-email2"),"error"!=l.alert&&o)return window.location.replace(o),!0;"inline"==a?(i="error"==l.alert?"alert-danger":"alert-success",r.addClass("alert "+i).html(l.message).slideDown(400)):(r.attr("data-notify-type",l.alert).attr("data-notify-msg",l.message).html(""),SEMICOLON.widget.notifications({el:r}))}})}})})},function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).Swiper=t()}(this,function(){"use strict";function e(e,t){for(var i=0;i0&&n(e[a],t[a])})}var a={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function s(){var e="undefined"!=typeof document?document:{};return n(e,a),e}var r={document:a,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function o(){var e="undefined"!=typeof window?window:{};return n(e,r),e}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e,t,i){return(d=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()?Reflect.construct:function(e,t,i){var n=[null];n.push.apply(n,t);var a=new(Function.bind.apply(e,n));return i&&c(a,i.prototype),a}).apply(null,arguments)}function u(e){var t="function"==typeof Map?new Map:void 0;return(u=function(e){if(null===e||(i=e,-1===Function.toString.call(i).indexOf("[native code]")))return e;var i;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return d(e,arguments,l(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),c(n,e)})(e)}var h=function(e){var t,i;function n(t){var i,n,a;return n=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(i=e.call.apply(e,[this].concat(t))||this),a=n.__proto__,Object.defineProperty(n,"__proto__",{get:function(){return a},set:function(e){a.__proto__=e}}),i}return i=e,(t=n).prototype=Object.create(i.prototype),t.prototype.constructor=t,t.__proto__=i,n}(u(Array));function p(e){void 0===e&&(e=[]);var t=[];return e.forEach(function(e){Array.isArray(e)?t.push.apply(t,p(e)):t.push(e)}),t}function f(e,t){return Array.prototype.filter.call(e,t)}function m(e,t){var i=o(),n=s(),a=[];if(!t&&e instanceof h)return e;if(!e)return new h(a);if("string"==typeof e){var r=e.trim();if(r.indexOf("<")>=0&&r.indexOf(">")>=0){var l="div";0===r.indexOf("0}).length>0},toggleClass:function(){for(var e=arguments.length,t=new Array(e),i=0;i=0;p-=1){var f=h[p];s&&f.listener===s||s&&f.listener&&f.listener.dom7proxy&&f.listener.dom7proxy===s?(u.removeEventListener(c,f.proxyListener,r),h.splice(p,1)):s||(u.removeEventListener(c,f.proxyListener,r),h.splice(p,1))}}return this},trigger:function(){for(var e=o(),t=arguments.length,i=new Array(t),n=0;n0}),d.dispatchEvent(u),d.dom7EventData=[],delete d.dom7EventData}}return this},transitionEnd:function(e){var t=this;return e&&t.on("transitionend",function i(n){n.target===this&&(e.call(this,n),t.off("transitionend",i))}),this},outerWidth:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){var e=o();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){var e=o(),t=s(),i=this[0],n=i.getBoundingClientRect(),a=t.body,r=i.clientTop||a.clientTop||0,l=i.clientLeft||a.clientLeft||0,c=i===e?e.scrollY:i.scrollTop,d=i===e?e.scrollX:i.scrollLeft;return{top:n.top+c-r,left:n.left+d-l}}return null},css:function(e,t){var i,n=o();if(1===arguments.length){if("string"!=typeof e){for(i=0;it-1)return m([]);if(e<0){var i=t+e;return m(i<0?[]:[this[i]])}return m([this[e]])},append:function(){for(var e,t=s(),i=0;i=0;i-=1)this[t].insertBefore(a.childNodes[i],this[t].childNodes[0])}else if(e instanceof h)for(i=0;i0?e?this[0].nextElementSibling&&m(this[0].nextElementSibling).is(e)?m([this[0].nextElementSibling]):m([]):this[0].nextElementSibling?m([this[0].nextElementSibling]):m([]):m([])},nextAll:function(e){var t=[],i=this[0];if(!i)return m([]);for(;i.nextElementSibling;){var n=i.nextElementSibling;e?m(n).is(e)&&t.push(n):t.push(n),i=n}return m(t)},prev:function(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&m(t.previousElementSibling).is(e)?m([t.previousElementSibling]):m([]):t.previousElementSibling?m([t.previousElementSibling]):m([])}return m([])},prevAll:function(e){var t=[],i=this[0];if(!i)return m([]);for(;i.previousElementSibling;){var n=i.previousElementSibling;e?m(n).is(e)&&t.push(n):t.push(n),i=n}return m(t)},parent:function(e){for(var t=[],i=0;i6&&(n=n.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),a=new s.WebKitCSSMatrix("none"===n?"":n)):i=(a=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(n=s.WebKitCSSMatrix?a.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(n=s.WebKitCSSMatrix?a.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),n||0}function x(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function C(e){return"undefined"!=typeof window&&void 0!==window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function S(){for(var e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"],i=1;i=0,observer:"MutationObserver"in e||"WebkitMutationObserver"in e,passiveListener:function(){var t=!1;try{var i=Object.defineProperty({},"passive",{get:function(){t=!0}});e.addEventListener("testPassiveListener",null,i)}catch(e){}return t}(),gestures:"ongesturestart"in e}),g;var e,t}function I(e){return void 0===e&&(e={}),v||(v=function(e){var t=(void 0===e?{}:e).userAgent,i=M(),n=o(),a=n.navigator.platform,s=t||n.navigator.userAgent,r={ios:!1,android:!1},l=n.screen.width,c=n.screen.height,d=s.match(/(Android);?[\s\/]+([\d.]+)?/),u=s.match(/(iPad).*OS\s([\d_]+)/),h=s.match(/(iPod)(.*OS\s([\d_]+))?/),p=!u&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f="Win32"===a,m="MacIntel"===a;return!u&&m&&i.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(l+"x"+c)>=0&&((u=s.match(/(Version)\/([\d.]+)/))||(u=[0,1,"13_0_0"]),m=!1),d&&!f&&(r.os="android",r.android=!0),(u||p||h)&&(r.os="ios",r.ios=!0),r}(e)),v}function O(){return y||(t=o(),y={isEdge:!!t.navigator.userAgent.match(/Edge/g),isSafari:(e=t.navigator.userAgent.toLowerCase(),e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)}),y;var e,t}Object.keys(b).forEach(function(e){Object.defineProperty(m.fn,e,{value:b[e],writable:!0})});var L={name:"resize",create:function(){var e=this;S(e,{resize:{observer:null,createObserver:function(){e&&!e.destroyed&&e.initialized&&(e.resize.observer=new ResizeObserver(function(t){var i=e.width,n=e.height,a=i,s=n;t.forEach(function(t){var i=t.contentBoxSize,n=t.contentRect,r=t.target;r&&r!==e.el||(a=n?n.width:(i[0]||i).inlineSize,s=n?n.height:(i[0]||i).blockSize)}),a===i&&s===n||e.resize.resizeHandler()}),e.resize.observer.observe(e.el))},removeObserver:function(){e.resize.observer&&e.resize.observer.unobserve&&e.el&&(e.resize.observer.unobserve(e.el),e.resize.observer=null)},resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(e){var t=o();e.params.resizeObserver&&void 0!==o().ResizeObserver?e.resize.createObserver():(t.addEventListener("resize",e.resize.resizeHandler),t.addEventListener("orientationchange",e.resize.orientationChangeHandler))},destroy:function(e){var t=o();e.resize.removeObserver(),t.removeEventListener("resize",e.resize.resizeHandler),t.removeEventListener("orientationchange",e.resize.orientationChangeHandler)}}},j={attach:function(e,t){void 0===t&&(t={});var i=o(),n=this,a=new(i.MutationObserver||i.WebkitMutationObserver)(function(e){if(1!==e.length){var t=function(){n.emit("observerUpdate",e[0])};i.requestAnimationFrame?i.requestAnimationFrame(t):i.setTimeout(t,0)}else n.emit("observerUpdate",e[0])});a.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),n.observer.observers.push(a)},init:function(){var e=this;if(e.support.observer&&e.params.observer){if(e.params.observeParents)for(var t=e.$el.parents(),i=0;i0||a.isTouched&&a.isMoved))){r.noSwipingClass&&""!==r.noSwipingClass&&c.target&&c.target.shadowRoot&&e.path&&e.path[0]&&(d=m(e.path[0]));var u=r.noSwipingSelector?r.noSwipingSelector:"."+r.noSwipingClass,h=!(!c.target||!c.target.shadowRoot);if(r.noSwiping&&(h?function(e,t){return void 0===t&&(t=this),function t(i){return i&&i!==s()&&i!==o()?(i.assignedSlot&&(i=i.assignedSlot),i.closest(e)||t(i.getRootNode().host)):null}(t)}(u,c.target):d.closest(u)[0]))t.allowClick=!0;else if(!r.swipeHandler||d.closest(r.swipeHandler)[0]){l.currentX="touchstart"===c.type?c.targetTouches[0].pageX:c.pageX,l.currentY="touchstart"===c.type?c.targetTouches[0].pageY:c.pageY;var p=l.currentX,f=l.currentY,g=r.edgeSwipeDetection||r.iOSEdgeSwipeDetection,v=r.edgeSwipeThreshold||r.iOSEdgeSwipeThreshold;if(g&&(p<=v||p>=n.innerWidth-v)){if("prevent"!==g)return;e.preventDefault()}if(S(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=p,l.startY=f,a.touchStartTime=_(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,r.threshold>0&&(a.allowThresholdMove=!1),"touchstart"!==c.type){var y=!0;d.is(a.focusableElements)&&(y=!1),i.activeElement&&m(i.activeElement).is(a.focusableElements)&&i.activeElement!==d[0]&&i.activeElement.blur();var b=y&&t.allowTouchMove&&r.touchStartPreventDefault;!r.touchStartForcePreventDefault&&!b||d[0].isContentEditable||c.preventDefault()}t.emit("touchStart",c)}}}}function Y(){var e=this,t=e.params,i=e.el;if(!i||0!==i.offsetWidth){t.breakpoints&&e.setBreakpoint();var n=e.allowSlideNext,a=e.allowSlidePrev,s=e.snapGrid;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=a,e.allowSlideNext=n,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow()}}var D=!1;function N(){}var $={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!1,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1},B={modular:{useParams:function(e){var t=this;t.modules&&Object.keys(t.modules).forEach(function(i){var n=t.modules[i];n.params&&S(e,n.params)})},useModules:function(e){void 0===e&&(e={});var t=this;t.modules&&Object.keys(t.modules).forEach(function(i){var n=t.modules[i],a=e[i]||{};n.on&&t.on&&Object.keys(n.on).forEach(function(e){t.on(e,n.on[e])}),n.create&&n.create.bind(t)(a)})}},eventsEmitter:{on:function(e,t,i){var n=this;if("function"!=typeof t)return n;var a=i?"unshift":"push";return e.split(" ").forEach(function(e){n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][a](t)}),n},once:function(e,t,i){var n=this;if("function"!=typeof t)return n;function a(){n.off(e,a),a.__emitterProxy&&delete a.__emitterProxy;for(var i=arguments.length,s=new Array(i),r=0;r=0&&t.eventsAnyListeners.splice(i,1),t},off:function(e,t){var i=this;return i.eventsListeners?(e.split(" ").forEach(function(e){void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].forEach(function(n,a){(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&i.eventsListeners[e].splice(a,1)})}),i):i},emit:function(){var e,t,i,n=this;if(!n.eventsListeners)return n;for(var a=arguments.length,s=new Array(a),r=0;r=0&&(b=parseFloat(b.replace("%",""))/100*s),e.virtualSize=-b,r?d.css({marginLeft:"",marginBottom:"",marginTop:""}):d.css({marginRight:"",marginBottom:"",marginTop:""}),n.slidesPerColumn>1&&(x=Math.floor(u/n.slidesPerColumn)===u/e.params.slidesPerColumn?u:Math.ceil(u/n.slidesPerColumn)*n.slidesPerColumn,"auto"!==n.slidesPerView&&"row"===n.slidesPerColumnFill&&(x=Math.max(x,n.slidesPerView*n.slidesPerColumn)));for(var E,P,k,M=n.slidesPerColumn,I=x/M,O=Math.floor(u/n.slidesPerColumn),L=0;L1){var A=void 0,z=void 0,Y=void 0;if("row"===n.slidesPerColumnFill&&n.slidesPerGroup>1){var D=Math.floor(L/(n.slidesPerGroup*n.slidesPerColumn)),N=L-n.slidesPerColumn*n.slidesPerGroup*D,$=0===D?n.slidesPerGroup:Math.min(Math.ceil((u-D*M*n.slidesPerGroup)/M),n.slidesPerGroup);A=(z=N-(Y=Math.floor(N/$))*$+D*n.slidesPerGroup)+Y*x/M,j.css({"-webkit-box-ordinal-group":A,"-moz-box-ordinal-group":A,"-ms-flex-order":A,"-webkit-order":A,order:A})}else"column"===n.slidesPerColumnFill?(Y=L-(z=Math.floor(L/M))*M,(z>O||z===O&&Y===M-1)&&(Y+=1)>=M&&(Y=0,z+=1)):z=L-(Y=Math.floor(L/I))*I;j.css(t("margin-top"),0!==Y?n.spaceBetween&&n.spaceBetween+"px":"")}if("none"!==j.css("display")){if("auto"===n.slidesPerView){var B=getComputedStyle(j[0]),Q=j[0].style.transform,R=j[0].style.webkitTransform;if(Q&&(j[0].style.transform="none"),R&&(j[0].style.webkitTransform="none"),n.roundLengths)C=e.isHorizontal()?j.outerWidth(!0):j.outerHeight(!0);else{var F=i(B,"width"),H=i(B,"padding-left"),W=i(B,"padding-right"),q=i(B,"margin-left"),V=i(B,"margin-right"),U=B.getPropertyValue("box-sizing");if(U&&"border-box"===U)C=F+q+V;else{var G=j[0],X=G.clientWidth;C=F+H+W+q+V+(G.offsetWidth-X)}}Q&&(j[0].style.transform=Q),R&&(j[0].style.webkitTransform=R),n.roundLengths&&(C=Math.floor(C))}else C=(s-(n.slidesPerView-1)*b)/n.slidesPerView,n.roundLengths&&(C=Math.floor(C)),d[L]&&(d[L].style[t("width")]=C+"px");d[L]&&(d[L].swiperSlideSize=C),f.push(C),n.centeredSlides?(w=w+C/2+_/2+b,0===_&&0!==L&&(w=w-s/2-b),0===L&&(w=w-s/2-b),Math.abs(w)<.001&&(w=0),n.roundLengths&&(w=Math.floor(w)),T%n.slidesPerGroup==0&&h.push(w),p.push(w)):(n.roundLengths&&(w=Math.floor(w)),(T-Math.min(e.params.slidesPerGroupSkip,T))%e.params.slidesPerGroup==0&&h.push(w),p.push(w),w=w+C+b),e.virtualSize+=C+b,_=C,T+=1}}if(e.virtualSize=Math.max(e.virtualSize,s)+g,r&&o&&("slide"===n.effect||"coverflow"===n.effect)&&a.css({width:e.virtualSize+n.spaceBetween+"px"}),n.setWrapperSize&&a.css(((P={})[t("width")]=e.virtualSize+n.spaceBetween+"px",P)),n.slidesPerColumn>1&&(e.virtualSize=(C+n.spaceBetween)*x,e.virtualSize=Math.ceil(e.virtualSize/n.slidesPerColumn)-n.spaceBetween,a.css(((k={})[t("width")]=e.virtualSize+n.spaceBetween+"px",k)),n.centeredSlides)){E=[];for(var K=0;K1&&h.push(e.virtualSize-s)}if(0===h.length&&(h=[0]),0!==n.spaceBetween){var te,ie=e.isHorizontal()&&r?"marginLeft":t("marginRight");d.filter(function(e,t){return!n.cssMode||t!==d.length-1}).css(((te={})[ie]=b+"px",te))}if(n.centeredSlides&&n.centeredSlidesBounds){var ne=0;f.forEach(function(e){ne+=e+(n.spaceBetween?n.spaceBetween:0)});var ae=(ne-=n.spaceBetween)-s;h=h.map(function(e){return e<0?-m:e>ae?ae+g:e})}if(n.centerInsufficientSlides){var se=0;if(f.forEach(function(e){se+=e+(n.spaceBetween?n.spaceBetween:0)}),(se-=n.spaceBetween)1)if(i.params.centeredSlides)i.visibleSlides.each(function(e){n.push(e)});else for(t=0;ti.slides.length&&!a)break;n.push(r(o))}else n.push(r(i.activeIndex));for(t=0;ts?l:s}s&&i.$wrapperEl.css("height",s+"px")},updateSlidesOffset:function(){for(var e=this.slides,t=0;t=0&&c1&&d<=t.size||c<=0&&d>=t.size)&&(t.visibleSlides.push(o),t.visibleSlidesIndexes.push(r),n.eq(r).addClass(i.slideVisibleClass))}o.progress=a?-l:l}t.visibleSlides=m(t.visibleSlides)}},updateProgress:function(e){var t=this;if(void 0===e){var i=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*i||0}var n=t.params,a=t.maxTranslate()-t.minTranslate(),s=t.progress,r=t.isBeginning,o=t.isEnd,l=r,c=o;0===a?(s=0,r=!0,o=!0):(r=(s=(e-t.minTranslate())/a)<=0,o=s>=1),S(t,{progress:s,isBeginning:r,isEnd:o}),(n.watchSlidesProgress||n.watchSlidesVisibility||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),r&&!l&&t.emit("reachBeginning toEdge"),o&&!c&&t.emit("reachEnd toEdge"),(l&&!r||c&&!o)&&t.emit("fromEdge"),t.emit("progress",s)},updateSlidesClasses:function(){var e,t=this,i=t.slides,n=t.params,a=t.$wrapperEl,s=t.activeIndex,r=t.realIndex,o=t.virtual&&n.virtual.enabled;i.removeClass(n.slideActiveClass+" "+n.slideNextClass+" "+n.slidePrevClass+" "+n.slideDuplicateActiveClass+" "+n.slideDuplicateNextClass+" "+n.slideDuplicatePrevClass),(e=o?t.$wrapperEl.find("."+n.slideClass+'[data-swiper-slide-index="'+s+'"]'):i.eq(s)).addClass(n.slideActiveClass),n.loop&&(e.hasClass(n.slideDuplicateClass)?a.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+r+'"]').addClass(n.slideDuplicateActiveClass):a.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+r+'"]').addClass(n.slideDuplicateActiveClass));var l=e.nextAll("."+n.slideClass).eq(0).addClass(n.slideNextClass);n.loop&&0===l.length&&(l=i.eq(0)).addClass(n.slideNextClass);var c=e.prevAll("."+n.slideClass).eq(0).addClass(n.slidePrevClass);n.loop&&0===c.length&&(c=i.eq(-1)).addClass(n.slidePrevClass),n.loop&&(l.hasClass(n.slideDuplicateClass)?a.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicateNextClass):a.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicateNextClass),c.hasClass(n.slideDuplicateClass)?a.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+c.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicatePrevClass):a.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+c.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicatePrevClass)),t.emitSlidesClasses()},updateActiveIndex:function(e){var t,i=this,n=i.rtlTranslate?i.translate:-i.translate,a=i.slidesGrid,s=i.snapGrid,r=i.params,o=i.activeIndex,l=i.realIndex,c=i.snapIndex,d=e;if(void 0===d){for(var u=0;u=a[u]&&n=a[u]&&n=a[u]&&(d=u);r.normalizeSlideIndex&&(d<0||void 0===d)&&(d=0)}if(s.indexOf(n)>=0)t=s.indexOf(n);else{var h=Math.min(r.slidesPerGroupSkip,d);t=h+Math.floor((d-h)/r.slidesPerGroup)}if(t>=s.length&&(t=s.length-1),d!==o){var p=parseInt(i.slides.eq(d).attr("data-swiper-slide-index")||d,10);S(i,{snapIndex:t,realIndex:p,previousIndex:o,activeIndex:d}),i.emit("activeIndexChange"),i.emit("snapIndexChange"),l!==p&&i.emit("realIndexChange"),(i.initialized||i.params.runCallbacksOnInit)&&i.emit("slideChange")}else t!==c&&(i.snapIndex=t,i.emit("snapIndexChange"))},updateClickedSlide:function(e){var t,i=this,n=i.params,a=m(e.target).closest("."+n.slideClass)[0],s=!1;if(a)for(var r=0;rc?c:n&&es?"next":na?"next":n=c.length&&(v=c.length-1),(h||l.initialSlide||0)===(u||0)&&i&&r.emit("beforeSlideChangeStart");var y,b=-c[v];if(r.updateProgress(b),l.normalizeSlideIndex)for(var w=0;w=T&&_=T&&_=T&&(o=w)}if(r.initialized&&o!==h){if(!r.allowSlideNext&&br.translate&&b>r.maxTranslate()&&(h||0)!==o)return!1}if(y=o>h?"next":o=e&&(p=e)}),void 0!==p&&(d=o.indexOf(p))<0&&(d=n.activeIndex-1),n.slideTo(d,e,t,i)},slideReset:function(e,t,i){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,i)},slideToClosest:function(e,t,i,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===n&&(n=.5);var a=this,s=a.activeIndex,r=Math.min(a.params.slidesPerGroupSkip,s),o=r+Math.floor((s-r)/a.params.slidesPerGroup),l=a.rtlTranslate?a.translate:-a.translate;if(l>=a.snapGrid[o]){var c=a.snapGrid[o];l-c>(a.snapGrid[o+1]-c)*n&&(s+=a.params.slidesPerGroup)}else{var d=a.snapGrid[o-1];l-d<=(a.snapGrid[o]-d)*n&&(s-=a.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,a.slidesGrid.length-1),a.slideTo(s,e,t,i)},slideToClickedSlide:function(){var e,t=this,i=t.params,n=t.$wrapperEl,a="auto"===i.slidesPerView?t.slidesPerViewDynamic():i.slidesPerView,s=t.clickedIndex;if(i.loop){if(t.animating)return;e=parseInt(m(t.clickedSlide).attr("data-swiper-slide-index"),10),i.centeredSlides?st.slides.length-t.loopedSlides+a/2?(t.loopFix(),s=n.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),w(function(){t.slideTo(s)})):t.slideTo(s):s>t.slides.length-a?(t.loopFix(),s=n.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),w(function(){t.slideTo(s)})):t.slideTo(s)}else t.slideTo(s)}},loop:{loopCreate:function(){var e=this,t=s(),i=e.params,n=e.$wrapperEl;n.children("."+i.slideClass+"."+i.slideDuplicateClass).remove();var a=n.children("."+i.slideClass);if(i.loopFillGroupWithBlank){var r=i.slidesPerGroup-a.length%i.slidesPerGroup;if(r!==i.slidesPerGroup){for(var o=0;oa.length&&(e.loopedSlides=a.length);var c=[],d=[];a.each(function(t,i){var n=m(t);i=a.length-e.loopedSlides&&c.push(t),n.attr("data-swiper-slide-index",i)});for(var u=0;u=0;h-=1)n.prepend(m(c[h].cloneNode(!0)).addClass(i.slideDuplicateClass))},loopFix:function(){var e=this;e.emit("beforeLoopFix");var t,i=e.activeIndex,n=e.slides,a=e.loopedSlides,s=e.allowSlidePrev,r=e.allowSlideNext,o=e.snapGrid,l=e.rtlTranslate;e.allowSlidePrev=!0,e.allowSlideNext=!0;var c=-o[i]-e.getTranslate();i=n.length-a&&(t=-n.length+i+a,t+=a,e.slideTo(t,0,!1,!0)&&0!==c&&e.setTranslate((l?-e.translate:e.translate)-c)),e.allowSlidePrev=s,e.allowSlideNext=r,e.emit("loopFix")},loopDestroy:function(){var e=this,t=e.$wrapperEl,i=e.params,n=e.slides;t.children("."+i.slideClass+"."+i.slideDuplicateClass+",."+i.slideClass+"."+i.slideBlankClass).remove(),n.removeAttr("data-swiper-slide-index")}},grabCursor:{setGrabCursor:function(e){var t=this;if(!(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)){var i=t.el;i.style.cursor="move",i.style.cursor=e?"-webkit-grabbing":"-webkit-grab",i.style.cursor=e?"-moz-grabbin":"-moz-grab",i.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){var e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.el.style.cursor="")}},manipulation:{appendSlide:function(e){var t=this,i=t.$wrapperEl,n=t.params;if(n.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(var a=0;a=r)i.appendSlide(t);else{for(var o=s>e?s+1:s,l=[],c=r-1;c>=e;c-=1){var d=i.slides.eq(c);d.remove(),l.unshift(d)}if("object"==typeof t&&"length"in t){for(var u=0;ue?s+t.length:s}else n.append(t);for(var h=0;hr.startY&&i.translate>=i.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else if(dr.startX&&i.translate>=i.minTranslate())return;if(n.isTouchEvent&&t.activeElement&&l.target===t.activeElement&&m(l.target).is(n.focusableElements))return n.isMoved=!0,void(i.allowClick=!1);if(n.allowTouchCallbacks&&i.emit("touchMove",l),!(l.targetTouches&&l.targetTouches.length>1)){r.currentX=d,r.currentY=u;var h,p=r.currentX-r.startX,f=r.currentY-r.startY;if(!(i.params.threshold&&Math.sqrt(Math.pow(p,2)+Math.pow(f,2))=25&&(h=180*Math.atan2(Math.abs(f),Math.abs(p))/Math.PI,n.isScrolling=i.isHorizontal()?h>a.touchAngle:90-h>a.touchAngle)),n.isScrolling&&i.emit("touchMoveOpposite",l),void 0===n.startMoving&&(r.currentX===r.startX&&r.currentY===r.startY||(n.startMoving=!0)),n.isScrolling)n.isTouched=!1;else if(n.startMoving){i.allowClick=!1,!a.cssMode&&l.cancelable&&l.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&l.stopPropagation(),n.isMoved||(a.loop&&i.loopFix(),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating&&i.$wrapperEl.trigger("webkitTransitionEnd transitionend"),n.allowMomentumBounce=!1,!a.grabCursor||!0!==i.allowSlideNext&&!0!==i.allowSlidePrev||i.setGrabCursor(!0),i.emit("sliderFirstMove",l)),i.emit("sliderMove",l),n.isMoved=!0;var g=i.isHorizontal()?p:f;r.diff=g,g*=a.touchRatio,o&&(g=-g),i.swipeDirection=g>0?"prev":"next",n.currentTranslate=g+n.startTranslate;var v=!0,y=a.resistanceRatio;if(a.touchReleaseOnEdges&&(y=0),g>0&&n.currentTranslate>i.minTranslate()?(v=!1,a.resistance&&(n.currentTranslate=i.minTranslate()-1+Math.pow(-i.minTranslate()+n.startTranslate+g,y))):g<0&&n.currentTranslaten.startTranslate&&(n.currentTranslate=n.startTranslate),i.allowSlidePrev||i.allowSlideNext||(n.currentTranslate=n.startTranslate),a.threshold>0){if(!(Math.abs(g)>a.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);if(!n.allowThresholdMove)return n.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,n.currentTranslate=n.startTranslate,void(r.diff=i.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}a.followFinger&&!a.cssMode&&((a.freeMode||a.watchSlidesProgress||a.watchSlidesVisibility)&&(i.updateActiveIndex(),i.updateSlidesClasses()),a.freeMode&&(0===n.velocities.length&&n.velocities.push({position:r[i.isHorizontal()?"startX":"startY"],time:n.touchStartTime}),n.velocities.push({position:r[i.isHorizontal()?"currentX":"currentY"],time:_()})),i.updateProgress(n.currentTranslate),i.setTranslate(n.currentTranslate))}}}}else n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",l)}}.bind(e),e.onTouchEnd=function(e){var t=this,i=t.touchEventsData,n=t.params,a=t.touches,s=t.rtlTranslate,r=t.$wrapperEl,o=t.slidesGrid,l=t.snapGrid;if(t.enabled){var c=e;if(c.originalEvent&&(c=c.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",c),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&n.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);n.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var d,u=_(),h=u-i.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(c),t.emit("tap click",c),h<300&&u-i.lastClickTime<300&&t.emit("doubleTap doubleClick",c)),i.lastClickTime=_(),w(function(){t.destroyed||(t.allowClick=!0)}),!i.isTouched||!i.isMoved||!t.swipeDirection||0===a.diff||i.currentTranslate===i.startTranslate)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,d=n.followFinger?s?t.translate:-t.translate:-i.currentTranslate,!n.cssMode)if(n.freeMode){if(d<-t.minTranslate())return void t.slideTo(t.activeIndex);if(d>-t.maxTranslate())return void(t.slides.length1){var p=i.velocities.pop(),f=i.velocities.pop(),m=p.position-f.position,g=p.time-f.time;t.velocity=m/g,t.velocity/=2,Math.abs(t.velocity)150||_()-p.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=n.freeModeMomentumVelocityRatio,i.velocities.length=0;var v=1e3*n.freeModeMomentumRatio,y=t.velocity*v,b=t.translate+y;s&&(b=-b);var T,x,C=!1,S=20*Math.abs(t.velocity)*n.freeModeMomentumBounceRatio;if(bt.minTranslate())n.freeModeMomentumBounce?(b-t.minTranslate()>S&&(b=t.minTranslate()+S),T=t.minTranslate(),C=!0,i.allowMomentumBounce=!0):b=t.minTranslate(),n.loop&&n.centeredSlides&&(x=!0);else if(n.freeModeSticky){for(var E,P=0;P-b){E=P;break}b=-(b=Math.abs(l[E]-b)=n.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var I=0,O=t.slidesSizesGrid[0],L=0;L=o[L]&&d=o[L]&&(I=L,O=o[o.length-1]-o[o.length-2])}var A=(d-o[I])/O,z=In.longSwipesMs){if(!n.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(A>=n.longSwipesRatio?t.slideTo(I+z):t.slideTo(I)),"prev"===t.swipeDirection&&(A>1-n.longSwipesRatio?t.slideTo(I+z):t.slideTo(I))}else{if(!n.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||c.target!==t.navigation.nextEl&&c.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(I+z),"prev"===t.swipeDirection&&t.slideTo(I)):c.target===t.navigation.nextEl?t.slideTo(I+z):t.slideTo(I)}}}}.bind(e),i.cssMode&&(e.onScroll=function(){var e=this,t=e.wrapperEl,i=e.rtlTranslate;if(e.enabled){e.previousTranslate=e.translate,e.isHorizontal()?e.translate=i?t.scrollWidth-t.offsetWidth-t.scrollLeft:-t.scrollLeft:e.translate=-t.scrollTop,-0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();var n=e.maxTranslate()-e.minTranslate();(0===n?0:(e.translate-e.minTranslate())/n)!==e.progress&&e.updateProgress(i?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}}.bind(e)),e.onClick=function(e){var t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}.bind(e);var c=!!i.nested;if(!l.touch&&l.pointerEvents)a.addEventListener(n.start,e.onTouchStart,!1),t.addEventListener(n.move,e.onTouchMove,c),t.addEventListener(n.end,e.onTouchEnd,!1);else{if(l.touch){var d=!("touchstart"!==n.start||!l.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};a.addEventListener(n.start,e.onTouchStart,d),a.addEventListener(n.move,e.onTouchMove,l.passiveListener?{passive:!1,capture:c}:c),a.addEventListener(n.end,e.onTouchEnd,d),n.cancel&&a.addEventListener(n.cancel,e.onTouchEnd,d),D||(t.addEventListener("touchstart",N),D=!0)}(i.simulateTouch&&!o.ios&&!o.android||i.simulateTouch&&!l.touch&&o.ios)&&(a.addEventListener("mousedown",e.onTouchStart,!1),t.addEventListener("mousemove",e.onTouchMove,c),t.addEventListener("mouseup",e.onTouchEnd,!1))}(i.preventClicks||i.preventClicksPropagation)&&a.addEventListener("click",e.onClick,!0),i.cssMode&&r.addEventListener("scroll",e.onScroll),i.updateOnWindowResize?e.on(o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",Y,!0):e.on("observerUpdate",Y,!0)},detachEvents:function(){var e=this,t=s(),i=e.params,n=e.touchEvents,a=e.el,r=e.wrapperEl,o=e.device,l=e.support,c=!!i.nested;if(!l.touch&&l.pointerEvents)a.removeEventListener(n.start,e.onTouchStart,!1),t.removeEventListener(n.move,e.onTouchMove,c),t.removeEventListener(n.end,e.onTouchEnd,!1);else{if(l.touch){var d=!("onTouchStart"!==n.start||!l.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};a.removeEventListener(n.start,e.onTouchStart,d),a.removeEventListener(n.move,e.onTouchMove,c),a.removeEventListener(n.end,e.onTouchEnd,d),n.cancel&&a.removeEventListener(n.cancel,e.onTouchEnd,d)}(i.simulateTouch&&!o.ios&&!o.android||i.simulateTouch&&!l.touch&&o.ios)&&(a.removeEventListener("mousedown",e.onTouchStart,!1),t.removeEventListener("mousemove",e.onTouchMove,c),t.removeEventListener("mouseup",e.onTouchEnd,!1))}(i.preventClicks||i.preventClicksPropagation)&&a.removeEventListener("click",e.onClick,!0),i.cssMode&&r.removeEventListener("scroll",e.onScroll),e.off(o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",Y)}},breakpoints:{setBreakpoint:function(){var e=this,t=e.activeIndex,i=e.initialized,n=e.loopedSlides,a=void 0===n?0:n,s=e.params,r=e.$el,o=s.breakpoints;if(o&&(!o||0!==Object.keys(o).length)){var l=e.getBreakpoint(o,e.params.breakpointsBase,e.el);if(l&&e.currentBreakpoint!==l){var c=l in o?o[l]:void 0;c&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach(function(e){var t=c[e];void 0!==t&&(c[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")});var d=c||e.originalParams,u=s.slidesPerColumn>1,h=d.slidesPerColumn>1,p=s.enabled;u&&!h?(r.removeClass(s.containerModifierClass+"multirow "+s.containerModifierClass+"multirow-column"),e.emitContainerClasses()):!u&&h&&(r.addClass(s.containerModifierClass+"multirow"),(d.slidesPerColumnFill&&"column"===d.slidesPerColumnFill||!d.slidesPerColumnFill&&"column"===s.slidesPerColumnFill)&&r.addClass(s.containerModifierClass+"multirow-column"),e.emitContainerClasses());var f=d.direction&&d.direction!==s.direction,m=s.loop&&(d.slidesPerView!==s.slidesPerView||f);f&&i&&e.changeDirection(),S(e.params,d);var g=e.params.enabled;S(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),p&&!g?e.disable():!p&&g&&e.enable(),e.currentBreakpoint=l,e.emit("_beforeBreakpoint",d),m&&i&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-a+e.loopedSlides,0,!1)),e.emit("breakpoint",d)}}},getBreakpoint:function(e,t,i){if(void 0===t&&(t="window"),e&&("container"!==t||i)){var n=!1,a=o(),s="window"===t?a.innerHeight:i.clientHeight,r=Object.keys(e).map(function(e){if("string"==typeof e&&0===e.indexOf("@")){var t=parseFloat(e.substr(1));return{value:s*t,point:e}}return{value:e,point:e}});r.sort(function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)});for(var l=0;l0&&t.slidesOffsetBefore+t.spaceBetween*(e.slides.length-1)+e.slides[0].offsetWidth*e.slides.length;t.slidesOffsetBefore&&t.slidesOffsetAfter&&n?e.isLocked=n<=e.size:e.isLocked=1===e.snapGrid.length,e.allowSlideNext=!e.isLocked,e.allowSlidePrev=!e.isLocked,i!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock"),i&&i!==e.isLocked&&(e.isEnd=!1,e.navigation&&e.navigation.update())}},classes:{addClasses:function(){var e,t,i,n=this,a=n.classNames,s=n.params,r=n.rtl,o=n.$el,l=n.device,c=n.support,d=(e=["initialized",s.direction,{"pointer-events":c.pointerEvents&&!c.touch},{"free-mode":s.freeMode},{autoheight:s.autoHeight},{rtl:r},{multirow:s.slidesPerColumn>1},{"multirow-column":s.slidesPerColumn>1&&"column"===s.slidesPerColumnFill},{android:l.android},{ios:l.ios},{"css-mode":s.cssMode}],t=s.containerModifierClass,i=[],e.forEach(function(e){"object"==typeof e?Object.keys(e).forEach(function(n){e[n]&&i.push(t+n)}):"string"==typeof e&&i.push(t+e)}),i);a.push.apply(a,d),o.addClass([].concat(a).join(" ")),n.emitContainerClasses()},removeClasses:function(){var e=this,t=e.$el,i=e.classNames;t.removeClass(i.join(" ")),e.emitContainerClasses()}},images:{loadImage:function(e,t,i,n,a,s){var r,l=o();function c(){s&&s()}m(e).parent("picture")[0]||e.complete&&a?c():t?((r=new l.Image).onload=c,r.onerror=c,n&&(r.sizes=n),i&&(r.srcset=i),t&&(r.src=t)):c()},preloadImages:function(){var e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var i=0;i1){var r=[];return m(i.el).each(function(e){var n=S({},i,{el:e});r.push(new t(n))}),r}var o=this;o.__swiper__=!0,o.support=M(),o.device=I({userAgent:i.userAgent}),o.browser=O(),o.eventsListeners={},o.eventsAnyListeners=[],void 0===o.modules&&(o.modules={}),Object.keys(o.modules).forEach(function(e){var t=o.modules[e];if(t.params){var n=Object.keys(t.params)[0],a=t.params[n];if("object"!=typeof a||null===a)return;if(["navigation","pagination","scrollbar"].indexOf(n)>=0&&!0===i[n]&&(i[n]={auto:!0}),!(n in i&&"enabled"in a))return;!0===i[n]&&(i[n]={enabled:!0}),"object"!=typeof i[n]||"enabled"in i[n]||(i[n].enabled=!0),i[n]||(i[n]={enabled:!1})}});var l,c,d=S({},$);return o.useParams(d),o.params=S({},d,Q,i),o.originalParams=S({},o.params),o.passedParams=S({},i),o.params&&o.params.on&&Object.keys(o.params.on).forEach(function(e){o.on(e,o.params.on[e])}),o.params&&o.params.onAny&&o.onAny(o.params.onAny),o.$=m,S(o,{enabled:o.params.enabled,el:e,classNames:[],slides:m(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===o.params.direction},isVertical:function(){return"vertical"===o.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,touchEvents:(l=["touchstart","touchmove","touchend","touchcancel"],c=["mousedown","mousemove","mouseup"],o.support.pointerEvents&&(c=["pointerdown","pointermove","pointerup"]),o.touchEventsTouch={start:l[0],move:l[1],end:l[2],cancel:l[3]},o.touchEventsDesktop={start:c[0],move:c[1],end:c[2]},o.support.touch||!o.params.simulateTouch?o.touchEventsTouch:o.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:o.params.focusableElements,lastClickTime:_(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.useModules(),o.emit("_swiper"),o.params.init&&o.init(),o}var i,n,a=t.prototype;return a.enable=function(){var e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))},a.disable=function(){var e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))},a.setProgress=function(e,t){var i=this;e=Math.min(Math.max(e,0),1);var n=i.minTranslate(),a=(i.maxTranslate()-n)*e+n;i.translateTo(a,void 0===t?0:t),i.updateActiveIndex(),i.updateSlidesClasses()},a.emitContainerClasses=function(){var e=this;if(e.params._emitClasses&&e.el){var t=e.el.className.split(" ").filter(function(t){return 0===t.indexOf("swiper-container")||0===t.indexOf(e.params.containerModifierClass)});e.emit("_containerClasses",t.join(" "))}},a.getSlideClasses=function(e){var t=this;return e.className.split(" ").filter(function(e){return 0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)}).join(" ")},a.emitSlidesClasses=function(){var e=this;if(e.params._emitClasses&&e.el){var t=[];e.slides.each(function(i){var n=e.getSlideClasses(i);t.push({slideEl:i,classNames:n}),e.emit("_slideClass",i,n)}),e.emit("_slideClasses",t)}},a.slidesPerViewDynamic=function(){var e=this,t=e.params,i=e.slides,n=e.slidesGrid,a=e.size,s=e.activeIndex,r=1;if(t.centeredSlides){for(var o,l=i[s].swiperSlideSize,c=s+1;ca&&(o=!0));for(var d=s-1;d>=0;d-=1)i[d]&&!o&&(r+=1,(l+=i[d].swiperSlideSize)>a&&(o=!0))}else for(var u=s+1;u1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||n(),i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function n(){var t=e.rtlTranslate?-1*e.translate:e.translate,i=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(i),e.updateActiveIndex(),e.updateSlidesClasses()}},a.changeDirection=function(e,t){void 0===t&&(t=!0);var i=this,n=i.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(i.$el.removeClass(""+i.params.containerModifierClass+n).addClass(""+i.params.containerModifierClass+e),i.emitContainerClasses(),i.params.direction=e,i.slides.each(function(t){"vertical"===e?t.style.width="":t.style.height=""}),i.emit("changeDirection"),t&&i.update()),i},a.mount=function(e){var t=this;if(t.mounted)return!0;var i=m(e||t.params.el);if(!(e=i[0]))return!1;e.swiper=t;var n=function(){return"."+(t.params.wrapperClass||"").trim().split(" ").join(".")},a=function(){if(e&&e.shadowRoot&&e.shadowRoot.querySelector){var t=m(e.shadowRoot.querySelector(n()));return t.children=function(e){return i.children(e)},t}return i.children(n())}();if(0===a.length&&t.params.createElements){var r=s().createElement("div");a=m(r),r.className=t.params.wrapperClass,i.append(r),i.children("."+t.params.slideClass).each(function(e){a.append(e)})}return S(t,{$el:i,el:e,$wrapperEl:a,wrapperEl:a[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===i.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===i.css("direction")),wrongRTL:"-webkit-box"===a.css("display")}),!0},a.init=function(e){var t=this;return t.initialized||!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t},a.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var i,n=this,a=n.params,s=n.$el,r=n.$wrapperEl,o=n.slides;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),a.loop&&n.loopDestroy(),t&&(n.removeClasses(),s.removeAttr("style"),r.removeAttr("style"),o&&o.length&&o.removeClass([a.slideVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(function(e){n.off(e)}),!1!==e&&(n.$el[0].swiper=null,i=n,Object.keys(i).forEach(function(e){try{i[e]=null}catch(e){}try{delete i[e]}catch(e){}})),n.destroyed=!0),null},t.extendDefaults=function(e){S(Q,e)},t.installModule=function(e){t.prototype.modules||(t.prototype.modules={});var i=e.name||Object.keys(t.prototype.modules).length+"_"+_();t.prototype.modules[i]=e},t.use=function(e){return Array.isArray(e)?(e.forEach(function(e){return t.installModule(e)}),t):(t.installModule(e),t)},i=t,n=[{key:"extendedDefaults",get:function(){return Q}},{key:"defaults",get:function(){return $}}],null&&e(i.prototype,null),n&&e(i,n),t}();Object.keys(B).forEach(function(e){Object.keys(B[e]).forEach(function(t){R.prototype[t]=B[e][t]})}),R.use([L,A]);var F={update:function(e){var t=this,i=t.params,n=i.slidesPerView,a=i.slidesPerGroup,s=i.centeredSlides,r=t.params.virtual,o=r.addSlidesBefore,l=r.addSlidesAfter,c=t.virtual,d=c.from,u=c.to,h=c.slides,p=c.slidesGrid,f=c.renderSlide,m=c.offset;t.updateActiveIndex();var g,v,y,b=t.activeIndex||0;g=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",s?(v=Math.floor(n/2)+a+l,y=Math.floor(n/2)+a+o):(v=n+(a-1)+l,y=a+o);var w=Math.max((b||0)-y,0),_=Math.min((b||0)+v,h.length-1),T=(t.slidesGrid[w]||0)-(t.slidesGrid[0]||0);function x(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(S(t.virtual,{from:w,to:_,offset:T,slidesGrid:t.slidesGrid}),d===w&&u===_&&!e)return t.slidesGrid!==p&&T!==m&&t.slides.css(g,T+"px"),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:T,from:w,to:_,slides:function(){for(var e=[],t=w;t<=_;t+=1)e.push(h[t]);return e}()}),void(t.params.virtual.renderExternalUpdate&&x());var C=[],E=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(var P=d;P<=u;P+=1)(P_)&&t.$wrapperEl.find("."+t.params.slideClass+'[data-swiper-slide-index="'+P+'"]').remove();for(var k=0;k=w&&k<=_&&(void 0===u||e?E.push(k):(k>u&&E.push(k),k'+e+"");return a.attr("data-swiper-slide-index")||a.attr("data-swiper-slide-index",t),n.cache&&(i.virtual.cache[t]=a),a},appendSlide:function(e){var t=this;if("object"==typeof e&&"length"in e)for(var i=0;i=0;n-=1)t.virtual.slides.splice(e[n],1),t.params.virtual.cache&&delete t.virtual.cache[e[n]],e[n]0&&0===t.$el.parents("."+t.params.slideActiveClass).length)return;var v=t.$el,y=v[0].clientWidth,b=v[0].clientHeight,w=i.innerWidth,_=i.innerHeight,T=t.$el.offset();a&&(T.left-=t.$el[0].scrollLeft);for(var x=[[T.left,T.top],[T.left+y,T.top],[T.left,T.top+b],[T.left+y,T.top+b]],C=0;C=0&&S[0]<=w&&S[1]>=0&&S[1]<=_){if(0===S[0]&&0===S[1])continue;g=!0}}if(!g)return}t.isHorizontal()?((d||u||h||p)&&(r.preventDefault?r.preventDefault():r.returnValue=!1),((u||p)&&!a||(d||h)&&a)&&t.slideNext(),((d||h)&&!a||(u||p)&&a)&&t.slidePrev()):((d||u||f||m)&&(r.preventDefault?r.preventDefault():r.returnValue=!1),(u||m)&&t.slideNext(),(d||f)&&t.slidePrev()),t.emit("keyPress",l)}}},enable:function(){var e=this,t=s();e.keyboard.enabled||(m(t).on("keydown",e.keyboard.handle),e.keyboard.enabled=!0)},disable:function(){var e=this,t=s();e.keyboard.enabled&&(m(t).off("keydown",e.keyboard.handle),e.keyboard.enabled=!1)}},q={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}},create:function(){E(this,{keyboard:t({enabled:!1},W)})},on:{init:function(e){e.params.keyboard.enabled&&e.keyboard.enable()},destroy:function(e){e.keyboard.enabled&&e.keyboard.disable()}}},V={lastScrollTime:_(),lastEventBeforeSnap:void 0,recentWheelEvents:[],event:function(){return o().navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var e=s(),t="onwheel",i=t in e;if(!i){var n=e.createElement("div");n.setAttribute(t,"return;"),i="function"==typeof n.onwheel}return!i&&e.implementation&&e.implementation.hasFeature&&!0!==e.implementation.hasFeature("","")&&(i=e.implementation.hasFeature("Events.wheel","3.0")),i}()?"wheel":"mousewheel"},normalize:function(e){var t=0,i=0,n=0,a=0;return"detail"in e&&(i=e.detail),"wheelDelta"in e&&(i=-e.wheelDelta/120),"wheelDeltaY"in e&&(i=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=i,i=0),n=10*t,a=10*i,"deltaY"in e&&(a=e.deltaY),"deltaX"in e&&(n=e.deltaX),e.shiftKey&&!n&&(n=a,a=0),(n||a)&&e.deltaMode&&(1===e.deltaMode?(n*=40,a*=40):(n*=800,a*=800)),n&&!t&&(t=n<1?-1:1),a&&!i&&(i=a<1?-1:1),{spinX:t,spinY:i,pixelX:n,pixelY:a}},handleMouseEnter:function(){this.enabled&&(this.mouseEntered=!0)},handleMouseLeave:function(){this.enabled&&(this.mouseEntered=!1)},handle:function(e){var t=e,i=this;if(i.enabled){var n=i.params.mousewheel;i.params.cssMode&&t.preventDefault();var a=i.$el;if("container"!==i.params.mousewheel.eventsTarget&&(a=m(i.params.mousewheel.eventsTarget)),!i.mouseEntered&&!a[0].contains(t.target)&&!n.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);var s=0,r=i.rtlTranslate?-1:1,o=V.normalize(t);if(n.forceToAxis)if(i.isHorizontal()){if(!(Math.abs(o.pixelX)>Math.abs(o.pixelY)))return!0;s=-o.pixelX*r}else{if(!(Math.abs(o.pixelY)>Math.abs(o.pixelX)))return!0;s=-o.pixelY}else s=Math.abs(o.pixelX)>Math.abs(o.pixelY)?-o.pixelX*r:-o.pixelY;if(0===s)return!0;n.invert&&(s=-s);var l=i.getTranslate()+s*n.sensitivity;if(l>=i.minTranslate()&&(l=i.minTranslate()),l<=i.maxTranslate()&&(l=i.maxTranslate()),(!!i.params.loop||!(l===i.minTranslate()||l===i.maxTranslate()))&&i.params.nested&&t.stopPropagation(),i.params.freeMode){var c={time:_(),delta:Math.abs(s),direction:Math.sign(s)},d=i.mousewheel.lastEventBeforeSnap,u=d&&c.time=i.minTranslate()&&(h=i.minTranslate()),h<=i.maxTranslate()&&(h=i.maxTranslate()),i.setTransition(0),i.setTranslate(h),i.updateProgress(),i.updateActiveIndex(),i.updateSlidesClasses(),(!p&&i.isBeginning||!f&&i.isEnd)&&i.updateSlidesClasses(),i.params.freeModeSticky){clearTimeout(i.mousewheel.timeout),i.mousewheel.timeout=void 0;var g=i.mousewheel.recentWheelEvents;g.length>=15&&g.shift();var v=g.length?g[g.length-1]:void 0,y=g[0];if(g.push(c),v&&(c.delta>v.delta||c.direction!==v.direction))g.splice(0);else if(g.length>=15&&c.time-y.time<500&&y.delta-c.delta>=1&&c.delta<=6){var b=s>0?.8:.2;i.mousewheel.lastEventBeforeSnap=c,g.splice(0),i.mousewheel.timeout=w(function(){i.slideToClosest(i.params.speed,!0,void 0,b)},0)}i.mousewheel.timeout||(i.mousewheel.timeout=w(function(){i.mousewheel.lastEventBeforeSnap=c,g.splice(0),i.slideToClosest(i.params.speed,!0,void 0,.5)},500))}if(u||i.emit("scroll",t),i.params.autoplay&&i.params.autoplayDisableOnInteraction&&i.autoplay.stop(),h===i.minTranslate()||h===i.maxTranslate())return!0}}else{var T={time:_(),delta:Math.abs(s),direction:Math.sign(s),raw:e},x=i.mousewheel.recentWheelEvents;x.length>=2&&x.shift();var C=x.length?x[x.length-1]:void 0;if(x.push(T),C?(T.direction!==C.direction||T.delta>C.delta||T.time>C.time+150)&&i.mousewheel.animateSlider(T):i.mousewheel.animateSlider(T),i.mousewheel.releaseScroll(T))return!0}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1}},animateSlider:function(e){var t=this,i=o();return!(this.params.mousewheel.thresholdDelta&&e.delta=6&&_()-t.mousewheel.lastScrollTime<60)&&(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),t.emit("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),t.emit("scroll",e.raw)),t.mousewheel.lastScrollTime=(new i.Date).getTime(),1))},releaseScroll:function(e){var t=this,i=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&i.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&i.releaseOnEdges)return!0;return!1},enable:function(){var e=this,t=V.event();if(e.params.cssMode)return e.wrapperEl.removeEventListener(t,e.mousewheel.handle),!0;if(!t)return!1;if(e.mousewheel.enabled)return!1;var i=e.$el;return"container"!==e.params.mousewheel.eventsTarget&&(i=m(e.params.mousewheel.eventsTarget)),i.on("mouseenter",e.mousewheel.handleMouseEnter),i.on("mouseleave",e.mousewheel.handleMouseLeave),i.on(t,e.mousewheel.handle),e.mousewheel.enabled=!0,!0},disable:function(){var e=this,t=V.event();if(e.params.cssMode)return e.wrapperEl.addEventListener(t,e.mousewheel.handle),!0;if(!t)return!1;if(!e.mousewheel.enabled)return!1;var i=e.$el;return"container"!==e.params.mousewheel.eventsTarget&&(i=m(e.params.mousewheel.eventsTarget)),i.off(t,e.mousewheel.handle),e.mousewheel.enabled=!1,!0}},U={toggleEl:function(e,t){e[t?"addClass":"removeClass"](this.params.navigation.disabledClass),e[0]&&"BUTTON"===e[0].tagName&&(e[0].disabled=t)},update:function(){var e=this,t=e.params.navigation,i=e.navigation.toggleEl;if(!e.params.loop){var n=e.navigation,a=n.$nextEl,s=n.$prevEl;s&&s.length>0&&(e.isBeginning?i(s,!0):i(s,!1),e.params.watchOverflow&&e.enabled&&s[e.isLocked?"addClass":"removeClass"](t.lockClass)),a&&a.length>0&&(e.isEnd?i(a,!0):i(a,!1),e.params.watchOverflow&&e.enabled&&a[e.isLocked?"addClass":"removeClass"](t.lockClass))}},onPrevClick:function(e){var t=this;e.preventDefault(),t.isBeginning&&!t.params.loop||t.slidePrev()},onNextClick:function(e){var t=this;e.preventDefault(),t.isEnd&&!t.params.loop||t.slideNext()},init:function(){var e,t,i=this,n=i.params.navigation;i.params.navigation=k(i.$el,i.params.navigation,i.params.createElements,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),(n.nextEl||n.prevEl)&&(n.nextEl&&(e=m(n.nextEl),i.params.uniqueNavElements&&"string"==typeof n.nextEl&&e.length>1&&1===i.$el.find(n.nextEl).length&&(e=i.$el.find(n.nextEl))),n.prevEl&&(t=m(n.prevEl),i.params.uniqueNavElements&&"string"==typeof n.prevEl&&t.length>1&&1===i.$el.find(n.prevEl).length&&(t=i.$el.find(n.prevEl))),e&&e.length>0&&e.on("click",i.navigation.onNextClick),t&&t.length>0&&t.on("click",i.navigation.onPrevClick),S(i.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}),i.enabled||(e&&e.addClass(n.lockClass),t&&t.addClass(n.lockClass)))},destroy:function(){var e=this,t=e.navigation,i=t.$nextEl,n=t.$prevEl;i&&i.length&&(i.off("click",e.navigation.onNextClick),i.removeClass(e.params.navigation.disabledClass)),n&&n.length&&(n.off("click",e.navigation.onPrevClick),n.removeClass(e.params.navigation.disabledClass))}},G={update:function(){var e=this,t=e.rtl,i=e.params.pagination;if(i.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var n,a=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,s=e.pagination.$el,r=e.params.loop?Math.ceil((a-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?((n=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup))>a-1-2*e.loopedSlides&&(n-=a-2*e.loopedSlides),n>r-1&&(n-=r),n<0&&"bullets"!==e.params.paginationType&&(n=r+n)):n=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===i.type&&e.pagination.bullets&&e.pagination.bullets.length>0){var o,l,c,d=e.pagination.bullets;if(i.dynamicBullets&&(e.pagination.bulletSize=d.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),s.css(e.isHorizontal()?"width":"height",e.pagination.bulletSize*(i.dynamicMainBullets+4)+"px"),i.dynamicMainBullets>1&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=n-e.previousIndex,e.pagination.dynamicBulletIndex>i.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=i.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),o=n-e.pagination.dynamicBulletIndex,c=((l=o+(Math.min(d.length,i.dynamicMainBullets)-1))+o)/2),d.removeClass(i.bulletActiveClass+" "+i.bulletActiveClass+"-next "+i.bulletActiveClass+"-next-next "+i.bulletActiveClass+"-prev "+i.bulletActiveClass+"-prev-prev "+i.bulletActiveClass+"-main"),s.length>1)d.each(function(e){var t=m(e),a=t.index();a===n&&t.addClass(i.bulletActiveClass),i.dynamicBullets&&(a>=o&&a<=l&&t.addClass(i.bulletActiveClass+"-main"),a===o&&t.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),a===l&&t.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next"))});else{var u=d.eq(n),h=u.index();if(u.addClass(i.bulletActiveClass),i.dynamicBullets){for(var p=d.eq(o),f=d.eq(l),g=o;g<=l;g+=1)d.eq(g).addClass(i.bulletActiveClass+"-main");if(e.params.loop)if(h>=d.length-i.dynamicMainBullets){for(var v=i.dynamicMainBullets;v>=0;v-=1)d.eq(d.length-v).addClass(i.bulletActiveClass+"-main");d.eq(d.length-i.dynamicMainBullets-1).addClass(i.bulletActiveClass+"-prev")}else p.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),f.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next");else p.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),f.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next")}}if(i.dynamicBullets){var y=Math.min(d.length,i.dynamicMainBullets+4),b=(e.pagination.bulletSize*y-e.pagination.bulletSize)/2-c*e.pagination.bulletSize,w=t?"right":"left";d.css(e.isHorizontal()?w:"top",b+"px")}}if("fraction"===i.type&&(s.find(P(i.currentClass)).text(i.formatFractionCurrent(n+1)),s.find(P(i.totalClass)).text(i.formatFractionTotal(r))),"progressbar"===i.type){var _;_=i.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";var T=(n+1)/r,x=1,C=1;"horizontal"===_?x=T:C=T,s.find(P(i.progressbarFillClass)).transform("translate3d(0,0,0) scaleX("+x+") scaleY("+C+")").transition(e.params.speed)}"custom"===i.type&&i.renderCustom?(s.html(i.renderCustom(e,n+1,r)),e.emit("paginationRender",s[0])):e.emit("paginationUpdate",s[0]),e.params.watchOverflow&&e.enabled&&s[e.isLocked?"addClass":"removeClass"](i.lockClass)}},render:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var i=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,n=e.pagination.$el,a="";if("bullets"===t.type){var s=e.params.loop?Math.ceil((i-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&!e.params.loop&&s>i&&(s=i);for(var r=0;r";n.html(a),e.pagination.bullets=n.find(P(t.bulletClass))}"fraction"===t.type&&(a=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):' / ',n.html(a)),"progressbar"===t.type&&(a=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'',n.html(a)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])}},init:function(){var e=this;e.params.pagination=k(e.$el,e.params.pagination,e.params.createElements,{el:"swiper-pagination"});var t=e.params.pagination;if(t.el){var i=m(t.el);0!==i.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&i.length>1&&(i=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&i.addClass(t.clickableClass),i.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(i.addClass(""+t.modifierClass+t.type+"-dynamic"),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&i.addClass(t.progressbarOppositeClass),t.clickable&&i.on("click",P(t.bulletClass),function(t){t.preventDefault();var i=m(this).index()*e.params.slidesPerGroup;e.params.loop&&(i+=e.loopedSlides),e.slideTo(i)}),S(e.pagination,{$el:i,el:i[0]}),e.enabled||i.addClass(t.lockClass))}},destroy:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var i=e.pagination.$el;i.removeClass(t.hiddenClass),i.removeClass(t.modifierClass+t.type),e.pagination.bullets&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&i.off("click",P(t.bulletClass))}}},X={setTranslate:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,i=e.rtlTranslate,n=e.progress,a=t.dragSize,s=t.trackSize,r=t.$dragEl,o=t.$el,l=e.params.scrollbar,c=a,d=(s-a)*n;i?(d=-d)>0?(c=a-d,d=0):-d+a>s&&(c=s+d):d<0?(c=a+d,d=0):d+a>s&&(c=s-d),e.isHorizontal()?(r.transform("translate3d("+d+"px, 0, 0)"),r[0].style.width=c+"px"):(r.transform("translate3d(0px, "+d+"px, 0)"),r[0].style.height=c+"px"),l.hide&&(clearTimeout(e.scrollbar.timeout),o[0].style.opacity=1,e.scrollbar.timeout=setTimeout(function(){o[0].style.opacity=0,o.transition(400)},1e3))}},setTransition:function(e){var t=this;t.params.scrollbar.el&&t.scrollbar.el&&t.scrollbar.$dragEl.transition(e)},updateSize:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,i=t.$dragEl,n=t.$el;i[0].style.width="",i[0].style.height="";var a,s=e.isHorizontal()?n[0].offsetWidth:n[0].offsetHeight,r=e.size/e.virtualSize,o=r*(s/e.size);a="auto"===e.params.scrollbar.dragSize?s*r:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?i[0].style.width=a+"px":i[0].style.height=a+"px",n[0].style.display=r>=1?"none":"",e.params.scrollbar.hide&&(n[0].style.opacity=0),S(t,{trackSize:s,divider:r,moveDivider:o,dragSize:a}),e.params.watchOverflow&&e.enabled&&t.$el[e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)}},getPointerPosition:function(e){return this.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientX:e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientY:e.clientY},setDragPosition:function(e){var t,i=this,n=i.scrollbar,a=i.rtlTranslate,s=n.$el,r=n.dragSize,o=n.trackSize,l=n.dragStartPos;t=(n.getPointerPosition(e)-s.offset()[i.isHorizontal()?"left":"top"]-(null!==l?l:r/2))/(o-r),t=Math.max(Math.min(t,1),0),a&&(t=1-t);var c=i.minTranslate()+(i.maxTranslate()-i.minTranslate())*t;i.updateProgress(c),i.setTranslate(c),i.updateActiveIndex(),i.updateSlidesClasses()},onDragStart:function(e){var t=this,i=t.params.scrollbar,n=t.scrollbar,a=t.$wrapperEl,s=n.$el,r=n.$dragEl;t.scrollbar.isTouched=!0,t.scrollbar.dragStartPos=e.target===r[0]||e.target===r?n.getPointerPosition(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),a.transition(100),r.transition(100),n.setDragPosition(e),clearTimeout(t.scrollbar.dragTimeout),s.transition(0),i.hide&&s.css("opacity",1),t.params.cssMode&&t.$wrapperEl.css("scroll-snap-type","none"),t.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this,i=t.scrollbar,n=t.$wrapperEl,a=i.$el,s=i.$dragEl;t.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,i.setDragPosition(e),n.transition(0),a.transition(0),s.transition(0),t.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this,i=t.params.scrollbar,n=t.scrollbar,a=t.$wrapperEl,s=n.$el;t.scrollbar.isTouched&&(t.scrollbar.isTouched=!1,t.params.cssMode&&(t.$wrapperEl.css("scroll-snap-type",""),a.transition("")),i.hide&&(clearTimeout(t.scrollbar.dragTimeout),t.scrollbar.dragTimeout=w(function(){s.css("opacity",0),s.transition(400)},1e3)),t.emit("scrollbarDragEnd",e),i.snapOnRelease&&t.slideToClosest())},enableDraggable:function(){var e=this;if(e.params.scrollbar.el){var t=s(),i=e.scrollbar,n=e.touchEventsTouch,a=e.touchEventsDesktop,r=e.params,o=e.support,l=i.$el[0],c=!(!o.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},d=!(!o.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};l&&(o.touch?(l.addEventListener(n.start,e.scrollbar.onDragStart,c),l.addEventListener(n.move,e.scrollbar.onDragMove,c),l.addEventListener(n.end,e.scrollbar.onDragEnd,d)):(l.addEventListener(a.start,e.scrollbar.onDragStart,c),t.addEventListener(a.move,e.scrollbar.onDragMove,c),t.addEventListener(a.end,e.scrollbar.onDragEnd,d)))}},disableDraggable:function(){var e=this;if(e.params.scrollbar.el){var t=s(),i=e.scrollbar,n=e.touchEventsTouch,a=e.touchEventsDesktop,r=e.params,o=e.support,l=i.$el[0],c=!(!o.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},d=!(!o.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};l&&(o.touch?(l.removeEventListener(n.start,e.scrollbar.onDragStart,c),l.removeEventListener(n.move,e.scrollbar.onDragMove,c),l.removeEventListener(n.end,e.scrollbar.onDragEnd,d)):(l.removeEventListener(a.start,e.scrollbar.onDragStart,c),t.removeEventListener(a.move,e.scrollbar.onDragMove,c),t.removeEventListener(a.end,e.scrollbar.onDragEnd,d)))}},init:function(){var e=this,t=e.scrollbar,i=e.$el;e.params.scrollbar=k(i,e.params.scrollbar,e.params.createElements,{el:"swiper-scrollbar"});var n=e.params.scrollbar;if(n.el){var a=m(n.el);e.params.uniqueNavElements&&"string"==typeof n.el&&a.length>1&&1===i.find(n.el).length&&(a=i.find(n.el));var s=a.find("."+e.params.scrollbar.dragClass);0===s.length&&(s=m('
    '),a.append(s)),S(t,{$el:a,el:a[0],$dragEl:s,dragEl:s[0]}),n.draggable&&t.enableDraggable(),a&&a[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)}},destroy:function(){this.scrollbar.disableDraggable()}},K={setTransform:function(e,t){var i=this.rtl,n=m(e),a=i?-1:1,s=n.attr("data-swiper-parallax")||"0",r=n.attr("data-swiper-parallax-x"),o=n.attr("data-swiper-parallax-y"),l=n.attr("data-swiper-parallax-scale"),c=n.attr("data-swiper-parallax-opacity");if(r||o?(r=r||"0",o=o||"0"):this.isHorizontal()?(r=s,o="0"):(o=s,r="0"),r=r.indexOf("%")>=0?parseInt(r,10)*t*a+"%":r*t*a+"px",o=o.indexOf("%")>=0?parseInt(o,10)*t+"%":o*t+"px",null!=c){var d=c-(c-1)*(1-Math.abs(t));n[0].style.opacity=d}if(null==l)n.transform("translate3d("+r+", "+o+", 0px)");else{var u=l-(l-1)*(1-Math.abs(t));n.transform("translate3d("+r+", "+o+", 0px) scale("+u+")")}},setTranslate:function(){var e=this,t=e.$el,i=e.slides,n=e.progress,a=e.snapGrid;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(t){e.parallax.setTransform(t,n)}),i.each(function(t,i){var s=t.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(s+=Math.ceil(i/2)-n*(a.length-1)),s=Math.min(Math.max(s,-1),1),m(t).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(t){e.parallax.setTransform(t,s)})})},setTransition:function(e){void 0===e&&(e=this.params.speed),this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(t){var i=m(t),n=parseInt(i.attr("data-swiper-parallax-duration"),10)||e;0===e&&(n=0),i.transition(n)})}},Z={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,i=e.targetTouches[0].pageY,n=e.targetTouches[1].pageX,a=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(n-t,2)+Math.pow(a-i,2))},onGestureStart:function(e){var t=this,i=t.support,n=t.params.zoom,a=t.zoom,s=a.gesture;if(a.fakeGestureTouched=!1,a.fakeGestureMoved=!1,!i.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;a.fakeGestureTouched=!0,s.scaleStart=Z.getDistanceBetweenTouches(e)}s.$slideEl&&s.$slideEl.length||(s.$slideEl=m(e.target).closest("."+t.params.slideClass),0===s.$slideEl.length&&(s.$slideEl=t.slides.eq(t.activeIndex)),s.$imageEl=s.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),s.$imageWrapEl=s.$imageEl.parent("."+n.containerClass),s.maxRatio=s.$imageWrapEl.attr("data-swiper-zoom")||n.maxRatio,0!==s.$imageWrapEl.length)?(s.$imageEl&&s.$imageEl.transition(0),t.zoom.isScaling=!0):s.$imageEl=void 0},onGestureChange:function(e){var t=this,i=t.support,n=t.params.zoom,a=t.zoom,s=a.gesture;if(!i.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;a.fakeGestureMoved=!0,s.scaleMove=Z.getDistanceBetweenTouches(e)}s.$imageEl&&0!==s.$imageEl.length?(i.gestures?a.scale=e.scale*a.currentScale:a.scale=s.scaleMove/s.scaleStart*a.currentScale,a.scale>s.maxRatio&&(a.scale=s.maxRatio-1+Math.pow(a.scale-s.maxRatio+1,.5)),a.scalea.touchesStart.x))return void(a.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(a.minY)===Math.floor(a.startY)&&a.touchesCurrent.ya.touchesStart.y))return void(a.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),a.isMoved=!0,a.currentX=a.touchesCurrent.x-a.touchesStart.x+a.startX,a.currentY=a.touchesCurrent.y-a.touchesStart.y+a.startY,a.currentXa.maxX&&(a.currentX=a.maxX-1+Math.pow(a.currentX-a.maxX+1,.8)),a.currentYa.maxY&&(a.currentY=a.maxY-1+Math.pow(a.currentY-a.maxY+1,.8)),s.prevPositionX||(s.prevPositionX=a.touchesCurrent.x),s.prevPositionY||(s.prevPositionY=a.touchesCurrent.y),s.prevTime||(s.prevTime=Date.now()),s.x=(a.touchesCurrent.x-s.prevPositionX)/(Date.now()-s.prevTime)/2,s.y=(a.touchesCurrent.y-s.prevPositionY)/(Date.now()-s.prevTime)/2,Math.abs(a.touchesCurrent.x-s.prevPositionX)<2&&(s.x=0),Math.abs(a.touchesCurrent.y-s.prevPositionY)<2&&(s.y=0),s.prevPositionX=a.touchesCurrent.x,s.prevPositionY=a.touchesCurrent.y,s.prevTime=Date.now(),n.$imageWrapEl.transform("translate3d("+a.currentX+"px, "+a.currentY+"px,0)")}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,i=e.image,n=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!i.isTouched||!i.isMoved)return i.isTouched=!1,void(i.isMoved=!1);i.isTouched=!1,i.isMoved=!1;var a=300,s=300,r=n.x*a,o=i.currentX+r,l=n.y*s,c=i.currentY+l;0!==n.x&&(a=Math.abs((o-i.currentX)/n.x)),0!==n.y&&(s=Math.abs((c-i.currentY)/n.y));var d=Math.max(a,s);i.currentX=o,i.currentY=c;var u=i.width*e.scale,h=i.height*e.scale;i.minX=Math.min(t.slideWidth/2-u/2,0),i.maxX=-i.minX,i.minY=Math.min(t.slideHeight/2-h/2,0),i.maxY=-i.minY,i.currentX=Math.max(Math.min(i.currentX,i.maxX),i.minX),i.currentY=Math.max(Math.min(i.currentY,i.maxY),i.minY),t.$imageWrapEl.transition(d).transform("translate3d("+i.currentX+"px, "+i.currentY+"px,0)")}},onTransitionEnd:function(){var e=this,t=e.zoom,i=t.gesture;i.$slideEl&&e.previousIndex!==e.activeIndex&&(i.$imageEl&&i.$imageEl.transform("translate3d(0,0,0) scale(1)"),i.$imageWrapEl&&i.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,t.currentScale=1,i.$slideEl=void 0,i.$imageEl=void 0,i.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,i,n,a,s,r,l,c,d,u,h,p,f,g,v,y,b=this,w=o(),_=b.zoom,T=b.params.zoom,x=_.gesture,C=_.image;x.$slideEl||(e&&e.target&&(x.$slideEl=m(e.target).closest("."+b.params.slideClass)),x.$slideEl||(b.params.virtual&&b.params.virtual.enabled&&b.virtual?x.$slideEl=b.$wrapperEl.children("."+b.params.slideActiveClass):x.$slideEl=b.slides.eq(b.activeIndex)),x.$imageEl=x.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),x.$imageWrapEl=x.$imageEl.parent("."+T.containerClass)),x.$imageEl&&0!==x.$imageEl.length&&x.$imageWrapEl&&0!==x.$imageWrapEl.length&&(x.$slideEl.addClass(""+T.zoomedSlideClass),void 0===C.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,i="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=C.touchesStart.x,i=C.touchesStart.y),_.scale=x.$imageWrapEl.attr("data-swiper-zoom")||T.maxRatio,_.currentScale=x.$imageWrapEl.attr("data-swiper-zoom")||T.maxRatio,e?(v=x.$slideEl[0].offsetWidth,y=x.$slideEl[0].offsetHeight,n=x.$slideEl.offset().left+w.scrollX+v/2-t,a=x.$slideEl.offset().top+w.scrollY+y/2-i,l=x.$imageEl[0].offsetWidth,c=x.$imageEl[0].offsetHeight,d=l*_.scale,u=c*_.scale,f=-(h=Math.min(v/2-d/2,0)),g=-(p=Math.min(y/2-u/2,0)),(s=n*_.scale)f&&(s=f),(r=a*_.scale)g&&(r=g)):(s=0,r=0),x.$imageWrapEl.transition(300).transform("translate3d("+s+"px, "+r+"px,0)"),x.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+_.scale+")"))},out:function(){var e=this,t=e.zoom,i=e.params.zoom,n=t.gesture;n.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?n.$slideEl=e.$wrapperEl.children("."+e.params.slideActiveClass):n.$slideEl=e.slides.eq(e.activeIndex),n.$imageEl=n.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),n.$imageWrapEl=n.$imageEl.parent("."+i.containerClass)),n.$imageEl&&0!==n.$imageEl.length&&n.$imageWrapEl&&0!==n.$imageWrapEl.length&&(t.scale=1,t.currentScale=1,n.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),n.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),n.$slideEl.removeClass(""+i.zoomedSlideClass),n.$slideEl=void 0)},toggleGestures:function(e){var t=this,i=t.zoom,n=i.slideSelector,a=i.passiveListener;t.$wrapperEl[e]("gesturestart",n,i.onGestureStart,a),t.$wrapperEl[e]("gesturechange",n,i.onGestureChange,a),t.$wrapperEl[e]("gestureend",n,i.onGestureEnd,a)},enableGestures:function(){this.zoom.gesturesEnabled||(this.zoom.gesturesEnabled=!0,this.zoom.toggleGestures("on"))},disableGestures:function(){this.zoom.gesturesEnabled&&(this.zoom.gesturesEnabled=!1,this.zoom.toggleGestures("off"))},enable:function(){var e=this,t=e.support,i=e.zoom;if(!i.enabled){i.enabled=!0;var n=!("touchstart"!==e.touchEvents.start||!t.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},a=!t.passiveListener||{passive:!1,capture:!0},s="."+e.params.slideClass;e.zoom.passiveListener=n,e.zoom.slideSelector=s,t.gestures?(e.$wrapperEl.on(e.touchEvents.start,e.zoom.enableGestures,n),e.$wrapperEl.on(e.touchEvents.end,e.zoom.disableGestures,n)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,s,i.onGestureStart,n),e.$wrapperEl.on(e.touchEvents.move,s,i.onGestureChange,a),e.$wrapperEl.on(e.touchEvents.end,s,i.onGestureEnd,n),e.touchEvents.cancel&&e.$wrapperEl.on(e.touchEvents.cancel,s,i.onGestureEnd,n)),e.$wrapperEl.on(e.touchEvents.move,"."+e.params.zoom.containerClass,i.onTouchMove,a)}},disable:function(){var e=this,t=e.zoom;if(t.enabled){var i=e.support;e.zoom.enabled=!1;var n=!("touchstart"!==e.touchEvents.start||!i.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},a=!i.passiveListener||{passive:!1,capture:!0},s="."+e.params.slideClass;i.gestures?(e.$wrapperEl.off(e.touchEvents.start,e.zoom.enableGestures,n),e.$wrapperEl.off(e.touchEvents.end,e.zoom.disableGestures,n)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,s,t.onGestureStart,n),e.$wrapperEl.off(e.touchEvents.move,s,t.onGestureChange,a),e.$wrapperEl.off(e.touchEvents.end,s,t.onGestureEnd,n),e.touchEvents.cancel&&e.$wrapperEl.off(e.touchEvents.cancel,s,t.onGestureEnd,n)),e.$wrapperEl.off(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove,a)}}},J={loadInSlide:function(e,t){void 0===t&&(t=!0);var i=this,n=i.params.lazy;if(void 0!==e&&0!==i.slides.length){var a=i.virtual&&i.params.virtual.enabled?i.$wrapperEl.children("."+i.params.slideClass+'[data-swiper-slide-index="'+e+'"]'):i.slides.eq(e),s=a.find("."+n.elementClass+":not(."+n.loadedClass+"):not(."+n.loadingClass+")");!a.hasClass(n.elementClass)||a.hasClass(n.loadedClass)||a.hasClass(n.loadingClass)||s.push(a[0]),0!==s.length&&s.each(function(e){var s=m(e);s.addClass(n.loadingClass);var r=s.attr("data-background"),o=s.attr("data-src"),l=s.attr("data-srcset"),c=s.attr("data-sizes"),d=s.parent("picture");i.loadImage(s[0],o||r,l,c,!1,function(){if(null!=i&&i&&(!i||i.params)&&!i.destroyed){if(r?(s.css("background-image",'url("'+r+'")'),s.removeAttr("data-background")):(l&&(s.attr("srcset",l),s.removeAttr("data-srcset")),c&&(s.attr("sizes",c),s.removeAttr("data-sizes")),d.length&&d.children("source").each(function(e){var t=m(e);t.attr("data-srcset")&&(t.attr("srcset",t.attr("data-srcset")),t.removeAttr("data-srcset"))}),o&&(s.attr("src",o),s.removeAttr("data-src"))),s.addClass(n.loadedClass).removeClass(n.loadingClass),a.find("."+n.preloaderClass).remove(),i.params.loop&&t){var e=a.attr("data-swiper-slide-index");if(a.hasClass(i.params.slideDuplicateClass)){var u=i.$wrapperEl.children('[data-swiper-slide-index="'+e+'"]:not(.'+i.params.slideDuplicateClass+")");i.lazy.loadInSlide(u.index(),!1)}else{var h=i.$wrapperEl.children("."+i.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]');i.lazy.loadInSlide(h.index(),!1)}}i.emit("lazyImageReady",a[0],s[0]),i.params.autoHeight&&i.updateAutoHeight()}}),i.emit("lazyImageLoad",a[0],s[0])})}},load:function(){var e=this,t=e.$wrapperEl,i=e.params,n=e.slides,a=e.activeIndex,s=e.virtual&&i.virtual.enabled,r=i.lazy,o=i.slidesPerView;function l(e){if(s){if(t.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return!0}else if(n[e])return!0;return!1}function c(e){return s?m(e).attr("data-swiper-slide-index"):m(e).index()}if("auto"===o&&(o=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children("."+i.slideVisibleClass).each(function(t){var i=s?m(t).attr("data-swiper-slide-index"):m(t).index();e.lazy.loadInSlide(i)});else if(o>1)for(var d=a;d1||r.loadPrevNextAmount&&r.loadPrevNextAmount>1){for(var u=r.loadPrevNextAmount,h=o,p=Math.min(a+h+Math.max(u,h),n.length),f=Math.max(a-Math.max(h,u),0),g=a+o;g0&&e.lazy.loadInSlide(c(y));var b=t.children("."+i.slidePrevClass);b.length>0&&e.lazy.loadInSlide(c(b))}},checkInViewOnLoad:function(){var e=o(),t=this;if(t&&!t.destroyed){var i=t.params.lazy.scrollingElement?m(t.params.lazy.scrollingElement):m(e),n=i[0]===e,a=n?e.innerWidth:i[0].offsetWidth,s=n?e.innerHeight:i[0].offsetHeight,r=t.$el.offset(),l=!1;t.rtlTranslate&&(r.left-=t.$el[0].scrollLeft);for(var c=[[r.left,r.top],[r.left+t.width,r.top],[r.left,r.top+t.height],[r.left+t.width,r.top+t.height]],d=0;d=0&&u[0]<=a&&u[1]>=0&&u[1]<=s){if(0===u[0]&&0===u[1])continue;l=!0}}var h=!("touchstart"!==t.touchEvents.start||!t.support.passiveListener||!t.params.passiveListeners)&&{passive:!0,capture:!1};l?(t.lazy.load(),i.off("scroll",t.lazy.checkInViewOnLoad,h)):t.lazy.scrollHandlerAttached||(t.lazy.scrollHandlerAttached=!0,i.on("scroll",t.lazy.checkInViewOnLoad,h))}}},ee={LinearSpline:function(e,t){var i,n,a,s,r;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(r=function(e,t){for(n=-1,i=e.length;i-n>1;)e[a=i+n>>1]<=t?n=a:i=a;return i}(this.x,e),s=r-1,(e-this.x[s])*(this.y[r]-this.y[s])/(this.x[r]-this.x[s])+this.y[s]):0},this},getInterpolateFunction:function(e){var t=this;t.controller.spline||(t.controller.spline=t.params.loop?new ee.LinearSpline(t.slidesGrid,e.slidesGrid):new ee.LinearSpline(t.snapGrid,e.snapGrid))},setTranslate:function(e,t){var i,n,a=this,s=a.controller.control,r=a.constructor;function o(e){var t=a.rtlTranslate?-a.translate:a.translate;"slide"===a.params.controller.by&&(a.controller.getInterpolateFunction(e),n=-a.controller.spline.interpolate(-t)),n&&"container"!==a.params.controller.by||(i=(e.maxTranslate()-e.minTranslate())/(a.maxTranslate()-a.minTranslate()),n=(t-a.minTranslate())*i+e.minTranslate()),a.params.controller.inverse&&(n=e.maxTranslate()-n),e.updateProgress(n),e.setTranslate(n,a),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(s))for(var l=0;l0&&(e.isBeginning?(e.a11y.disableEl(n),e.a11y.makeElNotFocusable(n)):(e.a11y.enableEl(n),e.a11y.makeElFocusable(n))),i&&i.length>0&&(e.isEnd?(e.a11y.disab