window.scwDisableJsAJAX=!0,function(a){"function"==typeof define&&define.amd?define(["jquery"],function(b){return a(b)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){function c(a){var c=7.5625,b=2.75;return a<1/b?c*a*a:a<2/b?c*(a-=1.5/b)*a+.75:a<2.5/b?c*(a-=2.25/b)*a+.9375:c*(a-=2.625/b)*a+.984375}void 0!==a.easing&&(a.easing.jswing=a.easing.swing);var e=Math.pow,f=Math.sqrt,g=Math.sin,h=Math.cos,b=Math.PI,d=1.70158,i=1.525*d,j=2*b/3,k=2*b/4.5;return a.extend(a.easing,{def:"easeOutQuad",swing:function(b){return a.easing[a.easing.def](b)},easeInQuad:function(a){return a*a},easeOutQuad:function(a){return 1-(1-a)*(1-a)},easeInOutQuad:function(a){return a<.5?2*a*a:1-e(-2*a+2,2)/2},easeInCubic:function(a){return a*a*a},easeOutCubic:function(a){return 1-e(1-a,3)},easeInOutCubic:function(a){return a<.5?4*a*a*a:1-e(-2*a+2,3)/2},easeInQuart:function(a){return a*a*a*a},easeOutQuart:function(a){return 1-e(1-a,4)},easeInOutQuart:function(a){return a<.5?8*a*a*a*a:1-e(-2*a+2,4)/2},easeInQuint:function(a){return a*a*a*a*a},easeOutQuint:function(a){return 1-e(1-a,5)},easeInOutQuint:function(a){return a<.5?16*a*a*a*a*a:1-e(-2*a+2,5)/2},easeInSine:function(a){return 1-h(a*b/2)},easeOutSine:function(a){return g(a*b/2)},easeInOutSine:function(a){return-(h(b*a)-1)/2},easeInExpo:function(a){return 0===a?0:e(2,10*a-10)},easeOutExpo:function(a){return 1===a?1:1-e(2,-10*a)},easeInOutExpo:function(a){return 0===a?0:1===a?1:a<.5?e(2,20*a-10)/2:(2-e(2,-20*a+10))/2},easeInCirc:function(a){return 1-f(1-e(a,2))},easeOutCirc:function(a){return f(1-e(a-1,2))},easeInOutCirc:function(a){return a<.5?(1-f(1-e(2*a,2)))/2:(f(1-e(-2*a+2,2))+1)/2},easeInElastic:function(a){return 0===a?0:1===a?1:-e(2,10*a-10)*g((10*a-10.75)*j)},easeOutElastic:function(a){return 0===a?0:1===a?1:e(2,-10*a)*g((10*a-.75)*j)+1},easeInOutElastic:function(a){return 0===a?0:1===a?1:a<.5?-e(2,20*a-10)*g((20*a-11.125)*k)/2:e(2,-20*a+10)*g((20*a-11.125)*k)/2+1},easeInBack:function(a){return 2.70158*a*a*a-d*a*a},easeOutBack:function(a){return 1+2.70158*e(a-1,3)+d*e(a-1,2)},easeInOutBack:function(a){return a<.5?e(2*a,2)*(7.189819*a-i)/2:(e(2*a-2,2)*((i+1)*(2*a-2)+i)+2)/2},easeInBounce:function(a){return 1-c(1-a)},easeOutBounce:c,easeInOutBounce:function(a){return a<.5?(1-c(1-2*a))/2:(1+c(2*a-1))/2}}),a}),function(b,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a():"function"==typeof define&&define.amd?define(a):(b="undefined"!=typeof globalThis?globalThis:b||self).bootstrap=a()}(this,function(){"use strict";let ao="transitionend",ap=c=>{let b=c.getAttribute("data-bs-target");if(!b||"#"===b){let a=c.getAttribute("href");if(!a|| !a.includes("#")&&!a.startsWith("."))return null;a.includes("#")&&!a.startsWith("#")&&(a=`#${a.split("#")[1]}`),b=a&&"#"!==a?a.trim():null}return b},aq=b=>{let a=ap(b);return a&&document.querySelector(a)?a:null},ar=b=>{let a=ap(b);return a?document.querySelector(a):null},as=a=>{a.dispatchEvent(new Event(ao))},at=a=>!(!a||"object"!=typeof a)&&(void 0!==a.jquery&&(a=a[0]),void 0!==a.nodeType),au=a=>at(a)?a.jquery?a[0]:a:"string"==typeof a&&a.length>0?document.querySelector(a):null,av=a=>{if(!at(a)||0===a.getClientRects().length)return!1;let d="visible"===getComputedStyle(a).getPropertyValue("visibility"),b=a.closest("details:not([open])");if(!b)return d;if(b!==a){let c=a.closest("summary");if(c&&c.parentNode!==b||null===c)return!1}return d},aw=a=>!a||a.nodeType!==Node.ELEMENT_NODE||!!a.classList.contains("disabled")||(void 0!==a.disabled?a.disabled:a.hasAttribute("disabled")&&"false"!==a.getAttribute("disabled")),ax=a=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof a.getRootNode){let b=a.getRootNode();return b instanceof ShadowRoot?b:null}return a instanceof ShadowRoot?a:a.parentNode?ax(a.parentNode):null},ay=()=>{},az=a=>{a.offsetHeight},aA=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,aB=[],d=()=>"rtl"===document.documentElement.dir,b=b=>{var a;a=()=>{let a=aA();if(a){let c=b.NAME,d=a.fn[c];a.fn[c]=b.jQueryInterface,a.fn[c].Constructor=b,a.fn[c].noConflict=()=>(a.fn[c]=d,b.jQueryInterface)}},"loading"===document.readyState?(aB.length||document.addEventListener("DOMContentLoaded",()=>{for(let a of aB)a()}),aB.push(a)):a()},aC=a=>{"function"==typeof a&&a()},_=(b,a,c=!0)=>{if(!c)return void aC(b);let d=(c=>{if(!c)return 0;let{transitionDuration:a,transitionDelay:b}=window.getComputedStyle(c),d=Number.parseFloat(a),e=Number.parseFloat(b);return d||e?(a=a.split(",")[0],b=b.split(",")[0],1e3*(Number.parseFloat(a)+Number.parseFloat(b))):0})(a)+5,f=!1,e=({target:c})=>{c===a&&(f=!0,a.removeEventListener(ao,e),aC(b))};a.addEventListener(ao,e),setTimeout(()=>{f||as(a)},d)},aD=(a,f,d,e)=>{let c=a.length,b=a.indexOf(f);return -1===b?!d&&e?a[c-1]:a[0]:(b+=d?1:-1,e&&(b=(b+c)%c),a[Math.max(0,Math.min(b,c-1))])},aE=/[^.]*(?=\..*)\.|.*/,aF=/\..*/,aG=/::\d+$/,aH={},aI=1,aJ={mouseenter:"mouseover",mouseleave:"mouseout"},aK=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 aL(b,a){return a&&`${a}::${aI++}`||b.uidEvent||aI++}function aM(b){let a=aL(b);return b.uidEvent=a,aH[a]=aH[a]||{},aH[a]}function aN(a,b,c=null){return Object.values(a).find(a=>a.originalHandler===b&&a.delegationSelector===c)}function aO(b,c,e){let d="string"==typeof c,f=d?e:c,a=aS(b);return aK.has(a)||(a=b),[d,f,a]}function aP(e,f,b,c,k){var p,q,r,s,t;if("string"!=typeof f||!e)return;if(b||(b=c,c=null),f in aJ){let l=a=>function(b){if(!b.relatedTarget||b.relatedTarget!==b.delegateTarget&&!b.delegateTarget.contains(b.relatedTarget))return a.call(this,b)};c?c=l(c):b=l(b)}let[g,h,i]=aO(f,b,c),m=aM(e),n=m[i]||(m[i]={}),j=aN(n,h,g?b:null);if(j)return void(j.oneOff=j.oneOff&&k);let o=aL(h,f.replace(aE,"")),d=g?(p=e,q=b,r=c,function d(c){let e=p.querySelectorAll(q);for(let{target:b}=c;b&&b!==this;b=b.parentNode)for(let f of e)if(f===b)return c.delegateTarget=b,d.oneOff&&a.off(p,c.type,q,r),r.apply(b,[c])}):(s=e,t=b,function c(b){return b.delegateTarget=s,c.oneOff&&a.off(s,b.type,t),t.apply(s,[b])});d.delegationSelector=g?b:null,d.originalHandler=h,d.oneOff=k,d.uidEvent=o,n[o]=d,e.addEventListener(i,d,g)}function aQ(e,c,a,f,d){let b=aN(c[a],f,d);b&&(e.removeEventListener(a,b,Boolean(d)),delete c[a][b.uidEvent])}function aR(f,a,b,g){let c=a[b]||{};for(let d of Object.keys(c))if(d.includes(g)){let e=c[d];aQ(f,a,b,e.originalHandler,e.delegationSelector)}}function aS(a){return aJ[a=a.replace(aF,"")]||a}let a={on(a,b,c,d){aP(a,b,c,d,!1)},one(a,b,c,d){aP(a,b,c,d,!0)},off(c,b,e,j){if("string"!=typeof b||!c)return;let[k,f,d]=aO(b,e,j),l=d!==b,a=aM(c),m=b.startsWith(".");if(void 0!==f){if(!a||!a[d])return;return void aQ(c,a,d,f,k?e:null)}if(m)for(let n of Object.keys(a))aR(c,a,n,b.slice(1));let g=a[d]||{};for(let h of Object.keys(g)){let o=h.replace(aG,"");if(!l||b.includes(o)){let i=g[h];aQ(c,a,d,i.originalHandler,i.delegationSelector)}}},trigger(d,b,e){if("string"!=typeof b||!d)return null;let f=aA(),a=null,g=!0,h=!0,i=!1;b!==aS(b)&&f&&(a=f.Event(b,e),f(d).trigger(a),g=!a.isPropagationStopped(),h=!a.isImmediatePropagationStopped(),i=a.isDefaultPrevented());let c=new Event(b,{bubbles:g,cancelable:!0});if(void 0!==e)for(let j of Object.keys(e))Object.defineProperty(c,j,{get:()=>e[j]});return i&&c.preventDefault(),h&&d.dispatchEvent(c),c.defaultPrevented&&a&&a.preventDefault(),c}},aT=new Map,aU={set(b,c,d){aT.has(b)||aT.set(b,new Map);let a=aT.get(b);a.has(c)||0===a.size?a.set(c,d):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(a.keys())[0]}.`)},get:(a,b)=>aT.has(a)&&aT.get(a).get(b)||null,remove(a,c){if(!aT.has(a))return;let b=aT.get(a);b.delete(c),0===b.size&&aT.delete(a)}};function aV(a){if("true"===a)return!0;if("false"===a)return!1;if(a===Number(a).toString())return Number(a);if(""===a||"null"===a)return null;if("string"!=typeof a)return a;try{return JSON.parse(decodeURIComponent(a))}catch(b){return a}}function $(a){return a.replace(/[A-Z]/g,a=>`-${a.toLowerCase()}`)}let aW={setDataAttribute(a,b,c){a.setAttribute(`data-bs-${$(b)}`,c)},removeDataAttribute(a,b){a.removeAttribute(`data-bs-${$(b)}`)},getDataAttributes(b){if(!b)return{};let c={},e=Object.keys(b.dataset).filter(a=>a.startsWith("bs")&&!a.startsWith("bsConfig"));for(let d of e){let a=d.replace(/^bs/,"");c[a=a.charAt(0).toLowerCase()+a.slice(1,a.length)]=aV(b.dataset[d])}return c},getDataAttribute:(a,b)=>aV(a.getAttribute(`data-bs-${$(b)}`))};class f{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(a){return a=this._mergeConfigObj(a),a=this._configAfterMerge(a),this._typeCheckConfig(a),a}_configAfterMerge(a){return a}_mergeConfigObj(b,a){let c=at(a)?aW.getDataAttribute(a,"config"):{};return{...this.constructor.Default,..."object"==typeof c?c:{},...at(a)?aW.getDataAttributes(a):{},..."object"==typeof b?b:{}}}_typeCheckConfig(g,c=this.constructor.DefaultType){var a;for(let b of Object.keys(c)){let d=c[b],e=g[b],f=at(e)?"element":null==(a=e)?`${a}`:Object.prototype.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(d).test(f))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${b}" provided type "${f}" but expected type "${d}".`)}}}class c extends f{constructor(a,b){super(),(a=au(a))&&(this._element=a,this._config=this._getConfig(b),aU.set(this._element,this.constructor.DATA_KEY,this))}dispose(){for(let b of(aU.remove(this._element,this.constructor.DATA_KEY),a.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this)))this[b]=null}_queueCallback(a,b,c=!0){_(a,b,c)}_getConfig(a){return a=this._mergeConfigObj(a,this._element),a=this._configAfterMerge(a),this._typeCheckConfig(a),a}static getInstance(a){return aU.get(au(a),this.DATA_KEY)}static getOrCreateInstance(a,b={}){return this.getInstance(a)||new this(a,"object"==typeof b?b:null)}static get VERSION(){return"5.2.0-beta1"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(a){return`${a}${this.EVENT_KEY}`}}let h=(b,e="hide")=>{let c=`click.dismiss${b.EVENT_KEY}`,d=b.NAME;a.on(document,c,`[data-bs-dismiss="${d}"]`,function(a){if(["A","AREA"].includes(this.tagName)&&a.preventDefault(),aw(this))return;let c=ar(this)||this.closest(`.${d}`);b.getOrCreateInstance(c)[e]()})};class j extends c{static get NAME(){return"alert"}close(){if(a.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");let b=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,b)}_destroyElement(){this._element.remove(),a.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(a){return this.each(function(){let b=j.getOrCreateInstance(this);if("string"==typeof a){if(void 0===b[a]||a.startsWith("_")||"constructor"===a)throw new TypeError(`No method named "${a}"`);b[a](this)}})}}h(j,"close"),b(j);let W='[data-bs-toggle="button"]';class t extends c{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(a){return this.each(function(){let b=t.getOrCreateInstance(this);"toggle"===a&&b[a]()})}}a.on(document,"click.bs.button.data-api",W,a=>{a.preventDefault();let b=a.target.closest(W);t.getOrCreateInstance(b).toggle()}),b(t);let aX={find:(a,b=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(b,a)),findOne:(a,b=document.documentElement)=>Element.prototype.querySelector.call(b,a),children:(a,b)=>[].concat(...a.children).filter(a=>a.matches(b)),parents(d,b){let c=[],a=d.parentNode.closest(b);for(;a;)c.push(a),a=a.parentNode.closest(b);return c},prev(b,c){let a=b.previousElementSibling;for(;a;){if(a.matches(c))return[a];a=a.previousElementSibling}return[]},next(b,c){let a=b.nextElementSibling;for(;a;){if(a.matches(c))return[a];a=a.nextElementSibling}return[]},focusableChildren(a){let b=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(a=>`${a}:not([tabindex^="-"])`).join(",");return this.find(b,a).filter(a=>!aw(a)&&av(a))}},aY={leftCallback:null,rightCallback:null,endCallback:null},aZ={leftCallback:"(function|null)",rightCallback:"(function|null)",endCallback:"(function|null)"};class a$ extends f{constructor(a,b){super(),this._element=a,a&&a$.isSupported()&&(this._config=this._getConfig(b),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return aY}static get DefaultType(){return aZ}static get NAME(){return"swipe"}dispose(){a.off(this._element,".bs.swipe")}_start(a){this._supportPointerEvents?this._eventIsPointerPenTouch(a)&&(this._deltaX=a.clientX):this._deltaX=a.touches[0].clientX}_end(a){this._eventIsPointerPenTouch(a)&&(this._deltaX=a.clientX-this._deltaX),this._handleSwipe(),aC(this._config.endCallback)}_move(a){this._deltaX=a.touches&&a.touches.length>1?0:a.touches[0].clientX-this._deltaX}_handleSwipe(){let a=Math.abs(this._deltaX);if(a<=40)return;let b=a/this._deltaX;this._deltaX=0,b&&aC(b>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(a.on(this._element,"pointerdown.bs.swipe",a=>this._start(a)),a.on(this._element,"pointerup.bs.swipe",a=>this._end(a)),this._element.classList.add("pointer-event")):(a.on(this._element,"touchstart.bs.swipe",a=>this._start(a)),a.on(this._element,"touchmove.bs.swipe",a=>this._move(a)),a.on(this._element,"touchend.bs.swipe",a=>this._end(a)))}_eventIsPointerPenTouch(a){return this._supportPointerEvents&&("pen"===a.pointerType||"touch"===a.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}let a_="next",a0="prev",X="left",Y="right",a1="slid.bs.carousel",a2="carousel",a3="active",a4={ArrowLeft:Y,ArrowRight:X},a5={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},a6={interval:"(number|boolean)",keyboard:"boolean",ride:"(boolean|string)",pause:"(string|boolean)",touch:"boolean",wrap:"boolean"};class u extends c{constructor(a,b){super(a,b),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=aX.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===a2&&this.cycle()}static get Default(){return a5}static get DefaultType(){return a6}static get NAME(){return"carousel"}next(){this._slide(a_)}nextWhenVisible(){!document.hidden&&av(this._element)&&this.next()}prev(){this._slide(a0)}pause(){this._isSliding&&as(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?a.one(this._element,a1,()=>this.cycle()):this.cycle())}to(b){let c=this._getItems();if(b>c.length-1||b<0)return;if(this._isSliding)return void a.one(this._element,a1,()=>this.to(b));let d=this._getItemIndex(this._getActive());if(d===b)return;let e=b>d?a_:a0;this._slide(e,c[b])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(a){return a.defaultInterval=a.interval,a}_addEventListeners(){this._config.keyboard&&a.on(this._element,"keydown.bs.carousel",a=>this._keydown(a)),"hover"===this._config.pause&&(a.on(this._element,"mouseenter.bs.carousel",()=>this.pause()),a.on(this._element,"mouseleave.bs.carousel",()=>this._maybeEnableCycle())),this._config.touch&&a$.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(let b of aX.find(".carousel-item img",this._element))a.on(b,"dragstart.bs.carousel",a=>a.preventDefault());let c={leftCallback:()=>this._slide(this._directionToOrder(X)),rightCallback:()=>this._slide(this._directionToOrder(Y)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new a$(this._element,c)}_keydown(a){if(/input|textarea/i.test(a.target.tagName))return;let b=a4[a.key];b&&(a.preventDefault(),this._slide(this._directionToOrder(b)))}_getItemIndex(a){return this._getItems().indexOf(a)}_setActiveIndicatorElement(c){if(!this._indicatorsElement)return;let b=aX.findOne(".active",this._indicatorsElement);b.classList.remove(a3),b.removeAttribute("aria-current");let a=aX.findOne(`[data-bs-slide-to="${c}"]`,this._indicatorsElement);a&&(a.classList.add(a3),a.setAttribute("aria-current","true"))}_updateInterval(){let a=this._activeElement||this._getActive();if(!a)return;let b=Number.parseInt(a.getAttribute("data-bs-interval"),10);this._config.interval=b||this._config.defaultInterval}_slide(f,g=null){if(this._isSliding)return;let c=this._getActive(),d=f===a_,b=g||aD(this._getItems(),c,d,this._config.wrap);if(b===c)return;let h=this._getItemIndex(b),i=d=>a.trigger(this._element,d,{relatedTarget:b,direction:this._orderToDirection(f),from:this._getItemIndex(c),to:h});if(i("slide.bs.carousel").defaultPrevented|| !c||!b)return;let j=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(h),this._activeElement=b;let e=d?"carousel-item-start":"carousel-item-end",k=d?"carousel-item-next":"carousel-item-prev";b.classList.add(k),az(b),c.classList.add(e),b.classList.add(e),this._queueCallback(()=>{b.classList.remove(e,k),b.classList.add(a3),c.classList.remove(a3,k,e),this._isSliding=!1,i(a1)},c,this._isAnimated()),j&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return aX.findOne(".active.carousel-item",this._element)}_getItems(){return aX.find(".carousel-item",this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(a){return d()?a===X?a0:a_:a===X?a_:a0}_orderToDirection(a){return d()?a===a0?X:Y:a===a0?Y:X}static jQueryInterface(a){return this.each(function(){let b=u.getOrCreateInstance(this,a);if("number"!=typeof a){if("string"==typeof a){if(void 0===b[a]||a.startsWith("_")||"constructor"===a)throw new TypeError(`No method named "${a}"`);b[a]()}}else b.to(a)})}}a.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",function(d){let b=ar(this);if(!b||!b.classList.contains(a2))return;d.preventDefault();let a=u.getOrCreateInstance(b),c=this.getAttribute("data-bs-slide-to");return c?(a.to(c),void a._maybeEnableCycle()):"next"===aW.getDataAttribute(this,"slide")?(a.next(),void a._maybeEnableCycle()):(a.prev(),void a._maybeEnableCycle())}),a.on(window,"load.bs.carousel.data-api",()=>{let a=aX.find('[data-bs-ride="carousel"]');for(let b of a)u.getOrCreateInstance(b)}),b(u);let a7="show",a8="collapse",a9="collapsing",Z='[data-bs-toggle="collapse"]',ba={toggle:!0,parent:null},bb={toggle:"boolean",parent:"(null|element)"};class v extends c{constructor(c,d){super(c,d),this._isTransitioning=!1,this._triggerArray=[];let e=aX.find(Z);for(let a of e){let b=aq(a),f=aX.find(b).filter(a=>a===this._element);null!==b&&f.length&&this._triggerArray.push(a)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return ba}static get DefaultType(){return bb}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let b=[];if(this._config.parent&&(b=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(a=>a!==this._element).map(a=>v.getOrCreateInstance(a,{toggle:!1}))),b.length&&b[0]._isTransitioning||a.trigger(this._element,"show.bs.collapse").defaultPrevented)return;for(let d of b)d.hide();let c=this._getDimension();this._element.classList.remove(a8),this._element.classList.add(a9),this._element.style[c]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;let e=`scroll${c[0].toUpperCase()+c.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(a9),this._element.classList.add(a8,a7),this._element.style[c]="",a.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[c]=`${this._element[e]}px`}hide(){if(this._isTransitioning||!this._isShown()||a.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;let b=this._getDimension();for(let c of(this._element.style[b]=`${this._element.getBoundingClientRect()[b]}px`,az(this._element),this._element.classList.add(a9),this._element.classList.remove(a8,a7),this._triggerArray)){let d=ar(c);d&&!this._isShown(d)&&this._addAriaAndCollapsedClass([c],!1)}this._isTransitioning=!0,this._element.style[b]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(a9),this._element.classList.add(a8),a.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}_isShown(a=this._element){return a.classList.contains(a7)}_configAfterMerge(a){return a.toggle=Boolean(a.toggle),a.parent=au(a.parent),a}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;let c=this._getFirstLevelChildren(Z);for(let a of c){let b=ar(a);b&&this._addAriaAndCollapsedClass([a],this._isShown(b))}}_getFirstLevelChildren(a){let b=aX.find(":scope .collapse .collapse",this._config.parent);return aX.find(a,this._config.parent).filter(a=>!b.includes(a))}_addAriaAndCollapsedClass(a,b){if(a.length)for(let c of a)c.classList.toggle("collapsed",!b),c.setAttribute("aria-expanded",b)}static jQueryInterface(a){let b={};return"string"==typeof a&&/show|hide/.test(a)&&(b.toggle=!1),this.each(function(){let c=v.getOrCreateInstance(this,b);if("string"==typeof a){if(void 0===c[a])throw new TypeError(`No method named "${a}"`);c[a]()}})}}a.on(document,"click.bs.collapse.data-api",Z,function(a){("A"===a.target.tagName||a.delegateTarget&&"A"===a.delegateTarget.tagName)&&a.preventDefault();let b=aq(this),c=aX.find(b);for(let d of c)v.getOrCreateInstance(d,{toggle:!1}).toggle()}),b(v);var w="top",x="bottom",y="right",z="left",A="auto",k=[w,x,y,z],aa="start",ab="end",ac="clippingParents",ad="viewport",ae="popper",af="reference",ag=k.reduce(function(b,a){return b.concat([a+"-"+aa,a+"-"+ab])},[]),ah=[].concat(k,[A]).reduce(function(b,a){return b.concat([a,a+"-"+aa,a+"-"+ab])},[]),B="beforeRead",C="read",D="afterRead",E="beforeMain",F="main",G="afterMain",H="beforeWrite",I="write",J="afterWrite",ai=[B,C,D,E,F,G,H,I,J];function bc(a){return a?(a.nodeName||"").toLowerCase():null}function bd(a){if(null==a)return window;if("[object Window]"!==a.toString()){var b=a.ownerDocument;return b&&b.defaultView||window}return a}function be(a){return a instanceof bd(a).Element||a instanceof Element}function bf(a){return a instanceof bd(a).HTMLElement||a instanceof HTMLElement}function bg(a){return"undefined"!=typeof ShadowRoot&&(a instanceof bd(a).ShadowRoot||a instanceof ShadowRoot)}let l={name:"applyStyles",enabled:!0,phase:"write",fn:function(a){var b=a.state;Object.keys(b.elements).forEach(function(a){var d=b.styles[a]||{},e=b.attributes[a]||{},c=b.elements[a];bf(c)&&bc(c)&&(Object.assign(c.style,d),Object.keys(e).forEach(function(a){var b=e[a];!1===b?c.removeAttribute(a):c.setAttribute(a,!0===b?"":b)}))})},effect:function(c){var a=c.state,b={popper:{position:a.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(a.elements.popper.style,b.popper),a.styles=b,a.elements.arrow&&Object.assign(a.elements.arrow.style,b.arrow),function(){Object.keys(a.elements).forEach(function(c){var d=a.elements[c],e=a.attributes[c]||{},f=Object.keys(a.styles.hasOwnProperty(c)?a.styles[c]:b[c]).reduce(function(a,b){return a[b]="",a},{});bf(d)&&bc(d)&&(Object.assign(d.style,f),Object.keys(e).forEach(function(a){d.removeAttribute(a)}))})}},requires:["computeStyles"]};function bh(a){return a.split("-")[0]}var bi=Math.max,bj=Math.min,bk=Math.round;function bl(d,e){void 0===e&&(e=!1);var a=d.getBoundingClientRect(),b=1,c=1;if(bf(d)&&e){var f=d.offsetHeight,g=d.offsetWidth;g>0&&(b=bk(a.width)/g||1),f>0&&(c=bk(a.height)/f||1)}return{width:a.width/b,height:a.height/c,top:a.top/c,right:a.right/b,bottom:a.bottom/c,left:a.left/b,x:a.left/b,y:a.top/c}}function bm(a){var b=bl(a),c=a.offsetWidth,d=a.offsetHeight;return 1>=Math.abs(b.width-c)&&(c=b.width),1>=Math.abs(b.height-d)&&(d=b.height),{x:a.offsetLeft,y:a.offsetTop,width:c,height:d}}function bn(c,b){var d=b.getRootNode&&b.getRootNode();if(c.contains(b))return!0;if(d&&bg(d)){var a=b;do{if(a&&c.isSameNode(a))return!0;a=a.parentNode||a.host}while(a)}return!1}function bo(a){return bd(a).getComputedStyle(a)}function bp(a){return["table","td","th"].indexOf(bc(a))>=0}function bq(a){return((be(a)?a.ownerDocument:a.document)||window.document).documentElement}function br(a){return"html"===bc(a)?a:a.assignedSlot||a.parentNode||(bg(a)?a.host:null)||bq(a)}function bs(a){return bf(a)&&"fixed"!==bo(a).position?a.offsetParent:null}function bt(b){for(var c=bd(b),a=bs(b);a&&bp(a)&&"static"===bo(a).position;)a=bs(a);return a&&("html"===bc(a)||"body"===bc(a)&&"static"===bo(a).position)?c:a||function(c){var d=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&bf(c)&&"fixed"===bo(c).position)return null;var a=br(c);for(bg(a)&&(a=a.host);bf(a)&&0>["html","body"].indexOf(bc(a));){var b=bo(a);if("none"!==b.transform||"none"!==b.perspective||"paint"===b.contain|| -1!==["transform","perspective"].indexOf(b.willChange)||d&&"filter"===b.willChange||d&&b.filter&&"none"!==b.filter)return a;a=a.parentNode}return null}(b)||c}function bu(a){return["top","bottom"].indexOf(a)>=0?"x":"y"}function bv(a,b,c){return bi(a,bj(b,c))}function bw(a){return Object.assign({},{top:0,right:0,bottom:0,left:0},a)}function bx(b,a){return a.reduce(function(a,c){return a[c]=b,a},{})}let K={name:"arrow",enabled:!0,phase:"main",fn:function(e){var f,a=e.state,q=e.name,r=e.options,g=a.elements.arrow,h=a.modifiersData.popperOffsets,l=bh(a.placement),b=bu(l),d=[z,y].indexOf(l)>=0?"height":"width";if(g&&h){var c,i,m=(c=r.padding,i=a,bw("number"!=typeof(c="function"==typeof c?c(Object.assign({},i.rects,{placement:i.placement})):c)?c:bx(c,k))),n=bm(g),s="y"===b?w:z,t="y"===b?x:y,u=a.rects.reference[d]+a.rects.reference[b]-h[b]-a.rects.popper[d],v=h[b]-a.rects.reference[b],j=bt(g),_=j?"y"===b?j.clientHeight||0:j.clientWidth||0:0,A=u/2-v/2,B=m[s],C=_-n[d]-m[t],o=_/2-n[d]/2+A,p=bv(B,o,C),D=b;a.modifiersData[q]=((f={})[D]=p,f.centerOffset=p-o,f)}},effect:function(c){var b=c.state,d=c.options.element,a=void 0===d?"[data-popper-arrow]":d;null!=a&&("string"!=typeof a||(a=b.elements.popper.querySelector(a)))&&bn(b.elements.popper,a)&&(b.elements.arrow=a)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function by(a){return a.split("-")[1]}var bz={top:"auto",right:"auto",bottom:"auto",left:"auto"};function bA(c){var h,k=c.popper,p=c.popperRect,e=c.placement,q=c.variation,i=c.offsets,r=c.position,l=c.gpuAcceleration,s=c.adaptive,m=c.roundOffsets,t=c.isFixed,u=i.x,a=void 0===u?0:u,v=i.y,b=void 0===v?0:v,A="function"==typeof m?m({x:a,y:b}):{x:a,y:b};a=A.x,b=A.y;var _=i.hasOwnProperty("x"),B=i.hasOwnProperty("y"),n=z,o=w,d=window;if(s){var f=bt(k),C="clientHeight",D="clientWidth";f===bd(k)&&"static"!==bo(f=bq(k)).position&&"absolute"===r&&(C="scrollHeight",D="scrollWidth"),(e===w||(e===z||e===y)&&q===ab)&&(o=x,b-=(t&&f===d&&d.visualViewport?d.visualViewport.height:f[C])-p.height,b*=l?1:-1),e!==z&&(e!==w&&e!==x||q!==ab)||(n=y,a-=(t&&f===d&&d.visualViewport?d.visualViewport.width:f[D])-p.width,a*=l?1:-1)}var E,F,G,g,j,H=Object.assign({position:r},s&&bz),I=!0===m?(F=(E={x:a,y:b}).x,G=E.y,g=window.devicePixelRatio||1,{x:bk(F*g)/g||0,y:bk(G*g)/g||0}):{x:a,y:b};return a=I.x,b=I.y,l?Object.assign({},H,((j={})[o]=B?"0":"",j[n]=_?"0":"",j.transform=1>=(d.devicePixelRatio||1)?"translate("+a+"px, "+b+"px)":"translate3d("+a+"px, "+b+"px, 0)",j)):Object.assign({},H,((h={})[o]=B?b+"px":"",h[n]=_?a+"px":"",h.transform="",h))}let m={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(c){var a=c.state,b=c.options,d=b.gpuAcceleration,i=void 0===d||d,e=b.adaptive,j=void 0===e||e,f=b.roundOffsets,g=void 0===f||f,h={placement:bh(a.placement),variation:by(a.placement),popper:a.elements.popper,popperRect:a.rects.popper,gpuAcceleration:i,isFixed:"fixed"===a.options.strategy};null!=a.modifiersData.popperOffsets&&(a.styles.popper=Object.assign({},a.styles.popper,bA(Object.assign({},h,{offsets:a.modifiersData.popperOffsets,position:a.options.strategy,adaptive:j,roundOffsets:g})))),null!=a.modifiersData.arrow&&(a.styles.arrow=Object.assign({},a.styles.arrow,bA(Object.assign({},h,{offsets:a.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:g})))),a.attributes.popper=Object.assign({},a.attributes.popper,{"data-popper-placement":a.placement})},data:{}};var bB={passive:!0};let n={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(a){var b=a.state,f=a.instance,c=a.options,d=c.scroll,g=void 0===d||d,e=c.resize,h=void 0===e||e,i=bd(b.elements.popper),j=[].concat(b.scrollParents.reference,b.scrollParents.popper);return g&&j.forEach(function(a){a.addEventListener("scroll",f.update,bB)}),h&&i.addEventListener("resize",f.update,bB),function(){g&&j.forEach(function(a){a.removeEventListener("scroll",f.update,bB)}),h&&i.removeEventListener("resize",f.update,bB)}},data:{}};var bC={left:"right",right:"left",bottom:"top",top:"bottom"};function bD(a){return a.replace(/left|right|bottom|top/g,function(a){return bC[a]})}var bE={start:"end",end:"start"};function bF(a){return a.replace(/start|end/g,function(a){return bE[a]})}function bG(b){var a=bd(b);return{scrollLeft:a.pageXOffset,scrollTop:a.pageYOffset}}function bH(a){return bl(bq(a)).left+bG(a).scrollLeft}function bI(b){var a=bo(b),c=a.overflow,d=a.overflowX,e=a.overflowY;return/auto|scroll|overlay|hidden/.test(c+e+d)}function bJ(a){return["html","body","#document"].indexOf(bc(a))>=0?a.ownerDocument.body:bf(a)&&bI(a)?a:bJ(br(a))}function bK(c,b){void 0===b&&(b=[]);var d,a=bJ(c),e=a===(null==(d=c.ownerDocument)?void 0:d.body),f=bd(a),g=e?[f].concat(f.visualViewport||[],bI(a)?a:[]):a,h=b.concat(g);return e?h:h.concat(bK(br(g)))}function bL(a){return Object.assign({},a,{left:a.x,top:a.y,right:a.x+a.width,bottom:a.y+a.height})}function bM(q,g){var h,r,i,e,j,k,l,m,c,a,f,s,d,n,b,o,t,p,u;return g===ad?bL((r=bd(h=q),i=bq(h),e=r.visualViewport,j=i.clientWidth,k=i.clientHeight,l=0,m=0,e&&(j=e.width,k=e.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(l=e.offsetLeft,m=e.offsetTop)),{width:j,height:k,x:l+bH(h),y:m})):be(g)?((a=bl(c=g)).top=a.top+c.clientTop,a.left=a.left+c.clientLeft,a.bottom=a.top+c.clientHeight,a.right=a.left+c.clientWidth,a.width=c.clientWidth,a.height=c.clientHeight,a.x=a.left,a.y=a.top,a):bL((f=bq(q),d=bq(f),n=bG(f),b=null==(s=f.ownerDocument)?void 0:s.body,o=bi(d.scrollWidth,d.clientWidth,b?b.scrollWidth:0,b?b.clientWidth:0),t=bi(d.scrollHeight,d.clientHeight,b?b.scrollHeight:0,b?b.clientHeight:0),p=-n.scrollLeft+bH(f),u=-n.scrollTop,"rtl"===bo(b||d).direction&&(p+=bi(d.clientWidth,b?b.clientWidth:0)-o),{width:o,height:t,x:p,y:u}))}function bN(g){var b,a=g.reference,c=g.element,e=g.placement,h=e?bh(e):null,k=e?by(e):null,i=a.x+a.width/2-c.width/2,j=a.y+a.height/2-c.height/2;switch(h){case w:b={x:i,y:a.y-c.height};break;case x:b={x:i,y:a.y+a.height};break;case y:b={x:a.x+a.width,y:j};break;case z:b={x:a.x-c.width,y:j};break;default:b={x:a.x,y:a.y}}var d=h?bu(h):null;if(null!=d){var f="y"===d?"height":"width";switch(k){case aa:b[d]=b[d]-(a[f]/2-c[f]/2);break;case ab:b[d]=b[d]+(a[f]/2-c[f]/2)}}return b}function aj(b,i){void 0===i&&(i={});var j,l,o,d,p,q,r,s,t,a,c=i,u=c.placement,v=void 0===u?b.placement:u,z=c.boundary,H=void 0===z?ac:z,A=c.rootBoundary,I=void 0===A?ad:A,B=c.elementContext,e=void 0===B?ae:B,C=c.altBoundary,J=void 0!==C&&C,D=c.padding,m=void 0===D?0:D,f=bw("number"!=typeof m?m:bx(m,k)),K=e===ae?af:ae,_=b.rects.popper,n=b.elements[J?K:e],g=(j=be(n)?n:n.contextElement||bq(b.elements.popper),l=H,o=I,r="clippingParents"===l?(p=bK(br(d=j)),q=["absolute","fixed"].indexOf(bo(d).position)>=0&&bf(d)?bt(d):d,be(q)?p.filter(function(a){return be(a)&&bn(a,q)&&"body"!==bc(a)}):[]):[].concat(l),t=(s=[].concat(r,[o]))[0],a=s.reduce(function(a,c){var b=bM(j,c);return a.top=bi(b.top,a.top),a.right=bj(b.right,a.right),a.bottom=bj(b.bottom,a.bottom),a.left=bi(b.left,a.left),a},bM(j,t)),a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a),E=bl(b.elements.reference),L=bN({reference:E,element:_,strategy:"absolute",placement:v}),M=bL(Object.assign({},_,L)),h=e===ae?M:E,F={top:g.top-h.top+f.top,bottom:h.bottom-g.bottom+f.bottom,left:g.left-h.left+f.left,right:h.right-g.right+f.right},G=b.modifiersData.offset;if(e===ae&&G){var N=G[v];Object.keys(F).forEach(function(a){var b=[y,x].indexOf(a)>=0?1:-1,c=[w,x].indexOf(a)>=0?"y":"x";F[a]+=N[c]*b})}return F}function bO(j,b){void 0===b&&(b={});var a=b,f=a.placement,l=a.boundary,m=a.rootBoundary,n=a.padding,g=a.flipVariations,d=a.allowedAutoPlacements,o=void 0===d?ah:d,h=by(f),e=h?g?ag:ag.filter(function(a){return by(a)===h}):k,c=e.filter(function(a){return o.indexOf(a)>=0});0===c.length&&(c=e);var i=c.reduce(function(b,a){return b[a]=aj(j,{placement:a,boundary:l,rootBoundary:m,padding:n})[bh(a)],b},{});return Object.keys(i).sort(function(a,b){return i[a]-i[b]})}let L={name:"flip",enabled:!0,phase:"main",fn:function(g){var a=g.state,b=g.options,m=g.name;if(!a.modifiersData[m]._skip){for(var n=b.mainAxis,B=void 0===n||n,o=b.altAxis,C=void 0===o||o,D=b.fallbackPlacements,E=b.padding,F=b.boundary,G=b.rootBoundary,H=b.altBoundary,p=b.flipVariations,q=void 0===p||p,O=b.allowedAutoPlacements,c=a.options.placement,_=bh(c),I=D||(_!==c&&q?function(a){if(bh(a)===A)return[];var b=bD(a);return[bF(a),b,bF(b)]}(c):[bD(c)]),h=[c].concat(I).reduce(function(c,b){return c.concat(bh(b)===A?bO(a,{placement:b,boundary:F,rootBoundary:G,padding:E,flipVariations:q,allowedAutoPlacements:O}):b)},[]),J=a.rects.reference,K=a.rects.popper,L=new Map,r=!0,i=h[0],j=0;j=0,v=u?"width":"height",k=aj(a,{placement:d,boundary:F,rootBoundary:G,altBoundary:H,padding:E}),e=u?t?y:z:t?x:w;J[v]>K[v]&&(e=bD(e));var M=bD(e),f=[];if(B&&f.push(k[s]<=0),C&&f.push(k[e]<=0,k[M]<=0),f.every(function(a){return a})){i=d,r=!1;break}L.set(d,f)}if(r)for(var N=function(b){var a=h.find(function(c){var a=L.get(c);if(a)return a.slice(0,b).every(function(a){return a})});if(a)return i=a,"break"},l=q?3:1;l>0&&"break"!==N(l);l--);a.placement!==i&&(a.modifiersData[m]._skip=!0,a.placement=i,a.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function bP(b,c,a){return void 0===a&&(a={x:0,y:0}),{top:b.top-c.height-a.y,right:b.right-c.width+a.x,bottom:b.bottom-c.height+a.y,left:b.left-c.width-a.x}}function bQ(a){return[w,y,x,z].some(function(b){return a[b]>=0})}let M={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(b){var a=b.state,g=b.name,h=a.rects.reference,i=a.rects.popper,j=a.modifiersData.preventOverflow,k=aj(a,{elementContext:"reference"}),l=aj(a,{altBoundary:!0}),c=bP(k,h),d=bP(l,i,j),e=bQ(c),f=bQ(d);a.modifiersData[g]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:e,hasPopperEscaped:f},a.attributes.popper=Object.assign({},a.attributes.popper,{"data-popper-reference-hidden":e,"data-popper-escaped":f})}},N={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(b){var a=b.state,f=b.options,g=b.name,c=f.offset,j=void 0===c?[0,0]:c,d=ah.reduce(function(g,h){var e,i,d,f,k,l,b,c;return g[h]=(e=h,i=a.rects,d=j,f=bh(e),k=[z,w].indexOf(f)>=0?-1:1,b=(l="function"==typeof d?d(Object.assign({},i,{placement:e})):d)[0],c=l[1],b=b||0,c=(c||0)*k,[z,y].indexOf(f)>=0?{x:c,y:b}:{x:b,y:c}),g},{}),e=d[a.placement],h=e.x,i=e.y;null!=a.modifiersData.popperOffsets&&(a.modifiersData.popperOffsets.x+=h,a.modifiersData.popperOffsets.y+=i),a.modifiersData[g]=d}},o={name:"popperOffsets",enabled:!0,phase:"read",fn:function(b){var a=b.state,c=b.name;a.modifiersData[c]=bN({reference:a.rects.reference,element:a.rects.popper,strategy:"absolute",placement:a.placement})},data:{}},O={name:"preventOverflow",enabled:!0,phase:"main",fn:function(r){var a=r.state,d=r.options,ad=r.name,C=d.mainAxis,ae=void 0===C||C,D=d.altAxis,af=void 0!==D&&D,ag=d.boundary,ah=d.rootBoundary,ai=d.altBoundary,ak=d.padding,E=d.tether,e=void 0===E||E,F=d.tetherOffset,s=void 0===F?0:F,m=aj(a,{boundary:ag,rootBoundary:ah,padding:ak,altBoundary:ai}),_=bh(a.placement),t=by(a.placement),G=!t,b=bu(_),j="x"===b?"y":"x",k=a.modifiersData.popperOffsets,f=a.rects.reference,l=a.rects.popper,n="function"==typeof s?s(Object.assign({},a.rects,{placement:a.placement})):s,h="number"==typeof n?{mainAxis:n,altAxis:n}:Object.assign({mainAxis:0,altAxis:0},n),o=a.modifiersData.offset?a.modifiersData.offset[a.placement]:null,u={x:0,y:0};if(k){if(ae){var H,I="y"===b?w:z,J="y"===b?x:y,c="y"===b?"height":"width",i=k[b],K=i+m[I],L=i-m[J],M=e?-l[c]/2:0,al=t===aa?f[c]:l[c],$=t===aa?-l[c]:-f[c],N=a.elements.arrow,am=e&&N?bm(N):{width:0,height:0},O=a.modifiersData["arrow#persistent"]?a.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},P=O[I],Q=O[J],p=bv(0,f[c],am[c]),an=G?f[c]/2-M-p-P-h.mainAxis:al-p-P-h.mainAxis,ao=G?-f[c]/2+M+p+Q+h.mainAxis:$+p+Q+h.mainAxis,v=a.elements.arrow&&bt(a.elements.arrow),ap=v?"y"===b?v.clientTop||0:v.clientLeft||0:0,R=null!=(H=null==o?void 0:o[b])?H:0,aq=i+ao-R,S=bv(e?bj(K,i+an-R-ap):K,i,e?bi(L,aq):L);k[b]=S,u[b]=S-i}if(af){var T,ar,A,U,V,as="x"===b?w:z,at="x"===b?x:y,g=k[j],q="y"===j?"height":"width",W=g+m[as],X=g-m[at],B=-1!==[w,z].indexOf(_),Y=null!=(V=null==o?void 0:o[j])?V:0,Z=B?W:g-f[q]-l[q]-Y+h.altAxis,ab=B?g+f[q]+l[q]-Y-h.altAxis:X,ac=e&&B?(T=Z,(U=bv(T,ar=g,A=ab))>A?A:U):bv(e?Z:W,g,e?ab:X);k[j]=ac,u[j]=ac-g}a.modifiersData[ad]=u}},requiresIfExists:["offset"]};function bR(n,a,e){void 0===e&&(e=!1);var f,g,j,k,b,l,m=bf(a),o=bf(a)&&(g=(f=a).getBoundingClientRect(),j=bk(g.width)/f.offsetWidth||1,k=bk(g.height)/f.offsetHeight||1,1!==j||1!==k),h=bq(a),d=bl(n,o),i={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(m|| !m&&!e)&&(("body"!==bc(a)||bI(h))&&(i=(b=a)!==bd(b)&&bf(b)?{scrollLeft:(l=b).scrollLeft,scrollTop:l.scrollTop}:bG(b)),bf(a)?((c=bl(a,!0)).x+=a.clientLeft,c.y+=a.clientTop):h&&(c.x=bH(h))),{x:d.left+i.scrollLeft-c.x,y:d.top+i.scrollTop-c.y,width:d.width,height:d.height}}function bS(a){var c=new Map,d=new Set,b=[];function e(a){d.add(a.name),[].concat(a.requires||[],a.requiresIfExists||[]).forEach(function(a){if(!d.has(a)){var b=c.get(a);b&&e(b)}}),b.push(a)}return a.forEach(function(a){c.set(a.name,a)}),a.forEach(function(a){d.has(a.name)||e(a)}),b}var bT={placement:"bottom",modifiers:[],strategy:"absolute"};function bU(){for(var b=arguments.length,c=new Array(b),a=0;aNumber.parseInt(a,10)):"function"==typeof a?b=>a(b,this._element):a}_getPopperConfig(){let a={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(aW.setDataAttribute(this._menu,"popper","static"),a.modifiers=[{name:"applyStyles",enabled:!1}]),{...a,..."function"==typeof this._config.popperConfig?this._config.popperConfig(a):this._config.popperConfig}}_selectMenuItem({key:c,target:b}){let a=aX.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(a=>av(a));a.length&&aD(a,b,c===bY,!a.includes(b)).focus()}static jQueryInterface(a){return this.each(function(){let b=e.getOrCreateInstance(this,a);if("string"==typeof a){if(void 0===b[a])throw new TypeError(`No method named "${a}"`);b[a]()}})}static clearMenus(a){if(2===a.button||"keyup"===a.type&&"Tab"!==a.key)return;let g=aX.find(b$);for(let h of g){let b=e.getInstance(h);if(!b|| !1===b._config.autoClose)continue;let c=a.composedPath(),d=c.includes(b._menu);if(c.includes(b._element)||"inside"===b._config.autoClose&&!d||"outside"===b._config.autoClose&&d||b._menu.contains(a.target)&&("keyup"===a.type&&"Tab"===a.key||/input|select|option|textarea|form/i.test(a.target.tagName)))continue;let f={relatedTarget:b._element};"click"===a.type&&(f.clickEvent=a),b._completeHide(f)}}static dataApiKeydownHandler(a){let g=/input|textarea/i.test(a.target.tagName),c="Escape"===a.key,d=[bX,bY].includes(a.key);if(!d&&!c||g&&!c)return;a.preventDefault();let f=aX.findOne(p,a.delegateTarget.parentNode),b=e.getOrCreateInstance(f);if(d)return a.stopPropagation(),b.show(),void b._selectMenuItem(a);b._isShown()&&(a.stopPropagation(),b.hide(),f.focus())}}a.on(document,Q,p,e.dataApiKeydownHandler),a.on(document,Q,an,e.dataApiKeydownHandler),a.on(document,P,e.clearMenus),a.on(document,"keyup.bs.dropdown.data-api",e.clearMenus),a.on(document,P,p,function(a){a.preventDefault(),e.getOrCreateInstance(this).toggle()}),b(e);let b7=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",b8=".sticky-top",b9="padding-right",ca="margin-right";class cb{constructor(){this._element=document.body}getWidth(){let a=document.documentElement.clientWidth;return Math.abs(window.innerWidth-a)}hide(){let a=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,b9,b=>b+a),this._setElementAttributes(b7,b9,b=>b+a),this._setElementAttributes(b8,ca,b=>b-a)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,b9),this._resetElementAttributes(b7,b9),this._resetElementAttributes(b8,ca)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(a,b,c){let d=this.getWidth();this._applyManipulationCallback(a,a=>{if(a!==this._element&&window.innerWidth>a.clientWidth+d)return;this._saveInitialAttribute(a,b);let e=window.getComputedStyle(a).getPropertyValue(b);a.style.setProperty(b,`${c(Number.parseFloat(e))}px`)})}_saveInitialAttribute(a,b){let c=a.style.getPropertyValue(b);c&&aW.setDataAttribute(a,b,c)}_resetElementAttributes(a,b){this._applyManipulationCallback(a,a=>{let c=aW.getDataAttribute(a,b);null!==c?(aW.removeDataAttribute(a,b),a.style.setProperty(b,c)):a.style.removeProperty(b)})}_applyManipulationCallback(a,b){if(at(a))b(a);else for(let c of aX.find(a,this._element))b(c)}}let cc="show",cd="mousedown.bs.backdrop",ce={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},cf={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"};class cg extends f{constructor(a){super(),this._config=this._getConfig(a),this._isAppended=!1,this._element=null}static get Default(){return ce}static get DefaultType(){return cf}static get NAME(){return"backdrop"}show(b){if(!this._config.isVisible)return void aC(b);this._append();let a=this._getElement();this._config.isAnimated&&az(a),a.classList.add(cc),this._emulateAnimation(()=>{aC(b)})}hide(a){this._config.isVisible?(this._getElement().classList.remove(cc),this._emulateAnimation(()=>{this.dispose(),aC(a)})):aC(a)}dispose(){this._isAppended&&(a.off(this._element,cd),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){let a=document.createElement("div");a.className=this._config.className,this._config.isAnimated&&a.classList.add("fade"),this._element=a}return this._element}_configAfterMerge(a){return a.rootElement=au(a.rootElement),a}_append(){if(this._isAppended)return;let b=this._getElement();this._config.rootElement.append(b),a.on(b,cd,()=>{aC(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(a){_(a,this._getElement(),this._config.isAnimated)}}let ch=".bs.focustrap",ci="backward",cj={trapElement:null,autofocus:!0},ck={trapElement:"element",autofocus:"boolean"};class cl extends f{constructor(a){super(),this._config=this._getConfig(a),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return cj}static get DefaultType(){return ck}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),a.off(document,ch),a.on(document,"focusin.bs.focustrap",a=>this._handleFocusin(a)),a.on(document,"keydown.tab.bs.focustrap",a=>this._handleKeydown(a)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,a.off(document,ch))}_handleFocusin(c){let{trapElement:a}=this._config;if(c.target===document||c.target===a||a.contains(c.target))return;let b=aX.focusableChildren(a);0===b.length?a.focus():this._lastTabNavDirection===ci?b[b.length-1].focus():b[0].focus()}_handleKeydown(a){"Tab"===a.key&&(this._lastTabNavDirection=a.shiftKey?ci:"forward")}}let cm="hidden.bs.modal",cn="show.bs.modal",co="modal-open",cp="show",cq="modal-static",cr={backdrop:!0,keyboard:!0,focus:!0},cs={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"};class q extends c{constructor(a,b){super(a,b),this._dialog=aX.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new cb,this._addEventListeners()}static get Default(){return cr}static get DefaultType(){return cs}static get NAME(){return"modal"}toggle(a){return this._isShown?this.hide():this.show(a)}show(b){this._isShown||this._isTransitioning||a.trigger(this._element,cn,{relatedTarget:b}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(co),this._adjustDialog(),this._backdrop.show(()=>this._showElement(b)))}hide(){this._isShown&&!this._isTransitioning&&(a.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(cp),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){for(let b of[window,this._dialog])a.off(b,".bs.modal");this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new cg({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new cl({trapElement:this._element})}_showElement(c){document.body.contains(this._element)||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;let b=aX.findOne(".modal-body",this._dialog);b&&(b.scrollTop=0),az(this._element),this._element.classList.add(cp),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,a.trigger(this._element,"shown.bs.modal",{relatedTarget:c})},this._dialog,this._isAnimated())}_addEventListeners(){a.on(this._element,"keydown.dismiss.bs.modal",a=>{if("Escape"===a.key)return this._config.keyboard?(a.preventDefault(),void this.hide()):void this._triggerBackdropTransition()}),a.on(window,"resize.bs.modal",()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),a.on(this._element,"click.dismiss.bs.modal",a=>{a.target===a.currentTarget&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())})}_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(co),this._resetAdjustments(),this._scrollBar.reset(),a.trigger(this._element,cm)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(a.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;let b=this._element.scrollHeight>document.documentElement.clientHeight,c=this._element.style.overflowY;"hidden"===c||this._element.classList.contains(cq)||(b||(this._element.style.overflowY="hidden"),this._element.classList.add(cq),this._queueCallback(()=>{this._element.classList.remove(cq),this._queueCallback(()=>{this._element.style.overflowY=c},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){let b=this._element.scrollHeight>document.documentElement.clientHeight,a=this._scrollBar.getWidth(),c=a>0;if(c&&!b){let e=d()?"paddingLeft":"paddingRight";this._element.style[e]=`${a}px`}if(!c&&b){let f=d()?"paddingRight":"paddingLeft";this._element.style[f]=`${a}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(a,b){return this.each(function(){let c=q.getOrCreateInstance(this,a);if("string"==typeof a){if(void 0===c[a])throw new TypeError(`No method named "${a}"`);c[a](b)}})}}a.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(d){let b=ar(this);["A","AREA"].includes(this.tagName)&&d.preventDefault(),a.one(b,cn,c=>{c.defaultPrevented||a.one(b,cm,()=>{av(this)&&this.focus()})});let c=aX.findOne(".modal.show");c&&q.getInstance(c).hide(),q.getOrCreateInstance(b).toggle(this)}),h(q),b(q);let ct="show",cu="showing",cv="hiding",cw=".offcanvas.show",cx="hidePrevented.bs.offcanvas",cy="hidden.bs.offcanvas",cz={backdrop:!0,keyboard:!0,scroll:!1},cA={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class r extends c{constructor(a,b){super(a,b),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return cz}static get DefaultType(){return cA}static get NAME(){return"offcanvas"}toggle(a){return this._isShown?this.hide():this.show(a)}show(b){this._isShown||a.trigger(this._element,"show.bs.offcanvas",{relatedTarget:b}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new cb).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(cu),this._queueCallback(()=>{this._config.scroll||this._focustrap.activate(),this._element.classList.add(ct),this._element.classList.remove(cu),a.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:b})},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.add(cv),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove(ct,cv),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new cb).reset(),a.trigger(this._element,cy)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){let b=Boolean(this._config.backdrop);return new cg({className:"offcanvas-backdrop",isVisible:b,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:b?()=>{"static"!==this._config.backdrop?this.hide():a.trigger(this._element,cx)}:null})}_initializeFocusTrap(){return new cl({trapElement:this._element})}_addEventListeners(){a.on(this._element,"keydown.dismiss.bs.offcanvas",b=>{"Escape"===b.key&&(this._config.keyboard?this.hide():a.trigger(this._element,cx))})}static jQueryInterface(a){return this.each(function(){let b=r.getOrCreateInstance(this,a);if("string"==typeof a){if(void 0===b[a]||a.startsWith("_")||"constructor"===a)throw new TypeError(`No method named "${a}"`);b[a](this)}})}}a.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(d){let b=ar(this);if(["A","AREA"].includes(this.tagName)&&d.preventDefault(),aw(this))return;a.one(b,cy,()=>{av(this)&&this.focus()});let c=aX.findOne(cw);c&&c!==b&&r.getInstance(c).hide(),r.getOrCreateInstance(b).toggle(this)}),a.on(window,"load.bs.offcanvas.data-api",()=>{for(let a of aX.find(cw))r.getOrCreateInstance(a).show()}),a.on(window,"resize.bs.offcanvas",()=>{for(let a of aX.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(a).position&&r.getOrCreateInstance(a).hide()}),h(r),b(r);let cB=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),cC=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,cD=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,cE=(a,b)=>{let c=a.nodeName.toLowerCase();return b.includes(c)?!cB.has(c)||Boolean(cC.test(a.nodeValue)||cD.test(a.nodeValue)):b.filter(a=>a instanceof RegExp).some(a=>a.test(c))},R={"*":["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:[]},cF={extraClass:"",template:"
",content:{},html:!1,sanitize:!0,sanitizeFn:null,allowList:R},cG={extraClass:"(string|function)",template:"string",content:"object",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object"},cH={selector:"(string|element)",entry:"(string|element|function|null)"};class cI extends f{constructor(a){super(),this._config=this._getConfig(a)}static get Default(){return cF}static get DefaultType(){return cG}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(a=>this._resolvePossibleFunction(a)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(a){return this._checkContent(a),this._config.content={...this._config.content,...a},this}toHtml(){let a=document.createElement("div");for(let[d,e]of(a.innerHTML=this._maybeSanitize(this._config.template),Object.entries(this._config.content)))this._setContent(a,e,d);let b=a.children[0],c=this._resolvePossibleFunction(this._config.extraClass);return c&&b.classList.add(...c.split(" ")),b}_typeCheckConfig(a){super._typeCheckConfig(a),this._checkContent(a.content)}_checkContent(a){for(let[b,c]of Object.entries(a))super._typeCheckConfig({selector:b,entry:c},cH)}_setContent(c,a,d){let b=aX.findOne(d,c);b&&((a=this._resolvePossibleFunction(a))?at(a)?this._putElementInTemplate(au(a),b):this._config.html?b.innerHTML=this._maybeSanitize(a):b.textContent=a:b.remove())}_maybeSanitize(a){return this._config.sanitize?function(a,c,d){if(!a.length)return a;if(d&&"function"==typeof d)return d(a);let e=(new window.DOMParser).parseFromString(a,"text/html"),h=[].concat(...e.body.querySelectorAll("*"));for(let b of h){let f=b.nodeName.toLowerCase();if(!Object.keys(c).includes(f)){b.remove();continue}let i=[].concat(...b.attributes),j=[].concat(c["*"]||[],c[f]||[]);for(let g of i)cE(g,j)||b.removeAttribute(g.nodeName)}return e.body.innerHTML}(a,this._config.allowList,this._config.sanitizeFn):a}_resolvePossibleFunction(a){return"function"==typeof a?a(this):a}_putElementInTemplate(b,a){if(this._config.html)return a.innerHTML="",void a.append(b);a.textContent=b.textContent}}let cJ=new Set(["sanitize","allowList","sanitizeFn"]),cK="fade",cL="show",cM=".modal",cN="hide.bs.modal",cO="hover",cP="focus",cQ={AUTO:"auto",TOP:"top",RIGHT:d()?"left":"right",BOTTOM:"bottom",LEFT:d()?"right":"left"},cR={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:R,popperConfig:null},cS={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)"};class g extends c{constructor(a,b){if(void 0===bV)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(a,b),this._isEnabled=!0,this._timeout=0,this._isHovered=!1,this._activeTrigger={},this._popper=null,this._templateFactory=null,this.tip=null,this._setListeners()}static get Default(){return cR}static get DefaultType(){return cS}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(b){if(this._isEnabled){if(b){let a=this._initializeOnDelegatedTarget(b);return a._activeTrigger.click=!a._activeTrigger.click,void(a._isWithActiveTrigger()?a._enter():a._leave())}this._isShown()?this._leave():this._enter()}}dispose(){clearTimeout(this._timeout),a.off(this._element.closest(cM),cN,this._hideModalHandler),this.tip&&this.tip.remove(),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;let c=a.trigger(this._element,this.constructor.eventName("show")),d=(ax(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(c.defaultPrevented||!d)return;let b=this._getTipElement();this._element.setAttribute("aria-describedby",b.getAttribute("id"));let{container:e}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(e.append(b),a.trigger(this._element,this.constructor.eventName("inserted"))),this._popper?this._popper.update():this._createPopper(b),b.classList.add(cL),"ontouchstart"in document.documentElement)for(let f of[].concat(...document.body.children))a.on(f,"mouseover",ay);this._queueCallback(()=>{let b=this._isHovered;this._isHovered=!1,a.trigger(this._element,this.constructor.eventName("shown")),b&&this._leave()},this.tip,this._isAnimated())}hide(){if(!this._isShown()||a.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented)return;let b=this._getTipElement();if(b.classList.remove(cL),"ontouchstart"in document.documentElement)for(let c of[].concat(...document.body.children))a.off(c,"mouseover",ay);this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,this._isHovered=!1,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||b.remove(),this._element.removeAttribute("aria-describedby"),a.trigger(this._element,this.constructor.eventName("hidden")),this._disposePopper())},this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._getContentForTemplate())),this.tip}_createTipElement(b){let a=this._getTemplateFactory(b).toHtml();if(!a)return null;a.classList.remove(cK,cL),a.classList.add(`bs-${this.constructor.NAME}-auto`);let c=(a=>{do a+=Math.floor(1e6*Math.random());while(document.getElementById(a))return a})(this.constructor.NAME).toString();return a.setAttribute("id",c),this._isAnimated()&&a.classList.add(cK),a}setContent(b){let a=!1;this.tip&&(a=this._isShown(),this.tip.remove(),this.tip=null),this._disposePopper(),this.tip=this._createTipElement(b),a&&this.show()}_getTemplateFactory(a){return this._templateFactory?this._templateFactory.changeContent(a):this._templateFactory=new cI({...this._config,content:a,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._config.title}_initializeOnDelegatedTarget(a){return this.constructor.getOrCreateInstance(a.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(cK)}_isShown(){return this.tip&&this.tip.classList.contains(cL)}_createPopper(a){let b="function"==typeof this._config.placement?this._config.placement.call(this,a,this._element):this._config.placement,c=cQ[b.toUpperCase()];this._popper=am(this._element,a,this._getPopperConfig(c))}_getOffset(){let{offset:a}=this._config;return"string"==typeof a?a.split(",").map(a=>Number.parseInt(a,10)):"function"==typeof a?b=>a(b,this._element):a}_resolvePossibleFunction(a){return"function"==typeof a?a.call(this._element):a}_getPopperConfig(b){let a={placement:b,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:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:a=>{this._getTipElement().setAttribute("data-popper-placement",a.state.placement)}}]};return{...a,..."function"==typeof this._config.popperConfig?this._config.popperConfig(a):this._config.popperConfig}}_setListeners(){let c=this._config.trigger.split(" ");for(let b of c)if("click"===b)a.on(this._element,this.constructor.eventName("click"),this._config.selector,a=>this.toggle(a));else if("manual"!==b){let d=b===cO?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),e=b===cO?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");a.on(this._element,d,this._config.selector,a=>{let b=this._initializeOnDelegatedTarget(a);b._activeTrigger["focusin"===a.type?cP:cO]=!0,b._enter()}),a.on(this._element,e,this._config.selector,a=>{let b=this._initializeOnDelegatedTarget(a);b._activeTrigger["focusout"===a.type?cP:cO]=b._element.contains(a.relatedTarget),b._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},a.on(this._element.closest(cM),cN,this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){let a=this._config.originalTitle;a&&(this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",a),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(a,b){clearTimeout(this._timeout),this._timeout=setTimeout(a,b)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(a){let b=aW.getDataAttributes(this._element);for(let c of Object.keys(b))cJ.has(c)&&delete b[c];return a={...b,..."object"==typeof a&&a?a:{}},a=this._mergeConfigObj(a),a=this._configAfterMerge(a),this._typeCheckConfig(a),a}_configAfterMerge(a){return a.container=!1===a.container?document.body:au(a.container),"number"==typeof a.delay&&(a.delay={show:a.delay,hide:a.delay}),a.originalTitle=this._element.getAttribute("title")||"",a.title=this._resolvePossibleFunction(a.title)||a.originalTitle,"number"==typeof a.title&&(a.title=a.title.toString()),"number"==typeof a.content&&(a.content=a.content.toString()),a}_getDelegateConfig(){let b={};for(let a in this._config)this.constructor.Default[a]!==this._config[a]&&(b[a]=this._config[a]);return b}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(a){return this.each(function(){let b=g.getOrCreateInstance(this,a);if("string"==typeof a){if(void 0===b[a])throw new TypeError(`No method named "${a}"`);b[a]()}})}}b(g);let cT={...g.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:''},cU={...g.DefaultType,content:"(null|string|element|function)"};class S extends g{static get Default(){return cT}static get DefaultType(){return cU}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(a){return this.each(function(){let b=S.getOrCreateInstance(this,a);if("string"==typeof a){if(void 0===b[a])throw new TypeError(`No method named "${a}"`);b[a]()}})}}b(S);let cV="click.bs.scrollspy",cW="active",cX="[href]",cY={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null},cZ={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element"};class T extends c{constructor(a,b){super(a,b),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return cY}static get DefaultType(){return cZ}static get NAME(){return"scrollspy"}refresh(){for(let a of(this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver(),this._observableSections.values()))this._observer.observe(a)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(a){return a.target=au(a.target)||document.body,a}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(a.off(this._config.target,cV),a.on(this._config.target,cV,cX,b=>{let c=this._observableSections.get(b.target.hash);if(c){b.preventDefault();let a=this._rootElement||window,d=c.offsetTop-this._element.offsetTop;if(a.scrollTo)return void a.scrollTo({top:d});a.scrollTop=d}}))}_getNewObserver(){let a={root:this._rootElement,threshold:[.1,.5,1],rootMargin:this._getRootMargin()};return new IntersectionObserver(a=>this._observerCallback(a),a)}_observerCallback(f){let g=a=>this._targetLinks.get(`#${a.target.id}`),c=a=>{this._previousScrollData.visibleEntryTop=a.target.offsetTop,this._process(g(a))},b=(this._rootElement||document.documentElement).scrollTop,d=b>=this._previousScrollData.parentScrollTop;for(let a of(this._previousScrollData.parentScrollTop=b,f)){if(!a.isIntersecting){this._activeTarget=null,this._clearActiveClass(g(a));continue}let e=a.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(d&&e){if(c(a),!b)return}else d||e||c(a)}}_getRootMargin(){return this._config.offset?`${this._config.offset}px 0px -30%`:this._config.rootMargin}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;let c=aX.find(cX,this._config.target);for(let a of c){if(!a.hash||aw(a))continue;let b=aX.findOne(a.hash,this._element);av(b)&&(this._targetLinks.set(a.hash,a),this._observableSections.set(a.hash,b))}}_process(b){this._activeTarget!==b&&(this._clearActiveClass(this._config.target),this._activeTarget=b,b.classList.add(cW),this._activateParents(b),a.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:b}))}_activateParents(a){if(a.classList.contains("dropdown-item"))aX.findOne(".dropdown-toggle",a.closest(".dropdown")).classList.add(cW);else for(let b of aX.parents(a,".nav, .list-group"))for(let c of aX.prev(b,".nav-link, .nav-item > .nav-link, .list-group-item"))c.classList.add(cW)}_clearActiveClass(a){a.classList.remove(cW);let b=aX.find("[href].active",a);for(let c of b)c.classList.remove(cW)}static jQueryInterface(a){return this.each(function(){let b=T.getOrCreateInstance(this,a);if("string"==typeof a){if(void 0===b[a]||a.startsWith("_")||"constructor"===a)throw new TypeError(`No method named "${a}"`);b[a]()}})}}a.on(window,"load.bs.scrollspy.data-api",()=>{for(let a of aX.find('[data-bs-spy="scroll"]'))T.getOrCreateInstance(a)}),b(T);let c$="ArrowLeft",c_="ArrowRight",c0="ArrowUp",c1="ArrowDown",c2="active",c3="fade",c4="show",U='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',c5=`.nav-link:not(.dropdown-toggle), .list-group-item:not(.dropdown-toggle), [role="tab"]:not(.dropdown-toggle), ${U}`;class V extends c{constructor(b){super(b),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),a.on(this._element,"keydown.bs.tab",a=>this._keydown(a)))}static get NAME(){return"tab"}show(){let b=this._element;if(this._elemIsActive(b))return;let c=this._getActiveElem(),d=c?a.trigger(c,"hide.bs.tab",{relatedTarget:b}):null;a.trigger(b,"show.bs.tab",{relatedTarget:c}).defaultPrevented||d&&d.defaultPrevented||(this._deactivate(c,b),this._activate(b,c))}_activate(b,d){if(!b)return;b.classList.add(c2),this._activate(ar(b));let c=b.classList.contains(c3);this._queueCallback(()=>{c&&b.classList.add(c4),"tab"===b.getAttribute("role")&&(b.focus(),b.removeAttribute("tabindex"),b.setAttribute("aria-selected",!0),this._toggleDropDown(b,!0),a.trigger(b,"shown.bs.tab",{relatedTarget:d}))},b,c)}_deactivate(b,d){if(!b)return;b.classList.remove(c2),b.blur(),this._deactivate(ar(b));let c=b.classList.contains(c3);this._queueCallback(()=>{c&&b.classList.remove(c4),"tab"===b.getAttribute("role")&&(b.setAttribute("aria-selected",!1),b.setAttribute("tabindex","-1"),this._toggleDropDown(b,!1),a.trigger(b,"hidden.bs.tab",{relatedTarget:d}))},b,c)}_keydown(a){if(![c$,c_,c0,c1].includes(a.key))return;a.stopPropagation(),a.preventDefault();let c=[c_,c1].includes(a.key),b=aD(this._getChildren().filter(a=>!aw(a)),a.target,c,!0);b&&V.getOrCreateInstance(b).show()}_getChildren(){return aX.find(c5,this._parent)}_getActiveElem(){return this._getChildren().find(a=>this._elemIsActive(a))||null}_setInitialAttributes(a,b){for(let c of(this._setAttributeIfNotExists(a,"role","tablist"),b))this._setInitialAttributesOnChild(c)}_setInitialAttributesOnChild(a){a=this._getInnerElement(a);let b=this._elemIsActive(a),c=this._getOuterElement(a);a.setAttribute("aria-selected",b),c!==a&&this._setAttributeIfNotExists(c,"role","presentation"),b||a.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(a,"role","tab"),this._setInitialAttributesOnTargetPanel(a)}_setInitialAttributesOnTargetPanel(a){let b=ar(a);b&&(this._setAttributeIfNotExists(b,"role","tabpanel"),a.id&&this._setAttributeIfNotExists(b,"aria-labelledby",`#${a.id}`))}_toggleDropDown(c,d){let b=this._getOuterElement(c);if(!b.classList.contains("dropdown"))return;let a=(c,e)=>{let a=aX.findOne(c,b);a&&a.classList.toggle(e,d)};a(".dropdown-toggle",c2),a(".dropdown-menu",c4),a(".dropdown-item",c2),b.setAttribute("aria-expanded",d)}_setAttributeIfNotExists(a,b,c){a.hasAttribute(b)||a.setAttribute(b,c)}_elemIsActive(a){return a.classList.contains(c2)}_getInnerElement(a){return a.matches(c5)?a:aX.findOne(c5,a)}_getOuterElement(a){return a.closest(".nav-item, .list-group-item")||a}static jQueryInterface(a){return this.each(function(){let b=V.getOrCreateInstance(this);if("string"==typeof a){if(void 0===b[a]||a.startsWith("_")||"constructor"===a)throw new TypeError(`No method named "${a}"`);b[a]()}})}}a.on(document,"click.bs.tab",U,function(a){["A","AREA"].includes(this.tagName)&&a.preventDefault(),aw(this)||V.getOrCreateInstance(this).show()}),a.on(window,"load.bs.tab",()=>{for(let a of aX.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))V.getOrCreateInstance(a)}),b(V);let c6="hide",c7="show",c8="showing",c9={animation:"boolean",autohide:"boolean",delay:"number"},da={animation:!0,autohide:!0,delay:5e3};class s extends c{constructor(a,b){super(a,b),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return da}static get DefaultType(){return c9}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(c6),az(this._element),this._element.classList.add(c7,c8),this._queueCallback(()=>{this._element.classList.remove(c8),a.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&(a.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(c8),this._queueCallback(()=>{this._element.classList.add(c6),this._element.classList.remove(c8,c7),a.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(c7),super.dispose()}isShown(){return this._element.classList.contains(c7)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(b,a){switch(b.type){case"mouseover":case"mouseout":this._hasMouseInteraction=a;break;case"focusin":case"focusout":this._hasKeyboardInteraction=a}if(a)return void this._clearTimeout();let c=b.relatedTarget;this._element===c||this._element.contains(c)||this._maybeScheduleHide()}_setListeners(){a.on(this._element,"mouseover.bs.toast",a=>this._onInteraction(a,!0)),a.on(this._element,"mouseout.bs.toast",a=>this._onInteraction(a,!1)),a.on(this._element,"focusin.bs.toast",a=>this._onInteraction(a,!0)),a.on(this._element,"focusout.bs.toast",a=>this._onInteraction(a,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(a){return this.each(function(){let b=s.getOrCreateInstance(this,a);if("string"==typeof a){if(void 0===b[a])throw new TypeError(`No method named "${a}"`);b[a](this)}})}}return h(s),b(s),{Alert:j,Button:t,Carousel:u,Collapse:v,Dropdown:e,Modal:q,Offcanvas:r,Popover:S,ScrollSpy:T,Tab:V,Toast:s,Tooltip:g}}),window.scwAccordionsPlugin=window.scwAccordionsPlugin||{},window.SEMICOLON_accordionsInit=function(a){if((a=a.filter(":not(.customjs)")).length<1)return!0;a.each(function(){let a=$(this),e=a.attr("data-state"),b=a.attr("data-active")||1,f=a.attr("data-active-class")||"",g=a.attr("data-collapsible")||"false",c=location.hash,d;b=Number(b)-1,void 0!==c&&""!=c&&(d=a.find(".accordion-header"+c)).length>0&&(b=d.index()/2),a.find(".accordion-content").hide(),"closed"!=e&&a.find(".accordion-header:eq("+Number(b)+")").addClass("accordion-active "+f).next().show(),a.find(".accordion-header").off("click").on("click",function(){if($(this).next().is(":hidden")){a.find(".accordion-header").removeClass("accordion-active "+f).next().slideUp("normal");let b=$(this);$(this).toggleClass("accordion-active "+f,!0).next().stop(!0,!0).slideDown("normal",function(){($("body").hasClass("device-sm")||$("body").hasClass("device-xs"))&&a.hasClass("scroll-on-open")&&$("html,body").stop(!0,!0).animate({scrollTop:b.offset().top-(SEMICOLON.initialize.topScrollOffset()-40)},800,"easeOutQuad")})}else"true"==g&&$(this).toggleClass("accordion-active "+f,!1).next().stop(!0,!0).slideUp("normal");return!1})})},function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof module&&module.exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){a.extend(a.fn,{validate:function(c){if(!this.length)return void(c&&c.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing."));var b=a.data(this[0],"validator");return b||(this.attr("novalidate","novalidate"),b=new a.validator(c,this[0]),a.data(this[0],"validator",b),b.settings.onsubmit&&(this.on("click.validate",":submit",function(c){b.submitButton=c.currentTarget,a(this).hasClass("cancel")&&(b.cancelSubmit=!0),void 0!==a(this).attr("formnovalidate")&&(b.cancelSubmit=!0)}),this.on("submit.validate",function(d){function c(){var c,e;return b.submitButton&&(b.settings.submitHandler||b.formSubmitted)&&(c=a("").attr("name",b.submitButton.name).val(a(b.submitButton).val()).appendTo(b.currentForm)),!(b.settings.submitHandler&&!b.settings.debug)||(e=b.settings.submitHandler.call(b,b.currentForm,d),c&&c.remove(),void 0!==e&&e)}return b.settings.debug&&d.preventDefault(),b.cancelSubmit?(b.cancelSubmit=!1,c()):b.form()?b.pendingRequest?(b.formSubmitted=!0,!1):c():(b.focusInvalid(),!1)}))),b},valid:function(){var b,c,d;return a(this[0]).is("form")?b=this.validate().form():(d=[],b=!0,c=a(this[0].form).validate(),this.each(function(){(b=c.element(this)&&b)||(d=d.concat(c.errorList))}),c.errorList=d),b},rules:function(i,d){var g,h,e,c,f,j,b=this[0],k=void 0!==this.attr("contenteditable")&&"false"!==this.attr("contenteditable");if(null!=b&&(!b.form&&k&&(b.form=this.closest("form")[0],b.name=this.attr("name")),null!=b.form)){if(i)switch(h=(g=a.data(b.form,"validator").settings).rules,e=a.validator.staticRules(b),i){case"add":a.extend(e,a.validator.normalizeRule(d)),delete e.messages,h[b.name]=e,d.messages&&(g.messages[b.name]=a.extend(g.messages[b.name],d.messages));break;case"remove":return d?(j={},a.each(d.split(/\s/),function(b,a){j[a]=e[a],delete e[a]}),j):(delete h[b.name],e)}return(c=a.validator.normalizeRules(a.extend({},a.validator.classRules(b),a.validator.attributeRules(b),a.validator.dataRules(b),a.validator.staticRules(b)),b)).required&&(f=c.required,delete c.required,c=a.extend({required:f},c)),c.remote&&(f=c.remote,delete c.remote,c=a.extend(c,{remote:f})),c}}});var b,d=function(a){return a.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};a.extend(a.expr.pseudos||a.expr[":"],{blank:function(b){return!d(""+a(b).val())},filled:function(c){var b=a(c).val();return null!==b&&!!d(""+b)},unchecked:function(b){return!a(b).prop("checked")}}),a.validator=function(b,c){this.settings=a.extend(!0,{},a.validator.defaults,b),this.currentForm=c,this.init()},a.validator.format=function(c,b){return 1===arguments.length?function(){var b=a.makeArray(arguments);return b.unshift(c),a.validator.format.apply(this,b)}:(void 0===b||(arguments.length>2&&b.constructor!==Array&&(b=a.makeArray(arguments).slice(1)),b.constructor!==Array&&(b=[b]),a.each(b,function(a,b){c=c.replace(new RegExp("\\{"+a+"\\}","g"),function(){return b})})),c)},a.extend(a.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",pendingClass:"pending",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:a([]),errorLabelContainer:a([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(a){this.lastActive=a,this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,a,this.settings.errorClass,this.settings.validClass),this.hideThese(this.errorsFor(a)))},onfocusout:function(a){this.checkable(a)|| !(a.name in this.submitted)&&this.optional(a)||this.element(a)},onkeyup:function(b,c){var d=[16,17,18,20,35,36,37,38,39,40,45,144,225];9===c.which&&""===this.elementValue(b)|| -1!==a.inArray(c.keyCode,d)||(b.name in this.submitted||b.name in this.invalid)&&this.element(b)},onclick:function(a){a.name in this.submitted?this.element(a):a.parentNode.name in this.submitted&&this.element(a.parentNode)},highlight:function(b,c,d){"radio"===b.type?this.findByName(b.name).addClass(c).removeClass(d):a(b).addClass(c).removeClass(d)},unhighlight:function(b,c,d){"radio"===b.type?this.findByName(b.name).removeClass(c).addClass(d):a(b).removeClass(c).addClass(d)}},setDefaults:function(b){a.extend(a.validator.defaults,b)},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:a.validator.format("Please enter no more than {0} characters."),minlength:a.validator.format("Please enter at least {0} characters."),rangelength:a.validator.format("Please enter a value between {0} and {1} characters long."),range:a.validator.format("Please enter a value between {0} and {1}."),max:a.validator.format("Please enter a value less than or equal to {0}."),min:a.validator.format("Please enter a value greater than or equal to {0}."),step:a.validator.format("Please enter a multiple of {0}.")},autoCreateRanges:!1,prototype:{init:function(){function b(c){var g=void 0!==a(this).attr("contenteditable")&&"false"!==a(this).attr("contenteditable");if(!this.form&&g&&(this.form=a(this).closest("form")[0],this.name=a(this).attr("name")),d===this.form){var e=a.data(this.form,"validator"),f="on"+c.type.replace(/^validate/,""),b=e.settings;b[f]&&!a(this).is(b.ignore)&&b[f].call(e,this,c)}}this.labelContainer=a(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||a(this.currentForm),this.containers=a(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var c,d=this.currentForm,e=this.groups={};a.each(this.settings.groups,function(c,b){"string"==typeof b&&(b=b.split(/\s/)),a.each(b,function(b,a){e[a]=c})}),c=this.settings.rules,a.each(c,function(b,d){c[b]=a.validator.normalizeRule(d)}),a(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']",b).on("click.validate","select, option, [type='radio'], [type='checkbox']",b),this.settings.invalidHandler&&a(this.currentForm).on("invalid-form.validate",this.settings.invalidHandler)},form:function(){return this.checkForm(),a.extend(this.submitted,this.errorMap),this.invalid=a.extend({},this.errorMap),this.valid()||a(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var a=0,b=this.currentElements=this.elements();b[a];a++)this.check(b[a]);return this.valid()},element:function(e){var c,g,f=this.clean(e),b=this.validationTargetFor(f),h=this,d=!0;return void 0===b?delete this.invalid[f.name]:(this.prepareElement(b),this.currentElements=a(b),(g=this.groups[b.name])&&a.each(this.groups,function(a,c){c===g&&a!==b.name&&(f=h.validationTargetFor(h.clean(h.findByName(a))))&&f.name in h.invalid&&(h.currentElements.push(f),d=h.check(f)&&d)}),c=!1!==this.check(b),d=d&&c,c?this.invalid[b.name]=!1:this.invalid[b.name]=!0,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),a(e).attr("aria-invalid",!c)),d},showErrors:function(b){if(b){var c=this;a.extend(this.errorMap,b),this.errorList=a.map(this.errorMap,function(a,b){return{message:a,element:c.findByName(b)[0]}}),this.successList=a.grep(this.successList,function(a){return!(a.name in b)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){a.fn.resetForm&&a(this.currentForm).resetForm(),this.invalid={},this.submitted={},this.prepareForm(),this.hideErrors();var b=this.elements().removeData("previousValue").removeAttr("aria-invalid");this.resetElements(b)},resetElements:function(b){var a;if(this.settings.unhighlight)for(a=0;b[a];a++)this.settings.unhighlight.call(this,b[a],this.settings.errorClass,""),this.findByName(b[a].name).removeClass(this.settings.validClass);else b.removeClass(this.settings.errorClass).removeClass(this.settings.validClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(a){var b,c=0;for(b in a)void 0!==a[b]&&null!==a[b]&& !1!==a[b]&&c++;return c},hideErrors:function(){this.hideThese(this.toHide)},hideThese:function(a){a.not(this.containers).text(""),this.addWrapper(a).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{a(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").trigger("focus").trigger("focusin")}catch(b){}},findLastActive:function(){var b=this.lastActive;return b&&1===a.grep(this.errorList,function(a){return a.element.name===b.name}).length&&b},elements:function(){var b=this,c={};return a(this.currentForm).find("input, select, textarea, [contenteditable]").not(":submit, :reset, :image, :disabled").not(this.settings.ignore).filter(function(){var d=this.name||a(this).attr("name"),e=void 0!==a(this).attr("contenteditable")&&"false"!==a(this).attr("contenteditable");return!d&&b.settings.debug&&window.console&&console.error("%o has no name assigned",this),e&&(this.form=a(this).closest("form")[0],this.name=d),this.form===b.currentForm&& !(d in c||!b.objectLength(a(this).rules()))&&(c[d]=!0,!0)})},clean:function(b){return a(b)[0]},errors:function(){var b=this.settings.errorClass.split(" ").join(".");return a(this.settings.errorElement+"."+b,this.errorContext)},resetInternals:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=a([]),this.toHide=a([])},reset:function(){this.resetInternals(),this.currentElements=a([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(a){this.reset(),this.toHide=this.errorsFor(a)},elementValue:function(c){var b,e,d=a(c),f=c.type,g=void 0!==d.attr("contenteditable")&&"false"!==d.attr("contenteditable");return"radio"===f||"checkbox"===f?this.findByName(c.name).filter(":checked").val():"number"===f&& void 0!==c.validity?c.validity.badInput?"NaN":d.val():(b=g?d.text():d.val(),"file"===f?"C:\\fakepath\\"===b.substr(0,12)?b.substr(12):(e=b.lastIndexOf("/"))>=0?b.substr(e+1):(e=b.lastIndexOf("\\"))>=0?b.substr(e+1):b:"string"==typeof b?b.replace(/\r/g,""):b)},check:function(b){b=this.validationTargetFor(this.clean(b));var e,f,d,g,c=a(b).rules(),k=a.map(c,function(b,a){return a}).length,i=!1,j=this.elementValue(b);for(f in"function"==typeof c.normalizer?g=c.normalizer:"function"==typeof this.settings.normalizer&&(g=this.settings.normalizer),g&&(j=g.call(b,j),delete c.normalizer),c){d={method:f,parameters:c[f]};try{if(e=a.validator.methods[f].call(this,j,b,d.parameters),"dependency-mismatch"===e&&1===k){i=!0;continue}if(i=!1,"pending"===e)return void(this.toHide=this.toHide.not(this.errorsFor(b)));if(!e)return this.formatAndAdd(b,d),!1}catch(h){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+b.id+", check the '"+d.method+"' method.",h),h instanceof TypeError&&(h.message+=". Exception occurred when checking element "+b.id+", check the '"+d.method+"' method."),h}}if(!i)return this.objectLength(c)&&this.successList.push(b),!0},customDataMessage:function(b,c){return a(b).data("msg"+c.charAt(0).toUpperCase()+c.substring(1).toLowerCase())||a(b).data("msg")},customMessage:function(b,c){var a=this.settings.messages[b];return a&&(a.constructor===String?a:a[c])},findDefined:function(){for(var a=0;aWarning: No message defined for "+d.name+""),e=/\$?\{(\d+)\}/g;return"function"==typeof c?c=c.call(this,b.parameters,d):e.test(c)&&(c=a.validator.format(c.replace(e,"{$1}"),b.parameters)),c},formatAndAdd:function(a,c){var b=this.defaultMessage(a,c);this.errorList.push({message:b,element:a,method:c.method}),this.errorMap[a.name]=b,this.submitted[a.name]=b},addWrapper:function(a){return this.settings.wrapper&&(a=a.add(a.parent(this.settings.wrapper))),a},defaultShowErrors:function(){var a,c,b;for(a=0;this.errorList[a];a++)b=this.errorList[a],this.settings.highlight&&this.settings.highlight.call(this,b.element,this.settings.errorClass,this.settings.validClass),this.showLabel(b.element,b.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(a=0;this.successList[a];a++)this.showLabel(this.successList[a]);if(this.settings.unhighlight)for(a=0,c=this.validElements();c[a];a++)this.settings.unhighlight.call(this,c[a],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 a(this.errorList).map(function(){return this.element})},showLabel:function(c,g){var d,j,f,i,b=this.errorsFor(c),h=this.idOrName(c),e=a(c).attr("aria-describedby");b.length?(b.removeClass(this.settings.validClass).addClass(this.settings.errorClass),b.html(g)):(d=b=a("<"+this.settings.errorElement+">").attr("id",h+"-error").addClass(this.settings.errorClass).html(g||""),this.settings.wrapper&&(d=b.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(d):this.settings.errorPlacement?this.settings.errorPlacement.call(this,d,a(c)):d.insertAfter(c),b.is("label")?b.attr("for",h):0===b.parents("label[for='"+this.escapeCssMeta(h)+"']").length&&(f=b.attr("id"),e?e.match(new RegExp("\\b"+this.escapeCssMeta(f)+"\\b"))||(e+=" "+f):e=f,a(c).attr("aria-describedby",e),(j=this.groups[c.name])&&(i=this,a.each(i.groups,function(c,d){d===j&&a("[name='"+i.escapeCssMeta(c)+"']",i.currentForm).attr("aria-describedby",b.attr("id"))})))),!g&&this.settings.success&&(b.text(""),"string"==typeof this.settings.success?b.addClass(this.settings.success):this.settings.success(b,c)),this.toShow=this.toShow.add(b)},errorsFor:function(c){var d=this.escapeCssMeta(this.idOrName(c)),e=a(c).attr("aria-describedby"),b="label[for='"+d+"'], label[for='"+d+"'] *";return e&&(b=b+", #"+this.escapeCssMeta(e).replace(/\s+/g,", #")),this.errors().filter(b)},escapeCssMeta:function(a){return a.replace(/([\\!"#$%&'()*+,.\/:;<=>?@\[\]^`{|}~])/g,"\\$1")},idOrName:function(a){return this.groups[a.name]||(this.checkable(a)?a.name:a.id||a.name)},validationTargetFor:function(b){return this.checkable(b)&&(b=this.findByName(b.name)),a(b).not(this.settings.ignore)[0]},checkable:function(a){return/radio|checkbox/i.test(a.type)},findByName:function(b){return a(this.currentForm).find("[name='"+this.escapeCssMeta(b)+"']")},getLength:function(c,b){switch(b.nodeName.toLowerCase()){case"select":return a("option:selected",b).length;case"input":if(this.checkable(b))return this.findByName(b.name).filter(":checked").length}return c.length},depend:function(a,b){return!this.dependTypes[typeof a]||this.dependTypes[typeof a](a,b)},dependTypes:{boolean:function(a){return a},string:function(b,c){return!!a(b,c.form).length},function:function(a,b){return a(b)}},optional:function(b){var c=this.elementValue(b);return!a.validator.methods.required.call(this,c,b)&&"dependency-mismatch"},startRequest:function(b){this.pending[b.name]||(this.pendingRequest++,a(b).addClass(this.settings.pendingClass),this.pending[b.name]=!0)},stopRequest:function(b,c){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[b.name],a(b).removeClass(this.settings.pendingClass),c&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(a(this.currentForm).submit(),this.submitButton&&a("input:hidden[name='"+this.submitButton.name+"']",this.currentForm).remove(),this.formSubmitted=!1):!c&&0===this.pendingRequest&&this.formSubmitted&&(a(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(c,b){return b="string"==typeof b&&b||"remote",a.data(c,"previousValue")||a.data(c,"previousValue",{old:null,valid:!0,message:this.defaultMessage(c,{method:b})})},destroy:function(){this.resetForm(),a(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(b,c){b.constructor===String?this.classRuleSettings[b]=c:a.extend(this.classRuleSettings,b)},classRules:function(c){var d={},b=a(c).attr("class");return b&&a.each(b.split(" "),function(){this in a.validator.classRuleSettings&&a.extend(d,a.validator.classRuleSettings[this])}),d},normalizeAttributeRule:function(d,b,c,a){/min|max|step/.test(c)&&(null===b||/number|range|text/.test(b))&&isNaN(a=Number(a))&&(a=void 0),a||0===a?d[c]=a:b===c&&"range"!==b&&(d[c]=!0)},attributeRules:function(e){var c,b,d={},f=a(e),g=e.getAttribute("type");for(c in a.validator.methods)"required"===c?(""===(b=e.getAttribute(c))&&(b=!0),b=!!b):b=f.attr(c),this.normalizeAttributeRule(d,g,c,b);return d.maxlength&&/-1|2147483647|524288/.test(d.maxlength)&&delete d.maxlength,d},dataRules:function(d){var b,c,e={},f=a(d),g=d.getAttribute("type");for(b in a.validator.methods)""===(c=f.data("rule"+b.charAt(0).toUpperCase()+b.substring(1).toLowerCase()))&&(c=!0),this.normalizeAttributeRule(e,g,b,c);return e},staticRules:function(b){var c={},d=a.data(b.form,"validator");return d.settings.rules&&(c=a.validator.normalizeRule(d.settings.rules[b.name])||{}),c},normalizeRules:function(b,c){return a.each(b,function(e,d){if(!1===d)return void delete b[e];if(d.param||d.depends){var f=!0;switch(typeof d.depends){case"string":f=!!a(d.depends,c.form).length;break;case"function":f=d.depends.call(c,c)}f?b[e]=void 0===d.param||d.param:(a.data(c.form,"validator").resetElements(a(c)),delete b[e])}}),a.each(b,function(d,a){b[d]="function"==typeof a&&"normalizer"!==d?a(c):a}),a.each(["minlength","maxlength"],function(){b[this]&&(b[this]=Number(b[this]))}),a.each(["rangelength","range"],function(){var a;b[this]&&(Array.isArray(b[this])?b[this]=[Number(b[this][0]),Number(b[this][1])]:"string"==typeof b[this]&&(a=b[this].replace(/[\[\]]/g,"").split(/[\s,]+/),b[this]=[Number(a[0]),Number(a[1])]))}),a.validator.autoCreateRanges&&(null!=b.min&&null!=b.max&&(b.range=[b.min,b.max],delete b.min,delete b.max),null!=b.minlength&&null!=b.maxlength&&(b.rangelength=[b.minlength,b.maxlength],delete b.minlength,delete b.maxlength)),b},normalizeRule:function(b){if("string"==typeof b){var c={};a.each(b.split(/\s/),function(){c[this]=!0}),b=c}return b},addMethod:function(b,c,d){a.validator.methods[b]=c,a.validator.messages[b]=void 0!==d?d:a.validator.messages[b],c.length<3&&a.validator.addClassRules(b,a.validator.normalizeRule(b))},methods:{required:function(c,b,e){if(!this.depend(e,b))return"dependency-mismatch";if("select"===b.nodeName.toLowerCase()){var d=a(b).val();return d&&d.length>0}return this.checkable(b)?this.getLength(c,b)>0:null!=c&&c.length>0},email:function(a,b){return this.optional(b)||/^[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(a)},url:function(a,b){return this.optional(b)||/^(?:(?:(?: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(a)},date:(b=!1,function(a,c){return b||(b=!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(c)||!/Invalid|NaN/.test(new Date(a).toString())}),dateISO:function(a,b){return this.optional(b)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(a)},number:function(a,b){return this.optional(b)||/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(a)},digits:function(a,b){return this.optional(b)||/^\d+$/.test(a)},minlength:function(a,b,c){var d=Array.isArray(a)?a.length:this.getLength(a,b);return this.optional(b)||d>=c},maxlength:function(a,b,c){var d=Array.isArray(a)?a.length:this.getLength(a,b);return this.optional(b)||d<=c},rangelength:function(a,b,c){var d=Array.isArray(a)?a.length:this.getLength(a,b);return this.optional(b)||d>=c[0]&&d<=c[1]},min:function(a,b,c){return this.optional(b)||a>=c},max:function(a,b,c){return this.optional(b)||a<=c},range:function(a,c,b){return this.optional(c)||a>=b[0]&&a<=b[1]},step:function(c,d,e){var f,b=a(d).attr("type"),j="Step attribute on input type "+b+" is not supported.",k=["text","number","range"],l=new RegExp("\\b"+b+"\\b"),m=b&&!l.test(k.join()),g=function(b){var a=(""+b).match(/(?:\.(\d+))?$/);return a&&a[1]?a[1].length:0},h=function(a){return Math.round(a*Math.pow(10,f))},i=!0;if(m)throw new Error(j);return f=g(e),(g(c)>f||h(c)%h(e)!=0)&&(i=!1),this.optional(d)||i},equalTo:function(c,e,d){var b=a(d);return this.settings.onfocusout&&b.not(".validate-equalTo-blur").length&&b.addClass("validate-equalTo-blur").on("blur.validate-equalTo",function(){a(e).valid()}),c===b.val()},remote:function(g,b,c,d){if(this.optional(b))return"dependency-mismatch";d="string"==typeof d&&d||"remote";var h,i,f,e=this.previousValue(b,d);return this.settings.messages[b.name]||(this.settings.messages[b.name]={}),e.originalMessage=e.originalMessage||this.settings.messages[b.name][d],this.settings.messages[b.name][d]=e.message,c="string"==typeof c&&{url:c}||c,f=a.param(a.extend({data:g},c.data)),e.old===f?e.valid:(e.old=f,h=this,this.startRequest(b),(i={})[b.name]=g,a.ajax(a.extend(!0,{mode:"abort",port:"validate"+b.name,dataType:"json",data:i,context:h.currentForm,success:function(a){var c,i,j,f=!0===a||"true"===a;h.settings.messages[b.name][d]=e.originalMessage,f?(j=h.formSubmitted,h.resetInternals(),h.toHide=h.errorsFor(b),h.formSubmitted=j,h.successList.push(b),h.invalid[b.name]=!1,h.showErrors()):(c={},i=a||h.defaultMessage(b,{method:d,parameters:g}),c[b.name]=e.message=i,h.invalid[b.name]=!0,h.showErrors(c)),e.valid=f,h.stopRequest(b,f)}},c)),"pending")}}});var c,e={};return a.ajaxPrefilter?a.ajaxPrefilter(function(b,d,c){var a=b.port;"abort"===b.mode&&(e[a]&&e[a].abort(),e[a]=c)}):(c=a.ajax,a.ajax=function(b){var f=("mode"in b?b:a.ajaxSettings).mode,d=("port"in b?b:a.ajaxSettings).port;return"abort"===f?(e[d]&&e[d].abort(),e[d]=c.apply(this,arguments),e[d]):c.apply(this,arguments)}),a}),function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof module&&module.exports?module.exports=function(c,b){return void 0===b&&(b="undefined"!=typeof window?require("jquery"):require("jquery")(c)),a(b),b}:a(jQuery)}(function(a){"use strict";var c=/\r?\n/g,b={};b.fileapi=void 0!==a('').get(0).files,b.formdata=void 0!==window.FormData;var _=!!a.fn.prop;function d(b){var c=b.data;b.isDefaultPrevented()||(b.preventDefault(),a(b.target).closest("form").ajaxSubmit(c))}function e(b){var d=b.target,e=a(d);if(!e.is("[type=submit],[type=image]")){var g=e.closest("[type=submit]");if(0===g.length)return;d=g[0]}var f,c=d.form;"image"===(c.clk=d).type&&(void 0!==b.offsetX?(c.clk_x=b.offsetX,c.clk_y=b.offsetY):"function"==typeof a.fn.offset?(f=e.offset(),c.clk_x=b.pageX-f.left,c.clk_y=b.pageY-f.top):(c.clk_x=b.pageX-d.offsetLeft,c.clk_y=b.pageY-d.offsetTop)),setTimeout(function(){c.clk=c.clk_x=c.clk_y=null},100)}function f(){var b;a.fn.ajaxSubmit.debug&&(b="[jquery.form] "+Array.prototype.join.call(arguments,""),window.console&&window.console.log?window.console.log(b):window.opera&&window.opera.postError&&window.opera.postError(b))}a.fn.attr2=function(){if(!_)return this.attr.apply(this,arguments);var a=this.prop.apply(this,arguments);return a&&a.jquery||"string"==typeof a?a:this.attr.apply(this,arguments)},a.fn.ajaxSubmit=function(c,y,z,r){if(!this.length)return f("ajaxSubmit: skipping submit process - no element selected"),this;var s,t,e,u,l=this;"function"==typeof c?c={success:c}:"string"==typeof c|| !1===c&&0',q)).css({position:"absolute",top:"-1000px",left:"-1000px"}),w=j[0],k={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(d){var c="timeout"===d?"timeout":"aborted";f("aborting upload... "+c),this.aborted=1;try{w.contentWindow.document.execCommand&&w.contentWindow.document.execCommand("Stop")}catch(e){}j.attr("src",b.iframeSrc),k.error=c,b.error&&b.error.call(b.context,k,c,d),p&&a.event.trigger("ajaxError",[k,b,c]),b.complete&&b.complete.call(b.context,k,c)}},(p=b.global)&&0==a.active++&&a.event.trigger("ajaxStart"),p&&a.event.trigger("ajaxSend",[k,b]),b.beforeSend&& !1===b.beforeSend.call(b.context,k,b))return b.global&&a.active--,e.reject(),e;if(k.aborted)return e.reject(),e;(g=m.clk)&&(d=g.name)&&!g.disabled&&(b.extraData=b.extraData||{},b.extraData[d]=g.value,"image"===g.type&&(b.extraData[d+".x"]=m.clk_x,b.extraData[d+".y"]=m.clk_y));var A=1,B=2;function C(a){var b=null;try{a.contentWindow&&(b=a.contentWindow.document)}catch(c){f("cannot get iframe.contentWindow document: "+c)}if(b)return b;try{b=a.contentDocument?a.contentDocument:a.document}catch(d){f("cannot get iframe.contentDocument: "+d),b=a.document}return b}var r=a("meta[name=csrf-token]").attr("content"),t=a("meta[name=csrf-param]").attr("content");function u(){var e=l.attr2("target"),g=l.attr2("action"),h=l.attr("enctype")||l.attr("encoding")||"multipart/form-data";m.setAttribute("target",i),s&&!/post/i.test(s)||m.setAttribute("method","POST"),g!==b.url&&m.setAttribute("action",b.url),b.skipEncodingOverride||s&&!/post/i.test(s)||l.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"}),b.timeout&&(y=setTimeout(function(){x=!0,H(A)},b.timeout));var d=[];try{if(b.extraData)for(var c in b.extraData)b.extraData.hasOwnProperty(c)&&(a.isPlainObject(b.extraData[c])&&b.extraData[c].hasOwnProperty("name")&&b.extraData[c].hasOwnProperty("value")?d.push(a('',q).val(b.extraData[c].value).appendTo(m)[0]):d.push(a('',q).val(b.extraData[c]).appendTo(m)[0]));b.iframeTarget||j.appendTo(z),w.attachEvent?w.attachEvent("onload",H):w.addEventListener("load",H,!1),setTimeout(function c(){try{var a=C(w).readyState;f("state = "+a),a&&"uninitialized"===a.toLowerCase()&&setTimeout(c,50)}catch(b){f("Server abort: ",b," (",b.name,")"),H(B),y&&clearTimeout(y),y=void 0}},15);try{m.submit()}catch(k){document.createElement("form").submit.apply(m)}}finally{m.setAttribute("action",g),m.setAttribute("enctype",h),e?m.setAttribute("target",e):l.removeAttr("target"),a(d).remove()}}t&&r&&(b.extraData=b.extraData||{},b.extraData[t]=r),b.forceSync?u():setTimeout(u,10);var D,E,F,G=50;function H(m){if(!k.aborted&&!F){if((E=C(w))||(f("cannot access response document"),m=B),m===A&&k)return k.abort("timeout"),void e.reject(k,"timeout");if(m===B&&k)return k.abort("server abort"),void e.reject(k,"error","server abort");if(E&&E.location.href!==b.iframeSrc||x){w.detachEvent?w.detachEvent("onload",H):w.removeEventListener("load",H,!1);var d,c="success";try{if(x)throw"timeout";var n="xml"===b.dataType||E.XMLDocument||a.isXMLDoc(E);if(f("isXml="+n),!n&&window.opera&&(null===E.body||!E.body.innerHTML)&& --G)return f("requeing onLoad callback, DOM not available"),void setTimeout(H,250);var g=E.body?E.body:E.documentElement;k.responseText=g?g.innerHTML:null,k.responseXML=E.XMLDocument?E.XMLDocument:E,n&&(b.dataType="xml"),k.getResponseHeader=function(a){return({"content-type":b.dataType})[a.toLowerCase()]},g&&(k.status=Number(g.getAttribute("status"))||k.status,k.statusText=g.getAttribute("statusText")||k.statusText);var l,h,i,o=(b.dataType||"").toLowerCase(),q=/(json|script|text)/.test(o);q||b.textarea?(l=E.getElementsByTagName("textarea")[0])?(k.responseText=l.value,k.status=Number(l.getAttribute("status"))||k.status,k.statusText=l.getAttribute("statusText")||k.statusText):q&&(h=E.getElementsByTagName("pre")[0],i=E.getElementsByTagName("body")[0],h?k.responseText=h.textContent?h.textContent:h.innerText:i&&(k.responseText=i.textContent?i.textContent:i.innerText)):"xml"===o&&!k.responseXML&&k.responseText&&(k.responseXML=I(k.responseText));try{D=K(k,o,b)}catch(s){c="parsererror",k.error=d=s||c}}catch(r){f("error caught: ",r),c="error",k.error=d=r||c}k.aborted&&(f("upload aborted"),c=null),k.status&&(c=200<=k.status&&k.status<300||304===k.status?"success":"error"),"success"===c?(b.success&&b.success.call(b.context,D,"success",k),e.resolve(k.responseText,"success",k),p&&a.event.trigger("ajaxSuccess",[k,b])):c&&(void 0===d&&(d=k.statusText),b.error&&b.error.call(b.context,k,c,d),e.reject(k,"error",d),p&&a.event.trigger("ajaxError",[k,b,d])),p&&a.event.trigger("ajaxComplete",[k,b]),!p|| --a.active||a.event.trigger("ajaxStop"),b.complete&&b.complete.call(b.context,k,c),F=!0,b.timeout&&clearTimeout(y),setTimeout(function(){b.iframeTarget?j.attr("src",b.iframeSrc):j.remove(),k.responseXML=null},100)}}}var I=a.parseXML||function(b,a){return window.ActiveXObject?((a=new ActiveXObject("Microsoft.XMLDOM")).async="false",a.loadXML(b)):a=(new DOMParser).parseFromString(b,"text/xml"),a&&a.documentElement&&"parsererror"!==a.documentElement.nodeName?a:null},J=a.parseJSON||function(a){return window.eval("("+a+")")},K=function(d,c,e){var f=d.getResponseHeader("content-type")||"",g=("xml"===c||!c)&&0<=f.indexOf("xml"),b=g?d.responseXML:d.responseText;return g&&"parsererror"===b.documentElement.nodeName&&a.error&&a.error("parsererror"),e&&e.dataFilter&&(b=e.dataFilter(b,c)),"string"==typeof b&&(("json"===c||!c)&&0<=f.indexOf("json")?b=J(b):("script"===c||!c)&&0<=f.indexOf("javascript")&&a.globalEval(b)),b};return e}},a.fn.ajaxForm=function(b,g,h,c){if(("string"==typeof b|| !1===b&&00?b.appendTo(a.parents(".form-group")):b.insertAfter(a)},focusCleanup:!0,submitHandler:function(j){if(a.hasClass("custom-submit"))return $(j).submit(),!0;f.hide(),"button"==e?(defButtonText=(h=$(j).find("button")).html(),h.html('')):$(j).find(".form-process").fadeIn(),b&&d.removeClass(b+"-ready "+b+"-complete "+b+"-success "+b+"-error").addClass(b+"-processing"),$(j).ajaxSubmit({target:f,dataType:"json",success:function(a){if("button"==e?h.html(defButtonText):$(j).find(".form-process").fadeOut(),"error"!=a.alert&&g)return window.location.replace(g),!0;if("inline"==c?(i="error"==a.alert?"alert-danger":"alert-success",f.removeClass("alert-danger alert-success").addClass("alert "+i).html(a.message).slideDown(400)):"notify"==c&&(f.attr("data-notify-type",a.alert).attr("data-notify-msg",a.message).html(""),SEMICOLON.widget.notifications({el:f})),"error"!=a.alert){$(j).resetForm(),$(j).find(".btn-group > .btn").removeClass("active"),"undefined"!=typeof tinyMCE&&tinyMCE.activeEditor&&!tinyMCE.activeEditor.isHidden()&&tinymce.activeEditor.setContent("");let k=$(j).find(".input-range-slider");k.length>0&&k.each(function(){$(this).data("ionRangeSlider").reset()});let l=$(j).find(".input-rating");l.length>0&&l.each(function(){$(this).rating("reset")});let m=$(j).find(".selectpicker");m.length>0&&m.each(function(){$(this).selectpicker("val",""),$(this).selectpicker("deselectAll")}),$(j).find(".input-select2,select[data-selectsplitter-firstselect-selector]").change(),$(j).trigger("formSubmitSuccess",a),d.removeClass(b+"-error").addClass(b+"-success")}else $(j).trigger("formSubmitError",a),d.removeClass(b+"-success").addClass(b+"-error");b&&d.removeClass(b+"-processing").addClass(b+"-complete"),$(j).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(a){let b=$(this).parents(".portfolio-item").attr("id");$(this).parents(".portfolio-item").hasClass("portfolio-active")||SEMICOLON_portfolioLoadItem(b,prevPostPortId),a.preventDefault()})},window.SEMICOLON_portfolionewNextPrev=function(a){let b=SEMICOLON_portfolioGetNextItem(a),c=SEMICOLON_portfolioGetPrevItem(a);$("#next-portfolio").attr("data-id",b),$("#prev-portfolio").attr("data-id",c)},window.SEMICOLON_portfolioLoadItem=function(a,f,b){b||(b=!1);let c=SEMICOLON_portfolioGetNextItem(a),d=SEMICOLON_portfolioGetPrevItem(a);if(!1==b){SEMICOLON_portfolioCloseItem(),$portfolioAjaxLoader.fadeIn();let e=$("#"+a).attr("data-loader");$portfolioDetailsContainer.load(e,{portid:a,portnext:c,portprev:d},function(){SEMICOLON_portfolioInitializeAjax(a),SEMICOLON_portfolioOpenItem(),$portfolioAjaxItems.removeClass("portfolio-active"),$("#"+a).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 a=$portfolioDetails.find("img").length,b=0;if(a>0)$portfolioDetails.find("img").on("load",function(){b++;let c=SEMICOLON.initialize.topScrollOffset();a===b&&($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-c},900,"easeOutQuad")},500))});else{let c=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-c},900,"easeOutQuad")},500)}},window.SEMICOLON_portfolioGetNextItem=function(c){let a="",b=$("#"+c).next();return 0!=b.length&&(a=b.attr("id")),a},window.SEMICOLON_portfolioGetPrevItem=function(c){let a="",b=$("#"+c).prev();return 0!=b.length&&(a=b.attr("id")),a},window.SEMICOLON_portfolioInitializeAjax=function(a){prevPostPortId=$("#"+a),$("#next-portfolio, #prev-portfolio").off("click").on("click",function(){let a=$(this).attr("data-id");return $portfolioAjaxItems.removeClass("portfolio-active"),$("#"+a).addClass("portfolio-active"),SEMICOLON_portfolioLoadItem(a,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(a){if((a=a.filter(":not(.customjs)")).length<1)return!0;let b="[data-animate]",c="animated",d=function(a){a.classList.contains(c)},e=new IntersectionObserver(function(a,b){a.forEach(function(c){let a=$(c.target),i=a.attr("data-animate"),e=a.attr("data-animate-out"),f=a.attr("data-delay"),g=a.attr("data-delay-out"),d=0,h=3e3;if(a.parents(".fslider.no-thumbs-animate").length>0||a.parents(".swiper-slide").length>0)return!0;d=f?Number(f)+500:500,e&&g&&(h=Number(g)+d),!a.hasClass("animated")&&(a.addClass("not-animated"),c.intersectionRatio>0&&(setTimeout(function(){a.removeClass("not-animated").addClass(i+" animated")},d),e&&setTimeout(function(){a.removeClass(i).addClass(e)},h))),a.hasClass("not-animated")||b.unobserve(c.target)})});[].filter.call(document.querySelectorAll(b),function(a){return!d(a,c)}).forEach(function(a){return e.observe(a)})},function(b,c,d,e){function a(c,d){this.settings=null,this.options=b.extend({},a.Defaults,d),this.$element=b(c),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"]}},b.each(["onResize","onThrottledResize"],b.proxy(function(c,a){this._handlers[a]=b.proxy(this[a],this)},this)),b.each(a.Plugins,b.proxy(function(a,b){this._plugins[a.charAt(0).toLowerCase()+a.slice(1)]=new b(this)},this)),b.each(a.Workers,b.proxy(function(c,a){this._pipe.push({filter:a.filter,run:b.proxy(a.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:c,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(a){a.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(d){var a=this.settings.margin||"",e=!this.settings.autoWidth,b=this.settings.rtl,c={width:"auto","margin-left":b?a:"","margin-right":b?"":a};e||this.$stage.children().css(c),d.css=c}},{filter:["width","items","settings"],run:function(c){var d=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,a=null,b=this._items.length,f=!this.settings.autoWidth,e=[];for(c.items={merge:!1,width:d};b--;)a=this._mergers[b],a=this.settings.mergeFit&&Math.min(a,this.settings.items)||a,c.items.merge=a>1||c.items.merge,e[b]=f?d*a:this._items[b].width();this._widths=e}},{filter:["items","settings"],run:function(){var a=[],c=this._items,d=this.settings,g=Math.max(2*d.items,4),i=2*Math.ceil(c.length/2),e=d.loop&&c.length?d.rewind?g:Math.max(g,i):0,h="",f="";for(e/=2;e>0;)a.push(this.normalize(a.length/2,!0)),h+=c[a[a.length-1]][0].outerHTML,a.push(this.normalize(c.length-1-(a.length-1)/2,!0)),f=c[a[a.length-1]][0].outerHTML+f,e-=1;this._clones=a,b(h).addClass("cloned").appendTo(this.$stage),b(f).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var e=this.settings.rtl?1:-1,f=this._clones.length+this._items.length,a=-1,c=0,d=0,b=[];++a",h)||this.op(c,"<",d)&&this.op(c,">",h))&&i.push(a);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+i.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=b("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(b("
",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},a.prototype.initializeItems=function(){var a=this.$element.find(".owl-item");if(a.length)return this._items=a.get().map(function(a){return b(a)}),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(){if(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")){var a,b,c;a=this.$element.find("img"),b=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:e,c=this.$element.children(b).width(),a.length&&c<=0&&this.preloadAutoWidthImages(a)}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 e=this.viewport(),c=this.options.responsive,d=-1,a=null;c?(b.each(c,function(a){a<=e&&a>d&&(d=Number(a))}),"function"==typeof(a=b.extend({},this.options,c[d])).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"+d))):a=b.extend({},this.options),this.trigger("change",{property:{name:"settings",value:a}}),this._breakpoint=d,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(c){var a=this.trigger("prepare",{content:c});return a.data||(a.data=b("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(c)),this.trigger("prepared",{content:a.data}),a.data},a.prototype.update=function(){for(var a=0,c=this._pipe.length,d=b.proxy(function(a){return this[a]},this._invalidated),e={};a0)&&this._pipe[a].run(e),a++;this._invalidated={},this.is("valid")||this.enter("valid")},a.prototype.width=function(b){switch(b=b||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(){c.clearTimeout(this.resizeTimer),this.resizeTimer=c.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(){b.support.transition&&this.$stage.on(b.support.transition.end+".owl.core",b.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(c,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",b.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",b.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",b.proxy(this.onDragEnd,this)))},a.prototype.onDragStart=function(c){var a=null;3!==c.which&&(b.support.transform?a={x:(a=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===a.length?12:4],y:a[16===a.length?13:5]}:(a=this.$stage.position(),a={x:this.settings.rtl?a.left+this.$stage.width()-this.width()+this.settings.margin:a.left,y:a.top}),this.is("animating")&&(b.support.transform?this.animate(a.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===c.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=b(c.target),this._drag.stage.start=a,this._drag.stage.current=a,this._drag.pointer=this.pointer(c),b(d).on("mouseup.owl.core touchend.owl.core",b.proxy(this.onDragEnd,this)),b(d).one("mousemove.owl.core touchmove.owl.core",b.proxy(function(a){var c=this.difference(this._drag.pointer,this.pointer(a));b(d).on("mousemove.owl.core touchmove.owl.core",b.proxy(this.onDragMove,this)),Math.abs(c.x)0^this.settings.rtl?"left":"right";b(d).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==a.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(f.x,0!==a.x?c:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=c,(Math.abs(a.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(a,f){var c=-1,g=30,h=this.width(),d=this.coordinates();return this.settings.freeDrag||b.each(d,b.proxy(function(b,i){return"left"===f&&a>i-g&&ai-h-g&&a",d[b+1]!==e?d[b+1]:i-h)&&(c="left"===f?b+1:b),-1===c},this)),this.settings.loop||(this.op(a,">",d[this.minimum()])?c=a=this.minimum():this.op(a,"<",d[this.maximum()])&&(c=a=this.maximum())),c},a.prototype.animate=function(a){var c=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),c&&(this.enter("animating"),this.trigger("translate")),b.support.transform3d&&b.support.transition?this.$stage.css({transform:"translate3d("+a+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):c?this.$stage.animate({left:a+"px"},this.speed(),this.settings.fallbackEasing,b.proxy(this.onTransitionEnd,this)):this.$stage.css({left:a+"px"})},a.prototype.is=function(a){return this._states.current[a]&&this._states.current[a]>0},a.prototype.current=function(a){if(a===e)return this._current;if(0===this._items.length)return e;if(a=this.normalize(a),this._current!==a){var b=this.trigger("change",{property:{name:"position",value:a}});b.data!==e&&(a=this.normalize(b.data)),this._current=a,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},a.prototype.invalidate=function(a){return"string"===b.type(a)&&(this._invalidated[a]=!0,this.is("valid")&&this.leave("valid")),b.map(this._invalidated,function(b,a){return a})},a.prototype.reset=function(a){(a=this.normalize(a))!==e&&(this._speed=0,this._current=a,this.suppress(["translate","translated"]),this.animate(this.coordinates(a)),this.release(["translate","translated"]))},a.prototype.normalize=function(a,d){var b=this._items.length,c=d?0:this._clones.length;return!this.isNumeric(a)||b<1?a=e:(a<0||a>=b+c)&&(a=((a-c/2)%b+b)%b+c/2),a},a.prototype.relative=function(a){return a-=this._clones.length/2,this.normalize(a,!0)},a.prototype.maximum=function(f){var a,d,e,b=this.settings,c=this._coordinates.length;if(b.loop)c=this._clones.length/2+this._items.length-1;else if(b.autoWidth||b.merge){if(a=this._items.length)for(d=this._items[--a].width(),e=this.$element.width();(a--)&&!((d+=this._items[a].width()+this.settings.margin)>e););c=a+1}else c=b.center?this._items.length-1:this._items.length-b.items;return f&&(c-=this._clones.length/2),Math.max(c,0)},a.prototype.minimum=function(a){return a?0:this._clones.length/2},a.prototype.items=function(a){return a===e?this._items.slice():(a=this.normalize(a,!0),this._items[a])},a.prototype.mergers=function(a){return a===e?this._mergers.slice():(a=this.normalize(a,!0),this._mergers[a])},a.prototype.clones=function(a){var c=this._clones.length/2,d=c+this._items.length,f=function(a){return a%2==0?d+a/2:c-(a+1)/2};return a===e?b.map(this._clones,function(b,a){return f(a)}):b.map(this._clones,function(b,c){return b===a?f(c):null})},a.prototype.speed=function(a){return a!==e&&(this._speed=a),this._speed},a.prototype.coordinates=function(c){var a,f=1,d=c-1;return c===e?b.map(this._coordinates,b.proxy(function(b,a){return this.coordinates(a)},this)):(this.settings.center?(this.settings.rtl&&(f=-1,d=c+1),a=this._coordinates[c],a+=(this.width()-a+(this._coordinates[d]||0))/2*f):a=this._coordinates[d]||0,a=Math.ceil(a))},a.prototype.duration=function(b,c,a){return 0===a?0:Math.min(Math.max(Math.abs(c-b),1),6)*Math.abs(a||this.settings.smartSpeed)},a.prototype.to=function(a,h){var d=this.current(),e=null,b=a-this.relative(d),i=(b>0)-(b<0),f=this._items.length,g=this.minimum(),c=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(b)>f/2&&(b+=-1*i*f),(e=(((a=d+b)-g)%f+f)%f+g)!==a&&e-b<=c&&e-b>0&&(d=e-b,a=e,this.reset(d))):this.settings.rewind?(c+=1,a=(a%c+c)%c):a=Math.max(g,Math.min(c,a)),this.speed(this.duration(d,a,h)),this.current(a),this.isVisible()&&this.update()},a.prototype.next=function(a){a=a||!1,this.to(this.relative(this.current())+1,a)},a.prototype.prev=function(a){a=a||!1,this.to(this.relative(this.current())-1,a)},a.prototype.onTransitionEnd=function(a){if(a!==e&&(a.stopPropagation(),(a.target||a.srcElement||a.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},a.prototype.viewport=function(){var a;return this.options.responsiveBaseElement!==c?a=b(this.options.responsiveBaseElement).width():c.innerWidth?a=c.innerWidth:d.documentElement&&d.documentElement.clientWidth?a=d.documentElement.clientWidth:console.warn("Can not detect viewport width."),a},a.prototype.replace=function(a){this.$stage.empty(),this._items=[],a&&(a=a instanceof jQuery?a:b(a)),this.settings.nestedItemSelector&&(a=a.find("."+this.settings.nestedItemSelector)),a.filter(function(){return 1===this.nodeType}).each(b.proxy(function(b,a){a=this.prepare(a),this.$stage.append(a),this._items.push(a),this._mergers.push(1*a.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(a,c){var d=this.relative(this._current);c=c===e?this._items.length:this.normalize(c,!0),a=a instanceof jQuery?a:b(a),this.trigger("add",{content:a,position:c}),a=this.prepare(a),0===this._items.length||c===this._items.length?(0===this._items.length&&this.$stage.append(a),0!==this._items.length&&this._items[c-1].after(a),this._items.push(a),this._mergers.push(1*a.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[c].before(a),this._items.splice(c,0,a),this._mergers.splice(c,0,1*a.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[d]&&this.reset(this._items[d].index()),this.invalidate("items"),this.trigger("added",{content:a,position:c})},a.prototype.remove=function(a){(a=this.normalize(a,!0))!==e&&(this.trigger("remove",{content:this._items[a],position:a}),this._items[a].remove(),this._items.splice(a,1),this._mergers.splice(a,1),this.invalidate("items"),this.trigger("removed",{content:null,position:a}))},a.prototype.preloadAutoWidthImages=function(a){a.each(b.proxy(function(c,a){this.enter("pre-loading"),a=b(a),b(new Image).one("load",b.proxy(function(b){a.attr("src",b.target.src),a.css("opacity",1),this.leave("pre-loading"),this.is("pre-loading")||this.is("initializing")||this.refresh()},this)).attr("src",a.attr("src")||a.attr("data-src")||a.attr("data-src-retina"))},this))},a.prototype.destroy=function(){for(var a in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),b(d).off(".owl.core"),!1!==this.settings.responsive&&(c.clearTimeout(this.resizeTimer),this.off(c,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[a].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(a,d,b){var c=this.settings.rtl;switch(d){case"<":return c?a>b:a":return c?ab;case">=":return c?a<=b:a>=b;case"<=":return c?a>=b:a<=b}},a.prototype.on=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,d):a.attachEvent&&a.attachEvent("on"+b,c)},a.prototype.off=function(a,b,c,d){a.removeEventListener?a.removeEventListener(b,c,d):a.detachEvent&&a.detachEvent("on"+b,c)},a.prototype.trigger=function(c,g,e,i,j){var h={item:{count:this._items.length,index:this.current()}},f=b.camelCase(b.grep(["on",c,e],function(a){return a}).join("-").toLowerCase()),d=b.Event([c,"owl",e||"carousel"].join(".").toLowerCase(),b.extend({relatedTarget:this},h,g));return this._supress[c]||(b.each(this._plugins,function(b,a){a.onTrigger&&a.onTrigger(d)}),this.register({type:a.Type.Event,name:c}),this.$element.trigger(d),this.settings&&"function"==typeof this.settings[f]&&this.settings[f].call(this,d)),d},a.prototype.enter=function(a){b.each([a].concat(this._states.tags[a]||[]),b.proxy(function(b,a){this._states.current[a]===e&&(this._states.current[a]=0),this._states.current[a]++},this))},a.prototype.leave=function(a){b.each([a].concat(this._states.tags[a]||[]),b.proxy(function(b,a){this._states.current[a]--},this))},a.prototype.register=function(c){if(c.type===a.Type.Event){if(b.event.special[c.name]||(b.event.special[c.name]={}),!b.event.special[c.name].owl){var d=b.event.special[c.name]._default;b.event.special[c.name]._default=function(a){return d&&d.apply&&(!a.namespace|| -1===a.namespace.indexOf("owl"))?d.apply(this,arguments):a.namespace&&a.namespace.indexOf("owl")> -1},b.event.special[c.name].owl=!0}}else c.type===a.Type.State&&(this._states.tags[c.name]?this._states.tags[c.name]=this._states.tags[c.name].concat(c.tags):this._states.tags[c.name]=c.tags,this._states.tags[c.name]=b.grep(this._states.tags[c.name],b.proxy(function(a,d){return b.inArray(a,this._states.tags[c.name])===d},this)))},a.prototype.suppress=function(a){b.each(a,b.proxy(function(b,a){this._supress[a]=!0},this))},a.prototype.release=function(a){b.each(a,b.proxy(function(b,a){delete this._supress[a]},this))},a.prototype.pointer=function(a){var b={x:null,y:null};return(a=(a=a.originalEvent||a||c.event).touches&&a.touches.length?a.touches[0]:a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:a).pageX?(b.x=a.pageX,b.y=a.pageY):(b.x=a.clientX,b.y=a.clientY),b},a.prototype.isNumeric=function(a){return!isNaN(parseFloat(a))},a.prototype.difference=function(a,b){return{x:a.x-b.x,y:a.y-b.y}},b.fn.owlCarousel=function(c){var d=Array.prototype.slice.call(arguments,1);return this.each(function(){var f=b(this),e=f.data("owl.carousel");e||(e=new a(this,"object"==typeof c&&c),f.data("owl.carousel",e),b.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(d,c){e.register({type:a.Type.Event,name:c}),e.$element.on(c+".owl.carousel.core",b.proxy(function(a){a.namespace&&a.relatedTarget!==this&&(this.suppress([c]),e[c].apply(this,[].slice.call(arguments,1)),this.release([c]))},e))})),"string"==typeof c&&"_"!==c.charAt(0)&&e[c].apply(e,d)})},b.fn.owlCarousel.Constructor=a}(window.Zepto||window.jQuery,window,document),function(b,c,d,e){var a=function(c){this._core=c,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":b.proxy(function(a){a.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=b.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=c.setInterval(b.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 a,b;for(a in c.clearInterval(this._interval),this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},b.fn.owlCarousel.Constructor.Plugins.AutoRefresh=a}(window.Zepto||window.jQuery,window,document),function(b,c,d,e){var a=function(c){this._core=c,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":b.proxy(function(c){if(c.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(c.property&&"position"==c.property.name||"initialized"==c.type)){var a=this._core.settings,d=a.center&&Math.ceil(a.items/2)||a.items,f=a.center&& -1*d||0,e=(c.property&& void 0!==c.property.value?c.property.value:this._core.current())+f,g=this._core.clones().length,h=b.proxy(function(b,a){this.load(a)},this);for(a.lazyLoadEager>0&&(d+=a.lazyLoadEager,a.loop&&(e-=a.lazyLoadEager,d++));(f++) -1||(d.each(b.proxy(function(g,f){var e,a=b(f),d=c.devicePixelRatio>1&&a.attr("data-src-retina")||a.attr("data-src")||a.attr("data-srcset");this._core.trigger("load",{element:a,url:d},"lazy"),a.is("img")?a.one("load.owl.lazy",b.proxy(function(){a.css("opacity",1),this._core.trigger("loaded",{element:a,url:d},"lazy")},this)).attr("src",d):a.is("source")?a.one("load.owl.lazy",b.proxy(function(){this._core.trigger("loaded",{element:a,url:d},"lazy")},this)).attr("srcset",d):((e=new Image).onload=b.proxy(function(){a.css({"background-image":'url("'+d+'")',opacity:"1"}),this._core.trigger("loaded",{element:a,url:d},"lazy")},this),e.src=d)},this)),this._loaded.push(a.get(0)))},a.prototype.destroy=function(){var a,b;for(a in this.handlers)this._core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},b.fn.owlCarousel.Constructor.Plugins.Lazy=a}(window.Zepto||window.jQuery,window,document),function(b,c,d,e){var a=function(d){this._core=d,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":b.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":b.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&"position"===a.property.name&&this.update()},this),"loaded.owl.lazy":b.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&a.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=b.extend({},a.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var e=this;b(c).on("load",function(){e._core.settings.autoHeight&&e.update()}),b(c).resize(function(){e._core.settings.autoHeight&&(null!=e._intervalId&&clearTimeout(e._intervalId),e._intervalId=setTimeout(function(){e.update()},250))})};a.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},a.prototype.update=function(){var c=this._core._current,d=c+this._core.settings.items,e=this._core.settings.lazyLoad,f=this._core.$stage.children().toArray().slice(c,d),g=[],a=0;b.each(f,function(c,a){g.push(b(a).height())}),(a=Math.max.apply(null,g))<=1&&e&&this._previousHeight&&(a=this._previousHeight),this._previousHeight=a,this._core.$stage.parent().height(a).addClass(this._core.settings.autoHeightClass)},a.prototype.destroy=function(){var a,b;for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},b.fn.owlCarousel.Constructor.Plugins.AutoHeight=a}(window.Zepto||window.jQuery,window,document),function(b,c,d,e){var a=function(c){this._core=c,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":b.proxy(function(a){a.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":b.proxy(function(a){a.namespace&&this._core.settings.video&&this.isInFullScreen()&&a.preventDefault()},this),"refreshed.owl.carousel":b.proxy(function(a){a.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":b.proxy(function(a){a.namespace&&"position"===a.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":b.proxy(function(a){if(a.namespace){var c=b(a.content).find(".owl-video");c.length&&(c.css("display","none"),this.fetch(c,b(a.content)))}},this)},this._core.options=b.extend({},a.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",b.proxy(function(a){this.play(a)},this))};a.Defaults={video:!1,videoHeight:!1,videoWidth:!1},a.prototype.fetch=function(a,e){var d=a.attr("data-vimeo-id")?"vimeo":a.attr("data-vzaar-id")?"vzaar":"youtube",b=a.attr("data-vimeo-id")||a.attr("data-youtube-id")||a.attr("data-vzaar-id"),f=a.attr("data-width")||this._core.settings.videoWidth,g=a.attr("data-height")||this._core.settings.videoHeight,c=a.attr("href");if(!c)throw new Error("Missing video URL.");if((b=c.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)d="youtube";else if(b[3].indexOf("vimeo")> -1)d="vimeo";else{if(!(b[3].indexOf("vzaar")> -1))throw new Error("Video URL not supported.");d="vzaar"}b=b[6],this._videos[c]={type:d,id:b,width:f,height:g},e.attr("data-video",c),this.thumbnail(a,this._videos[c])},a.prototype.thumbnail=function(d,a){var j,k,g,h=a.width&&a.height?"width:"+a.width+"px;height:"+a.height+"px;":"",c=d.find("img"),e="src",i="",l=this._core.settings,f=function(a){k='
',j=l.lazyLoad?b("
",{class:"owl-video-tn "+i,srcType:a}):b("
",{class:"owl-video-tn",style:"opacity:1;background-image:url("+a+")"}),d.after(j),d.after(k)};if(d.wrap(b("
",{class:"owl-video-wrapper",style:h})),this._core.settings.lazyLoad&&(e="data-src",i="owl-lazy"),c.length)return f(c.attr(e)),c.remove(),!1;"youtube"===a.type?f(g="//img.youtube.com/vi/"+a.id+"/hqdefault.jpg"):"vimeo"===a.type?b.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+a.id+".json",jsonp:"callback",dataType:"jsonp",success:function(a){f(g=a[0].thumbnail_large)}}):"vzaar"===a.type&&b.ajax({type:"GET",url:"//vzaar.com/api/videos/"+a.id+".json",jsonp:"callback",dataType:"jsonp",success:function(a){f(g=a.framegrab_url)}})},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(e){var c,d=b(e.target).closest("."+this._core.settings.itemClass),a=this._videos[d.attr("data-video")],f=a.width||"100%",g=a.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),d=this._core.items(this._core.relative(d.index())),this._core.reset(d.index()),(c=b('')).attr("height",g),c.attr("width",f),"youtube"===a.type?c.attr("src","//www.youtube.com/embed/"+a.id+"?autoplay=1&rel=0&v="+a.id):"vimeo"===a.type?c.attr("src","//player.vimeo.com/video/"+a.id+"?autoplay=1"):"vzaar"===a.type&&c.attr("src","//view.vzaar.com/"+a.id+"/player?autoplay=true"),b(c).wrap('
').insertAfter(d.find(".owl-video")),this._playing=d.addClass("owl-video-playing"))},a.prototype.isInFullScreen=function(){var a=d.fullscreenElement||d.mozFullScreenElement||d.webkitFullscreenElement;return a&&b(a).parent().hasClass("owl-video-frame")},a.prototype.destroy=function(){var a,b;for(a in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},b.fn.owlCarousel.Constructor.Plugins.Video=a}(window.Zepto||window.jQuery,window,document),function(b,c,d,e){var a=function(c){this.core=c,this.core.options=b.extend({},a.Defaults,this.core.options),this.swapping=!0,this.previous=e,this.next=e,this.handlers={"change.owl.carousel":b.proxy(function(a){a.namespace&&"position"==a.property.name&&(this.previous=this.core.current(),this.next=a.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":b.proxy(function(a){a.namespace&&(this.swapping="translated"==a.type)},this),"translate.owl.carousel":b.proxy(function(a){a.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&&b.support.animation&&b.support.transition){this.core.speed(0);var a,c=b.proxy(this.clear,this),f=this.core.$stage.children().eq(this.previous),g=this.core.$stage.children().eq(this.next),d=this.core.settings.animateIn,e=this.core.settings.animateOut;this.core.current()!==this.previous&&(e&&(a=this.core.coordinates(this.previous)-this.core.coordinates(this.next),f.one(b.support.animation.end,c).css({left:a+"px"}).addClass("animated owl-animated-out").addClass(e)),d&&g.one(b.support.animation.end,c).addClass("animated owl-animated-in").addClass(d))}},a.prototype.clear=function(a){b(a.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 a,b;for(a in this.handlers)this.core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},b.fn.owlCarousel.Constructor.Plugins.Animate=a}(window.Zepto||window.jQuery,window,document),function(b,c,d,e){var a=function(c){this._core=c,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":b.proxy(function(a){a.namespace&&"settings"===a.property.name?this._core.settings.autoplay?this.play():this.stop():a.namespace&&"position"===a.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":b.proxy(function(a){a.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":b.proxy(function(a,b,c){a.namespace&&this.play(b,c)},this),"stop.owl.autoplay":b.proxy(function(a){a.namespace&&this.stop()},this),"mouseover.owl.autoplay":b.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":b.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":b.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":b.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=b.extend({},a.Defaults,this._core.options)};a.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},a.prototype._next=function(a){this._call=c.setTimeout(b.proxy(this._next,this,a),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||d.hidden||this._core.next(a||this._core.settings.autoplaySpeed)},a.prototype.read=function(){return(new Date).getTime()-this._time},a.prototype.play=function(a,e){var d;this._core.is("rotating")||this._core.enter("rotating"),a=a||this._core.settings.autoplayTimeout,d=Math.min(this._time%(this._timeout||a),a),this._paused?(this._time=this.read(),this._paused=!1):c.clearTimeout(this._call),this._time+=this.read()%a-d,this._timeout=a,this._call=c.setTimeout(b.proxy(this._next,this,e),a-d)},a.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,c.clearTimeout(this._call),this._core.leave("rotating"))},a.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,c.clearTimeout(this._call))},a.prototype.destroy=function(){var a,b;for(a in this.stop(),this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},b.fn.owlCarousel.Constructor.Plugins.autoplay=a}(window.Zepto||window.jQuery,window,document),function(b,c,d,e){"use strict";var a=function(c){this._core=c,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":b.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.push('
'+b(a.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"
")},this),"added.owl.carousel":b.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.splice(a.position,0,this._templates.pop())},this),"remove.owl.carousel":b.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.splice(a.position,1)},this),"changed.owl.carousel":b.proxy(function(a){a.namespace&&"position"==a.property.name&&this.draw()},this),"initialized.owl.carousel":b.proxy(function(a){a.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":b.proxy(function(a){a.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=b.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 c,a=this._core.settings;for(c in this._controls.$relative=(a.navContainer?b(a.navContainer):b("
").addClass(a.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=b("<"+a.navElement+">").addClass(a.navClass[0]).html(a.navText[0]).prependTo(this._controls.$relative).on("click",b.proxy(function(b){this.prev(a.navSpeed)},this)),this._controls.$next=b("<"+a.navElement+">").addClass(a.navClass[1]).html(a.navText[1]).appendTo(this._controls.$relative).on("click",b.proxy(function(b){this.next(a.navSpeed)},this)),a.dotsData||(this._templates=[b('',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},a.fn.magnificPopup=function(b){c();var d=a(this);if("string"==typeof b){if("open"===b){var f,g=k?d.data("magnificPopup"):d[0].magnificPopup,h=parseInt(arguments[1],10)||0;g.items?f=g.items[h]:(f=d,g.delegate&&(f=f.find(g.delegate)),f=f.eq(h)),e._openClick({mfpEl:f},d,g)}else e.isOpen&&e[b].apply(e,Array.prototype.slice.call(arguments,1))}else b=a.extend(!0,{},b),k?d.data("magnificPopup",b):d[0].magnificPopup=b,e.addGroup(d,b);return d};var q,r,s,t=function(){s&&(r.after(s.addClass(q)).detach(),s=null)};a.magnificPopup.registerModule("inline",{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){e.types.push("inline"),m("Close.inline",function(){t()})},getInline:function(c,d){if(t(),c.src){var f=e.st.inline,b=a(c.src);if(b.length){var g=b[0].parentNode;g&&g.tagName&&(r||(r=n(q=f.hiddenClass),q="mfp-"+q),s=b.after(r).detach().removeClass(q)),e.updateStatus("ready")}else e.updateStatus("error",f.tNotFound),b=a("
");return c.inlineElement=b,b}return e.updateStatus("ready"),e._parseMarkup(d,{},c),d}}});var u,v=function(){u&&a(document.body).removeClass(u)},w=function(){v(),e.req&&e.req.abort()};a.magnificPopup.registerModule("ajax",{options:{settings:null,cursor:"mfp-ajax-cur",tError:'The content could not be loaded.'},proto:{initAjax:function(){e.types.push("ajax"),u=e.st.ajax.cursor,m("Close.ajax",w),m("BeforeChange.ajax",w)},getAjax:function(b){u&&a(document.body).addClass(u),e.updateStatus("loading");var c=a.extend({url:b.src,success:function(d,g,f){var c={data:d,xhr:f};o("ParseAjax",c),e.appendContent(a(c.data),"ajax"),b.finished=!0,v(),e._setFocus(),setTimeout(function(){e.wrap.addClass("mfp-ready")},16),e.updateStatus("ready"),o("AjaxContentAdded")},error:function(){v(),b.finished=b.loadError=!0,e.updateStatus("error",e.st.ajax.tError.replace("%url%",b.src))}},e.st.ajax.settings);return e.req=a.ajax(c),""}}});var x,y=function(b){if(b.data&& void 0!==b.data.title)return b.data.title;var c=e.st.image.titleSrc;if(c){if(a.isFunction(c))return c.call(e,b);if(b.el)return b.el.attr(c)||""}return""};a.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 c=e.st.image,b=".image";e.types.push("image"),m("Open"+b,function(){"image"===e.currItem.type&&c.cursor&&a(document.body).addClass(c.cursor)}),m("Close"+b,function(){c.cursor&&a(document.body).removeClass(c.cursor),l.off("resize.mfp")}),m("Resize"+b,e.resizeImage),e.isLowIE&&m("AfterChange",e.resizeImage)},resizeImage:function(){var a=e.currItem;if(a&&a.img&&e.st.image.verticalFit){var b=0;e.isLowIE&&(b=parseInt(a.img.css("padding-top"),10)+parseInt(a.img.css("padding-bottom"),10)),a.img.css("max-height",e.wH-b)}},_onImageHasSize:function(a){a.img&&(a.hasSize=!0,x&&clearInterval(x),a.isCheckingImgSize=!1,o("ImageHasSize",a),a.imgHidden&&(e.content&&e.content.removeClass("mfp-loading"),a.imgHidden=!1))},findImageSize:function(a){var c=0,d=a.img[0],b=function(f){x&&clearInterval(x),x=setInterval(function(){d.naturalWidth>0?e._onImageHasSize(a):(c>200&&clearInterval(x),3== ++c?b(10):40===c?b(50):100===c&&b(500))},f)};b(1)},getImage:function(b,d){var j=0,g=function(){b&&(b.img[0].complete?(b.img.off(".mfploader"),b===e.currItem&&(e._onImageHasSize(b),e.updateStatus("ready")),b.hasSize=!0,b.loaded=!0,o("ImageLoadComplete")):++j<200?setTimeout(g,100):h())},h=function(){b&&(b.img.off(".mfploader"),b===e.currItem&&(e._onImageHasSize(b),e.updateStatus("error",i.tError.replace("%url%",b.src))),b.hasSize=!0,b.loaded=!0,b.loadError=!0)},i=e.st.image,f=d.find(".mfp-img");if(f.length){var c=document.createElement("img");c.className="mfp-img",b.el&&b.el.find("img").length&&(c.alt=b.el.find("img").attr("alt")),b.img=a(c).on("load.mfploader",g).on("error.mfploader",h),c.src=b.src,c.srcset=b.srcset,c.sizes=b.sizes,f.is("img")&&(b.img=b.img.clone()),(c=b.img[0]).naturalWidth>0?b.hasSize=!0:c.width||(b.hasSize=!1)}return e._parseMarkup(d,{title:y(b),img_replaceWith:b.img},b),e.resizeImage(),b.hasSize?(x&&clearInterval(x),b.loadError?(d.addClass("mfp-loading"),e.updateStatus("error",i.tError.replace("%url%",b.src))):(d.removeClass("mfp-loading"),e.updateStatus("ready")),d):(e.updateStatus("loading"),b.loading=!0,b.hasSize||(b.imgHidden=!0,d.addClass("mfp-loading"),e.findImageSize(b)),d)}}}),a.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(a){return a.is("img")?a:a.find("img")}},proto:{initZoom:function(){var c,b=e.st.zoom,a=".zoom";if(b.enabled&&e.supportsTransition){var d,f,g=b.duration,h=function(e){var d=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),f="all "+b.duration/1e3+"s "+b.easing,a={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},c="transition";return a["-webkit-"+c]=a["-moz-"+c]=a["-o-"+c]=a[c]=f,d.css(a),d},i=function(){e.content.css("visibility","visible")};m("BuildControls"+a,function(){if(e._allowZoom()){if(clearTimeout(d),e.content.css("visibility","hidden"),!(c=e._getItemToZoom()))return void i();(f=h(c)).css(e._getOffset()),e.wrap.append(f),d=setTimeout(function(){f.css(e._getOffset(!0)),d=setTimeout(function(){i(),setTimeout(function(){f.remove(),c=f=null,o("ZoomAnimationEnded")},16)},g)},16)}}),m("BeforeClose"+a,function(){if(e._allowZoom()){if(clearTimeout(d),e.st.removalDelay=g,!c){if(!(c=e._getItemToZoom()))return;f=h(c)}f.css(e._getOffset(!0)),e.wrap.append(f),e.content.css("visibility","hidden"),setTimeout(function(){f.css(e._getOffset())},16)}}),m("Close"+a,function(){e._allowZoom()&&(i(),f&&f.remove(),c=null)})}},_allowZoom:function(){return"image"===e.currItem.type},_getItemToZoom:function(){return!!e.currItem.hasSize&&e.currItem.img},_getOffset:function(h){var b,c=(b=h?e.currItem.img:e.st.zoom.opener(e.currItem.el||e.currItem)).offset(),g=parseInt(b.css("padding-top"),10),i=parseInt(b.css("padding-bottom"),10);c.top-=a(window).scrollTop()-g;var f={width:b.width(),height:(k?b.innerHeight():b[0].offsetHeight)-i-g};return void 0===d&&(d=void 0!==document.createElement("p").style.MozTransform),d?f["-moz-transform"]=f.transform="translate("+c.left+"px,"+c.top+"px)":(f.left=c.left,f.top=c.top),f}}});var z=function(b){if(e.currTemplate.iframe){var a=e.currTemplate.iframe.find("iframe");a.length&&(b||(a[0].src="//about:blank"),e.isIE8&&a.css("display",b?"block":"none"))}};a.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(){e.types.push("iframe"),m("BeforeChange",function(c,a,b){a!==b&&("iframe"===a?z():"iframe"===b&&z(!0))}),m("Close.iframe",function(){z()})},getIframe:function(c,d){var g=c.src,b=e.st.iframe;a.each(b.patterns,function(){if(g.indexOf(this.index)> -1)return this.id&&(g="string"==typeof this.id?g.substr(g.lastIndexOf(this.id)+this.id.length,g.length):this.id.call(this,g)),g=this.src.replace("%id%",g),!1});var f={};return b.srcAction&&(f[b.srcAction]=g),e._parseMarkup(d,f,c),e.updateStatus("ready"),d}}});var _=function(a){var b=e.items.length;return a>b-1?a-b:a<0?b+a:a},A=function(a,b,c){return a.replace(/%curr%/gi,b+1).replace(/%total%/gi,c)};a.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 c=e.st.gallery,b=".mfp-gallery";if(e.direction=!0,!c||!c.enabled)return!1;i+=" mfp-gallery",m("Open"+b,function(){c.navigateByImgClick&&e.wrap.on("click"+b,".mfp-img",function(){if(e.items.length>1)return e.next(),!1}),g.on("keydown"+b,function(a){37===a.keyCode?e.prev():39===a.keyCode&&e.next()})}),m("UpdateStatus"+b,function(b,a){a.text&&(a.text=A(a.text,e.currItem.index,e.items.length))}),m("MarkupParse"+b,function(f,g,b,d){var a=e.items.length;b.counter=a>1?A(c.tCounter,d.index,a):""}),m("BuildControls"+b,function(){if(e.items.length>1&&c.arrows&&!e.arrowLeft){var b=c.arrowMarkup,d=e.arrowLeft=a(b.replace(/%title%/gi,c.tPrev).replace(/%dir%/gi,"left")).addClass("mfp-prevent-close"),f=e.arrowRight=a(b.replace(/%title%/gi,c.tNext).replace(/%dir%/gi,"right")).addClass("mfp-prevent-close");d.click(function(){e.prev()}),f.click(function(){e.next()}),e.container.append(d.add(f))}}),m("Change"+b,function(){e._preloadTimeout&&clearTimeout(e._preloadTimeout),e._preloadTimeout=setTimeout(function(){e.preloadNearbyImages(),e._preloadTimeout=null},16)}),m("Close"+b,function(){g.off(b),e.wrap.off("click"+b),e.arrowRight=e.arrowLeft=null})},next:function(){e.direction=!0,e.index=_(e.index+1),e.updateItemHTML()},prev:function(){e.direction=!1,e.index=_(e.index-1),e.updateItemHTML()},goTo:function(a){e.direction=a>=e.index,e.index=a,e.updateItemHTML()},preloadNearbyImages:function(){var a,b=e.st.gallery.preload,c=Math.min(b[0],e.items.length),d=Math.min(b[1],e.items.length);for(a=1;a<=(e.direction?d:c);a++)e._preloadItem(e.index+a);for(a=1;a<=(e.direction?c:d);a++)e._preloadItem(e.index-a)},_preloadItem:function(c){if(c=_(c),!e.items[c].preloaded){var b=e.items[c];b.parsed||(b=e.parseEl(c)),o("LazyLoad",b),"image"===b.type&&(b.img=a('').on("load.mfploader",function(){b.hasSize=!0}).on("error.mfploader",function(){b.hasSize=!0,b.loadError=!0,o("LazyLoadError",b)}).attr("src",b.src).attr("srcset",b.srcset).attr("sizes",b.sizes)),b.preloaded=!0}}}}),a.magnificPopup.registerModule("retina",{options:{replaceSrc:function(a){return a.src.replace(/\.\w+$/,function(a){return"@2x"+a})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var b=e.st.retina,a=b.ratio;(a=isNaN(a)?a():a)>1&&(m("ImageHasSize.retina",function(c,b){b.img.css({"max-width":b.img[0].naturalWidth/a,width:"100%"})}),m("ElementParse.retina",function(d,c){c.src=b.replaceSrc(c,a)}))}}}}),c()}),window.SEMICOLON_lightboxInit=function(a){if((a=a.filter(":not(.customjs)")).length<1)return!0;a.each(function(){let a=$(this),c=a.attr("data-lightbox"),b=a.attr("data-close-button")||"outside",d=a.attr("data-disable-under")||600,e=$("body");b="inside"==b,"image"==c&&a.magnificPopup({type:"image",closeOnContentClick:!0,closeBtnInside:b,fixedContentPos:!0,mainClass:"mfp-no-margins mfp-fade",image:{verticalFit:!0}}),"gallery"==c&&(a.find('a[data-lightbox="gallery-item"]').parent(".clone").hasClass("clone")&&a.find('a[data-lightbox="gallery-item"]').parent(".clone").find('a[data-lightbox="gallery-item"]').attr("data-lightbox",""),a.find('a[data-lightbox="gallery-item"]').parents(".cloned").hasClass("cloned")&&a.find('a[data-lightbox="gallery-item"]').parents(".cloned").find('a[data-lightbox="gallery-item"]').attr("data-lightbox",""),a.magnificPopup({delegate:'a[data-lightbox="gallery-item"]',type:"image",closeOnContentClick:!0,closeBtnInside:b,fixedContentPos:!0,mainClass:"mfp-no-margins mfp-fade",image:{verticalFit:!0},gallery:{enabled:!0,navigateByImgClick:!0,preload:[0,1]}})),"iframe"==c&&a.magnificPopup({disableOn:Number(d),type:"iframe",removalDelay:160,preloader:!1,fixedContentPos:!1}),"inline"==c&&a.magnificPopup({type:"inline",mainClass:"mfp-no-margins mfp-fade",closeBtnInside:b,fixedContentPos:!0,overflowY:"scroll"}),"ajax"==c&&a.magnificPopup({type:"ajax",closeBtnInside:b,autoFocusLast:!1,callbacks:{ajaxContentAdded:function(a){SEMICOLON.widget.loadFlexSlider(),SEMICOLON.initialize.resizeVideos(),SEMICOLON.widget.masonryThumbs(),SEMICOLON.widget.cartQuantity()},open:function(){e.addClass("ohidden")},close:function(){e.removeClass("ohidden")}}}),"ajax-gallery"==c&&a.magnificPopup({delegate:'a[data-lightbox="ajax-gallery-item"]',type:"ajax",closeBtnInside:b,autoFocusLast:!1,gallery:{enabled:!0,preload:0,navigateByImgClick:!1},callbacks:{ajaxContentAdded:function(a){SEMICOLON.widget.loadFlexSlider(),SEMICOLON.initialize.resizeVideos(),SEMICOLON.widget.masonryThumbs(),SEMICOLON.widget.cartQuantity()},open:function(){e.addClass("ohidden")},close:function(){e.removeClass("ohidden")}}}),a.on("mfpOpen",function(){let a=$.magnificPopup.instance.currItem.el,b=$(a).attr("data-lightbox-class"),c=$(a).attr("data-lightbox-bg-class");""!=b&&$($.magnificPopup.instance.container).addClass(b),""!=c&&$($.magnificPopup.instance.bgOverlay).addClass(c)})})},window.SEMICOLON_modalInit=function(a){if((a=a.filter(":not(.customjs)")).length<1)return!0;a.each(function(){let a=$(this),j=a.attr("data-target"),c=j.split("#")[1],b=a.attr("data-delay")||500,d=a.attr("data-timeout"),k=a.attr("data-animate-in"),l=a.attr("data-animate-out"),e=a.attr("data-bg-click"),f=a.attr("data-close-btn"),g=a.attr("data-escape-key")||"true",h=a.attr("data-cookies"),m=a.attr("data-cookie-path"),n=a.attr("data-cookie-expire");if("false"==h&&Cookies.remove(c),"true"==h){let i=Cookies.get(c);if(void 0!==i&&"0"==i)return!0}e="false"!=e,g="false"!=g,f="false"!=f,b=Number(b)+500,setTimeout(function(){$.magnificPopup.open({items:{src:j},type:"inline",mainClass:"mfp-no-margins mfp-fade",closeBtnInside:!1,fixedContentPos:!0,closeOnBgClick:e,showCloseBtn:f,enableEscapeKey:g,removalDelay:500,callbacks:{open:function(){""!=k&&$(j).addClass(k+" animated")},beforeClose:function(){""!=l&&$(j).removeClass(k).addClass(l)},afterClose:function(){if((""!=k||""!=l)&&$(j).removeClass(k+" "+l+" animated"),"true"==h){let a={};n&&(a.expires=Number(n)),m&&(a.path=m),Cookies.set(c,"0",a)}}}},0)},b),""!=d&&setTimeout(function(){$.magnificPopup.close()},b+Number(d))})},window.scwLinkScrollPlugin=window.scwLinkScrollPlugin||{},function(b,i){function j(a,c,d){var b=o[c.type]||{};return null==a?d||!c.def?null:c.def:(a=b.floor?~~a:parseFloat(a),isNaN(a)?c.def:b.mod?(a+b.mod)%b.mod:0>a?0:b.max6*(a=(a+1)%1)?b+(c-b)*a*6:1>2*a?c:2>3*a?b+(c-b)*(2/3-a)*6:b}var f,g="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",m=/^([\-+])=\s*(\d+\.?\d*)/,n=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(a){return[a[1],a[2],a[3],a[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(a){return[2.55*a[1],2.55*a[2],2.55*a[3],a[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(a){return[parseInt(a[1],16),parseInt(a[2],16),parseInt(a[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(a){return[parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16),parseInt(a[3]+a[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(a){return[a[1],a[2]/100,a[3]/100,a[4]]}}],a=b.Color=function(a,c,d,e){return new b.Color.fn.parse(a,c,d,e)},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"}}}},o={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},h=a.support={},d=b("

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

";"self"!=q||e||(a.attr("data-notify-target","#"+i),$("body").append(r)),[].slice.call(document.querySelectorAll(".toast")).map(function(a){return new bootstrap.Toast(a)}).forEach(a=>{a.hide()});let g=a.attr("data-notify-target"),l=jQuery(g);return l.find(".toast-body"),$(g).length>0&&(new bootstrap.Toast($(g).get(0),{delay:Number(o),autohide:f}).show(),l.get(0).addEventListener("hidden.bs.toast",()=>{l.parent().remove(),a.get(0).removeAttribute("data-notify-target")})),!1},window.scwOnePageModulePlugin=window.scwOnePageModulePlugin||{};let $onePageMenu,windowEl=$(window),windowWidth=windowEl.width(),$body=$("body"),$pageSectionEl,locationHash=location.hash,onePageMenuActiveClass;function sm_format_twitter(twitters){for(var statusHTML=[],i=0;i]*[^.,;'">\:\s\<\>\)\]\!])/g,function(a){return''+a+""}).replace(/\B@([_a-z0-9]+)/ig,function(a){return a.charAt(0)+''+a.substring(1)+""});statusHTML.push('
  • ")}return statusHTML.join("")}function sm_format_twitter2(twitters){for(var statusHTML=[],i=0;i]*[^.,;'">\:\s\<\>\)\]\!])/g,function(a){return''+a+""}).replace(/\B@([_a-z0-9]+)/ig,function(a){return a.charAt(0)+''+a.substring(1)+""});statusHTML.push('")}return statusHTML.join("")}function sm_format_twitter3(twitters){for(var statusHTML=[],i=0;i]*[^.,;'">\:\s\<\>\)\]\!])/g,function(a){return''+a+""}).replace(/\B@([_a-z0-9]+)/ig,function(a){return a.charAt(0)+''+a.substring(1)+""});statusHTML.push('")}return statusHTML.join("")}function relative_time(time_value){var values=time_value.split(" ");time_value=values[1]+" "+values[2]+", "+values[5]+" "+values[3];var parsed_date=Date.parse(time_value),relative_to=arguments.length>1?arguments[1]:new Date,delta=parseInt((relative_to.getTime()-parsed_date)/1e3);return(delta+=60*relative_to.getTimezoneOffset())<60?"less than a minute ago":delta<120?"about a minute ago":delta<3600?parseInt(delta/60).toString()+" minutes ago":delta<7200?"about an hour ago":delta<86400?"about "+parseInt(delta/3600).toString()+" hours ago":delta<172800?"1 day ago":parseInt(delta/86400).toString()+" days ago"}window.SEMICOLON_onePageModule=function(a){if(($onePageMenu=a.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 b=$(locationHash);b.length>0&&setTimeout(function(){let c=b.offset().top,a=JSON.parse(b.attr("data-onepage-settings"));$("html,body").stop(!0,!0).animate({scrollTop:c-Number(a.offset)},a.speed,a.easing)},1200)}let c=setInterval(function(){"pluginOnePageModuleReady"in scwEvents&&(windowEl.scrollEnd(function(){SEMICOLON_onePageScroller()},500),clearInterval(c))},1e3);$onePageMenu.each(function(){let b=$(this);onePageMenuActiveClass=b.attr("data-active-class")||"current",$onePageMenu=b,b.hasClass("no-offset")&&(elOffset=0);let c=b.find("a[data-href]");c.each(function(){let a=$(this).attr("data-href"),b=$(a);if(b.length>0){let c=SEMICOLON_onePageSettings(a,$('a[data-href="'+a+'"]'));setTimeout(function(){b.attr("data-onepage-settings",JSON.stringify(c)),$pageSectionEl=$("[data-onepage-settings]")},1e3)}}),c.off("click").on("click",function(){let c=$(this).attr("data-href"),d=$(c);if(d.length>0){let e=JSON.parse(d.attr("data-onepage-settings"));b.find("li").removeClass(onePageMenuActiveClass),b.find('a[data-href="'+c+'"]').parent("li").addClass(onePageMenuActiveClass),(windowWidth<992||$body.hasClass("overlay-menu"))&&(a.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 a=d.offset().top;$("html,body").stop(!0,!0).animate({scrollTop:a-Number(e.offset)},Number(e.speed),e.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 a;return void 0===$pageSectionEl||($pageSectionEl.each(function(f){let b=$(this),e=JSON.parse(b.attr("data-onepage-settings")),c=b.offset().top-e.offset-5,d=windowEl.scrollTop();d>=c&&d0)||f&&this.length?(d.optionCheck.call(this,e)&&a("."+e.overlayClass).length<=0&&d.addOverlay.call(this,e),e.loading&&a("."+e.loadingClass).length<=0&&d.addLoading.call(this,e),this.each(function(){var g=this,h=a(this),f=a(window),i=a(document);h.data(c)||(e=a.extend({},e),h.data(c,{options:e}),e.timeout&&d.addTimer.call(g),e.onLoadEvent&&(b?(d.settings.timer&&clearTimeout(d.settings.timer),d.in.call(g)):f.on("load."+c,function(){d.settings.timer&&clearTimeout(d.settings.timer),d.in.call(g)})),f.on("pageshow."+c,function(a){a.originalEvent.persisted&&d.in.call(g)}),f.on("unload."+c,function(){}),i.on("click."+c,e.linkElement,function(b){b.preventDefault();var c=a(this),e=c.attr("href");2===b.which||b.metaKey||b.shiftKey|| -1!==navigator.platform.toUpperCase().indexOf("WIN")&&b.ctrlKey?window.open(e,"_blank"):d.out.call(g,c,e)}))})):("console"in window||(window.console={},window.console.log=function(a){return a}),this.length||console.log("Animsition: Element does not exist on page."),f||console.log("Animsition: Does not support this browser."),d.destroy.call(this))},addOverlay:function(b){a(b.overlayParentElement).prepend('
    ')},addLoading:function(b){a(b.loadingParentElement).append('
    '+b.loadingInner+"
    ")},removeLoading:function(){var b=a(this).data(c).options;a(b.loadingParentElement).children("."+b.loadingClass).fadeOut().remove()},addTimer:function(){var e=this,b=a(this).data(c).options;d.settings.timer=setTimeout(function(){d.in.call(e),a(window).off("load."+c)},b.timeoutCountdown)},supportCheck:function(f){var g=a(this),d=f.browser,e=d.length,b=!1;0===e&&(b=!0);for(var c=0;e>c;c++)if("string"==typeof g.css(d[c])){b=!0;break}return b},optionCheck:function(b){var c=a(this);return!!(b.overlay||c.data(d.settings.data.overlay))},animationCheck:function(b,d,e){var f=a(this).data(c).options,g=typeof b,h=!d&&"number"===g,i=d&&"string"===g&&b.length>0;return h||i||(d&&e?b=f.inClass:!d&&e?b=f.inDuration:d&&!e?b=f.outClass:d||e||(b=f.outDuration)),b},in:function(){var b=this,e=a(this),f=e.data(c).options,j=e.data(d.settings.data.inDuration),k=e.data(d.settings.data.inClass),g=d.animationCheck.call(b,j,!1,!0),h=d.animationCheck.call(b,k,!0,!0),l=d.optionCheck.call(b,f),i=e.data(c).outClass;f.loading&&d.removeLoading.call(b),i&&e.removeClass(i),l?d.inOverlay.call(b,h,g):d.inDefault.call(b,h,g)},inDefault:function(b,c){var e=a(this);e.css({"animation-duration":c+"ms"}).addClass(b).trigger(d.settings.events.inStart).animateCallback(function(){e.removeClass(b).css({opacity:1}).trigger(d.settings.events.inEnd)})},inOverlay:function(f,g){var b=a(this),e=b.data(c).options;b.css({opacity:1}).trigger(d.settings.events.inStart),a(e.overlayParentElement).children("."+e.overlayClass).css({"animation-duration":g+"ms"}).addClass(f).animateCallback(function(){b.trigger(d.settings.events.inEnd)})},out:function(g,h){var b=this,e=a(this),j=e.data(c).options,k=g.data(d.settings.data.outClass),l=e.data(d.settings.data.outClass),m=g.data(d.settings.data.outDuration),n=e.data(d.settings.data.outDuration),o=k||l,p=m||n,f=d.animationCheck.call(b,o,!0,!1),i=d.animationCheck.call(b,p,!1,!1),q=d.optionCheck.call(b,j);e.data(c).outClass=f,q?d.outOverlay.call(b,f,i,h):d.outDefault.call(b,f,i,h)},outDefault:function(e,f,g){var b=a(this),h=b.data(c).options;b.css({"animation-duration":f+1+"ms"}).addClass(e).trigger(d.settings.events.outStart).animateCallback(function(){b.trigger(d.settings.events.outEnd),h.transition(g)})},outOverlay:function(f,g,k){var h=this,b=a(this),e=b.data(c).options,i=b.data(d.settings.data.inClass),j=d.animationCheck.call(h,i,!0,!0);a(e.overlayParentElement).children("."+e.overlayClass).css({"animation-duration":g+1+"ms"}).removeClass(j).addClass(f).trigger(d.settings.events.outStart).animateCallback(function(){b.trigger(d.settings.events.outEnd),e.transition(k)})},destroy:function(){return this.each(function(){var b=a(this);a(window).off("."+c),b.css({opacity:1}).removeData(c)})}};a.fn.animateCallback=function(b){var c="animationend webkitAnimationEnd";return this.each(function(){var d=a(this);d.on(c,function(){return d.off(c),b.call(this)})})},a.fn.animsition=function(b){return d[b]?d[b].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof b&&b?void a.error("Method "+b+" does not exist on jQuery."+c):d.init.apply(this,arguments)}}),window.SEMICOLON_pageTransitionInit=function(u){let e=$("body"),l=$("#wrapper");if(e.hasClass("no-transition")||!e.hasClass("page-transition"))return!0;if(!$().animsition)return e.addClass("no-transition"),console.log("pageTransition: Animsition not Defined."),!0;window.onpageshow=function(a){a.persisted&&window.location.reload()};let n=e.attr("data-animation-in")||"fadeIn",o=e.attr("data-animation-out")||"fadeOut",p=e.attr("data-speed-in")||1500,q=e.attr("data-speed-out")||800,k=!1,f=e.attr("data-loader-timeout"),d=e.attr("data-loader"),j=e.attr("data-loader-color"),g=e.attr("data-loader-html"),m="",r='
    ',s="
    ",a="",h="",c="",t="",b="",i="";f?(k=!0,f=Number(f)):(k=!1,f=!1),j&&("theme"==j?(c=" bg-color",t=" border-color",b=' class="bg-color"',i=' class="border-color"'):(a=' style="background-color:'+j+';"',h=' style="border-color:'+j+';"')),m="2"==d?'
    ":"3"==d?'
    ":"4"==d?'
    ":"5"==d?'
    ":"6"==d?'
    ":"7"==d?'
    ":"8"==d?'
    ":"9"==d?'
    ":"10"==d?'
    ":"11"==d?'
    ":"12"==d?'
    ":"13"==d?'
    ":"14"==d?'
    ":'
    ",g||(g=m),g=r+g+s,l.css({opacity:1}),l.animsition({inClass:n,outClass:o,inDuration:Number(p),outDuration:Number(q),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:g,timeout:k,timeoutCountdown:f,onLoadEvent:!0,browser:["animation-duration","-webkit-animation-duration"],overlay:!1,overlayClass:"animsition-overlay-slide",overlayParentElement:"body"})},function(c,g,h){"use strict";function a(a){if(i=g.documentElement,j=g.body,U(),ai=this,a=a||{},an=a.constants||{},a.easing)for(var b in a.easing)X[b]=a.easing[b];au=a.edgeStrategy||"set",al={beforerender:a.beforerender,render:a.render,keyframe:a.keyframe},am=!1!==a.forceHeight,am&&(aK=a.scale||1),ao=a.mobileDeceleration||z,aq=!1!==a.smoothScrolling,ar=a.smoothScrollingDuration||B,as={targetTop:ai.getScrollTop()},aS=(a.mobileCheck||function(){return/Android|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent||navigator.vendor||c.opera)})(),aS?((ak=g.getElementById(a.skrollrBody||A))&&ah(),Y(),aF(i,[e,w],[u])):aF(i,[e,v],[u]),ai.refresh(),ax(c,"resize orientationchange",function(){var a=i.clientWidth,b=i.clientHeight;(b!==aP||a!==aO)&&(aP=b,aO=a,aQ=!0)});var d=V();return function a(){$(),aw=d(a)}(),ai}var i,j,b={get:function(){return ai},init:function(b){return ai||new a(b)},VERSION:"0.6.29"},k=Object.prototype.hasOwnProperty,l=c.Math,m=c.getComputedStyle,n="touchstart",o="touchmove",p="touchcancel",q="touchend",d="skrollable",r=d+"-before",s=d+"-between",t=d+"-after",e="skrollr",u="no-"+e,v=e+"-desktop",w=e+"-mobile",x="linear",y=1e3,z=.004,A="skrollr-body",B=200,C="start",D="end",E="center",F="bottom",G="___skrollable_id",H=/^(?:input|textarea|button|select)$/i,I=/^\s+|\s+$/g,J=/^data(?:-(_\w+))?(?:-?(-?\d*\.?\d+p?))?(?:-?(start|end|top|center|bottom))?(?:-?(top|center|bottom))?$/,K=/\s*(@?[\w\-\[\]]+)\s*:\s*(.+?)\s*(?:;|$)/gi,L=/^(@?[a-z\-]+)\[(\w+)\]$/,M=/-([a-z0-9_])/g,N=function(b,a){return a.toUpperCase()},O=/[\-+]?[\d]*\.?[\d]+/g,P=/\{\?\}/g,Q=/rgba?\(\s*-?\d+\s*,\s*-?\d+\s*,\s*-?\d+/g,R=/[a-z\-]+-gradient/g,S="",T="",U=function(){var b=/^(?:O|Moz|webkit|ms)|(?:-(?:o|moz|webkit|ms)-)/;if(m){var c=m(j,null);for(var a in c)if(S=a.match(b)|| +a==a&&c[a].match(b))break;if(!S)return void(S=T="");"-"===(S=S[0]).slice(0,1)?(T=S,S=({"-webkit-":"webkit","-moz-":"Moz","-ms-":"ms","-o-":"O"})[S]):T="-"+S.toLowerCase()+"-"}},V=function(){var a=c.requestAnimationFrame||c[S.toLowerCase()+"RequestAnimationFrame"],b=f();return(aS||!a)&&(a=function(e){var a=f()-b,d=l.max(0,1e3/60-a);return c.setTimeout(function(){b=f(),e()},d)}),a},W=function(){var a=c.cancelAnimationFrame||c[S.toLowerCase()+"CancelAnimationFrame"];return(aS||!a)&&(a=function(a){return c.clearTimeout(a)}),a},X={begin:function(){return 0},end:function(){return 1},linear:function(a){return a},quadratic:function(a){return a*a},cubic:function(a){return a*a*a},swing:function(a){return-l.cos(a*l.PI)/2+.5},sqrt:function(a){return l.sqrt(a)},outCubic:function(a){return l.pow(a-1,3)+1},bounce:function(b){var a;if(.5083>=b)a=3;else if(.8489>=b)a=9;else if(.96208>=b)a=27;else{if(!(.99981>=b))return 1;a=91}return 1-l.abs(3*l.cos(b*a*1.028)/a)}};a.prototype.refresh=function(e){var f,k,m=!1;for(e===h?(m=!0,aj=[],aR=0,e=g.getElementsByTagName("*")):e.length===h&&(e=[e]),f=0,k=e.length;k>f;f++){var a=e[f],t=a,n=[],u=aq,v=au,w=!1;if(m&&G in a&&delete a[G],a.attributes){for(var o,p,l,q=0,y=a.attributes.length;y>q;q++){var c=a.attributes[q];if("data-anchor-target"!==c.name){if("data-smooth-scrolling"!==c.name){if("data-edge-strategy"!==c.name){if("data-emit-events"!==c.name){var j=c.name.match(J);if(null!==j){var b={props:c.value,element:a,eventType:c.name.replace(M,N)};n.push(b);var x=j[1];x&&(b.constant=x.substr(1));var r=j[2];/p$/.test(r)?(b.isPercentage=!0,b.offset=(0|r.slice(0,-1))/100):b.offset=0|r;var i=j[3],z=j[4]||i;i&&i!==C&&i!==D?(b.mode="relative",b.anchors=[i,z]):(b.mode="absolute",i===D?b.isEnd=!0:b.isPercentage||(b.offset=b.offset*aK))}}else w=!0}else v=c.value}else u="off"!==c.value}else if(null===(t=g.querySelector(c.value)))throw'Unable to find anchor target "'+c.value+'"'}n.length&&(!m&&G in a?(o=aj[l=a[G]].styleAttr,p=aj[l].classAttr):(l=a[G]=aR++,o=a.style.cssText,p=aE(a)),aj[l]={element:a,styleAttr:o,classAttr:p,anchorTarget:t,keyFrames:n,smoothScrolling:u,edgeStrategy:v,emitEvents:w,lastFrameIndex:-1},aF(a,[d],[]))}}for(aB(),f=0,k=e.length;k>f;f++){var s=aj[e[f][G]];s!==h&&(_(s),ac(s))}return ai},a.prototype.relativeToAbsolute=function(g,c,d){var e=i.clientHeight,b=g.getBoundingClientRect(),a=b.top,f=b.bottom-b.top;return c===F?a-=e:c===E&&(a-=e/2),d===F?a+=f:d===E&&(a+=f/2),(a+=ai.getScrollTop())+.5|0},a.prototype.animateTo=function(b,a){a=a||{};var c=f(),d=ai.getScrollTop(),e=a.duration===h?y:a.duration;return(ap={startTop:d,topDiff:b-d,targetTop:b,duration:e,startTime:c,endTime:c+e,easing:X[a.easing||x],done:a.done}).topDiff||(ap.done&&ap.done.call(ai,!1),ap=h),ai},a.prototype.stopAnimateTo=function(){ap&&ap.done&&ap.done.call(ai,!0),ap=h},a.prototype.isAnimatingTo=function(){return!!ap},a.prototype.isMobile=function(){return aS},a.prototype.setScrollTop=function(a,b){return at=!0===b,aS?aT=l.min(l.max(a,0),aJ):c.scrollTo(0,a),ai},a.prototype.getScrollTop=function(){return aS?aT:c.pageYOffset||i.scrollTop||j.scrollTop||0},a.prototype.getMaxScrollTop=function(){return aJ},a.prototype.on=function(a,b){return al[a]=b,ai},a.prototype.off=function(a){return delete al[a],ai},a.prototype.destroy=function(){W()(aw),az(),aF(i,[u],[e,v,w]);for(var a=0,c=aj.length;c>a;a++)ag(aj[a].element);i.style.overflow=j.style.overflow="",i.style.height=j.style.height="",ak&&b.setStyle(ak,"transform","none"),ai=h,ak=h,al=h,am=h,aJ=0,aK=1,an=h,ao=h,aL="down",aM=-1,aO=0,aP=0,aQ=!1,ap=h,aq=h,ar=h,as=h,at=h,aR=0,au=h,aS=!1,aT=0,av=h};var Y=function(){var a,b,d,e,f,k,m,r,s,t,u,v;ax(i,[n,o,p,q].join(" "),function(c){var j=c.changedTouches[0];for(e=c.target;3===e.nodeType;)e=e.parentNode;switch(f=j.clientY,k=j.clientX,t=c.timeStamp,H.test(e.tagName)||c.preventDefault(),c.type){case n:a&&a.blur(),ai.stopAnimateTo(),a=e,b=m=f,d=k,s=t;break;case o:H.test(e.tagName)&&g.activeElement!==e&&c.preventDefault(),r=f-m,v=t-u,ai.setScrollTop(aT-r,!0),m=f,u=t;break;default:var y=b-f,z=d-k;if(49>z*z+y*y){if(!H.test(a.tagName)){a.focus();var A=g.createEvent("MouseEvents");A.initMouseEvent("click",!0,!0,c.view,1,j.screenX,j.screenY,j.clientX,j.clientY,c.ctrlKey,c.altKey,c.shiftKey,c.metaKey,0,null),a.dispatchEvent(A)}return}a=h;var q=r/v;q=l.max(l.min(q,3),-3);var p=l.abs(q/ao),w=q*p+.5*ao*p*p,i=ai.getScrollTop()-w,x=0;i>aJ?(x=(aJ-i)/w,i=aJ):0>i&&(x=-i/w,i=0),p*=1-x,ai.animateTo(i+.5|0,{easing:"outCubic",duration:p})}}),c.scrollTo(0,0),i.style.overflow=j.style.overflow="hidden"},Z=function(){var e,k,m,d,b,g,a,c,h,f,j,o=i.clientHeight,n=aC();for(c=0,h=aj.length;h>c;c++)for(k=(e=aj[c]).element,m=e.anchorTarget,d=e.keyFrames,b=0,g=d.length;g>b;b++)f=(a=d[b]).offset,j=n[a.constant]||0,a.frame=f,a.isPercentage&&(f*=o,a.frame=f),"relative"===a.mode&&(ag(k),a.frame=ai.relativeToAbsolute(m,a.anchors[0],a.anchors[1])-f,ag(k,!0)),a.frame+=j,am&&!a.isEnd&&a.frame>aJ&&(aJ=a.frame);for(aJ=l.max(aJ,aD()),c=0,h=aj.length;h>c;c++){for(d=(e=aj[c]).keyFrames,b=0,g=d.length;g>b;b++)j=n[(a=d[b]).constant]||0,a.isEnd&&(a.frame=aJ-a.offset+j);e.keyFrames.sort(aI)}},aa=function(A,B){for(var m=0,C=aj.length;C>m;m++){var a,f,c=aj[m],e=c.element,j=c.smoothScrolling?A:B,g=c.keyFrames,n=g.length,o=g[0],p=g[g.length-1],l=jp.frame,z=l?o:p,q=c.emitEvents,u=c.lastFrameIndex;if(l||y){if(l&& -1===c.edge||y&&1===c.edge)continue;switch(l?(aF(e,[r],[t,s]),q&&u> -1&&(aA(e,o.eventType,aL),c.lastFrameIndex=-1)):(aF(e,[t],[r,s]),q&&n>u&&(aA(e,p.eventType,aL),c.lastFrameIndex=n)),c.edge=l?-1:1,c.edgeStrategy){case"reset":ag(e);continue;case"ease":j=z.frame;break;default:var v=z.props;for(a in v)k.call(v,a)&&(f=af(v[a].value),0===a.indexOf("@")?e.setAttribute(a.substr(1),f):b.setStyle(e,a,f));continue}}else 0!==c.edge&&(aF(e,[d,s],[r,t]),c.edge=0);for(var h=0;n-1>h;h++)if(j>=g[h].frame&&j<=g[h+1].frame){var i=g[h],w=g[h+1];for(a in i.props)if(k.call(i.props,a)){var x=(j-i.frame)/(w.frame-i.frame);x=i.props[a].easing(x),f=ae(i.props[a].value,w.props[a].value,x),f=af(f),0===a.indexOf("@")?e.setAttribute(a.substr(1),f):b.setStyle(e,a,f)}q&&u!==h&&("down"===aL?aA(e,i.eventType,aL):aA(e,w.eventType,aL),c.lastFrameIndex=h);break}}},$=function(){aQ&&(aQ=!1,aB());var e,d,a=ai.getScrollTop(),c=f();if(ap?(c>=ap.endTime?(a=ap.targetTop,e=ap.done,ap=h):(d=ap.easing((c-ap.startTime)/ap.duration),a=ap.startTop+d*ap.topDiff|0),ai.setScrollTop(a,!0)):!at&&(as.targetTop-a&&(as={startTop:aM,topDiff:a-aM,targetTop:a,startTime:aN,endTime:aN+ar}),c<=as.endTime&&(d=X.sqrt((c-as.startTime)/ar),a=as.startTop+d*as.topDiff|0)),at||aM!==a){aL=a>aM?"down":aM>a?"up":aL,at=!1;var g={curTop:a,lastTop:aM,maxTop:aJ,direction:aL},i=al.beforerender&&al.beforerender.call(ai,g);!1!==i&&(aa(a,ai.getScrollTop()),aS&&ak&&b.setStyle(ak,"transform","translate(0, "+ -aT+"px) "+av),aM=a,al.render&&al.render.call(ai,g)),e&&e.call(ai,!1)}aN=c},_=function(f){for(var d=0,i=f.keyFrames.length;i>d;d++){for(var a,b,c,e,g=f.keyFrames[d],h={};null!==(e=K.exec(g.props));)c=e[1],b=e[2],a=c.match(L),null!==a?(c=a[1],a=a[2]):a=x,b=b.indexOf("!")?ab(b):[b.slice(1)],h[c]={value:b,easing:X[a]};g.props=h}},ab=function(a){var b=[];return Q.lastIndex=0,a=a.replace(Q,function(a){return a.replace(O,function(a){return a/255*100+"%"})}),T&&(R.lastIndex=0,a=a.replace(R,function(a){return T+a})),a=a.replace(O,function(a){return b.push(+a),"{?}"}),b.unshift(a),b},ac=function(b){var a,d,c={};for(a=0,d=b.keyFrames.length;d>a;a++)ad(b.keyFrames[a],c);for(c={},a=b.keyFrames.length-1;a>=0;a--)ad(b.keyFrames[a],c)},ad=function(b,c){var a;for(a in c)k.call(b.props,a)||(b.props[a]=c[a]);for(a in b.props)c[a]=b.props[a]},ae=function(b,c,f){var a,d=b.length;if(d!==c.length)throw"Can't interpolate between \""+b[0]+'" and "'+c[0]+'"';var e=[b[0]];for(a=1;d>a;a++)e[a]=b[a]+(c[a]-b[a])*f;return e},af=function(a){var b=1;return P.lastIndex=0,a[0].replace(P,function(){return a[b++]})},ag=function(c,e){c=[].concat(c);for(var a,b,d=0,f=c.length;f>d;d++)(a=aj[(b=c[d])[G]])&&(e?(b.style.cssText=a.dirtyStyleAttr,aF(b,a.dirtyClassAttr)):(a.dirtyStyleAttr=b.style.cssText,a.dirtyClassAttr=aE(b),b.style.cssText=a.styleAttr,aF(b,a.classAttr)))},ah=function(){av="translateZ(0)",b.setStyle(ak,"transform",av);var a=m(ak),c=a.getPropertyValue("transform"),d=a.getPropertyValue(T+"transform");c&&"none"!==c||d&&"none"!==d||(av="")};b.setStyle=function(d,a,b){var c=d.style;if("zIndex"===(a=a.replace(M,N).replace("-","")))isNaN(b)?c[a]=b:c[a]=""+(0|b);else if("float"===a)c.styleFloat=c.cssFloat=b;else try{S&&(c[S+a.slice(0,1).toUpperCase()+a.slice(1)]=b),c[a]=b}catch(e){}};var ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax=b.addEvent=function(a,b,f){var g=function(a){return(a=a||c.event).target||(a.target=a.srcElement),a.preventDefault||(a.preventDefault=function(){a.returnValue=!1,a.defaultPrevented=!0}),f.call(this,a)};b=b.split(" ");for(var d,e=0,h=b.length;h>e;e++)d=b[e],a.addEventListener?a.addEventListener(d,f,!1):a.attachEvent("on"+d,g),aU.push({element:a,name:d,listener:f})},ay=b.removeEvent=function(c,a,d){a=a.split(" ");for(var b=0,e=a.length;e>b;b++)c.removeEventListener?c.removeEventListener(a[b],d,!1):c.detachEvent("on"+a[b],d)},az=function(){for(var a,b=0,c=aU.length;c>b;b++)ay((a=aU[b]).element,a.name,a.listener);aU=[]},aA=function(a,b,c){al.keyframe&&al.keyframe.call(ai,a,b,c)},aB=function(){var a=ai.getScrollTop();aJ=0,am&&!aS&&(j.style.height=""),Z(),am&&!aS&&(j.style.height=aJ+i.clientHeight+"px"),aS?ai.setScrollTop(l.min(ai.getScrollTop(),aJ)):ai.setScrollTop(a,!0),at=!0},aC=function(){var b,a,d=i.clientHeight,c={};for(b in an)"function"==typeof(a=an[b])?a=a.call(ai):/p$/.test(a)&&(a=a.slice(0,-1)/100*d),c[b]=a;return c},aD=function(){var b,a=0;return ak&&(a=l.max(ak.offsetHeight,ak.scrollHeight)),(b=l.max(a,j.scrollHeight,j.offsetHeight,i.scrollHeight,i.offsetHeight,i.clientHeight))-i.clientHeight},aE=function(a){var b="className";return c.SVGElement&&a instanceof c.SVGElement&&(a=a[b],b="baseVal"),a[b]},aF=function(b,e,g){var d="className";if(c.SVGElement&&b instanceof c.SVGElement&&(b=b[d],d="baseVal"),g===h)return void(b[d]=e);for(var a=b[d],i=0,j=g.length;j>i;i++)a=aH(a).replace(aH(g[i])," ");a=aG(a);for(var f=0,k=e.length;k>f;f++)-1===aH(a).indexOf(aH(e[f]))&&(a+=" "+e[f]);b[d]=aG(a)},aG=function(a){return a.replace(I,"")},aH=function(a){return" "+a+" "},f=Date.now||function(){return+new Date},aI=function(a,b){return a.frame-b.frame},aJ=0,aK=1,aL="down",aM=-1,aN=f(),aO=0,aP=0,aQ=!1,aR=0,aS=!1,aT=0,aU=[];"function"==typeof define&&define.amd?define([],function(){return b}):"undefined"!=typeof module&&module.exports?module.exports=b:c.skrollr=b}(window,document),window.SEMICOLON_parallaxInit=function(a){if((a=a.filter(":not(.customjs)")).length<1)return!0;SEMICOLON.isMobile.any()?a.addClass("mobile-parallax"):window.skrollrInstance=skrollr.init({forceHeight:!1})},function(b,a){"function"==typeof define&&define.amd?define(["jquery"],function(b){return a(b)}):"object"==typeof exports?module.exports=a(require("jquery")):a(jQuery)}(this,function(a){var b=function(e,a){var g,b=document.createElement("canvas");e.appendChild(b),"object"==typeof G_vmlCanvasManager&&G_vmlCanvasManager.initElement(b);var d=b.getContext("2d");b.width=b.height=a.size;var c=1;window.devicePixelRatio>1&&(c=window.devicePixelRatio,b.style.width=b.style.height=[a.size,"px"].join(""),b.width=b.height=a.size*c,d.scale(c,c)),d.translate(a.size/2,a.size/2),d.rotate((-0.5+a.rotate/180)*Math.PI);var f=(a.size-a.lineWidth)/2;a.scaleColor&&a.scaleLength&&(f-=a.scaleLength+2),Date.now=Date.now||function(){return+new Date};var h=function(b,c,a){var e=0>=(a=Math.min(Math.max(-1,a||0),1));d.beginPath(),d.arc(0,0,f,0,2*Math.PI*a,e),d.strokeStyle=b,d.lineWidth=c,d.stroke()},i=function(){var c,b;d.lineWidth=1,d.fillStyle=a.scaleColor,d.save();for(var e=24;e>0;--e)e%6==0?(b=a.scaleLength,c=0):(b=.6*a.scaleLength,c=a.scaleLength-b),d.fillRect(-a.size/2+c,0,b,1),d.rotate(Math.PI/12);d.restore()},j=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(a){window.setTimeout(a,1e3/60)},k=function(){a.scaleColor&&i(),a.trackColor&&h(a.trackColor,a.trackWidth||a.lineWidth,1)};this.getCanvas=function(){return b},this.getCtx=function(){return d},this.clear=function(){d.clearRect(-(a.size/2),-(a.size/2),a.size,a.size)},this.draw=(function(b){var e;a.scaleColor||a.trackColor?d.getImageData&&d.putImageData?g?d.putImageData(g,0,0):(k(),g=d.getImageData(0,0,a.size*c,a.size*c)):(this.clear(),k()):this.clear(),d.lineCap=a.lineCap,h(e="function"==typeof a.barColor?a.barColor(b):a.barColor,a.lineWidth,b/100)}).bind(this),this.animate=(function(b,c){var e=Date.now();a.onStart(b,c);var d=(function(){var f=Math.min(Date.now()-e,a.animate.duration),g=a.easing(this,f,b,c-b,a.animate.duration);this.draw(g),a.onStep(b,c,g),f>=a.animate.duration?a.onStop(b,c):j(d)}).bind(this);j(d)}).bind(this)},c=function(d,e){var a={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,a,b,c,d){return 1>(a/=d/2)?c/2*a*a+b:-c/2*(--a*(a-2)-1)+b},onStart:function(a,b){},onStep:function(a,b,c){},onStop:function(a,b){}};if(void 0!==b)a.renderer=b;else{if("undefined"==typeof SVGRenderer)throw new Error("Please load either the SVG- or the CanvasRenderer");a.renderer=SVGRenderer}var f={},g=0,c=(function(){for(var b in this.el=d,this.options=f,a)a.hasOwnProperty(b)&&(f[b]=e&& void 0!==e[b]?e[b]:a[b],"function"==typeof f[b]&&(f[b]=f[b].bind(this)));"string"==typeof f.easing&&"undefined"!=typeof jQuery&&jQuery.isFunction(jQuery.easing[f.easing])?f.easing=jQuery.easing[f.easing]:f.easing=a.easing,"number"==typeof f.animate&&(f.animate={duration:f.animate,enabled:!0}),"boolean"!=typeof f.animate||f.animate||(f.animate={duration:1e3,enabled:f.animate}),this.renderer=new f.renderer(d,f),this.renderer.draw(g),d.dataset&&d.dataset.percent?this.update(parseFloat(d.dataset.percent)):d.getAttribute&&d.getAttribute("data-percent")&&this.update(parseFloat(d.getAttribute("data-percent")))}).bind(this);this.update=(function(a){return a=parseFloat(a),f.animate.enabled?this.renderer.animate(g,a):this.renderer.draw(a),g=a,this}).bind(this),this.disableAnimation=function(){return f.animate.enabled=!1,this},this.enableAnimation=function(){return f.animate.enabled=!0,this},c()};a.fn.easyPieChart=function(b){return this.each(function(){var d;a.data(this,"easyPieChart")||(d=a.extend({},b,a(this).data()),a.data(this,"easyPieChart",new c(this,d)))})}}),window.SEMICOLON_roundedSkillInit=function(a){if((a=a.filter(":not(.customjs)")).length<1)return!0;a.each(function(){let a=$(this),b=a.attr("data-size")||140,c=a.attr("data-speed")||2e3,d=a.attr("data-width")||4,e=a.attr("data-color")||"#0093BF",f=a.attr("data-trackcolor")||"rgba(0,0,0,0.04)",g={size:Number(b),speed:Number(c),width:Number(d),color:e,trackcolor:f};(a.css({width:b+"px",height:b+"px","line-height":b+"px"}),$("body").hasClass("device-xl")||$("body").hasClass("device-lg"))?(a.animate({opacity:0},10),new IntersectionObserver(function(b,c){b.forEach(function(b){b.isIntersecting&&(a.hasClass("skills-animated")||(setTimeout(function(){a.css({opacity:1})},100),SEMICOLON_runRoundedSkills(a,g),a.addClass("skills-animated")),c.unobserve(b.target))})},{rootMargin:"-50px"}).observe(a[0])):SEMICOLON_runRoundedSkills(a,g)})},window.SEMICOLON_runRoundedSkills=function(b,a){b.easyPieChart({size:a.size,animate:a.speed,scaleColor:!1,trackColor:a.trackcolor,lineWidth:a.width,lineCap:"square",barColor:a.color})},window.scwPricingSwitcherPlugin=window.scwPricingSwitcherPlugin||{},window.SEMICOLON_pricingSwitcherFn=function(e,a,b,c,d){a.find(".pts-left,.pts-right").removeClass(d).addClass(c),b.find(".pts-switch-content-left,.pts-switch-content-right").addClass("d-none"),e.filter(":checked").length>0?(a.find(".pts-right").removeClass(c).addClass(d),b.find(".pts-switch-content-right").removeClass("d-none")):(a.find(".pts-left").removeClass(c).addClass(d),b.find(".pts-switch-content-left").removeClass("d-none"))},window.SEMICOLON_pricingSwitcherInit=function(a){if((a=a.filter(":not(.customjs)")).length<1)return!0;a.each(function(){var a=$(this).find(":checkbox"),b=$(this).parents(".pricing-tenure-switcher"),c=$(this).attr("data-default-class")||"text-muted op-05",d=$(this).attr("data-active-class")||"fw-bold",e=$(b.attr("data-container"));SEMICOLON_pricingSwitcherFn(a,b,e,c,d),a.on("change",function(){SEMICOLON_pricingSwitcherFn(a,b,e,c,d)})})},window.scwProgressPlugin=window.scwProgressPlugin||{},window.SEMICOLON_progressInit=function(a){if((a=a.filter(":not(.customjs)")).length<1)return!0;a.each(function(){let a=$(this),b=a.parent("li"),c=b.attr("data-percent");if(a.parent(".kv-upload-progress").length>0||a.children(".progress-bar").length>0)return!0;new IntersectionObserver(function(d,e){d.forEach(function(d){d.isIntersecting&&(b.hasClass("skills-animated")||(SEMICOLON.widget.counter({el:a.find(".counter-instant")}),b.find(".progress").css({width:c+"%"}).addClass("skills-animated")),e.unobserve(d.target))})},{rootMargin:"-50px"}).observe(b[0])})},window.scwQuantityPlugin=window.scwQuantityPlugin||{},window.SEMICOLON_quantityInit=function(a){if((a=a.filter(":not(.customjs)")).length<1)return!0;$(".plus").off("click").on("click",function(){let a=$(this).parents(".quantity").find(".qty"),b=a.val(),c=a.attr("step")||1,d=a.attr("max"),e=/^\d+$/;if(d&&Number(b)>=Number(d))return!1;if(e.test(b)){let f=Number(b)+Number(c);a.val(f).change()}else a.val(Number(c)).change();return!1}),$(".minus").off("click").on("click",function(){let a=$(this).parents(".quantity").find(".qty"),c=a.val(),d=a.attr("step")||1,b=a.attr("min");if((!b||b<0)&&(b=1),/^\d+$/.test(c)){if(Number(c)>Number(b)){let e=Number(c)-Number(d);a.val(e).change()}}else a.val(Number(d)).change();return!1})},window.scwReadMorePlugin=window.scwReadMorePlugin||{},window.SEMICOLON_readmoreInit=function(a){if((a=a.filter(":not(.customjs)")).length<1)return!0;a.each(function(){let a=$(this),j=a.outerHeight(),f=a.attr("data-readmore-size")||"10rem",b=a.attr("data-readmore-speed")||500,c=a.attr("data-readmore-trigger")||".read-more-trigger",g=a.attr("data-readmore-trigger-open")||"Read More",k=a.attr("data-readmore-trigger-close")||"Read Less";(c=a.find(c)).html(g),b=Number(b),a.addClass("read-more-wrap").css({height:f,"-webkit-transition-duration":b+"ms","transition-duration":b+"ms"}).append('
    ');let d=a.find(".read-more-mask"),h=a.attr("data-readmore-mask")||"true",e=a.attr("data-readmore-maskcolor")||"#FFF",i=a.attr("data-readmore-masksize")||"100%";"true"==h?d.css({height:i,"background-image":"linear-gradient( "+SEMICOLON_HEXtoRGBA(e,0)+", "+SEMICOLON_HEXtoRGBA(e,1)+" )"}):d.addClass("d-none"),c.off("click").on("click",function(){if(a.hasClass("read-more-wrap-open"))a.css({height:f}).removeClass("read-more-wrap-open"),setTimeout(function(){c.html(g)},b),"true"==h&&d.fadeIn(b);else{"false"==k&&c.remove();let e=j+c.outerHeight();a.css({height:e,overflow:""}).addClass("read-more-wrap-open"),setTimeout(function(){c.html(k)},b),"true"==h&&d.fadeOut(b)}return!1})})},window.SEMICOLON_HEXtoRGBA=function(b,c){let a;if(/^#([A-Fa-f0-9]{3}){1,2}$/.test(b))return 3==(a=b.substring(1).split("")).length&&(a=[a[0],a[0],a[1],a[1],a[2],a[2]]),"rgba("+[(a="0x"+a.join(""))>>16&255,a>>8&255,255&a].join(",")+","+c+")";console.log("Bad Hex")},window.scwShapeDividerPlugin=window.scwShapeDividerPlugin||{},window.SEMICOLON_shapeDividerInit=function(a){if((a=a.filter(":not(.customjs)")).length<1)return!0;a.each(function(){let b=$(this),k=b.attr("data-shape")||"valley",d=b.attr("data-width")||100,e=b.attr("data-height")||100,l=b.attr("data-fill"),m=b.attr("data-outside")||"false",n=b.attr("data-position")||"top",c="shape-divider-"+Math.floor(1e4*Math.random()),a="",g,h,i,j="";d<100&&(d=100),g="width: calc( "+Number(d)+"% + 1.5px );",h="height: "+Number(e)+"px;",i="fill: "+l+";","true"==m&&(j="bottom"==n?"#"+c+".shape-divider { bottom: -"+(Number(e)-1)+"px; } ":"#"+c+".shape-divider { top: -"+(Number(e)-1)+"px; } ");let o=j+"#"+c+".shape-divider svg { "+g+h+" } #"+c+".shape-divider .shape-divider-fill { "+i+" }",p=document.head||document.getElementsByTagName("head")[0],f=document.createElement("style");switch(p.appendChild(f),f.type="text/css",f.appendChild(document.createTextNode(o)),b.attr("id",c),k){case"valley":a='';break;case"valley-2":a='';break;case"valley-3":a='';break;case"mountain":a='';break;case"mountain-2":a='';break;case"mountain-3":a='';break;case"mountain-4":a='';break;case"mountain-5":a='';break;case"mountains":a='';break;case"mountains-2":a='';break;case"mountains-3":a='';break;case"mountains-4":a='';break;case"plataeu":a='';break;case"plataeu-2":a='';break;case"hills":a='';break;case"hills-2":a='';break;case"hills-3":a='';break;case"hills-4":a='';break;case"cloud":a='';break;case"cloud-2":a='';break;case"cloud-3":a='';break;case"wave":a='';break;case"wave-2":a='';break;case"wave-3":a='';break;case"wave-4":a='';break;case"wave-5":a='';break;case"wave-6":a='';break;case"slant":a='';break;case"slant-2":a='';break;case"slant-3":a='';break;case"rounded":a='';break;case"rounded-2":a='';break;case"rounded-3":a='';break;case"rounded-4":a='';break;case"rounded-5":a='';break;case"triangle":a='';break;case"drops":a='';break;case"cliff":a='';break;case"zigzag":a='';break;case"illusion":a='';break;default:a=""}b.html(a),b.find("svg").addClass("op-ts"),setTimeout(function(){b.find("svg").addClass("op-1")},500)})},function(a){a.fn.scwStickySidebar=function(b){function c(b,c){var d,f,g,h;e(b,c)||(console.log("TSS: Body width smaller than options.minWidth. Init is delayed."),a(document).on("scroll."+b.namespace,(d=b,f=c,function(b){e(d,f)&&a(this).unbind(b)})),a(window).on("resize."+b.namespace,(g=b,h=c,function(b){e(g,h)&&a(this).unbind(b)})))}function e(b,c){return!0===b.initialized|| !(a("body").width().scwStickySidebar:after {content: ""; display: table; clear: both;}')),c.each(function(){function f(){c.fixedScrollTop=0,c.sidebar.css({"min-height":"1px"}),c.stickySidebar.css({position:"static",width:"",transform:"none"})}function k(b){var c=b.height();return b.children().each(function(){c=Math.max(c,a(this).height())}),c}var c={};if(c.sidebar=a(this),c.options=b||{},c.container=a(c.options.containerSelector),0==c.container.length&&(c.container=c.sidebar.parent()),c.sidebar.parents().css("-webkit-transform","none"),c.sidebar.css({position:c.options.defaultPosition,overflow:"visible","-webkit-box-sizing":"border-box","-moz-box-sizing":"border-box","box-sizing":"border-box"}),c.stickySidebar=c.sidebar.find(".scwStickySidebar"),0==c.stickySidebar.length){var l=/(?:text|application)\/(?:x-)?(?:javascript|ecmascript)/i;c.sidebar.find("script").filter(function(b,a){return 0===a.type.length||a.type.match(l)}).remove(),c.stickySidebar=a("
    ").addClass("scwStickySidebar").append(c.sidebar.children()),c.sidebar.append(c.stickySidebar)}c.marginBottom=parseInt(c.sidebar.css("margin-bottom")),c.paddingTop=parseInt(c.sidebar.css("padding-top")),c.paddingBottom=parseInt(c.sidebar.css("padding-bottom"));var h,i,j,d=c.stickySidebar.offset().top,e=c.stickySidebar.outerHeight();c.stickySidebar.css("padding-top",1),c.stickySidebar.css("padding-bottom",1),d-=c.stickySidebar.offset().top,e=c.stickySidebar.outerHeight()-e-d,0==d?(c.stickySidebar.css("padding-top",0),c.stickySidebarPaddingTop=0):c.stickySidebarPaddingTop=1,0==e?(c.stickySidebar.css("padding-bottom",0),c.stickySidebarPaddingBottom=0):c.stickySidebarPaddingBottom=1,c.previousScrollTop=null,c.fixedScrollTop=0,f(),c.onScroll=function(c){if(c.stickySidebar.is(":visible")){if(a("body").width()c.container.width())return void f();var e=a(document).scrollTop(),i="static";if(e>=c.sidebar.offset().top+(c.paddingTop-c.options.additionalMarginTop)){var j,o=c.paddingTop+b.additionalMarginTop,p=c.paddingBottom+c.marginBottom+b.additionalMarginBottom,q=c.sidebar.offset().top,r=c.sidebar.offset().top+k(c.container),l=0+b.additionalMarginTop,s=c.stickySidebar.outerHeight()+o+p0?Math.min(d,l):Math.max(d,j-c.stickySidebar.outerHeight()),d=Math.max(d,t),d=Math.min(d,u-c.stickySidebar.outerHeight());var n=c.container.height()==c.stickySidebar.outerHeight();i=(n||d!=l)&&(n||d!=j-c.stickySidebar.outerHeight())?e+d-c.sidebar.offset().top-c.paddingTop<=b.additionalMarginTop?"static":"absolute":"fixed"}if("fixed"==i){var v=a(document).scrollLeft();c.stickySidebar.css({position:"fixed",width:g(c.stickySidebar)+"px",transform:"translateY("+d+"px)",left:c.sidebar.offset().left+parseInt(c.sidebar.css("padding-left"))-v+"px",top:"0px"})}else if("absolute"==i){var h={};"absolute"!=c.stickySidebar.css("position")&&(h.position="absolute",h.transform="translateY("+(e+d-c.sidebar.offset().top-c.stickySidebarPaddingTop-c.stickySidebarPaddingBottom)+"px)",h.top="0px"),h.width=g(c.stickySidebar)+"px",h.left="",c.stickySidebar.css(h)}else"static"==i&&f();"static"!=i&&1==c.options.updateSidebarHeight&&c.sidebar.css({"min-height":c.stickySidebar.outerHeight()+c.stickySidebar.offset().top-c.sidebar.offset().top+c.paddingBottom}),c.previousScrollTop=e}},c.onScroll(c),a(document).on("scroll."+c.options.namespace,(h=c,function(){h.onScroll(h)})),a(window).on("resize."+c.options.namespace,(i=c,function(){i.stickySidebar.css({position:"static"}),i.onScroll(i)})),"undefined"!=typeof ResizeSensor&&new ResizeSensor(c.stickySidebar[0],(j=c,function(){j.onScroll(j)}))})}function g(b){var a;try{a=b[0].getBoundingClientRect().width}catch(c){}return void 0===a&&(a=b.width()),a}var d={containerSelector:"",additionalMarginTop:0,additionalMarginBottom:0,updateSidebarHeight:!0,minWidth:0,disableOnResponsiveLayouts:!0,sidebarBehavior:"modern",defaultPosition:"relative",namespace:"TSS"};return(b=a.extend(d,b)).additionalMarginTop=parseInt(b.additionalMarginTop)||0,b.additionalMarginBottom=parseInt(b.additionalMarginBottom)||0,c(b,this),this}}(jQuery),function(){var a=function(b,e){function i(){var a,b;this.q=[],this.add=function(a){this.q.push(a)},this.call=function(){for(a=0,b=this.q.length;a
    ',a.appendChild(a.resizeSensor),({fixed:1,absolute:1})[j(a,"position")]||(a.style.position="relative");var l,m,e=a.resizeSensor.childNodes[0],n=e.childNodes[0],f=a.resizeSensor.childNodes[1],k=(f.childNodes[0],function(){n.style.width=e.offsetWidth+10+"px",n.style.height=e.offsetHeight+10+"px",e.scrollLeft=e.scrollWidth,e.scrollTop=e.scrollHeight,f.scrollLeft=f.scrollWidth,f.scrollTop=f.scrollHeight,l=a.offsetWidth,m=a.offsetHeight});k();var o=function(){a.resizedAttached&&a.resizedAttached.call()},g=function(a,b,c){a.attachEvent?a.attachEvent("on"+b,c):a.addEventListener(b,c)},h=function(){a.offsetWidth==l&&a.offsetHeight==m||o(),k()};g(e,"scroll",h),g(f,"scroll",h)}var c=Object.prototype.toString.call(b),g="[object Array]"===c||"[object NodeList]"===c||"[object HTMLCollection]"===c||"undefined"!=typeof jQuery&&b instanceof jQuery||"undefined"!=typeof Elements&&b instanceof Elements;if(g)for(var d=0,h=b.length;d')):$(a).find(".icon-email2").removeClass("icon-email2").addClass("icon-line-loader icon-spin"),$(a).ajaxSubmit({target:d,dataType:"json",resetForm:!0,success:function(i){if("button"==c?f.html(g):$(a).find(".icon-line-loader").removeClass("icon-line-loader icon-spin").addClass("icon-email2"),"error"!=i.alert&&e)return window.location.replace(e),!0;"inline"==b?(h="error"==i.alert?"alert-danger":"alert-success",d.addClass("alert "+h).html(i.message).slideDown(400)):(d.attr("data-notify-type",i.alert).attr("data-notify-msg",i.message).html(""),SEMICOLON.widget.notifications({el:d}))}})}})})},function(b,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a():"function"==typeof define&&define.amd?define(a):(b="undefined"!=typeof globalThis?globalThis:b||self).Swiper=a()}(this,function(){"use strict";function m(a){return null!==a&&"object"==typeof a&&"constructor"in a&&a.constructor===Object}function n(b,a){void 0===b&&(b={}),void 0===a&&(a={}),Object.keys(a).forEach(c=>{void 0===b[c]?b[c]=a[c]:m(a[c])&&m(b[c])&&Object.keys(a[c]).length>0&&n(b[c],a[c])})}let b={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function o(){let a="undefined"!=typeof document?document:{};return n(a,b),a}let p={document:b,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:a=>"undefined"==typeof setTimeout?(a(),null):setTimeout(a,0),cancelAnimationFrame(a){"undefined"!=typeof setTimeout&&clearTimeout(a)}};function q(){let a="undefined"!=typeof window?window:{};return n(a,p),a}class c extends Array{constructor(a){"number"==typeof a?super(a):(super(...a||[]),function(a){let b=a.__proto__;Object.defineProperty(a,"__proto__",{get:()=>b,set(a){b.__proto__=a}})}(this))}}function r(a){void 0===a&&(a=[]);let b=[];return a.forEach(a=>{Array.isArray(a)?b.push(...r(a)):b.push(a)}),b}function s(a,b){return Array.prototype.filter.call(a,b)}function d(a,i){let j=q(),f=o(),d=[];if(!i&&a instanceof c)return a;if(!a)return new c(d);if("string"==typeof a){let b=a.trim();if(b.indexOf("<")>=0&&b.indexOf(">")>=0){let e="div";0===b.indexOf("a.split(" ")));return this.forEach(a=>{a.classList.add(...d)}),this},removeClass:function(){for(var b=arguments.length,c=new Array(b),a=0;aa.split(" ")));return this.forEach(a=>{a.classList.remove(...d)}),this},hasClass:function(){for(var b=arguments.length,c=new Array(b),a=0;aa.split(" ")));return s(this,a=>d.filter(b=>a.classList.contains(b)).length>0).length>0},toggleClass:function(){for(var b=arguments.length,c=new Array(b),a=0;aa.split(" ")));this.forEach(a=>{d.forEach(b=>{a.classList.toggle(b)})})},attr:function(a,d){if(1===arguments.length&&"string"==typeof a)return this[0]?this[0].getAttribute(a):void 0;for(let b=0;bc.indexOf(a)&&c.unshift(a),d(b).is(n))j.apply(b,c);else{let f=d(b).parents();for(let e=0;eb.indexOf(a)&&b.unshift(a),j.apply(this,b)}"function"==typeof e[1]&&([m,j,c]=e,n=void 0),c||(c=!1);let g=m.split(" "),b;for(let k=0;k=0;f-=1){let d=a[f];b&&d.listener===b||b&&d.listener&&d.listener.dom7proxy&&d.listener.dom7proxy===b?(c.removeEventListener(i,d.proxyListener,e),a.splice(f,1)):b||(c.removeEventListener(i,d.proxyListener,e),a.splice(f,1))}}}return this},trigger:function(){let f=q();for(var g=arguments.length,a=new Array(g),b=0;ba>0),c.dispatchEvent(k),c.dom7EventData=[],delete c.dom7EventData}}}return this},transitionEnd:function(a){let b=this;return a&&b.on("transitionend",function d(c){c.target===this&&(a.call(this,c),b.off("transitionend",d))}),this},outerWidth:function(b){if(this.length>0){if(b){let a=this.styles();return this[0].offsetWidth+parseFloat(a.getPropertyValue("margin-right"))+parseFloat(a.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(b){if(this.length>0){if(b){let a=this.styles();return this[0].offsetHeight+parseFloat(a.getPropertyValue("margin-top"))+parseFloat(a.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){let a=q();return this[0]?a.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){let b=q(),e=o(),a=this[0],c=a.getBoundingClientRect(),d=e.body,f=a.clientTop||d.clientTop||0,g=a.clientLeft||d.clientLeft||0,h=a===b?b.scrollY:a.scrollTop,i=a===b?b.scrollX:a.scrollLeft;return{top:c.top+h-f,left:c.left+i-g}}return null},css:function(b,d){let e=q(),a;if(1===arguments.length){if("string"!=typeof b){for(a=0;a{a.apply(b,[b,c])}),this},html:function(b){if(void 0===b)return this[0]?this[0].innerHTML:null;for(let a=0;ab-1)return d([]);if(a<0){let c=b+a;return d(c<0?[]:[this[c]])}return d([this[a]])},append:function(){let a,g=o();for(let b=0;b=0;b-=1)this[a].insertBefore(e.childNodes[b],this[a].childNodes[0])}else if(d instanceof c)for(b=0;b0?a?this[0].nextElementSibling&&d(this[0].nextElementSibling).is(a)?d([this[0].nextElementSibling]):d([]):this[0].nextElementSibling?d([this[0].nextElementSibling]):d([]):d([])},nextAll:function(e){let c=[],a=this[0];if(!a)return d([]);for(;a.nextElementSibling;){let b=a.nextElementSibling;e?d(b).is(e)&&c.push(b):c.push(b),a=b}return d(c)},prev:function(b){if(this.length>0){let a=this[0];return b?a.previousElementSibling&&d(a.previousElementSibling).is(b)?d([a.previousElementSibling]):d([]):a.previousElementSibling?d([a.previousElementSibling]):d([])}return d([])},prevAll:function(e){let c=[],a=this[0];if(!a)return d([]);for(;a.previousElementSibling;){let b=a.previousElementSibling;e?d(b).is(e)&&c.push(b):c.push(b),a=b}return d(c)},parent:function(c){let b=[];for(let a=0;a6&&(a=a.split(", ").map(a=>a.replace(",",".")).join(", ")),f=new e.WebKitCSSMatrix("none"===a?"":a)):c=(f=b.MozTransform||b.OTransform||b.MsTransform||b.msTransform||b.transform||b.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===d&&(a=e.WebKitCSSMatrix?f.m41:16===c.length?parseFloat(c[12]):parseFloat(c[4])),"y"===d&&(a=e.WebKitCSSMatrix?f.m42:16===c.length?parseFloat(c[13]):parseFloat(c[5])),a||0}function w(a){return"object"==typeof a&&null!==a&&a.constructor&&"Object"===Object.prototype.toString.call(a).slice(8,-1)}function x(a){return"undefined"!=typeof window&& void 0!==window.HTMLElement?a instanceof HTMLElement:a&&(1===a.nodeType||11===a.nodeType)}function y(){let c=Object(arguments.length<=0?void 0:arguments[0]),i=["__proto__","constructor","prototype"];for(let d=1;d0>i.indexOf(a));for(let e=0,h=f.length;ee?"next":"prev",l=(a,b)=>"next"===k&&a>=b||"prev"===k&&a<=b,f=()=>{h=(new Date).getTime(),null===i&&(i=h);let k=Math.max(Math.min((h-i)/j,1),0),m=.5-Math.cos(k*Math.PI)/2,b=e+m*(c-e);if(l(b,c)&&(b=c),a.wrapperEl.scrollTo({[g]:b}),l(b,c))return a.wrapperEl.style.overflow="hidden",a.wrapperEl.style.scrollSnapType="",setTimeout(()=>{a.wrapperEl.style.overflow="",a.wrapperEl.scrollTo({[g]:b})}),void d.cancelAnimationFrame(a.cssModeFrameID);a.cssModeFrameID=d.requestAnimationFrame(f)};f()}let B,C,D;function E(){return B||(B=function(){let a=q(),b=o();return{smoothScroll:b.documentElement&&"scrollBehavior"in b.documentElement.style,touch:!!("ontouchstart"in a||a.DocumentTouch&&b instanceof a.DocumentTouch),passiveListener:function(){let b=!1;try{let c=Object.defineProperty({},"passive",{get(){b=!0}});a.addEventListener("testPassiveListener",null,c)}catch(d){}return b}(),gestures:"ongesturestart"in a}}()),B}function F(a){return void 0===a&&(a={}),C||(C=function(e){let{userAgent:h}=void 0===e?{}:e,i=E(),d=q(),f=d.navigator.platform,a=h||d.navigator.userAgent,b={ios:!1,android:!1},j=d.screen.width,k=d.screen.height,l=a.match(/(Android);?[\s\/]+([\d.]+)?/),c=a.match(/(iPad).*OS\s([\d_]+)/),m=a.match(/(iPod)(.*OS\s([\d_]+))?/),n=!c&&a.match(/(iPhone\sOS|iOS)\s([\d_]+)/),o="Win32"===f,g="MacIntel"===f;return!c&&g&&i.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${j}x${k}`)>=0&&((c=a.match(/(Version)\/([\d.]+)/))||(c=[0,1,"13_0_0"]),g=!1),l&&!o&&(b.os="android",b.android=!0),(c||n||m)&&(b.os="ios",b.ios=!0),b}(a)),C}function G(){return D||(D=function(){let a=q();return{isSafari:function(){let b=a.navigator.userAgent.toLowerCase();return b.indexOf("safari")>=0&&0>b.indexOf("chrome")&&0>b.indexOf("android")}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(a.navigator.userAgent)}}()),D}Object.keys(e).forEach(a=>{Object.defineProperty(d.fn,a,{value:e[a],writable:!0})});var $={on(b,c,d){let a=this;if(!a.eventsListeners||a.destroyed||"function"!=typeof c)return a;let e=d?"unshift":"push";return b.split(" ").forEach(b=>{a.eventsListeners[b]||(a.eventsListeners[b]=[]),a.eventsListeners[b][e](c)}),a},once(d,b,e){let a=this;if(!a.eventsListeners||a.destroyed||"function"!=typeof b)return a;function c(){a.off(d,c),c.__emitterProxy&&delete c.__emitterProxy;for(var f=arguments.length,g=new Array(f),e=0;ea.eventsAnyListeners.indexOf(b)&&a.eventsAnyListeners[d](b),a},offAny(c){let a=this;if(!a.eventsListeners||a.destroyed||!a.eventsAnyListeners)return a;let b=a.eventsAnyListeners.indexOf(c);return b>=0&&a.eventsAnyListeners.splice(b,1),a},off(b,c){let a=this;return!a.eventsListeners||a.destroyed||a.eventsListeners&&b.split(" ").forEach(b=>{void 0===c?a.eventsListeners[b]=[]:a.eventsListeners[b]&&a.eventsListeners[b].forEach((d,e)=>{(d===c||d.__emitterProxy&&d.__emitterProxy===c)&&a.eventsListeners[b].splice(e,1)})}),a},emit(){let b=this;if(!b.eventsListeners||b.destroyed||!b.eventsListeners)return b;let c,e,f;for(var g=arguments.length,a=new Array(g),d=0;d{b.eventsAnyListeners&&b.eventsAnyListeners.length&&b.eventsAnyListeners.forEach(b=>{b.apply(f,[a,...e])}),b.eventsListeners&&b.eventsListeners[a]&&b.eventsListeners[a].forEach(a=>{a.apply(f,e)})}),b}},f={updateSize:function(){let a=this,b,c,d=a.$el;b=void 0!==a.params.width&&null!==a.params.width?a.params.width:d[0].clientWidth,c=void 0!==a.params.height&&null!==a.params.height?a.params.height:d[0].clientHeight,0===b&&a.isHorizontal()||0===c&&a.isVertical()||(b=b-parseInt(d.css("padding-left")||0,10)-parseInt(d.css("padding-right")||0,10),c=c-parseInt(d.css("padding-top")||0,10)-parseInt(d.css("padding-bottom")||0,10),Number.isNaN(b)&&(b=0),Number.isNaN(c)&&(c=0),Object.assign(a,{width:b,height:c,size:a.isHorizontal()?b:c}))},updateSlides:function(){let a=this;function j(b){return a.isHorizontal()?b:({width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"})[b]}function m(a,b){return parseFloat(a.getPropertyValue(j(b))||0)}let b=a.params,{$wrapperEl:r,size:e,rtlTranslate:s,wrongRTL:L}=a,t=a.virtual&&b.virtual.enabled,M=t?a.virtual.slides.length:a.slides.length,h=r.children(`.${a.params.slideClass}`),n=t?a.virtual.slides.length:h.length,c=[],o=[],k=[],u=b.slidesOffsetBefore;"function"==typeof u&&(u=b.slidesOffsetBefore.call(a));let v=b.slidesOffsetAfter;"function"==typeof v&&(v=b.slidesOffsetAfter.call(a));let N=a.snapGrid.length,O=a.slidesGrid.length,f=b.spaceBetween,d=-u,w=0,p=0;if(void 0===e)return;"string"==typeof f&&f.indexOf("%")>=0&&(f=parseFloat(f.replace("%",""))/100*e),a.virtualSize=-f,s?h.css({marginLeft:"",marginBottom:"",marginTop:""}):h.css({marginRight:"",marginBottom:"",marginTop:""}),b.centeredSlides&&b.cssMode&&(z(a.wrapperEl,"--swiper-centered-offset-before",""),z(a.wrapperEl,"--swiper-centered-offset-after",""));let x=b.grid&&b.grid.rows>1&&a.grid,$;x&&a.grid.initSlides(n);let P="auto"===b.slidesPerView&&b.breakpoints&&Object.keys(b.breakpoints).filter(a=>void 0!==b.breakpoints[a].slidesPerView).length>0;for(let i=0;iMath.abs(d)&&(d=0),b.roundLengths&&(d=Math.floor(d)),p%b.slidesPerGroup==0&&c.push(d),o.push(d)):(b.roundLengths&&(d=Math.floor(d)),(p-Math.min(a.params.slidesPerGroupSkip,p))%a.params.slidesPerGroup==0&&c.push(d),o.push(d),d=d+$+f),a.virtualSize+=$+f,w=$,p+=1}}if(a.virtualSize=Math.max(a.virtualSize,e)+v,s&&L&&("slide"===b.effect||"coverflow"===b.effect)&&r.css({width:`${a.virtualSize+b.spaceBetween}px`}),b.setWrapperSize&&r.css({[j("width")]:`${a.virtualSize+b.spaceBetween}px`}),x&&a.grid.updateWrapperSize($,c,j),!b.centeredSlides){let H=[];for(let q=0;q1&&c.push(a.virtualSize-e)}if(0===c.length&&(c=[0]),0!==b.spaceBetween){let U=a.isHorizontal()&&s?"marginLeft":j("marginRight");h.filter((c,a)=>!b.cssMode||a!==h.length-1).css({[U]:`${f}px`})}if(b.centeredSlides&&b.centeredSlidesBounds){let I=0;k.forEach(a=>{I+=a+(b.spaceBetween?b.spaceBetween:0)}),I-=b.spaceBetween;let V=I-e;c=c.map(a=>a<0?-u:a>V?V+v:a)}if(b.centerInsufficientSlides){let J=0;if(k.forEach(a=>{J+=a+(b.spaceBetween?b.spaceBetween:0)}),(J-=b.spaceBetween){c[b]=a-W}),o.forEach((a,b)=>{o[b]=a+W})}}if(Object.assign(a,{slides:h,snapGrid:c,slidesGrid:o,slidesSizesGrid:k}),b.centeredSlides&&b.cssMode&&!b.centeredSlidesBounds){z(a.wrapperEl,"--swiper-centered-offset-before",-c[0]+"px"),z(a.wrapperEl,"--swiper-centered-offset-after",a.size/2-k[k.length-1]/2+"px");let X=-a.snapGrid[0],Y=-a.slidesGrid[0];a.snapGrid=a.snapGrid.map(a=>a+X),a.slidesGrid=a.slidesGrid.map(a=>a+Y)}if(n!==M&&a.emit("slidesLengthChange"),c.length!==N&&(a.params.watchOverflow&&a.checkOverflow(),a.emit("snapGridLengthChange")),o.length!==O&&a.emit("slidesGridLengthChange"),b.watchSlidesProgress&&a.updateSlidesOffset(),!(t||b.cssMode||"slide"!==b.effect&&"fade"!==b.effect)){let C=`${b.containerModifierClass}backface-hidden`,K=a.$el.hasClass(C);n<=b.maxBackfaceHiddenSlides?K||a.$el.addClass(C):K&&a.$el.removeClass(C)}},updateAutoHeight:function(f){let a=this,e=[],j=a.virtual&&a.params.virtual.enabled,b,c=0;"number"==typeof f?a.setTransition(f):!0===f&&a.setTransition(a.params.speed);let g=b=>j?a.slides.filter(a=>parseInt(a.getAttribute("data-swiper-slide-index"),10)===b)[0]:a.slides.eq(b)[0];if("auto"!==a.params.slidesPerView&&a.params.slidesPerView>1){if(a.params.centeredSlides)(a.visibleSlides||d([])).each(a=>{e.push(a)});else for(b=0;ba.slides.length&&!j)break;e.push(g(h))}}else e.push(g(a.activeIndex));for(b=0;bc?i:c}(c||0===c)&&a.$wrapperEl.css("height",`${c}px`)},updateSlidesOffset:function(){let c=this,b=c.slides;for(let a=0;a=0&&j1&&l<=a.size||j<=0&&l>=a.size)&&(a.visibleSlides.push(f),a.visibleSlidesIndexes.push(e),c.eq(e).addClass(b.slideVisibleClass)),f.progress=k?-m:m,f.originalProgress=k?-n:n}a.visibleSlides=d(a.visibleSlides)},updateProgress:function(e){let a=this;if(void 0===e){let j=a.rtlTranslate?-1:1;e=a&&a.translate&&a.translate*j||0}let f=a.params,g=a.maxTranslate()-a.minTranslate(),{progress:d,isBeginning:b,isEnd:c}=a,h=b,i=c;0===g?(d=0,b=!0,c=!0):(b=(d=(e-a.minTranslate())/g)<=0,c=d>=1),Object.assign(a,{progress:d,isBeginning:b,isEnd:c}),(f.watchSlidesProgress||f.centeredSlides&&f.autoHeight)&&a.updateSlidesProgress(e),b&&!h&&a.emit("reachBeginning toEdge"),c&&!i&&a.emit("reachEnd toEdge"),(h&&!b||i&&!c)&&a.emit("fromEdge"),a.emit("progress",d)},updateSlidesClasses:function(){let e=this,{slides:f,params:a,$wrapperEl:b,activeIndex:h,realIndex:i}=e,j=e.virtual&&a.virtual.enabled,g;f.removeClass(`${a.slideActiveClass} ${a.slideNextClass} ${a.slidePrevClass} ${a.slideDuplicateActiveClass} ${a.slideDuplicateNextClass} ${a.slideDuplicatePrevClass}`),(g=j?e.$wrapperEl.find(`.${a.slideClass}[data-swiper-slide-index="${h}"]`):f.eq(h)).addClass(a.slideActiveClass),a.loop&&(g.hasClass(a.slideDuplicateClass)?b.children(`.${a.slideClass}:not(.${a.slideDuplicateClass})[data-swiper-slide-index="${i}"]`).addClass(a.slideDuplicateActiveClass):b.children(`.${a.slideClass}.${a.slideDuplicateClass}[data-swiper-slide-index="${i}"]`).addClass(a.slideDuplicateActiveClass));let c=g.nextAll(`.${a.slideClass}`).eq(0).addClass(a.slideNextClass);a.loop&&0===c.length&&(c=f.eq(0)).addClass(a.slideNextClass);let d=g.prevAll(`.${a.slideClass}`).eq(0).addClass(a.slidePrevClass);a.loop&&0===d.length&&(d=f.eq(-1)).addClass(a.slidePrevClass),a.loop&&(c.hasClass(a.slideDuplicateClass)?b.children(`.${a.slideClass}:not(.${a.slideDuplicateClass})[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(a.slideDuplicateNextClass):b.children(`.${a.slideClass}.${a.slideDuplicateClass}[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(a.slideDuplicateNextClass),d.hasClass(a.slideDuplicateClass)?b.children(`.${a.slideClass}:not(.${a.slideDuplicateClass})[data-swiper-slide-index="${d.attr("data-swiper-slide-index")}"]`).addClass(a.slideDuplicatePrevClass):b.children(`.${a.slideClass}.${a.slideDuplicateClass}[data-swiper-slide-index="${d.attr("data-swiper-slide-index")}"]`).addClass(a.slideDuplicatePrevClass)),e.emitSlidesClasses()},updateActiveIndex:function(l){let a=this,e=a.rtlTranslate?a.translate:-a.translate,{slidesGrid:d,snapGrid:g,params:h,activeIndex:i,realIndex:m,snapIndex:n}=a,f,b=l;if(void 0===b){for(let c=0;c=d[c]&&e=d[c]&&e=d[c]&&(b=c);h.normalizeSlideIndex&&(b<0|| void 0===b)&&(b=0)}if(g.indexOf(e)>=0)f=g.indexOf(e);else{let j=Math.min(h.slidesPerGroupSkip,b);f=j+Math.floor((b-j)/h.slidesPerGroup)}if(f>=g.length&&(f=g.length-1),b===i)return void(f!==n&&(a.snapIndex=f,a.emit("snapIndexChange")));let k=parseInt(a.slides.eq(b).attr("data-swiper-slide-index")||b,10);Object.assign(a,{snapIndex:f,realIndex:k,previousIndex:i,activeIndex:b}),a.emit("activeIndexChange"),a.emit("snapIndexChange"),m!==k&&a.emit("realIndexChange"),(a.initialized||a.params.runCallbacksOnInit)&&a.emit("slideChange")},updateClickedSlide:function(h){let a=this,e=a.params,b=d(h).closest(`.${e.slideClass}`)[0],f,g=!1;if(b){for(let c=0;ck?k:f&&de?"next":d=n.length&&(p=n.length-1),(j||h.initialSlide||0)===(z||0)&&f&&a.emit("beforeSlideChangeStart");let c=-n[p];if(a.updateProgress(c),h.normalizeSlideIndex)for(let e=0;e=m&&k=m&&k=m&&(b=e)}if(a.initialized&&b!==j&&(!a.allowSlideNext&&ca.translate&&c>a.maxTranslate()&&(j||0)!==b))return!1;let i;if(i=b>j?"next":b{a.wrapperEl.style.scrollSnapType="",a._swiperImmediateVirtual=!1})}else{if(!a.support.smoothScroll)return A({swiper:a,targetPosition:s,side:r?"left":"top"}),!0;v.scrollTo({[r?"left":"top"]:s,behavior:"smooth"})}return!0}return a.setTransition(g),a.setTranslate(c),a.updateActiveIndex(b),a.updateSlidesClasses(),a.emit("beforeTransitionStart",g,t),a.transitionStart(f,i),0===g?a.transitionEnd(f,i):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(b){a&&!a.destroyed&&b.target===this&&(a.$wrapperEl[0].removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].removeEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(f,i))}),a.$wrapperEl[0].addEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].addEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(a,b,c,g){if(void 0===a&&(a=0),void 0===b&&(b=this.params.speed),void 0===c&&(c=!0),"string"==typeof a){let e=parseInt(a,10);if(!isFinite(e))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${a}] given.`);a=e}let d=this,f=a;return d.params.loop&&(f+=d.loopedSlides),d.slideTo(f,b,c,g)},slideNext:function(c,d,e){void 0===c&&(c=this.params.speed),void 0===d&&(d=!0);let a=this,{animating:g,enabled:h,params:b}=a;if(!h)return a;let f=b.slidesPerGroup;"auto"===b.slidesPerView&&1===b.slidesPerGroup&&b.slidesPerGroupAuto&&(f=Math.max(a.slidesPerViewDynamic("current",!0),1));let i=a.activeIndexn(a)),g=f[p.indexOf(o)-1];if(void 0===g&&b.cssMode){let h;f.forEach((a,b)=>{o>=a&&(h=b)}),void 0!==h&&(g=f[h>0?h-1:h])}let c=0;if(void 0!==g&&((c=k.indexOf(g))<0&&(c=a.activeIndex-1),"auto"===b.slidesPerView&&1===b.slidesPerGroup&&b.slidesPerGroupAuto&&(c=Math.max(c=c-a.slidesPerViewDynamic("previous",!0)+1,0))),b.rewind&&a.isBeginning){let q=a.params.virtual&&a.params.virtual.enabled&&a.virtual?a.virtual.slides.length-1:a.slides.length-1;return a.slideTo(q,d,e,i)}return a.slideTo(c,d,e,i)},slideReset:function(a,b,c){return void 0===a&&(a=this.params.speed),void 0===b&&(b=!0),this.slideTo(this.activeIndex,a,b,c)},slideToClosest:function(e,f,k,d){void 0===e&&(e=this.params.speed),void 0===f&&(f=!0),void 0===d&&(d=.5);let a=this,b=a.activeIndex,h=Math.min(a.params.slidesPerGroupSkip,b),c=h+Math.floor((b-h)/a.params.slidesPerGroup),g=a.rtlTranslate?a.translate:-a.translate;if(g>=a.snapGrid[c]){let i=a.snapGrid[c];g-i>(a.snapGrid[c+1]-i)*d&&(b+=a.params.slidesPerGroup)}else{let j=a.snapGrid[c-1];g-j<=(a.snapGrid[c]-j)*d&&(b-=a.params.slidesPerGroup)}return b=Math.max(b,0),b=Math.min(b,a.slidesGrid.length-1),a.slideTo(b,e,f,k)},slideToClickedSlide:function(){let a=this,{params:b,$wrapperEl:g}=a,e="auto"===b.slidesPerView?a.slidesPerViewDynamic():b.slidesPerView,f,c=a.clickedIndex;if(b.loop){if(a.animating)return;f=parseInt(d(a.clickedSlide).attr("data-swiper-slide-index"),10),b.centeredSlides?ca.slides.length-a.loopedSlides+e/2?(a.loopFix(),c=g.children(`.${b.slideClass}[data-swiper-slide-index="${f}"]:not(.${b.slideDuplicateClass})`).eq(0).index(),t(()=>{a.slideTo(c)})):a.slideTo(c):c>a.slides.length-e?(a.loopFix(),c=g.children(`.${b.slideClass}[data-swiper-slide-index="${f}"]:not(.${b.slideDuplicateClass})`).eq(0).index(),t(()=>{a.slideTo(c)})):a.slideTo(c)}else a.slideTo(c)}},i={loopCreate:function(){let e=this,m=o(),{params:a,$wrapperEl:f}=e,b=f.children().length>0?d(f.children()[0].parentNode):f;b.children(`.${a.slideClass}.${a.slideDuplicateClass}`).remove();let c=b.children(`.${a.slideClass}`);if(a.loopFillGroupWithBlank){let i=a.slidesPerGroup-c.length%a.slidesPerGroup;if(i!==a.slidesPerGroup){for(let j=0;jc.length&&(e.loopedSlides=c.length);let k=[],l=[];c.each((b,a)=>{let f=d(b);a=c.length-e.loopedSlides&&k.push(b),f.attr("data-swiper-slide-index",a)});for(let g=0;g=0;h-=1)b.prepend(d(k[h].cloneNode(!0)).addClass(a.slideDuplicateClass))},loopFix:function(){let a=this;a.emit("beforeLoopFix");let{activeIndex:d,slides:f,loopedSlides:b,allowSlidePrev:h,allowSlideNext:i,snapGrid:j,rtlTranslate:g}=a,c;a.allowSlidePrev=!0,a.allowSlideNext=!0;let e=-j[d]-a.getTranslate();d=f.length-b&&(c=-f.length+d+b,c+=b,a.slideTo(c,0,!1,!0)&&0!==e&&a.setTranslate((g?-a.translate:a.translate)-e)),a.allowSlidePrev=h,a.allowSlideNext=i,a.emit("loopFix")},loopDestroy:function(){let{$wrapperEl:b,params:a,slides:c}=this;b.children(`.${a.slideClass}.${a.slideDuplicateClass},.${a.slideClass}.${a.slideBlankClass}`).remove(),c.removeAttr("data-swiper-slide-index")}};function I(h){let c=this,i=o(),p=q(),e=c.touchEventsData,{params:b,touches:g,enabled:r}=c;if(!r||c.animating&&b.preventInteractionOnTransition)return;!c.animating&&b.cssMode&&b.loop&&c.loopFix();let a=h;a.originalEvent&&(a=a.originalEvent);let f=d(a.target);if("wrapper"===b.touchEventsTarget&&!f.closest(c.wrapperEl).length||(e.isTouchEvent="touchstart"===a.type,!e.isTouchEvent&&"which"in a&&3===a.which)|| !e.isTouchEvent&&"button"in a&&a.button>0||e.isTouched&&e.isMoved)return;b.noSwipingClass&&""!==b.noSwipingClass&&a.target&&a.target.shadowRoot&&h.path&&h.path[0]&&(f=d(h.path[0]));let k=b.noSwipingSelector?b.noSwipingSelector:`.${b.noSwipingClass}`,s=!(!a.target||!a.target.shadowRoot);if(b.noSwiping&&(s?function(b,a){return void 0===a&&(a=this),function d(a){if(!a||a===o()||a===q())return null;a.assignedSlot&&(a=a.assignedSlot);let c=a.closest(b);return c||a.getRootNode?c||d(a.getRootNode().host):null}(a)}(k,f[0]):f.closest(k)[0]))return void(c.allowClick=!0);if(b.swipeHandler&&!f.closest(b.swipeHandler)[0])return;g.currentX="touchstart"===a.type?a.targetTouches[0].pageX:a.pageX,g.currentY="touchstart"===a.type?a.targetTouches[0].pageY:a.pageY;let j=g.currentX,t=g.currentY,l=b.edgeSwipeDetection||b.iOSEdgeSwipeDetection,m=b.edgeSwipeThreshold||b.iOSEdgeSwipeThreshold;if(l&&(j<=m||j>=p.innerWidth-m)){if("prevent"!==l)return;h.preventDefault()}if(Object.assign(e,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),g.startX=j,g.startY=t,e.touchStartTime=u(),c.allowClick=!0,c.updateSize(),c.swipeDirection=void 0,b.threshold>0&&(e.allowThresholdMove=!1),"touchstart"!==a.type){let n=!0;f.is(e.focusableElements)&&(n=!1,"SELECT"===f[0].nodeName&&(e.isTouched=!1)),i.activeElement&&d(i.activeElement).is(e.focusableElements)&&i.activeElement!==f[0]&&i.activeElement.blur();let v=n&&c.allowTouchMove&&b.touchStartPreventDefault;(b.touchStartForcePreventDefault||v)&&!f[0].isContentEditable&&a.preventDefault()}c.params.freeMode&&c.params.freeMode.enabled&&c.freeMode&&c.animating&&!b.cssMode&&c.freeMode.onTouchStart(),c.emit("touchStart",a)}function J(r){let p=o(),a=this,b=a.touchEventsData,{params:f,touches:c,rtlTranslate:s,enabled:t}=a;if(!t)return;let e=r;if(e.originalEvent&&(e=e.originalEvent),!b.isTouched)return void(b.startMoving&&b.isScrolling&&a.emit("touchMoveOpposite",e));if(b.isTouchEvent&&"touchmove"!==e.type)return;let q="touchmove"===e.type&&e.targetTouches&&(e.targetTouches[0]||e.changedTouches[0]),h="touchmove"===e.type?q.pageX:e.pageX,i="touchmove"===e.type?q.pageY:e.pageY;if(e.preventedByNestedSwiper)return c.startX=h,void(c.startY=i);if(!a.allowTouchMove)return d(e.target).is(b.focusableElements)||(a.allowClick=!1),void(b.isTouched&&(Object.assign(c,{startX:h,startY:i,currentX:h,currentY:i}),b.touchStartTime=u()));if(b.isTouchEvent&&f.touchReleaseOnEdges&&!f.loop){if(a.isVertical()){if(ic.startY&&a.translate>=a.minTranslate())return b.isTouched=!1,void(b.isMoved=!1)}else if(hc.startX&&a.translate>=a.minTranslate())return}if(b.isTouchEvent&&p.activeElement&&e.target===p.activeElement&&d(e.target).is(b.focusableElements))return b.isMoved=!0,void(a.allowClick=!1);if(b.allowTouchCallbacks&&a.emit("touchMove",e),e.targetTouches&&e.targetTouches.length>1)return;c.currentX=h,c.currentY=i;let j=c.currentX-c.startX,k=c.currentY-c.startY;if(a.params.threshold&&Math.sqrt(j**2+k**2)=25&&(l=180*Math.atan2(Math.abs(k),Math.abs(j))/Math.PI,b.isScrolling=a.isHorizontal()?l>f.touchAngle:90-l>f.touchAngle)}if(b.isScrolling&&a.emit("touchMoveOpposite",e),void 0===b.startMoving&&(c.currentX===c.startX&&c.currentY===c.startY||(b.startMoving=!0)),b.isScrolling)return void(b.isTouched=!1);if(!b.startMoving)return;a.allowClick=!1,!f.cssMode&&e.cancelable&&e.preventDefault(),f.touchMoveStopPropagation&&!f.nested&&e.stopPropagation(),b.isMoved||(f.loop&&!f.cssMode&&a.loopFix(),b.startTranslate=a.getTranslate(),a.setTransition(0),a.animating&&a.$wrapperEl.trigger("webkitTransitionEnd transitionend"),b.allowMomentumBounce=!1,f.grabCursor&&(!0===a.allowSlideNext|| !0===a.allowSlidePrev)&&a.setGrabCursor(!0),a.emit("sliderFirstMove",e)),a.emit("sliderMove",e),b.isMoved=!0;let g=a.isHorizontal()?j:k;c.diff=g,g*=f.touchRatio,s&&(g=-g),a.swipeDirection=g>0?"prev":"next",b.currentTranslate=g+b.startTranslate;let m=!0,n=f.resistanceRatio;if(f.touchReleaseOnEdges&&(n=0),g>0&&b.currentTranslate>a.minTranslate()?(m=!1,f.resistance&&(b.currentTranslate=a.minTranslate()-1+(-a.minTranslate()+b.startTranslate+g)**n)):g<0&&b.currentTranslateb.startTranslate&&(b.currentTranslate=b.startTranslate),a.allowSlidePrev||a.allowSlideNext||(b.currentTranslate=b.startTranslate),f.threshold>0){if(!(Math.abs(g)>f.threshold||b.allowThresholdMove))return void(b.currentTranslate=b.startTranslate);if(!b.allowThresholdMove)return b.allowThresholdMove=!0,c.startX=c.currentX,c.startY=c.currentY,b.currentTranslate=b.startTranslate,void(c.diff=a.isHorizontal()?c.currentX-c.startX:c.currentY-c.startY)}f.followFinger&&!f.cssMode&&((f.freeMode&&f.freeMode.enabled&&a.freeMode||f.watchSlidesProgress)&&(a.updateActiveIndex(),a.updateSlidesClasses()),a.params.freeMode&&f.freeMode.enabled&&a.freeMode&&a.freeMode.onTouchMove(),a.updateProgress(b.currentTranslate),a.setTranslate(b.currentTranslate))}function K(r){let a=this,b=a.touchEventsData,{params:c,touches:s,rtlTranslate:v,slidesGrid:e,enabled:w}=a;if(!w)return;let d=r;if(d.originalEvent&&(d=d.originalEvent),b.allowTouchCallbacks&&a.emit("touchEnd",d),b.allowTouchCallbacks=!1,!b.isTouched)return b.isMoved&&c.grabCursor&&a.setGrabCursor(!1),b.isMoved=!1,void(b.startMoving=!1);c.grabCursor&&b.isMoved&&b.isTouched&&(!0===a.allowSlideNext|| !0===a.allowSlidePrev)&&a.setGrabCursor(!1);let o=u(),p=o-b.touchStartTime;if(a.allowClick){let q=d.path||d.composedPath&&d.composedPath();a.updateClickedSlide(q&&q[0]||d.target),a.emit("tap click",d),p<300&&o-b.lastClickTime<300&&a.emit("doubleTap doubleClick",d)}if(b.lastClickTime=u(),t(()=>{a.destroyed||(a.allowClick=!0)}),!b.isTouched||!b.isMoved||!a.swipeDirection||0===s.diff||b.currentTranslate===b.startTranslate)return b.isTouched=!1,b.isMoved=!1,void(b.startMoving=!1);let h;if(b.isTouched=!1,b.isMoved=!1,b.startMoving=!1,h=c.followFinger?v?a.translate:-a.translate:-b.currentTranslate,c.cssMode)return;if(a.params.freeMode&&c.freeMode.enabled)return void a.freeMode.onTouchEnd({currentPos:h});let f=0,m=a.slidesSizesGrid[0];for(let g=0;g=e[g]&&h=e[g]&&(f=g,m=e[e.length-1]-e[e.length-2])}let j=null,i=null;c.rewind&&(a.isBeginning?i=a.params.virtual&&a.params.virtual.enabled&&a.virtual?a.virtual.slides.length-1:a.slides.length-1:a.isEnd&&(j=0));let k=(h-e[f])/m,l=fc.longSwipesMs){if(!c.longSwipes)return void a.slideTo(a.activeIndex);"next"===a.swipeDirection&&(k>=c.longSwipesRatio?a.slideTo(c.rewind&&a.isEnd?j:f+l):a.slideTo(f)),"prev"===a.swipeDirection&&(k>1-c.longSwipesRatio?a.slideTo(f+l):null!==i&&k<0&&Math.abs(k)>c.longSwipesRatio?a.slideTo(i):a.slideTo(f))}else{if(!c.shortSwipes)return void a.slideTo(a.activeIndex);a.navigation&&(d.target===a.navigation.nextEl||d.target===a.navigation.prevEl)?d.target===a.navigation.nextEl?a.slideTo(f+l):a.slideTo(f):("next"===a.swipeDirection&&a.slideTo(null!==j?j:f+l),"prev"===a.swipeDirection&&a.slideTo(null!==i?i:f))}}function L(){let a=this,{params:b,el:c}=a;if(c&&0===c.offsetWidth)return;b.breakpoints&&a.setBreakpoint();let{allowSlideNext:d,allowSlidePrev:e,snapGrid:f}=a;a.allowSlideNext=!0,a.allowSlidePrev=!0,a.updateSize(),a.updateSlides(),a.updateSlidesClasses(),("auto"===b.slidesPerView||b.slidesPerView>1)&&a.isEnd&&!a.isBeginning&&!a.params.centeredSlides?a.slideTo(a.slides.length-1,0,!1,!0):a.slideTo(a.activeIndex,0,!1,!0),a.autoplay&&a.autoplay.running&&a.autoplay.paused&&a.autoplay.run(),a.allowSlidePrev=e,a.allowSlideNext=d,a.params.watchOverflow&&f!==a.snapGrid&&a.checkOverflow()}function M(b){let a=this;a.enabled&&(a.allowClick||(a.params.preventClicks&&b.preventDefault(),a.params.preventClicksPropagation&&a.animating&&(b.stopPropagation(),b.stopImmediatePropagation())))}function N(){let a=this,{wrapperEl:b,rtlTranslate:d,enabled:e}=a;if(!e)return;let f;a.previousTranslate=a.translate,a.isHorizontal()?a.translate=-b.scrollLeft:a.translate=-b.scrollTop,0===a.translate&&(a.translate=0),a.updateActiveIndex(),a.updateSlidesClasses();let c=a.maxTranslate()-a.minTranslate();(f=0===c?0:(a.translate-a.minTranslate())/c)!==a.progress&&a.updateProgress(d?-a.translate:a.translate),a.emit("setTranslate",a.translate,!1)}let O=!1;function P(){}let Q=(a,i)=>{let j=o(),{params:d,touchEvents:b,el:e,wrapperEl:m,device:k,support:f}=a,g=!!d.nested,c="on"===i?"addEventListener":"removeEventListener",l=i;if(f.touch){let h=!("touchstart"!==b.start||!f.passiveListener||!d.passiveListeners)&&{passive:!0,capture:!1};e[c](b.start,a.onTouchStart,h),e[c](b.move,a.onTouchMove,f.passiveListener?{passive:!1,capture:g}:g),e[c](b.end,a.onTouchEnd,h),b.cancel&&e[c](b.cancel,a.onTouchEnd,h)}else e[c](b.start,a.onTouchStart,!1),j[c](b.move,a.onTouchMove,g),j[c](b.end,a.onTouchEnd,!1);(d.preventClicks||d.preventClicksPropagation)&&e[c]("click",a.onClick,!0),d.cssMode&&m[c]("scroll",a.onScroll),d.updateOnWindowResize?a[l](k.ios||k.android?"resize orientationchange observerUpdate":"resize observerUpdate",L,!0):a[l]("observerUpdate",L,!0)};var j={attachEvents:function(){let a=this,b=o(),{params:c,support:d}=a;a.onTouchStart=I.bind(a),a.onTouchMove=J.bind(a),a.onTouchEnd=K.bind(a),c.cssMode&&(a.onScroll=N.bind(a)),a.onClick=M.bind(a),d.touch&&!O&&(b.addEventListener("touchstart",P),O=!0),Q(a,"on")},detachEvents:function(){Q(this,"off")}};let R=(b,a)=>b.grid&&a.grid&&a.grid.rows>1;var k={addClasses:function(){let b=this,{classNames:c,params:a,rtl:e,$el:f,device:d,support:g}=b,h=function(a,c){let b=[];return a.forEach(a=>{"object"==typeof a?Object.keys(a).forEach(d=>{a[d]&&b.push(c+d)}):"string"==typeof a&&b.push(c+a)}),b}(["initialized",a.direction,{"pointer-events":!g.touch},{"free-mode":b.params.freeMode&&a.freeMode.enabled},{autoheight:a.autoHeight},{rtl:e},{grid:a.grid&&a.grid.rows>1},{"grid-column":a.grid&&a.grid.rows>1&&"column"===a.grid.fill},{android:d.android},{ios:d.ios},{"css-mode":a.cssMode},{centered:a.cssMode&&a.centeredSlides},{"watch-progress":a.watchSlidesProgress}],a.containerModifierClass);c.push(...h),f.addClass([...c].join(" ")),b.emitContainerClasses()},removeClasses:function(){let{$el:a,classNames:b}=this;a.removeClass(b.join(" ")),this.emitContainerClasses()}},S={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,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,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,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,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",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};function T(a,b){return function(d){void 0===d&&(d={});let c=Object.keys(d)[0],e=d[c];"object"==typeof e&&null!==e&&(["navigation","pagination","scrollbar"].indexOf(c)>=0&& !0===a[c]&&(a[c]={auto:!0}),c in a&&"enabled"in e&&(!0===a[c]&&(a[c]={enabled:!0}),"object"!=typeof a[c]||"enabled"in a[c]||(a[c].enabled=!0),a[c]||(a[c]={enabled:!1}))),y(b,d)}}let _={eventsEmitter:$,update:f,translate:g,transition:{setTransition:function(b,c){let a=this;a.params.cssMode||a.$wrapperEl.transition(b),a.emit("setTransition",b,c)},transitionStart:function(a,d){void 0===a&&(a=!0);let b=this,{params:c}=b;c.cssMode||(c.autoHeight&&b.updateAutoHeight(),H({swiper:b,runCallbacks:a,direction:d,step:"Start"}))},transitionEnd:function(b,c){void 0===b&&(b=!0);let a=this,{params:d}=a;a.animating=!1,d.cssMode||(a.setTransition(0),H({swiper:a,runCallbacks:b,direction:c,step:"End"}))}},slide:h,loop:i,grabCursor:{setGrabCursor:function(c){let a=this;if(a.support.touch||!a.params.simulateTouch||a.params.watchOverflow&&a.isLocked||a.params.cssMode)return;let b="container"===a.params.touchEventsTarget?a.el:a.wrapperEl;b.style.cursor="move",b.style.cursor=c?"grabbing":"grab"},unsetGrabCursor:function(){let a=this;a.support.touch||a.params.watchOverflow&&a.isLocked||a.params.cssMode||(a["container"===a.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}},events:j,breakpoints:{setBreakpoint:function(){let a=this,{activeIndex:m,initialized:g,loopedSlides:n=0,params:b,$el:f}=a,d=b.breakpoints;if(!d||d&&0===Object.keys(d).length)return;let e=a.getBreakpoint(d,a.params.breakpointsBase,a.el);if(!e||a.currentBreakpoint===e)return;let c=(e in d?d[e]:void 0)||a.originalParams,h=R(a,b),i=R(a,c),j=b.enabled;h&&!i?(f.removeClass(`${b.containerModifierClass}grid ${b.containerModifierClass}grid-column`),a.emitContainerClasses()):!h&&i&&(f.addClass(`${b.containerModifierClass}grid`),(c.grid.fill&&"column"===c.grid.fill|| !c.grid.fill&&"column"===b.grid.fill)&&f.addClass(`${b.containerModifierClass}grid-column`),a.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(d=>{let e=b[d]&&b[d].enabled,f=c[d]&&c[d].enabled;e&&!f&&a[d].disable(),!e&&f&&a[d].enable()});let k=c.direction&&c.direction!==b.direction,o=b.loop&&(c.slidesPerView!==b.slidesPerView||k);k&&g&&a.changeDirection(),y(a.params,c);let l=a.params.enabled;Object.assign(a,{allowTouchMove:a.params.allowTouchMove,allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev}),j&&!l?a.disable():!j&&l&&a.enable(),a.currentBreakpoint=e,a.emit("_beforeBreakpoint",c),o&&g&&(a.loopDestroy(),a.loopCreate(),a.updateSlides(),a.slideTo(m-n+a.loopedSlides,0,!1)),a.emit("breakpoint",c)},getBreakpoint:function(f,a,b){if(void 0===a&&(a="window"),!f||"container"===a&&!b)return;let c=!1,g=q(),j="window"===a?g.innerHeight:b.clientHeight,d=Object.keys(f).map(a=>{if("string"==typeof a&&0===a.indexOf("@")){let b=parseFloat(a.substr(1));return{value:j*b,point:a}}return{value:a,point:a}});d.sort((a,b)=>parseInt(a.value,10)-parseInt(b.value,10));for(let e=0;ef}else a.isLocked=1===a.snapGrid.length;!0===c.allowSlideNext&&(a.allowSlideNext=!a.isLocked),!0===c.allowSlidePrev&&(a.allowSlidePrev=!a.isLocked),b&&b!==a.isLocked&&(a.isEnd=!1),b!==a.isLocked&&a.emit(a.isLocked?"lock":"unlock")}},classes:k,images:{loadImage:function(e,c,f,g,h,j){let i=q(),a;function b(){j&&j()}d(e).parent("picture")[0]||e.complete&&h?b():c?((a=new i.Image).onload=b,a.onerror=b,g&&(a.sizes=g),f&&(a.srcset=f),c&&(a.src=c)):b()},preloadImages:function(){let b=this;function d(){null!=b&&b&&!b.destroyed&&(void 0!==b.imagesLoaded&&(b.imagesLoaded+=1),b.imagesLoaded===b.imagesToLoad.length&&(b.params.updateOnImagesReady&&b.update(),b.emit("imagesReady")))}b.imagesToLoad=b.$el.find("img");for(let c=0;c1){let i=[];return d(c.el).each(b=>{let d=y({},c,{el:b});i.push(new a(d))}),i}let b=this;b.__swiper__=!0,b.support=E(),b.device=F({userAgent:c.userAgent}),b.browser=G(),b.eventsListeners={},b.eventsAnyListeners=[],b.modules=[...b.__modules__],c.modules&&Array.isArray(c.modules)&&b.modules.push(...c.modules);let j={};b.modules.forEach(a=>{a({swiper:b,extendParams:T(c,j),on:b.on.bind(b),once:b.once.bind(b),off:b.off.bind(b),emit:b.emit.bind(b)})});let k=y({},S,j);return b.params=y({},k,U,c),b.originalParams=y({},b.params),b.passedParams=y({},c),b.params&&b.params.on&&Object.keys(b.params.on).forEach(a=>{b.on(a,b.params.on[a])}),b.params&&b.params.onAny&&b.onAny(b.params.onAny),b.$=d,Object.assign(b,{enabled:b.params.enabled,el:f,classNames:[],slides:d(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===b.params.direction,isVertical:()=>"vertical"===b.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:b.params.allowSlideNext,allowSlidePrev:b.params.allowSlidePrev,touchEvents:function(){let a=["touchstart","touchmove","touchend","touchcancel"],c=["pointerdown","pointermove","pointerup"];return b.touchEventsTouch={start:a[0],move:a[1],end:a[2],cancel:a[3]},b.touchEventsDesktop={start:c[0],move:c[1],end:c[2]},b.support.touch||!b.params.simulateTouch?b.touchEventsTouch:b.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:b.params.focusableElements,lastClickTime:u(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:b.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),b.emit("_swiper"),b.params.init&&b.init(),b}enable(){let a=this;a.enabled||(a.enabled=!0,a.params.grabCursor&&a.setGrabCursor(),a.emit("enable"))}disable(){let a=this;a.enabled&&(a.enabled=!1,a.params.grabCursor&&a.unsetGrabCursor(),a.emit("disable"))}setProgress(b,c){let a=this;b=Math.min(Math.max(b,0),1);let d=a.minTranslate(),e=(a.maxTranslate()-d)*b+d;a.translateTo(e,void 0===c?0:c),a.updateActiveIndex(),a.updateSlidesClasses()}emitContainerClasses(){let a=this;if(!a.params._emitClasses||!a.el)return;let b=a.el.className.split(" ").filter(b=>0===b.indexOf("swiper")||0===b.indexOf(a.params.containerModifierClass));a.emit("_containerClasses",b.join(" "))}getSlideClasses(a){let b=this;return b.destroyed?"":a.className.split(" ").filter(a=>0===a.indexOf("swiper-slide")||0===a.indexOf(b.params.slideClass)).join(" ")}emitSlidesClasses(){let a=this;if(!a.params._emitClasses||!a.el)return;let b=[];a.slides.each(c=>{let d=a.getSlideClasses(c);b.push({slideEl:c,classNames:d}),a.emit("_slideClass",c,d)}),a.emit("_slideClasses",b)}slidesPerViewDynamic(k,l){void 0===k&&(k="current"),void 0===l&&(l=!1);let{params:n,slides:b,slidesGrid:c,slidesSizesGrid:o,size:d,activeIndex:a}=this,e=1;if(n.centeredSlides){let g,h=b[a].swiperSlideSize;for(let i=a+1;id&&(g=!0));for(let j=a-1;j>=0;j-=1)b[j]&&!g&&(h+=b[j].swiperSlideSize,e+=1,h>d&&(g=!0))}else if("current"===k)for(let f=a+1;f=0;m-=1)c[a]-c[m]1)&&a.isEnd&&!a.params.centeredSlides?a.slideTo(a.slides.length-1,0,!1,!0):a.slideTo(a.activeIndex,0,!1,!0))||c(),b.watchOverflow&&d!==a.snapGrid&&a.checkOverflow(),a.emit("update")}changeDirection(b,c){void 0===c&&(c=!0);let a=this,d=a.params.direction;return b||(b="horizontal"===d?"vertical":"horizontal"),b===d||"horizontal"!==b&&"vertical"!==b||(a.$el.removeClass(`${a.params.containerModifierClass}${d}`).addClass(`${a.params.containerModifierClass}${b}`),a.emitContainerClasses(),a.params.direction=b,a.slides.each(a=>{"vertical"===b?a.style.width="":a.style.height=""}),a.emit("changeDirection"),c&&a.update()),a}mount(b){let a=this;if(a.mounted)return!0;let c=d(b||a.params.el);if(!(b=c[0]))return!1;b.swiper=a;let g=()=>`.${(a.params.wrapperClass||"").trim().split(" ").join(".")}`,e=(()=>{if(b&&b.shadowRoot&&b.shadowRoot.querySelector){let a=d(b.shadowRoot.querySelector(g()));return a.children=a=>c.children(a),a}return c.children?c.children(g()):d(c).children(g())})();if(0===e.length&&a.params.createElements){let f=o().createElement("div");e=d(f),f.className=a.params.wrapperClass,c.append(f),c.children(`.${a.params.slideClass}`).each(a=>{e.append(a)})}return Object.assign(a,{$el:c,el:b,$wrapperEl:e,wrapperEl:e[0],mounted:!0,rtl:"rtl"===b.dir.toLowerCase()||"rtl"===c.css("direction"),rtlTranslate:"horizontal"===a.params.direction&&("rtl"===b.dir.toLowerCase()||"rtl"===c.css("direction")),wrongRTL:"-webkit-box"===e.css("display")}),!0}init(b){let a=this;return a.initialized|| !1===a.mount(b)||(a.emit("beforeInit"),a.params.breakpoints&&a.setBreakpoint(),a.addClasses(),a.params.loop&&a.loopCreate(),a.updateSize(),a.updateSlides(),a.params.watchOverflow&&a.checkOverflow(),a.params.grabCursor&&a.enabled&&a.setGrabCursor(),a.params.preloadImages&&a.preloadImages(),a.params.loop?a.slideTo(a.params.initialSlide+a.loopedSlides,0,a.params.runCallbacksOnInit,!1,!0):a.slideTo(a.params.initialSlide,0,a.params.runCallbacksOnInit,!1,!0),a.attachEvents(),a.initialized=!0,a.emit("init"),a.emit("afterInit")),a}destroy(c,d){void 0===c&&(c=!0),void 0===d&&(d=!0);let a=this,{params:b,$el:f,$wrapperEl:g,slides:e}=a;return void 0===a.params||a.destroyed||(a.emit("beforeDestroy"),a.initialized=!1,a.detachEvents(),b.loop&&a.loopDestroy(),d&&(a.removeClasses(),f.removeAttr("style"),g.removeAttr("style"),e&&e.length&&e.removeClass([b.slideVisibleClass,b.slideActiveClass,b.slideNextClass,b.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),a.emit("destroy"),Object.keys(a.eventsListeners).forEach(b=>{a.off(b)}),!1!==c&&(a.$el[0].swiper=null,function(a){let b=a;Object.keys(b).forEach(a=>{try{b[a]=null}catch(c){}try{delete b[a]}catch(d){}})}(a)),a.destroyed=!0),null}static extendDefaults(a){y(U,a)}static get extendedDefaults(){return U}static get defaults(){return S}static installModule(b){a.prototype.__modules__||(a.prototype.__modules__=[]);let c=a.prototype.__modules__;"function"==typeof b&&0>c.indexOf(b)&&c.push(b)}static use(b){return Array.isArray(b)?(b.forEach(b=>a.installModule(b)),a):(a.installModule(b),a)}}function V(a,d,b,c){let e=o();return a.params.createElements&&Object.keys(c).forEach(f=>{if(!b[f]&& !0===b.auto){let g=a.$el.children(`.${c[f]}`)[0];g||((g=e.createElement("div")).className=c[f],a.$el.append(g)),b[f]=g,d[f]=g}}),b}function W(a){return void 0===a&&(a=""),`.${a.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}function X(a){let b=this,{$wrapperEl:e,params:d}=b;if(d.loop&&b.loopDestroy(),"object"==typeof a&&"length"in a)for(let c=0;c=l)return void a.appendSlide(b);let h=c>d?c+1:c,i=[];for(let j=l-1;j>=d;j-=1){let m=a.slides.eq(j);m.remove(),i.unshift(m)}if("object"==typeof b&&"length"in b){for(let g=0;gd?c+b.length:c}else f.append(b);for(let k=0;k{if(d.params.effect!==c)return;d.classNames.push(`${d.params.containerModifierClass}${c}`),h&&h()&&d.classNames.push(`${d.params.containerModifierClass}3d`);let a=g?g():{};Object.assign(d.params,a),Object.assign(d.originalParams,a)}),a("setTranslate",()=>{d.params.effect===c&&e()}),a("setTransition",(b,a)=>{d.params.effect===c&&f(a)}),a("transitionEnd",()=>{d.params.effect===c&&i&&j&&j().slideShadows&&(d.slides.each(a=>{d.$(a).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").remove()}),i())}),a("virtualUpdate",()=>{d.params.effect===c&&(d.slides.length||(k=!0),requestAnimationFrame(()=>{k&&d.slides&&d.slides.length&&(e(),k=!1)}))})}function ad(a,b){return a.transformEl?b.find(a.transformEl).css({"backface-visibility":"hidden","-webkit-backface-visibility":"hidden"}):b}function ae(e){let{swiper:c,duration:f,transformEl:a,allSlides:g}=e,{slides:b,activeIndex:d,$wrapperEl:i}=c;if(c.params.virtualTranslate&&0!==f){let h,j=!1;(h=g?a?b.find(a):b:a?b.eq(d).find(a):b.eq(d)).transitionEnd(()=>{if(j|| !c||c.destroyed)return;j=!0,c.animating=!1;let b=["webkitTransitionEnd","transitionend"];for(let a=0;a`),f.append(b)),b}Object.keys(_).forEach(b=>{Object.keys(_[b]).forEach(c=>{a.prototype[c]=_[b][c]})}),a.use([function(b){let{swiper:c,on:a,emit:d}=b,e=q(),f=null,g=null,h=()=>{c&&!c.destroyed&&c.initialized&&(d("beforeResize"),d("resize"))},i=()=>{c&&!c.destroyed&&c.initialized&&d("orientationchange")};a("init",()=>{c.params.resizeObserver&& void 0!==e.ResizeObserver?c&&!c.destroyed&&c.initialized&&(f=new ResizeObserver(a=>{g=e.requestAnimationFrame(()=>{let{width:b,height:d}=c,e=b,f=d;a.forEach(g=>{let{contentBoxSize:a,contentRect:b,target:d}=g;d&&d!==c.el||(e=b?b.width:(a[0]||a).inlineSize,f=b?b.height:(a[0]||a).blockSize)}),e===b&&f===d||h()})})).observe(c.el):(e.addEventListener("resize",h),e.addEventListener("orientationchange",i))}),a("destroy",()=>{g&&e.cancelAnimationFrame(g),f&&f.unobserve&&c.el&&(f.unobserve(c.el),f=null),e.removeEventListener("resize",h),e.removeEventListener("orientationchange",i)})},function(b){let{swiper:d,extendParams:c,on:a,emit:e}=b,f=[],g=q(),h=function(c,a){void 0===a&&(a={});let b=new(g.MutationObserver||g.WebkitMutationObserver)(a=>{if(1===a.length)return void e("observerUpdate",a[0]);let b=function(){e("observerUpdate",a[0])};g.requestAnimationFrame?g.requestAnimationFrame(b):g.setTimeout(b,0)});b.observe(c,{attributes:void 0===a.attributes||a.attributes,childList:void 0===a.childList||a.childList,characterData:void 0===a.characterData||a.characterData}),f.push(b)};c({observer:!1,observeParents:!1,observeSlideChildren:!1}),a("init",()=>{if(d.params.observer){if(d.params.observeParents){let b=d.$el.parents();for(let a=0;a{f.forEach(a=>{a.disconnect()}),f.splice(0,f.length)})}]);let l=[function(c){let g,{swiper:b,extendParams:e,on:a,emit:h}=c;function i(f,a){let c=b.params.virtual;if(c.cache&&b.virtual.cache[a])return b.virtual.cache[a];let e=c.renderSlide?d(c.renderSlide.call(b,f,a)):d(`
    ${f}
    `);return e.attr("data-swiper-slide-index")||e.attr("data-swiper-slide-index",a),c.cache&&(b.virtual.cache[a]=e),e}function f(k){let{slidesPerView:l,slidesPerGroup:g,centeredSlides:x}=b.params,{addSlidesBefore:r,addSlidesAfter:s}=b.params.virtual,{from:m,to:j,slides:t,slidesGrid:y,offset:z}=b.virtual;b.params.cssMode||b.updateActiveIndex();let u=b.activeIndex||0,n,o,p;n=b.rtlTranslate?"right":b.isHorizontal()?"left":"top",x?(o=Math.floor(l/2)+g+s,p=Math.floor(l/2)+g+r):(o=l+(g-1)+s,p=g+r);let c=Math.max((u||0)-p,0),d=Math.min((u||0)+o,t.length-1),e=(b.slidesGrid[c]||0)-(b.slidesGrid[0]||0);function v(){b.updateSlides(),b.updateProgress(),b.updateSlidesClasses(),b.lazy&&b.params.lazy.enabled&&b.lazy.load(),h("virtualUpdate")}if(Object.assign(b.virtual,{from:c,to:d,offset:e,slidesGrid:b.slidesGrid}),m===c&&j===d&&!k)return b.slidesGrid!==y&&e!==z&&b.slides.css(n,`${e}px`),b.updateProgress(),void h("virtualUpdate");if(b.params.virtual.renderExternal)return b.params.virtual.renderExternal.call(b,{offset:e,from:c,to:d,slides:function(){let b=[];for(let a=c;a<=d;a+=1)b.push(t[a]);return b}()}),void(b.params.virtual.renderExternalUpdate?v():h("virtualUpdate"));let w=[],q=[];if(k)b.$wrapperEl.find(`.${b.params.slideClass}`).remove();else for(let f=m;f<=j;f+=1)(fd)&&b.$wrapperEl.find(`.${b.params.slideClass}[data-swiper-slide-index="${f}"]`).remove();for(let a=0;a=c&&a<=d&&(void 0===j||k?q.push(a):(a>j&&q.push(a),a{b.$wrapperEl.append(i(t[a],a))}),w.sort((a,b)=>b-a).forEach(a=>{b.$wrapperEl.prepend(i(t[a],a))}),b.$wrapperEl.children(".swiper-slide").css(n,`${e}px`),v()}e({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}}),b.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]},a("beforeInit",()=>{b.params.virtual.enabled&&(b.virtual.slides=b.params.virtual.slides,b.classNames.push(`${b.params.containerModifierClass}virtual`),b.params.watchSlidesProgress=!0,b.originalParams.watchSlidesProgress=!0,b.params.initialSlide||f())}),a("setTranslate",()=>{b.params.virtual.enabled&&(b.params.cssMode&&!b._immediateVirtual?(clearTimeout(g),g=setTimeout(()=>{f()},100)):f())}),a("init update resize",()=>{b.params.virtual.enabled&&b.params.cssMode&&z(b.wrapperEl,"--swiper-virtual-size",`${b.virtualSize}px`)}),Object.assign(b.virtual,{appendSlide:function(a){if("object"==typeof a&&"length"in a)for(let c=0;c{let a=h[b],c=a.attr("data-swiper-slide-index");c&&a.attr("data-swiper-slide-index",parseInt(c,10)+g),i[parseInt(b,10)+g]=a}),b.virtual.cache=i}f(!0),b.slideTo(e,0)},removeSlide:function(a){if(null==a)return;let c=b.activeIndex;if(Array.isArray(a))for(let d=a.length-1;d>=0;d-=1)b.virtual.slides.splice(a[d],1),b.params.virtual.cache&&delete b.virtual.cache[a[d]],a[d]0&&0===a.$el.parents(`.${a.params.slideActiveClass}`).length)return;let s=a.$el,t=s[0].clientWidth,u=s[0].clientHeight,x=j.innerWidth,y=j.innerHeight,c=a.$el.offset();k&&(c.left-=a.$el[0].scrollLeft);let v=[[c.left,c.top],[c.left+t,c.top],[c.left,c.top+u],[c.left+t,c.top+u]];for(let p=0;p=0&&g[0]<=x&&g[1]>=0&&g[1]<=y){if(0===g[0]&&0===g[1])continue;r=!0}}if(!r)return}a.isHorizontal()?((e||f||l||m)&&(b.preventDefault?b.preventDefault():b.returnValue=!1),((f||m)&&!k||(e||l)&&k)&&a.slideNext(),((e||l)&&!k||(f||m)&&k)&&a.slidePrev()):((e||f||n||o)&&(b.preventDefault?b.preventDefault():b.returnValue=!1),(f||o)&&a.slideNext(),(e||n)&&a.slidePrev()),h("keyPress",d)}}function f(){a.keyboard.enabled||(d(i).on("keydown",k),a.keyboard.enabled=!0)}function g(){a.keyboard.enabled&&(d(i).off("keydown",k),a.keyboard.enabled=!1)}a.keyboard={enabled:!1},e({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),b("init",()=>{a.params.keyboard.enabled&&f()}),b("destroy",()=>{a.keyboard.enabled&&g()}),Object.assign(a.keyboard,{enable:f,disable:g})},function(c){let{swiper:a,extendParams:e,on:b,emit:h}=c,i=q(),j;e({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}}),a.mousewheel={enabled:!1};let k,l=u(),m=[];function n(){a.enabled&&(a.mouseEntered=!0)}function o(){a.enabled&&(a.mouseEntered=!1)}function p(b){return!(a.params.mousewheel.thresholdDelta&&b.delta=6&&u()-l<60||(b.direction<0?a.isEnd&&!a.params.loop||a.animating||(a.slideNext(),h("scroll",b.raw)):a.isBeginning&&!a.params.loop||a.animating||(a.slidePrev(),h("scroll",b.raw)),l=(new i.Date).getTime(),!1))}function r(y){var b;let e=y,D=!0;if(!a.enabled)return;let v=a.params.mousewheel;a.params.cssMode&&e.preventDefault();let z=a.$el;if("container"!==a.params.mousewheel.eventsTarget&&(z=d(a.params.mousewheel.eventsTarget)),!a.mouseEntered&&!z[0].contains(e.target)&&!v.releaseOnEdges)return!0;e.originalEvent&&(e=e.originalEvent);let c=0,o,i,f,g,A=a.rtlTranslate?-1:1,l=(o=0,i=0,f=0,g=0,"detail"in(b=e)&&(i=b.detail),"wheelDelta"in b&&(i=-b.wheelDelta/120),"wheelDeltaY"in b&&(i=-b.wheelDeltaY/120),"wheelDeltaX"in b&&(o=-b.wheelDeltaX/120),"axis"in b&&b.axis===b.HORIZONTAL_AXIS&&(o=i,i=0),f=10*o,g=10*i,"deltaY"in b&&(g=b.deltaY),"deltaX"in b&&(f=b.deltaX),b.shiftKey&&!f&&(f=g,g=0),(f||g)&&b.deltaMode&&(1===b.deltaMode?(f*=40,g*=40):(f*=800,g*=800)),f&&!o&&(o=f<1?-1:1),g&&!i&&(i=g<1?-1:1),{spinX:o,spinY:i,pixelX:f,pixelY:g});if(v.forceToAxis){if(a.isHorizontal()){if(!(Math.abs(l.pixelX)>Math.abs(l.pixelY)))return!0;c=-l.pixelX*A}else{if(!(Math.abs(l.pixelY)>Math.abs(l.pixelX)))return!0;c=-l.pixelY}}else c=Math.abs(l.pixelX)>Math.abs(l.pixelY)?-l.pixelX*A:-l.pixelY;if(0===c)return!0;v.invert&&(c=-c);let s=a.getTranslate()+c*v.sensitivity;if(s>=a.minTranslate()&&(s=a.minTranslate()),s<=a.maxTranslate()&&(s=a.maxTranslate()),(D=!!a.params.loop||!(s===a.minTranslate()||s===a.maxTranslate()))&&a.params.nested&&e.stopPropagation(),a.params.freeMode&&a.params.freeMode.enabled){let n={time:u(),delta:Math.abs(c),direction:Math.sign(c)},B=k&&n.time=a.minTranslate()&&(q=a.minTranslate()),q<=a.maxTranslate()&&(q=a.maxTranslate()),a.setTransition(0),a.setTranslate(q),a.updateProgress(),a.updateActiveIndex(),a.updateSlidesClasses(),(!E&&a.isBeginning|| !F&&a.isEnd)&&a.updateSlidesClasses(),a.params.freeMode.sticky){clearTimeout(j),j=void 0,m.length>=15&&m.shift();let x=m.length?m[m.length-1]:void 0,C=m[0];if(m.push(n),x&&(n.delta>x.delta||n.direction!==x.direction))m.splice(0);else if(m.length>=15&&n.time-C.time<500&&C.delta-n.delta>=1&&n.delta<=6){let G=c>0?.8:.2;k=n,m.splice(0),j=t(()=>{a.slideToClosest(a.params.speed,!0,void 0,G)},0)}j||(j=t(()=>{k=n,m.splice(0),a.slideToClosest(a.params.speed,!0,void 0,.5)},500))}if(B||h("scroll",e),a.params.autoplay&&a.params.autoplayDisableOnInteraction&&a.autoplay.stop(),q===a.minTranslate()||q===a.maxTranslate())return!0}}else{let r={time:u(),delta:Math.abs(c),direction:Math.sign(c),raw:y};m.length>=2&&m.shift();let w=m.length?m[m.length-1]:void 0;if(m.push(r),w?(r.direction!==w.direction||r.delta>w.delta||r.time>w.time+150)&&p(r):p(r),function(c){let b=a.params.mousewheel;if(c.direction<0){if(a.isEnd&&!a.params.loop&&b.releaseOnEdges)return!0}else if(a.isBeginning&&!a.params.loop&&b.releaseOnEdges)return!0;return!1}(r))return!0}return e.preventDefault?e.preventDefault():e.returnValue=!1,!1}function s(c){let b=a.$el;"container"!==a.params.mousewheel.eventsTarget&&(b=d(a.params.mousewheel.eventsTarget)),b[c]("mouseenter",n),b[c]("mouseleave",o),b[c]("wheel",r)}function f(){return a.params.cssMode?(a.wrapperEl.removeEventListener("wheel",r),!0):!a.mousewheel.enabled&&(s("on"),a.mousewheel.enabled=!0,!0)}function g(){return a.params.cssMode?(a.wrapperEl.addEventListener(event,r),!0):!!a.mousewheel.enabled&&(s("off"),a.mousewheel.enabled=!1,!0)}b("init",()=>{!a.params.mousewheel.enabled&&a.params.cssMode&&g(),a.params.mousewheel.enabled&&f()}),b("destroy",()=>{a.params.cssMode&&f(),a.mousewheel.enabled&&g()}),Object.assign(a.mousewheel,{enable:f,disable:g})},function(c){let{swiper:b,extendParams:e,on:a,emit:j}=c;function k(a){let c;return a&&(c=d(a),b.params.uniqueNavElements&&"string"==typeof a&&c.length>1&&1===b.$el.find(a).length&&(c=b.$el.find(a))),c}function l(a,c){let d=b.params.navigation;a&&a.length>0&&(a[c?"addClass":"removeClass"](d.disabledClass),a[0]&&"BUTTON"===a[0].tagName&&(a[0].disabled=c),b.params.watchOverflow&&b.enabled&&a[b.isLocked?"addClass":"removeClass"](d.lockClass))}function f(){if(b.params.loop)return;let{$nextEl:a,$prevEl:c}=b.navigation;l(c,b.isBeginning&&!b.params.rewind),l(a,b.isEnd&&!b.params.rewind)}function m(a){a.preventDefault(),(!b.isBeginning||b.params.loop||b.params.rewind)&&b.slidePrev()}function n(a){a.preventDefault(),(!b.isEnd||b.params.loop||b.params.rewind)&&b.slideNext()}function g(){let d=b.params.navigation;if(b.params.navigation=V(b,b.originalParams.navigation,b.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!d.nextEl&&!d.prevEl)return;let a=k(d.nextEl),c=k(d.prevEl);a&&a.length>0&&a.on("click",n),c&&c.length>0&&c.on("click",m),Object.assign(b.navigation,{$nextEl:a,nextEl:a&&a[0],$prevEl:c,prevEl:c&&c[0]}),b.enabled||(a&&a.addClass(d.lockClass),c&&c.addClass(d.lockClass))}function h(){let{$nextEl:a,$prevEl:c}=b.navigation;a&&a.length&&(a.off("click",n),a.removeClass(b.params.navigation.disabledClass)),c&&c.length&&(c.off("click",m),c.removeClass(b.params.navigation.disabledClass))}e({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),b.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},a("init",()=>{!1===b.params.navigation.enabled?i():(g(),f())}),a("toEdge fromEdge lock unlock",()=>{f()}),a("destroy",()=>{h()}),a("enable disable",()=>{let{$nextEl:a,$prevEl:c}=b.navigation;a&&a[b.enabled?"removeClass":"addClass"](b.params.navigation.lockClass),c&&c[b.enabled?"removeClass":"addClass"](b.params.navigation.lockClass)}),a("click",(h,g)=>{let{$nextEl:a,$prevEl:c}=b.navigation,e=g.target;if(b.params.navigation.hideOnClick&&!d(e).is(c)&&!d(e).is(a)){if(b.pagination&&b.params.pagination&&b.params.pagination.clickable&&(b.pagination.el===e||b.pagination.el.contains(e)))return;let f;a?f=a.hasClass(b.params.navigation.hiddenClass):c&&(f=c.hasClass(b.params.navigation.hiddenClass)),j(!0===f?"navigationShow":"navigationHide"),a&&a.toggleClass(b.params.navigation.hiddenClass),c&&c.toggleClass(b.params.navigation.hiddenClass)}});let i=()=>{b.$el.addClass(b.params.navigation.navigationDisabledClass),h()};Object.assign(b.navigation,{enable(){b.$el.removeClass(b.params.navigation.navigationDisabledClass),g(),f()},disable:i,update:f,init:g,destroy:h})},function(e){let{swiper:c,extendParams:f,on:b,emit:l}=e,a="swiper-pagination",m;f({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:a=>a,formatFractionTotal:a=>a,bulletClass:`${a}-bullet`,bulletActiveClass:`${a}-bullet-active`,modifierClass:`${a}-`,currentClass:`${a}-current`,totalClass:`${a}-total`,hiddenClass:`${a}-hidden`,progressbarFillClass:`${a}-progressbar-fill`,progressbarOppositeClass:`${a}-progressbar-opposite`,clickableClass:`${a}-clickable`,lockClass:`${a}-lock`,horizontalClass:`${a}-horizontal`,verticalClass:`${a}-vertical`,paginationDisabledClass:`${a}-disabled`}}),c.pagination={el:null,$el:null,bullets:[]};let n=0;function o(){return!c.params.pagination.el||!c.pagination.el||!c.pagination.$el||0===c.pagination.$el.length}function p(d,a){let{bulletActiveClass:b}=c.params.pagination;d[a]().addClass(`${b}-${a}`)[a]().addClass(`${b}-${a}-${a}`)}function g(){let z=c.rtl,a=c.params.pagination;if(o())return;let i=c.virtual&&c.params.virtual.enabled?c.virtual.slides.length:c.slides.length,f=c.pagination.$el,e,g=c.params.loop?Math.ceil((i-2*c.loopedSlides)/c.params.slidesPerGroup):c.snapGrid.length;if(c.params.loop?((e=Math.ceil((c.activeIndex-c.loopedSlides)/c.params.slidesPerGroup))>i-1-2*c.loopedSlides&&(e-=i-2*c.loopedSlides),e>g-1&&(e-=g),e<0&&"bullets"!==c.params.paginationType&&(e=g+e)):e=void 0!==c.snapIndex?c.snapIndex:c.activeIndex||0,"bullets"===a.type&&c.pagination.bullets&&c.pagination.bullets.length>0){let b=c.pagination.bullets,h,j,r;if(a.dynamicBullets&&(m=b.eq(0)[c.isHorizontal()?"outerWidth":"outerHeight"](!0),f.css(c.isHorizontal()?"width":"height",m*(a.dynamicMainBullets+4)+"px"),a.dynamicMainBullets>1&& void 0!==c.previousIndex&&((n+=e-(c.previousIndex-c.loopedSlides||0))>a.dynamicMainBullets-1?n=a.dynamicMainBullets-1:n<0&&(n=0)),r=((j=(h=Math.max(e-n,0))+(Math.min(b.length,a.dynamicMainBullets)-1))+h)/2),b.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map(b=>`${a.bulletActiveClass}${b}`).join(" ")),f.length>1)b.each(f=>{let b=d(f),c=b.index();c===e&&b.addClass(a.bulletActiveClass),a.dynamicBullets&&(c>=h&&c<=j&&b.addClass(`${a.bulletActiveClass}-main`),c===h&&p(b,"prev"),c===j&&p(b,"next"))});else{let s=b.eq(e),A=s.index();if(s.addClass(a.bulletActiveClass),a.dynamicBullets){let t=b.eq(h),u=b.eq(j);for(let k=h;k<=j;k+=1)b.eq(k).addClass(`${a.bulletActiveClass}-main`);if(c.params.loop){if(A>=b.length){for(let q=a.dynamicMainBullets;q>=0;q-=1)b.eq(b.length-q).addClass(`${a.bulletActiveClass}-main`);b.eq(b.length-a.dynamicMainBullets-1).addClass(`${a.bulletActiveClass}-prev`)}else p(t,"prev"),p(u,"next")}else p(t,"prev"),p(u,"next")}}if(a.dynamicBullets){let B=Math.min(b.length,a.dynamicMainBullets+4),C=(m*B-m)/2-r*m,D=z?"right":"left";b.css(c.isHorizontal()?D:"top",`${C}px`)}}if("fraction"===a.type&&(f.find(W(a.currentClass)).text(a.formatFractionCurrent(e+1)),f.find(W(a.totalClass)).text(a.formatFractionTotal(g))),"progressbar"===a.type){let v;v=a.progressbarOpposite?c.isHorizontal()?"vertical":"horizontal":c.isHorizontal()?"horizontal":"vertical";let w=(e+1)/g,x=1,y=1;"horizontal"===v?x=w:y=w,f.find(W(a.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${x}) scaleY(${y})`).transition(c.params.speed)}"custom"===a.type&&a.renderCustom?(f.html(a.renderCustom(c,e+1,g)),l("paginationRender",f[0])):l("paginationUpdate",f[0]),c.params.watchOverflow&&c.enabled&&f[c.isLocked?"addClass":"removeClass"](a.lockClass)}function h(){let a=c.params.pagination;if(o())return;let e=c.virtual&&c.params.virtual.enabled?c.virtual.slides.length:c.slides.length,d=c.pagination.$el,b="";if("bullets"===a.type){let f=c.params.loop?Math.ceil((e-2*c.loopedSlides)/c.params.slidesPerGroup):c.snapGrid.length;c.params.freeMode&&c.params.freeMode.enabled&&!c.params.loop&&f>e&&(f=e);for(let g=0;g`;d.html(b),c.pagination.bullets=d.find(W(a.bulletClass))}"fraction"===a.type&&(b=a.renderFraction?a.renderFraction.call(c,a.currentClass,a.totalClass):` / `,d.html(b)),"progressbar"===a.type&&(b=a.renderProgressbar?a.renderProgressbar.call(c,a.progressbarFillClass):``,d.html(b)),"custom"!==a.type&&l("paginationRender",c.pagination.$el[0])}function i(){c.params.pagination=V(c,c.originalParams.pagination,c.params.pagination,{el:"swiper-pagination"});let a=c.params.pagination;if(!a.el)return;let b=d(a.el);0!==b.length&&(c.params.uniqueNavElements&&"string"==typeof a.el&&b.length>1&&(b=c.$el.find(a.el)).length>1&&(b=b.filter(a=>d(a).parents(".swiper")[0]===c.el)),"bullets"===a.type&&a.clickable&&b.addClass(a.clickableClass),b.addClass(a.modifierClass+a.type),b.addClass(c.isHorizontal()?a.horizontalClass:a.verticalClass),"bullets"===a.type&&a.dynamicBullets&&(b.addClass(`${a.modifierClass}${a.type}-dynamic`),n=0,a.dynamicMainBullets<1&&(a.dynamicMainBullets=1)),"progressbar"===a.type&&a.progressbarOpposite&&b.addClass(a.progressbarOppositeClass),a.clickable&&b.on("click",W(a.bulletClass),function(b){b.preventDefault();let a=d(this).index()*c.params.slidesPerGroup;c.params.loop&&(a+=c.loopedSlides),c.slideTo(a)}),Object.assign(c.pagination,{$el:b,el:b[0]}),c.enabled||b.addClass(a.lockClass))}function j(){let a=c.params.pagination;if(o())return;let b=c.pagination.$el;b.removeClass(a.hiddenClass),b.removeClass(a.modifierClass+a.type),b.removeClass(c.isHorizontal()?a.horizontalClass:a.verticalClass),c.pagination.bullets&&c.pagination.bullets.removeClass&&c.pagination.bullets.removeClass(a.bulletActiveClass),a.clickable&&b.off("click",W(a.bulletClass))}b("init",()=>{!1===c.params.pagination.enabled?k():(i(),h(),g())}),b("activeIndexChange",()=>{(c.params.loop|| void 0===c.snapIndex)&&g()}),b("snapIndexChange",()=>{c.params.loop||g()}),b("slidesLengthChange",()=>{c.params.loop&&(h(),g())}),b("snapGridLengthChange",()=>{c.params.loop||(h(),g())}),b("destroy",()=>{j()}),b("enable disable",()=>{let{$el:a}=c.pagination;a&&a[c.enabled?"removeClass":"addClass"](c.params.pagination.lockClass)}),b("lock unlock",()=>{g()}),b("click",(g,e)=>{let a=e.target,{$el:b}=c.pagination;if(c.params.pagination.el&&c.params.pagination.hideOnClick&&b.length>0&&!d(a).hasClass(c.params.pagination.bulletClass)){if(c.navigation&&(c.navigation.nextEl&&a===c.navigation.nextEl||c.navigation.prevEl&&a===c.navigation.prevEl))return;let f=b.hasClass(c.params.pagination.hiddenClass);l(!0===f?"paginationShow":"paginationHide"),b.toggleClass(c.params.pagination.hiddenClass)}});let k=()=>{c.$el.addClass(c.params.pagination.paginationDisabledClass),c.pagination.$el&&c.pagination.$el.addClass(c.params.pagination.paginationDisabledClass),j()};Object.assign(c.pagination,{enable(){c.$el.removeClass(c.params.pagination.paginationDisabledClass),c.pagination.$el&&c.pagination.$el.removeClass(c.params.pagination.paginationDisabledClass),i(),h(),g()},disable:k,render:h,update:g,init:i,destroy:j})},function(c){let{swiper:b,extendParams:e,on:a,emit:j}=c,k=o(),l,m,n,p,q=!1,r=null,s=null;function f(){if(!b.params.scrollbar.el||!b.scrollbar.el)return;let{scrollbar:e,rtlTranslate:f,progress:g}=b,{$dragEl:d,$el:h}=e,i=b.params.scrollbar,c=m,a=(n-m)*g;f?(a=-a)>0?(c=m-a,a=0):-a+m>n&&(c=n+a):a<0?(c=m+a,a=0):a+m>n&&(c=n-a),b.isHorizontal()?(d.transform(`translate3d(${a}px, 0, 0)`),d[0].style.width=`${c}px`):(d.transform(`translate3d(0px, ${a}px, 0)`),d[0].style.height=`${c}px`),i.hide&&(clearTimeout(r),h[0].style.opacity=1,r=setTimeout(()=>{h[0].style.opacity=0,h.transition(400)},1e3))}function g(){if(!b.params.scrollbar.el||!b.scrollbar.el)return;let{scrollbar:d}=b,{$dragEl:a,$el:c}=d;a[0].style.width="",a[0].style.height="",n=b.isHorizontal()?c[0].offsetWidth:c[0].offsetHeight,p=b.size/(b.virtualSize+b.params.slidesOffsetBefore-(b.params.centeredSlides?b.snapGrid[0]:0)),m="auto"===b.params.scrollbar.dragSize?n*p:parseInt(b.params.scrollbar.dragSize,10),b.isHorizontal()?a[0].style.width=`${m}px`:a[0].style.height=`${m}px`,c[0].style.display=p>=1?"none":"",b.params.scrollbar.hide&&(c[0].style.opacity=0),b.params.watchOverflow&&b.enabled&&d.$el[b.isLocked?"addClass":"removeClass"](b.params.scrollbar.lockClass)}function u(a){return b.isHorizontal()?"touchstart"===a.type||"touchmove"===a.type?a.targetTouches[0].clientX:a.clientX:"touchstart"===a.type||"touchmove"===a.type?a.targetTouches[0].clientY:a.clientY}function v(d){let{scrollbar:e,rtlTranslate:f}=b,{$el:g}=e,a;a=Math.max(Math.min(a=(u(d)-g.offset()[b.isHorizontal()?"left":"top"]-(null!==l?l:m/2))/(n-m),1),0),f&&(a=1-a);let c=b.minTranslate()+(b.maxTranslate()-b.minTranslate())*a;b.updateProgress(c),b.setTranslate(c),b.updateActiveIndex(),b.updateSlidesClasses()}function w(a){let e=b.params.scrollbar,{scrollbar:f,$wrapperEl:g}=b,{$el:d,$dragEl:c}=f;q=!0,l=a.target===c[0]||a.target===c?u(a)-a.target.getBoundingClientRect()[b.isHorizontal()?"left":"top"]:null,a.preventDefault(),a.stopPropagation(),g.transition(100),c.transition(100),v(a),clearTimeout(s),d.transition(0),e.hide&&d.css("opacity",1),b.params.cssMode&&b.$wrapperEl.css("scroll-snap-type","none"),j("scrollbarDragStart",a)}function x(a){let{scrollbar:c,$wrapperEl:d}=b,{$el:e,$dragEl:f}=c;q&&(a.preventDefault?a.preventDefault():a.returnValue=!1,v(a),d.transition(0),e.transition(0),f.transition(0),j("scrollbarDragMove",a))}function y(c){let a=b.params.scrollbar,{scrollbar:d,$wrapperEl:e}=b,{$el:f}=d;q&&(q=!1,b.params.cssMode&&(b.$wrapperEl.css("scroll-snap-type",""),e.transition("")),a.hide&&(clearTimeout(s),s=t(()=>{f.css("opacity",0),f.transition(400)},1e3)),j("scrollbarDragEnd",c),a.snapOnRelease&&b.slideToClosest())}function z(l){let{scrollbar:m,touchEventsTouch:e,touchEventsDesktop:f,params:h,support:g}=b,i=m.$el;if(!i)return;let c=i[0],d=!(!g.passiveListener||!h.passiveListeners)&&{passive:!1,capture:!1},j=!(!g.passiveListener||!h.passiveListeners)&&{passive:!0,capture:!1};if(!c)return;let a="on"===l?"addEventListener":"removeEventListener";g.touch?(c[a](e.start,w,d),c[a](e.move,x,d),c[a](e.end,y,j)):(c[a](f.start,w,d),k[a](f.move,x,d),k[a](f.end,y,j))}function h(){let{scrollbar:g,$el:f}=b;b.params.scrollbar=V(b,b.originalParams.scrollbar,b.params.scrollbar,{el:"swiper-scrollbar"});let c=b.params.scrollbar;if(!c.el)return;let a=d(c.el);b.params.uniqueNavElements&&"string"==typeof c.el&&a.length>1&&1===f.find(c.el).length&&(a=f.find(c.el));let e=a.find(`.${b.params.scrollbar.dragClass}`);0===e.length&&(e=d(`
    `),a.append(e)),Object.assign(g,{$el:a,el:a[0],$dragEl:e,dragEl:e[0]}),c.draggable&&b.params.scrollbar.el&&b.scrollbar.el&&z("on"),a&&a[b.enabled?"removeClass":"addClass"](b.params.scrollbar.lockClass)}function $(){b.params.scrollbar.el&&b.scrollbar.el&&z("off")}e({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled"}}),b.scrollbar={el:null,dragEl:null,$el:null,$dragEl:null},a("init",()=>{!1===b.params.scrollbar.enabled?i():(h(),g(),f())}),a("update resize observerUpdate lock unlock",()=>{g()}),a("setTranslate",()=>{f()}),a("setTransition",(d,c)=>{var a;a=c,b.params.scrollbar.el&&b.scrollbar.el&&b.scrollbar.$dragEl.transition(a)}),a("enable disable",()=>{let{$el:a}=b.scrollbar;a&&a[b.enabled?"removeClass":"addClass"](b.params.scrollbar.lockClass)}),a("destroy",()=>{$()});let i=()=>{b.$el.addClass(b.params.scrollbar.scrollbarDisabledClass),b.scrollbar.$el&&b.scrollbar.$el.addClass(b.params.scrollbar.scrollbarDisabledClass),$()};Object.assign(b.scrollbar,{enable(){b.$el.removeClass(b.params.scrollbar.scrollbarDisabledClass),b.scrollbar.$el&&b.scrollbar.$el.removeClass(b.params.scrollbar.scrollbarDisabledClass),h(),g(),f()},disable:i,updateSize:g,setTranslate:f,init:h,destroy:$})},function(b){let{swiper:e,extendParams:c,on:a}=b;c({parallax:{enabled:!1}});let f=(k,f)=>{let{rtl:l}=e,c=d(k),i=l?-1:1,j=c.attr("data-swiper-parallax")||"0",a=c.attr("data-swiper-parallax-x"),b=c.attr("data-swiper-parallax-y"),g=c.attr("data-swiper-parallax-scale"),h=c.attr("data-swiper-parallax-opacity");if(a||b?(a=a||"0",b=b||"0"):e.isHorizontal()?(a=j,b="0"):(b=j,a="0"),a=a.indexOf("%")>=0?parseInt(a,10)*f*i+"%":a*f*i+"px",b=b.indexOf("%")>=0?parseInt(b,10)*f+"%":b*f+"px",null!=h){let m=h-(h-1)*(1-Math.abs(f));c[0].style.opacity=m}if(null==g)c.transform(`translate3d(${a}, ${b}, 0px)`);else{let n=g-(g-1)*(1-Math.abs(f));c.transform(`translate3d(${a}, ${b}, 0px) scale(${n})`)}},g=()=>{let{$el:a,slides:b,progress:c,snapGrid:g}=e;a.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(a=>{f(a,c)}),b.each((b,h)=>{let a=b.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(a+=Math.ceil(h/2)-c*(g.length-1)),a=Math.min(Math.max(a,-1),1),d(b).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(b=>{f(b,a)})})};a("beforeInit",()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)}),a("init",()=>{e.params.parallax.enabled&&g()}),a("setTranslate",()=>{e.params.parallax.enabled&&g()}),a("setTransition",(b,a)=>{e.params.parallax.enabled&&function(a){void 0===a&&(a=e.params.speed);let{$el:b}=e;b.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(e=>{let b=d(e),c=parseInt(b.attr("data-swiper-parallax-duration"),10)||a;0===a&&(c=0),b.transition(c)})}(a)})},function(c){let{swiper:b,extendParams:e,on:a,emit:j}=c,k=q();e({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),b.zoom={enabled:!1};let l,m,n,o=1,p=!1,r={$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},s={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},t={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0},u=1;function w(a){if(a.targetTouches.length<2)return 1;let b=a.targetTouches[0].pageX,c=a.targetTouches[0].pageY,d=a.targetTouches[1].pageX,e=a.targetTouches[1].pageY;return Math.sqrt((d-b)**2+(e-c)**2)}function x(a){let e=b.support,c=b.params.zoom;if(m=!1,n=!1,!e.gestures){if("touchstart"!==a.type||"touchstart"===a.type&&a.targetTouches.length<2)return;m=!0,r.scaleStart=w(a)}r.$slideEl&&r.$slideEl.length||(r.$slideEl=d(a.target).closest(`.${b.params.slideClass}`),0===r.$slideEl.length&&(r.$slideEl=b.slides.eq(b.activeIndex)),r.$imageEl=r.$slideEl.find(`.${c.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),r.$imageWrapEl=r.$imageEl.parent(`.${c.containerClass}`),r.maxRatio=r.$imageWrapEl.attr("data-swiper-zoom")||c.maxRatio,0!==r.$imageWrapEl.length)?(r.$imageEl&&r.$imageEl.transition(0),p=!0):r.$imageEl=void 0}function y(c){let e=b.support,d=b.params.zoom,a=b.zoom;if(!e.gestures){if("touchmove"!==c.type||"touchmove"===c.type&&c.targetTouches.length<2)return;n=!0,r.scaleMove=w(c)}r.$imageEl&&0!==r.$imageEl.length?(e.gestures?a.scale=c.scale*o:a.scale=r.scaleMove/r.scaleStart*o,a.scale>r.maxRatio&&(a.scale=r.maxRatio-1+(a.scale-r.maxRatio+1)**.5),a.scales.touchesStart.x)|| !b.isHorizontal()&&(Math.floor(s.minY)===Math.floor(s.startY)&&s.touchesCurrent.ys.touchesStart.y)))return void(s.isTouched=!1);a.cancelable&&a.preventDefault(),a.stopPropagation(),s.isMoved=!0,s.currentX=s.touchesCurrent.x-s.touchesStart.x+s.startX,s.currentY=s.touchesCurrent.y-s.touchesStart.y+s.startY,s.currentXs.maxX&&(s.currentX=s.maxX-1+(s.currentX-s.maxX+1)**.8),s.currentYs.maxY&&(s.currentY=s.maxY-1+(s.currentY-s.maxY+1)**.8),t.prevPositionX||(t.prevPositionX=s.touchesCurrent.x),t.prevPositionY||(t.prevPositionY=s.touchesCurrent.y),t.prevTime||(t.prevTime=Date.now()),t.x=(s.touchesCurrent.x-t.prevPositionX)/(Date.now()-t.prevTime)/2,t.y=(s.touchesCurrent.y-t.prevPositionY)/(Date.now()-t.prevTime)/2,2>Math.abs(s.touchesCurrent.x-t.prevPositionX)&&(t.x=0),2>Math.abs(s.touchesCurrent.y-t.prevPositionY)&&(t.y=0),t.prevPositionX=s.touchesCurrent.x,t.prevPositionY=s.touchesCurrent.y,t.prevTime=Date.now(),r.$imageWrapEl.transform(`translate3d(${s.currentX}px, ${s.currentY}px,0)`)}}function B(){let a=b.zoom;r.$slideEl&&b.previousIndex!==b.activeIndex&&(r.$imageEl&&r.$imageEl.transform("translate3d(0,0,0) scale(1)"),r.$imageWrapEl&&r.$imageWrapEl.transform("translate3d(0,0,0)"),a.scale=1,o=1,r.$slideEl=void 0,r.$imageEl=void 0,r.$imageWrapEl=void 0)}function f(a){let f=b.zoom,g=b.params.zoom;if(r.$slideEl||(a&&a.target&&(r.$slideEl=d(a.target).closest(`.${b.params.slideClass}`)),r.$slideEl||(b.params.virtual&&b.params.virtual.enabled&&b.virtual?r.$slideEl=b.$wrapperEl.children(`.${b.params.slideActiveClass}`):r.$slideEl=b.slides.eq(b.activeIndex)),r.$imageEl=r.$slideEl.find(`.${g.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),r.$imageWrapEl=r.$imageEl.parent(`.${g.containerClass}`)),!r.$imageEl||0===r.$imageEl.length||!r.$imageWrapEl||0===r.$imageWrapEl.length)return;let j,l,q,t,u,v,c,e,w,x,y,z,h,i,m,n,$,p;b.params.cssMode&&(b.wrapperEl.style.overflow="hidden",b.wrapperEl.style.touchAction="none"),r.$slideEl.addClass(`${g.zoomedSlideClass}`),void 0===s.touchesStart.x&&a?(j="touchend"===a.type?a.changedTouches[0].pageX:a.pageX,l="touchend"===a.type?a.changedTouches[0].pageY:a.pageY):(j=s.touchesStart.x,l=s.touchesStart.y),f.scale=r.$imageWrapEl.attr("data-swiper-zoom")||g.maxRatio,o=r.$imageWrapEl.attr("data-swiper-zoom")||g.maxRatio,a?($=r.$slideEl[0].offsetWidth,p=r.$slideEl[0].offsetHeight,q=r.$slideEl.offset().left+k.scrollX,t=r.$slideEl.offset().top+k.scrollY,u=q+$/2-j,v=t+p/2-l,w=r.$imageEl[0].offsetWidth,x=r.$imageEl[0].offsetHeight,y=w*f.scale,z=x*f.scale,h=Math.min($/2-y/2,0),i=Math.min(p/2-z/2,0),m=-h,n=-i,c=u*f.scale,e=v*f.scale,cm&&(c=m),en&&(e=n)):(c=0,e=0),r.$imageWrapEl.transition(300).transform(`translate3d(${c}px, ${e}px,0)`),r.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${f.scale})`)}function $(){let c=b.zoom,a=b.params.zoom;r.$slideEl||(b.params.virtual&&b.params.virtual.enabled&&b.virtual?r.$slideEl=b.$wrapperEl.children(`.${b.params.slideActiveClass}`):r.$slideEl=b.slides.eq(b.activeIndex),r.$imageEl=r.$slideEl.find(`.${a.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),r.$imageWrapEl=r.$imageEl.parent(`.${a.containerClass}`)),r.$imageEl&&0!==r.$imageEl.length&&r.$imageWrapEl&&0!==r.$imageWrapEl.length&&(b.params.cssMode&&(b.wrapperEl.style.overflow="",b.wrapperEl.style.touchAction=""),c.scale=1,o=1,r.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),r.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),r.$slideEl.removeClass(`${a.zoomedSlideClass}`),r.$slideEl=void 0)}function g(c){let a=b.zoom;a.scale&&1!==a.scale?$():f(c)}function C(){let a=b.support;return{passiveListener:!("touchstart"!==b.touchEvents.start||!a.passiveListener||!b.params.passiveListeners)&&{passive:!0,capture:!1},activeListenerWithCapture:!a.passiveListener||{passive:!1,capture:!0}}}function D(){return`.${b.params.slideClass}`}function E(a){let{passiveListener:c}=C(),d=D();b.$wrapperEl[a]("gesturestart",d,x,c),b.$wrapperEl[a]("gesturechange",d,y,c),b.$wrapperEl[a]("gestureend",d,z,c)}function F(){l||(l=!0,E("on"))}function G(){l&&(l=!1,E("off"))}function h(){let d=b.zoom;if(d.enabled)return;d.enabled=!0;let f=b.support,{passiveListener:a,activeListenerWithCapture:e}=C(),c=D();f.gestures?(b.$wrapperEl.on(b.touchEvents.start,F,a),b.$wrapperEl.on(b.touchEvents.end,G,a)):"touchstart"===b.touchEvents.start&&(b.$wrapperEl.on(b.touchEvents.start,c,x,a),b.$wrapperEl.on(b.touchEvents.move,c,y,e),b.$wrapperEl.on(b.touchEvents.end,c,z,a),b.touchEvents.cancel&&b.$wrapperEl.on(b.touchEvents.cancel,c,z,a)),b.$wrapperEl.on(b.touchEvents.move,`.${b.params.zoom.containerClass}`,A,e)}function i(){let d=b.zoom;if(!d.enabled)return;let f=b.support;d.enabled=!1;let{passiveListener:a,activeListenerWithCapture:e}=C(),c=D();f.gestures?(b.$wrapperEl.off(b.touchEvents.start,F,a),b.$wrapperEl.off(b.touchEvents.end,G,a)):"touchstart"===b.touchEvents.start&&(b.$wrapperEl.off(b.touchEvents.start,c,x,a),b.$wrapperEl.off(b.touchEvents.move,c,y,e),b.$wrapperEl.off(b.touchEvents.end,c,z,a),b.touchEvents.cancel&&b.$wrapperEl.off(b.touchEvents.cancel,c,z,a)),b.$wrapperEl.off(b.touchEvents.move,`.${b.params.zoom.containerClass}`,A,e)}Object.defineProperty(b.zoom,"scale",{get:()=>u,set(a){if(u!==a){let b=r.$imageEl?r.$imageEl[0]:void 0,c=r.$slideEl?r.$slideEl[0]:void 0;j("zoomChange",a,b,c)}u=a}}),a("init",()=>{b.params.zoom.enabled&&h()}),a("destroy",()=>{i()}),a("touchStart",(c,a)=>{b.zoom.enabled&&function(a){let c=b.device;r.$imageEl&&0!==r.$imageEl.length&&(s.isTouched||(c.android&&a.cancelable&&a.preventDefault(),s.isTouched=!0,s.touchesStart.x="touchstart"===a.type?a.targetTouches[0].pageX:a.pageX,s.touchesStart.y="touchstart"===a.type?a.targetTouches[0].pageY:a.pageY))}(a)}),a("touchEnd",(a,c)=>{b.zoom.enabled&&function(){let d=b.zoom;if(!r.$imageEl||0===r.$imageEl.length)return;if(!s.isTouched||!s.isMoved)return s.isTouched=!1,void(s.isMoved=!1);s.isTouched=!1,s.isMoved=!1;let a=300,c=300,g=t.x*a,e=s.currentX+g,h=t.y*c,f=s.currentY+h;0!==t.x&&(a=Math.abs((e-s.currentX)/t.x)),0!==t.y&&(c=Math.abs((f-s.currentY)/t.y));let i=Math.max(a,c);s.currentX=e,s.currentY=f;let j=s.width*d.scale,k=s.height*d.scale;s.minX=Math.min(r.slideWidth/2-j/2,0),s.maxX=-s.minX,s.minY=Math.min(r.slideHeight/2-k/2,0),s.maxY=-s.minY,s.currentX=Math.max(Math.min(s.currentX,s.maxX),s.minX),s.currentY=Math.max(Math.min(s.currentY,s.maxY),s.minY),r.$imageWrapEl.transition(i).transform(`translate3d(${s.currentX}px, ${s.currentY}px,0)`)}()}),a("doubleTap",(c,a)=>{!b.animating&&b.params.zoom.enabled&&b.zoom.enabled&&b.params.zoom.toggle&&g(a)}),a("transitionEnd",()=>{b.zoom.enabled&&b.params.zoom.enabled&&B()}),a("slideChange",()=>{b.zoom.enabled&&b.params.zoom.enabled&&b.params.cssMode&&B()}),Object.assign(b.zoom,{enable:h,disable:i,in:f,out:$,toggle:g})},function(c){let{swiper:b,extendParams:e,on:a,emit:h}=c;e({lazy:{checkInView:!1,enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,scrollingElement:"",elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}}),b.lazy={};let i=!1,j=!1;function f(e,i){void 0===i&&(i=!0);let a=b.params.lazy;if(void 0===e||0===b.slides.length)return;let c=b.virtual&&b.params.virtual.enabled?b.$wrapperEl.children(`.${b.params.slideClass}[data-swiper-slide-index="${e}"]`):b.slides.eq(e),g=c.find(`.${a.elementClass}:not(.${a.loadedClass}):not(.${a.loadingClass})`);!c.hasClass(a.elementClass)||c.hasClass(a.loadedClass)||c.hasClass(a.loadingClass)||g.push(c[0]),0!==g.length&&g.each(g=>{let e=d(g);e.addClass(a.loadingClass);let j=e.attr("data-background"),k=e.attr("data-src"),l=e.attr("data-srcset"),m=e.attr("data-sizes"),n=e.parent("picture");b.loadImage(e[0],k||j,l,m,!1,()=>{if(null!=b&&b&&(!b||b.params)&&!b.destroyed){if(j?(e.css("background-image",`url("${j}")`),e.removeAttr("data-background")):(l&&(e.attr("srcset",l),e.removeAttr("data-srcset")),m&&(e.attr("sizes",m),e.removeAttr("data-sizes")),n.length&&n.children("source").each(b=>{let a=d(b);a.attr("data-srcset")&&(a.attr("srcset",a.attr("data-srcset")),a.removeAttr("data-srcset"))}),k&&(e.attr("src",k),e.removeAttr("data-src"))),e.addClass(a.loadedClass).removeClass(a.loadingClass),c.find(`.${a.preloaderClass}`).remove(),b.params.loop&&i){let g=c.attr("data-swiper-slide-index");c.hasClass(b.params.slideDuplicateClass)?f(b.$wrapperEl.children(`[data-swiper-slide-index="${g}"]:not(.${b.params.slideDuplicateClass})`).index(),!1):f(b.$wrapperEl.children(`.${b.params.slideDuplicateClass}[data-swiper-slide-index="${g}"]`).index(),!1)}h("lazyImageReady",c[0],e[0]),b.params.autoHeight&&b.updateAutoHeight()}}),h("lazyImageLoad",c[0],e[0])})}function g(){let{$wrapperEl:m,params:c,slides:s,activeIndex:a}=b,v=b.virtual&&c.virtual.enabled,g=c.lazy,e=c.slidesPerView;function n(a){if(v){if(m.children(`.${c.slideClass}[data-swiper-slide-index="${a}"]`).length)return!0}else if(s[a])return!0;return!1}function o(a){return v?d(a).attr("data-swiper-slide-index"):d(a).index()}if("auto"===e&&(e=0),j||(j=!0),b.params.watchSlidesProgress)m.children(`.${c.slideVisibleClass}`).each(a=>{f(v?d(a).attr("data-swiper-slide-index"):d(a).index())});else if(e>1)for(let h=a;h1||g.loadPrevNextAmount&&g.loadPrevNextAmount>1){let p=g.loadPrevNextAmount,i=Math.ceil(e),t=Math.min(a+i+Math.max(p,i),s.length),u=Math.max(a-Math.max(i,p),0);for(let k=a+i;k0&&f(o(q));let r=m.children(`.${c.slidePrevClass}`);r.length>0&&f(o(r))}}}function k(){let f=q();if(!b||b.destroyed)return;let e=b.params.lazy.scrollingElement?d(b.params.lazy.scrollingElement):d(f),j=e[0]===f,o=j?f.innerWidth:e[0].offsetWidth,p=j?f.innerHeight:e[0].offsetHeight,a=b.$el.offset(),{rtlTranslate:r}=b,l=!1;r&&(a.left-=b.$el[0].scrollLeft);let m=[[a.left,a.top],[a.left+b.width,a.top],[a.left,a.top+b.height],[a.left+b.width,a.top+b.height]];for(let h=0;h=0&&c[0]<=o&&c[1]>=0&&c[1]<=p){if(0===c[0]&&0===c[1])continue;l=!0}}let n=!("touchstart"!==b.touchEvents.start||!b.support.passiveListener||!b.params.passiveListeners)&&{passive:!0,capture:!1};l?(g(),e.off("scroll",k,n)):i||(i=!0,e.on("scroll",k,n))}a("beforeInit",()=>{b.params.lazy.enabled&&b.params.preloadImages&&(b.params.preloadImages=!1)}),a("init",()=>{b.params.lazy.enabled&&(b.params.lazy.checkInView?k():g())}),a("scroll",()=>{b.params.freeMode&&b.params.freeMode.enabled&&!b.params.freeMode.sticky&&g()}),a("scrollbarDragMove resize _freeModeNoMomentumRelease",()=>{b.params.lazy.enabled&&(b.params.lazy.checkInView?k():g())}),a("transitionStart",()=>{b.params.lazy.enabled&&(b.params.lazy.loadOnTransitionStart|| !b.params.lazy.loadOnTransitionStart&&!j)&&(b.params.lazy.checkInView?k():g())}),a("transitionEnd",()=>{b.params.lazy.enabled&&!b.params.lazy.loadOnTransitionStart&&(b.params.lazy.checkInView?k():g())}),a("slideChange",()=>{let{lazy:a,cssMode:c,watchSlidesProgress:d,touchReleaseOnEdges:e,resistanceRatio:f}=b.params;a.enabled&&(c||d&&(e||0===f))&&g()}),a("destroy",()=>{b.$el&&b.$el.find(`.${b.params.lazy.loadingClass}`).removeClass(b.params.lazy.loadingClass)}),Object.assign(b.lazy,{load:g,loadInSlide:f})},function(c){let{swiper:b,extendParams:d,on:a}=c;function e(a,b){let c,d,e,f=(a,b)=>{for(d=-1,c=a.length;c-d>1;)a[e=c+d>>1]<=b?d=e:c=e;return c},g,h;return this.x=a,this.y=b,this.lastIndex=a.length-1,this.interpolate=function(a){return a?(g=(h=f(this.x,a))-1,(a-this.x[g])*(this.y[h]-this.y[g])/(this.x[h]-this.x[g])+this.y[g]):0},this}function f(){b.controller.control&&b.controller.spline&&(b.controller.spline=void 0,delete b.controller.spline)}d({controller:{control:void 0,inverse:!1,by:"slide"}}),b.controller={control:void 0},a("beforeInit",()=>{b.controller.control=b.params.controller.control}),a("update",()=>{f()}),a("resize",()=>{f()}),a("observerUpdate",()=>{f()}),a("setTranslate",(d,a,c)=>{b.controller.control&&b.controller.setTranslate(a,c)}),a("setTransition",(d,a,c)=>{b.controller.control&&b.controller.setTransition(a,c)}),Object.assign(b.controller,{setTranslate:function(h,d){let a=b.controller.control,i,j,f=b.constructor;function g(a){var c;let d=b.rtlTranslate?-b.translate:b.translate;"slide"===b.params.controller.by&&(c=a,b.controller.spline||(b.controller.spline=b.params.loop?new e(b.slidesGrid,c.slidesGrid):new e(b.snapGrid,c.snapGrid)),j=-b.controller.spline.interpolate(-d)),j&&"container"!==b.params.controller.by||(i=(a.maxTranslate()-a.minTranslate())/(b.maxTranslate()-b.minTranslate()),j=(d-b.minTranslate())*i+a.minTranslate()),b.params.controller.inverse&&(j=a.maxTranslate()-j),a.updateProgress(j),a.setTranslate(j,b),a.updateActiveIndex(),a.updateSlidesClasses()}if(Array.isArray(a))for(let c=0;c{c.updateAutoHeight()}),c.$wrapperEl.transitionEnd(()=>{a&&(c.params.loop&&"slide"===b.params.controller.by&&c.loopFix(),c.transitionEnd())}))}if(Array.isArray(a))for(c=0;c{h(a),"BUTTON"!==a[0].tagName&&(j(a,"button"),a.on("keydown",o)),l(a,c),function(a,b){a.attr("aria-controls",b)}(a,b)},s=b=>{let a=b.target.closest(`.${e.params.slideClass}`);if(!a||!e.slides.includes(a))return;let c=e.slides.indexOf(a)===e.activeIndex,d=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(a);c||d||e.slideTo(e.slides.indexOf(a),0)},t=()=>{let a=e.params.a11y;a.itemRoleDescriptionMessage&&k(d(e.slides),a.itemRoleDescriptionMessage),j(d(e.slides),a.slideRole);let b=e.params.loop?e.slides.filter(a=>!a.classList.contains(e.params.slideDuplicateClass)).length:e.slides.length;e.slides.each((f,g)=>{let c=d(f),h=e.params.loop?parseInt(c.attr("data-swiper-slide-index"),10):g;l(c,a.slideLabelMessage.replace(/\{\{index\}\}/,h+1).replace(/\{\{slidesLength\}\}/,b))})},u=()=>{var h,i;let a=e.params.a11y;e.$el.append(f);let j=e.$el;a.containerRoleDescriptionMessage&&k(j,a.containerRoleDescriptionMessage),a.containerMessage&&l(j,a.containerMessage);let d=e.$wrapperEl,g=a.id||d.attr("id")||`swiper-wrapper-${h=16,"x".repeat(h).replace(/x/g,()=>Math.round(16*Math.random()).toString(16))}`,m=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite",b,c;i=g,d.attr("id",i),function(a,b){a.attr("aria-live",b)}(d,m),t(),e.navigation&&e.navigation.$nextEl&&(b=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(c=e.navigation.$prevEl),b&&b.length&&r(b,g,a.nextSlideMessage),c&&c.length&&r(c,g,a.prevSlideMessage),q()&&e.pagination.$el.on("keydown",W(e.params.pagination.bulletClass),o),e.$el.on("focus",s,!0)};a("beforeInit",()=>{f=d(``)}),a("afterInit",()=>{e.params.a11y.enabled&&u()}),a("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&t()}),a("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&function(){if(e.params.loop||e.params.rewind||!e.navigation)return;let{$nextEl:a,$prevEl:b}=e.navigation;b&&b.length>0&&(e.isBeginning?(m(b),i(b)):(n(b),h(b))),a&&a.length>0&&(e.isEnd?(m(a),i(a)):(n(a),h(a)))}()}),a("paginationUpdate",()=>{e.params.a11y.enabled&&function(){let a=e.params.a11y;p()&&e.pagination.bullets.each(c=>{let b=d(c);e.params.pagination.clickable&&(h(b),e.params.pagination.renderBullet||(j(b,"button"),l(b,a.paginationBulletMessage.replace(/\{\{index\}\}/,b.index()+1)))),b.is(`.${e.params.pagination.bulletActiveClass}`)?b.attr("aria-current","true"):b.removeAttr("aria-current")})}()}),a("destroy",()=>{let a,b;e.params.a11y.enabled&&(f&&f.length>0&&f.remove(),e.navigation&&e.navigation.$nextEl&&(a=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(b=e.navigation.$prevEl),a&&a.off("keydown",o),b&&b.off("keydown",o),q()&&e.pagination.$el.off("keydown",W(e.params.pagination.bulletClass),o),e.$el.off("focus",s,!0))})},function(b){let{swiper:d,extendParams:c,on:a}=b;c({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let e=!1,f={},g=a=>a.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),h=b=>{let e=q(),c;c=b?new URL(b):e.location;let a=c.pathname.slice(1).split("/").filter(a=>""!==a),d=a.length;return{key:a[d-2],value:a[d-1]}},i=(f,j)=>{let c=q();if(!e||!d.params.history.enabled)return;let h;h=d.params.url?new URL(d.params.url):c.location;let k=d.slides.eq(j),a=g(k.attr("data-history"));if(d.params.history.root.length>0){let b=d.params.history.root;"/"===b[b.length-1]&&(b=b.slice(0,b.length-1)),a=`${b}/${f}/${a}`}else h.pathname.includes(f)||(a=`${f}/${a}`);d.params.history.keepQuery&&(a+=h.search);let i=c.history.state;i&&i.value===a||(d.params.history.replaceState?c.history.replaceState({value:a},null,a):c.history.pushState({value:a},null,a))},j=(c,e,f)=>{if(e)for(let a=0,h=d.slides.length;a{f=h(d.params.url),j(d.params.speed,f.value,!1)};a("init",()=>{d.params.history.enabled&&(()=>{let a=q();if(d.params.history){if(!a.history||!a.history.pushState)return d.params.history.enabled=!1,void(d.params.hashNavigation.enabled=!0);e=!0,((f=h(d.params.url)).key||f.value)&&(j(0,f.value,d.params.runCallbacksOnInit),d.params.history.replaceState||a.addEventListener("popstate",k))}})()}),a("destroy",()=>{d.params.history.enabled&&(()=>{let a=q();d.params.history.replaceState||a.removeEventListener("popstate",k)})()}),a("transitionEnd _freeModeNoMomentumRelease",()=>{e&&i(d.params.history.key,d.activeIndex)}),a("slideChange",()=>{e&&d.params.cssMode&&i(d.params.history.key,d.activeIndex)})},function(b){let{swiper:e,extendParams:c,emit:f,on:a}=b,g=!1,h=o(),i=q();c({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}});let j=()=>{f("hashChange");let a=h.location.hash.replace("#","");if(a!==e.slides.eq(e.activeIndex).attr("data-hash")){let b=e.$wrapperEl.children(`.${e.params.slideClass}[data-hash="${a}"]`).index();if(void 0===b)return;e.slideTo(b)}},k=()=>{if(g&&e.params.hashNavigation.enabled){if(e.params.hashNavigation.replaceState&&i.history&&i.history.replaceState)i.history.replaceState(null,null,`#${e.slides.eq(e.activeIndex).attr("data-hash")}`||""),f("hashSet");else{let a=e.slides.eq(e.activeIndex),b=a.attr("data-hash")||a.attr("data-history");h.location.hash=b||"",f("hashSet")}}};a("init",()=>{e.params.hashNavigation.enabled&&(()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;g=!0;let c=h.location.hash.replace("#","");if(c){let f=0;for(let b=0,k=e.slides.length;b{e.params.hashNavigation.enabled&&e.params.hashNavigation.watchState&&d(i).off("hashchange",j)}),a("transitionEnd _freeModeNoMomentumRelease",()=>{g&&k()}),a("slideChange",()=>{g&&e.params.cssMode&&k()})},function(c){let i,{swiper:b,extendParams:d,on:a,emit:j}=c;function e(){let a=b.slides.eq(b.activeIndex),c=b.params.autoplay.delay;a.attr("data-swiper-autoplay")&&(c=a.attr("data-swiper-autoplay")||b.params.autoplay.delay),clearTimeout(i),i=t(()=>{let a;b.params.autoplay.reverseDirection?b.params.loop?(b.loopFix(),a=b.slidePrev(b.params.speed,!0,!0),j("autoplay")):b.isBeginning?b.params.autoplay.stopOnLastSlide?g():(a=b.slideTo(b.slides.length-1,b.params.speed,!0,!0),j("autoplay")):(a=b.slidePrev(b.params.speed,!0,!0),j("autoplay")):b.params.loop?(b.loopFix(),a=b.slideNext(b.params.speed,!0,!0),j("autoplay")):b.isEnd?b.params.autoplay.stopOnLastSlide?g():(a=b.slideTo(0,b.params.speed,!0,!0),j("autoplay")):(a=b.slideNext(b.params.speed,!0,!0),j("autoplay")),(b.params.cssMode&&b.autoplay.running|| !1===a)&&e()},c)}function f(){return void 0===i&& !b.autoplay.running&&(b.autoplay.running=!0,j("autoplayStart"),e(),!0)}function g(){return!!b.autoplay.running&& void 0!==i&&(i&&(clearTimeout(i),i=void 0),b.autoplay.running=!1,j("autoplayStop"),!0)}function h(a){b.autoplay.running&&(b.autoplay.paused||(i&&clearTimeout(i),b.autoplay.paused=!0,0!==a&&b.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach(a=>{b.$wrapperEl[0].addEventListener(a,l)}):(b.autoplay.paused=!1,e())))}function k(){let a=o();"hidden"===a.visibilityState&&b.autoplay.running&&h(),"visible"===a.visibilityState&&b.autoplay.paused&&(e(),b.autoplay.paused=!1)}function l(a){b&&!b.destroyed&&b.$wrapperEl&&a.target===b.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach(a=>{b.$wrapperEl[0].removeEventListener(a,l)}),b.autoplay.paused=!1,b.autoplay.running?e():g())}function m(){b.params.autoplay.disableOnInteraction?g():(j("autoplayPause"),h()),["transitionend","webkitTransitionEnd"].forEach(a=>{b.$wrapperEl[0].removeEventListener(a,l)})}function n(){b.params.autoplay.disableOnInteraction||(b.autoplay.paused=!1,j("autoplayResume"),e())}b.autoplay={running:!1,paused:!1},d({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}}),a("init",()=>{b.params.autoplay.enabled&&(f(),o().addEventListener("visibilitychange",k),b.params.autoplay.pauseOnMouseEnter&&(b.$el.on("mouseenter",m),b.$el.on("mouseleave",n)))}),a("beforeTransitionStart",(d,a,c)=>{b.autoplay.running&&(c||!b.params.autoplay.disableOnInteraction?b.autoplay.pause(a):g())}),a("sliderFirstMove",()=>{b.autoplay.running&&(b.params.autoplay.disableOnInteraction?g():h())}),a("touchEnd",()=>{b.params.cssMode&&b.autoplay.paused&&!b.params.autoplay.disableOnInteraction&&e()}),a("destroy",()=>{b.$el.off("mouseenter",m),b.$el.off("mouseleave",n),b.autoplay.running&&g(),o().removeEventListener("visibilitychange",k)}),Object.assign(b.autoplay,{pause:h,run:e,start:f,stop:g})},function(c){let{swiper:b,extendParams:e,on:a}=c;e({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let h=!1,i=!1;function j(){let a=b.thumbs.swiper;if(!a||a.destroyed)return;let h=a.clickedIndex,i=a.clickedSlide;if(i&&d(i).hasClass(b.params.thumbs.slideThumbActiveClass)||null==h)return;let e;if(e=a.params.loop?parseInt(d(a.clickedSlide).attr("data-swiper-slide-index"),10):h,b.params.loop){let c=b.activeIndex;b.slides.eq(c).hasClass(b.params.slideDuplicateClass)&&(b.loopFix(),b._clientLeft=b.$wrapperEl[0].clientLeft,c=b.activeIndex);let f=b.slides.eq(c).prevAll(`[data-swiper-slide-index="${e}"]`).eq(0).index(),g=b.slides.eq(c).nextAll(`[data-swiper-slide-index="${e}"]`).eq(0).index();e=void 0===f?g:void 0===g?f:g-c1?e:c:e-cb.previousIndex?"next":"prev"}else i=(d=b.realIndex)>b.previousIndex?"next":"prev";n&&(d+="next"===i?h:-1*h),a.visibleSlidesIndexes&&0>a.visibleSlidesIndexes.indexOf(d)&&(a.params.centeredSlides?d=d>c?d-Math.floor(m/2)+1:d+Math.floor(m/2)-1:d>c&&a.params.slidesPerGroup,a.slideTo(d,o?0:void 0))}let f=1,j=b.params.thumbs.slideThumbActiveClass;if(b.params.slidesPerView>1&&!b.params.centeredSlides&&(f=b.params.slidesPerView),b.params.thumbs.multipleActiveThumbs||(f=1),f=Math.floor(f),a.slides.removeClass(j),a.params.loop||a.params.virtual&&a.params.virtual.enabled)for(let k=0;k{let{thumbs:a}=b.params;a&&a.swiper&&(f(),g(!0))}),a("slideChange update resize observerUpdate",()=>{g()}),a("setTransition",(d,c)=>{let a=b.thumbs.swiper;a&&!a.destroyed&&a.setTransition(c)}),a("beforeDestroy",()=>{let a=b.thumbs.swiper;a&&!a.destroyed&&i&&a.destroy()}),Object.assign(b.thumbs,{init:f,update:g})},function(a){let{swiper:b,extendParams:c,emit:d,once:e}=a;c({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(b,{freeMode:{onTouchStart:function(){let a=b.getTranslate();b.setTranslate(a),b.setTransition(0),b.touchEventsData.velocities.length=0,b.freeMode.onTouchEnd({currentPos:b.rtl?b.translate:-b.translate})},onTouchMove:function(){let{touchEventsData:a,touches:c}=b;0===a.velocities.length&&a.velocities.push({position:c[b.isHorizontal()?"startX":"startY"],time:a.touchStartTime}),a.velocities.push({position:c[b.isHorizontal()?"currentX":"currentY"],time:u()})},onTouchEnd:function(x){let{currentPos:q}=x,{params:c,$wrapperEl:r,rtlTranslate:l,snapGrid:f,touchEventsData:g}=b,y=u()-g.touchStartTime;if(q< -b.minTranslate())b.slideTo(b.activeIndex);else if(q> -b.maxTranslate())b.slides.length1){let m=g.velocities.pop(),s=g.velocities.pop(),z=m.position-s.position,t=m.time-s.time;b.velocity=z/t,b.velocity/=2,Math.abs(b.velocity)150||u()-m.time>300)&&(b.velocity=0)}else b.velocity=0;b.velocity*=c.freeMode.momentumVelocityRatio,g.velocities.length=0;let h=1e3*c.freeMode.momentumRatio,A=b.velocity*h,a=b.translate+A;l&&(a=-a);let n,o=!1,j=20*Math.abs(b.velocity)*c.freeMode.momentumBounceRatio,p;if(ab.minTranslate())c.freeMode.momentumBounce?(a-b.minTranslate()>j&&(a=b.minTranslate()+j),n=b.minTranslate(),o=!0,g.allowMomentumBounce=!0):a=b.minTranslate(),c.loop&&c.centeredSlides&&(p=!0);else if(c.freeMode.sticky){let i;for(let k=0;k -a){i=k;break}a=-(a=Math.abs(f[i]-a){b.loopFix()}),0!==b.velocity){if(h=l?Math.abs((-a-b.translate)/b.velocity):Math.abs((a-b.translate)/b.velocity),c.freeMode.sticky){let v=Math.abs((l?-a:a)-b.translate),w=b.slidesSizesGrid[b.activeIndex];h=v{b&&!b.destroyed&&g.allowMomentumBounce&&(d("momentumBounce"),b.setTransition(c.speed),setTimeout(()=>{b.setTranslate(n),r.transitionEnd(()=>{b&&!b.destroyed&&b.transitionEnd()})},0))})):b.velocity?(d("_freeModeNoMomentumRelease"),b.updateProgress(a),b.setTransition(h),b.setTranslate(a),b.transitionStart(!0,b.swipeDirection),b.animating||(b.animating=!0,r.transitionEnd(()=>{b&&!b.destroyed&&b.transitionEnd()}))):b.updateProgress(a),b.updateActiveIndex(),b.updateSlidesClasses()}else{if(c.freeMode.sticky)return void b.slideToClosest();c.freeMode&&d("_freeModeNoMomentumRelease")}(!c.freeMode.momentum||y>=c.longSwipesMs)&&(b.updateProgress(),b.updateActiveIndex(),b.updateSlidesClasses())}}}})},function(a){let d,e,f,{swiper:b,extendParams:c}=a;c({grid:{rows:1,fill:"column"}}),b.grid={initSlides(c){let{slidesPerView:g}=b.params,{rows:a,fill:h}=b.params.grid;e=d/a,f=Math.floor(c/a),d=Math.floor(c/a)===c/a?c:Math.ceil(c/a)*a,"auto"!==g&&"row"===h&&(d=Math.max(d,g*a))},updateSlide(i,l,q,r){let{slidesPerGroup:h,spaceBetween:m}=b.params,{rows:c,fill:n}=b.params.grid,k,g,a;if("row"===n&&h>1){let j=Math.floor(i/(h*c)),o=i-c*h*j,p=0===j?h:Math.min(Math.ceil((q-j*c*h)/c),h);a=Math.floor(o/p),g=o-a*p+j*h,k=g+a*d/c,l.css({"-webkit-order":k,order:k})}else"column"===n?(g=Math.floor(i/c),a=i-g*c,(g>f||g===f&&a===c-1)&&(a+=1)>=c&&(a=0,g+=1)):(a=Math.floor(i/e),g=i-a*e);l.css(r("margin-top"),0!==a?m&&`${m}px`:"")},updateWrapperSize(h,a,i){let{spaceBetween:e,centeredSlides:j,roundLengths:k}=b.params,{rows:l}=b.params.grid;if(b.virtualSize=(h+e)*d,b.virtualSize=Math.ceil(b.virtualSize/l)-e,b.$wrapperEl.css({[i("width")]:`${b.virtualSize+e}px`}),j){a.splice(0,a.length);let g=[];for(let c=0;c({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!b.params.cssMode})})},function(a){let{swiper:b,extendParams:c,on:e}=a;c({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});let f=(a,f,e)=>{let b=e?a.find(".swiper-slide-shadow-left"):a.find(".swiper-slide-shadow-top"),c=e?a.find(".swiper-slide-shadow-right"):a.find(".swiper-slide-shadow-bottom");0===b.length&&(b=d(`
    `),a.append(b)),0===c.length&&(c=d(`
    `),a.append(c)),b.length&&(b[0].style.opacity=Math.max(-f,0)),c.length&&(c[0].style.opacity=Math.max(f,0))};ac({effect:"cube",swiper:b,on:e,setTranslate(){let{$el:t,$wrapperEl:k,slides:u,width:r,height:v,rtlTranslate:s,size:a,browser:w}=b,g=b.params.cubeEffect,i=b.isHorizontal(),B=b.virtual&&b.params.virtual.enabled,c,j=0;g.shadow&&(i?(0===(c=k.find(".swiper-cube-shadow")).length&&(c=d('
    '),k.append(c)),c.css({height:`${r}px`})):0===(c=t.find(".swiper-cube-shadow")).length&&(c=d('
    '),t.append(c)));for(let p=0;p -1&&(j=90*h+90*n,s&&(j=-(90*h)-90*n)),q.transform(C),g.slideShadows&&f(q,n,i)}if(k.css({"-webkit-transform-origin":`50% 50% -${a/2}px`,"transform-origin":`50% 50% -${a/2}px`}),g.shadow){if(i)c.transform(`translate3d(0px, ${r/2+g.shadowOffset}px, ${-r/2}px) rotateX(90deg) rotateZ(0deg) scale(${g.shadowScale})`);else{let y=Math.abs(j)-90*Math.floor(Math.abs(j)/90),D=1.5-(Math.sin(2*y*Math.PI/360)/2+Math.cos(2*y*Math.PI/360)/2),E=g.shadowScale,z=g.shadowScale/D,F=g.shadowOffset;c.transform(`scale3d(${E}, 1, ${z}) translate3d(0px, ${v/2+F}px, ${-v/2/z}px) rotateX(-90deg)`)}}let A=w.isSafari||w.isWebView?-a/2:0;k.transform(`translate3d(0px,0,${A}px) rotateX(${b.isHorizontal()?0:j}deg) rotateY(${b.isHorizontal()?-j:0}deg)`),k[0].style.setProperty("--swiper-cube-translate-z",`${A}px`)},setTransition(a){let{$el:c,slides:d}=b;d.transition(a).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(a),b.params.cubeEffect.shadow&&!b.isHorizontal()&&c.find(".swiper-cube-shadow").transition(a)},recreateShadows(){let a=b.isHorizontal();b.slides.each(b=>{let c=Math.max(Math.min(b.progress,1),-1);f(d(b),c,a)})},getEffectParams:()=>b.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})},function(a){let{swiper:b,extendParams:c,on:e}=a;c({flipEffect:{slideShadows:!0,limitRotation:!0,transformEl:null}});let f=(a,e,f)=>{let c=b.isHorizontal()?a.find(".swiper-slide-shadow-left"):a.find(".swiper-slide-shadow-top"),d=b.isHorizontal()?a.find(".swiper-slide-shadow-right"):a.find(".swiper-slide-shadow-bottom");0===c.length&&(c=af(f,a,b.isHorizontal()?"left":"top")),0===d.length&&(d=af(f,a,b.isHorizontal()?"right":"bottom")),c.length&&(c[0].style.opacity=Math.max(-e,0)),d.length&&(d[0].style.opacity=Math.max(e,0))};ac({effect:"flip",swiper:b,on:e,setTranslate(){let{slides:e,rtlTranslate:m}=b,g=b.params.flipEffect;for(let h=0;h{let e=d(c),g=e[0].progress;b.params.flipEffect.limitRotation&&(g=Math.max(Math.min(c.progress,1),-1)),f(e,g,a)})},getEffectParams:()=>b.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!b.params.cssMode})})},function(a){let{swiper:b,extendParams:c,on:d}=a;c({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0,transformEl:null}}),ac({effect:"coverflow",swiper:b,on:d,setTranslate(){let{width:u,height:v,slides:q,slidesSizesGrid:w}=b,a=b.params.coverflowEffect,d=b.isHorizontal(),r=b.translate,x=d?u/2-r:v/2-r,s=d?a.rotate:-a.rotate,y=a.depth;for(let g=0,z=q.length;gMath.abs(o)&&(o=0),.001>Math.abs(n)&&(n=0),.001>Math.abs(m)&&(m=0),.001>Math.abs(k)&&(k=0),.001>Math.abs(l)&&(l=0),.001>Math.abs(p)&&(p=0);let A=`translate3d(${o}px,${n}px,${m}px) rotateX(${l}deg) rotateY(${k}deg) scale(${p})`;if(ad(a,e).transform(A),e[0].style.zIndex=1-Math.abs(Math.round(c)),a.slideShadows){let h=d?e.find(".swiper-slide-shadow-left"):e.find(".swiper-slide-shadow-top"),i=d?e.find(".swiper-slide-shadow-right"):e.find(".swiper-slide-shadow-bottom");0===h.length&&(h=af(a,e,d?"left":"top")),0===i.length&&(i=af(a,e,d?"right":"bottom")),h.length&&(h[0].style.opacity=c>0?c:0),i.length&&(i[0].style.opacity=-c>0?-c:0)}}},setTransition(a){let{transformEl:c}=b.params.coverflowEffect;(c?b.slides.find(c):b.slides).transition(a).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(a)},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})},function(a){let{swiper:b,extendParams:c,on:d}=a;c({creativeEffect:{transformEl:null,limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});let e=a=>"string"==typeof a?a:`${a}px`;ac({effect:"creative",swiper:b,on:d,setTranslate(){let{slides:m,$wrapperEl:r,slidesSizesGrid:s}=b,a=b.params.creativeEffect,{progressMultiplier:i}=a,o=b.params.centeredSlides;if(o){let t=s[0]/2-b.params.slidesOffsetBefore||0;r.transform(`translateX(calc(50% - ${t}px))`)}for(let n=0;n0&&(c=a.prev,k=!0),h.forEach((b,a)=>{h[a]=`calc(${b}px + (${e(c.translate[a])} * ${Math.abs(g*i)}))`}),j.forEach((b,a)=>{j[a]=c.rotate[a]*Math.abs(g*i)}),d[0].style.zIndex=-Math.abs(Math.round(u))+m.length;let v=h.join(", "),w=`rotateX(${j[0]}deg) rotateY(${j[1]}deg) rotateZ(${j[2]}deg)`,x=f<0?`scale(${1+(1-c.scale)*f*i})`:`scale(${1-(1-c.scale)*f*i})`,y=f<0?1+(1-c.opacity)*f*i:1-(1-c.opacity)*f*i,z=`translate3d(${v}) ${w} ${x}`;if(k&&c.shadow||!k){let l=d.children(".swiper-slide-shadow");if(0===l.length&&c.shadow&&(l=af(a,d)),l.length){let A=a.shadowPerProgress?g*(1/a.limitProgress):g;l[0].style.opacity=Math.min(Math.max(Math.abs(A),0),1)}}let q=ad(a,d);q.transform(z).css({opacity:y}),c.origin&&q.css("transform-origin",c.origin)}},setTransition(a){let{transformEl:c}=b.params.creativeEffect;(c?b.slides.find(c):b.slides).transition(a).find(".swiper-slide-shadow").transition(a),ae({swiper:b,duration:a,transformEl:c,allSlides:!0})},perspective:()=>b.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!b.params.cssMode})})},function(a){let{swiper:b,extendParams:c,on:d}=a;c({cardsEffect:{slideShadows:!0,transformEl:null,rotate:!0}}),ac({effect:"cards",swiper:b,on:d,setTranslate(){let{slides:f,activeIndex:g}=b,h=b.params.cardsEffect,{startTranslate:p,isTouched:q}=b.touchEventsData,r=b.translate;for(let e=0;e0&&a<1&&(q||b.params.cssMode)&&r -1&&(q||b.params.cssMode)&&r>p;if(v||w){let k=(1-Math.abs((Math.abs(a)-.5)/.5))**.5;t+=-28*a*k,n+=-0.5*k,o+=96*k,i=-25*k*Math.abs(a)+"%"}if(c=a<0?`calc(${c}px + (${o*Math.abs(a)}%))`:a>0?`calc(${c}px + (-${o*Math.abs(a)}%))`:`${c}px`,!b.isHorizontal()){let x=i;i=c,c=x}let y=a<0?""+(1+(1-n)*a):""+(1-(1-n)*a),z=`translate3d(${c}, ${i}, ${u}px)rotateZ(${h.rotate?t:0}deg)scale(${y})`;if(h.slideShadows){let l=d.find(".swiper-slide-shadow");0===l.length&&(l=af(h,d)),l.length&&(l[0].style.opacity=Math.min(Math.max((Math.abs(a)-.5)/.5,0),1))}d[0].style.zIndex=-Math.abs(Math.round(s))+f.length,ad(h,d).transform(z)}},setTransition(a){let{transformEl:c}=b.params.cardsEffect;(c?b.slides.find(c):b.slides).transition(a).find(".swiper-slide-shadow").transition(a),ae({swiper:b,duration:a,transformEl:c})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!b.params.cssMode})})}];return a.use(l),a}),window.SEMICOLON_swiperInit=function(a){if((a=a.filter(":not(.customjs)")).length<1)return!0;a.each(function(){if(!$(this).hasClass("swiper_wrapper")||$(this).find(".swiper-slide").length<1)return!0;let a=$(this).filter(".swiper_wrapper"),o=a.attr("data-direction")||"horizontal",p=a.attr("data-speed")||300,b=a.attr("data-autoplay"),f=a.attr("data-hover"),c=a.attr("data-loop"),d=a.attr("data-start")||1,q=a.attr("data-effect")||"slide",g=a.attr("data-grab"),h=a.attr("data-parallax"),l=a.find(".slide-number-total"),i=a.find(".slide-number-current"),m=a.attr("data-video-autoplay"),e=a.attr("data-settings"),j,k;b=b?Number(b):999999999,f="true"==f,c="true"==c,h="true"==h,g="false"!=g,m="false"!=m,d="random"===d?Math.floor(Math.random()*a.find(".swiper-slide:not(.swiper-slide-duplicate)").length):Number(d)-1,a.find(".swiper-pagination").length>0?(j=a.find(".swiper-pagination").get(0),k=!0):(j="",k=!1);let r=a.find(".slider-arrow-right").get(0),s=a.find(".slider-arrow-left").get(0),t=a.find(".swiper-scrollbar").get(0),n=new Swiper(a.find(".swiper-parent").get(0),{direction:o,speed:Number(p),autoplay:{delay:b,pauseOnMouseEnter:f},loop:c,initialSlide:d,effect:q,parallax:h,slidesPerView:1,grabCursor:g,pagination:{el:j,clickable:k},navigation:{prevEl:s,nextEl:r},scrollbar:{el:t},on:{afterInit:function(b){SEMICOLON.slider.sliderDimensions(),a.find(".yt-bg-player").attr("data-autoplay","false").removeClass("customjs"),SEMICOLON.widget.youtubeBgVideo({parent:$(b)});let c=jQuery(".swiper-slide-active").find(".yt-bg-player:not(.customjs)");c.on("YTPReady",function(){setTimeout(()=>{c.filter(".mb_YTPlayer").YTPPlay()},1200)}),$(".swiper-slide-active [data-animate]").each(function(){let a=$(this),b=a.attr("data-delay"),c=0;if(c=b?Number(b)+750:750,!a.hasClass("animated")){a.addClass("not-animated");let d=a.attr("data-animate");setTimeout(function(){a.removeClass("not-animated").addClass(d+" animated")},c)}}),a.find("[data-animate]").each(function(){let a=$(this),b=a.attr("data-animate");if(a.parents(".swiper-slide").hasClass("swiper-slide-active"))return!0;a.removeClass("animated").removeClass(b).addClass("not-animated")}),SEMICOLON.slider.swiperSliderMenu()},transitionStart:function(b){i.length>0&&(!0==c?i.html(Number(a.find(".swiper-slide.swiper-slide-active").attr("data-swiper-slide-index"))+1):i.html(n.activeIndex+1)),a.find("[data-animate]").each(function(){let a=$(this),b=a.attr("data-animate");if(a.parents(".swiper-slide").hasClass("swiper-slide-active"))return!0;a.removeClass("animated").removeClass(b).addClass("not-animated")}),SEMICOLON.slider.swiperSliderMenu()},transitionEnd:function(b){a.find(".swiper-slide").each(function(){let a=$(this);a.find("video").length>0&& !0==m&&a.find("video").get(0).pause(),a.find(".yt-bg-player.mb_YTPlayer:not(.customjs)").length>0&&a.find(".yt-bg-player.mb_YTPlayer:not(.customjs)").YTPPause()}),a.find('.swiper-slide:not(".swiper-slide-active")').each(function(){let a=$(this);a.find("video").length>0&&0!=a.find("video").get(0).currentTime&&(a.find("video").get(0).currentTime=0),a.find(".yt-bg-player.mb_YTPlayer:not(.customjs)").length>0&&a.find(".yt-bg-player.mb_YTPlayer:not(.customjs)").YTPSeekTo(a.find(".yt-bg-player.mb_YTPlayer:not(.customjs)").attr("data-start"))}),a.find(".swiper-slide.swiper-slide-active").find("video").length>0&& !0==m&&a.find(".swiper-slide.swiper-slide-active").find("video").get(0).play(),a.find(".swiper-slide.swiper-slide-active").find(".yt-bg-player.mb_YTPlayer:not(.customjs)").length>0&& !0==m&&a.find(".swiper-slide.swiper-slide-active").find(".yt-bg-player.mb_YTPlayer:not(.customjs)").YTPPlay(),a.find(".swiper-slide.swiper-slide-active [data-animate]").each(function(){let a=$(this),b=a.attr("data-delay"),c=0;if(c=b?Number(b)+300:300,!a.hasClass("animated")){a.addClass("not-animated");let d=a.attr("data-animate");setTimeout(function(){a.removeClass("not-animated").addClass(d+" animated")},c)}})}}});i.length>0&&(!0==c?i.html(n.realIndex+1):i.html(n.activeIndex+1)),l.length>0&&l.html(a.find(".swiper-slide:not(.swiper-slide-duplicate)").length),e&&(e=Function("return "+e)(),Object.keys(e).forEach(function(a,b){n.params[a]=e[a],n.update()}))})},function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):a(jQuery)}(function(a){"use strict";a.ui=a.ui||{},a.ui.version="1.13.1";var h,t=0,u=Array.prototype.hasOwnProperty,v=Array.prototype.slice;a.cleanData=(h=a.cleanData,function(c){for(var d,b,e=0;null!=(b=c[e]);e++)(d=a._data(b,"events"))&&d.remove&&a(b).triggerHandler("remove");h(c)}),a.widget=function(b,g,c){var e,d,h,j={},f=b.split(".")[0],i=f+"-"+(b=b.split(".")[1]);return c||(c=g,g=a.Widget),Array.isArray(c)&&(c=a.extend.apply(null,[{}].concat(c))),a.expr.pseudos[i.toLowerCase()]=function(b){return!!a.data(b,i)},a[f]=a[f]||{},e=a[f][b],d=a[f][b]=function(a,b){if(!this||!this._createWidget)return new d(a,b);arguments.length&&this._createWidget(a,b)},a.extend(d,e,{version:c.version,_proto:a.extend({},c),_childConstructors:[]}),(h=new g).options=a.widget.extend({},h.options),a.each(c,function(b,a){function c(){return g.prototype[b].apply(this,arguments)}function d(a){return g.prototype[b].apply(this,a)}j[b]="function"==typeof a?function(){var b,e=this._super,f=this._superApply;return this._super=c,this._superApply=d,b=a.apply(this,arguments),this._super=e,this._superApply=f,b}:a}),d.prototype=a.widget.extend(h,{widgetEventPrefix:e&&h.widgetEventPrefix||b},j,{constructor:d,namespace:f,widgetName:b,widgetFullName:i}),e?(a.each(e._childConstructors,function(e,b){var c=b.prototype;a.widget(c.namespace+"."+c.widgetName,d,b._proto)}),delete e._childConstructors):g._childConstructors.push(d),a.widget.bridge(b,d),d},a.widget.extend=function(d){for(var b,c,f=v.call(arguments,1),e=0,g=f.length;e",options:{classes:{},disabled:!1,create:null},_createWidget:function(c,b){b=a(b||this.defaultElement||this)[0],this.element=a(b),this.uuid=t++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=a(),this.hoverable=a(),this.focusable=a(),this.classesElementLookup={},b!==this&&(a.data(b,this.widgetFullName,this),this._on(!0,this.element,{remove:function(a){a.target===b&&this.destroy()}}),this.document=a(b.style?b.ownerDocument:b.document||b),this.window=a(this.document[0].defaultView||this.document[0].parentWindow)),this.options=a.widget.extend({},this.options,this._getCreateOptions(),c),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:a.noop,_create:a.noop,_init:a.noop,destroy:function(){var b=this;this._destroy(),a.each(this.classesElementLookup,function(a,c){b._removeClass(c,a)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:a.noop,widget:function(){return this.element},option:function(b,g){var d,c,e,f=b;if(0===arguments.length)return a.widget.extend({},this.options);if("string"==typeof b){if(f={},b=(d=b.split(".")).shift(),d.length){for(c=f[b]=a.widget.extend({},this.options[b]),e=0;e?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var b=this.options,c=this.tablist.children(":has(a[href])");b.disabled=a.map(c.filter(".ui-state-disabled"),function(a){return c.index(a)}),this._processTabs(),!1!==b.active&&this.anchors.length?this.active.length&&!a.contains(this.tablist[0],this.active[0])?this.tabs.length===b.disabled.length?(b.active=!1,this.active=a()):this._activate(this._findNextTab(Math.max(0,b.active-1),!1)):b.active=this.tabs.index(this.active):(b.active=!1,this.active=a()),this._refresh()},_refresh:function(){this._setOptionDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"}),this.active.length?(this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}),this._addClass(this.active,"ui-tabs-active","ui-state-active"),this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var e=this,b=this.tabs,c=this.anchors,d=this.panels;this.tablist=this._getList().attr("role","tablist"),this._addClass(this.tablist,"ui-tabs-nav","ui-helper-reset ui-helper-clearfix ui-widget-header"),this.tablist.on("mousedown"+this.eventNamespace,"> li",function(b){a(this).is(".ui-state-disabled")&&b.preventDefault()}).on("focus"+this.eventNamespace,".ui-tabs-anchor",function(){a(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this.tabs=this.tablist.find("> li:has(a[href])").attr({role:"tab",tabIndex:-1}),this._addClass(this.tabs,"ui-tabs-tab","ui-state-default"),this.anchors=this.tabs.map(function(){return a("a",this)[0]}).attr({tabIndex:-1}),this._addClass(this.anchors,"ui-tabs-anchor"),this.panels=a(),this.anchors.each(function(j,d){var g,b,c,h=a(d).uniqueId().attr("id"),f=a(d).closest("li"),i=f.attr("aria-controls");e._isLocal(d)?(c=(g=d.hash).substring(1),b=e.element.find(e._sanitizeSelector(g))):(c=f.attr("aria-controls")||a({}).uniqueId()[0].id,(b=e.element.find(g="#"+c)).length||(b=e._createPanel(c)).insertAfter(e.panels[j-1]||e.tablist),b.attr("aria-live","polite")),b.length&&(e.panels=e.panels.add(b)),i&&f.data("ui-tabs-aria-controls",i),f.attr({"aria-controls":c,"aria-labelledby":h}),b.attr("aria-labelledby",h)}),this.panels.attr("role","tabpanel"),this._addClass(this.panels,"ui-tabs-panel","ui-widget-content"),b&&(this._off(b.not(this.tabs)),this._off(c.not(this.anchors)),this._off(d.not(this.panels)))},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(b){return a("
    ").attr("id",b).data("ui-tabs-destroy",!0)},_setOptionDisabled:function(b){var c,d;for(Array.isArray(b)&&(b.length?b.length===this.anchors.length&&(b=!0):b=!1),d=0;c=this.tabs[d];d++)c=a(c),!0===b|| -1!==a.inArray(d,b)?(c.attr("aria-disabled","true"),this._addClass(c,null,"ui-state-disabled")):(c.removeAttr("aria-disabled"),this._removeClass(c,null,"ui-state-disabled"));this.options.disabled=b,this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!0===b)},_setupEvents:function(b){var c={};b&&a.each(b.split(" "),function(b,a){c[a]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(a){a.preventDefault()}}),this._on(this.anchors,c),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(c){var b,d=this.element.parent();"fill"===c?(b=d.height(),b-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var c=a(this),d=c.css("position");"absolute"!==d&&"fixed"!==d&&(b-=c.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){b-=a(this).outerHeight(!0)}),this.panels.each(function(){a(this).height(Math.max(0,b-a(this).innerHeight()+a(this).height()))}).css("overflow","auto")):"auto"===c&&(b=0,this.panels.each(function(){b=Math.max(b,a(this).height("").height())}).height(b))},_eventHandler:function(d){var e=this.options,c=this.active,b=a(d.currentTarget).closest("li"),f=b[0]===c[0],g=f&&e.collapsible,h=g?a():this._getPanelForTab(b),i=c.length?this._getPanelForTab(c):a(),c={oldTab:c,oldPanel:i,newTab:g?a():b,newPanel:h};d.preventDefault(),b.hasClass("ui-state-disabled")||b.hasClass("ui-tabs-loading")||this.running||f&&!e.collapsible|| !1===this._trigger("beforeActivate",d,c)||(e.active=!g&&this.tabs.index(b),this.active=f?a():b,this.xhr&&this.xhr.abort(),i.length||h.length||a.error("jQuery UI Tabs: Mismatching fragment identifier."),h.length&&this.load(this.tabs.index(b),d),this._toggle(d,c))},_toggle:function(f,b){var g=this,d=b.newPanel,c=b.oldPanel;function h(){g.running=!1,g._trigger("activate",f,b)}function e(){g._addClass(b.newTab.closest("li"),"ui-tabs-active","ui-state-active"),d.length&&g.options.show?g._show(d,g.options.show,h):(d.show(),h())}this.running=!0,c.length&&this.options.hide?this._hide(c,this.options.hide,function(){g._removeClass(b.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),e()}):(this._removeClass(b.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),c.hide(),e()),c.attr("aria-hidden","true"),b.oldTab.attr({"aria-selected":"false","aria-expanded":"false"}),d.length&&c.length?b.oldTab.attr("tabIndex",-1):d.length&&this.tabs.filter(function(){return 0===a(this).attr("tabIndex")}).attr("tabIndex",-1),d.attr("aria-hidden","false"),b.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(b){var b=this._findActive(b);b[0]!==this.active[0]&&(b=(b=b.length?b:this.active).find(".ui-tabs-anchor")[0],this._eventHandler({target:b,currentTarget:b,preventDefault:a.noop}))},_findActive:function(b){return!1===b?a():this.tabs.eq(b)},_getIndex:function(b){return b="string"==typeof b?this.anchors.index(this.anchors.filter("[href$='"+a.escapeSelector(b)+"']")):b},_destroy:function(){this.xhr&&this.xhr.abort(),this.tablist.removeAttr("role").off(this.eventNamespace),this.anchors.removeAttr("role tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){a.data(this,"ui-tabs-destroy")?a(this).remove():a(this).removeAttr("role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")}),this.tabs.each(function(){var b=a(this),c=b.data("ui-tabs-aria-controls");c?b.attr("aria-controls",c).removeData("ui-tabs-aria-controls"):b.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(c){var b=this.options.disabled;!1!==b&&(b=void 0!==c&&(c=this._getIndex(c),Array.isArray(b)?a.map(b,function(a){return a!==c?a:null}):a.map(this.tabs,function(b,a){return a!==c?a:null})),this._setOptionDisabled(b))},disable:function(c){var b=this.options.disabled;if(!0!==b){if(void 0===c)b=!0;else{if(c=this._getIndex(c),-1!==a.inArray(c,b))return;b=Array.isArray(b)?a.merge([c],b).sort():[c]}this._setOptionDisabled(b)}},load:function(b,e){function g(a,b){"abort"===b&&h.panels.stop(!1,!0),h._removeClass(c,"ui-tabs-loading"),d.removeAttr("aria-busy"),a===h.xhr&&delete h.xhr}b=this._getIndex(b);var h=this,c=this.tabs.eq(b),b=c.find(".ui-tabs-anchor"),d=this._getPanelForTab(c),f={tab:c,panel:d};this._isLocal(b[0])||(this.xhr=a.ajax(this._ajaxSettings(b,e,f)),this.xhr&&"canceled"!==this.xhr.statusText&&(this._addClass(c,"ui-tabs-loading"),d.attr("aria-busy","true"),this.xhr.done(function(a,b,c){setTimeout(function(){d.html(a),h._trigger("load",e,f),g(c,b)},1)}).fail(function(a,b){setTimeout(function(){g(a,b)},1)})))},_ajaxSettings:function(b,c,d){var e=this;return{url:b.attr("href").replace(/#.*$/,""),beforeSend:function(b,f){return e._trigger("beforeLoad",c,a.extend({jqXHR:b,ajaxSettings:f},d))}}},_getPanelForTab:function(b){return b=a(b).attr("aria-controls"),this.element.find(this._sanitizeSelector("#"+b))}}),!1!==a.uiBackCompat&&a.widget("ui.tabs",a.ui.tabs,{_processTabs:function(){this._superApply(arguments),this._addClass(this.tabs,"ui-tab")}}),a.ui.tabs;var b=a,i={},w=i.toString,x=/^([\-+])=\s*(\d+\.?\d*)/,y=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(a){return[a[1],a[2],a[3],a[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(a){return[2.55*a[1],2.55*a[2],2.55*a[3],a[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?/,parse:function(a){return[parseInt(a[1],16),parseInt(a[2],16),parseInt(a[3],16),a[4]?(parseInt(a[4],16)/255).toFixed(2):1]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?/,parse:function(a){return[parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16),parseInt(a[3]+a[3],16),a[4]?(parseInt(a[4]+a[4],16)/255).toFixed(2):1]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(a){return[a[1],a[2]/100,a[3]/100,a[4]]}}],c=b.Color=function(a,c,d,e){return new b.Color.fn.parse(a,c,d,e)},d={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"}}}},z={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},j=c.support={},f=b("

    ")[0],g=b.each;function _(a){return null==a?a+"":"object"==typeof a?i[w.call(a)]||"object":typeof a}function A(a,c,d){var b=z[c.type]||{};return null==a?d||!c.def?null:c.def:(a=b.floor?~~a:parseFloat(a),isNaN(a)?c.def:b.mod?(a+b.mod)%b.mod:Math.min(b.max,Math.max(0,a)))}function B(a){var f=c(),e=f._rgba=[];return a=a.toLowerCase(),g(y,function(g,c){var b=c.re.exec(a),b=b&&c.parse(b),c=c.space||"rgba";if(b)return b=f[c](b),f[d[c].cache]=b[d[c].cache],e=f._rgba=b._rgba,!1}),e.length?("0,0,0,0"===e.join()&&b.extend(e,H.transparent),f):H[a]}function C(b,c,a){return 6*(a=(a+1)%1)<1?b+(c-b)*a*6:2*a<1?c:3*a<2?b+(c-b)*(2/3-a)*6:b}f.style.cssText="background-color:rgba(1,1,1,.5)",j.rgba=-1b.inArray(null,j[c].slice(0,3))&&(null==j[c][3]&&(j[c][3]=1),d.from&&(j._rgba=d.from(j[c])))}),this):void 0},is:function(a){var e=c(a),b=!0,f=this;return g(d,function(h,a){var c,d=e[a.cache];return d&&(c=f[a.cache]||a.to&&a.to(f._rgba)||[],g(a.props,function(e,a){if(null!=d[a.idx])return b=d[a.idx]===c[a.idx]})),b}),b},_space:function(){var a=[],b=this;return g(d,function(c,d){b[d.cache]&&a.push(c)}),a.pop()},transition:function(a,j){var e=(i=c(a))._space(),b=d[e],a=0===this.alpha()?c("transparent"):this,f=a[b.cache]||b.to(a._rgba),h=f.slice(),i=i[b.cache];return g(b.props,function(g,e){var d=e.idx,a=f[d],b=i[d],c=z[e.type]||{};null!==b&&(null===a?h[d]=b:(c.mod&&(b-a>c.mod/2?a+=c.mod:a-b>c.mod/2&&(a-=c.mod)),h[d]=A((b-a)*j+a,e)))}),this[e](h)},blend:function(d){if(1===this._rgba[3])return this;var a=this._rgba.slice(),e=a.pop(),f=c(d)._rgba;return c(b.map(a,function(a,b){return(1-e)*f[b]+e*a}))},toRgbaString:function(){var c="rgba(",a=b.map(this._rgba,function(a,b){return null!=a?a:2

    ").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),f={width:b.width(),height:b.height()},c=document.activeElement;try{c.id}catch(g){c=document.body}return b.wrap(d),(b[0]===c||a.contains(b[0],c))&&a(c).trigger("focus"),d=b.parent(),"static"===b.css("position")?(d.css({position:"relative"}),b.css({position:"relative"})):(a.extend(e,{position:b.css("position"),zIndex:b.css("z-index")}),a.each(["top","left","bottom","right"],function(c,a){e[a]=b.css(a),isNaN(parseInt(e[a],10))&&(e[a]="auto")}),b.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),b.css(f),d.css(e).show()},removeWrapper:function(b){var c=document.activeElement;return b.parent().is(".ui-effects-wrapper")&&(b.parent().replaceWith(b),(b[0]===c||a.contains(b[0],c))&&a(c).trigger("focus")),b}}),a.extend(a.effects,{version:"1.13.1",define:function(d,c,b){return b||(b=c,c="effect"),a.effects.effect[d]=b,a.effects.effect[d].mode=c,b},scaledDimensions:function(b,a,c){if(0===a)return{height:0,width:0,outerHeight:0,outerWidth:0};var d="horizontal"!==c?(a||100)/100:1,a="vertical"!==c?(a||100)/100:1;return{height:b.height()*a,width:b.width()*d,outerHeight:b.outerHeight()*a,outerWidth:b.outerWidth()*d}},clipToBox:function(a){return{width:a.clip.right-a.clip.left,height:a.clip.bottom-a.clip.top,left:a.clip.left,top:a.clip.top}},unshift:function(b,c,d){var a=b.queue();1").insertAfter(b).css({display:/^(inline|ruby)/.test(b.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:b.css("marginTop"),marginBottom:b.css("marginBottom"),marginLeft:b.css("marginLeft"),marginRight:b.css("marginRight"),float:b.css("float")}).outerWidth(b.outerWidth()).outerHeight(b.outerHeight()).addClass("ui-effects-placeholder"),b.data(I+"placeholder",c)),b.css({position:d,left:e.left,top:e.top}),c},removePlaceholder:function(a){var b=I+"placeholder",c=a.data(b);c&&(c.remove(),a.removeData(b))},cleanUp:function(b){a.effects.restoreStyle(b),a.effects.removePlaceholder(b)},setTransition:function(d,c,e,b){return b=b||{},a.each(c,function(f,c){var a=d.cssUnit(c);0");i.appendTo("body").addClass(d.className).css({top:b.top-g,left:b.left-h,height:e.innerHeight(),width:e.innerWidth(),position:f?"fixed":"absolute"}).animate(c,d.duration,d.easing,function(){i.remove(),"function"==typeof j&&j()})}}),a.fx.step.clip=function(b){b.clipInit||(b.start=a(b.elem).cssClip(),"string"==typeof b.end&&(b.end=O(b.end,b.elem)),b.clipInit=!0),a(b.elem).cssClip({top:b.pos*(b.end.top-b.start.top)+b.start.top,right:b.pos*(b.end.right-b.start.right)+b.start.right,bottom:b.pos*(b.end.bottom-b.start.bottom)+b.start.bottom,left:b.pos*(b.end.left-b.start.left)+b.start.left})},e={},a.each(["Quad","Cubic","Quart","Quint","Expo"],function(b,a){e[a]=function(a){return Math.pow(a,b+2)}}),a.extend(e,{Sine:function(a){return 1-Math.cos(a*Math.PI/2)},Circ:function(a){return 1-Math.sqrt(1-a*a)},Elastic:function(a){return 0===a||1===a?a:-Math.pow(2,8*(a-1))*Math.sin((80*(a-1)-7.5)*Math.PI/15)},Back:function(a){return a*a*(3*a-2)},Bounce:function(a){for(var b,c=4;a<((b=Math.pow(2,--c))-1)/11;);return 1/Math.pow(4,3-c)-7.5625*Math.pow((3*b-2)/22-a,2)}}),a.each(e,function(b,c){a.easing["easeIn"+b]=c,a.easing["easeOut"+b]=function(a){return 1-c(1-a)},a.easing["easeInOut"+b]=function(a){return a<.5?c(2*a)/2:1-c(-2*a+2)/2}}),a.effects,a.effects.define("fade","toggle",function(b,d){var c="show"===b.mode;a(this).css("opacity",c?0:1).animate({opacity:c?1:0},{queue:!1,duration:b.duration,easing:b.easing,complete:d})})}),window.SEMICOLON_tabsInit=function(a){if((a=a.filter(":not(.customjs)")).length<1)return!0;a.each(function(){let a=$(this),d=a.attr("data-action")||"click",e=a.attr("data-speed")||400,b=a.attr("data-active")||1;b-=1;let c=window.location.hash;$(c).length>0&&a.find(c).length>0&&(b=$(c).index()),a.tabs({event:d,active:Number(b),show:{effect:"fade",duration:Number(e)},activate:function(b,a){$(a.newPanel).find(".flexslider .slide").resize()}}),SEMICOLON_tabsResponsive(a),SEMICOLON_tabsResponsiveResizeInit(a),$(window).on("scwWindowResize",function(){SEMICOLON_tabsResponsiveResizeInit(a)})})},window.SEMICOLON_tabsResponsive=function(a){if((a=a.filter(".tabs-responsive")).length<1)return!0;a.each(function(){let a=$(this),b=a.find(".tab-nav"),c=a.find(".tab-container");b.children("li").each(function(){let a=$(this).children("a"),b=a.attr("href"),d=a.html();c.find(b).before('
    '+d+"
    ")})})},window.SEMICOLON_tabsResponsiveResizeInit=function(a){let b=$("body");if((a=a.filter(".tabs-responsive")).length<1)return!0;a.each(function(){let a=$(this),c=a.tabs("option","active")+1,d=a.attr("data-accordion-style");b.hasClass("device-sm")||b.hasClass("device-xs")?(a.find(".tab-nav").addClass("d-none"),a.find(".tab-container").addClass("accordion "+d).attr("data-active",c),a.find(".tab-content").addClass("accordion-content"),a.find(".accordion-header").removeClass("d-none"),SEMICOLON.widget.accordions({parent:a})):(b.hasClass("device-md")||b.hasClass("device-lg")||b.hasClass("device-xl"))&&(a.find(".tab-nav").removeClass("d-none"),a.find(".tab-container").removeClass("accordion "+d).attr("data-active",""),c=a.find(".acctitlec").next(".tab-content").index(),a.find(".tab-content").removeClass("accordion-content"),a.find(".accordion-header").addClass("d-none"),a.tabs("refresh"),c>0&&a.tabs("option","active",(c-1)/2))})},function(a){"use strict";function b(b,c){this.element=a(b),this.settings=a.extend({},d,c),this._defaults=d,this._init()}var c="Morphext",d={animation:"bounceIn",separator:",",speed:2e3,complete:a.noop};b.prototype={_init:function(){var b=this;this.phrases=[],this.element.addClass("morphext"),a.each(this.element.text().split(this.settings.separator),function(d,c){b.phrases.push(a.trim(c))}),this.index=-1,this.animate(),this.start()},animate:function(){this.index=++this.index%this.phrases.length,this.element[0].innerHTML=''+this.phrases[this.index]+"",a.isFunction(this.settings.complete)&&this.settings.complete.call(this)},start:function(){var a=this;this._interval=setInterval(function(){a.animate()},this.settings.speed)},stop:function(){this._interval=clearInterval(this._interval)}},a.fn[c]=function(d){return this.each(function(){a.data(this,"plugin_"+c)||a.data(this,"plugin_"+c,new b(this,d))})}}(jQuery),function(b,a){"object"==typeof exports&&"object"==typeof module?module.exports=a():"function"==typeof define&&define.amd?define([],a):"object"==typeof exports?exports.Typed=a():b.Typed=a()}(this,function(){return function(b){function a(d){if(c[d])return c[d].exports;var e=c[d]={exports:{},id:d,loaded:!1};return b[d].call(e.exports,e,e.exports,a),e.loaded=!0,e.exports}var c={};return a.m=b,a.c=c,a.p="",a(0)}([function(c,a,b){"use strict";function e(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0});var f=function(){function a(d,c){for(var b=0;ba.length););var i=a.substring(0,b),j=a.substring(i.length+1,b+e),k=a.substring(b+e+1);a=i+j+k,e--}d.timeout=setTimeout(function(){d.toggleBlinking(!1),b>=a.length?d.doneTyping(a,b):d.keepTyping(a,b,e),d.temporaryPause&&(d.temporaryPause=!1,d.options.onTypingResumed(d.arrayPos,d))},f)},c))}},{key:"keepTyping",value:function(b,a,c){0===a&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this)),a+=c;var d=b.substr(0,a);this.replaceText(d),this.typewrite(b,a)}},{key:"doneTyping",value:function(a,b){var c=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=setTimeout(function(){c.backspace(a,b)},this.backDelay))}},{key:"backspace",value:function(a,b){var d=this;if(!0===this.pause.status)return void this.setPauseStatus(a,b,!1);if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var c=this.humanizer(this.backSpeed);this.timeout=setTimeout(function(){b=h.htmlParser.backSpaceHtmlChars(a,b,d);var c=a.substr(0,b);if(d.replaceText(c),d.smartBackspace){var e=d.strings[d.arrayPos+1];e&&c===e.substr(0,b)?d.stopNum=b:d.stopNum=0}b>d.stopNum?(b--,d.backspace(a,b)):b<=d.stopNum&&(d.arrayPos++,d.arrayPos===d.strings.length?(d.arrayPos=0,d.options.onLastStringBackspaced(),d.shuffleStringsIfNeeded(),d.begin()):d.typewrite(d.strings[d.sequence[d.arrayPos]],b))},c)}},{key:"complete",value:function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0}},{key:"setPauseStatus",value:function(a,b,c){this.pause.typewrite=c,this.pause.curString=a,this.pause.curStrPos=b}},{key:"toggleBlinking",value:function(a){this.cursor&&(this.pause.status||this.cursorBlinking!==a&&(this.cursorBlinking=a,a?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))}},{key:"humanizer",value:function(a){return Math.round(Math.random()*a/2)+a}},{key:"shuffleStringsIfNeeded",value:function(){this.shuffle&&(this.sequence=this.sequence.sort(function(){return Math.random()-.5}))}},{key:"initFadeOut",value:function(){var a=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout(function(){a.arrayPos++,a.replaceText(""),a.strings.length>a.arrayPos?a.typewrite(a.strings[a.sequence[a.arrayPos]],0):(a.typewrite(a.strings[0],0),a.arrayPos=0)},this.fadeOutDelay)}},{key:"replaceText",value:function(a){this.attr?this.el.setAttribute(this.attr,a):this.isInput?this.el.value=a:"html"===this.contentType?this.el.innerHTML=a:this.el.textContent=a}},{key:"bindFocusEvents",value:function(){var a=this;this.isInput&&(this.el.addEventListener("focus",function(b){a.stop()}),this.el.addEventListener("blur",function(b){a.el.value&&0!==a.el.value.length||a.start()}))}},{key:"insertCursor",value:function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.setAttribute("aria-hidden",!0),this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))}}]),a}();a.default=d,c.exports=a.default},function(g,a,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function h(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0});var i=Object.assign||function(d){for(var a=1;a":";";b.substr(a+1).charAt(0)!==d&&!(++a+1>b.length););a++}return a}},{key:"backSpaceHtmlChars",value:function(c,a,e){if("html"!==e.contentType)return a;var b=c.substr(a).charAt(0);if(">"===b||";"===b){var d="";for(d=">"===b?"<":"&";c.substr(a-1).charAt(0)!==d&&!(--a<0););a--}return a}}]),a}();a.default=b;var c=new b;a.htmlParser=c}])}),window.SEMICOLON_textRotatorInit=function(a){if((a=a.filter(":not(.customjs)")).length<1)return!0;a.each(function(){let a=$(this),g=a.attr("data-typed")||"false",b=a.find(".t-rotate"),h=a.attr("data-rotate")||"fade",i=a.attr("data-speed")||1200,f=a.attr("data-separator")||",";if("true"==g){let j=b.html().split(f),c=a.attr("data-loop")||"true",d=a.attr("data-shuffle"),e=a.attr("data-cursor")||"true",k=a.attr("data-speed")||50,l=a.attr("data-backspeed")||30,m=a.attr("data-backdelay");c="true"==c,d="true"==d,e="true"==e,b.html("").addClass("plugin-typed-init"),new Typed(b.get(0),{strings:j,typeSpeed:Number(k),loop:c,shuffle:d,showCursor:e,backSpeed:Number(l),backDelay:Number(m)})}else b.Morphext({animation:h,separator:f,speed:Number(i)})})},window.scwTogglesPlugin=window.scwTogglesPlugin||{},window.SEMICOLON_togglesInit=function(a){if((a=a.filter(":not(.customjs)")).length<1)return!0;a.each(function(){let a=$(this),b=a.attr("data-speed")||300;"open"!=a.attr("data-state")?a.children(".toggle-content").hide():a.addClass("toggle-active").children(".toggle-content").slideDown(Number(b)),a.children(".toggle-header").off("click").on("click",function(){return a.toggleClass("toggle-active").children(".toggle-content").slideToggle(Number(b)),!0})})},window.SEMICOLON_twitterFeedInit=function(a){if(a.length<1)return!0;a.each(function(){let a=$(this),b=a.attr("data-username")||"twitter",c=a.attr("data-count")||3,d=a.attr("data-loader")||"include/twitter/tweets.php";$.getJSON(d+"?username="+b+"&count="+Number(c),function(b){a.hasClass("fslider")?a.find(".slider-wrap").html(sm_format_twitter3(b)).promise().done(function(){let b=setInterval(function(){a.find(".slide").length>1&&(a.removeClass("customjs"),setTimeout(function(){SEMICOLON.widget.loadFlexSlider()},500),clearInterval(b))},500)}):a.html(sm_format_twitter(b))})})};var ytp=ytp||{};let YTPRndSuffix=(new Date).getTime(),YTPTimerLabels={init:"YTPlayerInit_"+YTPRndSuffix,startPlaying:"YTPlayerStartPlay_"+YTPRndSuffix};function onYouTubeIframeAPIReady(){ytp.YTAPIReady||(ytp.YTAPIReady=!0,jQuery(document).trigger("YTAPIReady"))}let getYTPVideoID=function(a){let b,c;return a.indexOf("youtu.be")>0||a.indexOf("youtube.com/embed")>0?b=(c=(b=a.substr(a.lastIndexOf("/")+1,a.length)).indexOf("?list=")>0?b.substr(b.lastIndexOf("="),b.length):null)?b.substr(0,b.lastIndexOf("?")):b:a.indexOf("http")> -1?(b=a.match(/[\\?&]v=([^&#]*)/)[1],c=a.indexOf("list=")>0?a.match(/[\\?&]list=([^&#]*)/)[1]:null):c=(b=a.length>15?null:a)?null:a,{videoID:b,playlistID:c}};!function(jQuery,ytp){jQuery.mbYTPlayer={name:"jquery.mb.YTPlayer",version:"3.3.9",build:"7581",author:"Matteo Bicocchi (pupunzi)",apiKey:"",defaults:{videoURL:null,containment:"body",ratio:"auto",fadeOnStartTime:1e3,startAt:0,stopAt:0,autoPlay:!0,delayAtStart:1e3,coverImage:!1,loop:!0,addRaster:!1,mask:!1,opacity:1,quality:"hd1080",vol:50,mute:!1,showControls:!0,anchor:"center,center",showAnnotations:!1,cc_load_policy:!1,showYTLogo:!0,useOnMobile:!0,playOnlyIfVisible:!1,onScreenPercentage:30,goFullScreenOnPlay:!1,stopMovieOnBlur:!0,realFullscreen:!0,optimizeDisplay:!0,abundance:.3,gaTrack:!0,remember_last_time:!1,addFilters:!1,useNoCookie:!0,onReady:function(a){},onError:function(a,b){},onEnd:function(){}},controls:{play:"P",pause:"p",mute:"M",unmute:"A",onlyYT:"O",showSite:"R",ytLogo:"Y"},controlBar:null,locationProtocol:"https:",defaultFilters:{grayscale:{value:0,unit:"%"},hue_rotate:{value:0,unit:"deg"},invert:{value:0,unit:"%"},opacity:{value:0,unit:"%"},saturate:{value:0,unit:"%"},sepia:{value:0,unit:"%"},brightness:{value:0,unit:"%"},contrast:{value:0,unit:"%"},blur:{value:0,unit:"px"}},buildPlayer:function(options){if(ytp.YTAPIReady|| void 0!==window.YT)setTimeout(function(){jQuery(document).trigger("YTAPIReady"),ytp.YTAPIReady=!0},100);else{jQuery("#YTAPI").remove();let e=jQuery("