!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).bootstrap=e()}(this,(function(){"use strict";const t=t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t},e=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let i=t.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i="#"+i.split("#")[1]),e=i&&"#"!==i?i.trim():null}return e},i=t=>{const i=e(t);return i&&document.querySelector(i)?i:null},s=t=>{const i=e(t);return i?document.querySelector(i):null},n=t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:i}=window.getComputedStyle(t);const s=Number.parseFloat(e),n=Number.parseFloat(i);return s||n?(e=e.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(i))):0},o=t=>{t.dispatchEvent(new Event("transitionend"))},r=t=>(t[0]||t).nodeType,a=(t,e)=>{let i=!1;const s=e+5;t.addEventListener("transitionend",(function e(){i=!0,t.removeEventListener("transitionend",e)})),setTimeout(()=>{i||o(t)},s)},l=(t,e,i)=>{Object.keys(i).forEach(s=>{const n=i[s],o=e[s],a=o&&r(o)?"element":null==(l=o)?""+l:{}.toString.call(l).match(/\s([a-z]+)/i)[1].toLowerCase();var l;if(!new RegExp(n).test(a))throw new TypeError(t.toUpperCase()+": "+`Option "${s}" provided type "${a}" `+`but expected type "${n}".`)})},c=t=>{if(!t)return!1;if(t.style&&t.parentNode&&t.parentNode.style){const e=getComputedStyle(t),i=getComputedStyle(t.parentNode);return"none"!==e.display&&"none"!==i.display&&"hidden"!==e.visibility}return!1},d=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),h=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?h(t.parentNode):null},f=()=>function(){},u=t=>t.offsetHeight,p=()=>{const{jQuery:t}=window;return t&&!document.body.hasAttribute("data-bs-no-jquery")?t:null},g=()=>"rtl"===document.documentElement.dir,m=(t,e)=>{var i;i=()=>{const i=p();if(i){const s=i.fn[t];i.fn[t]=e.jQueryInterface,i.fn[t].Constructor=e,i.fn[t].noConflict=()=>(i.fn[t]=s,e.jQueryInterface)}},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",i):i()},_=new Map;var b={set(t,e,i){_.has(t)||_.set(t,new Map);const s=_.get(t);s.has(e)||0===s.size?s.set(e,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(s.keys())[0]}.`)},get:(t,e)=>_.has(t)&&_.get(t).get(e)||null,remove(t,e){if(!_.has(t))return;const i=_.get(t);i.delete(e),0===i.size&&_.delete(t)}};const v=/[^.]*(?=\..*)\.|.*/,y=/\..*/,w=/::\d+$/,E={};let T=1;const A={mouseenter:"mouseover",mouseleave:"mouseout"},L=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 O(t,e){return e&&`${e}::${T++}`||t.uidEvent||T++}function k(t){const e=O(t);return t.uidEvent=e,E[e]=E[e]||{},E[e]}function D(t,e,i=null){const s=Object.keys(t);for(let n=0,o=s.length;n<o;n++){const o=t[s[n]];if(o.originalHandler===e&&o.delegationSelector===i)return o}return null}function x(t,e,i){const s="string"==typeof e,n=s?i:e;let o=t.replace(y,"");const r=A[o];return r&&(o=r),L.has(o)||(o=t),[s,n,o]}function C(t,e,i,s,n){if("string"!=typeof e||!t)return;i||(i=s,s=null);const[o,r,a]=x(e,i,s),l=k(t),c=l[a]||(l[a]={}),d=D(c,r,o?i:null);if(d)return void(d.oneOff=d.oneOff&&n);const h=O(r,e.replace(v,"")),f=o?function(t,e,i){return function s(n){const o=t.querySelectorAll(e);for(let{target:e}=n;e&&e!==this;e=e.parentNode)for(let r=o.length;r--;)if(o[r]===e)return n.delegateTarget=e,s.oneOff&&N.off(t,n.type,i),i.apply(e,[n]);return null}}(t,i,s):function(t,e){return function i(s){return s.delegateTarget=t,i.oneOff&&N.off(t,s.type,e),e.apply(t,[s])}}(t,i);f.delegationSelector=o?i:null,f.originalHandler=r,f.oneOff=n,f.uidEvent=h,c[h]=f,t.addEventListener(a,f,o)}function S(t,e,i,s,n){const o=D(e[i],s,n);o&&(t.removeEventListener(i,o,Boolean(n)),delete e[i][o.uidEvent])}const N={on(t,e,i,s){C(t,e,i,s,!1)},one(t,e,i,s){C(t,e,i,s,!0)},off(t,e,i,s){if("string"!=typeof e||!t)return;const[n,o,r]=x(e,i,s),a=r!==e,l=k(t),c=e.startsWith(".");if(void 0!==o){if(!l||!l[r])return;return void S(t,l,r,o,n?i:null)}c&&Object.keys(l).forEach(i=>{!function(t,e,i,s){const n=e[i]||{};Object.keys(n).forEach(o=>{if(o.includes(s)){const s=n[o];S(t,e,i,s.originalHandler,s.delegationSelector)}})}(t,l,i,e.slice(1))});const d=l[r]||{};Object.keys(d).forEach(i=>{const s=i.replace(w,"");if(!a||e.includes(s)){const e=d[i];S(t,l,r,e.originalHandler,e.delegationSelector)}})},trigger(t,e,i){if("string"!=typeof e||!t)return null;const s=p(),n=e.replace(y,""),o=e!==n,r=L.has(n);let a,l=!0,c=!0,d=!1,h=null;return o&&s&&(a=s.Event(e,i),s(t).trigger(a),l=!a.isPropagationStopped(),c=!a.isImmediatePropagationStopped(),d=a.isDefaultPrevented()),r?(h=document.createEvent("HTMLEvents"),h.initEvent(n,l,!0)):h=new CustomEvent(e,{bubbles:l,cancelable:!0}),void 0!==i&&Object.keys(i).forEach(t=>{Object.defineProperty(h,t,{get:()=>i[t]})}),d&&h.preventDefault(),c&&t.dispatchEvent(h),h.defaultPrevented&&void 0!==a&&a.preventDefault(),h}};class j{constructor(t){(t="string"==typeof t?document.querySelector(t):t)&&(this._element=t,b.set(this._element,this.constructor.DATA_KEY,this))}dispose(){b.remove(this._element,this.constructor.DATA_KEY),this._element=null}static getInstance(t){return b.get(t,this.DATA_KEY)}static get VERSION(){return"5.0.0-beta3"}}class P extends j{static get DATA_KEY(){return"bs.alert"}close(t){const e=t?this._getRootElement(t):this._element,i=this._triggerCloseEvent(e);null===i||i.defaultPrevented||this._removeElement(e)}_getRootElement(t){return s(t)||t.closest(".alert")}_triggerCloseEvent(t){return N.trigger(t,"close.bs.alert")}_removeElement(t){if(t.classList.remove("show"),!t.classList.contains("fade"))return void this._destroyElement(t);const e=n(t);N.one(t,"transitionend",()=>this._destroyElement(t)),a(t,e)}_destroyElement(t){t.parentNode&&t.parentNode.removeChild(t),N.trigger(t,"closed.bs.alert")}static jQueryInterface(t){return this.each((function(){let e=b.get(this,"bs.alert");e||(e=new P(this)),"close"===t&&e[t](this)}))}static handleDismiss(t){return function(e){e&&e.preventDefault(),t.close(this)}}}N.on(document,"click.bs.alert.data-api",'[data-bs-dismiss="alert"]',P.handleDismiss(new P)),m("alert",P);class I extends j{static get DATA_KEY(){return"bs.button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each((function(){let e=b.get(this,"bs.button");e||(e=new I(this)),"toggle"===t&&e[t]()}))}}function M(t){return"true"===t||"false"!==t&&(t===Number(t).toString()?Number(t):""===t||"null"===t?null:t)}function R(t){return t.replace(/[A-Z]/g,t=>"-"+t.toLowerCase())}N.on(document,"click.bs.button.data-api",'[data-bs-toggle="button"]',t=>{t.preventDefault();const e=t.target.closest('[data-bs-toggle="button"]');let i=b.get(e,"bs.button");i||(i=new I(e)),i.toggle()}),m("button",I);const B={setDataAttribute(t,e,i){t.setAttribute("data-bs-"+R(e),i)},removeDataAttribute(t,e){t.removeAttribute("data-bs-"+R(e))},getDataAttributes(t){if(!t)return{};const e={};return Object.keys(t.dataset).filter(t=>t.startsWith("bs")).forEach(i=>{let s=i.replace(/^bs/,"");s=s.charAt(0).toLowerCase()+s.slice(1,s.length),e[s]=M(t.dataset[i])}),e},getDataAttribute:(t,e)=>M(t.getAttribute("data-bs-"+R(e))),offset(t){const e=t.getBoundingClientRect();return{top:e.top+document.body.scrollTop,left:e.left+document.body.scrollLeft}},position:t=>({top:t.offsetTop,left:t.offsetLeft})},H={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter(t=>t.matches(e)),parents(t,e){const i=[];let s=t.parentNode;for(;s&&s.nodeType===Node.ELEMENT_NODE&&3!==s.nodeType;)s.matches(e)&&i.push(s),s=s.parentNode;return i},prev(t,e){let i=t.previousElementSibling;for(;i;){if(i.matches(e))return[i];i=i.previousElementSibling}return[]},next(t,e){let i=t.nextElementSibling;for(;i;){if(i.matches(e))return[i];i=i.nextElementSibling}return[]}},W={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},U={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},$="next",F="prev",z="left",K="right";class Y extends j{constructor(t,e){super(t),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._indicatorsElement=H.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return W}static get DATA_KEY(){return"bs.carousel"}next(){this._isSliding||this._slide($)}nextWhenVisible(){!document.hidden&&c(this._element)&&this.next()}prev(){this._isSliding||this._slide(F)}pause(t){t||(this._isPaused=!0),H.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(o(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(t){this._activeElement=H.findOne(".active.carousel-item",this._element);const e=this._getItemIndex(this._activeElement);if(t>this._items.length-1||t<0)return;if(this._isSliding)return void N.one(this._element,"slid.bs.carousel",()=>this.to(t));if(e===t)return this.pause(),void this.cycle();const i=t>e?$:F;this._slide(i,this._items[t])}dispose(){N.off(this._element,".bs.carousel"),this._items=null,this._config=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null,super.dispose()}_getConfig(t){return t={...W,...t},l("carousel",t,U),t}_handleSwipe(){const t=Math.abs(this.touchDeltaX);if(t<=40)return;const e=t/this.touchDeltaX;this.touchDeltaX=0,e&&this._slide(e>0?K:z)}_addEventListeners(){this._config.keyboard&&N.on(this._element,"keydown.bs.carousel",t=>this._keydown(t)),"hover"===this._config.pause&&(N.on(this._element,"mouseenter.bs.carousel",t=>this.pause(t)),N.on(this._element,"mouseleave.bs.carousel",t=>this.cycle(t))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const t=t=>{!this._pointerEvent||"pen"!==t.pointerType&&"touch"!==t.pointerType?this._pointerEvent||(this.touchStartX=t.touches[0].clientX):this.touchStartX=t.clientX},e=t=>{this.touchDeltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this.touchStartX},i=t=>{!this._pointerEvent||"pen"!==t.pointerType&&"touch"!==t.pointerType||(this.touchDeltaX=t.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(t=>this.cycle(t),500+this._config.interval))};H.find(".carousel-item img",this._element).forEach(t=>{N.on(t,"dragstart.bs.carousel",t=>t.preventDefault())}),this._pointerEvent?(N.on(this._element,"pointerdown.bs.carousel",e=>t(e)),N.on(this._element,"pointerup.bs.carousel",t=>i(t)),this._element.classList.add("pointer-event")):(N.on(this._element,"touchstart.bs.carousel",e=>t(e)),N.on(this._element,"touchmove.bs.carousel",t=>e(t)),N.on(this._element,"touchend.bs.carousel",t=>i(t)))}_keydown(t){/input|textarea/i.test(t.target.tagName)||("ArrowLeft"===t.key?(t.preventDefault(),this._slide(z)):"ArrowRight"===t.key&&(t.preventDefault(),this._slide(K)))}_getItemIndex(t){return this._items=t&&t.parentNode?H.find(".carousel-item",t.parentNode):[],this._items.indexOf(t)}_getItemByOrder(t,e){const i=t===$,s=t===F,n=this._getItemIndex(e),o=this._items.length-1;if((s&&0===n||i&&n===o)&&!this._config.wrap)return e;const r=(n+(s?-1:1))%this._items.length;return-1===r?this._items[this._items.length-1]:this._items[r]}_triggerSlideEvent(t,e){const i=this._getItemIndex(t),s=this._getItemIndex(H.findOne(".active.carousel-item",this._element));return N.trigger(this._element,"slide.bs.carousel",{relatedTarget:t,direction:e,from:s,to:i})}_setActiveIndicatorElement(t){if(this._indicatorsElement){const e=H.findOne(".active",this._indicatorsElement);e.classList.remove("active"),e.removeAttribute("aria-current");const i=H.find("[data-bs-target]",this._indicatorsElement);for(let e=0;e<i.length;e++)if(Number.parseInt(i[e].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(t)){i[e].classList.add("active"),i[e].setAttribute("aria-current","true");break}}}_updateInterval(){const t=this._activeElement||H.findOne(".active.carousel-item",this._element);if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);e?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=e):this._config.interval=this._config.defaultInterval||this._config.interval}_slide(t,e){const i=this._directionToOrder(t),s=H.findOne(".active.carousel-item",this._element),o=this._getItemIndex(s),r=e||this._getItemByOrder(i,s),l=this._getItemIndex(r),c=Boolean(this._interval),d=i===$,h=d?"carousel-item-start":"carousel-item-end",f=d?"carousel-item-next":"carousel-item-prev",p=this._orderToDirection(i);if(r&&r.classList.contains("active"))this._isSliding=!1;else if(!this._triggerSlideEvent(r,p).defaultPrevented&&s&&r){if(this._isSliding=!0,c&&this.pause(),this._setActiveIndicatorElement(r),this._activeElement=r,this._element.classList.contains("slide")){r.classList.add(f),u(r),s.classList.add(h),r.classList.add(h);const t=n(s);N.one(s,"transitionend",()=>{r.classList.remove(h,f),r.classList.add("active"),s.classList.remove("active",f,h),this._isSliding=!1,setTimeout(()=>{N.trigger(this._element,"slid.bs.carousel",{relatedTarget:r,direction:p,from:o,to:l})},0)}),a(s,t)}else s.classList.remove("active"),r.classList.add("active"),this._isSliding=!1,N.trigger(this._element,"slid.bs.carousel",{relatedTarget:r,direction:p,from:o,to:l});c&&this.cycle()}}_directionToOrder(t){return[K,z].includes(t)?g()?t===K?F:$:t===K?$:F:t}_orderToDirection(t){return[$,F].includes(t)?g()?t===$?z:K:t===$?K:z:t}static carouselInterface(t,e){let i=b.get(t,"bs.carousel"),s={...W,...B.getDataAttributes(t)};"object"==typeof e&&(s={...s,...e});const n="string"==typeof e?e:s.slide;if(i||(i=new Y(t,s)),"number"==typeof e)i.to(e);else if("string"==typeof n){if(void 0===i[n])throw new TypeError(`No method named "${n}"`);i[n]()}else s.interval&&s.ride&&(i.pause(),i.cycle())}static jQueryInterface(t){return this.each((function(){Y.carouselInterface(this,t)}))}static dataApiClickHandler(t){const e=s(this);if(!e||!e.classList.contains("carousel"))return;const i={...B.getDataAttributes(e),...B.getDataAttributes(this)},n=this.getAttribute("data-bs-slide-to");n&&(i.interval=!1),Y.carouselInterface(e,i),n&&b.get(e,"bs.carousel").to(n),t.preventDefault()}}N.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",Y.dataApiClickHandler),N.on(window,"load.bs.carousel.data-api",()=>{const t=H.find('[data-bs-ride="carousel"]');for(let e=0,i=t.length;e<i;e++)Y.carouselInterface(t[e],b.get(t[e],"bs.carousel"))}),m("carousel",Y);const q={toggle:!0,parent:""},V={toggle:"boolean",parent:"(string|element)"};class X extends j{constructor(t,e){super(t),this._isTransitioning=!1,this._config=this._getConfig(e),this._triggerArray=H.find(`[data-bs-toggle="collapse"][href="#${this._element.id}"],[data-bs-toggle="collapse"][data-bs-target="#${this._element.id}"]`);const s=H.find('[data-bs-toggle="collapse"]');for(let t=0,e=s.length;t<e;t++){const e=s[t],n=i(e),o=H.find(n).filter(t=>t===this._element);null!==n&&o.length&&(this._selector=n,this._triggerArray.push(e))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}static get Default(){return q}static get DATA_KEY(){return"bs.collapse"}toggle(){this._element.classList.contains("show")?this.hide():this.show()}show(){if(this._isTransitioning||this._element.classList.contains("show"))return;let t,e;this._parent&&(t=H.find(".show, .collapsing",this._parent).filter(t=>"string"==typeof this._config.parent?t.getAttribute("data-bs-parent")===this._config.parent:t.classList.contains("collapse")),0===t.length&&(t=null));const i=H.findOne(this._selector);if(t){const s=t.find(t=>i!==t);if(e=s?b.get(s,"bs.collapse"):null,e&&e._isTransitioning)return}if(N.trigger(this._element,"show.bs.collapse").defaultPrevented)return;t&&t.forEach(t=>{i!==t&&X.collapseInterface(t,"hide"),e||b.set(t,"bs.collapse",null)});const s=this._getDimension();this._element.classList.remove("collapse"),this._element.classList.add("collapsing"),this._element.style[s]=0,this._triggerArray.length&&this._triggerArray.forEach(t=>{t.classList.remove("collapsed"),t.setAttribute("aria-expanded",!0)}),this.setTransitioning(!0);const o="scroll"+(s[0].toUpperCase()+s.slice(1)),r=n(this._element);N.one(this._element,"transitionend",()=>{this._element.classList.remove("collapsing"),this._element.classList.add("collapse","show"),this._element.style[s]="",this.setTransitioning(!1),N.trigger(this._element,"shown.bs.collapse")}),a(this._element,r),this._element.style[s]=this._element[o]+"px"}hide(){if(this._isTransitioning||!this._element.classList.contains("show"))return;if(N.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const t=this._getDimension();this._element.style[t]=this._element.getBoundingClientRect()[t]+"px",u(this._element),this._element.classList.add("collapsing"),this._element.classList.remove("collapse","show");const e=this._triggerArray.length;if(e>0)for(let t=0;t<e;t++){const e=this._triggerArray[t],i=s(e);i&&!i.classList.contains("show")&&(e.classList.add("collapsed"),e.setAttribute("aria-expanded",!1))}this.setTransitioning(!0),this._element.style[t]="";const i=n(this._element);N.one(this._element,"transitionend",()=>{this.setTransitioning(!1),this._element.classList.remove("collapsing"),this._element.classList.add("collapse"),N.trigger(this._element,"hidden.bs.collapse")}),a(this._element,i)}setTransitioning(t){this._isTransitioning=t}dispose(){super.dispose(),this._config=null,this._parent=null,this._triggerArray=null,this._isTransitioning=null}_getConfig(t){return(t={...q,...t}).toggle=Boolean(t.toggle),l("collapse",t,V),t}_getDimension(){return this._element.classList.contains("width")?"width":"height"}_getParent(){let{parent:t}=this._config;r(t)?void 0===t.jquery&&void 0===t[0]||(t=t[0]):t=H.findOne(t);const e=`[data-bs-toggle="collapse"][data-bs-parent="${t}"]`;return H.find(e,t).forEach(t=>{const e=s(t);this._addAriaAndCollapsedClass(e,[t])}),t}_addAriaAndCollapsedClass(t,e){if(!t||!e.length)return;const i=t.classList.contains("show");e.forEach(t=>{i?t.classList.remove("collapsed"):t.classList.add("collapsed"),t.setAttribute("aria-expanded",i)})}static collapseInterface(t,e){let i=b.get(t,"bs.collapse");const s={...q,...B.getDataAttributes(t),..."object"==typeof e&&e?e:{}};if(!i&&s.toggle&&"string"==typeof e&&/show|hide/.test(e)&&(s.toggle=!1),i||(i=new X(t,s)),"string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e]()}}static jQueryInterface(t){return this.each((function(){X.collapseInterface(this,t)}))}}N.on(document,"click.bs.collapse.data-api",'[data-bs-toggle="collapse"]',(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();const e=B.getDataAttributes(this),s=i(this);H.find(s).forEach(t=>{const i=b.get(t,"bs.collapse");let s;i?(null===i._parent&&"string"==typeof e.parent&&(i._config.parent=e.parent,i._parent=i._getParent()),s="toggle"):s=e,X.collapseInterface(t,s)})})),m("collapse",X);var Q="top",G="bottom",Z="right",J="left",tt=[Q,G,Z,J],et=tt.reduce((function(t,e){return t.concat([e+"-start",e+"-end"])}),[]),it=[].concat(tt,["auto"]).reduce((function(t,e){return t.concat([e,e+"-start",e+"-end"])}),[]),st=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function nt(t){return t?(t.nodeName||"").toLowerCase():null}function ot(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function rt(t){return t instanceof ot(t).Element||t instanceof Element}function at(t){return t instanceof ot(t).HTMLElement||t instanceof HTMLElement}function lt(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ot(t).ShadowRoot||t instanceof ShadowRoot)}var ct={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var i=e.styles[t]||{},s=e.attributes[t]||{},n=e.elements[t];at(n)&&nt(n)&&(Object.assign(n.style,i),Object.keys(s).forEach((function(t){var e=s[t];!1===e?n.removeAttribute(t):n.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach((function(t){var s=e.elements[t],n=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce((function(t,e){return t[e]="",t}),{});at(s)&&nt(s)&&(Object.assign(s.style,o),Object.keys(n).forEach((function(t){s.removeAttribute(t)})))}))}},requires:["computeStyles"]};function dt(t){return t.split("-")[0]}function ht(t){var e=t.getBoundingClientRect();return{width:e.width,height:e.height,top:e.top,right:e.right,bottom:e.bottom,left:e.left,x:e.left,y:e.top}}function ft(t){var e=ht(t),i=t.offsetWidth,s=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-s)<=1&&(s=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:s}}function ut(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&lt(i)){var s=e;do{if(s&&t.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function pt(t){return ot(t).getComputedStyle(t)}function gt(t){return["table","td","th"].indexOf(nt(t))>=0}function mt(t){return((rt(t)?t.ownerDocument:t.document)||window.document).documentElement}function _t(t){return"html"===nt(t)?t:t.assignedSlot||t.parentNode||(lt(t)?t.host:null)||mt(t)}function bt(t){return at(t)&&"fixed"!==pt(t).position?t.offsetParent:null}function vt(t){for(var e=ot(t),i=bt(t);i&&gt(i)&&"static"===pt(i).position;)i=bt(i);return i&&("html"===nt(i)||"body"===nt(i)&&"static"===pt(i).position)?e:i||function(t){for(var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),i=_t(t);at(i)&&["html","body"].indexOf(nt(i))<0;){var s=pt(i);if("none"!==s.transform||"none"!==s.perspective||"paint"===s.contain||-1!==["transform","perspective"].indexOf(s.willChange)||e&&"filter"===s.willChange||e&&s.filter&&"none"!==s.filter)return i;i=i.parentNode}return null}(t)||e}function yt(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}var wt=Math.max,Et=Math.min,Tt=Math.round;function At(t,e,i){return wt(t,Et(e,i))}function Lt(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function Ot(t,e){return e.reduce((function(e,i){return e[i]=t,e}),{})}var kt={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i=t.state,s=t.name,n=t.options,o=i.elements.arrow,r=i.modifiersData.popperOffsets,a=dt(i.placement),l=yt(a),c=[J,Z].indexOf(a)>=0?"height":"width";if(o&&r){var d=function(t,e){return Lt("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:Ot(t,tt))}(n.padding,i),h=ft(o),f="y"===l?Q:J,u="y"===l?G:Z,p=i.rects.reference[c]+i.rects.reference[l]-r[l]-i.rects.popper[c],g=r[l]-i.rects.reference[l],m=vt(o),_=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,b=p/2-g/2,v=d[f],y=_-h[c]-d[u],w=_/2-h[c]/2+b,E=At(v,w,y),T=l;i.modifiersData[s]=((e={})[T]=E,e.centerOffset=E-w,e)}},effect:function(t){var e=t.state,i=t.options.element,s=void 0===i?"[data-popper-arrow]":i;null!=s&&("string"!=typeof s||(s=e.elements.popper.querySelector(s)))&&ut(e.elements.popper,s)&&(e.elements.arrow=s)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},Dt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function xt(t){var e,i=t.popper,s=t.popperRect,n=t.placement,o=t.offsets,r=t.position,a=t.gpuAcceleration,l=t.adaptive,c=t.roundOffsets,d=!0===c?function(t){var e=t.x,i=t.y,s=window.devicePixelRatio||1;return{x:Tt(Tt(e*s)/s)||0,y:Tt(Tt(i*s)/s)||0}}(o):"function"==typeof c?c(o):o,h=d.x,f=void 0===h?0:h,u=d.y,p=void 0===u?0:u,g=o.hasOwnProperty("x"),m=o.hasOwnProperty("y"),_=J,b=Q,v=window;if(l){var y=vt(i),w="clientHeight",E="clientWidth";y===ot(i)&&"static"!==pt(y=mt(i)).position&&(w="scrollHeight",E="scrollWidth"),y=y,n===Q&&(b=G,p-=y[w]-s.height,p*=a?1:-1),n===J&&(_=Z,f-=y[E]-s.width,f*=a?1:-1)}var T,A=Object.assign({position:r},l&&Dt);return a?Object.assign({},A,((T={})[b]=m?"0":"",T[_]=g?"0":"",T.transform=(v.devicePixelRatio||1)<2?"translate("+f+"px, "+p+"px)":"translate3d("+f+"px, "+p+"px, 0)",T)):Object.assign({},A,((e={})[b]=m?p+"px":"",e[_]=g?f+"px":"",e.transform="",e))}var Ct={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,s=i.gpuAcceleration,n=void 0===s||s,o=i.adaptive,r=void 0===o||o,a=i.roundOffsets,l=void 0===a||a,c={placement:dt(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:n};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,xt(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:r,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,xt(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},St={passive:!0},Nt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,i=t.instance,s=t.options,n=s.scroll,o=void 0===n||n,r=s.resize,a=void 0===r||r,l=ot(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach((function(t){t.addEventListener("scroll",i.update,St)})),a&&l.addEventListener("resize",i.update,St),function(){o&&c.forEach((function(t){t.removeEventListener("scroll",i.update,St)})),a&&l.removeEventListener("resize",i.update,St)}},data:{}},jt={left:"right",right:"left",bottom:"top",top:"bottom"};function Pt(t){return t.replace(/left|right|bottom|top/g,(function(t){return jt[t]}))}var It={start:"end",end:"start"};function Mt(t){return t.replace(/start|end/g,(function(t){return It[t]}))}function Rt(t){var e=ot(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Bt(t){return ht(mt(t)).left+Rt(t).scrollLeft}function Ht(t){var e=pt(t),i=e.overflow,s=e.overflowX,n=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+n+s)}function Wt(t,e){var i;void 0===e&&(e=[]);var s=function t(e){return["html","body","#document"].indexOf(nt(e))>=0?e.ownerDocument.body:at(e)&&Ht(e)?e:t(_t(e))}(t),n=s===(null==(i=t.ownerDocument)?void 0:i.body),o=ot(s),r=n?[o].concat(o.visualViewport||[],Ht(s)?s:[]):s,a=e.concat(r);return n?a:a.concat(Wt(_t(r)))}function Ut(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function $t(t,e){return"viewport"===e?Ut(function(t){var e=ot(t),i=mt(t),s=e.visualViewport,n=i.clientWidth,o=i.clientHeight,r=0,a=0;return s&&(n=s.width,o=s.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(r=s.offsetLeft,a=s.offsetTop)),{width:n,height:o,x:r+Bt(t),y:a}}(t)):at(e)?function(t){var e=ht(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):Ut(function(t){var e,i=mt(t),s=Rt(t),n=null==(e=t.ownerDocument)?void 0:e.body,o=wt(i.scrollWidth,i.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),r=wt(i.scrollHeight,i.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),a=-s.scrollLeft+Bt(t),l=-s.scrollTop;return"rtl"===pt(n||i).direction&&(a+=wt(i.clientWidth,n?n.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}(mt(t)))}function Ft(t){return t.split("-")[1]}function zt(t){var e,i=t.reference,s=t.element,n=t.placement,o=n?dt(n):null,r=n?Ft(n):null,a=i.x+i.width/2-s.width/2,l=i.y+i.height/2-s.height/2;switch(o){case Q:e={x:a,y:i.y-s.height};break;case G:e={x:a,y:i.y+i.height};break;case Z:e={x:i.x+i.width,y:l};break;case J:e={x:i.x-s.width,y:l};break;default:e={x:i.x,y:i.y}}var c=o?yt(o):null;if(null!=c){var d="y"===c?"height":"width";switch(r){case"start":e[c]=e[c]-(i[d]/2-s[d]/2);break;case"end":e[c]=e[c]+(i[d]/2-s[d]/2)}}return e}function Kt(t,e){void 0===e&&(e={});var i=e,s=i.placement,n=void 0===s?t.placement:s,o=i.boundary,r=void 0===o?"clippingParents":o,a=i.rootBoundary,l=void 0===a?"viewport":a,c=i.elementContext,d=void 0===c?"popper":c,h=i.altBoundary,f=void 0!==h&&h,u=i.padding,p=void 0===u?0:u,g=Lt("number"!=typeof p?p:Ot(p,tt)),m="popper"===d?"reference":"popper",_=t.elements.reference,b=t.rects.popper,v=t.elements[f?m:d],y=function(t,e,i){var s="clippingParents"===e?function(t){var e=Wt(_t(t)),i=["absolute","fixed"].indexOf(pt(t).position)>=0&&at(t)?vt(t):t;return rt(i)?e.filter((function(t){return rt(t)&&ut(t,i)&&"body"!==nt(t)})):[]}(t):[].concat(e),n=[].concat(s,[i]),o=n[0],r=n.reduce((function(e,i){var s=$t(t,i);return e.top=wt(s.top,e.top),e.right=Et(s.right,e.right),e.bottom=Et(s.bottom,e.bottom),e.left=wt(s.left,e.left),e}),$t(t,o));return r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}(rt(v)?v:v.contextElement||mt(t.elements.popper),r,l),w=ht(_),E=zt({reference:w,element:b,strategy:"absolute",placement:n}),T=Ut(Object.assign({},b,E)),A="popper"===d?T:w,L={top:y.top-A.top+g.top,bottom:A.bottom-y.bottom+g.bottom,left:y.left-A.left+g.left,right:A.right-y.right+g.right},O=t.modifiersData.offset;if("popper"===d&&O){var k=O[n];Object.keys(L).forEach((function(t){var e=[Z,G].indexOf(t)>=0?1:-1,i=[Q,G].indexOf(t)>=0?"y":"x";L[t]+=k[i]*e}))}return L}function Yt(t,e){void 0===e&&(e={});var i=e,s=i.placement,n=i.boundary,o=i.rootBoundary,r=i.padding,a=i.flipVariations,l=i.allowedAutoPlacements,c=void 0===l?it:l,d=Ft(s),h=d?a?et:et.filter((function(t){return Ft(t)===d})):tt,f=h.filter((function(t){return c.indexOf(t)>=0}));0===f.length&&(f=h);var u=f.reduce((function(e,i){return e[i]=Kt(t,{placement:i,boundary:n,rootBoundary:o,padding:r})[dt(i)],e}),{});return Object.keys(u).sort((function(t,e){return u[t]-u[e]}))}var qt={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,s=t.name;if(!e.modifiersData[s]._skip){for(var n=i.mainAxis,o=void 0===n||n,r=i.altAxis,a=void 0===r||r,l=i.fallbackPlacements,c=i.padding,d=i.boundary,h=i.rootBoundary,f=i.altBoundary,u=i.flipVariations,p=void 0===u||u,g=i.allowedAutoPlacements,m=e.options.placement,_=dt(m),b=l||(_!==m&&p?function(t){if("auto"===dt(t))return[];var e=Pt(t);return[Mt(t),e,Mt(e)]}(m):[Pt(m)]),v=[m].concat(b).reduce((function(t,i){return t.concat("auto"===dt(i)?Yt(e,{placement:i,boundary:d,rootBoundary:h,padding:c,flipVariations:p,allowedAutoPlacements:g}):i)}),[]),y=e.rects.reference,w=e.rects.popper,E=new Map,T=!0,A=v[0],L=0;L<v.length;L++){var O=v[L],k=dt(O),D="start"===Ft(O),x=[Q,G].indexOf(k)>=0,C=x?"width":"height",S=Kt(e,{placement:O,boundary:d,rootBoundary:h,altBoundary:f,padding:c}),N=x?D?Z:J:D?G:Q;y[C]>w[C]&&(N=Pt(N));var j=Pt(N),P=[];if(o&&P.push(S[k]<=0),a&&P.push(S[N]<=0,S[j]<=0),P.every((function(t){return t}))){A=O,T=!1;break}E.set(O,P)}if(T)for(var I=function(t){var e=v.find((function(e){var i=E.get(e);if(i)return i.slice(0,t).every((function(t){return t}))}));if(e)return A=e,"break"},M=p?3:1;M>0&&"break"!==I(M);M--);e.placement!==A&&(e.modifiersData[s]._skip=!0,e.placement=A,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Vt(t,e,i){return void 0===i&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function Xt(t){return[Q,Z,G,J].some((function(e){return t[e]>=0}))}var Qt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,i=t.name,s=e.rects.reference,n=e.rects.popper,o=e.modifiersData.preventOverflow,r=Kt(e,{elementContext:"reference"}),a=Kt(e,{altBoundary:!0}),l=Vt(r,s),c=Vt(a,n,o),d=Xt(l),h=Xt(c);e.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":h})}},Gt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.options,s=t.name,n=i.offset,o=void 0===n?[0,0]:n,r=it.reduce((function(t,i){return t[i]=function(t,e,i){var s=dt(t),n=[J,Q].indexOf(s)>=0?-1:1,o="function"==typeof i?i(Object.assign({},e,{placement:t})):i,r=o[0],a=o[1];return r=r||0,a=(a||0)*n,[J,Z].indexOf(s)>=0?{x:a,y:r}:{x:r,y:a}}(i,e.rects,o),t}),{}),a=r[e.placement],l=a.x,c=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[s]=r}},Zt={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,i=t.name;e.modifiersData[i]=zt({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},Jt={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,s=t.name,n=i.mainAxis,o=void 0===n||n,r=i.altAxis,a=void 0!==r&&r,l=i.boundary,c=i.rootBoundary,d=i.altBoundary,h=i.padding,f=i.tether,u=void 0===f||f,p=i.tetherOffset,g=void 0===p?0:p,m=Kt(e,{boundary:l,rootBoundary:c,padding:h,altBoundary:d}),_=dt(e.placement),b=Ft(e.placement),v=!b,y=yt(_),w="x"===y?"y":"x",E=e.modifiersData.popperOffsets,T=e.rects.reference,A=e.rects.popper,L="function"==typeof g?g(Object.assign({},e.rects,{placement:e.placement})):g,O={x:0,y:0};if(E){if(o||a){var k="y"===y?Q:J,D="y"===y?G:Z,x="y"===y?"height":"width",C=E[y],S=E[y]+m[k],N=E[y]-m[D],j=u?-A[x]/2:0,P="start"===b?T[x]:A[x],I="start"===b?-A[x]:-T[x],M=e.elements.arrow,R=u&&M?ft(M):{width:0,height:0},B=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},H=B[k],W=B[D],U=At(0,T[x],R[x]),$=v?T[x]/2-j-U-H-L:P-U-H-L,F=v?-T[x]/2+j+U+W+L:I+U+W+L,z=e.elements.arrow&&vt(e.elements.arrow),K=z?"y"===y?z.clientTop||0:z.clientLeft||0:0,Y=e.modifiersData.offset?e.modifiersData.offset[e.placement][y]:0,q=E[y]+$-Y-K,V=E[y]+F-Y;if(o){var X=At(u?Et(S,q):S,C,u?wt(N,V):N);E[y]=X,O[y]=X-C}if(a){var tt="x"===y?Q:J,et="x"===y?G:Z,it=E[w],st=it+m[tt],nt=it-m[et],ot=At(u?Et(st,q):st,it,u?wt(nt,V):nt);E[w]=ot,O[w]=ot-it}}e.modifiersData[s]=O}},requiresIfExists:["offset"]};function te(t,e,i){void 0===i&&(i=!1);var s,n,o=mt(e),r=ht(t),a=at(e),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(a||!a&&!i)&&(("body"!==nt(e)||Ht(o))&&(l=(s=e)!==ot(s)&&at(s)?{scrollLeft:(n=s).scrollLeft,scrollTop:n.scrollTop}:Rt(s)),at(e)?((c=ht(e)).x+=e.clientLeft,c.y+=e.clientTop):o&&(c.x=Bt(o))),{x:r.left+l.scrollLeft-c.x,y:r.top+l.scrollTop-c.y,width:r.width,height:r.height}}var ee={placement:"bottom",modifiers:[],strategy:"absolute"};function ie(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function se(t){void 0===t&&(t={});var e=t,i=e.defaultModifiers,s=void 0===i?[]:i,n=e.defaultOptions,o=void 0===n?ee:n;return function(t,e,i){void 0===i&&(i=o);var n,r,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},ee,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},l=[],c=!1,d={state:a,setOptions:function(i){h(),a.options=Object.assign({},o,a.options,i),a.scrollParents={reference:rt(t)?Wt(t):t.contextElement?Wt(t.contextElement):[],popper:Wt(e)};var n,r,c=function(t){var e=function(t){var e=new Map,i=new Set,s=[];return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){i.has(t.name)||function t(n){i.add(n.name),[].concat(n.requires||[],n.requiresIfExists||[]).forEach((function(s){if(!i.has(s)){var n=e.get(s);n&&t(n)}})),s.push(n)}(t)})),s}(t);return st.reduce((function(t,i){return t.concat(e.filter((function(t){return t.phase===i})))}),[])}((n=[].concat(s,a.options.modifiers),r=n.reduce((function(t,e){var i=t[e.name];return t[e.name]=i?Object.assign({},i,e,{options:Object.assign({},i.options,e.options),data:Object.assign({},i.data,e.data)}):e,t}),{}),Object.keys(r).map((function(t){return r[t]}))));return a.orderedModifiers=c.filter((function(t){return t.enabled})),a.orderedModifiers.forEach((function(t){var e=t.name,i=t.options,s=void 0===i?{}:i,n=t.effect;if("function"==typeof n){var o=n({state:a,name:e,instance:d,options:s});l.push(o||function(){})}})),d.update()},forceUpdate:function(){if(!c){var t=a.elements,e=t.reference,i=t.popper;if(ie(e,i)){a.rects={reference:te(e,vt(i),"fixed"===a.options.strategy),popper:ft(i)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var s=0;s<a.orderedModifiers.length;s++)if(!0!==a.reset){var n=a.orderedModifiers[s],o=n.fn,r=n.options,l=void 0===r?{}:r,h=n.name;"function"==typeof o&&(a=o({state:a,options:l,name:h,instance:d})||a)}else a.reset=!1,s=-1}}},update:(n=function(){return new Promise((function(t){d.forceUpdate(),t(a)}))},function(){return r||(r=new Promise((function(t){Promise.resolve().then((function(){r=void 0,t(n())}))}))),r}),destroy:function(){h(),c=!0}};if(!ie(t,e))return d;function h(){l.forEach((function(t){return t()})),l=[]}return d.setOptions(i).then((function(t){!c&&i.onFirstUpdate&&i.onFirstUpdate(t)})),d}}var ne=se(),oe=se({defaultModifiers:[Nt,Zt,Ct,ct]}),re=se({defaultModifiers:[Nt,Zt,Ct,ct,Gt,qt,Jt,kt,Qt]}),ae=Object.freeze({__proto__:null,popperGenerator:se,detectOverflow:Kt,createPopperBase:ne,createPopper:re,createPopperLite:oe,top:Q,bottom:G,right:Z,left:J,auto:"auto",basePlacements:tt,start:"start",end:"end",clippingParents:"clippingParents",viewport:"viewport",popper:"popper",reference:"reference",variationPlacements:et,placements:it,beforeRead:"beforeRead",read:"read",afterRead:"afterRead",beforeMain:"beforeMain",main:"main",afterMain:"afterMain",beforeWrite:"beforeWrite",write:"write",afterWrite:"afterWrite",modifierPhases:st,applyStyles:ct,arrow:kt,computeStyles:Ct,eventListeners:Nt,flip:qt,hide:Qt,offset:Gt,popperOffsets:Zt,preventOverflow:Jt});const le=new RegExp("ArrowUp|ArrowDown|Escape"),ce=g()?"top-end":"top-start",de=g()?"top-start":"top-end",he=g()?"bottom-end":"bottom-start",fe=g()?"bottom-start":"bottom-end",ue=g()?"left-start":"right-start",pe=g()?"right-start":"left-start",ge={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null},me={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)"};class _e extends j{constructor(t,e){super(t),this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}static get Default(){return ge}static get DefaultType(){return me}static get DATA_KEY(){return"bs.dropdown"}toggle(){if(this._element.disabled||this._element.classList.contains("disabled"))return;const t=this._element.classList.contains("show");_e.clearMenus(),t||this.show()}show(){if(this._element.disabled||this._element.classList.contains("disabled")||this._menu.classList.contains("show"))return;const t=_e.getParentFromElement(this._element),e={relatedTarget:this._element};if(!N.trigger(this._element,"show.bs.dropdown",e).defaultPrevented){if(this._inNavbar)B.setDataAttribute(this._menu,"popper","none");else{if(void 0===ae)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=t:r(this._config.reference)?(e=this._config.reference,void 0!==this._config.reference.jquery&&(e=this._config.reference[0])):"object"==typeof this._config.reference&&(e=this._config.reference);const i=this._getPopperConfig(),s=i.modifiers.find(t=>"applyStyles"===t.name&&!1===t.enabled);this._popper=re(e,this._menu,i),s&&B.setDataAttribute(this._menu,"popper","static")}"ontouchstart"in document.documentElement&&!t.closest(".navbar-nav")&&[].concat(...document.body.children).forEach(t=>N.on(t,"mouseover",null,(function(){}))),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.toggle("show"),this._element.classList.toggle("show"),N.trigger(this._element,"shown.bs.dropdown",e)}}hide(){if(this._element.disabled||this._element.classList.contains("disabled")||!this._menu.classList.contains("show"))return;const t={relatedTarget:this._element};N.trigger(this._element,"hide.bs.dropdown",t).defaultPrevented||(this._popper&&this._popper.destroy(),this._menu.classList.toggle("show"),this._element.classList.toggle("show"),B.removeDataAttribute(this._menu,"popper"),N.trigger(this._element,"hidden.bs.dropdown",t))}dispose(){N.off(this._element,".bs.dropdown"),this._menu=null,this._popper&&(this._popper.destroy(),this._popper=null),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_addEventListeners(){N.on(this._element,"click.bs.dropdown",t=>{t.preventDefault(),this.toggle()})}_getConfig(t){if(t={...this.constructor.Default,...B.getDataAttributes(this._element),...t},l("dropdown",t,this.constructor.DefaultType),"object"==typeof t.reference&&!r(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError("dropdown".toUpperCase()+': Option "reference" provided type "object" without a required "getBoundingClientRect" method.');return t}_getMenuElement(){return H.next(this._element,".dropdown-menu")[0]}_getPlacement(){const t=this._element.parentNode;if(t.classList.contains("dropend"))return ue;if(t.classList.contains("dropstart"))return pe;const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?de:ce:e?fe:he}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}static dropdownInterface(t,e){let i=b.get(t,"bs.dropdown");if(i||(i=new _e(t,"object"==typeof e?e:null)),"string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e]()}}static jQueryInterface(t){return this.each((function(){_e.dropdownInterface(this,t)}))}static clearMenus(t){if(t){if(2===t.button||"keyup"===t.type&&"Tab"!==t.key)return;if(/input|select|textarea|form/i.test(t.target.tagName))return}const e=H.find('[data-bs-toggle="dropdown"]');for(let i=0,s=e.length;i<s;i++){const s=b.get(e[i],"bs.dropdown"),n={relatedTarget:e[i]};if(t&&"click"===t.type&&(n.clickEvent=t),!s)continue;const o=s._menu;if(e[i].classList.contains("show")){if(t){if([s._element].some(e=>t.composedPath().includes(e)))continue;if("keyup"===t.type&&"Tab"===t.key&&o.contains(t.target))continue}N.trigger(e[i],"hide.bs.dropdown",n).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>N.off(t,"mouseover",null,(function(){}))),e[i].setAttribute("aria-expanded","false"),s._popper&&s._popper.destroy(),o.classList.remove("show"),e[i].classList.remove("show"),B.removeDataAttribute(o,"popper"),N.trigger(e[i],"hidden.bs.dropdown",n))}}}static getParentFromElement(t){return s(t)||t.parentNode}static dataApiKeydownHandler(t){if(/input|textarea/i.test(t.target.tagName)?"Space"===t.key||"Escape"!==t.key&&("ArrowDown"!==t.key&&"ArrowUp"!==t.key||t.target.closest(".dropdown-menu")):!le.test(t.key))return;if(t.preventDefault(),t.stopPropagation(),this.disabled||this.classList.contains("disabled"))return;const e=_e.getParentFromElement(this),i=this.classList.contains("show");if("Escape"===t.key)return(this.matches('[data-bs-toggle="dropdown"]')?this:H.prev(this,'[data-bs-toggle="dropdown"]')[0]).focus(),void _e.clearMenus();if(!i&&("ArrowUp"===t.key||"ArrowDown"===t.key))return void(this.matches('[data-bs-toggle="dropdown"]')?this:H.prev(this,'[data-bs-toggle="dropdown"]')[0]).click();if(!i||"Space"===t.key)return void _e.clearMenus();const s=H.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",e).filter(c);if(!s.length)return;let n=s.indexOf(t.target);"ArrowUp"===t.key&&n>0&&n--,"ArrowDown"===t.key&&n<s.length-1&&n++,n=-1===n?0:n,s[n].focus()}}N.on(document,"keydown.bs.dropdown.data-api",'[data-bs-toggle="dropdown"]',_e.dataApiKeydownHandler),N.on(document,"keydown.bs.dropdown.data-api",".dropdown-menu",_e.dataApiKeydownHandler),N.on(document,"click.bs.dropdown.data-api",_e.clearMenus),N.on(document,"keyup.bs.dropdown.data-api",_e.clearMenus),N.on(document,"click.bs.dropdown.data-api",'[data-bs-toggle="dropdown"]',(function(t){t.preventDefault(),_e.dropdownInterface(this)})),m("dropdown",_e);const be={backdrop:!0,keyboard:!0,focus:!0},ve={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"};class ye extends j{constructor(t,e){super(t),this._config=this._getConfig(e),this._dialog=H.findOne(".modal-dialog",this._element),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}static get Default(){return be}static get DATA_KEY(){return"bs.modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||this._isTransitioning)return;this._isAnimated()&&(this._isTransitioning=!0);const e=N.trigger(this._element,"show.bs.modal",{relatedTarget:t});this._isShown||e.defaultPrevented||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),N.on(this._element,"click.dismiss.bs.modal",'[data-bs-dismiss="modal"]',t=>this.hide(t)),N.on(this._dialog,"mousedown.dismiss.bs.modal",()=>{N.one(this._element,"mouseup.dismiss.bs.modal",t=>{t.target===this._element&&(this._ignoreBackdropClick=!0)})}),this._showBackdrop(()=>this._showElement(t)))}hide(t){if(t&&t.preventDefault(),!this._isShown||this._isTransitioning)return;if(N.trigger(this._element,"hide.bs.modal").defaultPrevented)return;this._isShown=!1;const e=this._isAnimated();if(e&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),N.off(document,"focusin.bs.modal"),this._element.classList.remove("show"),N.off(this._element,"click.dismiss.bs.modal"),N.off(this._dialog,"mousedown.dismiss.bs.modal"),e){const t=n(this._element);N.one(this._element,"transitionend",t=>this._hideModal(t)),a(this._element,t)}else this._hideModal()}dispose(){[window,this._element,this._dialog].forEach(t=>N.off(t,".bs.modal")),super.dispose(),N.off(document,"focusin.bs.modal"),this._config=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null}handleUpdate(){this._adjustDialog()}_getConfig(t){return t={...be,...t},l("modal",t,ve),t}_showElement(t){const e=this._isAnimated(),i=H.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0,i&&(i.scrollTop=0),e&&u(this._element),this._element.classList.add("show"),this._config.focus&&this._enforceFocus();const s=()=>{this._config.focus&&this._element.focus(),this._isTransitioning=!1,N.trigger(this._element,"shown.bs.modal",{relatedTarget:t})};if(e){const t=n(this._dialog);N.one(this._dialog,"transitionend",s),a(this._dialog,t)}else s()}_enforceFocus(){N.off(document,"focusin.bs.modal"),N.on(document,"focusin.bs.modal",t=>{document===t.target||this._element===t.target||this._element.contains(t.target)||this._element.focus()})}_setEscapeEvent(){this._isShown?N.on(this._element,"keydown.dismiss.bs.modal",t=>{this._config.keyboard&&"Escape"===t.key?(t.preventDefault(),this.hide()):this._config.keyboard||"Escape"!==t.key||this._triggerBackdropTransition()}):N.off(this._element,"keydown.dismiss.bs.modal")}_setResizeEvent(){this._isShown?N.on(window,"resize.bs.modal",()=>this._adjustDialog()):N.off(window,"resize.bs.modal")}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop(()=>{document.body.classList.remove("modal-open"),this._resetAdjustments(),this._resetScrollbar(),N.trigger(this._element,"hidden.bs.modal")})}_removeBackdrop(){this._backdrop.parentNode.removeChild(this._backdrop),this._backdrop=null}_showBackdrop(t){const e=this._isAnimated();if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",e&&this._backdrop.classList.add("fade"),document.body.appendChild(this._backdrop),N.on(this._element,"click.dismiss.bs.modal",t=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===this._config.backdrop?this._triggerBackdropTransition():this.hide())}),e&&u(this._backdrop),this._backdrop.classList.add("show"),!e)return void t();const i=n(this._backdrop);N.one(this._backdrop,"transitionend",t),a(this._backdrop,i)}else if(!this._isShown&&this._backdrop){this._backdrop.classList.remove("show");const i=()=>{this._removeBackdrop(),t()};if(e){const t=n(this._backdrop);N.one(this._backdrop,"transitionend",i),a(this._backdrop,t)}else i()}else t()}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(N.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight;t||(this._element.style.overflowY="hidden"),this._element.classList.add("modal-static");const e=n(this._dialog);N.off(this._element,"transitionend"),N.one(this._element,"transitionend",()=>{this._element.classList.remove("modal-static"),t||(N.one(this._element,"transitionend",()=>{this._element.style.overflowY=""}),a(this._element,e))}),a(this._element,e),this._element.focus()}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight;(!this._isBodyOverflowing&&t&&!g()||this._isBodyOverflowing&&!t&&g())&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),(this._isBodyOverflowing&&!t&&!g()||!this._isBodyOverflowing&&t&&g())&&(this._element.style.paddingRight=this._scrollbarWidth+"px")}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}_checkScrollbar(){const t=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(t.left+t.right)<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()}_setScrollbar(){this._isBodyOverflowing&&(this._setElementAttributes(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top","paddingRight",t=>t+this._scrollbarWidth),this._setElementAttributes(".sticky-top","marginRight",t=>t-this._scrollbarWidth),this._setElementAttributes("body","paddingRight",t=>t+this._scrollbarWidth)),document.body.classList.add("modal-open")}_setElementAttributes(t,e,i){H.find(t).forEach(t=>{if(t!==document.body&&window.innerWidth>t.clientWidth+this._scrollbarWidth)return;const s=t.style[e],n=window.getComputedStyle(t)[e];B.setDataAttribute(t,e,s),t.style[e]=i(Number.parseFloat(n))+"px"})}_resetScrollbar(){this._resetElementAttributes(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top","paddingRight"),this._resetElementAttributes(".sticky-top","marginRight"),this._resetElementAttributes("body","paddingRight")}_resetElementAttributes(t,e){H.find(t).forEach(t=>{const i=B.getDataAttribute(t,e);void 0===i&&t===document.body?t.style[e]="":(B.removeDataAttribute(t,e),t.style[e]=i)})}_getScrollbarWidth(){const t=document.createElement("div");t.className="modal-scrollbar-measure",document.body.appendChild(t);const e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e}static jQueryInterface(t,e){return this.each((function(){let i=b.get(this,"bs.modal");const s={...be,...B.getDataAttributes(this),..."object"==typeof t&&t?t:{}};if(i||(i=new ye(this,s)),"string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t](e)}}))}}N.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',(function(t){const e=s(this);"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault(),N.one(e,"show.bs.modal",t=>{t.defaultPrevented||N.one(e,"hidden.bs.modal",()=>{c(this)&&this.focus()})});let i=b.get(e,"bs.modal");if(!i){const t={...B.getDataAttributes(e),...B.getDataAttributes(this)};i=new ye(e,t)}i.toggle(this)})),m("modal",ye);const we=()=>{const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)},Ee=(t,e,i)=>{const s=we();H.find(t).forEach(t=>{if(t!==document.body&&window.innerWidth>t.clientWidth+s)return;const n=t.style[e],o=window.getComputedStyle(t)[e];B.setDataAttribute(t,e,n),t.style[e]=i(Number.parseFloat(o))+"px"})},Te=(t,e)=>{H.find(t).forEach(t=>{const i=B.getDataAttribute(t,e);void 0===i&&t===document.body?t.style.removeProperty(e):(B.removeDataAttribute(t,e),t.style[e]=i)})},Ae={backdrop:!0,keyboard:!0,scroll:!1},Le={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"};class Oe extends j{constructor(t,e){super(t),this._config=this._getConfig(e),this._isShown=!1,this._addEventListeners()}static get Default(){return Ae}static get DATA_KEY(){return"bs.offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||N.trigger(this._element,"show.bs.offcanvas",{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._element.style.visibility="visible",this._config.backdrop&&document.body.classList.add("offcanvas-backdrop"),this._config.scroll||((t=we())=>{document.body.style.overflow="hidden",Ee(".fixed-top, .fixed-bottom, .is-fixed","paddingRight",e=>e+t),Ee(".sticky-top","marginRight",e=>e-t),Ee("body","paddingRight",e=>e+t)})(),this._element.classList.add("offcanvas-toggling"),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add("show"),setTimeout(()=>{this._element.classList.remove("offcanvas-toggling"),N.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:t}),this._enforceFocusOnElement(this._element)},n(this._element)))}hide(){this._isShown&&(N.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._element.classList.add("offcanvas-toggling"),N.off(document,"focusin.bs.offcanvas"),this._element.blur(),this._isShown=!1,this._element.classList.remove("show"),setTimeout(()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.backdrop&&document.body.classList.remove("offcanvas-backdrop"),this._config.scroll||(document.body.style.overflow="auto",Te(".fixed-top, .fixed-bottom, .is-fixed","paddingRight"),Te(".sticky-top","marginRight"),Te("body","paddingRight")),N.trigger(this._element,"hidden.bs.offcanvas"),this._element.classList.remove("offcanvas-toggling")},n(this._element))))}_getConfig(t){return t={...Ae,...B.getDataAttributes(this._element),..."object"==typeof t?t:{}},l("offcanvas",t,Le),t}_enforceFocusOnElement(t){N.off(document,"focusin.bs.offcanvas"),N.on(document,"focusin.bs.offcanvas",e=>{document===e.target||t===e.target||t.contains(e.target)||t.focus()}),t.focus()}_addEventListeners(){N.on(this._element,"click.dismiss.bs.offcanvas",'[data-bs-dismiss="offcanvas"]',()=>this.hide()),N.on(document,"keydown",t=>{this._config.keyboard&&"Escape"===t.key&&this.hide()}),N.on(document,"click.bs.offcanvas.data-api",t=>{const e=H.findOne(i(t.target));this._element.contains(t.target)||e===this._element||this.hide()})}static jQueryInterface(t){return this.each((function(){const e=b.get(this,"bs.offcanvas")||new Oe(this,"object"==typeof t?t:{});if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}N.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',(function(t){const e=s(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),d(this))return;N.one(e,"hidden.bs.offcanvas",()=>{c(this)&&this.focus()});const i=H.findOne(".offcanvas.show, .offcanvas-toggling");i&&i!==e||(b.get(e,"bs.offcanvas")||new Oe(e)).toggle(this)})),N.on(window,"load.bs.offcanvas.data-api",()=>{H.find(".offcanvas.show").forEach(t=>(b.get(t,"bs.offcanvas")||new Oe(t)).show())}),m("offcanvas",Oe);const ke=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),De=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/i,xe=/^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=(t,e)=>{const i=t.nodeName.toLowerCase();if(e.includes(i))return!ke.has(i)||Boolean(De.test(t.nodeValue)||xe.test(t.nodeValue));const s=e.filter(t=>t instanceof RegExp);for(let t=0,e=s.length;t<e;t++)if(s[t].test(i))return!0;return!1};function Se(t,e,i){if(!t.length)return t;if(i&&"function"==typeof i)return i(t);const s=(new window.DOMParser).parseFromString(t,"text/html"),n=Object.keys(e),o=[].concat(...s.body.querySelectorAll("*"));for(let t=0,i=o.length;t<i;t++){const i=o[t],s=i.nodeName.toLowerCase();if(!n.includes(s)){i.parentNode.removeChild(i);continue}const r=[].concat(...i.attributes),a=[].concat(e["*"]||[],e[s]||[]);r.forEach(t=>{Ce(t,a)||i.removeAttribute(t.nodeName)})}return s.body.innerHTML}const Ne=new RegExp("(^|\\s)bs-tooltip\\S+","g"),je=new Set(["sanitize","allowList","sanitizeFn"]),Pe={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)"},Ie={AUTO:"auto",TOP:"top",RIGHT:g()?"left":"right",BOTTOM:"bottom",LEFT:g()?"right":"left"},Me={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},Re={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"};class Be extends j{constructor(t,e){if(void 0===ae)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.config=this._getConfig(e),this.tip=null,this._setListeners()}static get Default(){return Me}static get NAME(){return"tooltip"}static get DATA_KEY(){return"bs.tooltip"}static get Event(){return Re}static get EVENT_KEY(){return".bs.tooltip"}static get DefaultType(){return Pe}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(t){if(this._isEnabled)if(t){const e=this._initializeOnDelegatedTarget(t);e._activeTrigger.click=!e._activeTrigger.click,e._isWithActiveTrigger()?e._enter(null,e):e._leave(null,e)}else{if(this.getTipElement().classList.contains("show"))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),N.off(this._element,this.constructor.EVENT_KEY),N.off(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler),this.tip&&this.tip.parentNode&&this.tip.parentNode.removeChild(this.tip),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.config=null,this.tip=null,super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this.isWithContent()||!this._isEnabled)return;const e=N.trigger(this._element,this.constructor.Event.SHOW),i=h(this._element),s=null===i?this._element.ownerDocument.documentElement.contains(this._element):i.contains(this._element);if(e.defaultPrevented||!s)return;const o=this.getTipElement(),r=t(this.constructor.NAME);o.setAttribute("id",r),this._element.setAttribute("aria-describedby",r),this.setContent(),this.config.animation&&o.classList.add("fade");const l="function"==typeof this.config.placement?this.config.placement.call(this,o,this._element):this.config.placement,c=this._getAttachment(l);this._addAttachmentClass(c);const d=this._getContainer();b.set(o,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(d.appendChild(o),N.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=re(this._element,o,this._getPopperConfig(c)),o.classList.add("show");const f="function"==typeof this.config.customClass?this.config.customClass():this.config.customClass;f&&o.classList.add(...f.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>{N.on(t,"mouseover",(function(){}))});const u=()=>{const t=this._hoverState;this._hoverState=null,N.trigger(this._element,this.constructor.Event.SHOWN),"out"===t&&this._leave(null,this)};if(this.tip.classList.contains("fade")){const t=n(this.tip);N.one(this.tip,"transitionend",u),a(this.tip,t)}else u()}hide(){if(!this._popper)return;const t=this.getTipElement(),e=()=>{this._isWithActiveTrigger()||("show"!==this._hoverState&&t.parentNode&&t.parentNode.removeChild(t),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),N.trigger(this._element,this.constructor.Event.HIDDEN),this._popper&&(this._popper.destroy(),this._popper=null))};if(!N.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented){if(t.classList.remove("show"),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>N.off(t,"mouseover",f)),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,this.tip.classList.contains("fade")){const i=n(t);N.one(t,"transitionend",e),a(t,i)}else e();this._hoverState=""}}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const t=document.createElement("div");return t.innerHTML=this.config.template,this.tip=t.children[0],this.tip}setContent(){const t=this.getTipElement();this.setElementContent(H.findOne(".tooltip-inner",t),this.getTitle()),t.classList.remove("fade","show")}setElementContent(t,e){if(null!==t)return"object"==typeof e&&r(e)?(e.jquery&&(e=e[0]),void(this.config.html?e.parentNode!==t&&(t.innerHTML="",t.appendChild(e)):t.textContent=e.textContent)):void(this.config.html?(this.config.sanitize&&(e=Se(e,this.config.allowList,this.config.sanitizeFn)),t.innerHTML=e):t.textContent=e)}getTitle(){let t=this._element.getAttribute("data-bs-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this._element):this.config.title),t}updateAttachment(t){return"right"===t?"end":"left"===t?"start":t}_initializeOnDelegatedTarget(t,e){const i=this.constructor.DATA_KEY;return(e=e||b.get(t.delegateTarget,i))||(e=new this.constructor(t.delegateTarget,this._getDelegateConfig()),b.set(t.delegateTarget,i,e)),e}_getOffset(){const{offset:t}=this.config;return"string"==typeof t?t.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{altBoundary:!0,fallbackPlacements:this.config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this.config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"onChange",enabled:!0,phase:"afterWrite",fn:t=>this._handlePopperPlacementChange(t)}],onFirstUpdate:t=>{t.options.placement!==t.placement&&this._handlePopperPlacementChange(t)}};return{...e,..."function"==typeof this.config.popperConfig?this.config.popperConfig(e):this.config.popperConfig}}_addAttachmentClass(t){this.getTipElement().classList.add("bs-tooltip-"+this.updateAttachment(t))}_getContainer(){return!1===this.config.container?document.body:r(this.config.container)?this.config.container:H.findOne(this.config.container)}_getAttachment(t){return Ie[t.toUpperCase()]}_setListeners(){this.config.trigger.split(" ").forEach(t=>{if("click"===t)N.on(this._element,this.constructor.Event.CLICK,this.config.selector,t=>this.toggle(t));else if("manual"!==t){const e="hover"===t?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,i="hover"===t?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;N.on(this._element,e,this.config.selector,t=>this._enter(t)),N.on(this._element,i,this.config.selector,t=>this._leave(t))}}),this._hideModalHandler=()=>{this._element&&this.hide()},N.on(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler),this.config.selector?this.config={...this.config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const t=this._element.getAttribute("title"),e=typeof this._element.getAttribute("data-bs-original-title");(t||"string"!==e)&&(this._element.setAttribute("data-bs-original-title",t||""),!t||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",t),this._element.setAttribute("title",""))}_enter(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusin"===t.type?"focus":"hover"]=!0),e.getTipElement().classList.contains("show")||"show"===e._hoverState?e._hoverState="show":(clearTimeout(e._timeout),e._hoverState="show",e.config.delay&&e.config.delay.show?e._timeout=setTimeout(()=>{"show"===e._hoverState&&e.show()},e.config.delay.show):e.show())}_leave(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusout"===t.type?"focus":"hover"]=e._element.contains(t.relatedTarget)),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState="out",e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(()=>{"out"===e._hoverState&&e.hide()},e.config.delay.hide):e.hide())}_isWithActiveTrigger(){for(const t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1}_getConfig(t){const e=B.getDataAttributes(this._element);return Object.keys(e).forEach(t=>{je.has(t)&&delete e[t]}),t&&"object"==typeof t.container&&t.container.jquery&&(t.container=t.container[0]),"number"==typeof(t={...this.constructor.Default,...e,..."object"==typeof t&&t?t:{}}).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),l("tooltip",t,this.constructor.DefaultType),t.sanitize&&(t.template=Se(t.template,t.allowList,t.sanitizeFn)),t}_getDelegateConfig(){const t={};if(this.config)for(const e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t}_cleanTipClass(){const t=this.getTipElement(),e=t.getAttribute("class").match(Ne);null!==e&&e.length>0&&e.map(t=>t.trim()).forEach(e=>t.classList.remove(e))}_handlePopperPlacementChange(t){const{state:e}=t;e&&(this.tip=e.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(e.placement)))}static jQueryInterface(t){return this.each((function(){let e=b.get(this,"bs.tooltip");const i="object"==typeof t&&t;if((e||!/dispose|hide/.test(t))&&(e||(e=new Be(this,i)),"string"==typeof t)){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}m("tooltip",Be);const He=new RegExp("(^|\\s)bs-popover\\S+","g"),We={...Be.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'},Ue={...Be.DefaultType,content:"(string|element|function)"},$e={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"};class Fe extends Be{static get Default(){return We}static get NAME(){return"popover"}static get DATA_KEY(){return"bs.popover"}static get Event(){return $e}static get EVENT_KEY(){return".bs.popover"}static get DefaultType(){return Ue}isWithContent(){return this.getTitle()||this._getContent()}setContent(){const t=this.getTipElement();this.setElementContent(H.findOne(".popover-header",t),this.getTitle());let e=this._getContent();"function"==typeof e&&(e=e.call(this._element)),this.setElementContent(H.findOne(".popover-body",t),e),t.classList.remove("fade","show")}_addAttachmentClass(t){this.getTipElement().classList.add("bs-popover-"+this.updateAttachment(t))}_getContent(){return this._element.getAttribute("data-bs-content")||this.config.content}_cleanTipClass(){const t=this.getTipElement(),e=t.getAttribute("class").match(He);null!==e&&e.length>0&&e.map(t=>t.trim()).forEach(e=>t.classList.remove(e))}static jQueryInterface(t){return this.each((function(){let e=b.get(this,"bs.popover");const i="object"==typeof t?t:null;if((e||!/dispose|hide/.test(t))&&(e||(e=new Fe(this,i),b.set(this,"bs.popover",e)),"string"==typeof t)){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}m("popover",Fe);const ze={offset:10,method:"auto",target:""},Ke={offset:"number",method:"string",target:"(string|element)"};class Ye extends j{constructor(t,e){super(t),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(e),this._selector=`${this._config.target} .nav-link, ${this._config.target} .list-group-item, ${this._config.target} .dropdown-item`,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,N.on(this._scrollElement,"scroll.bs.scrollspy",()=>this._process()),this.refresh(),this._process()}static get Default(){return ze}static get DATA_KEY(){return"bs.scrollspy"}refresh(){const t=this._scrollElement===this._scrollElement.window?"offset":"position",e="auto"===this._config.method?t:this._config.method,s="position"===e?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),H.find(this._selector).map(t=>{const n=i(t),o=n?H.findOne(n):null;if(o){const t=o.getBoundingClientRect();if(t.width||t.height)return[B[e](o).top+s,n]}return null}).filter(t=>t).sort((t,e)=>t[0]-e[0]).forEach(t=>{this._offsets.push(t[0]),this._targets.push(t[1])})}dispose(){super.dispose(),N.off(this._scrollElement,".bs.scrollspy"),this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null}_getConfig(e){if("string"!=typeof(e={...ze,..."object"==typeof e&&e?e:{}}).target&&r(e.target)){let{id:i}=e.target;i||(i=t("scrollspy"),e.target.id=i),e.target="#"+i}return l("scrollspy",e,Ke),e}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),i=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=i){const t=this._targets[this._targets.length-1];this._activeTarget!==t&&this._activate(t)}else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(let e=this._offsets.length;e--;)this._activeTarget!==this._targets[e]&&t>=this._offsets[e]&&(void 0===this._offsets[e+1]||t<this._offsets[e+1])&&this._activate(this._targets[e])}}_activate(t){this._activeTarget=t,this._clear();const e=this._selector.split(",").map(e=>`${e}[data-bs-target="${t}"],${e}[href="${t}"]`),i=H.findOne(e.join(","));i.classList.contains("dropdown-item")?(H.findOne(".dropdown-toggle",i.closest(".dropdown")).classList.add("active"),i.classList.add("active")):(i.classList.add("active"),H.parents(i,".nav, .list-group").forEach(t=>{H.prev(t,".nav-link, .list-group-item").forEach(t=>t.classList.add("active")),H.prev(t,".nav-item").forEach(t=>{H.children(t,".nav-link").forEach(t=>t.classList.add("active"))})})),N.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:t})}_clear(){H.find(this._selector).filter(t=>t.classList.contains("active")).forEach(t=>t.classList.remove("active"))}static jQueryInterface(t){return this.each((function(){let e=b.get(this,"bs.scrollspy");if(e||(e=new Ye(this,"object"==typeof t&&t)),"string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}N.on(window,"load.bs.scrollspy.data-api",()=>{H.find('[data-bs-spy="scroll"]').forEach(t=>new Ye(t,B.getDataAttributes(t)))}),m("scrollspy",Ye);class qe extends j{static get DATA_KEY(){return"bs.tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains("active")||d(this._element))return;let t;const e=s(this._element),i=this._element.closest(".nav, .list-group");if(i){const e="UL"===i.nodeName||"OL"===i.nodeName?":scope > li > .active":".active";t=H.find(e,i),t=t[t.length-1]}const n=t?N.trigger(t,"hide.bs.tab",{relatedTarget:this._element}):null;if(N.trigger(this._element,"show.bs.tab",{relatedTarget:t}).defaultPrevented||null!==n&&n.defaultPrevented)return;this._activate(this._element,i);const o=()=>{N.trigger(t,"hidden.bs.tab",{relatedTarget:this._element}),N.trigger(this._element,"shown.bs.tab",{relatedTarget:t})};e?this._activate(e,e.parentNode,o):o()}_activate(t,e,i){const s=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?H.children(e,".active"):H.find(":scope > li > .active",e))[0],o=i&&s&&s.classList.contains("fade"),r=()=>this._transitionComplete(t,s,i);if(s&&o){const t=n(s);s.classList.remove("show"),N.one(s,"transitionend",r),a(s,t)}else r()}_transitionComplete(t,e,i){if(e){e.classList.remove("active");const t=H.findOne(":scope > .dropdown-menu .active",e.parentNode);t&&t.classList.remove("active"),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}t.classList.add("active"),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),u(t),t.classList.contains("fade")&&t.classList.add("show"),t.parentNode&&t.parentNode.classList.contains("dropdown-menu")&&(t.closest(".dropdown")&&H.find(".dropdown-toggle").forEach(t=>t.classList.add("active")),t.setAttribute("aria-expanded",!0)),i&&i()}static jQueryInterface(t){return this.each((function(){const e=b.get(this,"bs.tab")||new qe(this);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}N.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',(function(t){t.preventDefault(),(b.get(this,"bs.tab")||new qe(this)).show()})),m("tab",qe);const Ve={animation:"boolean",autohide:"boolean",delay:"number"},Xe={animation:!0,autohide:!0,delay:5e3};class Qe extends j{constructor(t,e){super(t),this._config=this._getConfig(e),this._timeout=null,this._setListeners()}static get DefaultType(){return Ve}static get Default(){return Xe}static get DATA_KEY(){return"bs.toast"}show(){if(N.trigger(this._element,"show.bs.toast").defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");const t=()=>{this._element.classList.remove("showing"),this._element.classList.add("show"),N.trigger(this._element,"shown.bs.toast"),this._config.autohide&&(this._timeout=setTimeout(()=>{this.hide()},this._config.delay))};if(this._element.classList.remove("hide"),u(this._element),this._element.classList.add("showing"),this._config.animation){const e=n(this._element);N.one(this._element,"transitionend",t),a(this._element,e)}else t()}hide(){if(!this._element.classList.contains("show"))return;if(N.trigger(this._element,"hide.bs.toast").defaultPrevented)return;const t=()=>{this._element.classList.add("hide"),N.trigger(this._element,"hidden.bs.toast")};if(this._element.classList.remove("show"),this._config.animation){const e=n(this._element);N.one(this._element,"transitionend",t),a(this._element,e)}else t()}dispose(){this._clearTimeout(),this._element.classList.contains("show")&&this._element.classList.remove("show"),N.off(this._element,"click.dismiss.bs.toast"),super.dispose(),this._config=null}_getConfig(t){return t={...Xe,...B.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}},l("toast",t,this.constructor.DefaultType),t}_setListeners(){N.on(this._element,"click.dismiss.bs.toast",'[data-bs-dismiss="toast"]',()=>this.hide())}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each((function(){let e=b.get(this,"bs.toast");if(e||(e=new Qe(this,"object"==typeof t&&t)),"string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}return m("toast",Qe),{Alert:P,Button:I,Carousel:Y,Collapse:X,Dropdown:_e,Modal:ye,Offcanvas:Oe,Popover:Fe,ScrollSpy:Ye,Tab:qe,Toast:Qe,Tooltip:Be}}));
!function(e,t){void 0===e&&void 0!==window&&(e=window),"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery")):t(e.jQuery)}(this,function(e){!function(T){"use strict";var d=["sanitize","whiteList","sanitizeFn"],l=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],e={"*":["class","dir","id","lang","role","tabindex","style",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},r=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,a=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i,n=["title","placeholder"];function v(e,t){var i=e.nodeName.toLowerCase();if(-1!==T.inArray(i,t))return-1===T.inArray(i,l)||Boolean(e.nodeValue.match(r)||e.nodeValue.match(a));for(var s=T(t).filter(function(e,t){return t instanceof RegExp}),n=0,o=s.length;n<o;n++)if(i.match(s[n]))return!0;return!1}function P(e,t,i){if(i&&"function"==typeof i)return i(e);for(var s=Object.keys(t),n=0,o=e.length;n<o;n++)for(var l=e[n].querySelectorAll("*"),r=0,a=l.length;r<a;r++){var c=l[r],d=c.nodeName.toLowerCase();if(-1!==s.indexOf(d))for(var h=[].slice.call(c.attributes),p=[].concat(t["*"]||[],t[d]||[]),u=0,f=h.length;u<f;u++){var m=h[u];v(m,p)||c.removeAttribute(m.nodeName)}else c.parentNode.removeChild(c)}}function h(t){var i,s={};return n.forEach(function(e){(i=t.attr(e))&&(s[e]=i)}),!s.placeholder&&s.title&&(s.placeholder=s.title),s}"classList"in document.createElement("_")||function(e){if("Element"in e){var t="classList",i="prototype",s=e.Element[i],n=Object,o=function(){var i=T(this);return{add:function(e){return e=Array.prototype.slice.call(arguments).join(" "),i.addClass(e)},remove:function(e){return e=Array.prototype.slice.call(arguments).join(" "),i.removeClass(e)},toggle:function(e,t){return i.toggleClass(e,t)},contains:function(e){return i.hasClass(e)}}};if(n.defineProperty){var l={get:o,enumerable:!0,configurable:!0};try{n.defineProperty(s,t,l)}catch(e){void 0!==e.number&&-2146823252!==e.number||(l.enumerable=!1,n.defineProperty(s,t,l))}}else n[i].__defineGetter__&&s.__defineGetter__(t,o)}}(window);var c,t=document.createElement("_");if(t.classList.add("c1","c2"),!t.classList.contains("c2")){var i=DOMTokenList.prototype.add,s=DOMTokenList.prototype.remove;DOMTokenList.prototype.add=function(){Array.prototype.forEach.call(arguments,i.bind(this))},DOMTokenList.prototype.remove=function(){Array.prototype.forEach.call(arguments,s.bind(this))}}if(t.classList.toggle("c3",!1),t.classList.contains("c3")){var o=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:o.call(this,e)}}function p(e){if(null==this)throw new TypeError;var t=String(this);if(e&&"[object RegExp]"==c.call(e))throw new TypeError;var i=t.length,s=String(e),n=s.length,o=1<arguments.length?arguments[1]:void 0,l=o?Number(o):0;l!=l&&(l=0);var r=Math.min(Math.max(l,0),i);if(i<n+r)return!1;for(var a=-1;++a<n;)if(t.charCodeAt(r+a)!=s.charCodeAt(a))return!1;return!0}function A(){var e=this.selectpicker.main.data.filter(function(e){return!!e.selected&&(!this.options.hideDisabled||!e.disabled)},this);if(this.options.source.data&&!this.multiple&&1<e.length){for(var t=0;t<e.length-1;t++)e[t].selected=!1;e=[e[e.length-1]]}return e}function z(e){for(var t,i=[],s=e||A.call(this),n=0,o=s.length;n<o;n++)(t=s[n]).disabled||i.push(void 0===t.value?t.text:t.value);return this.multiple?i:i.length?i[0]:null}t=null,String.prototype.startsWith||(c={}.toString,Object.defineProperty?Object.defineProperty(String.prototype,"startsWith",{value:p,configurable:!0,writable:!0}):String.prototype.startsWith=p);var u={useDefault:!1,_set:T.valHooks.select.set};T.valHooks.select.set=function(e,t){return t&&!u.useDefault&&T(e).data("selected",!0),u._set.apply(this,arguments)};var D=null,f=function(){try{return new Event("change"),!0}catch(e){return!1}}();function k(e,t,i,s){for(var n=["display","subtext","tokens"],o=!1,l=0;l<n.length;l++){var r=n[l],a=e[r];if(a&&(a=a.toString(),"display"===r&&(a=a.replace(/<[^>]+>/g,"")),s&&(a=I(a)),a=a.toUpperCase(),o="function"==typeof i?i(a,t):"contains"===i?0<=a.indexOf(t):a.startsWith(t)))break}return o}function L(e){return parseInt(e,10)||0}T.fn.triggerNative=function(e){var t,i=this[0];i.dispatchEvent&&(f?t=new Event(e,{bubbles:!0}):(t=document.createEvent("Event")).initEvent(e,!0,!1),i.dispatchEvent(t))};var m={"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"},g=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,b=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\u1ab0-\\u1aff\\u1dc0-\\u1dff]","g");function w(e){return m[e]}function I(e){return(e=e.toString())&&e.replace(g,w).replace(b,"")}var x,y,$,S,E=(x={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},y="(?:"+Object.keys(x).join("|")+")",$=RegExp(y),S=RegExp(y,"g"),function(e){return e=null==e?"":""+e,$.test(e)?e.replace(S,C):e});function C(e){return x[e]}var O={32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9"},N=27,H=13,W=32,B=9,M=38,R=40,U=window.Dropdown||bootstrap.Dropdown;function V(){var t;try{t=T.fn.dropdown.Constructor.VERSION}catch(e){t=U.VERSION}return t}var j={success:!1,major:"3"};try{j.full=(V()||"").split(" ")[0].split("."),j.major=j.full[0],j.success=!0}catch(e){}var _=0,F=".bs.select",G={DISABLED:"disabled",DIVIDER:"divider",SHOW:"open",DROPUP:"dropup",MENU:"dropdown-menu",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",BUTTONCLASS:"btn-default",POPOVERHEADER:"popover-title",ICONBASE:"glyphicon",TICKICON:"glyphicon-ok"},q={MENU:"."+G.MENU,DATA_TOGGLE:'data-toggle="dropdown"'},K={div:document.createElement("div"),span:document.createElement("span"),i:document.createElement("i"),subtext:document.createElement("small"),a:document.createElement("a"),li:document.createElement("li"),whitespace:document.createTextNode("\xa0"),fragment:document.createDocumentFragment(),option:document.createElement("option")};K.selectedOption=K.option.cloneNode(!1),K.selectedOption.setAttribute("selected",!0),K.noResults=K.li.cloneNode(!1),K.noResults.className="no-results",K.a.setAttribute("role","option"),K.a.className="dropdown-item",K.subtext.className="text-muted",K.text=K.span.cloneNode(!1),K.text.className="text",K.checkMark=K.span.cloneNode(!1);var Q=new RegExp(M+"|"+R),Y=new RegExp("^"+B+"$|"+N),Z={li:function(e,t,i){var s=K.li.cloneNode(!1);return e&&(1===e.nodeType||11===e.nodeType?s.appendChild(e):s.innerHTML=e),void 0!==t&&""!==t&&(s.className=t),null!=i&&s.classList.add("optgroup-"+i),s},a:function(e,t,i){var s=K.a.cloneNode(!0);return e&&(11===e.nodeType?s.appendChild(e):s.insertAdjacentHTML("beforeend",e)),void 0!==t&&""!==t&&s.classList.add.apply(s.classList,t.split(/\s+/)),i&&s.setAttribute("style",i),s},text:function(e,t){var i,s,n=K.text.cloneNode(!1);if(e.content)n.innerHTML=e.content;else{if(n.textContent=e.text,e.icon){var o=K.whitespace.cloneNode(!1);(s=(!0===t?K.i:K.span).cloneNode(!1)).className=this.options.iconBase+" "+e.icon,K.fragment.appendChild(s),K.fragment.appendChild(o)}e.subtext&&((i=K.subtext.cloneNode(!1)).textContent=e.subtext,n.appendChild(i))}if(!0===t)for(;0<n.childNodes.length;)K.fragment.appendChild(n.childNodes[0]);else K.fragment.appendChild(n);return K.fragment},label:function(e){var t,i,s=K.text.cloneNode(!1);if(s.innerHTML=e.display,e.icon){var n=K.whitespace.cloneNode(!1);(i=K.span.cloneNode(!1)).className=this.options.iconBase+" "+e.icon,K.fragment.appendChild(i),K.fragment.appendChild(n)}return e.subtext&&((t=K.subtext.cloneNode(!1)).textContent=e.subtext,s.appendChild(t)),K.fragment.appendChild(s),K.fragment}},J={fromOption:function(e,t){var i;switch(t){case"divider":i="true"===e.getAttribute("data-divider");break;case"text":i=e.textContent;break;case"label":i=e.label;break;case"style":i=e.style.cssText;break;case"content":case"tokens":case"subtext":case"icon":i=e.getAttribute("data-"+t)}return i},fromDataSource:function(e,t){var i;switch(t){case"text":case"label":i=e.text||e.value||"";break;case"divider":case"style":case"content":case"tokens":case"subtext":case"icon":i=e[t]}return i}};function X(e,t){e.length||(K.noResults.innerHTML=this.options.noneResultsText.replace("{0}",'"'+E(t)+'"'),this.$menuInner[0].firstChild.appendChild(K.noResults))}function ee(e){return!(e.hidden||this.options.hideDisabled&&e.disabled)}var te=function(e,t){var i=this;u.useDefault||(T.valHooks.select.set=u._set,u.useDefault=!0),this.$element=T(e),this.$newElement=null,this.$button=null,this.$menu=null,this.options=t,this.selectpicker={main:{optionQueue:K.fragment.cloneNode(!1)},search:{},current:{},view:{},isSearching:!1,keydown:{keyHistory:"",resetKeyHistory:{start:function(){return setTimeout(function(){i.selectpicker.keydown.keyHistory=""},800)}}}},this.sizeInfo={};var s=this.options.windowPadding;"number"==typeof s&&(this.options.windowPadding=[s,s,s,s]),this.val=te.prototype.val,this.render=te.prototype.render,this.refresh=te.prototype.refresh,this.setStyle=te.prototype.setStyle,this.selectAll=te.prototype.selectAll,this.deselectAll=te.prototype.deselectAll,this.destroy=te.prototype.destroy,this.remove=te.prototype.remove,this.show=te.prototype.show,this.hide=te.prototype.hide,this.init()};function ie(e){var r,a=arguments,c=e;if([].shift.apply(a),!j.success){try{j.full=(V()||"").split(" ")[0].split(".")}catch(e){te.BootstrapVersion?j.full=te.BootstrapVersion.split(" ")[0].split("."):(j.full=[j.major,"0","0"],console.warn("There was an issue retrieving Bootstrap's version. Ensure Bootstrap is being loaded before bootstrap-select and there is no namespace collision. If loading Bootstrap asynchronously, the version may need to be manually specified via $.fn.selectpicker.Constructor.BootstrapVersion.",e))}j.major=j.full[0],j.success=!0}if("4"<=j.major){var t=[];te.DEFAULTS.style===G.BUTTONCLASS&&t.push({name:"style",className:"BUTTONCLASS"}),te.DEFAULTS.iconBase===G.ICONBASE&&t.push({name:"iconBase",className:"ICONBASE"}),te.DEFAULTS.tickIcon===G.TICKICON&&t.push({name:"tickIcon",className:"TICKICON"}),G.DIVIDER="dropdown-divider",G.SHOW="show",G.BUTTONCLASS="btn-light",G.POPOVERHEADER="popover-header",G.ICONBASE="",G.TICKICON="bs-ok-default";for(var i=0;i<t.length;i++){e=t[i];te.DEFAULTS[e.name]=G[e.className]}}"4"<j.major&&(q.DATA_TOGGLE='data-bs-toggle="dropdown"');var s=this.each(function(){var e=T(this);if(e.is("select")){var t=e.data("selectpicker"),i="object"==typeof c&&c;if(i.title&&(i.placeholder=i.title),t){if(i)for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(t.options[s]=i[s])}else{var n=e.data();for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&-1!==T.inArray(o,d)&&delete n[o];var l=T.extend({},te.DEFAULTS,T.fn.selectpicker.defaults||{},h(e),n,i);l.template=T.extend({},te.DEFAULTS.template,T.fn.selectpicker.defaults?T.fn.selectpicker.defaults.template:{},n.template,i.template),e.data("selectpicker",t=new te(this,l))}"string"==typeof c&&(r=t[c]instanceof Function?t[c].apply(t,a):t.options[c])}});return void 0!==r?r:s}te.VERSION="1.14.0-beta2",te.DEFAULTS={noneSelectedText:"Nothing selected",noneResultsText:"No results matched {0}",countSelectedText:function(e,t){return 1==e?"{0} item selected":"{0} items selected"},maxOptionsText:function(e,t){return[1==e?"Limit reached ({n} item max)":"Limit reached ({n} items max)",1==t?"Group limit reached ({n} item max)":"Group limit reached ({n} items max)"]},selectAllText:"Select All",deselectAllText:"Deselect All",source:{},chunkSize:40,doneButton:!1,doneButtonText:"Close",multipleSeparator:", ",styleBase:"btn",style:G.BUTTONCLASS,size:"auto",title:null,placeholder:null,allowClear:!1,selectedTextFormat:"values",width:!1,container:!1,hideDisabled:!1,showSubtext:!1,showIcon:!0,showContent:!0,dropupAuto:!0,header:!1,liveSearch:!1,liveSearchPlaceholder:null,liveSearchNormalize:!1,liveSearchStyle:"contains",actionsBox:!1,iconBase:G.ICONBASE,tickIcon:G.TICKICON,showTick:!1,template:{caret:'<span class="caret"></span>'},maxOptions:!1,mobile:!1,selectOnTab:!1,dropdownAlignRight:!1,windowPadding:0,virtualScroll:600,display:!1,sanitize:!0,sanitizeFn:null,whiteList:e},te.prototype={constructor:te,init:function(){var i=this,e=this.$element.attr("id"),t=this.$element[0],s=t.form;_++,this.selectId="bs-select-"+_,t.classList.add("bs-select-hidden"),this.multiple=this.$element.prop("multiple"),this.autofocus=this.$element.prop("autofocus"),t.classList.contains("show-tick")&&(this.options.showTick=!0),this.$newElement=this.createDropdown(),this.$element.after(this.$newElement).prependTo(this.$newElement),s&&null===t.form&&(s.id||(s.id="form-"+this.selectId),t.setAttribute("form",s.id)),this.$button=this.$newElement.children("button"),this.options.allowClear&&(this.$clearButton=this.$button.children(".bs-select-clear-selected")),this.$menu=this.$newElement.children(q.MENU),this.$menuInner=this.$menu.children(".inner"),this.$searchbox=this.$menu.find("input"),t.classList.remove("bs-select-hidden"),this.fetchData(function(){i.render(!0),i.buildList(),requestAnimationFrame(function(){i.$element.trigger("loaded"+F)})}),this.fetchData(function(){i.render(!0),i.buildList(),requestAnimationFrame(function(){i.$element.trigger("loaded"+F)})}),!0===this.options.dropdownAlignRight&&this.$menu[0].classList.add(G.MENURIGHT),void 0!==e&&this.$button.attr("data-id",e),this.checkDisabled(),this.clickListener(),4<j.major&&(this.dropdown=new U(this.$button[0])),this.options.liveSearch?(this.liveSearchListener(),this.focusedParent=this.$searchbox[0]):this.focusedParent=this.$menuInner[0],this.setStyle(),this.setWidth(),this.options.container?this.selectPosition():this.$element.on("hide"+F,function(){if(i.isVirtual()){var e=i.$menuInner[0],t=e.firstChild.cloneNode(!1);e.replaceChild(t,e.firstChild),e.scrollTop=0}}),this.$menu.data("this",this),this.$newElement.data("this",this),this.options.mobile&&this.mobile(),this.$newElement.on({"hide.bs.dropdown":function(e){i.$element.trigger("hide"+F,e)},"hidden.bs.dropdown":function(e){i.$element.trigger("hidden"+F,e)},"show.bs.dropdown":function(e){i.$element.trigger("show"+F,e)},"shown.bs.dropdown":function(e){i.$element.trigger("shown"+F,e)}}),t.hasAttribute("required")&&this.$element.on("invalid"+F,function(){i.$button[0].classList.add("bs-invalid"),i.$element.on("shown"+F+".invalid",function(){i.$element.val(i.$element.val()).off("shown"+F+".invalid")}).on("rendered"+F,function(){this.validity.valid&&i.$button[0].classList.remove("bs-invalid"),i.$element.off("rendered"+F)}),i.$button.on("blur"+F,function(){i.$element.trigger("focus").trigger("blur"),i.$button.off("blur"+F)})}),s&&T(s).on("reset"+F,function(){requestAnimationFrame(function(){i.render()})})},createDropdown:function(){var e=this.multiple||this.options.showTick?" show-tick":"",t=this.multiple?' aria-multiselectable="true"':"",i="",s=this.autofocus?" autofocus":"";j.major<4&&this.$element.parent().hasClass("input-group")&&(i=" input-group-btn");var n,o="",l="",r="",a="",c="";return this.options.header&&(o='<div class="'+G.POPOVERHEADER+'"><button type="button" class="close" aria-hidden="true">&times;</button>'+this.options.header+"</div>"),this.options.liveSearch&&(l='<div class="bs-searchbox"><input type="search" class="form-control" autocomplete="off"'+(null===this.options.liveSearchPlaceholder?"":' placeholder="'+E(this.options.liveSearchPlaceholder)+'"')+' role="combobox" aria-label="Search" aria-controls="'+this.selectId+'" aria-autocomplete="list"></div>'),this.multiple&&this.options.actionsBox&&(r='<div class="bs-actionsbox"><div class="btn-group btn-group-sm"><button type="button" class="actions-btn bs-select-all btn '+G.BUTTONCLASS+'">'+this.options.selectAllText+'</button><button type="button" class="actions-btn bs-deselect-all btn '+G.BUTTONCLASS+'">'+this.options.deselectAllText+"</button></div></div>"),this.multiple&&this.options.doneButton&&(a='<div class="bs-donebutton"><div class="btn-group"><button type="button" class="btn btn-sm '+G.BUTTONCLASS+'">'+this.options.doneButtonText+"</button></div></div>"),this.options.allowClear&&(c='<span class="close bs-select-clear-selected" title="'+this.options.deselectAllText+'"><span>&times;</span>'),n='<div class="dropdown bootstrap-select'+e+i+'"><button type="button" tabindex="-1" class="'+this.options.styleBase+' dropdown-toggle" '+("static"===this.options.display?'data-display="static"':"")+q.DATA_TOGGLE+s+' role="combobox" aria-owns="'+this.selectId+'" aria-haspopup="listbox" aria-expanded="false"><div class="filter-option"><div class="filter-option-inner"><div class="filter-option-inner-inner">&nbsp;</div></div> </div>'+c+"</span>"+("4"<=j.major?"":'<span class="bs-caret">'+this.options.template.caret+"</span>")+'</button><div class="'+G.MENU+" "+("4"<=j.major?"":G.SHOW)+'">'+o+l+r+'<div class="inner '+G.SHOW+'" role="listbox" id="'+this.selectId+'" tabindex="-1" '+t+'><ul class="'+G.MENU+" inner "+("4"<=j.major?G.SHOW:"")+'" role="presentation"></ul></div>'+a+"</div></div>",T(n)},setPositionData:function(){this.selectpicker.view.canHighlight=[],this.selectpicker.view.size=0,this.selectpicker.view.firstHighlightIndex=!1;for(var e=0;e<this.selectpicker.current.data.length;e++){var t=this.selectpicker.current.data[e],i=!0;"divider"===t.type?(i=!1,t.height=this.sizeInfo.dividerHeight):"optgroup-label"===t.type?(i=!1,t.height=this.sizeInfo.dropdownHeaderHeight):t.height=this.sizeInfo.liHeight,t.disabled&&(i=!1),this.selectpicker.view.canHighlight.push(i),i&&(this.selectpicker.view.size++,t.posinset=this.selectpicker.view.size,!1===this.selectpicker.view.firstHighlightIndex&&(this.selectpicker.view.firstHighlightIndex=e)),t.position=(0===e?0:this.selectpicker.current.data[e-1].position)+t.height}},isVirtual:function(){return!1!==this.options.virtualScroll&&this.selectpicker.main.data.length>=this.options.virtualScroll||!0===this.options.virtualScroll},createView:function(z,e,t){var D,L,N=this,i=0,H=[];if(this.selectpicker.isSearching=z,this.selectpicker.current=z?this.selectpicker.search:this.selectpicker.main,this.setPositionData(),e)if(t)i=this.$menuInner[0].scrollTop;else if(!N.multiple){var s=N.$element[0],n=(s.options[s.selectedIndex]||{}).liIndex;if("number"==typeof n&&!1!==N.options.size){var o=N.selectpicker.main.data[n],l=o&&o.position;l&&(i=l-(N.sizeInfo.menuInnerHeight+N.sizeInfo.liHeight)/2)}}function W(e,t){var i,s,n,o,l,r,a,c,d=N.selectpicker.current.data.length,h=[],p=!0,u=N.isVirtual();N.selectpicker.view.scrollTop=e,i=N.options.chunkSize,s=Math.ceil(d/i)||1;for(var f=0;f<s;f++){var m=(f+1)*i;if(f===s-1&&(m=d),h[f]=[f*i+(f?1:0),m],!d)break;void 0===l&&e-1<=N.selectpicker.current.data[m-1].position-N.sizeInfo.menuInnerHeight&&(l=f)}if(void 0===l&&(l=0),r=[N.selectpicker.view.position0,N.selectpicker.view.position1],n=Math.max(0,l-1),o=Math.min(s-1,l+1),N.selectpicker.view.position0=!1===u?0:Math.max(0,h[n][0])||0,N.selectpicker.view.position1=!1===u?d:Math.min(d,h[o][1])||0,a=r[0]!==N.selectpicker.view.position0||r[1]!==N.selectpicker.view.position1,void 0!==N.activeIndex&&(L=(N.selectpicker.main.data[N.prevActiveIndex]||{}).element,H=(N.selectpicker.main.data[N.activeIndex]||{}).element,D=(N.selectpicker.main.data[N.selectedIndex]||{}).element,t&&(N.activeIndex!==N.selectedIndex&&N.defocusItem(H),N.activeIndex=void 0),N.activeIndex&&N.activeIndex!==N.selectedIndex&&N.defocusItem(D)),void 0!==N.prevActiveIndex&&N.prevActiveIndex!==N.activeIndex&&N.prevActiveIndex!==N.selectedIndex&&N.defocusItem(L),t||a){if(c=N.selectpicker.view.visibleElements?N.selectpicker.view.visibleElements.slice():[],N.selectpicker.view.visibleElements=!1===u?N.selectpicker.current.elements:N.selectpicker.current.elements.slice(N.selectpicker.view.position0,N.selectpicker.view.position1),N.setOptionStatus(),(z||!1===u&&t)&&(p=!function(e,i){return e.length===i.length&&e.every(function(e,t){return e===i[t]})}(c,N.selectpicker.view.visibleElements)),(t||!0===u)&&p){var v,g,b=N.$menuInner[0],w=document.createDocumentFragment(),I=b.firstChild.cloneNode(!1),x=N.selectpicker.view.visibleElements,k=[];b.replaceChild(I,b.firstChild);f=0;for(var y=x.length;f<y;f++){var $,S,E=x[f];N.options.sanitize&&($=E.lastChild)&&(S=N.selectpicker.current.data[f+N.selectpicker.view.position0])&&S.content&&!S.sanitized&&(k.push($),S.sanitized=!0),w.appendChild(E)}if(N.options.sanitize&&k.length&&P(k,N.options.whiteList,N.options.sanitizeFn),!0===u?(v=0===N.selectpicker.view.position0?0:N.selectpicker.current.data[N.selectpicker.view.position0-1].position,g=N.selectpicker.view.position1>d-1?0:N.selectpicker.current.data[d-1].position-N.selectpicker.current.data[N.selectpicker.view.position1-1].position,b.firstChild.style.marginTop=v+"px",b.firstChild.style.marginBottom=g+"px"):(b.firstChild.style.marginTop=0,b.firstChild.style.marginBottom=0),b.firstChild.appendChild(w),!0===u&&N.sizeInfo.hasScrollBar){var C=b.firstChild.offsetWidth;if(t&&C<N.sizeInfo.menuInnerInnerWidth&&N.sizeInfo.totalMenuWidth>N.sizeInfo.selectWidth)b.firstChild.style.minWidth=N.sizeInfo.menuInnerInnerWidth+"px";else if(C>N.sizeInfo.menuInnerInnerWidth){N.$menu[0].style.minWidth=0;var O=b.firstChild.offsetWidth;O>N.sizeInfo.menuInnerInnerWidth&&(N.sizeInfo.menuInnerInnerWidth=O,b.firstChild.style.minWidth=N.sizeInfo.menuInnerInnerWidth+"px"),N.$menu[0].style.minWidth=""}}}(!z&&N.options.source.load||z&&N.options.source.search)&&l===s-1&&N.fetchData(function(){N.render(),N.buildList(d,z),N.setPositionData(),W(e)},z?"search":"load",l+1,z?N.selectpicker.search.previousValue:void 0)}if(N.prevActiveIndex=N.activeIndex,N.options.liveSearch){if(z&&t){var A,T=0;N.selectpicker.view.canHighlight[T]||(T=1+N.selectpicker.view.canHighlight.slice(1).indexOf(!0)),A=N.selectpicker.view.visibleElements[T],N.defocusItem(N.selectpicker.view.currentActive),N.activeIndex=(N.selectpicker.current.data[T]||{}).index,N.focusItem(A)}}else N.$menuInner.trigger("focus")}W(i,!0),this.$menuInner.off("scroll.createView").on("scroll.createView",function(e,t){N.noScroll||W(this.scrollTop,t),N.noScroll=!1}),T(window).off("resize"+F+"."+this.selectId+".createView").on("resize"+F+"."+this.selectId+".createView",function(){N.$newElement.hasClass(G.SHOW)&&W(N.$menuInner[0].scrollTop)})},focusItem:function(e,t,i){if(e){t=t||this.selectpicker.main.data[this.activeIndex];var s=e.firstChild;s&&(s.setAttribute("aria-setsize",this.selectpicker.view.size),s.setAttribute("aria-posinset",t.posinset),!0!==i&&(this.focusedParent.setAttribute("aria-activedescendant",s.id),e.classList.add("active"),s.classList.add("active")))}},defocusItem:function(e){e&&(e.classList.remove("active"),e.firstChild&&e.firstChild.classList.remove("active"))},setPlaceholder:function(){var e=this,t=!1;if((this.options.placeholder||this.options.allowClear)&&!this.multiple){this.selectpicker.view.titleOption||(this.selectpicker.view.titleOption=document.createElement("option")),t=!0;var i=this.$element[0],s=!1,n=!this.selectpicker.view.titleOption.parentNode,o=i.selectedIndex,l=i.options[o],r=i.querySelector("select > *:not(:disabled)"),a=r?r.index:0,c=window.performance&&window.performance.getEntriesByType("navigation"),d=c&&c.length?"back_forward"!==c[0].type:2!==window.performance.navigation.type;n&&(this.selectpicker.view.titleOption.className="bs-title-option",this.selectpicker.view.titleOption.value="",s=!l||o===a&&!1===l.defaultSelected&&void 0===this.$element.data("selected")),!n&&0===this.selectpicker.view.titleOption.index||i.insertBefore(this.selectpicker.view.titleOption,i.firstChild),s&&d?i.selectedIndex=0:"complete"!==document.readyState&&window.addEventListener("pageshow",function(){e.selectpicker.view.displayedValue!==i.value&&e.render()})}return t},fetchData:function(t,i,e,s){i=i||"data";var n,o=this,l=this.options.source[i];l?(this.options.virtualScroll=!0,"function"==typeof l?l.call(this,function(e){n=o.buildData(e,i),t.call(o,n)},e,s):Array.isArray(l)&&(n=o.buildData(l,i),t.call(o,n))):(n=this.buildData(!1,i),t.call(o,n))},buildData:function(p,e){var u=!1===p?J.fromOption:J.fromDataSource,f=':not([hidden]):not([data-hidden="true"])',m=[],l=0,v=0,g=this.setPlaceholder()&&!p?1:0;"load"===e?l=this.selectpicker.main.data.length:"search"===e&&(l=this.selectpicker.search.data.length),this.options.hideDisabled&&(f+=":not(:disabled)");var t=p?p.filter(ee,this):this.$element[0].querySelectorAll("select > *"+f);function b(e){var t=m[m.length-1];t&&"divider"===t.type&&(t.optID||e.optID)||((e=e||{}).type="divider",m.push(e))}function w(e,t){if((t=t||{}).divider=u(e,"divider"),!0===t.divider)b({optID:t.optID});else{var i=m.length+l,s=u(e,"style"),n=s?E(s):"",o=(e.className||"")+(t.optgroupClass||"");t.optID&&(o="opt "+o),t.optionClass=o.trim(),t.inlineStyle=n,t.text=u(e,"text"),t.content=u(e,"content"),t.tokens=u(e,"tokens"),t.subtext=u(e,"subtext"),t.icon=u(e,"icon"),t.display=t.content||t.text,t.value=void 0===e.value?e.text:e.value,t.type="option",t.index=i,t.option=e.option?e.option:e,t.option.liIndex=i,t.selected=!!e.selected,t.disabled=t.disabled||!!e.disabled,m.push(t)}}function i(e,t){var i=t[e],s=!(e-1<g)&&t[e-1],n=t[e+1],o=p?i.children.filter(ee,this):i.querySelectorAll("option"+f);if(o.length){var l,r,a={display:E(u(I,"label")),subtext:u(i,"subtext"),icon:u(i,"icon"),type:"optgroup-label",optgroupClass:" "+(i.className||"")};v++,s&&b({optID:v}),a.optID=v,m.push(a);for(var c=0,d=o.length;c<d;c++){var h=o[c];0===c&&(r=(l=m.length-1)+d),w(h,{headerIndex:l,lastIndex:r,optID:a.optID,optgroupClass:a.optgroupClass,disabled:i.disabled})}n&&b({optID:v})}}for(var s=t.length,n=g;n<s;n++){var I=t[n],o=I.children;o&&o.length?i.call(this,g,t):w.call(this,I,{})}switch(e){case"data":this.selectpicker.main.data=this.selectpicker.current.data=m;break;case"load":Array.prototype.push.apply(this.selectpicker.main.data,m),this.selectpicker.current.data=this.selectpicker.main.data;break;case"search":Array.prototype.push.apply(this.selectpicker.search.data,m)}return m},buildList:function(e,t){var n=this,i=t?this.selectpicker.search.data:this.selectpicker.main.data,s=[],o=0;function l(e,t){var i,s=0;switch(t.type){case"divider":i=Z.li(!1,G.DIVIDER,t.optID?t.optID+"div":void 0);break;case"option":(i=Z.li(Z.a(Z.text.call(n,t),t.optionClass,t.inlineStyle),"",t.optID)).firstChild&&(i.firstChild.id=n.selectId+"-"+t.index);break;case"optgroup-label":i=Z.li(Z.label.call(n,t),"dropdown-header"+t.optgroupClass,t.optID)}t.element=i,e.push(i),t.display&&(s+=t.display.length),t.subtext&&(s+=t.subtext.length),t.icon&&(s+=1),o<s&&(o=s,n.selectpicker.view.widestOption=e[e.length-1])}!n.options.showTick&&!n.multiple||K.checkMark.parentNode||(K.checkMark.className=this.options.iconBase+" "+n.options.tickIcon+" check-mark",K.a.appendChild(K.checkMark));for(var r=e||0,a=i.length,c=r;c<a;c++){l(s,i[c])}e?t?Array.prototype.push.apply(this.selectpicker.search.elements,s):(Array.prototype.push.apply(this.selectpicker.main.elements,s),this.selectpicker.current.elements=this.selectpicker.main.elements):t?this.selectpicker.search.elements=s:this.selectpicker.main.elements=this.selectpicker.current.elements=s},findLis:function(){return this.$menuInner.find(".inner > li")},render:function(e){var t,i=this,s=this.$element[0],n=this.setPlaceholder()&&0===s.selectedIndex,o=A.call(this),l=o.length,r=z.call(this,o),a=this.$button[0],c=a.querySelector(".filter-option-inner-inner"),d=document.createTextNode(this.options.multipleSeparator),h=K.fragment.cloneNode(!1),p=!1;if(this.options.source.data&&e&&(o.map(function e(t){t.selected?i.createOption(t,!0):t.children&&t.children.length&&t.children.map(e)}),s.appendChild(this.selectpicker.main.optionQueue),n=n&&0===s.selectedIndex),a.classList.toggle("bs-placeholder",i.multiple?!l:!r&&0!==r),i.multiple||1!==o.length||(i.selectpicker.view.displayedValue=r),"static"===this.options.selectedTextFormat)h=Z.text.call(this,{text:this.options.placeholder},!0);else if(!1===(this.multiple&&-1!==this.options.selectedTextFormat.indexOf("count")&&1<l&&(1<(t=this.options.selectedTextFormat.split(">")).length&&l>t[1]||1===t.length&&2<=l))){if(!n){for(var u=0;u<l&&u<50;u++){var f=o[u],m={};f&&(this.multiple&&0<u&&h.appendChild(d.cloneNode(!1)),f.title?m.text=f.title:f.content&&i.options.showContent?(m.content=f.content.toString(),p=!0):(i.options.showIcon&&(m.icon=f.icon),i.options.showSubtext&&!i.multiple&&f.subtext&&(m.subtext=" "+f.subtext),m.text=f.text.trim()),h.appendChild(Z.text.call(this,m,!0)))}49<l&&h.appendChild(document.createTextNode("..."))}}else{var v=':not([hidden]):not([data-hidden="true"]):not([data-divider="true"])';this.options.hideDisabled&&(v+=":not(:disabled)");var g=this.$element[0].querySelectorAll("select > option"+v+", optgroup"+v+" option"+v).length,b="function"==typeof this.options.countSelectedText?this.options.countSelectedText(l,g):this.options.countSelectedText;h=Z.text.call(this,{text:b.replace("{0}",l.toString()).replace("{1}",g.toString())},!0)}if(h.childNodes.length||(h=Z.text.call(this,{text:this.options.placeholder?this.options.placeholder:this.options.noneSelectedText},!0)),a.title=h.textContent.replace(/<[^>]*>?/g,"").trim(),this.options.sanitize&&p&&P([h],i.options.whiteList,i.options.sanitizeFn),c.innerHTML="",c.appendChild(h),j.major<4&&this.$newElement[0].classList.contains("bs3-has-addon")){var w=a.querySelector(".filter-expand"),I=c.cloneNode(!0);I.className="filter-expand",w?a.replaceChild(I,w):a.appendChild(I)}this.$element.trigger("rendered"+F)},setStyle:function(e,t){var i,s=this.$button[0],n=this.$newElement[0],o=this.options.style.trim();this.$element.attr("class")&&this.$newElement.addClass(this.$element.attr("class").replace(/selectpicker|mobile-device|bs-select-hidden|validate\[.*\]/gi,"")),j.major<4&&(n.classList.add("bs3"),n.parentNode.classList&&n.parentNode.classList.contains("input-group")&&(n.previousElementSibling||n.nextElementSibling)&&(n.previousElementSibling||n.nextElementSibling).classList.contains("input-group-addon")&&n.classList.add("bs3-has-addon")),i=e?e.trim():o,"add"==t?i&&s.classList.add.apply(s.classList,i.split(" ")):"remove"==t?i&&s.classList.remove.apply(s.classList,i.split(" ")):(o&&s.classList.remove.apply(s.classList,o.split(" ")),i&&s.classList.add.apply(s.classList,i.split(" ")))},liHeight:function(e){if(e||!1!==this.options.size&&!Object.keys(this.sizeInfo).length){var t,i=K.div.cloneNode(!1),s=K.div.cloneNode(!1),n=K.div.cloneNode(!1),o=document.createElement("ul"),l=K.li.cloneNode(!1),r=K.li.cloneNode(!1),a=K.a.cloneNode(!1),c=K.span.cloneNode(!1),d=this.options.header&&0<this.$menu.find("."+G.POPOVERHEADER).length?this.$menu.find("."+G.POPOVERHEADER)[0].cloneNode(!0):null,h=this.options.liveSearch?K.div.cloneNode(!1):null,p=this.options.actionsBox&&this.multiple&&0<this.$menu.find(".bs-actionsbox").length?this.$menu.find(".bs-actionsbox")[0].cloneNode(!0):null,u=this.options.doneButton&&this.multiple&&0<this.$menu.find(".bs-donebutton").length?this.$menu.find(".bs-donebutton")[0].cloneNode(!0):null,f=this.$element[0].options[0];if(this.sizeInfo.selectWidth=this.$newElement[0].offsetWidth,c.className="text",a.className="dropdown-item "+(f?f.className:""),i.className=this.$menu[0].parentNode.className+" "+G.SHOW,i.style.width=0,"auto"===this.options.width&&(s.style.minWidth=0),s.className=G.MENU+" "+G.SHOW,n.className="inner "+G.SHOW,o.className=G.MENU+" inner "+("4"<=j.major?G.SHOW:""),l.className=G.DIVIDER,r.className="dropdown-header",c.appendChild(document.createTextNode("\u200b")),this.selectpicker.current.data.length)for(var m=0;m<this.selectpicker.current.data.length;m++){var v=this.selectpicker.current.data[m];if("option"===v.type){t=v.element;break}}else t=K.li.cloneNode(!1),a.appendChild(c),t.appendChild(a);if(r.appendChild(c.cloneNode(!0)),this.selectpicker.view.widestOption&&o.appendChild(this.selectpicker.view.widestOption.cloneNode(!0)),o.appendChild(t),o.appendChild(l),o.appendChild(r),d&&s.appendChild(d),h){var g=document.createElement("input");h.className="bs-searchbox",g.className="form-control",h.appendChild(g),s.appendChild(h)}p&&s.appendChild(p),n.appendChild(o),s.appendChild(n),u&&s.appendChild(u),i.appendChild(s),document.body.appendChild(i);var b,w=t.offsetHeight,I=r?r.offsetHeight:0,x=d?d.offsetHeight:0,k=h?h.offsetHeight:0,y=p?p.offsetHeight:0,$=u?u.offsetHeight:0,S=T(l).outerHeight(!0),E=window.getComputedStyle(s),C=s.offsetWidth,O={vert:L(E.paddingTop)+L(E.paddingBottom)+L(E.borderTopWidth)+L(E.borderBottomWidth),horiz:L(E.paddingLeft)+L(E.paddingRight)+L(E.borderLeftWidth)+L(E.borderRightWidth)},A={vert:O.vert+L(E.marginTop)+L(E.marginBottom)+2,horiz:O.horiz+L(E.marginLeft)+L(E.marginRight)+2};n.style.overflowY="scroll",b=s.offsetWidth-C,document.body.removeChild(i),this.sizeInfo.liHeight=w,this.sizeInfo.dropdownHeaderHeight=I,this.sizeInfo.headerHeight=x,this.sizeInfo.searchHeight=k,this.sizeInfo.actionsHeight=y,this.sizeInfo.doneButtonHeight=$,this.sizeInfo.dividerHeight=S,this.sizeInfo.menuPadding=O,this.sizeInfo.menuExtras=A,this.sizeInfo.menuWidth=C,this.sizeInfo.menuInnerInnerWidth=C-O.horiz,this.sizeInfo.totalMenuWidth=this.sizeInfo.menuWidth,this.sizeInfo.scrollBarWidth=b,this.sizeInfo.selectHeight=this.$newElement[0].offsetHeight,this.setPositionData()}},getSelectPosition:function(){var e,t=T(window),i=this.$newElement.offset(),s=T(this.options.container);this.options.container&&s.length&&!s.is("body")?((e=s.offset()).top+=parseInt(s.css("borderTopWidth")),e.left+=parseInt(s.css("borderLeftWidth"))):e={top:0,left:0};var n=this.options.windowPadding;this.sizeInfo.selectOffsetTop=i.top-e.top-t.scrollTop(),this.sizeInfo.selectOffsetBot=t.height()-this.sizeInfo.selectOffsetTop-this.sizeInfo.selectHeight-e.top-n[2],this.sizeInfo.selectOffsetLeft=i.left-e.left-t.scrollLeft(),this.sizeInfo.selectOffsetRight=t.width()-this.sizeInfo.selectOffsetLeft-this.sizeInfo.selectWidth-e.left-n[1],this.sizeInfo.selectOffsetTop-=n[0],this.sizeInfo.selectOffsetLeft-=n[3]},setMenuSize:function(e){this.getSelectPosition();var t,i,s,n,o,l,r,a,c=this.sizeInfo.selectWidth,d=this.sizeInfo.liHeight,h=this.sizeInfo.headerHeight,p=this.sizeInfo.searchHeight,u=this.sizeInfo.actionsHeight,f=this.sizeInfo.doneButtonHeight,m=this.sizeInfo.dividerHeight,v=this.sizeInfo.menuPadding,g=0;if(this.options.dropupAuto&&(r=d*this.selectpicker.current.data.length+v.vert,a=this.sizeInfo.selectOffsetTop-this.sizeInfo.selectOffsetBot>this.sizeInfo.menuExtras.vert&&r+this.sizeInfo.menuExtras.vert+50>this.sizeInfo.selectOffsetBot,!0===this.selectpicker.isSearching&&(a=this.selectpicker.dropup),this.$newElement.toggleClass(G.DROPUP,a),this.selectpicker.dropup=a),"auto"===this.options.size)n=3<this.selectpicker.current.data.length?3*this.sizeInfo.liHeight+this.sizeInfo.menuExtras.vert-2:0,i=this.sizeInfo.selectOffsetBot-this.sizeInfo.menuExtras.vert,s=n+h+p+u+f,l=Math.max(n-v.vert,0),this.$newElement.hasClass(G.DROPUP)&&(i=this.sizeInfo.selectOffsetTop-this.sizeInfo.menuExtras.vert),t=(o=i)-h-p-u-f-v.vert;else if(this.options.size&&"auto"!=this.options.size&&this.selectpicker.current.elements.length>this.options.size){for(var b=0;b<this.options.size;b++)"divider"===this.selectpicker.current.data[b].type&&g++;t=(i=d*this.options.size+g*m+v.vert)-v.vert,o=i+h+p+u+f,s=l=""}this.$menu.css({"max-height":o+"px",overflow:"hidden","min-height":s+"px"}),this.$menuInner.css({"max-height":t+"px","overflow-y":"auto","min-height":l+"px"}),this.sizeInfo.menuInnerHeight=Math.max(t,1),this.selectpicker.current.data.length&&this.selectpicker.current.data[this.selectpicker.current.data.length-1].position>this.sizeInfo.menuInnerHeight&&(this.sizeInfo.hasScrollBar=!0,this.sizeInfo.totalMenuWidth=this.sizeInfo.menuWidth+this.sizeInfo.scrollBarWidth),"auto"===this.options.dropdownAlignRight&&this.$menu.toggleClass(G.MENURIGHT,this.sizeInfo.selectOffsetLeft>this.sizeInfo.selectOffsetRight&&this.sizeInfo.selectOffsetRight<this.sizeInfo.totalMenuWidth-c),this.dropdown&&this.dropdown._popper&&this.dropdown._popper.update()},setSize:function(e){if(this.liHeight(e),this.options.header&&this.$menu.css("padding-top",0),!1!==this.options.size){var t=this,i=T(window);this.setMenuSize(),this.options.liveSearch&&this.$searchbox.off("input.setMenuSize propertychange.setMenuSize").on("input.setMenuSize propertychange.setMenuSize",function(){return t.setMenuSize()}),"auto"===this.options.size?i.off("resize"+F+"."+this.selectId+".setMenuSize scroll"+F+"."+this.selectId+".setMenuSize").on("resize"+F+"."+this.selectId+".setMenuSize scroll"+F+"."+this.selectId+".setMenuSize",function(){return t.setMenuSize()}):this.options.size&&"auto"!=this.options.size&&this.selectpicker.current.elements.length>this.options.size&&i.off("resize"+F+"."+this.selectId+".setMenuSize scroll"+F+"."+this.selectId+".setMenuSize")}this.createView(!1,!0,e)},setWidth:function(){var i=this;"auto"===this.options.width?requestAnimationFrame(function(){i.$menu.css("min-width","0"),i.$element.on("loaded"+F,function(){i.liHeight(),i.setMenuSize();var e=i.$newElement.clone().appendTo("body"),t=e.css("width","auto").children("button").outerWidth();e.remove(),i.sizeInfo.selectWidth=Math.max(i.sizeInfo.totalMenuWidth,t),i.$newElement.css("width",i.sizeInfo.selectWidth+"px")})}):"fit"===this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width","").addClass("fit-width")):this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width",this.options.width)):(this.$menu.css("min-width",""),this.$newElement.css("width","")),this.$newElement.hasClass("fit-width")&&"fit"!==this.options.width&&this.$newElement[0].classList.remove("fit-width")},selectPosition:function(){this.$bsContainer=T('<div class="bs-container" />');function e(e){var t={},i=l.options.display||!!T.fn.dropdown.Constructor.Default&&T.fn.dropdown.Constructor.Default.display;l.$bsContainer.addClass(e.attr("class").replace(/form-control|fit-width/gi,"")).toggleClass(G.DROPUP,e.hasClass(G.DROPUP)),s=e.offset(),r.is("body")?n={top:0,left:0}:((n=r.offset()).top+=parseInt(r.css("borderTopWidth"))-r.scrollTop(),n.left+=parseInt(r.css("borderLeftWidth"))-r.scrollLeft()),o=e.hasClass(G.DROPUP)?0:e[0].offsetHeight,(j.major<4||"static"===i)&&(t.top=s.top-n.top+o,t.left=s.left-n.left),t.width=e[0].offsetWidth,l.$bsContainer.css(t)}var s,n,o,l=this,r=T(this.options.container);this.$button.on("click.bs.dropdown.data-api",function(){l.isDisabled()||(e(l.$newElement),l.$bsContainer.appendTo(l.options.container).toggleClass(G.SHOW,!l.$button.hasClass(G.SHOW)).append(l.$menu))}),T(window).off("resize"+F+"."+this.selectId+" scroll"+F+"."+this.selectId).on("resize"+F+"."+this.selectId+" scroll"+F+"."+this.selectId,function(){l.$newElement.hasClass(G.SHOW)&&e(l.$newElement)}),this.$element.on("hide"+F,function(){l.$menu.data("height",l.$menu.height()),l.$bsContainer.detach()})},createOption:function(e,t){var i=e.option?e.option:e;if(i&&1!==i.nodeType){var s=(t?K.selectedOption:K.option).cloneNode(!0);void 0!==i.value&&(s.value=i.value),s.textContent=i.text,s.selected=!0,void 0!==i.liIndex?s.liIndex=i.liIndex:t||(s.liIndex=e.index),e.option=s,this.selectpicker.main.optionQueue.appendChild(s)}},setOptionStatus:function(e){var t=this;if(t.noScroll=!1,t.selectpicker.view.visibleElements&&t.selectpicker.view.visibleElements.length){for(var i=0;i<t.selectpicker.view.visibleElements.length;i++){var s=t.selectpicker.current.data[i+t.selectpicker.view.position0];s.option&&(!0!==e&&t.setDisabled(s),t.setSelected(s))}this.options.source.data&&this.$element[0].appendChild(this.selectpicker.main.optionQueue)}},setSelected:function(e,t){t=void 0===t?e.selected:t;var i,s,n=e.index,o=e.element,l=void 0!==this.activeIndex,r=this.activeIndex===n||t&&!this.multiple&&!l;o&&(void 0!==t&&(e.selected=t,e.option&&(e.option.selected=t)),t&&this.options.source.data&&this.createOption(e,!1),s=o.firstChild,t&&(this.selectedIndex=n),o.classList.toggle("selected",t),r?(this.focusItem(o,e),this.selectpicker.view.currentActive=o,this.activeIndex=n):this.defocusItem(o),s&&(s.classList.toggle("selected",t),t?s.setAttribute("aria-selected",!0):this.multiple?s.setAttribute("aria-selected",!1):s.removeAttribute("aria-selected")),r||l||!t||void 0===this.prevActiveIndex||(i=this.selectpicker.main.elements[this.prevActiveIndex],this.defocusItem(i)))},setDisabled:function(e){var t,i=e.disabled,s=e.element;s&&(t=s.firstChild,s.classList.toggle(G.DISABLED,i),t&&("4"<=j.major&&t.classList.toggle(G.DISABLED,i),i?(t.setAttribute("aria-disabled",i),t.setAttribute("tabindex",-1)):(t.removeAttribute("aria-disabled"),t.setAttribute("tabindex",0))))},isDisabled:function(){return this.$element[0].disabled},checkDisabled:function(){this.isDisabled()?(this.$newElement[0].classList.add(G.DISABLED),this.$button.addClass(G.DISABLED).attr("aria-disabled",!0)):this.$button[0].classList.contains(G.DISABLED)&&(this.$newElement[0].classList.remove(G.DISABLED),this.$button.removeClass(G.DISABLED).attr("aria-disabled",!1))},clickListener:function(){var O=this,t=T(document);function e(){O.options.liveSearch?O.$searchbox.trigger("focus"):O.$menuInner.trigger("focus")}function i(){O.dropdown&&O.dropdown._popper&&O.dropdown._popper.state?e():requestAnimationFrame(i)}t.data("spaceSelect",!1),this.$button.on("keyup",function(e){/(32)/.test(e.keyCode.toString(10))&&t.data("spaceSelect")&&(e.preventDefault(),t.data("spaceSelect",!1))}),this.$newElement.on("show.bs.dropdown",function(){O.dropdown||"4"!==j.major||(O.dropdown=O.$button.data("bs.dropdown"),O.dropdown._menu=O.$menu[0])}),this.$button.on("click.bs.dropdown.data-api",function(e){if(O.options.allowClear){var t=e.target,i=O.$clearButton[0];/MSIE|Trident/.test(window.navigator.userAgent)&&(t=document.elementFromPoint(e.clientX,e.clientY)),t!==i&&t.parentElement!==i||(e.stopImmediatePropagation(),function(){if(O.multiple)O.deselectAll();else{var e=O.$element[0],t=e.value,i=e.selectedIndex,s=e.options[i],n=!!s&&O.selectpicker.main.data[s.liIndex];n&&O.setSelected(n,!1),e.selectedIndex=0,D=[i,!1,t],O.$element.triggerNative("change")}O.$newElement.hasClass(G.SHOW)&&(O.options.liveSearch&&O.$searchbox.trigger("focus"),O.createView(!1))}())}O.$newElement.hasClass(G.SHOW)||O.setSize()}),this.$element.on("shown"+F,function(){O.$menuInner[0].scrollTop!==O.selectpicker.view.scrollTop&&(O.$menuInner[0].scrollTop=O.selectpicker.view.scrollTop),3<j.major?requestAnimationFrame(i):e()}),this.$menuInner.on("mouseenter","li a",function(e){var t=this.parentElement,i=O.isVirtual()?O.selectpicker.view.position0:0,s=Array.prototype.indexOf.call(t.parentElement.children,t),n=O.selectpicker.current.data[s+i];O.focusItem(t,n,!0)}),this.$menuInner.on("click","li a",function(e,t){var i=T(this),s=O.$element[0],n=O.isVirtual()?O.selectpicker.view.position0:0,o=O.selectpicker.current.data[i.parent().index()+n],l=o.index,r=z.call(O),a=s.selectedIndex,c=s.options[a],d=!!c&&O.selectpicker.main.data[c.liIndex],h=!0;if(O.multiple&&1!==O.options.maxOptions&&e.stopPropagation(),e.preventDefault(),!O.isDisabled()&&!i.parent().hasClass(G.DISABLED)){var p=o.option,u=T(p),f=p.selected,m=u.parent("optgroup"),v=m.find("option"),g=O.options.maxOptions,b=m.data("maxOptions")||!1;if(l===O.activeIndex&&(t=!0),t||(O.prevActiveIndex=O.activeIndex,O.activeIndex=void 0),O.multiple){if(O.setSelected(o,!f),O.focusedParent.focus(),!1!==g||!1!==b){var w=g<A.call(O).length,I=b<m.find("option:selected").length;if(g&&w||b&&I)if(g&&1==g)s.selectedIndex=-1,p.selected=!0,O.setOptionStatus(!0);else if(b&&1==b){for(var x=0;x<v.length;x++){var k=v[x];k.selected=!1,O.setSelected(k.liIndex,!1)}p.selected=!0,O.setSelected(l,!0)}else{var y="string"==typeof O.options.maxOptionsText?[O.options.maxOptionsText,O.options.maxOptionsText]:O.options.maxOptionsText,$="function"==typeof y?y(g,b):y,S=$[0].replace("{n}",g),E=$[1].replace("{n}",b),C=T('<div class="notify"></div>');$[2]&&(S=S.replace("{var}",$[2][1<g?0:1]),E=E.replace("{var}",$[2][1<b?0:1])),p.selected=!1,O.$menu.append(C),g&&w&&(C.append(T("<div>"+S+"</div>")),h=!1,O.$element.trigger("maxReached"+F)),b&&I&&(C.append(T("<div>"+E+"</div>")),h=!1,O.$element.trigger("maxReachedGrp"+F)),setTimeout(function(){O.setSelected(l,!1)},10),C[0].classList.add("fadeOut"),setTimeout(function(){C.remove()},1050)}}}else d&&O.setSelected(d,!1),O.setSelected(o,!0);O.options.source.data&&O.$element[0].appendChild(O.selectpicker.main.optionQueue),!O.multiple||O.multiple&&1===O.options.maxOptions?O.$button.trigger("focus"):O.options.liveSearch&&O.$searchbox.trigger("focus"),h&&(!O.multiple&&a===s.selectedIndex||(D=[p.index,u.prop("selected"),r],O.$element.triggerNative("change")))}}),this.$menu.on("click","li."+G.DISABLED+" a, ."+G.POPOVERHEADER+", ."+G.POPOVERHEADER+" :not(.close)",function(e){e.currentTarget==this&&(e.preventDefault(),e.stopPropagation(),O.options.liveSearch&&!T(e.target).hasClass("close")?O.$searchbox.trigger("focus"):O.$button.trigger("focus"))}),this.$menuInner.on("click",".divider, .dropdown-header",function(e){e.preventDefault(),e.stopPropagation(),O.options.liveSearch?O.$searchbox.trigger("focus"):O.$button.trigger("focus")}),this.$menu.on("click","."+G.POPOVERHEADER+" .close",function(){O.$button.trigger("click")}),this.$searchbox.on("click",function(e){e.stopPropagation()}),this.$menu.on("click",".actions-btn",function(e){O.options.liveSearch?O.$searchbox.trigger("focus"):O.$button.trigger("focus"),e.preventDefault(),e.stopPropagation(),T(this).hasClass("bs-select-all")?O.selectAll():O.deselectAll()}),this.$button.on("focus"+F,function(e){var t=O.$element[0].getAttribute("tabindex");void 0!==t&&e.originalEvent&&e.originalEvent.isTrusted&&(this.setAttribute("tabindex",t),O.$element[0].setAttribute("tabindex",-1),O.selectpicker.view.tabindex=t)}).on("blur"+F,function(e){void 0!==O.selectpicker.view.tabindex&&e.originalEvent&&e.originalEvent.isTrusted&&(O.$element[0].setAttribute("tabindex",O.selectpicker.view.tabindex),this.setAttribute("tabindex",-1),O.selectpicker.view.tabindex=void 0)}),this.$element.on("change"+F,function(){O.render(),O.$element.trigger("changed"+F,D),D=null}).on("focus"+F,function(){O.options.mobile||O.$button[0].focus()})},liveSearchListener:function(){var u=this;this.$button.on("click.bs.dropdown.data-api",function(){u.$searchbox.val()&&(u.$searchbox.val(""),u.selectpicker.search.previousValue=void 0)}),this.$searchbox.on("click.bs.dropdown.data-api focus.bs.dropdown.data-api touchend.bs.dropdown.data-api",function(e){e.stopPropagation()}),this.$searchbox.on("input propertychange",function(){var t=u.$searchbox[0].value;if(u.selectpicker.search.elements=[],u.selectpicker.search.data=[],t)if(u.options.source.search)u.fetchData(function(e){u.render(),u.buildList(void 0,!0),u.createView(!0),X.call(u,e,t)},"search",0,t);else{var e=[],i=t.toUpperCase(),s={},n=[],o=u._searchStyle(),l=u.options.liveSearchNormalize;l&&(i=I(i));for(var r=0;r<u.selectpicker.main.data.length;r++){var a=u.selectpicker.main.data[r];s[r]||(s[r]=k(a,i,o,l)),s[r]&&void 0!==a.headerIndex&&-1===n.indexOf(a.headerIndex)&&(0<a.headerIndex&&(s[a.headerIndex-1]=!0,n.push(a.headerIndex-1)),s[a.headerIndex]=!0,n.push(a.headerIndex),s[a.lastIndex+1]=!0),s[r]&&"optgroup-label"!==a.type&&n.push(r)}r=0;for(var c=n.length;r<c;r++){var d=n[r],h=n[r-1],p=(a=u.selectpicker.main.data[d],u.selectpicker.main.data[h]);("divider"!==a.type||"divider"===a.type&&p&&"divider"!==p.type&&c-1!==r)&&(u.selectpicker.search.data.push(a),e.push(u.selectpicker.main.elements[d]))}u.activeIndex=void 0,u.noScroll=!0,u.$menuInner.scrollTop(0),u.selectpicker.search.elements=e,u.createView(!0),X.call(u,e,t)}else u.selectpicker.search.previousValue&&(u.$menuInner.scrollTop(0),u.createView(!1));u.selectpicker.search.previousValue=t})},_searchStyle:function(){return this.options.liveSearchStyle||"contains"},val:function(t){var e=this.$element[0];if(void 0===t)return this.$element.val();var i=A.call(this),s=z.call(this,i);D=[null,null,s],Array.isArray(t)||(t=[t]),t.map(String);for(var n=0;n<i.length;n++){var o=i[n];o&&-1===t.indexOf(String(o.value))&&this.setSelected(o,!1)}if(this.selectpicker.main.data.filter(function(e){return-1!==t.indexOf(String(e.value))&&(this.setSelected(e,!0),!0)},this),this.options.source.data&&e.appendChild(this.selectpicker.main.optionQueue),this.$element.trigger("changed"+F,D),this.$newElement.hasClass(G.SHOW))if(this.multiple)this.setOptionStatus(!0);else{var l=(e.options[e.selectedIndex]||{}).liIndex;"number"==typeof l&&(this.setSelected(this.selectedIndex,!1),this.setSelected(l,!0))}return this.render(),D=null,this.$element},changeAll:function(e){if(this.multiple){void 0===e&&(e=!0);var t=this.$element[0],i=0,s=0,n=z.call(this);t.classList.add("bs-select-hidden");for(var o=0,l=this.selectpicker.current.data,r=l.length;o<r;o++){var a=l[o],c=a.option;c&&!a.disabled&&"divider"!==a.type&&(a.selected&&i++,c.selected=e,!0===(a.selected=e)&&s++)}t.classList.remove("bs-select-hidden"),i!==s&&(this.setOptionStatus(),D=[null,null,n],this.$element.triggerNative("change"))}},selectAll:function(){return this.changeAll(!0)},deselectAll:function(){return this.changeAll(!1)},toggle:function(e,t){var i,s=void 0===t;(e=e||window.event)&&e.stopPropagation(),!1===s&&(i=this.$newElement[0].classList.contains(G.SHOW),s=!0===t&&!1===i||!1===t&&!0===i),s&&this.$button.trigger("click.bs.dropdown.data-api")},open:function(e){this.toggle(e,!0)},close:function(e){this.toggle(e,!1)},keydown:function(e){var t,i,s,n,o,l=T(this),r=l.hasClass("dropdown-toggle"),a=(r?l.closest(".dropdown"):l.closest(q.MENU)).data("this"),c=a.findLis(),d=!1,h=e.which===B&&!r&&!a.options.selectOnTab,p=Q.test(e.which)||h,u=a.$menuInner[0].scrollTop,f=!0===a.isVirtual()?a.selectpicker.view.position0:0;if(!(112<=e.which&&e.which<=123))if(!(i=a.$menu.hasClass(G.SHOW))&&(p||48<=e.which&&e.which<=57||96<=e.which&&e.which<=105||65<=e.which&&e.which<=90)&&(a.$button.trigger("click.bs.dropdown.data-api"),a.options.liveSearch))a.$searchbox.trigger("focus");else{if(e.which===N&&i&&(e.preventDefault(),a.$button.trigger("click.bs.dropdown.data-api").trigger("focus")),p){if(!c.length)return;-1!==(t=(s=a.selectpicker.main.elements[a.activeIndex])?Array.prototype.indexOf.call(s.parentElement.children,s):-1)&&a.defocusItem(s),e.which===M?(-1!==t&&t--,t+f<0&&(t+=c.length),a.selectpicker.view.canHighlight[t+f]||-1===(t=a.selectpicker.view.canHighlight.slice(0,t+f).lastIndexOf(!0)-f)&&(t=c.length-1)):e.which!==R&&!h||(++t+f>=a.selectpicker.view.canHighlight.length&&(t=a.selectpicker.view.firstHighlightIndex),a.selectpicker.view.canHighlight[t+f]||(t=t+1+a.selectpicker.view.canHighlight.slice(t+f+1).indexOf(!0))),e.preventDefault();var m=f+t;e.which===M?0===f&&t===c.length-1?(a.$menuInner[0].scrollTop=a.$menuInner[0].scrollHeight,m=a.selectpicker.current.elements.length-1):d=(o=(n=a.selectpicker.current.data[m]).position-n.height)<u:e.which!==R&&!h||(t===a.selectpicker.view.firstHighlightIndex?(a.$menuInner[0].scrollTop=0,m=a.selectpicker.view.firstHighlightIndex):d=u<(o=(n=a.selectpicker.current.data[m]).position-a.sizeInfo.menuInnerHeight)),s=a.selectpicker.current.elements[m],a.activeIndex=a.selectpicker.current.data[m].index,a.focusItem(s),a.selectpicker.view.currentActive=s,d&&(a.$menuInner[0].scrollTop=o),a.options.liveSearch?a.$searchbox.trigger("focus"):l.trigger("focus")}else if(!l.is("input")&&!Y.test(e.which)||e.which===W&&a.selectpicker.keydown.keyHistory){var v,g,b=[];e.preventDefault(),a.selectpicker.keydown.keyHistory+=O[e.which],a.selectpicker.keydown.resetKeyHistory.cancel&&clearTimeout(a.selectpicker.keydown.resetKeyHistory.cancel),a.selectpicker.keydown.resetKeyHistory.cancel=a.selectpicker.keydown.resetKeyHistory.start(),g=a.selectpicker.keydown.keyHistory,/^(.)\1+$/.test(g)&&(g=g.charAt(0));for(var w=0;w<a.selectpicker.current.data.length;w++){var I=a.selectpicker.current.data[w];k(I,g,"startsWith",!0)&&a.selectpicker.view.canHighlight[w]&&b.push(I.index)}if(b.length){var x=0;c.removeClass("active").find("a").removeClass("active"),1===g.length&&(-1===(x=b.indexOf(a.activeIndex))||x===b.length-1?x=0:x++),v=b[x],d=0<u-(n=a.selectpicker.main.data[v]).position?(o=n.position-n.height,!0):(o=n.position-a.sizeInfo.menuInnerHeight,n.position>u+a.sizeInfo.menuInnerHeight),s=a.selectpicker.main.elements[v],a.activeIndex=b[x],a.focusItem(s),s&&s.firstChild.focus(),d&&(a.$menuInner[0].scrollTop=o),l.trigger("focus")}}i&&(e.which===W&&!a.selectpicker.keydown.keyHistory||e.which===H||e.which===B&&a.options.selectOnTab)&&(e.which!==W&&e.preventDefault(),a.options.liveSearch&&e.which===W||(a.$menuInner.find(".active a").trigger("click",!0),l.trigger("focus"),a.options.liveSearch||(e.preventDefault(),T(document).data("spaceSelect",!0))))}},mobile:function(){this.options.mobile=!0,this.$element[0].classList.add("mobile-device")},refresh:function(){var e=this,t=T.extend({},this.options,h(this.$element),this.$element.data());this.options=t,this.options.source.data?(this.render(),this.buildList()):this.fetchData(function(){e.render(),e.buildList()}),this.checkDisabled(),this.setStyle(),this.setWidth(),this.setSize(!0),this.$element.trigger("refreshed"+F)},hide:function(){this.$newElement.hide()},show:function(){this.$newElement.show()},remove:function(){this.$newElement.remove(),this.$element.remove()},destroy:function(){this.$newElement.before(this.$element).remove(),this.$bsContainer?this.$bsContainer.remove():this.$menu.remove(),this.selectpicker.view.titleOption&&this.selectpicker.view.titleOption.parentNode&&this.selectpicker.view.titleOption.parentNode.removeChild(this.selectpicker.view.titleOption),this.$element.off(F).removeData("selectpicker").removeClass("bs-select-hidden selectpicker"),T(window).off(F+"."+this.selectId)}};var se=T.fn.selectpicker;function ne(){return j.major<5?T.fn.dropdown?(T.fn.dropdown.Constructor._dataApiKeydownHandler||T.fn.dropdown.Constructor.prototype.keydown).apply(this,arguments):void 0:U.dataApiKeydownHandler}T.fn.selectpicker=ie,T.fn.selectpicker.Constructor=te,T.fn.selectpicker.noConflict=function(){return T.fn.selectpicker=se,this},T(document).off("keydown.bs.dropdown.data-api").on("keydown.bs.dropdown.data-api",":not(.bootstrap-select) > ["+q.DATA_TOGGLE+"]",ne).on("keydown.bs.dropdown.data-api",":not(.bootstrap-select) > .dropdown-menu",ne).on("keydown"+F,".bootstrap-select ["+q.DATA_TOGGLE+'], .bootstrap-select [role="listbox"], .bootstrap-select .bs-searchbox input',te.prototype.keydown).on("focusin.modal",".bootstrap-select ["+q.DATA_TOGGLE+'], .bootstrap-select [role="listbox"], .bootstrap-select .bs-searchbox input',function(e){e.stopPropagation()}),document.addEventListener("DOMContentLoaded",function(){T(".selectpicker").each(function(){var e=T(this);ie.call(e,e.data())})})}(e)});
!function(t){var e={},s={mode:"horizontal",slideSelector:"",infiniteLoop:!0,hideControlOnEnd:!1,speed:500,easing:null,slideMargin:0,startSlide:0,randomStart:!1,captions:!1,ticker:!1,tickerHover:!1,adaptiveHeight:!1,adaptiveHeightSpeed:500,video:!1,useCSS:!0,preloadImages:"visible",responsive:!0,slideZIndex:50,touchEnabled:!0,swipeThreshold:50,oneToOneTouch:!0,preventDefaultSwipeX:!0,preventDefaultSwipeY:!1,pager:!0,pagerType:"full",pagerShortSeparator:" / ",pagerSelector:null,buildPager:null,pagerCustom:null,controls:!0,nextText:"Next",prevText:"Prev",nextSelector:null,prevSelector:null,autoControls:!1,startText:"Start",stopText:"Stop",autoControlsCombine:!1,autoControlsSelector:null,auto:!1,pause:4e3,autoStart:!0,autoDirection:"next",autoHover:!1,autoDelay:0,minSlides:1,maxSlides:1,moveSlides:0,slideWidth:0,onSliderLoad:function(){},onSlideBefore:function(){},onSlideAfter:function(){},onSlideNext:function(){},onSlidePrev:function(){},onSliderResize:function(){}};t.fn.bxSlider=function(n){if(0==this.length)return this;if(this.length>1)return this.each(function(){t(this).bxSlider(n)}),this;var o={},r=this;e.el=this;var a=t(window).width(),l=t(window).height(),d=function(){o.settings=t.extend({},s,n),o.settings.slideWidth=parseInt(o.settings.slideWidth),o.children=r.children(o.settings.slideSelector),o.children.length<o.settings.minSlides&&(o.settings.minSlides=o.children.length),o.children.length<o.settings.maxSlides&&(o.settings.maxSlides=o.children.length),o.settings.randomStart&&(o.settings.startSlide=Math.floor(Math.random()*o.children.length)),o.active={index:o.settings.startSlide},o.carousel=o.settings.minSlides>1||o.settings.maxSlides>1,o.carousel&&(o.settings.preloadImages="all"),o.minThreshold=o.settings.minSlides*o.settings.slideWidth+(o.settings.minSlides-1)*o.settings.slideMargin,o.maxThreshold=o.settings.maxSlides*o.settings.slideWidth+(o.settings.maxSlides-1)*o.settings.slideMargin,o.working=!1,o.controls={},o.interval=null,o.animProp="vertical"==o.settings.mode?"top":"left",o.usingCSS=o.settings.useCSS&&"fade"!=o.settings.mode&&function(){var t=document.createElement("div"),e=["WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var i in e)if(void 0!==t.style[e[i]])return o.cssPrefix=e[i].replace("Perspective","").toLowerCase(),o.animProp="-"+o.cssPrefix+"-transform",!0;return!1}(),"vertical"==o.settings.mode&&(o.settings.maxSlides=o.settings.minSlides),r.data("origStyle",r.attr("style")),r.children(o.settings.slideSelector).each(function(){t(this).data("origStyle",t(this).attr("style"))}),c()},c=function(){r.wrap('<div class="bx-wrapper"><div class="bx-viewport"></div></div>'),o.viewport=r.parent(),o.loader=t('<div class="bx-loading" />'),o.viewport.prepend(o.loader),r.css({width:"horizontal"==o.settings.mode?100*o.children.length+215+"%":"auto",position:"relative"}),o.usingCSS&&o.settings.easing?r.css("-"+o.cssPrefix+"-transition-timing-function",o.settings.easing):o.settings.easing||(o.settings.easing="swing"),f(),o.viewport.css({width:"100%",overflow:"hidden",position:"relative"}),o.viewport.parent().css({maxWidth:p()}),o.settings.pager||o.viewport.parent().css({margin:"0 auto 0px"}),o.children.css({"float":"horizontal"==o.settings.mode?"left":"none",listStyle:"none",position:"relative"}),o.children.css("width",u()),"horizontal"==o.settings.mode&&o.settings.slideMargin>0&&o.children.css("marginRight",o.settings.slideMargin),"vertical"==o.settings.mode&&o.settings.slideMargin>0&&o.children.css("marginBottom",o.settings.slideMargin),"fade"==o.settings.mode&&(o.children.css({position:"absolute",zIndex:0,display:"none"}),o.children.eq(o.settings.startSlide).css({zIndex:o.settings.slideZIndex,display:"block"})),o.controls.el=t('<div class="bx-controls" />'),o.settings.captions&&P(),o.active.last=o.settings.startSlide==x()-1,o.settings.video&&r.fitVids();var e=o.children.eq(o.settings.startSlide);"all"==o.settings.preloadImages&&(e=o.children),o.settings.ticker?o.settings.pager=!1:(o.settings.pager&&T(),o.settings.controls&&C(),o.settings.auto&&o.settings.autoControls&&E(),(o.settings.controls||o.settings.autoControls||o.settings.pager)&&o.viewport.after(o.controls.el)),g(e,h)},g=function(e,i){var s=e.find("img, iframe").length;if(0==s)return i(),void 0;var n=0;e.find("img, iframe").each(function(){t(this).one("load",function(){++n==s&&i()}).each(function(){this.complete&&t(this).load()})})},h=function(){if(o.settings.infiniteLoop&&"fade"!=o.settings.mode&&!o.settings.ticker){var e="vertical"==o.settings.mode?o.settings.minSlides:o.settings.maxSlides,i=o.children.slice(0,e).clone().addClass("bx-clone"),s=o.children.slice(-e).clone().addClass("bx-clone");r.append(i).prepend(s)}o.loader.remove(),S(),"vertical"==o.settings.mode&&(o.settings.adaptiveHeight=!0),o.viewport.height(v()),r.redrawSlider(),o.settings.onSliderLoad(o.active.index),o.initialized=!0,o.settings.responsive&&t(window).bind("resize",Z),o.settings.auto&&o.settings.autoStart&&H(),o.settings.ticker&&L(),o.settings.pager&&q(o.settings.startSlide),o.settings.controls&&W(),o.settings.touchEnabled&&!o.settings.ticker&&O()},v=function(){var e=0,s=t();if("vertical"==o.settings.mode||o.settings.adaptiveHeight)if(o.carousel){var n=1==o.settings.moveSlides?o.active.index:o.active.index*m();for(s=o.children.eq(n),i=1;i<=o.settings.maxSlides-1;i++)s=n+i>=o.children.length?s.add(o.children.eq(i-1)):s.add(o.children.eq(n+i))}else s=o.children.eq(o.active.index);else s=o.children;return"vertical"==o.settings.mode?(s.each(function(){e+=t(this).outerHeight()}),o.settings.slideMargin>0&&(e+=o.settings.slideMargin*(o.settings.minSlides-1))):e=Math.max.apply(Math,s.map(function(){return t(this).outerHeight(!1)}).get()),e},p=function(){var t="100%";return o.settings.slideWidth>0&&(t="horizontal"==o.settings.mode?o.settings.maxSlides*o.settings.slideWidth+(o.settings.maxSlides-1)*o.settings.slideMargin:o.settings.slideWidth),t},u=function(){var t=o.settings.slideWidth,e=o.viewport.width();return 0==o.settings.slideWidth||o.settings.slideWidth>e&&!o.carousel||"vertical"==o.settings.mode?t=e:o.settings.maxSlides>1&&"horizontal"==o.settings.mode&&(e>o.maxThreshold||e<o.minThreshold&&(t=(e-o.settings.slideMargin*(o.settings.minSlides-1))/o.settings.minSlides)),t},f=function(){var t=1;if("horizontal"==o.settings.mode&&o.settings.slideWidth>0)if(o.viewport.width()<o.minThreshold)t=o.settings.minSlides;else if(o.viewport.width()>o.maxThreshold)t=o.settings.maxSlides;else{var e=o.children.first().width();t=Math.floor(o.viewport.width()/e)}else"vertical"==o.settings.mode&&(t=o.settings.minSlides);return t},x=function(){var t=0;if(o.settings.moveSlides>0)if(o.settings.infiniteLoop)t=o.children.length/m();else for(var e=0,i=0;e<o.children.length;)++t,e=i+f(),i+=o.settings.moveSlides<=f()?o.settings.moveSlides:f();else t=Math.ceil(o.children.length/f());return t},m=function(){return o.settings.moveSlides>0&&o.settings.moveSlides<=f()?o.settings.moveSlides:f()},S=function(){if(o.children.length>o.settings.maxSlides&&o.active.last&&!o.settings.infiniteLoop){if("horizontal"==o.settings.mode){var t=o.children.last(),e=t.position();b(-(e.left-(o.viewport.width()-t.width())),"reset",0)}else if("vertical"==o.settings.mode){var i=o.children.length-o.settings.minSlides,e=o.children.eq(i).position();b(-e.top,"reset",0)}}else{var e=o.children.eq(o.active.index*m()).position();o.active.index==x()-1&&(o.active.last=!0),void 0!=e&&("horizontal"==o.settings.mode?b(-e.left,"reset",0):"vertical"==o.settings.mode&&b(-e.top,"reset",0))}},b=function(t,e,i,s){if(o.usingCSS){var n="vertical"==o.settings.mode?"translate3d(0, "+t+"px, 0)":"translate3d("+t+"px, 0, 0)";r.css("-"+o.cssPrefix+"-transition-duration",i/1e3+"s"),"slide"==e?(r.css(o.animProp,n),r.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){r.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),D()})):"reset"==e?r.css(o.animProp,n):"ticker"==e&&(r.css("-"+o.cssPrefix+"-transition-timing-function","linear"),r.css(o.animProp,n),r.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){r.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),b(s.resetValue,"reset",0),N()}))}else{var a={};a[o.animProp]=t,"slide"==e?r.animate(a,i,o.settings.easing,function(){D()}):"reset"==e?r.css(o.animProp,t):"ticker"==e&&r.animate(a,speed,"linear",function(){b(s.resetValue,"reset",0),N()})}},w=function(){for(var e="",i=x(),s=0;i>s;s++){var n="";o.settings.buildPager&&t.isFunction(o.settings.buildPager)?(n=o.settings.buildPager(s),o.pagerEl.addClass("bx-custom-pager")):(n=s+1,o.pagerEl.addClass("bx-default-pager")),e+='<div class="bx-pager-item"><a href="" data-slide-index="'+s+'" class="bx-pager-link">'+n+"</a></div>"}o.pagerEl.html(e)},T=function(){o.settings.pagerCustom?o.pagerEl=t(o.settings.pagerCustom):(o.pagerEl=t('<div class="bx-pager" />'),o.settings.pagerSelector?t(o.settings.pagerSelector).html(o.pagerEl):o.controls.el.addClass("bx-has-pager").append(o.pagerEl),w()),o.pagerEl.on("click","a",I)},C=function(){o.controls.next=t('<a class="bx-next" href="">'+o.settings.nextText+"</a>"),o.controls.prev=t('<a class="bx-prev" href="">'+o.settings.prevText+"</a>"),o.controls.next.bind("click",y),o.controls.prev.bind("click",z),o.settings.nextSelector&&t(o.settings.nextSelector).append(o.controls.next),o.settings.prevSelector&&t(o.settings.prevSelector).append(o.controls.prev),o.settings.nextSelector||o.settings.prevSelector||(o.controls.directionEl=t('<div class="bx-controls-direction" />'),o.controls.directionEl.append(o.controls.prev).append(o.controls.next),o.controls.el.addClass("bx-has-controls-direction").append(o.controls.directionEl))},E=function(){o.controls.start=t('<div class="bx-controls-auto-item"><a class="bx-start" href="">'+o.settings.startText+"</a></div>"),o.controls.stop=t('<div class="bx-controls-auto-item"><a class="bx-stop" href="">'+o.settings.stopText+"</a></div>"),o.controls.autoEl=t('<div class="bx-controls-auto" />'),o.controls.autoEl.on("click",".bx-start",k),o.controls.autoEl.on("click",".bx-stop",M),o.settings.autoControlsCombine?o.controls.autoEl.append(o.controls.start):o.controls.autoEl.append(o.controls.start).append(o.controls.stop),o.settings.autoControlsSelector?t(o.settings.autoControlsSelector).html(o.controls.autoEl):o.controls.el.addClass("bx-has-controls-auto").append(o.controls.autoEl),A(o.settings.autoStart?"stop":"start")},P=function(){o.children.each(function(){var e=t(this).find("img:first").attr("title");void 0!=e&&(""+e).length&&t(this).append('<div class="bx-caption"><span>'+e+"</span></div>")})},y=function(t){o.settings.auto&&r.stopAuto(),r.goToNextSlide(),t.preventDefault()},z=function(t){o.settings.auto&&r.stopAuto(),r.goToPrevSlide(),t.preventDefault()},k=function(t){r.startAuto(),t.preventDefault()},M=function(t){r.stopAuto(),t.preventDefault()},I=function(e){o.settings.auto&&r.stopAuto();var i=t(e.currentTarget),s=parseInt(i.attr("data-slide-index"));s!=o.active.index&&r.goToSlide(s),e.preventDefault()},q=function(e){var i=o.children.length;return"short"==o.settings.pagerType?(o.settings.maxSlides>1&&(i=Math.ceil(o.children.length/o.settings.maxSlides)),o.pagerEl.html(e+1+o.settings.pagerShortSeparator+i),void 0):(o.pagerEl.find("a").removeClass("active"),o.pagerEl.each(function(i,s){t(s).find("a").eq(e).addClass("active")}),void 0)},D=function(){if(o.settings.infiniteLoop){var t="";0==o.active.index?t=o.children.eq(0).position():o.active.index==x()-1&&o.carousel?t=o.children.eq((x()-1)*m()).position():o.active.index==o.children.length-1&&(t=o.children.eq(o.children.length-1).position()),t&&("horizontal"==o.settings.mode?b(-t.left,"reset",0):"vertical"==o.settings.mode&&b(-t.top,"reset",0))}o.working=!1,o.settings.onSlideAfter(o.children.eq(o.active.index),o.oldIndex,o.active.index)},A=function(t){o.settings.autoControlsCombine?o.controls.autoEl.html(o.controls[t]):(o.controls.autoEl.find("a").removeClass("active"),o.controls.autoEl.find("a:not(.bx-"+t+")").addClass("active"))},W=function(){1==x()?(o.controls.prev.addClass("disabled"),o.controls.next.addClass("disabled")):!o.settings.infiniteLoop&&o.settings.hideControlOnEnd&&(0==o.active.index?(o.controls.prev.addClass("disabled"),o.controls.next.removeClass("disabled")):o.active.index==x()-1?(o.controls.next.addClass("disabled"),o.controls.prev.removeClass("disabled")):(o.controls.prev.removeClass("disabled"),o.controls.next.removeClass("disabled")))},H=function(){o.settings.autoDelay>0?setTimeout(r.startAuto,o.settings.autoDelay):r.startAuto(),o.settings.autoHover&&r.hover(function(){o.interval&&(r.stopAuto(!0),o.autoPaused=!0)},function(){o.autoPaused&&(r.startAuto(!0),o.autoPaused=null)})},L=function(){var e=0;if("next"==o.settings.autoDirection)r.append(o.children.clone().addClass("bx-clone"));else{r.prepend(o.children.clone().addClass("bx-clone"));var i=o.children.first().position();e="horizontal"==o.settings.mode?-i.left:-i.top}b(e,"reset",0),o.settings.pager=!1,o.settings.controls=!1,o.settings.autoControls=!1,o.settings.tickerHover&&!o.usingCSS&&o.viewport.hover(function(){r.stop()},function(){var e=0;o.children.each(function(){e+="horizontal"==o.settings.mode?t(this).outerWidth(!0):t(this).outerHeight(!0)});var i=o.settings.speed/e,s="horizontal"==o.settings.mode?"left":"top",n=i*(e-Math.abs(parseInt(r.css(s))));N(n)}),N()},N=function(t){speed=t?t:o.settings.speed;var e={left:0,top:0},i={left:0,top:0};"next"==o.settings.autoDirection?e=r.find(".bx-clone").first().position():i=o.children.first().position();var s="horizontal"==o.settings.mode?-e.left:-e.top,n="horizontal"==o.settings.mode?-i.left:-i.top,a={resetValue:n};b(s,"ticker",speed,a)},O=function(){o.touch={start:{x:0,y:0},end:{x:0,y:0}},o.viewport.bind("touchstart",X)},X=function(t){if(o.working)t.preventDefault();else{o.touch.originalPos=r.position();var e=t.originalEvent;o.touch.start.x=e.changedTouches[0].pageX,o.touch.start.y=e.changedTouches[0].pageY,o.viewport.bind("touchmove",Y),o.viewport.bind("touchend",V)}},Y=function(t){var e=t.originalEvent,i=Math.abs(e.changedTouches[0].pageX-o.touch.start.x),s=Math.abs(e.changedTouches[0].pageY-o.touch.start.y);if(3*i>s&&o.settings.preventDefaultSwipeX?t.preventDefault():3*s>i&&o.settings.preventDefaultSwipeY&&t.preventDefault(),"fade"!=o.settings.mode&&o.settings.oneToOneTouch){var n=0;if("horizontal"==o.settings.mode){var r=e.changedTouches[0].pageX-o.touch.start.x;n=o.touch.originalPos.left+r}else{var r=e.changedTouches[0].pageY-o.touch.start.y;n=o.touch.originalPos.top+r}b(n,"reset",0)}},V=function(t){o.viewport.unbind("touchmove",Y);var e=t.originalEvent,i=0;if(o.touch.end.x=e.changedTouches[0].pageX,o.touch.end.y=e.changedTouches[0].pageY,"fade"==o.settings.mode){var s=Math.abs(o.touch.start.x-o.touch.end.x);s>=o.settings.swipeThreshold&&(o.touch.start.x>o.touch.end.x?r.goToNextSlide():r.goToPrevSlide(),r.stopAuto())}else{var s=0;"horizontal"==o.settings.mode?(s=o.touch.end.x-o.touch.start.x,i=o.touch.originalPos.left):(s=o.touch.end.y-o.touch.start.y,i=o.touch.originalPos.top),!o.settings.infiniteLoop&&(0==o.active.index&&s>0||o.active.last&&0>s)?b(i,"reset",200):Math.abs(s)>=o.settings.swipeThreshold?(0>s?r.goToNextSlide():r.goToPrevSlide(),r.stopAuto()):b(i,"reset",200)}o.viewport.unbind("touchend",V)},Z=function(){var e=t(window).width(),i=t(window).height();(a!=e||l!=i)&&(a=e,l=i,r.redrawSlider(),o.settings.onSliderResize.call(r,o.active.index))};return r.goToSlide=function(e,i){if(!o.working&&o.active.index!=e)if(o.working=!0,o.oldIndex=o.active.index,o.active.index=0>e?x()-1:e>=x()?0:e,o.settings.onSlideBefore(o.children.eq(o.active.index),o.oldIndex,o.active.index),"next"==i?o.settings.onSlideNext(o.children.eq(o.active.index),o.oldIndex,o.active.index):"prev"==i&&o.settings.onSlidePrev(o.children.eq(o.active.index),o.oldIndex,o.active.index),o.active.last=o.active.index>=x()-1,o.settings.pager&&q(o.active.index),o.settings.controls&&W(),"fade"==o.settings.mode)o.settings.adaptiveHeight&&o.viewport.height()!=v()&&o.viewport.animate({height:v()},o.settings.adaptiveHeightSpeed),o.children.filter(":visible").fadeOut(o.settings.speed).css({zIndex:0}),o.children.eq(o.active.index).css("zIndex",o.settings.slideZIndex+1).fadeIn(o.settings.speed,function(){t(this).css("zIndex",o.settings.slideZIndex),D()});else{o.settings.adaptiveHeight&&o.viewport.height()!=v()&&o.viewport.animate({height:v()},o.settings.adaptiveHeightSpeed);var s=0,n={left:0,top:0};if(!o.settings.infiniteLoop&&o.carousel&&o.active.last)if("horizontal"==o.settings.mode){var a=o.children.eq(o.children.length-1);n=a.position(),s=o.viewport.width()-a.outerWidth()}else{var l=o.children.length-o.settings.minSlides;n=o.children.eq(l).position()}else if(o.carousel&&o.active.last&&"prev"==i){var d=1==o.settings.moveSlides?o.settings.maxSlides-m():(x()-1)*m()-(o.children.length-o.settings.maxSlides),a=r.children(".bx-clone").eq(d);n=a.position()}else if("next"==i&&0==o.active.index)n=r.find("> .bx-clone").eq(o.settings.maxSlides).position(),o.active.last=!1;else if(e>=0){var c=e*m();n=o.children.eq(c).position()}if("undefined"!=typeof n){var g="horizontal"==o.settings.mode?-(n.left-s):-n.top;b(g,"slide",o.settings.speed)}}},r.goToNextSlide=function(){if(o.settings.infiniteLoop||!o.active.last){var t=parseInt(o.active.index)+1;r.goToSlide(t,"next")}},r.goToPrevSlide=function(){if(o.settings.infiniteLoop||0!=o.active.index){var t=parseInt(o.active.index)-1;r.goToSlide(t,"prev")}},r.startAuto=function(t){o.interval||(o.interval=setInterval(function(){"next"==o.settings.autoDirection?r.goToNextSlide():r.goToPrevSlide()},o.settings.pause),o.settings.autoControls&&1!=t&&A("stop"))},r.stopAuto=function(t){o.interval&&(clearInterval(o.interval),o.interval=null,o.settings.autoControls&&1!=t&&A("start"))},r.getCurrentSlide=function(){return o.active.index},r.getCurrentSlideElement=function(){return o.children.eq(o.active.index)},r.getSlideCount=function(){return o.children.length},r.redrawSlider=function(){o.children.add(r.find(".bx-clone")).outerWidth(u()),o.viewport.css("height",v()),o.settings.ticker||S(),o.active.last&&(o.active.index=x()-1),o.active.index>=x()&&(o.active.last=!0),o.settings.pager&&!o.settings.pagerCustom&&(w(),q(o.active.index))},r.destroySlider=function(){o.initialized&&(o.initialized=!1,t(".bx-clone",this).remove(),o.children.each(function(){void 0!=t(this).data("origStyle")?t(this).attr("style",t(this).data("origStyle")):t(this).removeAttr("style")}),void 0!=t(this).data("origStyle")?this.attr("style",t(this).data("origStyle")):t(this).removeAttr("style"),t(this).unwrap().unwrap(),o.controls.el&&o.controls.el.remove(),o.controls.next&&o.controls.next.remove(),o.controls.prev&&o.controls.prev.remove(),o.pagerEl&&o.settings.controls&&o.pagerEl.remove(),t(".bx-caption",this).remove(),o.controls.autoEl&&o.controls.autoEl.remove(),clearInterval(o.interval),o.settings.responsive&&t(window).unbind("resize",Z))},r.reloadSlider=function(t){void 0!=t&&(n=t),r.destroySlider(),d()},d(),this}}(jQuery);
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n;"undefined"!=typeof window?n=window:"undefined"!=typeof global?n=global:"undefined"!=typeof self&&(n=self),n.Countdown=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
var defaultOptions={
date: "June 7, 2087 15:03:25",
refresh: 1000,
offset: 0,
onEnd: function(){
return;
},
render: function (date){
this.el.innerHTML =
"<li> <span class='days'> <i>"+ date.days +"</i> Days </span> </li>" +
"<li> <span class='hours'> <i>"+ date.hours +"</i> Hours </span> </li>" +
"<li> <span class='minutes'> <i>"+ date.min +"</i> Minutes </span> </li>" +
"<li> <span class='seconds'> <i>"+ date.sec +"</i> Seconds </span> </li>";
}};
var Countdown=function(el, options){
this.el=el;
this.options={};
this.interval=false;
for (var i in defaultOptions){
if(defaultOptions.hasOwnProperty(i)){
this.options[i]=typeof options[i]!=='undefined' ? options[i]:defaultOptions[i];
if(i==='date'&&typeof this.options.date!=='object'){
this.options.date=new Date(this.options.date);
}
if(typeof this.options[i]==='function'){
this.options[i]=this.options[i].bind(this);
}}
}
this.getDiffDate=function(){
var diff=(this.options.date.getTime() - Date.now() + this.options.offset) / 1000;
var dateData={
years:    0,
days:     0,
hours:    0,
min:      0,
sec:      0,
millisec: 0
};
if(diff <=0){
if(this.interval){
this.stop();
this.options.onEnd();
}
return dateData;
}
if(diff >=(365.25 * 86400)){
dateData.years=Math.floor(diff / (365.25 * 86400));
diff -=dateData.years * 365.25 * 86400;
}
if(diff >=86400){
dateData.days=Math.floor(diff / 86400);
diff -=dateData.days * 86400;
}
if(diff >=3600){
dateData.hours=Math.floor(diff / 3600);
diff -=dateData.hours * 3600;
}
if(diff >=60){
dateData.min=Math.floor(diff / 60);
diff -=dateData.min * 60;
}
dateData.sec=Math.round(diff);
dateData.millisec=diff % 1 * 1000;
return dateData;
}.bind(this);
this.leadingZeros=function(num, length){
length=length||2;
num=String(num);
if(num.length > length){
return num;
}
return (Array(length + 1).join('0') + num).substr(-length);
};
this.update=function(newDate){
if(typeof newDate!=='object'){
newDate=new Date(newDate);
}
this.options.date=newDate;
this.render();
return this;
}.bind(this);
this.stop=function(){
if(this.interval){
clearInterval(this.interval);
this.interval=false;
}
return this;
}.bind(this);
this.render=function(){
this.options.render(this.getDiffDate());
return this;
}.bind(this);
this.start=function(){
if(this.interval){ return; }
this.render();
if(this.options.refresh){
this.interval=setInterval(this.render, this.options.refresh);
}
return this;
}.bind(this);
this.updateOffset=function(offset){
this.options.offset=offset;
return this;
}.bind(this);
this.start();
};
module.exports=Countdown;
},{}],2:[function(require,module,exports){
var Countdown=require('./countdown.js');
var NAME='countdown';
var DATA_ATTR='date';
jQuery.fn.countdown=function(options){
return $.each(this, function(i, el){
var $el=$(el);
if(!$el.data(NAME)){
if($el.data(DATA_ATTR)){
options.date=$el.data(DATA_ATTR);
}
$el.data(NAME, new Countdown(el, options));
}});
};
module.exports=Countdown;
},{"./countdown.js":1}]},{},[2])(2)
});
!function(n){var o={};function i(e){if(o[e])return o[e].exports;var t=o[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.m=n,i.c=o,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)i.d(n,o,function(e){return t[e]}.bind(null,o));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=10)}([,,function(e,t){e.exports=function(e){"complete"===document.readyState||"interactive"===document.readyState?e.call():document.attachEvent?document.attachEvent("onreadystatechange",function(){"interactive"===document.readyState&&e.call()}):document.addEventListener&&document.addEventListener("DOMContentLoaded",e)}},function(n,e,t){(function(e){var t="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{};n.exports=t}).call(this,t(4))},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=function(){return this}();try{o=o||new Function("return this")()}catch(e){"object"===("undefined"==typeof window?"undefined":n(window))&&(o=window)}e.exports=o},,,,,,function(e,t,n){e.exports=n(11)},function(e,t,n){"use strict";n.r(t);var o=n(2),i=n.n(o),a=n(3),r=n(12);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var s,c,u=a.window.jarallax;a.window.jarallax=r.default,a.window.jarallax.noConflict=function(){return a.window.jarallax=u,this},void 0!==a.jQuery&&((s=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Array.prototype.unshift.call(t,this);var o=r.default.apply(a.window,t);return"object"!==l(o)?o:this}).constructor=r.default.constructor,c=a.jQuery.fn.jarallax,a.jQuery.fn.jarallax=s,a.jQuery.fn.jarallax.noConflict=function(){return a.jQuery.fn.jarallax=c,this}),i()(function(){Object(r.default)(document.querySelectorAll("[data-jarallax]"))})},function(e,t,n){"use strict";n.r(t);var o=n(2),i=n.n(o),b=n(3);function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],o=!0,i=!1,a=void 0;try{for(var r,l=e[Symbol.iterator]();!(o=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);o=!0);}catch(e){i=!0,a=e}finally{try{o||null==l.return||l.return()}finally{if(i)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var l,h,p=b.window.navigator,d=-1<p.userAgent.indexOf("MSIE ")||-1<p.userAgent.indexOf("Trident/")||-1<p.userAgent.indexOf("Edge/"),s=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(p.userAgent),m=function(){for(var e="transform WebkitTransform MozTransform".split(" "),t=document.createElement("div"),n=0;n<e.length;n+=1)if(t&&void 0!==t.style[e[n]])return e[n];return!1}();function f(){h=s?(!l&&document.body&&((l=document.createElement("div")).style.cssText="position: fixed; top: -9999px; left: 0; height: 100vh; width: 0;",document.body.appendChild(l)),(l?l.clientHeight:0)||b.window.innerHeight||document.documentElement.clientHeight):b.window.innerHeight||document.documentElement.clientHeight}f(),b.window.addEventListener("resize",f),b.window.addEventListener("orientationchange",f),b.window.addEventListener("load",f),i()(function(){f()});var g=[];function y(){g.length&&(g.forEach(function(e,t){var n=e.instance,o=e.oldData,i=n.$item.getBoundingClientRect(),a={width:i.width,height:i.height,top:i.top,bottom:i.bottom,wndW:b.window.innerWidth,wndH:h},r=!o||o.wndW!==a.wndW||o.wndH!==a.wndH||o.width!==a.width||o.height!==a.height,l=r||!o||o.top!==a.top||o.bottom!==a.bottom;g[t].oldData=a,r&&n.onResize(),l&&n.onScroll()}),b.window.requestAnimationFrame(y))}function v(e,t){("object"===("undefined"==typeof HTMLElement?"undefined":u(HTMLElement))?e instanceof HTMLElement:e&&"object"===u(e)&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName)&&(e=[e]);for(var n,o=e.length,i=0,a=arguments.length,r=new Array(2<a?a-2:0),l=2;l<a;l++)r[l-2]=arguments[l];for(;i<o;i+=1)if("object"===u(t)||void 0===t?e[i].jarallax||(e[i].jarallax=new w(e[i],t)):e[i].jarallax&&(n=e[i].jarallax[t].apply(e[i].jarallax,r)),void 0!==n)return n;return e}var x=0,w=function(){function s(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var n=this;n.instanceID=x,x+=1,n.$item=e,n.defaults={type:"scroll",speed:.5,imgSrc:null,imgElement:".jarallax-img",imgSize:"cover",imgPosition:"50% 50%",imgRepeat:"no-repeat",keepImg:!1,elementInViewport:null,zIndex:-100,disableParallax:!1,disableVideo:!1,videoSrc:null,videoStartTime:0,videoEndTime:0,videoVolume:0,videoLoop:!0,videoPlayOnlyVisible:!0,videoLazyLoading:!0,onScroll:null,onInit:null,onDestroy:null,onCoverImage:null};var o,i,a=n.$item.dataset||{},r={};Object.keys(a).forEach(function(e){var t=e.substr(0,1).toLowerCase()+e.substr(1);t&&void 0!==n.defaults[t]&&(r[t]=a[e])}),n.options=n.extend({},n.defaults,r,t),n.pureOptions=n.extend({},n.options),Object.keys(n.options).forEach(function(e){"true"===n.options[e]?n.options[e]=!0:"false"===n.options[e]&&(n.options[e]=!1)}),n.options.speed=Math.min(2,Math.max(-1,parseFloat(n.options.speed))),"string"==typeof n.options.disableParallax&&(n.options.disableParallax=new RegExp(n.options.disableParallax)),n.options.disableParallax instanceof RegExp&&(o=n.options.disableParallax,n.options.disableParallax=function(){return o.test(p.userAgent)}),"function"!=typeof n.options.disableParallax&&(n.options.disableParallax=function(){return!1}),"string"==typeof n.options.disableVideo&&(n.options.disableVideo=new RegExp(n.options.disableVideo)),n.options.disableVideo instanceof RegExp&&(i=n.options.disableVideo,n.options.disableVideo=function(){return i.test(p.userAgent)}),"function"!=typeof n.options.disableVideo&&(n.options.disableVideo=function(){return!1});var l=n.options.elementInViewport;l&&"object"===u(l)&&void 0!==l.length&&(l=c(l,1)[0]),l instanceof Element||(l=null),n.options.elementInViewport=l,n.image={src:n.options.imgSrc||null,$container:null,useImgTag:!1,position:/iPad|iPhone|iPod|Android/.test(p.userAgent)?"absolute":"fixed"},n.initImg()&&n.canInitParallax()&&n.init()}var e,t,n;return e=s,(t=[{key:"css",value:function(t,n){return"string"==typeof n?b.window.getComputedStyle(t).getPropertyValue(n):(n.transform&&m&&(n[m]=n.transform),Object.keys(n).forEach(function(e){t.style[e]=n[e]}),t)}},{key:"extend",value:function(n){for(var e=arguments.length,o=new Array(1<e?e-1:0),t=1;t<e;t++)o[t-1]=arguments[t];return n=n||{},Object.keys(o).forEach(function(t){o[t]&&Object.keys(o[t]).forEach(function(e){n[e]=o[t][e]})}),n}},{key:"getWindowData",value:function(){return{width:b.window.innerWidth||document.documentElement.clientWidth,height:h,y:document.documentElement.scrollTop}}},{key:"initImg",value:function(){var e=this,t=e.options.imgElement;return t&&"string"==typeof t&&(t=e.$item.querySelector(t)),t instanceof Element||(e.options.imgSrc?(t=new Image).src=e.options.imgSrc:t=null),t&&(e.options.keepImg?e.image.$item=t.cloneNode(!0):(e.image.$item=t,e.image.$itemParent=t.parentNode),e.image.useImgTag=!0),!!e.image.$item||(null===e.image.src&&(e.image.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",e.image.bgImage=e.css(e.$item,"background-image")),!(!e.image.bgImage||"none"===e.image.bgImage))}},{key:"canInitParallax",value:function(){return m&&!this.options.disableParallax()}},{key:"init",value:function(){var e,t,n,o=this,i={position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden"},a={pointerEvents:"none",transformStyle:"preserve-3d",backfaceVisibility:"hidden",willChange:"transform,opacity"};o.options.keepImg||((e=o.$item.getAttribute("style"))&&o.$item.setAttribute("data-jarallax-original-styles",e),!o.image.useImgTag||(t=o.image.$item.getAttribute("style"))&&o.image.$item.setAttribute("data-jarallax-original-styles",t)),"static"===o.css(o.$item,"position")&&o.css(o.$item,{position:"relative"}),"auto"===o.css(o.$item,"z-index")&&o.css(o.$item,{zIndex:0}),o.image.$container=document.createElement("div"),o.css(o.image.$container,i),o.css(o.image.$container,{"z-index":o.options.zIndex}),d&&o.css(o.image.$container,{opacity:.9999}),o.image.$container.setAttribute("id","jarallax-container-".concat(o.instanceID)),o.$item.appendChild(o.image.$container),o.image.useImgTag?a=o.extend({"object-fit":o.options.imgSize,"object-position":o.options.imgPosition,"font-family":"object-fit: ".concat(o.options.imgSize,"; object-position: ").concat(o.options.imgPosition,";"),"max-width":"none"},i,a):(o.image.$item=document.createElement("div"),o.image.src&&(a=o.extend({"background-position":o.options.imgPosition,"background-size":o.options.imgSize,"background-repeat":o.options.imgRepeat,"background-image":o.image.bgImage||'url("'.concat(o.image.src,'")')},i,a))),"opacity"!==o.options.type&&"scale"!==o.options.type&&"scale-opacity"!==o.options.type&&1!==o.options.speed||(o.image.position="absolute"),"fixed"===o.image.position&&(n=function(e){for(var t=[];null!==e.parentElement;)1===(e=e.parentElement).nodeType&&t.push(e);return t}(o.$item).filter(function(e){var t=b.window.getComputedStyle(e),n=t["-webkit-transform"]||t["-moz-transform"]||t.transform;return n&&"none"!==n||/(auto|scroll)/.test(t.overflow+t["overflow-y"]+t["overflow-x"])}),o.image.position=n.length?"absolute":"fixed"),a.position=o.image.position,o.css(o.image.$item,a),o.image.$container.appendChild(o.image.$item),o.onResize(),o.onScroll(!0),o.options.onInit&&o.options.onInit.call(o),"none"!==o.css(o.$item,"background-image")&&o.css(o.$item,{"background-image":"none"}),o.addToParallaxList()}},{key:"addToParallaxList",value:function(){g.push({instance:this}),1===g.length&&b.window.requestAnimationFrame(y)}},{key:"removeFromParallaxList",value:function(){var n=this;g.forEach(function(e,t){e.instance.instanceID===n.instanceID&&g.splice(t,1)})}},{key:"destroy",value:function(){var e=this;e.removeFromParallaxList();var t,n=e.$item.getAttribute("data-jarallax-original-styles");e.$item.removeAttribute("data-jarallax-original-styles"),n?e.$item.setAttribute("style",n):e.$item.removeAttribute("style"),e.image.useImgTag&&(t=e.image.$item.getAttribute("data-jarallax-original-styles"),e.image.$item.removeAttribute("data-jarallax-original-styles"),t?e.image.$item.setAttribute("style",n):e.image.$item.removeAttribute("style"),e.image.$itemParent&&e.image.$itemParent.appendChild(e.image.$item)),e.$clipStyles&&e.$clipStyles.parentNode.removeChild(e.$clipStyles),e.image.$container&&e.image.$container.parentNode.removeChild(e.image.$container),e.options.onDestroy&&e.options.onDestroy.call(e),delete e.$item.jarallax}},{key:"clipContainer",value:function(){var e,t,n,o,i;"fixed"===this.image.position&&(n=(t=(e=this).image.$container.getBoundingClientRect()).width,o=t.height,e.$clipStyles||(e.$clipStyles=document.createElement("style"),e.$clipStyles.setAttribute("type","text/css"),e.$clipStyles.setAttribute("id","jarallax-clip-".concat(e.instanceID)),(document.head||document.getElementsByTagName("head")[0]).appendChild(e.$clipStyles)),i="#jarallax-container-".concat(e.instanceID," {\n            clip: rect(0 ").concat(n,"px ").concat(o,"px 0);\n            clip: rect(0, ").concat(n,"px, ").concat(o,"px, 0);\n            -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);\n            clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);\n        }"),e.$clipStyles.styleSheet?e.$clipStyles.styleSheet.cssText=i:e.$clipStyles.innerHTML=i)}},{key:"coverImage",value:function(){var e=this,t=e.image.$container.getBoundingClientRect(),n=t.height,o=e.options.speed,i="scroll"===e.options.type||"scroll-opacity"===e.options.type,a=0,r=n,l=0;return i&&(o<0?(a=o*Math.max(n,h),h<n&&(a-=o*(n-h))):a=o*(n+h),1<o?r=Math.abs(a-h):o<0?r=a/o+Math.abs(a):r+=(h-n)*(1-o),a/=2),e.parallaxScrollDistance=a,l=i?(h-r)/2:(n-r)/2,e.css(e.image.$item,{height:"".concat(r,"px"),marginTop:"".concat(l,"px"),left:"fixed"===e.image.position?"".concat(t.left,"px"):"0",width:"".concat(t.width,"px")}),e.options.onCoverImage&&e.options.onCoverImage.call(e),{image:{height:r,marginTop:l},container:t}}},{key:"isVisible",value:function(){return this.isElementInViewport||!1}},{key:"onScroll",value:function(e){var t,n,o,i,a,r,l,s,c,u,p=this,d=p.$item.getBoundingClientRect(),m=d.top,f=d.height,g={},y=d;p.options.elementInViewport&&(y=p.options.elementInViewport.getBoundingClientRect()),p.isElementInViewport=0<=y.bottom&&0<=y.right&&y.top<=h&&y.left<=b.window.innerWidth,(e||p.isElementInViewport)&&(t=Math.max(0,m),n=Math.max(0,f+m),o=Math.max(0,-m),i=Math.max(0,m+f-h),a=Math.max(0,f-(m+f-h)),r=Math.max(0,-m+h-f),l=1-(h-m)/(h+f)*2,s=1,f<h?s=1-(o||i)/f:n<=h?s=n/h:a<=h&&(s=a/h),"opacity"!==p.options.type&&"scale-opacity"!==p.options.type&&"scroll-opacity"!==p.options.type||(g.transform="translate3d(0,0,0)",g.opacity=s),"scale"!==p.options.type&&"scale-opacity"!==p.options.type||(c=1,p.options.speed<0?c-=p.options.speed*s:c+=p.options.speed*(1-s),g.transform="scale(".concat(c,") translate3d(0,0,0)")),"scroll"!==p.options.type&&"scroll-opacity"!==p.options.type||(u=p.parallaxScrollDistance*l,"absolute"===p.image.position&&(u-=m),g.transform="translate3d(0,".concat(u,"px,0)")),p.css(p.image.$item,g),p.options.onScroll&&p.options.onScroll.call(p,{section:d,beforeTop:t,beforeTopEnd:n,afterTop:o,beforeBottom:i,beforeBottomEnd:a,afterBottom:r,visiblePercent:s,fromViewportCenter:l}))}},{key:"onResize",value:function(){this.coverImage(),this.clipContainer()}}])&&r(e.prototype,t),n&&r(e,n),s}();v.constructor=w,t.default=v}]);
(function($){"use strict";$.ajaxChimp={responses:{"We have sent you a confirmation email":0,"Please enter a value":1,"An email address must contain a single @":2,"The domain portion of the email address is invalid (the portion after the @:)":3,"The username portion of the email address is invalid (the portion before the @:)":4,"This email address looks fake or invalid. Please enter a real email address":5},translations:{en:null},init:function(selector,options){$(selector).ajaxChimp(options)}};$.fn.ajaxChimp=function(options){$(this).each(function(i,elem){var form=$(elem);var email=form.find("input[type=email]");var label=form.find("label[for="+email.attr("id")+"]");var settings=$.extend({url:form.attr("action"),language:"en"},options);var url=settings.url.replace("/post?","/post-json?").concat("&c=?");form.attr("novalidate","true");email.attr("name","EMAIL");form.submit(function(){var msg;function successCallback(resp){if(resp.result==="success"){msg="We have sent you a confirmation email";label.removeClass("error").addClass("valid");email.removeClass("error").addClass("valid")}else{email.removeClass("valid").addClass("error");label.removeClass("valid").addClass("error");var index=-1;try{var parts=resp.msg.split(" - ",2);if(parts[1]===undefined){msg=resp.msg}else{var i=parseInt(parts[0],10);if(i.toString()===parts[0]){index=parts[0];msg=parts[1]}else{index=-1;msg=resp.msg}}}catch(e){index=-1;msg=resp.msg}}if(settings.language!=="en"&&$.ajaxChimp.responses[msg]!==undefined&&$.ajaxChimp.translations&&$.ajaxChimp.translations[settings.language]&&$.ajaxChimp.translations[settings.language][$.ajaxChimp.responses[msg]]){msg=$.ajaxChimp.translations[settings.language][$.ajaxChimp.responses[msg]]}label.html(msg);label.show(2e3);if(settings.callback){settings.callback(resp)}}var data={};var dataArray=form.serializeArray();$.each(dataArray,function(index,item){data[item.name]=item.value});$.ajax({url:url,data:data,success:successCallback,dataType:"jsonp",error:function(resp,text){console.log("mailchimp ajax submit error: "+text)}});var submitMsg="Submitting...";if(settings.language!=="en"&&$.ajaxChimp.translations&&$.ajaxChimp.translations[settings.language]&&$.ajaxChimp.translations[settings.language]["submit"]){submitMsg=$.ajaxChimp.translations[settings.language]["submit"]}label.html(submitMsg).show(2e3);return false})});return this}})(jQuery);
!function(e){e.fn.appear=function(a,r){var p=e.extend({data:void 0,one:!0,accX:0,accY:0},r);return this.each(function(){var r=e(this);if(r.appeared=!1,a){var n=e(window),t=function(){if(r.is(":visible")){var e=n.scrollLeft(),a=n.scrollTop(),t=r.offset(),c=t.left,i=t.top,o=p.accX,f=p.accY,s=r.height(),l=n.height(),h=r.width(),d=n.width();i+s+f>=a&&i<=a+l+f&&c+h+o>=e&&c<=e+d+o?r.appeared||r.trigger("appear",p.data):r.appeared=!1}else r.appeared=!1},c=function(){if(r.appeared=!0,p.one){n.unbind("scroll",t);var c=e.inArray(t,e.fn.appear.checks);c>=0&&e.fn.appear.checks.splice(c,1)}a.apply(this,arguments)};p.one?r.one("appear",p.data,c):r.bind("appear",p.data,c),n.scroll(t),e.fn.appear.checks.push(t),t()}else r.trigger("appear",p.data)})},e.extend(e.fn.appear,{checks:[],timeout:null,checkAll:function(){var a=e.fn.appear.checks.length;if(a>0)for(;a--;)e.fn.appear.checks[a]()},run:function(){e.fn.appear.timeout&&clearTimeout(e.fn.appear.timeout),e.fn.appear.timeout=setTimeout(e.fn.appear.checkAll,20)}}),e.each(["append","prepend","after","before","attr","removeAttr","addClass","removeClass","toggleClass","remove","css","show","hide"],function(a,r){var p=e.fn[r];p&&(e.fn[r]=function(){var a=p.apply(this,arguments);return e.fn.appear.run(),a})})}(jQuery);
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}(function(a){var b,c,d,e,f,g,h="Close",i="BeforeClose",j="AfterClose",k="BeforeAppend",l="MarkupParse",m="Open",n="Change",o="mfp",p="."+o,q="mfp-ready",r="mfp-removing",s="mfp-prevent-close",t=function(){},u=!!window.jQuery,v=a(window),w=function(a,c){b.ev.on(o+a+p,c)},x=function(b,c,d,e){var f=document.createElement("div");return f.className="mfp-"+b,d&&(f.innerHTML=d),e?c&&c.appendChild(f):(f=a(f),c&&f.appendTo(c)),f},y=function(c,d){b.ev.triggerHandler(o+c,d),b.st.callbacks&&(c=c.charAt(0).toLowerCase()+c.slice(1),b.st.callbacks[c]&&b.st.callbacks[c].apply(b,a.isArray(d)?d:[d]))},z=function(c){return c===g&&b.currTemplate.closeBtn||(b.currTemplate.closeBtn=a(b.st.closeMarkup.replace("%title%",b.st.tClose)),g=c),b.currTemplate.closeBtn},A=function(){a.magnificPopup.instance||(b=new t,b.init(),a.magnificPopup.instance=b)},B=function(){var a=document.createElement("p").style,b=["ms","O","Moz","Webkit"];if(void 0!==a.transition)return!0;for(;b.length;)if(b.pop()+"Transition"in a)return!0;return!1};t.prototype={constructor:t,init:function(){var c=navigator.appVersion;b.isLowIE=b.isIE8=document.all&&!document.addEventListener,b.isAndroid=/android/gi.test(c),b.isIOS=/iphone|ipad|ipod/gi.test(c),b.supportsTransition=B(),b.probablyMobile=b.isAndroid||b.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),d=a(document),b.popupsCache={}},open:function(c){var e;if(c.isObj===!1){b.items=c.items.toArray(),b.index=0;var g,h=c.items;for(e=0;e<h.length;e++)if(g=h[e],g.parsed&&(g=g.el[0]),g===c.el[0]){b.index=e;break}}else b.items=a.isArray(c.items)?c.items:[c.items],b.index=c.index||0;if(b.isOpen)return void b.updateItemHTML();b.types=[],f="",c.mainEl&&c.mainEl.length?b.ev=c.mainEl.eq(0):b.ev=d,c.key?(b.popupsCache[c.key]||(b.popupsCache[c.key]={}),b.currTemplate=b.popupsCache[c.key]):b.currTemplate={},b.st=a.extend(!0,{},a.magnificPopup.defaults,c),b.fixedContentPos="auto"===b.st.fixedContentPos?!b.probablyMobile:b.st.fixedContentPos,b.st.modal&&(b.st.closeOnContentClick=!1,b.st.closeOnBgClick=!1,b.st.showCloseBtn=!1,b.st.enableEscapeKey=!1),b.bgOverlay||(b.bgOverlay=x("bg").on("click"+p,function(){b.close()}),b.wrap=x("wrap").attr("tabindex",-1).on("click"+p,function(a){b._checkIfClose(a.target)&&b.close()}),b.container=x("container",b.wrap)),b.contentContainer=x("content"),b.st.preloader&&(b.preloader=x("preloader",b.container,b.st.tLoading));var i=a.magnificPopup.modules;for(e=0;e<i.length;e++){var j=i[e];j=j.charAt(0).toUpperCase()+j.slice(1),b["init"+j].call(b)}y("BeforeOpen"),b.st.showCloseBtn&&(b.st.closeBtnInside?(w(l,function(a,b,c,d){c.close_replaceWith=z(d.type)}),f+=" mfp-close-btn-in"):b.wrap.append(z())),b.st.alignTop&&(f+=" mfp-align-top"),b.fixedContentPos?b.wrap.css({overflow:b.st.overflowY,overflowX:"hidden",overflowY:b.st.overflowY}):b.wrap.css({top:v.scrollTop(),position:"absolute"}),(b.st.fixedBgPos===!1||"auto"===b.st.fixedBgPos&&!b.fixedContentPos)&&b.bgOverlay.css({height:d.height(),position:"absolute"}),b.st.enableEscapeKey&&d.on("keyup"+p,function(a){27===a.keyCode&&b.close()}),v.on("resize"+p,function(){b.updateSize()}),b.st.closeOnContentClick||(f+=" mfp-auto-cursor"),f&&b.wrap.addClass(f);var k=b.wH=v.height(),n={};if(b.fixedContentPos&&b._hasScrollBar(k)){var o=b._getScrollbarSize();o&&(n.marginRight=o)}b.fixedContentPos&&(b.isIE7?a("body, html").css("overflow","hidden"):n.overflow="hidden");var r=b.st.mainClass;return b.isIE7&&(r+=" mfp-ie7"),r&&b._addClassToMFP(r),b.updateItemHTML(),y("BuildControls"),a("html").css(n),b.bgOverlay.add(b.wrap).prependTo(b.st.prependTo||a(document.body)),b._lastFocusedEl=document.activeElement,setTimeout(function(){b.content?(b._addClassToMFP(q),b._setFocus()):b.bgOverlay.addClass(q),d.on("focusin"+p,b._onFocusIn)},16),b.isOpen=!0,b.updateSize(k),y(m),c},close:function(){b.isOpen&&(y(i),b.isOpen=!1,b.st.removalDelay&&!b.isLowIE&&b.supportsTransition?(b._addClassToMFP(r),setTimeout(function(){b._close()},b.st.removalDelay)):b._close())},_close:function(){y(h);var c=r+" "+q+" ";if(b.bgOverlay.detach(),b.wrap.detach(),b.container.empty(),b.st.mainClass&&(c+=b.st.mainClass+" "),b._removeClassFromMFP(c),b.fixedContentPos){var e={marginRight:""};b.isIE7?a("body, html").css("overflow",""):e.overflow="",a("html").css(e)}d.off("keyup"+p+" focusin"+p),b.ev.off(p),b.wrap.attr("class","mfp-wrap").removeAttr("style"),b.bgOverlay.attr("class","mfp-bg"),b.container.attr("class","mfp-container"),!b.st.showCloseBtn||b.st.closeBtnInside&&b.currTemplate[b.currItem.type]!==!0||b.currTemplate.closeBtn&&b.currTemplate.closeBtn.detach(),b.st.autoFocusLast&&b._lastFocusedEl&&a(b._lastFocusedEl).focus(),b.currItem=null,b.content=null,b.currTemplate=null,b.prevHeight=0,y(j)},updateSize:function(a){if(b.isIOS){var c=document.documentElement.clientWidth/window.innerWidth,d=window.innerHeight*c;b.wrap.css("height",d),b.wH=d}else b.wH=a||v.height();b.fixedContentPos||b.wrap.css("height",b.wH),y("Resize")},updateItemHTML:function(){var c=b.items[b.index];b.contentContainer.detach(),b.content&&b.content.detach(),c.parsed||(c=b.parseEl(b.index));var d=c.type;if(y("BeforeChange",[b.currItem?b.currItem.type:"",d]),b.currItem=c,!b.currTemplate[d]){var f=b.st[d]?b.st[d].markup:!1;y("FirstMarkupParse",f),f?b.currTemplate[d]=a(f):b.currTemplate[d]=!0}e&&e!==c.type&&b.container.removeClass("mfp-"+e+"-holder");var g=b["get"+d.charAt(0).toUpperCase()+d.slice(1)](c,b.currTemplate[d]);b.appendContent(g,d),c.preloaded=!0,y(n,c),e=c.type,b.container.prepend(b.contentContainer),y("AfterChange")},appendContent:function(a,c){b.content=a,a?b.st.showCloseBtn&&b.st.closeBtnInside&&b.currTemplate[c]===!0?b.content.find(".mfp-close").length||b.content.append(z()):b.content=a:b.content="",y(k),b.container.addClass("mfp-"+c+"-holder"),b.contentContainer.append(b.content)},parseEl:function(c){var d,e=b.items[c];if(e.tagName?e={el:a(e)}:(d=e.type,e={data:e,src:e.src}),e.el){for(var f=b.types,g=0;g<f.length;g++)if(e.el.hasClass("mfp-"+f[g])){d=f[g];break}e.src=e.el.attr("data-mfp-src"),e.src||(e.src=e.el.attr("href"))}return e.type=d||b.st.type||"inline",e.index=c,e.parsed=!0,b.items[c]=e,y("ElementParse",e),b.items[c]},addGroup:function(a,c){var d=function(d){d.mfpEl=this,b._openClick(d,a,c)};c||(c={});var e="click.magnificPopup";c.mainEl=a,c.items?(c.isObj=!0,a.off(e).on(e,d)):(c.isObj=!1,c.delegate?a.off(e).on(e,c.delegate,d):(c.items=a,a.off(e).on(e,d)))},_openClick:function(c,d,e){var f=void 0!==e.midClick?e.midClick:a.magnificPopup.defaults.midClick;if(f||!(2===c.which||c.ctrlKey||c.metaKey||c.altKey||c.shiftKey)){var g=void 0!==e.disableOn?e.disableOn:a.magnificPopup.defaults.disableOn;if(g)if(a.isFunction(g)){if(!g.call(b))return!0}else if(v.width()<g)return!0;c.type&&(c.preventDefault(),b.isOpen&&c.stopPropagation()),e.el=a(c.mfpEl),e.delegate&&(e.items=d.find(e.delegate)),b.open(e)}},updateStatus:function(a,d){if(b.preloader){c!==a&&b.container.removeClass("mfp-s-"+c),d||"loading"!==a||(d=b.st.tLoading);var e={status:a,text:d};y("UpdateStatus",e),a=e.status,d=e.text,b.preloader.html(d),b.preloader.find("a").on("click",function(a){a.stopImmediatePropagation()}),b.container.addClass("mfp-s-"+a),c=a}},_checkIfClose:function(c){if(!a(c).hasClass(s)){var d=b.st.closeOnContentClick,e=b.st.closeOnBgClick;if(d&&e)return!0;if(!b.content||a(c).hasClass("mfp-close")||b.preloader&&c===b.preloader[0])return!0;if(c===b.content[0]||a.contains(b.content[0],c)){if(d)return!0}else if(e&&a.contains(document,c))return!0;return!1}},_addClassToMFP:function(a){b.bgOverlay.addClass(a),b.wrap.addClass(a)},_removeClassFromMFP:function(a){this.bgOverlay.removeClass(a),b.wrap.removeClass(a)},_hasScrollBar:function(a){return(b.isIE7?d.height():document.body.scrollHeight)>(a||v.height())},_setFocus:function(){(b.st.focus?b.content.find(b.st.focus).eq(0):b.wrap).focus()},_onFocusIn:function(c){return c.target===b.wrap[0]||a.contains(b.wrap[0],c.target)?void 0:(b._setFocus(),!1)},_parseMarkup:function(b,c,d){var e;d.data&&(c=a.extend(d.data,c)),y(l,[b,c,d]),a.each(c,function(c,d){if(void 0===d||d===!1)return!0;if(e=c.split("_"),e.length>1){var f=b.find(p+"-"+e[0]);if(f.length>0){var g=e[1];"replaceWith"===g?f[0]!==d[0]&&f.replaceWith(d):"img"===g?f.is("img")?f.attr("src",d):f.replaceWith(a("<img>").attr("src",d).attr("class",f.attr("class"))):f.attr(e[1],d)}}else b.find(p+"-"+c).html(d)})},_getScrollbarSize:function(){if(void 0===b.scrollbarSize){var a=document.createElement("div");a.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(a),b.scrollbarSize=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}return b.scrollbarSize}},a.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(b,c){return A(),b=b?a.extend(!0,{},b):{},b.isObj=!0,b.index=c||0,this.instance.open(b)},close:function(){return a.magnificPopup.instance&&a.magnificPopup.instance.close()},registerModule:function(b,c){c.options&&(a.magnificPopup.defaults[b]=c.options),a.extend(this.proto,c.proto),this.modules.push(b)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},a.fn.magnificPopup=function(c){A();var d=a(this);if("string"==typeof c)if("open"===c){var e,f=u?d.data("magnificPopup"):d[0].magnificPopup,g=parseInt(arguments[1],10)||0;f.items?e=f.items[g]:(e=d,f.delegate&&(e=e.find(f.delegate)),e=e.eq(g)),b._openClick({mfpEl:e},d,f)}else b.isOpen&&b[c].apply(b,Array.prototype.slice.call(arguments,1));else c=a.extend(!0,{},c),u?d.data("magnificPopup",c):d[0].magnificPopup=c,b.addGroup(d,c);return d};var C,D,E,F="inline",G=function(){E&&(D.after(E.addClass(C)).detach(),E=null)};a.magnificPopup.registerModule(F,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){b.types.push(F),w(h+"."+F,function(){G()})},getInline:function(c,d){if(G(),c.src){var e=b.st.inline,f=a(c.src);if(f.length){var g=f[0].parentNode;g&&g.tagName&&(D||(C=e.hiddenClass,D=x(C),C="mfp-"+C),E=f.after(D).detach().removeClass(C)),b.updateStatus("ready")}else b.updateStatus("error",e.tNotFound),f=a("<div>");return c.inlineElement=f,f}return b.updateStatus("ready"),b._parseMarkup(d,{},c),d}}});var H,I="ajax",J=function(){H&&a(document.body).removeClass(H)},K=function(){J(),b.req&&b.req.abort()};a.magnificPopup.registerModule(I,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){b.types.push(I),H=b.st.ajax.cursor,w(h+"."+I,K),w("BeforeChange."+I,K)},getAjax:function(c){H&&a(document.body).addClass(H),b.updateStatus("loading");var d=a.extend({url:c.src,success:function(d,e,f){var g={data:d,xhr:f};y("ParseAjax",g),b.appendContent(a(g.data),I),c.finished=!0,J(),b._setFocus(),setTimeout(function(){b.wrap.addClass(q)},16),b.updateStatus("ready"),y("AjaxContentAdded")},error:function(){J(),c.finished=c.loadError=!0,b.updateStatus("error",b.st.ajax.tError.replace("%url%",c.src))}},b.st.ajax.settings);return b.req=a.ajax(d),""}}});var L,M=function(c){if(c.data&&void 0!==c.data.title)return c.data.title;var d=b.st.image.titleSrc;if(d){if(a.isFunction(d))return d.call(b,c);if(c.el)return c.el.attr(d)||""}return""};a.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var c=b.st.image,d=".image";b.types.push("image"),w(m+d,function(){"image"===b.currItem.type&&c.cursor&&a(document.body).addClass(c.cursor)}),w(h+d,function(){c.cursor&&a(document.body).removeClass(c.cursor),v.off("resize"+p)}),w("Resize"+d,b.resizeImage),b.isLowIE&&w("AfterChange",b.resizeImage)},resizeImage:function(){var a=b.currItem;if(a&&a.img&&b.st.image.verticalFit){var c=0;b.isLowIE&&(c=parseInt(a.img.css("padding-top"),10)+parseInt(a.img.css("padding-bottom"),10)),a.img.css("max-height",b.wH-c)}},_onImageHasSize:function(a){a.img&&(a.hasSize=!0,L&&clearInterval(L),a.isCheckingImgSize=!1,y("ImageHasSize",a),a.imgHidden&&(b.content&&b.content.removeClass("mfp-loading"),a.imgHidden=!1))},findImageSize:function(a){var c=0,d=a.img[0],e=function(f){L&&clearInterval(L),L=setInterval(function(){return d.naturalWidth>0?void b._onImageHasSize(a):(c>200&&clearInterval(L),c++,void(3===c?e(10):40===c?e(50):100===c&&e(500)))},f)};e(1)},getImage:function(c,d){var e=0,f=function(){c&&(c.img[0].complete?(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("ready")),c.hasSize=!0,c.loaded=!0,y("ImageLoadComplete")):(e++,200>e?setTimeout(f,100):g()))},g=function(){c&&(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("error",h.tError.replace("%url%",c.src))),c.hasSize=!0,c.loaded=!0,c.loadError=!0)},h=b.st.image,i=d.find(".mfp-img");if(i.length){var j=document.createElement("img");j.className="mfp-img",c.el&&c.el.find("img").length&&(j.alt=c.el.find("img").attr("alt")),c.img=a(j).on("load.mfploader",f).on("error.mfploader",g),j.src=c.src,i.is("img")&&(c.img=c.img.clone()),j=c.img[0],j.naturalWidth>0?c.hasSize=!0:j.width||(c.hasSize=!1)}return b._parseMarkup(d,{title:M(c),img_replaceWith:c.img},c),b.resizeImage(),c.hasSize?(L&&clearInterval(L),c.loadError?(d.addClass("mfp-loading"),b.updateStatus("error",h.tError.replace("%url%",c.src))):(d.removeClass("mfp-loading"),b.updateStatus("ready")),d):(b.updateStatus("loading"),c.loading=!0,c.hasSize||(c.imgHidden=!0,d.addClass("mfp-loading"),b.findImageSize(c)),d)}}});var N,O=function(){return void 0===N&&(N=void 0!==document.createElement("p").style.MozTransform),N};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 a,c=b.st.zoom,d=".zoom";if(c.enabled&&b.supportsTransition){var e,f,g=c.duration,j=function(a){var b=a.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),d="all "+c.duration/1e3+"s "+c.easing,e={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},f="transition";return e["-webkit-"+f]=e["-moz-"+f]=e["-o-"+f]=e[f]=d,b.css(e),b},k=function(){b.content.css("visibility","visible")};w("BuildControls"+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.content.css("visibility","hidden"),a=b._getItemToZoom(),!a)return void k();f=j(a),f.css(b._getOffset()),b.wrap.append(f),e=setTimeout(function(){f.css(b._getOffset(!0)),e=setTimeout(function(){k(),setTimeout(function(){f.remove(),a=f=null,y("ZoomAnimationEnded")},16)},g)},16)}}),w(i+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.st.removalDelay=g,!a){if(a=b._getItemToZoom(),!a)return;f=j(a)}f.css(b._getOffset(!0)),b.wrap.append(f),b.content.css("visibility","hidden"),setTimeout(function(){f.css(b._getOffset())},16)}}),w(h+d,function(){b._allowZoom()&&(k(),f&&f.remove(),a=null)})}},_allowZoom:function(){return"image"===b.currItem.type},_getItemToZoom:function(){return b.currItem.hasSize?b.currItem.img:!1},_getOffset:function(c){var d;d=c?b.currItem.img:b.st.zoom.opener(b.currItem.el||b.currItem);var e=d.offset(),f=parseInt(d.css("padding-top"),10),g=parseInt(d.css("padding-bottom"),10);e.top-=a(window).scrollTop()-f;var h={width:d.width(),height:(u?d.innerHeight():d[0].offsetHeight)-g-f};return O()?h["-moz-transform"]=h.transform="translate("+e.left+"px,"+e.top+"px)":(h.left=e.left,h.top=e.top),h}}});var P="iframe",Q="//about:blank",R=function(a){if(b.currTemplate[P]){var c=b.currTemplate[P].find("iframe");c.length&&(a||(c[0].src=Q),b.isIE8&&c.css("display",a?"block":"none"))}};a.magnificPopup.registerModule(P,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',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(){b.types.push(P),w("BeforeChange",function(a,b,c){b!==c&&(b===P?R():c===P&&R(!0))}),w(h+"."+P,function(){R()})},getIframe:function(c,d){var e=c.src,f=b.st.iframe;a.each(f.patterns,function(){return e.indexOf(this.index)>-1?(this.id&&(e="string"==typeof this.id?e.substr(e.lastIndexOf(this.id)+this.id.length,e.length):this.id.call(this,e)),e=this.src.replace("%id%",e),!1):void 0});var g={};return f.srcAction&&(g[f.srcAction]=e),b._parseMarkup(d,g,c),b.updateStatus("ready"),d}}});var S=function(a){var c=b.items.length;return a>c-1?a-c:0>a?c+a:a},T=function(a,b,c){return a.replace(/%curr%/gi,b+1).replace(/%total%/gi,c)};a.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',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=b.st.gallery,e=".mfp-gallery";return b.direction=!0,c&&c.enabled?(f+=" mfp-gallery",w(m+e,function(){c.navigateByImgClick&&b.wrap.on("click"+e,".mfp-img",function(){return b.items.length>1?(b.next(),!1):void 0}),d.on("keydown"+e,function(a){37===a.keyCode?b.prev():39===a.keyCode&&b.next()})}),w("UpdateStatus"+e,function(a,c){c.text&&(c.text=T(c.text,b.currItem.index,b.items.length))}),w(l+e,function(a,d,e,f){var g=b.items.length;e.counter=g>1?T(c.tCounter,f.index,g):""}),w("BuildControls"+e,function(){if(b.items.length>1&&c.arrows&&!b.arrowLeft){var d=c.arrowMarkup,e=b.arrowLeft=a(d.replace(/%title%/gi,c.tPrev).replace(/%dir%/gi,"left")).addClass(s),f=b.arrowRight=a(d.replace(/%title%/gi,c.tNext).replace(/%dir%/gi,"right")).addClass(s);e.click(function(){b.prev()}),f.click(function(){b.next()}),b.container.append(e.add(f))}}),w(n+e,function(){b._preloadTimeout&&clearTimeout(b._preloadTimeout),b._preloadTimeout=setTimeout(function(){b.preloadNearbyImages(),b._preloadTimeout=null},16)}),void w(h+e,function(){d.off(e),b.wrap.off("click"+e),b.arrowRight=b.arrowLeft=null})):!1},next:function(){b.direction=!0,b.index=S(b.index+1),b.updateItemHTML()},prev:function(){b.direction=!1,b.index=S(b.index-1),b.updateItemHTML()},goTo:function(a){b.direction=a>=b.index,b.index=a,b.updateItemHTML()},preloadNearbyImages:function(){var a,c=b.st.gallery.preload,d=Math.min(c[0],b.items.length),e=Math.min(c[1],b.items.length);for(a=1;a<=(b.direction?e:d);a++)b._preloadItem(b.index+a);for(a=1;a<=(b.direction?d:e);a++)b._preloadItem(b.index-a)},_preloadItem:function(c){if(c=S(c),!b.items[c].preloaded){var d=b.items[c];d.parsed||(d=b.parseEl(c)),y("LazyLoad",d),"image"===d.type&&(d.img=a('<img class="mfp-img" />').on("load.mfploader",function(){d.hasSize=!0}).on("error.mfploader",function(){d.hasSize=!0,d.loadError=!0,y("LazyLoadError",d)}).attr("src",d.src)),d.preloaded=!0}}}});var U="retina";a.magnificPopup.registerModule(U,{options:{replaceSrc:function(a){return a.src.replace(/\.\w+$/,function(a){return"@2x"+a})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var a=b.st.retina,c=a.ratio;c=isNaN(c)?c():c,c>1&&(w("ImageHasSize."+U,function(a,b){b.img.css({"max-width":b.img[0].naturalWidth/c,width:"100%"})}),w("ElementParse."+U,function(b,d){d.src=a.replaceSrc(d,c)}))}}}}),A()});
(function(){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G=[].slice;q='<span class="odometer-value"></span>',n='<span class="odometer-ribbon"><span class="odometer-ribbon-inner">'+q+"</span></span>",d='<span class="odometer-digit"><span class="odometer-digit-spacer">8</span><span class="odometer-digit-inner">'+n+"</span></span>",g='<span class="odometer-formatting-mark"></span>',c="(,ddd).dd",h=/^\(?([^)]*)\)?(?:(.)(d+))?$/,i=30,f=2e3,a=20,j=2,e=.5,k=1e3/i,b=1e3/a,o="transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd",y=document.createElement("div").style,p=null!=y.transition||null!=y.webkitTransition||null!=y.mozTransition||null!=y.oTransition,w=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame,l=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,s=function(a){var b;return b=document.createElement("div"),b.innerHTML=a,b.children[0]},v=function(a,b){return a.className=a.className.replace(new RegExp("(^|)"+b.split(" ").join("|")+"(|$)","gi")," ")},r=function(a,b){return v(a,b),a.className+=" "+b},z=function(a,b){var c;return null!=document.createEvent?(c=document.createEvent("HTMLEvents"),c.initEvent(b,!0,!0),a.dispatchEvent(c)):void 0},u=function(){var a,b;return null!=(a=null!=(b=window.performance)?"function"==typeof b.now?b.now():void 0:void 0)?a:+new Date},x=function(a,b){return null==b&&(b=0),b?(a*=Math.pow(10,b),a+=.5,a=Math.floor(a),a/=Math.pow(10,b)):Math.round(a)},A=function(a){return 0>a?Math.ceil(a):Math.floor(a)},t=function(a){return a-x(a)},C=!1,(B=function(){var a,b,c,d,e;if(!C&&null!=window.jQuery){for(C=!0,d=["html","text"],e=[],b=0,c=d.length;c>b;b++)a=d[b],e.push(function(a){var b;return b=window.jQuery.fn[a],window.jQuery.fn[a]=function(a){var c;return null==a||null==(null!=(c=this[0])?c.odometer:void 0)?b.apply(this,arguments):this[0].odometer.update(a)}}(a));return e}})(),setTimeout(B,0),m=function(){function a(b){var c,d,e,g,h,i,l,m,n,o,p=this;if(this.options=b,this.el=this.options.el,null!=this.el.odometer)return this.el.odometer;this.el.odometer=this,m=a.options;for(d in m)g=m[d],null==this.options[d]&&(this.options[d]=g);null==(h=this.options).duration&&(h.duration=f),this.MAX_VALUES=this.options.duration/k/j|0,this.resetFormat(),this.value=this.cleanValue(null!=(n=this.options.value)?n:""),this.renderInside(),this.render();try{for(o=["innerHTML","innerText","textContent"],i=0,l=o.length;l>i;i++)e=o[i],null!=this.el[e]&&!function(a){return Object.defineProperty(p.el,a,{get:function(){var b;return"innerHTML"===a?p.inside.outerHTML:null!=(b=p.inside.innerText)?b:p.inside.textContent},set:function(a){return p.update(a)}})}(e)}catch(q){c=q,this.watchForMutations()}}return a.prototype.renderInside=function(){return this.inside=document.createElement("div"),this.inside.className="odometer-inside",this.el.innerHTML="",this.el.appendChild(this.inside)},a.prototype.watchForMutations=function(){var a,b=this;if(null!=l)try{return null==this.observer&&(this.observer=new l(function(){var a;return a=b.el.innerText,b.renderInside(),b.render(b.value),b.update(a)})),this.watchMutations=!0,this.startWatchingMutations()}catch(c){a=c}},a.prototype.startWatchingMutations=function(){return this.watchMutations?this.observer.observe(this.el,{childList:!0}):void 0},a.prototype.stopWatchingMutations=function(){var a;return null!=(a=this.observer)?a.disconnect():void 0},a.prototype.cleanValue=function(a){var b;return"string"==typeof a&&(a=a.replace(null!=(b=this.format.radix)?b:".","<radix>"),a=a.replace(/[.,]/g,""),a=a.replace("<radix>","."),a=parseFloat(a,10)||0),x(a,this.format.precision)},a.prototype.bindTransitionEnd=function(){var a,b,c,d,e,f,g=this;if(!this.transitionEndBound){for(this.transitionEndBound=!0,b=!1,e=o.split(" "),f=[],c=0,d=e.length;d>c;c++)a=e[c],f.push(this.el.addEventListener(a,function(){return b?!0:(b=!0,setTimeout(function(){return g.render(),b=!1,z(g.el,"odometerdone")},0),!0)},!1));return f}},a.prototype.resetFormat=function(){var a,b,d,e,f,g,i,j;if(a=null!=(i=this.options.format)?i:c,a||(a="d"),d=h.exec(a),!d)throw new Error("Odometer: Unparsable digit format");return j=d.slice(1,4),g=j[0],f=j[1],b=j[2],e=(null!=b?b.length:void 0)||0,this.format={repeating:g,radix:f,precision:e}},a.prototype.render=function(a){var b,c,d,e,f,g,h,i,j,k,l,m;for(null==a&&(a=this.value),this.stopWatchingMutations(),this.resetFormat(),this.inside.innerHTML="",g=this.options.theme,b=this.el.className.split(" "),f=[],i=0,k=b.length;k>i;i++)c=b[i],c.length&&((e=/^odometer-theme-(.+)$/.exec(c))?g=e[1]:/^odometer(-|$)/.test(c)||f.push(c));for(f.push("odometer"),p||f.push("odometer-no-transitions"),f.push(g?"odometer-theme-"+g:"odometer-auto-theme"),this.el.className=f.join(" "),this.ribbons={},this.digits=[],h=!this.format.precision||!t(a)||!1,m=a.toString().split("").reverse(),j=0,l=m.length;l>j;j++)d=m[j],"."===d&&(h=!0),this.addDigit(d,h);return this.startWatchingMutations()},a.prototype.update=function(a){var b,c=this;return a=this.cleanValue(a),(b=a-this.value)?(v(this.el,"odometer-animating-up odometer-animating-down odometer-animating"),b>0?r(this.el,"odometer-animating-up"):r(this.el,"odometer-animating-down"),this.stopWatchingMutations(),this.animate(a),this.startWatchingMutations(),setTimeout(function(){return c.el.offsetHeight,r(c.el,"odometer-animating")},0),this.value=a):void 0},a.prototype.renderDigit=function(){return s(d)},a.prototype.insertDigit=function(a,b){return null!=b?this.inside.insertBefore(a,b):this.inside.children.length?this.inside.insertBefore(a,this.inside.children[0]):this.inside.appendChild(a)},a.prototype.addSpacer=function(a,b,c){var d;return d=s(g),d.innerHTML=a,c&&r(d,c),this.insertDigit(d,b)},a.prototype.addDigit=function(a,b){var c,d,e,f;if(null==b&&(b=!0),"-"===a)return this.addSpacer(a,null,"odometer-negation-mark");if("."===a)return this.addSpacer(null!=(f=this.format.radix)?f:".",null,"odometer-radix-mark");if(b)for(e=!1;;){if(!this.format.repeating.length){if(e)throw new Error("Bad odometer format without digits");this.resetFormat(),e=!0}if(c=this.format.repeating[this.format.repeating.length-1],this.format.repeating=this.format.repeating.substring(0,this.format.repeating.length-1),"d"===c)break;this.addSpacer(c)}return d=this.renderDigit(),d.querySelector(".odometer-value").innerHTML=a,this.digits.push(d),this.insertDigit(d)},a.prototype.animate=function(a){return p&&"count"!==this.options.animation?this.animateSlide(a):this.animateCount(a)},a.prototype.animateCount=function(a){var c,d,e,f,g,h=this;if(d=+a-this.value)return f=e=u(),c=this.value,(g=function(){var i,j,k;return u()-f>h.options.duration?(h.value=a,h.render(),void z(h.el,"odometerdone")):(i=u()-e,i>b&&(e=u(),k=i/h.options.duration,j=d*k,c+=j,h.render(Math.round(c))),null!=w?w(g):setTimeout(g,b))})()},a.prototype.getDigitCount=function(){var a,b,c,d,e,f;for(d=1<=arguments.length?G.call(arguments,0):[],a=e=0,f=d.length;f>e;a=++e)c=d[a],d[a]=Math.abs(c);return b=Math.max.apply(Math,d),Math.ceil(Math.log(b+1)/Math.log(10))},a.prototype.getFractionalDigitCount=function(){var a,b,c,d,e,f,g;for(e=1<=arguments.length?G.call(arguments,0):[],b=/^\-?\d*\.(\d*?)0*$/,a=f=0,g=e.length;g>f;a=++f)d=e[a],e[a]=d.toString(),c=b.exec(e[a]),e[a]=null==c?0:c[1].length;return Math.max.apply(Math,e)},a.prototype.resetDigits=function(){return this.digits=[],this.ribbons=[],this.inside.innerHTML="",this.resetFormat()},a.prototype.animateSlide=function(a){var b,c,d,f,g,h,i,j,k,l,m,n,o,p,q,s,t,u,v,w,x,y,z,B,C,D,E;if(s=this.value,j=this.getFractionalDigitCount(s,a),j&&(a*=Math.pow(10,j),s*=Math.pow(10,j)),d=a-s){for(this.bindTransitionEnd(),f=this.getDigitCount(s,a),g=[],b=0,m=v=0;f>=0?f>v:v>f;m=f>=0?++v:--v){if(t=A(s/Math.pow(10,f-m-1)),i=A(a/Math.pow(10,f-m-1)),h=i-t,Math.abs(h)>this.MAX_VALUES){for(l=[],n=h/(this.MAX_VALUES+this.MAX_VALUES*b*e),c=t;h>0&&i>c||0>h&&c>i;)l.push(Math.round(c)),c+=n;l[l.length-1]!==i&&l.push(i),b++}else l=function(){E=[];for(var a=t;i>=t?i>=a:a>=i;i>=t?a++:a--)E.push(a);return E}.apply(this);for(m=w=0,y=l.length;y>w;m=++w)k=l[m],l[m]=Math.abs(k%10);g.push(l)}for(this.resetDigits(),D=g.reverse(),m=x=0,z=D.length;z>x;m=++x)for(l=D[m],this.digits[m]||this.addDigit(" ",m>=j),null==(u=this.ribbons)[m]&&(u[m]=this.digits[m].querySelector(".odometer-ribbon-inner")),this.ribbons[m].innerHTML="",0>d&&(l=l.reverse()),o=C=0,B=l.length;B>C;o=++C)k=l[o],q=document.createElement("div"),q.className="odometer-value",q.innerHTML=k,this.ribbons[m].appendChild(q),o===l.length-1&&r(q,"odometer-last-value"),0===o&&r(q,"odometer-first-value");return 0>t&&this.addDigit("-"),p=this.inside.querySelector(".odometer-radix-mark"),null!=p&&p.parent.removeChild(p),j?this.addSpacer(this.format.radix,this.digits[j-1],"odometer-radix-mark"):void 0}},a}(),m.options=null!=(E=window.odometerOptions)?E:{},setTimeout(function(){var a,b,c,d,e;if(window.odometerOptions){d=window.odometerOptions,e=[];for(a in d)b=d[a],e.push(null!=(c=m.options)[a]?(c=m.options)[a]:c[a]=b);return e}},0),m.init=function(){var a,b,c,d,e,f;if(null!=document.querySelectorAll){for(b=document.querySelectorAll(m.options.selector||".odometer"),f=[],c=0,d=b.length;d>c;c++)a=b[c],f.push(a.odometer=new m({el:a,value:null!=(e=a.innerText)?e:a.textContent}));return f}},null!=(null!=(F=document.documentElement)?F.doScroll:void 0)&&null!=document.createEventObject?(D=document.onreadystatechange,document.onreadystatechange=function(){return"complete"===document.readyState&&m.options.auto!==!1&&m.init(),null!=D?D.apply(this,arguments):void 0}):document.addEventListener("DOMContentLoaded",function(){return m.options.auto!==!1?m.init():void 0},!1),"function"==typeof define&&define.amd?define(["jquery"],function(){return m}):typeof exports===!1?module.exports=m:window.Odometer=m}).call(this);
!function(a,b,c,d){function e(b,c){this.settings=null,this.options=a.extend({},e.Defaults,c),this.$element=a(b),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"]}},a.each(["onResize","onThrottledResize"],a.proxy(function(b,c){this._handlers[c]=a.proxy(this[c],this)},this)),a.each(e.Plugins,a.proxy(function(a,b){this._plugins[a.charAt(0).toLowerCase()+a.slice(1)]=new b(this)},this)),a.each(e.Workers,a.proxy(function(b,c){this._pipe.push({filter:c.filter,run:a.proxy(c.run,this)})},this)),this.setup(),this.initialize()}e.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:b,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"},e.Width={Default:"default",Inner:"inner",Outer:"outer"},e.Type={Event:"event",State:"state"},e.Plugins={},e.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(a){var b=this.settings.margin||"",c=!this.settings.autoWidth,d=this.settings.rtl,e={width:"auto","margin-left":d?b:"","margin-right":d?"":b};!c&&this.$stage.children().css(e),a.css=e}},{filter:["width","items","settings"],run:function(a){var b=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,c=null,d=this._items.length,e=!this.settings.autoWidth,f=[];for(a.items={merge:!1,width:b};d--;)c=this._mergers[d],c=this.settings.mergeFit&&Math.min(c,this.settings.items)||c,a.items.merge=c>1||a.items.merge,f[d]=e?b*c:this._items[d].width();this._widths=f}},{filter:["items","settings"],run:function(){var b=[],c=this._items,d=this.settings,e=Math.max(2*d.items,4),f=2*Math.ceil(c.length/2),g=d.loop&&c.length?d.rewind?e:Math.max(e,f):0,h="",i="";for(g/=2;g>0;)b.push(this.normalize(b.length/2,!0)),h+=c[b[b.length-1]][0].outerHTML,b.push(this.normalize(c.length-1-(b.length-1)/2,!0)),i=c[b[b.length-1]][0].outerHTML+i,g-=1;this._clones=b,a(h).addClass("cloned").appendTo(this.$stage),a(i).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var a=this.settings.rtl?1:-1,b=this._clones.length+this._items.length,c=-1,d=0,e=0,f=[];++c<b;)d=f[c-1]||0,e=this._widths[this.relative(c)]+this.settings.margin,f.push(d+e*a);this._coordinates=f}},{filter:["width","items","settings"],run:function(){var a=this.settings.stagePadding,b=this._coordinates,c={width:Math.ceil(Math.abs(b[b.length-1]))+2*a,"padding-left":a||"","padding-right":a||""};this.$stage.css(c)}},{filter:["width","items","settings"],run:function(a){var b=this._coordinates.length,c=!this.settings.autoWidth,d=this.$stage.children();if(c&&a.items.merge)for(;b--;)a.css.width=this._widths[this.relative(b)],d.eq(b).css(a.css);else c&&(a.css.width=a.items.width,d.css(a.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(a){a.current=a.current?this.$stage.children().index(a.current):0,a.current=Math.max(this.minimum(),Math.min(this.maximum(),a.current)),this.reset(a.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var a,b,c,d,e=this.settings.rtl?1:-1,f=2*this.settings.stagePadding,g=this.coordinates(this.current())+f,h=g+this.width()*e,i=[];for(c=0,d=this._coordinates.length;c<d;c++)a=this._coordinates[c-1]||0,b=Math.abs(this._coordinates[c])+f*e,(this.op(a,"<=",g)&&this.op(a,">",h)||this.op(b,"<",g)&&this.op(b,">",h))&&i.push(c);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")}}],e.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=a("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(a("<div/>",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},e.prototype.initializeItems=function(){var b=this.$element.find(".owl-item");if(b.length)return this._items=b.get().map(function(b){return a(b)}),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)},e.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:d,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")},e.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},e.prototype.setup=function(){var b=this.viewport(),c=this.options.responsive,d=-1,e=null;c?(a.each(c,function(a){a<=b&&a>d&&(d=Number(a))}),e=a.extend({},this.options,c[d]),"function"==typeof e.stagePadding&&(e.stagePadding=e.stagePadding()),delete e.responsive,e.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+d))):e=a.extend({},this.options),this.trigger("change",{property:{name:"settings",value:e}}),this._breakpoint=d,this.settings=e,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},e.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},e.prototype.prepare=function(b){var c=this.trigger("prepare",{content:b});return c.data||(c.data=a("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(b)),this.trigger("prepared",{content:c.data}),c.data},e.prototype.update=function(){for(var b=0,c=this._pipe.length,d=a.proxy(function(a){return this[a]},this._invalidated),e={};b<c;)(this._invalidated.all||a.grep(this._pipe[b].filter,d).length>0)&&this._pipe[b].run(e),b++;this._invalidated={},!this.is("valid")&&this.enter("valid")},e.prototype.width=function(a){switch(a=a||e.Width.Default){case e.Width.Inner:case e.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},e.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")},e.prototype.onThrottledResize=function(){b.clearTimeout(this.resizeTimer),this.resizeTimer=b.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},e.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")))))},e.prototype.registerEventHandlers=function(){a.support.transition&&this.$stage.on(a.support.transition.end+".owl.core",a.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(b,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",a.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",a.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",a.proxy(this.onDragEnd,this)))},e.prototype.onDragStart=function(b){var d=null;3!==b.which&&(a.support.transform?(d=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","),d={x:d[16===d.length?12:4],y:d[16===d.length?13:5]}):(d=this.$stage.position(),d={x:this.settings.rtl?d.left+this.$stage.width()-this.width()+this.settings.margin:d.left,y:d.top}),this.is("animating")&&(a.support.transform?this.animate(d.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===b.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=a(b.target),this._drag.stage.start=d,this._drag.stage.current=d,this._drag.pointer=this.pointer(b),a(c).on("mouseup.owl.core touchend.owl.core",a.proxy(this.onDragEnd,this)),a(c).one("mousemove.owl.core touchmove.owl.core",a.proxy(function(b){var d=this.difference(this._drag.pointer,this.pointer(b));a(c).on("mousemove.owl.core touchmove.owl.core",a.proxy(this.onDragMove,this)),Math.abs(d.x)<Math.abs(d.y)&&this.is("valid")||(b.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},e.prototype.onDragMove=function(a){var b=null,c=null,d=null,e=this.difference(this._drag.pointer,this.pointer(a)),f=this.difference(this._drag.stage.start,e);this.is("dragging")&&(a.preventDefault(),this.settings.loop?(b=this.coordinates(this.minimum()),c=this.coordinates(this.maximum()+1)-b,f.x=((f.x-b)%c+c)%c+b):(b=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),c=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),d=this.settings.pullDrag?-1*e.x/5:0,f.x=Math.max(Math.min(f.x,b+d),c+d)),this._drag.stage.current=f,this.animate(f.x))},e.prototype.onDragEnd=function(b){var d=this.difference(this._drag.pointer,this.pointer(b)),e=this._drag.stage.current,f=d.x>0^this.settings.rtl?"left":"right";a(c).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==d.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(e.x,0!==d.x?f:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=f,(Math.abs(d.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"))},e.prototype.closest=function(b,c){var e=-1,f=30,g=this.width(),h=this.coordinates();return this.settings.freeDrag||a.each(h,a.proxy(function(a,i){return"left"===c&&b>i-f&&b<i+f?e=a:"right"===c&&b>i-g-f&&b<i-g+f?e=a+1:this.op(b,"<",i)&&this.op(b,">",h[a+1]!==d?h[a+1]:i-g)&&(e="left"===c?a+1:a),-1===e},this)),this.settings.loop||(this.op(b,">",h[this.minimum()])?e=b=this.minimum():this.op(b,"<",h[this.maximum()])&&(e=b=this.maximum())),e},e.prototype.animate=function(b){var c=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),c&&(this.enter("animating"),this.trigger("translate")),a.support.transform3d&&a.support.transition?this.$stage.css({transform:"translate3d("+b+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):c?this.$stage.animate({left:b+"px"},this.speed(),this.settings.fallbackEasing,a.proxy(this.onTransitionEnd,this)):this.$stage.css({left:b+"px"})},e.prototype.is=function(a){return this._states.current[a]&&this._states.current[a]>0},e.prototype.current=function(a){if(a===d)return this._current;if(0===this._items.length)return d;if(a=this.normalize(a),this._current!==a){var b=this.trigger("change",{property:{name:"position",value:a}});b.data!==d&&(a=this.normalize(b.data)),this._current=a,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},e.prototype.invalidate=function(b){return"string"===a.type(b)&&(this._invalidated[b]=!0,this.is("valid")&&this.leave("valid")),a.map(this._invalidated,function(a,b){return b})},e.prototype.reset=function(a){(a=this.normalize(a))!==d&&(this._speed=0,this._current=a,this.suppress(["translate","translated"]),this.animate(this.coordinates(a)),this.release(["translate","translated"]))},e.prototype.normalize=function(a,b){var c=this._items.length,e=b?0:this._clones.length;return!this.isNumeric(a)||c<1?a=d:(a<0||a>=c+e)&&(a=((a-e/2)%c+c)%c+e/2),a},e.prototype.relative=function(a){return a-=this._clones.length/2,this.normalize(a,!0)},e.prototype.maximum=function(a){var b,c,d,e=this.settings,f=this._coordinates.length;if(e.loop)f=this._clones.length/2+this._items.length-1;else if(e.autoWidth||e.merge){if(b=this._items.length)for(c=this._items[--b].width(),d=this.$element.width();b--&&!((c+=this._items[b].width()+this.settings.margin)>d););f=b+1}else f=e.center?this._items.length-1:this._items.length-e.items;return a&&(f-=this._clones.length/2),Math.max(f,0)},e.prototype.minimum=function(a){return a?0:this._clones.length/2},e.prototype.items=function(a){return a===d?this._items.slice():(a=this.normalize(a,!0),this._items[a])},e.prototype.mergers=function(a){return a===d?this._mergers.slice():(a=this.normalize(a,!0),this._mergers[a])},e.prototype.clones=function(b){var c=this._clones.length/2,e=c+this._items.length,f=function(a){return a%2==0?e+a/2:c-(a+1)/2};return b===d?a.map(this._clones,function(a,b){return f(b)}):a.map(this._clones,function(a,c){return a===b?f(c):null})},e.prototype.speed=function(a){return a!==d&&(this._speed=a),this._speed},e.prototype.coordinates=function(b){var c,e=1,f=b-1;return b===d?a.map(this._coordinates,a.proxy(function(a,b){return this.coordinates(b)},this)):(this.settings.center?(this.settings.rtl&&(e=-1,f=b+1),c=this._coordinates[b],c+=(this.width()-c+(this._coordinates[f]||0))/2*e):c=this._coordinates[f]||0,c=Math.ceil(c))},e.prototype.duration=function(a,b,c){return 0===c?0:Math.min(Math.max(Math.abs(b-a),1),6)*Math.abs(c||this.settings.smartSpeed)},e.prototype.to=function(a,b){var c=this.current(),d=null,e=a-this.relative(c),f=(e>0)-(e<0),g=this._items.length,h=this.minimum(),i=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(e)>g/2&&(e+=-1*f*g),a=c+e,(d=((a-h)%g+g)%g+h)!==a&&d-e<=i&&d-e>0&&(c=d-e,a=d,this.reset(c))):this.settings.rewind?(i+=1,a=(a%i+i)%i):a=Math.max(h,Math.min(i,a)),this.speed(this.duration(c,a,b)),this.current(a),this.isVisible()&&this.update()},e.prototype.next=function(a){a=a||!1,this.to(this.relative(this.current())+1,a)},e.prototype.prev=function(a){a=a||!1,this.to(this.relative(this.current())-1,a)},e.prototype.onTransitionEnd=function(a){if(a!==d&&(a.stopPropagation(),(a.target||a.srcElement||a.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},e.prototype.viewport=function(){var d;return this.options.responsiveBaseElement!==b?d=a(this.options.responsiveBaseElement).width():b.innerWidth?d=b.innerWidth:c.documentElement&&c.documentElement.clientWidth?d=c.documentElement.clientWidth:console.warn("Can not detect viewport width."),d},e.prototype.replace=function(b){this.$stage.empty(),this._items=[],b&&(b=b instanceof jQuery?b:a(b)),this.settings.nestedItemSelector&&(b=b.find("."+this.settings.nestedItemSelector)),b.filter(function(){return 1===this.nodeType}).each(a.proxy(function(a,b){b=this.prepare(b),this.$stage.append(b),this._items.push(b),this._mergers.push(1*b.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")},e.prototype.add=function(b,c){var e=this.relative(this._current);c=c===d?this._items.length:this.normalize(c,!0),b=b instanceof jQuery?b:a(b),this.trigger("add",{content:b,position:c}),b=this.prepare(b),0===this._items.length||c===this._items.length?(0===this._items.length&&this.$stage.append(b),0!==this._items.length&&this._items[c-1].after(b),this._items.push(b),this._mergers.push(1*b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[c].before(b),this._items.splice(c,0,b),this._mergers.splice(c,0,1*b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[e]&&this.reset(this._items[e].index()),this.invalidate("items"),this.trigger("added",{content:b,position:c})},e.prototype.remove=function(a){(a=this.normalize(a,!0))!==d&&(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}))},e.prototype.preloadAutoWidthImages=function(b){b.each(a.proxy(function(b,c){this.enter("pre-loading"),c=a(c),a(new Image).one("load",a.proxy(function(a){c.attr("src",a.target.src),c.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",c.attr("src")||c.attr("data-src")||c.attr("data-src-retina"))},this))},e.prototype.destroy=function(){this.$element.off(".owl.core"),this.$stage.off(".owl.core"),a(c).off(".owl.core"),!1!==this.settings.responsive&&(b.clearTimeout(this.resizeTimer),this.off(b,"resize",this._handlers.onThrottledResize));for(var d in this._plugins)this._plugins[d].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")},e.prototype.op=function(a,b,c){var d=this.settings.rtl;switch(b){case"<":return d?a>c:a<c;case">":return d?a<c:a>c;case">=":return d?a<=c:a>=c;case"<=":return d?a>=c:a<=c}},e.prototype.on=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,d):a.attachEvent&&a.attachEvent("on"+b,c)},e.prototype.off=function(a,b,c,d){a.removeEventListener?a.removeEventListener(b,c,d):a.detachEvent&&a.detachEvent("on"+b,c)},e.prototype.trigger=function(b,c,d,f,g){var h={item:{count:this._items.length,index:this.current()}},i=a.camelCase(a.grep(["on",b,d],function(a){return a}).join("-").toLowerCase()),j=a.Event([b,"owl",d||"carousel"].join(".").toLowerCase(),a.extend({relatedTarget:this},h,c));return this._supress[b]||(a.each(this._plugins,function(a,b){b.onTrigger&&b.onTrigger(j)}),this.register({type:e.Type.Event,name:b}),this.$element.trigger(j),this.settings&&"function"==typeof this.settings[i]&&this.settings[i].call(this,j)),j},e.prototype.enter=function(b){a.each([b].concat(this._states.tags[b]||[]),a.proxy(function(a,b){this._states.current[b]===d&&(this._states.current[b]=0),this._states.current[b]++},this))},e.prototype.leave=function(b){a.each([b].concat(this._states.tags[b]||[]),a.proxy(function(a,b){this._states.current[b]--},this))},e.prototype.register=function(b){if(b.type===e.Type.Event){if(a.event.special[b.name]||(a.event.special[b.name]={}),!a.event.special[b.name].owl){var c=a.event.special[b.name]._default;a.event.special[b.name]._default=function(a){return!c||!c.apply||a.namespace&&-1!==a.namespace.indexOf("owl")?a.namespace&&a.namespace.indexOf("owl")>-1:c.apply(this,arguments)},a.event.special[b.name].owl=!0}}else b.type===e.Type.State&&(this._states.tags[b.name]?this._states.tags[b.name]=this._states.tags[b.name].concat(b.tags):this._states.tags[b.name]=b.tags,this._states.tags[b.name]=a.grep(this._states.tags[b.name],a.proxy(function(c,d){return a.inArray(c,this._states.tags[b.name])===d},this)))},e.prototype.suppress=function(b){a.each(b,a.proxy(function(a,b){this._supress[b]=!0},this))},e.prototype.release=function(b){a.each(b,a.proxy(function(a,b){delete this._supress[b]},this))},e.prototype.pointer=function(a){var c={x:null,y:null};return a=a.originalEvent||a||b.event,a=a.touches&&a.touches.length?a.touches[0]:a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:a,a.pageX?(c.x=a.pageX,c.y=a.pageY):(c.x=a.clientX,c.y=a.clientY),c},e.prototype.isNumeric=function(a){return!isNaN(parseFloat(a))},e.prototype.difference=function(a,b){return{x:a.x-b.x,y:a.y-b.y}},a.fn.owlCarousel=function(b){var c=Array.prototype.slice.call(arguments,1);return this.each(function(){var d=a(this),f=d.data("owl.carousel");f||(f=new e(this,"object"==typeof b&&b),d.data("owl.carousel",f),a.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(b,c){f.register({type:e.Type.Event,name:c}),f.$element.on(c+".owl.carousel.core",a.proxy(function(a){a.namespace&&a.relatedTarget!==this&&(this.suppress([c]),f[c].apply(this,[].slice.call(arguments,1)),this.release([c]))},f))})),"string"==typeof b&&"_"!==b.charAt(0)&&f[b].apply(f,c)})},a.fn.owlCarousel.Constructor=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={autoRefresh:!0,autoRefreshInterval:500},e.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=b.setInterval(a.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},e.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())},e.prototype.destroy=function(){var a,c;b.clearInterval(this._interval);for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},a.fn.owlCarousel.Constructor.Plugins.AutoRefresh=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":a.proxy(function(b){if(b.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(b.property&&"position"==b.property.name||"initialized"==b.type)){var c=this._core.settings,e=c.center&&Math.ceil(c.items/2)||c.items,f=c.center&&-1*e||0,g=(b.property&&b.property.value!==d?b.property.value:this._core.current())+f,h=this._core.clones().length,i=a.proxy(function(a,b){this.load(b)},this);for(c.lazyLoadEager>0&&(e+=c.lazyLoadEager,c.loop&&(g-=c.lazyLoadEager,e++));f++<e;)this.load(h/2+this._core.relative(g)),h&&a.each(this._core.clones(this._core.relative(g)),i),g++}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={lazyLoad:!1,lazyLoadEager:0},e.prototype.load=function(c){var d=this._core.$stage.children().eq(c),e=d&&d.find(".owl-lazy");!e||a.inArray(d.get(0),this._loaded)>-1||(e.each(a.proxy(function(c,d){var e,f=a(d),g=b.devicePixelRatio>1&&f.attr("data-src-retina")||f.attr("data-src")||f.attr("data-srcset");this._core.trigger("load",{element:f,url:g},"lazy"),f.is("img")?f.one("load.owl.lazy",a.proxy(function(){f.css("opacity",1),this._core.trigger("loaded",{element:f,url:g},"lazy")},this)).attr("src",g):f.is("source")?f.one("load.owl.lazy",a.proxy(function(){this._core.trigger("loaded",{element:f,url:g},"lazy")},this)).attr("srcset",g):(e=new Image,e.onload=a.proxy(function(){f.css({"background-image":'url("'+g+'")',opacity:"1"}),this._core.trigger("loaded",{element:f,url:g},"lazy")},this),e.src=g)},this)),this._loaded.push(d.get(0)))},e.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)},a.fn.owlCarousel.Constructor.Plugins.Lazy=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(c){this._core=c,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&"position"===a.property.name&&this.update()},this),"loaded.owl.lazy":a.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=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var d=this;a(b).on("load",function(){d._core.settings.autoHeight&&d.update()}),a(b).resize(function(){d._core.settings.autoHeight&&(null!=d._intervalId&&clearTimeout(d._intervalId),d._intervalId=setTimeout(function(){d.update()},250))})};e.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},e.prototype.update=function(){var b=this._core._current,c=b+this._core.settings.items,d=this._core.settings.lazyLoad,e=this._core.$stage.children().toArray().slice(b,c),f=[],g=0;a.each(e,function(b,c){f.push(a(c).height())}),g=Math.max.apply(null,f),g<=1&&d&&this._previousHeight&&(g=this._previousHeight),this._previousHeight=g,this._core.$stage.parent().height(g).addClass(this._core.settings.autoHeightClass)},e.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)},a.fn.owlCarousel.Constructor.Plugins.AutoHeight=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.video&&this.isInFullScreen()&&a.preventDefault()},this),"refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&"position"===a.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":a.proxy(function(b){if(b.namespace){var c=a(b.content).find(".owl-video");c.length&&(c.css("display","none"),this.fetch(c,a(b.content)))}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",a.proxy(function(a){this.play(a)},this))};e.Defaults={video:!1,videoHeight:!1,videoWidth:!1},e.prototype.fetch=function(a,b){var c=function(){return a.attr("data-vimeo-id")?"vimeo":a.attr("data-vzaar-id")?"vzaar":"youtube"}(),d=a.attr("data-vimeo-id")||a.attr("data-youtube-id")||a.attr("data-vzaar-id"),e=a.attr("data-width")||this._core.settings.videoWidth,f=a.attr("data-height")||this._core.settings.videoHeight,g=a.attr("href");if(!g)throw new Error("Missing video URL.");if(d=g.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+)?/),d[3].indexOf("youtu")>-1)c="youtube";else if(d[3].indexOf("vimeo")>-1)c="vimeo";else{if(!(d[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");c="vzaar"}d=d[6],this._videos[g]={type:c,id:d,width:e,height:f},b.attr("data-video",g),this.thumbnail(a,this._videos[g])},e.prototype.thumbnail=function(b,c){var d,e,f,g=c.width&&c.height?"width:"+c.width+"px;height:"+c.height+"px;":"",h=b.find("img"),i="src",j="",k=this._core.settings,l=function(c){e='<div class="owl-video-play-icon"></div>',d=k.lazyLoad?a("<div/>",{class:"owl-video-tn "+j,srcType:c}):a("<div/>",{class:"owl-video-tn",style:"opacity:1;background-image:url("+c+")"}),b.after(d),b.after(e)};if(b.wrap(a("<div/>",{class:"owl-video-wrapper",style:g})),this._core.settings.lazyLoad&&(i="data-src",j="owl-lazy"),h.length)return l(h.attr(i)),h.remove(),!1;"youtube"===c.type?(f="//img.youtube.com/vi/"+c.id+"/hqdefault.jpg",l(f)):"vimeo"===c.type?a.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+c.id+".json",jsonp:"callback",dataType:"jsonp",success:function(a){f=a[0].thumbnail_large,l(f)}}):"vzaar"===c.type&&a.ajax({type:"GET",url:"//vzaar.com/api/videos/"+c.id+".json",jsonp:"callback",dataType:"jsonp",success:function(a){f=a.framegrab_url,l(f)}})},e.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")},e.prototype.play=function(b){var c,d=a(b.target),e=d.closest("."+this._core.settings.itemClass),f=this._videos[e.attr("data-video")],g=f.width||"100%",h=f.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),e=this._core.items(this._core.relative(e.index())),this._core.reset(e.index()),c=a('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>'),c.attr("height",h),c.attr("width",g),"youtube"===f.type?c.attr("src","//www.youtube.com/embed/"+f.id+"?autoplay=1&rel=0&v="+f.id):"vimeo"===f.type?c.attr("src","//player.vimeo.com/video/"+f.id+"?autoplay=1"):"vzaar"===f.type&&c.attr("src","//view.vzaar.com/"+f.id+"/player?autoplay=true"),a(c).wrap('<div class="owl-video-frame" />').insertAfter(e.find(".owl-video")),this._playing=e.addClass("owl-video-playing"))},e.prototype.isInFullScreen=function(){var b=c.fullscreenElement||c.mozFullScreenElement||c.webkitFullscreenElement;return b&&a(b).parent().hasClass("owl-video-frame")},e.prototype.destroy=function(){var a,b;this._core.$element.off("click.owl.video");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)},a.fn.owlCarousel.Constructor.Plugins.Video=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this.core=b,this.core.options=a.extend({},e.Defaults,this.core.options),this.swapping=!0,this.previous=d,this.next=d,this.handlers={"change.owl.carousel":a.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":a.proxy(function(a){a.namespace&&(this.swapping="translated"==a.type)},this),"translate.owl.carousel":a.proxy(function(a){a.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};e.Defaults={animateOut:!1,
animateIn:!1},e.prototype.swap=function(){if(1===this.core.settings.items&&a.support.animation&&a.support.transition){this.core.speed(0);var b,c=a.proxy(this.clear,this),d=this.core.$stage.children().eq(this.previous),e=this.core.$stage.children().eq(this.next),f=this.core.settings.animateIn,g=this.core.settings.animateOut;this.core.current()!==this.previous&&(g&&(b=this.core.coordinates(this.previous)-this.core.coordinates(this.next),d.one(a.support.animation.end,c).css({left:b+"px"}).addClass("animated owl-animated-out").addClass(g)),f&&e.one(a.support.animation.end,c).addClass("animated owl-animated-in").addClass(f))}},e.prototype.clear=function(b){a(b.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},e.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)},a.fn.owlCarousel.Constructor.Plugins.Animate=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":a.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":a.proxy(function(a){a.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":a.proxy(function(a,b,c){a.namespace&&this.play(b,c)},this),"stop.owl.autoplay":a.proxy(function(a){a.namespace&&this.stop()},this),"mouseover.owl.autoplay":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":a.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=a.extend({},e.Defaults,this._core.options)};e.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},e.prototype._next=function(d){this._call=b.setTimeout(a.proxy(this._next,this,d),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||c.hidden||this._core.next(d||this._core.settings.autoplaySpeed)},e.prototype.read=function(){return(new Date).getTime()-this._time},e.prototype.play=function(c,d){var e;this._core.is("rotating")||this._core.enter("rotating"),c=c||this._core.settings.autoplayTimeout,e=Math.min(this._time%(this._timeout||c),c),this._paused?(this._time=this.read(),this._paused=!1):b.clearTimeout(this._call),this._time+=this.read()%c-e,this._timeout=c,this._call=b.setTimeout(a.proxy(this._next,this,d),c-e)},e.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,b.clearTimeout(this._call),this._core.leave("rotating"))},e.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,b.clearTimeout(this._call))},e.prototype.destroy=function(){var a,b;this.stop();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)},a.fn.owlCarousel.Constructor.Plugins.autoplay=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){"use strict";var e=function(b){this._core=b,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":a.proxy(function(b){b.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+a(b.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.splice(a.position,0,this._templates.pop())},this),"remove.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.splice(a.position,1)},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&"position"==a.property.name&&this.draw()},this),"initialized.owl.carousel":a.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":a.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=a.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers)};e.Defaults={nav:!1,navText:['<span aria-label="Previous">&#x2039;</span>','<span aria-label="Next">&#x203a;</span>'],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},e.prototype.initialize=function(){var b,c=this._core.settings;this._controls.$relative=(c.navContainer?a(c.navContainer):a("<div>").addClass(c.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=a("<"+c.navElement+">").addClass(c.navClass[0]).html(c.navText[0]).prependTo(this._controls.$relative).on("click",a.proxy(function(a){this.prev(c.navSpeed)},this)),this._controls.$next=a("<"+c.navElement+">").addClass(c.navClass[1]).html(c.navText[1]).appendTo(this._controls.$relative).on("click",a.proxy(function(a){this.next(c.navSpeed)},this)),c.dotsData||(this._templates=[a('<button role="button">').addClass(c.dotClass).append(a("<span>")).prop("outerHTML")]),this._controls.$absolute=(c.dotsContainer?a(c.dotsContainer):a("<div>").addClass(c.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",a.proxy(function(b){var d=a(b.target).parent().is(this._controls.$absolute)?a(b.target).index():a(b.target).parent().index();b.preventDefault(),this.to(d,c.dotsSpeed)},this));for(b in this._overrides)this._core[b]=a.proxy(this[b],this)},e.prototype.destroy=function(){var a,b,c,d,e;e=this._core.settings;for(a in this._handlers)this.$element.off(a,this._handlers[a]);for(b in this._controls)"$relative"===b&&e.navContainer?this._controls[b].html(""):this._controls[b].remove();for(d in this.overides)this._core[d]=this._overrides[d];for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},e.prototype.update=function(){var a,b,c,d=this._core.clones().length/2,e=d+this._core.items().length,f=this._core.maximum(!0),g=this._core.settings,h=g.center||g.autoWidth||g.dotsData?1:g.dotsEach||g.items;if("page"!==g.slideBy&&(g.slideBy=Math.min(g.slideBy,g.items)),g.dots||"page"==g.slideBy)for(this._pages=[],a=d,b=0,c=0;a<e;a++){if(b>=h||0===b){if(this._pages.push({start:Math.min(f,a-d),end:a-d+h-1}),Math.min(f,a-d)===f)break;b=0,++c}b+=this._core.mergers(this._core.relative(a))}},e.prototype.draw=function(){var b,c=this._core.settings,d=this._core.items().length<=c.items,e=this._core.relative(this._core.current()),f=c.loop||c.rewind;this._controls.$relative.toggleClass("disabled",!c.nav||d),c.nav&&(this._controls.$previous.toggleClass("disabled",!f&&e<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!f&&e>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!c.dots||d),c.dots&&(b=this._pages.length-this._controls.$absolute.children().length,c.dotsData&&0!==b?this._controls.$absolute.html(this._templates.join("")):b>0?this._controls.$absolute.append(new Array(b+1).join(this._templates[0])):b<0&&this._controls.$absolute.children().slice(b).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(a.inArray(this.current(),this._pages)).addClass("active"))},e.prototype.onTrigger=function(b){var c=this._core.settings;b.page={index:a.inArray(this.current(),this._pages),count:this._pages.length,size:c&&(c.center||c.autoWidth||c.dotsData?1:c.dotsEach||c.items)}},e.prototype.current=function(){var b=this._core.relative(this._core.current());return a.grep(this._pages,a.proxy(function(a,c){return a.start<=b&&a.end>=b},this)).pop()},e.prototype.getPosition=function(b){var c,d,e=this._core.settings;return"page"==e.slideBy?(c=a.inArray(this.current(),this._pages),d=this._pages.length,b?++c:--c,c=this._pages[(c%d+d)%d].start):(c=this._core.relative(this._core.current()),d=this._core.items().length,b?c+=e.slideBy:c-=e.slideBy),c},e.prototype.next=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!0),b)},e.prototype.prev=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!1),b)},e.prototype.to=function(b,c,d){var e;!d&&this._pages.length?(e=this._pages.length,a.proxy(this._overrides.to,this._core)(this._pages[(b%e+e)%e].start,c)):a.proxy(this._overrides.to,this._core)(b,c)},a.fn.owlCarousel.Constructor.Plugins.Navigation=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){"use strict";var e=function(c){this._core=c,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":a.proxy(function(c){c.namespace&&"URLHash"===this._core.settings.startPosition&&a(b).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":a.proxy(function(b){if(b.namespace){var c=a(b.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!c)return;this._hashes[c]=b.content}},this),"changed.owl.carousel":a.proxy(function(c){if(c.namespace&&"position"===c.property.name){var d=this._core.items(this._core.relative(this._core.current())),e=a.map(this._hashes,function(a,b){return a===d?b:null}).join();if(!e||b.location.hash.slice(1)===e)return;b.location.hash=e}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers),a(b).on("hashchange.owl.navigation",a.proxy(function(a){var c=b.location.hash.substring(1),e=this._core.$stage.children(),f=this._hashes[c]&&e.index(this._hashes[c]);f!==d&&f!==this._core.current()&&this._core.to(this._core.relative(f),!1,!0)},this))};e.Defaults={URLhashListener:!1},e.prototype.destroy=function(){var c,d;a(b).off("hashchange.owl.navigation");for(c in this._handlers)this._core.$element.off(c,this._handlers[c]);for(d in Object.getOwnPropertyNames(this))"function"!=typeof this[d]&&(this[d]=null)},a.fn.owlCarousel.Constructor.Plugins.Hash=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){function e(b,c){var e=!1,f=b.charAt(0).toUpperCase()+b.slice(1);return a.each((b+" "+h.join(f+" ")+f).split(" "),function(a,b){if(g[b]!==d)return e=!c||b,!1}),e}function f(a){return e(a,!0)}var g=a("<support>").get(0).style,h="Webkit Moz O ms".split(" "),i={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},j={csstransforms:function(){return!!e("transform")},csstransforms3d:function(){return!!e("perspective")},csstransitions:function(){return!!e("transition")},cssanimations:function(){return!!e("animation")}};j.csstransitions()&&(a.support.transition=new String(f("transition")),a.support.transition.end=i.transition.end[a.support.transition]),j.cssanimations()&&(a.support.animation=new String(f("animation")),a.support.animation.end=i.animation.end[a.support.animation]),j.csstransforms()&&(a.support.transform=new String(f("transform")),a.support.transform3d=j.csstransforms3d())}(window.Zepto||window.jQuery,window,document);
!function(i){if("function"==typeof define&&define.amd)define(["jquery"],i);else if("object"==typeof module&&module.exports){var t=require("jquery");i(t),module.exports=t}else i(jQuery)}(function(i){function t(i){this.init(i)}t.prototype={value:0,size:100,startAngle:-Math.PI,thickness:"auto",fill:{gradient:["#3aeabb","#fdd250"]},emptyFill:"rgba(0, 0, 0, .1)",animation:{duration:1200,easing:"circleProgressEasing"},animationStartValue:0,reverse:!1,lineCap:"butt",insertMode:"prepend",constructor:t,el:null,canvas:null,ctx:null,radius:0,arcFill:null,lastFrameValue:0,init:function(t){i.extend(this,t),this.radius=this.size/2,this.initWidget(),this.initFill(),this.draw(),this.el.trigger("circle-inited")},initWidget:function(){this.canvas||(this.canvas=i("<canvas>")["prepend"==this.insertMode?"prependTo":"appendTo"](this.el)[0]);var t=this.canvas;if(t.width=this.size,t.height=this.size,this.ctx=t.getContext("2d"),window.devicePixelRatio>1){var e=window.devicePixelRatio;t.style.width=t.style.height=this.size+"px",t.width=t.height=this.size*e,this.ctx.scale(e,e)}},initFill:function(){function t(){var t=i("<canvas>")[0];t.width=e.size,t.height=e.size,t.getContext("2d").drawImage(g,0,0,r,r),e.arcFill=e.ctx.createPattern(t,"no-repeat"),e.drawFrame(e.lastFrameValue)}var e=this,a=this.fill,n=this.ctx,r=this.size;if(!a)throw Error("The fill is not specified!");if("string"==typeof a&&(a={color:a}),a.color&&(this.arcFill=a.color),a.gradient){var s=a.gradient;if(1==s.length)this.arcFill=s[0];else if(s.length>1){for(var l=a.gradientAngle||0,o=a.gradientDirection||[r/2*(1-Math.cos(l)),r/2*(1+Math.sin(l)),r/2*(1+Math.cos(l)),r/2*(1-Math.sin(l))],h=n.createLinearGradient.apply(n,o),c=0;c<s.length;c++){var d=s[c],u=c/(s.length-1);i.isArray(d)&&(u=d[1],d=d[0]),h.addColorStop(u,d)}this.arcFill=h}}if(a.image){var g;a.image instanceof Image?g=a.image:(g=new Image,g.src=a.image),g.complete?t():g.onload=t}},draw:function(){this.animation?this.drawAnimated(this.value):this.drawFrame(this.value)},drawFrame:function(i){this.lastFrameValue=i,this.ctx.clearRect(0,0,this.size,this.size),this.drawEmptyArc(i),this.drawArc(i)},drawArc:function(i){if(0!==i){var t=this.ctx,e=this.radius,a=this.getThickness(),n=this.startAngle;t.save(),t.beginPath(),this.reverse?t.arc(e,e,e-a/2,n-2*Math.PI*i,n):t.arc(e,e,e-a/2,n,n+2*Math.PI*i),t.lineWidth=a,t.lineCap=this.lineCap,t.strokeStyle=this.arcFill,t.stroke(),t.restore()}},drawEmptyArc:function(i){var t=this.ctx,e=this.radius,a=this.getThickness(),n=this.startAngle;i<1&&(t.save(),t.beginPath(),i<=0?t.arc(e,e,e-a/2,0,2*Math.PI):this.reverse?t.arc(e,e,e-a/2,n,n-2*Math.PI*i):t.arc(e,e,e-a/2,n+2*Math.PI*i,n),t.lineWidth=a,t.strokeStyle=this.emptyFill,t.stroke(),t.restore())},drawAnimated:function(t){var e=this,a=this.el,n=i(this.canvas);n.stop(!0,!1),a.trigger("circle-animation-start"),n.css({animationProgress:0}).animate({animationProgress:1},i.extend({},this.animation,{step:function(i){var n=e.animationStartValue*(1-i)+t*i;e.drawFrame(n),a.trigger("circle-animation-progress",[i,n])}})).promise().always(function(){a.trigger("circle-animation-end")})},getThickness:function(){return i.isNumeric(this.thickness)?this.thickness:this.size/14},getValue:function(){return this.value},setValue:function(i){this.animation&&(this.animationStartValue=this.lastFrameValue),this.value=i,this.draw()}},i.circleProgress={defaults:t.prototype},i.easing.circleProgressEasing=function(i){return i<.5?(i=2*i,.5*i*i*i):(i=2-2*i,1-.5*i*i*i)},i.fn.circleProgress=function(e,a){var n="circle-progress",r=this.data(n);if("widget"==e){if(!r)throw Error('Calling "widget" method on not initialized instance is forbidden');return r.canvas}if("value"==e){if(!r)throw Error('Calling "value" method on not initialized instance is forbidden');if("undefined"==typeof a)return r.getValue();var s=arguments[1];return this.each(function(){i(this).data(n).setValue(s)})}return this.each(function(){var a=i(this),r=a.data(n),s=i.isPlainObject(e)?e:{};if(r)r.init(s);else{var l=i.extend({},a.data());"string"==typeof l.fill&&(l.fill=JSON.parse(l.fill)),"string"==typeof l.animation&&(l.animation=JSON.parse(l.animation)),s=i.extend(l,s),s.el=a,r=new t(s),a.data(n,r)}})}});
(function(){var a,b,c,d=function(a,b){return function(){return a.apply(b,arguments)}},e=[].indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(b in this&&this[b]===a)return b;return-1};b=function(){function a(){}return a.prototype.extend=function(a,b){var c,d;for(c in b)d=b[c],null==a[c]&&(a[c]=d);return a},a.prototype.isMobile=function(a){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(a)},a}(),c=this.WeakMap||this.MozWeakMap||(c=function(){function a(){this.keys=[],this.values=[]}return a.prototype.get=function(a){var b,c,d,e,f;for(f=this.keys,b=d=0,e=f.length;e>d;b=++d)if(c=f[b],c===a)return this.values[b]},a.prototype.set=function(a,b){var c,d,e,f,g;for(g=this.keys,c=e=0,f=g.length;f>e;c=++e)if(d=g[c],d===a)return void(this.values[c]=b);return this.keys.push(a),this.values.push(b)},a}()),a=this.MutationObserver||this.WebkitMutationObserver||this.MozMutationObserver||(a=function(){function a(){console.warn("MutationObserver is not supported by your browser."),console.warn("WOW.js cannot detect dom mutations, please call .sync() after loading new content.")}return a.notSupported=!0,a.prototype.observe=function(){},a}()),this.WOW=function(){function f(a){null==a&&(a={}),this.scrollCallback=d(this.scrollCallback,this),this.scrollHandler=d(this.scrollHandler,this),this.start=d(this.start,this),this.scrolled=!0,this.config=this.util().extend(a,this.defaults),this.animationNameCache=new c}return f.prototype.defaults={boxClass:"wow",animateClass:"animated",offset:0,mobile:!0,live:!0},f.prototype.init=function(){var a;return this.element=window.document.documentElement,"interactive"===(a=document.readyState)||"complete"===a?this.start():document.addEventListener("DOMContentLoaded",this.start),this.finished=[]},f.prototype.start=function(){var b,c,d,e;if(this.stopped=!1,this.boxes=function(){var a,c,d,e;for(d=this.element.querySelectorAll("."+this.config.boxClass),e=[],a=0,c=d.length;c>a;a++)b=d[a],e.push(b);return e}.call(this),this.all=function(){var a,c,d,e;for(d=this.boxes,e=[],a=0,c=d.length;c>a;a++)b=d[a],e.push(b);return e}.call(this),this.boxes.length)if(this.disabled())this.resetStyle();else{for(e=this.boxes,c=0,d=e.length;d>c;c++)b=e[c],this.applyStyle(b,!0);window.addEventListener("scroll",this.scrollHandler,!1),window.addEventListener("resize",this.scrollHandler,!1),this.interval=setInterval(this.scrollCallback,50)}return this.config.live?new a(function(a){return function(b){var c,d,e,f,g;for(g=[],e=0,f=b.length;f>e;e++)d=b[e],g.push(function(){var a,b,e,f;for(e=d.addedNodes||[],f=[],a=0,b=e.length;b>a;a++)c=e[a],f.push(this.doSync(c));return f}.call(a));return g}}(this)).observe(document.body,{childList:!0,subtree:!0}):void 0},f.prototype.stop=function(){return this.stopped=!0,window.removeEventListener("scroll",this.scrollHandler,!1),window.removeEventListener("resize",this.scrollHandler,!1),null!=this.interval?clearInterval(this.interval):void 0},f.prototype.sync=function(){return a.notSupported?this.doSync(this.element):void 0},f.prototype.doSync=function(a){var b,c,d,f,g;if(!this.stopped){if(null==a&&(a=this.element),1!==a.nodeType)return;for(a=a.parentNode||a,f=a.querySelectorAll("."+this.config.boxClass),g=[],c=0,d=f.length;d>c;c++)b=f[c],e.call(this.all,b)<0?(this.applyStyle(b,!0),this.boxes.push(b),this.all.push(b),g.push(this.scrolled=!0)):g.push(void 0);return g}},f.prototype.show=function(a){return this.applyStyle(a),a.className=""+a.className+" "+this.config.animateClass},f.prototype.applyStyle=function(a,b){var c,d,e;return d=a.getAttribute("data-wow-duration"),c=a.getAttribute("data-wow-delay"),e=a.getAttribute("data-wow-iteration"),this.animate(function(f){return function(){return f.customStyle(a,b,d,c,e)}}(this))},f.prototype.animate=function(){return"requestAnimationFrame"in window?function(a){return window.requestAnimationFrame(a)}:function(a){return a()}}(),f.prototype.resetStyle=function(){var a,b,c,d,e;for(d=this.boxes,e=[],b=0,c=d.length;c>b;b++)a=d[b],e.push(a.setAttribute("style","visibility: visible;"));return e},f.prototype.customStyle=function(a,b,c,d,e){return b&&this.cacheAnimationName(a),a.style.visibility=b?"hidden":"visible",c&&this.vendorSet(a.style,{animationDuration:c}),d&&this.vendorSet(a.style,{animationDelay:d}),e&&this.vendorSet(a.style,{animationIterationCount:e}),this.vendorSet(a.style,{animationName:b?"none":this.cachedAnimationName(a)}),a},f.prototype.vendors=["moz","webkit"],f.prototype.vendorSet=function(a,b){var c,d,e,f;f=[];for(c in b)d=b[c],a[""+c]=d,f.push(function(){var b,f,g,h;for(g=this.vendors,h=[],b=0,f=g.length;f>b;b++)e=g[b],h.push(a[""+e+c.charAt(0).toUpperCase()+c.substr(1)]=d);return h}.call(this));return f},f.prototype.vendorCSS=function(a,b){var c,d,e,f,g,h;for(d=window.getComputedStyle(a),c=d.getPropertyCSSValue(b),h=this.vendors,f=0,g=h.length;g>f;f++)e=h[f],c=c||d.getPropertyCSSValue("-"+e+"-"+b);return c},f.prototype.animationName=function(a){var b;try{b=this.vendorCSS(a,"animation-name").cssText}catch(c){b=window.getComputedStyle(a).getPropertyValue("animation-name")}return"none"===b?"":b},f.prototype.cacheAnimationName=function(a){return this.animationNameCache.set(a,this.animationName(a))},f.prototype.cachedAnimationName=function(a){return this.animationNameCache.get(a)},f.prototype.scrollHandler=function(){return this.scrolled=!0},f.prototype.scrollCallback=function(){var a;return!this.scrolled||(this.scrolled=!1,this.boxes=function(){var b,c,d,e;for(d=this.boxes,e=[],b=0,c=d.length;c>b;b++)a=d[b],a&&(this.isVisible(a)?this.show(a):e.push(a));return e}.call(this),this.boxes.length||this.config.live)?void 0:this.stop()},f.prototype.offsetTop=function(a){for(var b;void 0===a.offsetTop;)a=a.parentNode;for(b=a.offsetTop;a=a.offsetParent;)b+=a.offsetTop;return b},f.prototype.isVisible=function(a){var b,c,d,e,f;return c=a.getAttribute("data-wow-offset")||this.config.offset,f=window.pageYOffset,e=f+Math.min(this.element.clientHeight,innerHeight)-c,d=this.offsetTop(a),b=d+a.clientHeight,e>=d&&b>=f},f.prototype.util=function(){return null!=this._util?this._util:this._util=new b},f.prototype.disabled=function(){return!this.config.mobile&&this.util().isMobile(navigator.userAgent)},f}()}).call(this);
(function(g,r){"use strict";var s=function(t){this.elem=t};s.init=function(){var t=r.querySelectorAll("[data-sharer]"),e,a=t.length;for(e=0;e<a;e++){t[e].addEventListener("click",s.add)}};s.add=function(t){var e=t.currentTarget||t.srcElement;var a=new s(e);a.share()};s.prototype={constructor:s,getValue:function(t){var e=this.elem.getAttribute("data-"+t);if(e&&t==="hashtag"){if(!e.startsWith("#")){e="#"+e}}return e},share:function(){var t=this.getValue("sharer").toLowerCase(),e={facebook:{shareUrl:"https://www.facebook.com/sharer/sharer.php",params:{u:this.getValue("url"),hashtag:this.getValue("hashtag")}},linkedin:{shareUrl:"https://www.linkedin.com/shareArticle",params:{url:this.getValue("url"),mini:true}},twitter:{shareUrl:"https://twitter.com/intent/tweet/",params:{text:this.getValue("title"),url:this.getValue("url"),hashtags:this.getValue("hashtags"),via:this.getValue("via")}},email:{shareUrl:"mailto:"+this.getValue("to")||"",params:{subject:this.getValue("subject"),body:this.getValue("title")+"\n"+this.getValue("url")},isLink:true},whatsapp:{shareUrl:this.getValue("web")!==null?"https://api.whatsapp.com/send":"https://wa.me/",params:{text:this.getValue("title")+" "+this.getValue("url")},isLink:true},telegram:{shareUrl:this.getValue("web")!==null?"https://telegram.me/share":"tg://msg_url",params:{text:this.getValue("title"),url:this.getValue("url")},isLink:true},viber:{shareUrl:"viber://forward",params:{text:this.getValue("title")+" "+this.getValue("url")},isLink:true},line:{shareUrl:"http://line.me/R/msg/text/?"+encodeURIComponent(this.getValue("title")+" "+this.getValue("url")),isLink:true},pinterest:{shareUrl:"https://www.pinterest.com/pin/create/button/",params:{url:this.getValue("url"),media:this.getValue("image"),description:this.getValue("description")}},tumblr:{shareUrl:"http://tumblr.com/widgets/share/tool",params:{canonicalUrl:this.getValue("url"),content:this.getValue("url"),posttype:"link",title:this.getValue("title"),caption:this.getValue("caption"),tags:this.getValue("tags")}},hackernews:{shareUrl:"https://news.ycombinator.com/submitlink",params:{u:this.getValue("url"),t:this.getValue("title")}},reddit:{shareUrl:"https://www.reddit.com/submit",params:{url:this.getValue("url")}},vk:{shareUrl:"http://vk.com/share.php",params:{url:this.getValue("url"),title:this.getValue("title"),description:this.getValue("caption"),image:this.getValue("image")}},xing:{shareUrl:"https://www.xing.com/social/share/spi",params:{url:this.getValue("url")}},buffer:{shareUrl:"https://buffer.com/add",params:{url:this.getValue("url"),title:this.getValue("title"),via:this.getValue("via"),picture:this.getValue("picture")}},instapaper:{shareUrl:"http://www.instapaper.com/edit",params:{url:this.getValue("url"),title:this.getValue("title"),description:this.getValue("description")}},pocket:{shareUrl:"https://getpocket.com/save",params:{url:this.getValue("url")}},stumbleupon:{shareUrl:"http://www.stumbleupon.com/submit",params:{url:this.getValue("url"),title:this.getValue("title")}},mashable:{shareUrl:"https://mashable.com/submit",params:{url:this.getValue("url"),title:this.getValue("title")}},mix:{shareUrl:"https://mix.com/add",params:{url:this.getValue("url")}},flipboard:{shareUrl:"https://share.flipboard.com/bookmarklet/popout",params:{v:2,title:this.getValue("title"),url:this.getValue("url"),t:Date.now()}},weibo:{shareUrl:"http://service.weibo.com/share/share.php",params:{url:this.getValue("url"),title:this.getValue("title"),pic:this.getValue("image"),appkey:this.getValue("appkey"),ralateUid:this.getValue("ralateuid"),language:"zh_cn"}},renren:{shareUrl:"http://share.renren.com/share/buttonshare",params:{link:this.getValue("url")}},myspace:{shareUrl:"https://myspace.com/post",params:{u:this.getValue("url"),t:this.getValue("title"),c:this.getValue("description")}},blogger:{shareUrl:"https://www.blogger.com/blog-this.g",params:{u:this.getValue("url"),n:this.getValue("title"),t:this.getValue("description")}},baidu:{shareUrl:"http://cang.baidu.com/do/add",params:{it:this.getValue("title"),iu:this.getValue("url")}},douban:{shareUrl:"https://www.douban.com/share/service",params:{name:this.getValue("name"),href:this.getValue("url"),image:this.getValue("image"),comment:this.getValue("description")}},okru:{shareUrl:"https://connect.ok.ru/dk",params:{"st.cmd":"WidgetSharePreview","st.shareUrl":this.getValue("url"),title:this.getValue("title")}},mailru:{shareUrl:"http://connect.mail.ru/share",params:{share_url:this.getValue("url"),linkname:this.getValue("title"),linknote:this.getValue("description"),type:"page"}},evernote:{shareUrl:"https://www.evernote.com/clip.action",params:{url:this.getValue("url"),title:this.getValue("title")}},skype:{shareUrl:"https://web.skype.com/share",params:{url:this.getValue("url"),title:this.getValue("title")}},quora:{shareUrl:"https://www.quora.com/share",params:{url:this.getValue("url"),title:this.getValue("title")}},delicious:{shareUrl:"https://del.icio.us/post",params:{url:this.getValue("url"),title:this.getValue("title")}},sms:{shareUrl:"sms://",params:{body:this.getValue("body")}},trello:{shareUrl:"https://trello.com/add-card",params:{url:this.getValue("url"),name:this.getValue("title"),desc:this.getValue("description"),mode:"popup"}},messenger:{shareUrl:"fb-messenger://share",params:{link:this.getValue("url")}},odnoklassniki:{shareUrl:"https://connect.ok.ru/dk",params:{st:{cmd:"WidgetSharePreview",deprecated:1,shareUrl:this.getValue("url")}}},meneame:{shareUrl:"https://www.meneame.net/submit",params:{url:this.getValue("url")}},diaspora:{shareUrl:"https://share.diasporafoundation.org",params:{title:this.getValue("title"),url:this.getValue("url")}},googlebookmarks:{shareUrl:"https://www.google.com/bookmarks/mark",params:{op:"edit",bkmk:this.getValue("url"),title:this.getValue("title")}},qzone:{shareUrl:"https://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey",params:{url:this.getValue("url")}},refind:{shareUrl:"https://refind.com",params:{url:this.getValue("url")}},surfingbird:{shareUrl:"https://surfingbird.ru/share",params:{url:this.getValue("url"),title:this.getValue("title"),description:this.getValue("description")}},yahoomail:{shareUrl:"http://compose.mail.yahoo.com",params:{to:this.getValue("to"),subject:this.getValue("subject"),body:this.getValue("body")}},wordpress:{shareUrl:"https://wordpress.com/wp-admin/press-this.php",params:{u:this.getValue("url"),t:this.getValue("title"),s:this.getValue("title")}},amazon:{shareUrl:"https://www.amazon.com/gp/wishlist/static-add",params:{u:this.getValue("url"),t:this.getValue("title")}},pinboard:{shareUrl:"https://pinboard.in/add",params:{url:this.getValue("url"),title:this.getValue("title"),description:this.getValue("description")}},threema:{shareUrl:"threema://compose",params:{text:this.getValue("text"),id:this.getValue("id")}},kakaostory:{shareUrl:"https://story.kakao.com/share",params:{url:this.getValue("url")}},yummly:{shareUrl:"http://www.yummly.com/urb/verify",params:{url:this.getValue("url"),title:this.getValue("title"),yumtype:"button"}}},a=e[t];if(a){a.width=this.getValue("width");a.height=this.getValue("height")}return a!==undefined?this.urlSharer(a):false},urlSharer:function(t){var e=t.params||{},a=Object.keys(e),r,s=a.length>0?"?":"";for(r=0;r<a.length;r++){if(s!=="?"){s+="&"}if(e[a[r]]){s+=a[r]+"="+encodeURIComponent(e[a[r]])}}t.shareUrl+=s;if(!t.isLink){var l=t.width||600,i=t.height||480,h=g.innerWidth/2-l/2+g.screenX,u=g.innerHeight/2-i/2+g.screenY,o="scrollbars=no, width="+l+", height="+i+", top="+u+", left="+h,p=g.open(t.shareUrl,"",o);if(g.focus){p.focus()}}else{g.location.href=t.shareUrl}}};if(r.readyState==="complete"||r.readyState!=="loading"){s.init()}else{r.addEventListener("DOMContentLoaded",s.init)}g.Sharer=s})(window,document);
/**
* FILE: jQuery.ptTileSelect.js
*
* @fileOverview
* jQuery plugin for displaying a popup that allows a user
* to define a time and set that time back to a form's input
* field.
*
* @version 0.8
* @author  Paul Tavares, www.purtuga.com
* @see     http://pttimeselect.sourceforge.net
*
* @requires jQuery {@link http://www.jquery.com}
*
*
* LICENSE:
*
*  Copyright (c) 2007 Paul T. (purtuga.com)
*  Dual licensed under the:
*
*  -   MIT
*      <http://www.opensource.org/licenses/mit-license.php>
*
*  -   GPL
*      <http://www.opensource.org/licenses/gpl-license.php>
*
*  User can pick whichever one applies best for their project
*  and doesn not have to contact me.
*
*
* INSTALLATION:
*
* There are two files (.css and .js) delivered with this plugin and
* that must be included in your html page after the jquery.js library
* and the jQuery UI style sheet (the jQuery UI javascript library is
* not necessary).
* Both of these are to be included inside of the 'head' element of
* the document. Example below demonstrates this along side the jQuery
* libraries.
*
* |    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
* |    <link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.22/themes/redmond/jquery-ui.css" />
* |
* |    <link rel="stylesheet" type="text/css" href="jquery.ptTimeSelect.css" />
* |    <script type="text/javascript" src="jquery.ptTimeSelect.js"></script>
* |
*
* USAGE:
*
*     -    See <$(ele).ptTimeSelect()>
*
*
*
* LAST UPDATED:
*
*         - $Date: 2012/08/05 19:40:21 $
*         - $Author: paulinho4u $
*         - $Revision: 1.8 $
*
*/
(function($){
jQuery.ptTimeSelect={};
jQuery.ptTimeSelect.version="__BUILD_VERSION_NUMBER__";
jQuery.ptTimeSelect.options={
containerClass: undefined,
containerWidth: '22em',
hoursLabel:     'Hour',
minutesLabel:   'Minutes',
setButtonLabel: 'Set',
popupImage:     undefined,
onFocusDisplay: true,
zIndex:         10,
onBeforeShow:   undefined,
onClose:        undefined
};
jQuery.ptTimeSelect._ptTimeSelectInit=function (){
jQuery(document).ready(function (){
if(!jQuery('#ptTimeSelectCntr').length){
jQuery("body").append('<div id="ptTimeSelectCntr" class="">'
+    '        <div class="ui-widget ui-widget-content ui-corner-all">'
+    '        <div class="ui-widget-header ui-corner-all">'
+    '            <div id="ptTimeSelectCloseCntr" style="float: right;">'
+    '                <a href="javascript: void(0);" onclick="jQuery.ptTimeSelect.closeCntr();" '
+    '                        onmouseover="jQuery(this).removeClass(\'ui-state-default\').addClass(\'ui-state-hover\');" '
+    '                        onmouseout="jQuery(this).removeClass(\'ui-state-hover\').addClass(\'ui-state-default\');"'
+    '                        class="ui-corner-all ui-state-default">'
+    '                    <span class="ui-icon ui-icon-circle-close">X</span>'
+    '                </a>'
+    '            </div>'
+    '            <div id="ptTimeSelectUserTime" style="float: left;">'
+    '                <span id="ptTimeSelectUserSelHr">1</span>:'
+    '                <span id="ptTimeSelectUserSelMin">00</span> '
+    '                <span id="ptTimeSelectUserSelAmPm">AM</span>'
+    '            </div>'
+    '            <br style="clear: both;" /><div></div>'
+    '        </div>'
+    '        <div class="ui-widget-content ui-corner-all">'
+    '            <div>'
+    '                <div class="ptTimeSelectTimeLabelsCntr">'
+    '                    <div class="ptTimeSelectLeftPane" style="width: 50%; text-align: center; float: left;" class="">Hour</div>'
+    '                    <div class="ptTimeSelectRightPane" style="width: 50%; text-align: center; float: left;">Minutes</div>'
+    '                </div>'
+    '                <div>'
+    '                    <div style="float: left; width: 50%;">'
+    '                        <div class="ui-widget-content ptTimeSelectLeftPane">'
+    '                            <div class="ptTimeSelectHrAmPmCntr">'
+    '                                <a class="ptTimeSelectHr ui-state-default" href="javascript: void(0);" '
+    '                                        style="display: block; width: 45%; float: left;">AM</a>'
+    '                                <a class="ptTimeSelectHr ui-state-default" href="javascript: void(0);" '
+    '                                        style="display: block; width: 45%; float: left;">PM</a>'
+    '                                <br style="clear: left;" /><div></div>'
+    '                            </div>'
+    '                            <div class="ptTimeSelectHrCntr">'
+    '                                <a class="ptTimeSelectHr ui-state-default" href="javascript: void(0);">1</a>'
+    '                                <a class="ptTimeSelectHr ui-state-default" href="javascript: void(0);">2</a>'
+    '                                <a class="ptTimeSelectHr ui-state-default" href="javascript: void(0);">3</a>'
+    '                                <a class="ptTimeSelectHr ui-state-default" href="javascript: void(0);">4</a>'
+    '                                <a class="ptTimeSelectHr ui-state-default" href="javascript: void(0);">5</a>'
+    '                                <a class="ptTimeSelectHr ui-state-default" href="javascript: void(0);">6</a>'
+    '                                <a class="ptTimeSelectHr ui-state-default" href="javascript: void(0);">7</a>'
+    '                                <a class="ptTimeSelectHr ui-state-default" href="javascript: void(0);">8</a>'
+    '                                <a class="ptTimeSelectHr ui-state-default" href="javascript: void(0);">9</a>'
+    '                                <a class="ptTimeSelectHr ui-state-default" href="javascript: void(0);">10</a>'
+    '                                <a class="ptTimeSelectHr ui-state-default" href="javascript: void(0);">11</a>'
+    '                                <a class="ptTimeSelectHr ui-state-default" href="javascript: void(0);">12</a>'
+    '                                <br style="clear: left;" /><div></div>'
+    '                            </div>'
+    '                        </div>'
+    '                    </div>'
+    '                    <div style="width: 50%; float: left;">'
+    '                        <div class="ui-widget-content ptTimeSelectRightPane">'
+    '                            <div class="ptTimeSelectMinCntr">'
+    '                                <a class="ptTimeSelectMin ui-state-default" href="javascript: void(0);">00</a>'
+    '                                <a class="ptTimeSelectMin ui-state-default" href="javascript: void(0);">05</a>'
+    '                                <a class="ptTimeSelectMin ui-state-default" href="javascript: void(0);">10</a>'
+    '                                <a class="ptTimeSelectMin ui-state-default" href="javascript: void(0);">15</a>'
+    '                                <a class="ptTimeSelectMin ui-state-default" href="javascript: void(0);">20</a>'
+    '                                <a class="ptTimeSelectMin ui-state-default" href="javascript: void(0);">25</a>'
+    '                                <a class="ptTimeSelectMin ui-state-default" href="javascript: void(0);">30</a>'
+    '                                <a class="ptTimeSelectMin ui-state-default" href="javascript: void(0);">35</a>'
+    '                                <a class="ptTimeSelectMin ui-state-default" href="javascript: void(0);">40</a>'
+    '                                <a class="ptTimeSelectMin ui-state-default" href="javascript: void(0);">45</a>'
+    '                                <a class="ptTimeSelectMin ui-state-default" href="javascript: void(0);">50</a>'
+    '                                <a class="ptTimeSelectMin ui-state-default" href="javascript: void(0);">55</a>'
+    '                                <br style="clear: left;" /><div></div>'
+    '                            </div>'
+    '                        </div>'
+    '                    </div>'
+    '                </div>'
+    '            </div>'
+    '            <div style="clear: left;"></div>'
+    '        </div>'
+    '        <div id="ptTimeSelectSetButton">'
+    '            <a href="javascript: void(0);" onclick="jQuery.ptTimeSelect.setTime()"'
+    '                    onmouseover="jQuery(this).removeClass(\'ui-state-default\').addClass(\'ui-state-hover\');" '
+    '                        onmouseout="jQuery(this).removeClass(\'ui-state-hover\').addClass(\'ui-state-default\');"'
+    '                        class="ui-corner-all ui-state-default">'
+    '                SET'
+    '            </a>'
+    '            <br style="clear: both;" /><div></div>'
+    '        </div>'
+    '        <!--[if lte IE 6.5]>'
+    '            <iframe style="display:block; position:absolute;top: 0;left:0;z-index:-1;'
+    '                filter:Alpha(Opacity=\'0\');width:3000px;height:3000px"></iframe>'
+    '        <![endif]-->'
+    '    </div></div>'
);
var e=jQuery('#ptTimeSelectCntr');
e.find('.ptTimeSelectMin')
.bind("click", function(){
jQuery.ptTimeSelect.setMin($(this).text());
});
e.find('.ptTimeSelectHr')
.bind("click", function(){
jQuery.ptTimeSelect.setHr($(this).text());
});
$(document).mousedown(jQuery.ptTimeSelect._doCheckMouseClick);
}}
);
}();
jQuery.ptTimeSelect.setHr=function(h){
if(h.toLowerCase()=="am"
||  h.toLowerCase()=="pm"
){
jQuery('#ptTimeSelectUserSelAmPm').empty().append(h);
}else{
jQuery('#ptTimeSelectUserSelHr').empty().append(h);
}};
jQuery.ptTimeSelect.setMin=function(m){
jQuery('#ptTimeSelectUserSelMin').empty().append(m);
};
jQuery.ptTimeSelect.setTime=function(){
var tSel=jQuery('#ptTimeSelectUserSelHr').text()
+ ":"
+ jQuery('#ptTimeSelectUserSelMin').text()
+ " "
+ jQuery('#ptTimeSelectUserSelAmPm').text();
var i=jQuery(".isPtTimeSelectActive");
if(i.attr('type')=='time'){
i.val(jQuery.ptTimeSelect.convertFromAMPM(tSel));
}else{
i.val(tSel);
}
i.trigger('change');
this.closeCntr();
};
jQuery.ptTimeSelect.convertFrom24=function(time){
time=time.toString ().match (/^([01]\d|2[0-3])(:)([0-5]\d)(:[0-5]\d)?$/)||[time];
if(time.length > 1){
time=time.slice (1);
time[5]=+time[0] < 12 ? ' AM':' PM';
time[0]=+time[0] % 12||12;
}
return time.join ('');
};
jQuery.ptTimeSelect.convertFromAMPM=function(time){
var hours=Number(time.match(/^(\d+)/)[1]);
var minutes=Number(time.match(/:(\d+)/)[1]);
var AMPM=time.match(/\s(.*)$/)[1];
if(AMPM=="PM"&&hours<12) hours=hours+12;
if(AMPM=="AM"&&hours==12) hours=hours-12;
var sHours=hours.toString();
var sMinutes=minutes.toString();
if(hours<10) sHours="0" + sHours;
if(minutes<10) sMinutes="0" + sMinutes;
return sHours + ":" + sMinutes;
};
jQuery.ptTimeSelect.openCntr=function (ele){
jQuery.ptTimeSelect.closeCntr();
jQuery(".isPtTimeSelectActive").removeClass("isPtTimeSelectActive");
var cntr=jQuery("#ptTimeSelectCntr");
var i=jQuery(ele).eq(0).addClass("isPtTimeSelectActive");
var opt=i.data("ptTimeSelectOptions");
var style=i.offset();
var time='';
style['z-index']=opt.zIndex;
style.top=(style.top + i.outerHeight());
if(opt.containerWidth){
style.width=opt.containerWidth;
}
if(opt.containerClass){
cntr.addClass(opt.containerClass);
}
cntr.css(style);
if(i.attr('type')=='time'){
time=jQuery.ptTimeSelect.convertFrom24(i.val());
}else{
time=i.val();
}
var hr=1;
var min='00';
var tm='AM';
if(time){
var re=/([0-9]{1,2}).*:.*([0-9]{2}).*(PM|AM)/i;
var match=re.exec(time);
if(match){
hr=match[1]||1;
min=match[2]||'00';
tm=match[3]||'AM';
}}
cntr.find("#ptTimeSelectUserSelHr").empty().append(hr);
cntr.find("#ptTimeSelectUserSelMin").empty().append(min);
cntr.find("#ptTimeSelectUserSelAmPm").empty().append(tm);
cntr.find(".ptTimeSelectTimeLabelsCntr .ptTimeSelectLeftPane")
.empty().append(opt.hoursLabel);
cntr.find(".ptTimeSelectTimeLabelsCntr .ptTimeSelectRightPane")
.empty().append(opt.minutesLabel);
cntr.find("#ptTimeSelectSetButton a").empty().append(opt.setButtonLabel);
if(opt.onBeforeShow){
opt.onBeforeShow(i, cntr);
}
cntr.slideDown("fast");
};
jQuery.ptTimeSelect.closeCntr=function(i){
var e=$("#ptTimeSelectCntr");
if(e.is(":visible")==true){
if(jQuery.support.tbody==false){
if(!(e[0].offsetWidth > 0)&&!(e[0].offsetHeight > 0)){
return;
}}
jQuery('#ptTimeSelectCntr')
.css("display", "none")
.removeClass()
.css("width", "");
if(!i){
i=$(".isPtTimeSelectActive");
}
if(i){
var opt=i.removeClass("isPtTimeSelectActive")
.data("ptTimeSelectOptions");
if(opt&&opt.onClose){
opt.onClose(i);
}}
}
return;
};
jQuery.ptTimeSelect._doCheckMouseClick=function(ev){
if(!$("#ptTimeSelectCntr:visible").length){
return;
}
if(!jQuery(ev.target).closest("#ptTimeSelectCntr").length
&& jQuery(ev.target).not("input.isPtTimeSelectActive").length){
jQuery.ptTimeSelect.closeCntr();
}};
jQuery.fn.ptTimeSelect=function (opt){
return this.each(function(){
if(this.nodeName.toLowerCase()!='input') return;
var e=jQuery(this);
if(e.hasClass('hasPtTimeSelect')){
return this;
}
var thisOpt={};
thisOpt=$.extend(thisOpt, jQuery.ptTimeSelect.options, opt);
e.addClass('hasPtTimeSelect').data("ptTimeSelectOptions", thisOpt);
if(thisOpt.popupImage||!thisOpt.onFocusDisplay){
var img=jQuery('<span>&nbsp;</span><a href="javascript:" onclick="' +
'jQuery.ptTimeSelect.openCntr(jQuery(this).data(\'ptTimeSelectEle\'));">' +
thisOpt.popupImage + '</a>'
)
.data("ptTimeSelectEle", e);
e.after(img);
}
if(thisOpt.onFocusDisplay){
e.focus(function(){
jQuery.ptTimeSelect.openCntr(this);
});
}
return this;
});
};})(jQuery);
!function(i){"use strict";"function"==typeof define&&define.amd?define(["jquery"],i):"undefined"!=typeof exports?module.exports=i(require("jquery")):i(jQuery)}(function(i){"use strict";var e=window.Slick||{};(e=function(){var e=0;return function(t,o){var s,n=this;n.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:i(t),appendDots:i(t),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,t){return i('<button type="button" />').text(t+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},n.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},i.extend(n,n.initials),n.activeBreakpoint=null,n.animType=null,n.animProp=null,n.breakpoints=[],n.breakpointSettings=[],n.cssTransitions=!1,n.focussed=!1,n.interrupted=!1,n.hidden="hidden",n.paused=!0,n.positionProp=null,n.respondTo=null,n.rowCount=1,n.shouldClick=!0,n.$slider=i(t),n.$slidesCache=null,n.transformType=null,n.transitionType=null,n.visibilityChange="visibilitychange",n.windowWidth=0,n.windowTimer=null,s=i(t).data("slick")||{},n.options=i.extend({},n.defaults,o,s),n.currentSlide=n.options.initialSlide,n.originalSettings=n.options,void 0!==document.mozHidden?(n.hidden="mozHidden",n.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(n.hidden="webkitHidden",n.visibilityChange="webkitvisibilitychange"),n.autoPlay=i.proxy(n.autoPlay,n),n.autoPlayClear=i.proxy(n.autoPlayClear,n),n.autoPlayIterator=i.proxy(n.autoPlayIterator,n),n.changeSlide=i.proxy(n.changeSlide,n),n.clickHandler=i.proxy(n.clickHandler,n),n.selectHandler=i.proxy(n.selectHandler,n),n.setPosition=i.proxy(n.setPosition,n),n.swipeHandler=i.proxy(n.swipeHandler,n),n.dragHandler=i.proxy(n.dragHandler,n),n.keyHandler=i.proxy(n.keyHandler,n),n.instanceUid=e++,n.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,n.registerBreakpoints(),n.init(!0)}}()).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},e.prototype.addSlide=e.prototype.slickAdd=function(e,t,o){var s=this;if("boolean"==typeof t)o=t,t=null;else if(t<0||t>=s.slideCount)return!1;s.unload(),"number"==typeof t?0===t&&0===s.$slides.length?i(e).appendTo(s.$slideTrack):o?i(e).insertBefore(s.$slides.eq(t)):i(e).insertAfter(s.$slides.eq(t)):!0===o?i(e).prependTo(s.$slideTrack):i(e).appendTo(s.$slideTrack),s.$slides=s.$slideTrack.children(this.options.slide),s.$slideTrack.children(this.options.slide).detach(),s.$slideTrack.append(s.$slides),s.$slides.each(function(e,t){i(t).attr("data-slick-index",e)}),s.$slidesCache=s.$slides,s.reinit()},e.prototype.animateHeight=function(){var i=this;if(1===i.options.slidesToShow&&!0===i.options.adaptiveHeight&&!1===i.options.vertical){var e=i.$slides.eq(i.currentSlide).outerHeight(!0);i.$list.animate({height:e},i.options.speed)}},e.prototype.animateSlide=function(e,t){var o={},s=this;s.animateHeight(),!0===s.options.rtl&&!1===s.options.vertical&&(e=-e),!1===s.transformsEnabled?!1===s.options.vertical?s.$slideTrack.animate({left:e},s.options.speed,s.options.easing,t):s.$slideTrack.animate({top:e},s.options.speed,s.options.easing,t):!1===s.cssTransitions?(!0===s.options.rtl&&(s.currentLeft=-s.currentLeft),i({animStart:s.currentLeft}).animate({animStart:e},{duration:s.options.speed,easing:s.options.easing,step:function(i){i=Math.ceil(i),!1===s.options.vertical?(o[s.animType]="translate("+i+"px, 0px)",s.$slideTrack.css(o)):(o[s.animType]="translate(0px,"+i+"px)",s.$slideTrack.css(o))},complete:function(){t&&t.call()}})):(s.applyTransition(),e=Math.ceil(e),!1===s.options.vertical?o[s.animType]="translate3d("+e+"px, 0px, 0px)":o[s.animType]="translate3d(0px,"+e+"px, 0px)",s.$slideTrack.css(o),t&&setTimeout(function(){s.disableTransition(),t.call()},s.options.speed))},e.prototype.getNavTarget=function(){var e=this,t=e.options.asNavFor;return t&&null!==t&&(t=i(t).not(e.$slider)),t},e.prototype.asNavFor=function(e){var t=this.getNavTarget();null!==t&&"object"==typeof t&&t.each(function(){var t=i(this).slick("getSlick");t.unslicked||t.slideHandler(e,!0)})},e.prototype.applyTransition=function(i){var e=this,t={};!1===e.options.fade?t[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:t[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,!1===e.options.fade?e.$slideTrack.css(t):e.$slides.eq(i).css(t)},e.prototype.autoPlay=function(){var i=this;i.autoPlayClear(),i.slideCount>i.options.slidesToShow&&(i.autoPlayTimer=setInterval(i.autoPlayIterator,i.options.autoplaySpeed))},e.prototype.autoPlayClear=function(){var i=this;i.autoPlayTimer&&clearInterval(i.autoPlayTimer)},e.prototype.autoPlayIterator=function(){var i=this,e=i.currentSlide+i.options.slidesToScroll;i.paused||i.interrupted||i.focussed||(!1===i.options.infinite&&(1===i.direction&&i.currentSlide+1===i.slideCount-1?i.direction=0:0===i.direction&&(e=i.currentSlide-i.options.slidesToScroll,i.currentSlide-1==0&&(i.direction=1))),i.slideHandler(e))},e.prototype.buildArrows=function(){var e=this;!0===e.options.arrows&&(e.$prevArrow=i(e.options.prevArrow).addClass("slick-arrow"),e.$nextArrow=i(e.options.nextArrow).addClass("slick-arrow"),e.slideCount>e.options.slidesToShow?(e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.prependTo(e.options.appendArrows),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.appendTo(e.options.appendArrows),!0!==e.options.infinite&&e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},e.prototype.buildDots=function(){var e,t,o=this;if(!0===o.options.dots){for(o.$slider.addClass("slick-dotted"),t=i("<ul />").addClass(o.options.dotsClass),e=0;e<=o.getDotCount();e+=1)t.append(i("<li />").append(o.options.customPaging.call(this,o,e)));o.$dots=t.appendTo(o.options.appendDots),o.$dots.find("li").first().addClass("slick-active")}},e.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide"),e.slideCount=e.$slides.length,e.$slides.each(function(e,t){i(t).attr("data-slick-index",e).data("originalStyling",i(t).attr("style")||"")}),e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?i('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent(),e.$list=e.$slideTrack.wrap('<div class="slick-list"/>').parent(),e.$slideTrack.css("opacity",0),!0!==e.options.centerMode&&!0!==e.options.swipeToSlide||(e.options.slidesToScroll=1),i("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),!0===e.options.draggable&&e.$list.addClass("draggable")},e.prototype.buildRows=function(){var i,e,t,o,s,n,r,l=this;if(o=document.createDocumentFragment(),n=l.$slider.children(),l.options.rows>1){for(r=l.options.slidesPerRow*l.options.rows,s=Math.ceil(n.length/r),i=0;i<s;i++){var d=document.createElement("div");for(e=0;e<l.options.rows;e++){var a=document.createElement("div");for(t=0;t<l.options.slidesPerRow;t++){var c=i*r+(e*l.options.slidesPerRow+t);n.get(c)&&a.appendChild(n.get(c))}d.appendChild(a)}o.appendChild(d)}l.$slider.empty().append(o),l.$slider.children().children().children().css({width:100/l.options.slidesPerRow+"%",display:"inline-block"})}},e.prototype.checkResponsive=function(e,t){var o,s,n,r=this,l=!1,d=r.$slider.width(),a=window.innerWidth||i(window).width();if("window"===r.respondTo?n=a:"slider"===r.respondTo?n=d:"min"===r.respondTo&&(n=Math.min(a,d)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){s=null;for(o in r.breakpoints)r.breakpoints.hasOwnProperty(o)&&(!1===r.originalSettings.mobileFirst?n<r.breakpoints[o]&&(s=r.breakpoints[o]):n>r.breakpoints[o]&&(s=r.breakpoints[o]));null!==s?null!==r.activeBreakpoint?(s!==r.activeBreakpoint||t)&&(r.activeBreakpoint=s,"unslick"===r.breakpointSettings[s]?r.unslick(s):(r.options=i.extend({},r.originalSettings,r.breakpointSettings[s]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),l=s):(r.activeBreakpoint=s,"unslick"===r.breakpointSettings[s]?r.unslick(s):(r.options=i.extend({},r.originalSettings,r.breakpointSettings[s]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),l=s):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e),l=s),e||!1===l||r.$slider.trigger("breakpoint",[r,l])}},e.prototype.changeSlide=function(e,t){var o,s,n,r=this,l=i(e.currentTarget);switch(l.is("a")&&e.preventDefault(),l.is("li")||(l=l.closest("li")),n=r.slideCount%r.options.slidesToScroll!=0,o=n?0:(r.slideCount-r.currentSlide)%r.options.slidesToScroll,e.data.message){case"previous":s=0===o?r.options.slidesToScroll:r.options.slidesToShow-o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide-s,!1,t);break;case"next":s=0===o?r.options.slidesToScroll:o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide+s,!1,t);break;case"index":var d=0===e.data.index?0:e.data.index||l.index()*r.options.slidesToScroll;r.slideHandler(r.checkNavigable(d),!1,t),l.children().trigger("focus");break;default:return}},e.prototype.checkNavigable=function(i){var e,t;if(e=this.getNavigableIndexes(),t=0,i>e[e.length-1])i=e[e.length-1];else for(var o in e){if(i<e[o]){i=t;break}t=e[o]}return i},e.prototype.cleanUpEvents=function(){var e=this;e.options.dots&&null!==e.$dots&&(i("li",e.$dots).off("click.slick",e.changeSlide).off("mouseenter.slick",i.proxy(e.interrupt,e,!0)).off("mouseleave.slick",i.proxy(e.interrupt,e,!1)),!0===e.options.accessibility&&e.$dots.off("keydown.slick",e.keyHandler)),e.$slider.off("focus.slick blur.slick"),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide),!0===e.options.accessibility&&(e.$prevArrow&&e.$prevArrow.off("keydown.slick",e.keyHandler),e.$nextArrow&&e.$nextArrow.off("keydown.slick",e.keyHandler))),e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler),e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler),e.$list.off("touchend.slick mouseup.slick",e.swipeHandler),e.$list.off("touchcancel.slick mouseleave.slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),i(document).off(e.visibilityChange,e.visibility),e.cleanUpSlideEvents(),!0===e.options.accessibility&&e.$list.off("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&i(e.$slideTrack).children().off("click.slick",e.selectHandler),i(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange),i(window).off("resize.slick.slick-"+e.instanceUid,e.resize),i("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault),i(window).off("load.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.cleanUpSlideEvents=function(){var e=this;e.$list.off("mouseenter.slick",i.proxy(e.interrupt,e,!0)),e.$list.off("mouseleave.slick",i.proxy(e.interrupt,e,!1))},e.prototype.cleanUpRows=function(){var i,e=this;e.options.rows>1&&((i=e.$slides.children().children()).removeAttr("style"),e.$slider.empty().append(i))},e.prototype.clickHandler=function(i){!1===this.shouldClick&&(i.stopImmediatePropagation(),i.stopPropagation(),i.preventDefault())},e.prototype.destroy=function(e){var t=this;t.autoPlayClear(),t.touchObject={},t.cleanUpEvents(),i(".slick-cloned",t.$slider).detach(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.$prevArrow.length&&(t.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove()),t.$nextArrow&&t.$nextArrow.length&&(t.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove()),t.$slides&&(t.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){i(this).attr("style",i(this).data("originalStyling"))}),t.$slideTrack.children(this.options.slide).detach(),t.$slideTrack.detach(),t.$list.detach(),t.$slider.append(t.$slides)),t.cleanUpRows(),t.$slider.removeClass("slick-slider"),t.$slider.removeClass("slick-initialized"),t.$slider.removeClass("slick-dotted"),t.unslicked=!0,e||t.$slider.trigger("destroy",[t])},e.prototype.disableTransition=function(i){var e=this,t={};t[e.transitionType]="",!1===e.options.fade?e.$slideTrack.css(t):e.$slides.eq(i).css(t)},e.prototype.fadeSlide=function(i,e){var t=this;!1===t.cssTransitions?(t.$slides.eq(i).css({zIndex:t.options.zIndex}),t.$slides.eq(i).animate({opacity:1},t.options.speed,t.options.easing,e)):(t.applyTransition(i),t.$slides.eq(i).css({opacity:1,zIndex:t.options.zIndex}),e&&setTimeout(function(){t.disableTransition(i),e.call()},t.options.speed))},e.prototype.fadeSlideOut=function(i){var e=this;!1===e.cssTransitions?e.$slides.eq(i).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing):(e.applyTransition(i),e.$slides.eq(i).css({opacity:0,zIndex:e.options.zIndex-2}))},e.prototype.filterSlides=e.prototype.slickFilter=function(i){var e=this;null!==i&&(e.$slidesCache=e.$slides,e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(i).appendTo(e.$slideTrack),e.reinit())},e.prototype.focusHandler=function(){var e=this;e.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",function(t){t.stopImmediatePropagation();var o=i(this);setTimeout(function(){e.options.pauseOnFocus&&(e.focussed=o.is(":focus"),e.autoPlay())},0)})},e.prototype.getCurrent=e.prototype.slickCurrentSlide=function(){return this.currentSlide},e.prototype.getDotCount=function(){var i=this,e=0,t=0,o=0;if(!0===i.options.infinite)if(i.slideCount<=i.options.slidesToShow)++o;else for(;e<i.slideCount;)++o,e=t+i.options.slidesToScroll,t+=i.options.slidesToScroll<=i.options.slidesToShow?i.options.slidesToScroll:i.options.slidesToShow;else if(!0===i.options.centerMode)o=i.slideCount;else if(i.options.asNavFor)for(;e<i.slideCount;)++o,e=t+i.options.slidesToScroll,t+=i.options.slidesToScroll<=i.options.slidesToShow?i.options.slidesToScroll:i.options.slidesToShow;else o=1+Math.ceil((i.slideCount-i.options.slidesToShow)/i.options.slidesToScroll);return o-1},e.prototype.getLeft=function(i){var e,t,o,s,n=this,r=0;return n.slideOffset=0,t=n.$slides.first().outerHeight(!0),!0===n.options.infinite?(n.slideCount>n.options.slidesToShow&&(n.slideOffset=n.slideWidth*n.options.slidesToShow*-1,s=-1,!0===n.options.vertical&&!0===n.options.centerMode&&(2===n.options.slidesToShow?s=-1.5:1===n.options.slidesToShow&&(s=-2)),r=t*n.options.slidesToShow*s),n.slideCount%n.options.slidesToScroll!=0&&i+n.options.slidesToScroll>n.slideCount&&n.slideCount>n.options.slidesToShow&&(i>n.slideCount?(n.slideOffset=(n.options.slidesToShow-(i-n.slideCount))*n.slideWidth*-1,r=(n.options.slidesToShow-(i-n.slideCount))*t*-1):(n.slideOffset=n.slideCount%n.options.slidesToScroll*n.slideWidth*-1,r=n.slideCount%n.options.slidesToScroll*t*-1))):i+n.options.slidesToShow>n.slideCount&&(n.slideOffset=(i+n.options.slidesToShow-n.slideCount)*n.slideWidth,r=(i+n.options.slidesToShow-n.slideCount)*t),n.slideCount<=n.options.slidesToShow&&(n.slideOffset=0,r=0),!0===n.options.centerMode&&n.slideCount<=n.options.slidesToShow?n.slideOffset=n.slideWidth*Math.floor(n.options.slidesToShow)/2-n.slideWidth*n.slideCount/2:!0===n.options.centerMode&&!0===n.options.infinite?n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)-n.slideWidth:!0===n.options.centerMode&&(n.slideOffset=0,n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)),e=!1===n.options.vertical?i*n.slideWidth*-1+n.slideOffset:i*t*-1+r,!0===n.options.variableWidth&&(o=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(i):n.$slideTrack.children(".slick-slide").eq(i+n.options.slidesToShow),e=!0===n.options.rtl?o[0]?-1*(n.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,!0===n.options.centerMode&&(o=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(i):n.$slideTrack.children(".slick-slide").eq(i+n.options.slidesToShow+1),e=!0===n.options.rtl?o[0]?-1*(n.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,e+=(n.$list.width()-o.outerWidth())/2)),e},e.prototype.getOption=e.prototype.slickGetOption=function(i){return this.options[i]},e.prototype.getNavigableIndexes=function(){var i,e=this,t=0,o=0,s=[];for(!1===e.options.infinite?i=e.slideCount:(t=-1*e.options.slidesToScroll,o=-1*e.options.slidesToScroll,i=2*e.slideCount);t<i;)s.push(t),t=o+e.options.slidesToScroll,o+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return s},e.prototype.getSlick=function(){return this},e.prototype.getSlideCount=function(){var e,t,o=this;return t=!0===o.options.centerMode?o.slideWidth*Math.floor(o.options.slidesToShow/2):0,!0===o.options.swipeToSlide?(o.$slideTrack.find(".slick-slide").each(function(s,n){if(n.offsetLeft-t+i(n).outerWidth()/2>-1*o.swipeLeft)return e=n,!1}),Math.abs(i(e).attr("data-slick-index")-o.currentSlide)||1):o.options.slidesToScroll},e.prototype.goTo=e.prototype.slickGoTo=function(i,e){this.changeSlide({data:{message:"index",index:parseInt(i)}},e)},e.prototype.init=function(e){var t=this;i(t.$slider).hasClass("slick-initialized")||(i(t.$slider).addClass("slick-initialized"),t.buildRows(),t.buildOut(),t.setProps(),t.startLoad(),t.loadSlider(),t.initializeEvents(),t.updateArrows(),t.updateDots(),t.checkResponsive(!0),t.focusHandler()),e&&t.$slider.trigger("init",[t]),!0===t.options.accessibility&&t.initADA(),t.options.autoplay&&(t.paused=!1,t.autoPlay())},e.prototype.initADA=function(){var e=this,t=Math.ceil(e.slideCount/e.options.slidesToShow),o=e.getNavigableIndexes().filter(function(i){return i>=0&&i<e.slideCount});e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==e.$dots&&(e.$slides.not(e.$slideTrack.find(".slick-cloned")).each(function(t){var s=o.indexOf(t);i(this).attr({role:"tabpanel",id:"slick-slide"+e.instanceUid+t,tabindex:-1}),-1!==s&&i(this).attr({"aria-describedby":"slick-slide-control"+e.instanceUid+s})}),e.$dots.attr("role","tablist").find("li").each(function(s){var n=o[s];i(this).attr({role:"presentation"}),i(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+e.instanceUid+s,"aria-controls":"slick-slide"+e.instanceUid+n,"aria-label":s+1+" of "+t,"aria-selected":null,tabindex:"-1"})}).eq(e.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var s=e.currentSlide,n=s+e.options.slidesToShow;s<n;s++)e.$slides.eq(s).attr("tabindex",0);e.activateADA()},e.prototype.initArrowEvents=function(){var i=this;!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},i.changeSlide),i.$nextArrow.off("click.slick").on("click.slick",{message:"next"},i.changeSlide),!0===i.options.accessibility&&(i.$prevArrow.on("keydown.slick",i.keyHandler),i.$nextArrow.on("keydown.slick",i.keyHandler)))},e.prototype.initDotEvents=function(){var e=this;!0===e.options.dots&&(i("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),!0===e.options.accessibility&&e.$dots.on("keydown.slick",e.keyHandler)),!0===e.options.dots&&!0===e.options.pauseOnDotsHover&&i("li",e.$dots).on("mouseenter.slick",i.proxy(e.interrupt,e,!0)).on("mouseleave.slick",i.proxy(e.interrupt,e,!1))},e.prototype.initSlideEvents=function(){var e=this;e.options.pauseOnHover&&(e.$list.on("mouseenter.slick",i.proxy(e.interrupt,e,!0)),e.$list.on("mouseleave.slick",i.proxy(e.interrupt,e,!1)))},e.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.initSlideEvents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"},e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),i(document).on(e.visibilityChange,i.proxy(e.visibility,e)),!0===e.options.accessibility&&e.$list.on("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&i(e.$slideTrack).children().on("click.slick",e.selectHandler),i(window).on("orientationchange.slick.slick-"+e.instanceUid,i.proxy(e.orientationChange,e)),i(window).on("resize.slick.slick-"+e.instanceUid,i.proxy(e.resize,e)),i("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault),i(window).on("load.slick.slick-"+e.instanceUid,e.setPosition),i(e.setPosition)},e.prototype.initUI=function(){var i=this;!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.show(),i.$nextArrow.show()),!0===i.options.dots&&i.slideCount>i.options.slidesToShow&&i.$dots.show()},e.prototype.keyHandler=function(i){var e=this;i.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===i.keyCode&&!0===e.options.accessibility?e.changeSlide({data:{message:!0===e.options.rtl?"next":"previous"}}):39===i.keyCode&&!0===e.options.accessibility&&e.changeSlide({data:{message:!0===e.options.rtl?"previous":"next"}}))},e.prototype.lazyLoad=function(){function e(e){i("img[data-lazy]",e).each(function(){var e=i(this),t=i(this).attr("data-lazy"),o=i(this).attr("data-srcset"),s=i(this).attr("data-sizes")||n.$slider.attr("data-sizes"),r=document.createElement("img");r.onload=function(){e.animate({opacity:0},100,function(){o&&(e.attr("srcset",o),s&&e.attr("sizes",s)),e.attr("src",t).animate({opacity:1},200,function(){e.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}),n.$slider.trigger("lazyLoaded",[n,e,t])})},r.onerror=function(){e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),n.$slider.trigger("lazyLoadError",[n,e,t])},r.src=t})}var t,o,s,n=this;if(!0===n.options.centerMode?!0===n.options.infinite?s=(o=n.currentSlide+(n.options.slidesToShow/2+1))+n.options.slidesToShow+2:(o=Math.max(0,n.currentSlide-(n.options.slidesToShow/2+1)),s=n.options.slidesToShow/2+1+2+n.currentSlide):(o=n.options.infinite?n.options.slidesToShow+n.currentSlide:n.currentSlide,s=Math.ceil(o+n.options.slidesToShow),!0===n.options.fade&&(o>0&&o--,s<=n.slideCount&&s++)),t=n.$slider.find(".slick-slide").slice(o,s),"anticipated"===n.options.lazyLoad)for(var r=o-1,l=s,d=n.$slider.find(".slick-slide"),a=0;a<n.options.slidesToScroll;a++)r<0&&(r=n.slideCount-1),t=(t=t.add(d.eq(r))).add(d.eq(l)),r--,l++;e(t),n.slideCount<=n.options.slidesToShow?e(n.$slider.find(".slick-slide")):n.currentSlide>=n.slideCount-n.options.slidesToShow?e(n.$slider.find(".slick-cloned").slice(0,n.options.slidesToShow)):0===n.currentSlide&&e(n.$slider.find(".slick-cloned").slice(-1*n.options.slidesToShow))},e.prototype.loadSlider=function(){var i=this;i.setPosition(),i.$slideTrack.css({opacity:1}),i.$slider.removeClass("slick-loading"),i.initUI(),"progressive"===i.options.lazyLoad&&i.progressiveLazyLoad()},e.prototype.next=e.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},e.prototype.orientationChange=function(){var i=this;i.checkResponsive(),i.setPosition()},e.prototype.pause=e.prototype.slickPause=function(){var i=this;i.autoPlayClear(),i.paused=!0},e.prototype.play=e.prototype.slickPlay=function(){var i=this;i.autoPlay(),i.options.autoplay=!0,i.paused=!1,i.focussed=!1,i.interrupted=!1},e.prototype.postSlide=function(e){var t=this;t.unslicked||(t.$slider.trigger("afterChange",[t,e]),t.animating=!1,t.slideCount>t.options.slidesToShow&&t.setPosition(),t.swipeLeft=null,t.options.autoplay&&t.autoPlay(),!0===t.options.accessibility&&(t.initADA(),t.options.focusOnChange&&i(t.$slides.get(t.currentSlide)).attr("tabindex",0).focus()))},e.prototype.prev=e.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},e.prototype.preventDefault=function(i){i.preventDefault()},e.prototype.progressiveLazyLoad=function(e){e=e||1;var t,o,s,n,r,l=this,d=i("img[data-lazy]",l.$slider);d.length?(t=d.first(),o=t.attr("data-lazy"),s=t.attr("data-srcset"),n=t.attr("data-sizes")||l.$slider.attr("data-sizes"),(r=document.createElement("img")).onload=function(){s&&(t.attr("srcset",s),n&&t.attr("sizes",n)),t.attr("src",o).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===l.options.adaptiveHeight&&l.setPosition(),l.$slider.trigger("lazyLoaded",[l,t,o]),l.progressiveLazyLoad()},r.onerror=function(){e<3?setTimeout(function(){l.progressiveLazyLoad(e+1)},500):(t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),l.$slider.trigger("lazyLoadError",[l,t,o]),l.progressiveLazyLoad())},r.src=o):l.$slider.trigger("allImagesLoaded",[l])},e.prototype.refresh=function(e){var t,o,s=this;o=s.slideCount-s.options.slidesToShow,!s.options.infinite&&s.currentSlide>o&&(s.currentSlide=o),s.slideCount<=s.options.slidesToShow&&(s.currentSlide=0),t=s.currentSlide,s.destroy(!0),i.extend(s,s.initials,{currentSlide:t}),s.init(),e||s.changeSlide({data:{message:"index",index:t}},!1)},e.prototype.registerBreakpoints=function(){var e,t,o,s=this,n=s.options.responsive||null;if("array"===i.type(n)&&n.length){s.respondTo=s.options.respondTo||"window";for(e in n)if(o=s.breakpoints.length-1,n.hasOwnProperty(e)){for(t=n[e].breakpoint;o>=0;)s.breakpoints[o]&&s.breakpoints[o]===t&&s.breakpoints.splice(o,1),o--;s.breakpoints.push(t),s.breakpointSettings[t]=n[e].settings}s.breakpoints.sort(function(i,e){return s.options.mobileFirst?i-e:e-i})}},e.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.registerBreakpoints(),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),e.cleanUpSlideEvents(),e.initSlideEvents(),e.checkResponsive(!1,!0),!0===e.options.focusOnSelect&&i(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.setPosition(),e.focusHandler(),e.paused=!e.options.autoplay,e.autoPlay(),e.$slider.trigger("reInit",[e])},e.prototype.resize=function(){var e=this;i(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout(function(){e.windowWidth=i(window).width(),e.checkResponsive(),e.unslicked||e.setPosition()},50))},e.prototype.removeSlide=e.prototype.slickRemove=function(i,e,t){var o=this;if(i="boolean"==typeof i?!0===(e=i)?0:o.slideCount-1:!0===e?--i:i,o.slideCount<1||i<0||i>o.slideCount-1)return!1;o.unload(),!0===t?o.$slideTrack.children().remove():o.$slideTrack.children(this.options.slide).eq(i).remove(),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slidesCache=o.$slides,o.reinit()},e.prototype.setCSS=function(i){var e,t,o=this,s={};!0===o.options.rtl&&(i=-i),e="left"==o.positionProp?Math.ceil(i)+"px":"0px",t="top"==o.positionProp?Math.ceil(i)+"px":"0px",s[o.positionProp]=i,!1===o.transformsEnabled?o.$slideTrack.css(s):(s={},!1===o.cssTransitions?(s[o.animType]="translate("+e+", "+t+")",o.$slideTrack.css(s)):(s[o.animType]="translate3d("+e+", "+t+", 0px)",o.$slideTrack.css(s)))},e.prototype.setDimensions=function(){var i=this;!1===i.options.vertical?!0===i.options.centerMode&&i.$list.css({padding:"0px "+i.options.centerPadding}):(i.$list.height(i.$slides.first().outerHeight(!0)*i.options.slidesToShow),!0===i.options.centerMode&&i.$list.css({padding:i.options.centerPadding+" 0px"})),i.listWidth=i.$list.width(),i.listHeight=i.$list.height(),!1===i.options.vertical&&!1===i.options.variableWidth?(i.slideWidth=Math.ceil(i.listWidth/i.options.slidesToShow),i.$slideTrack.width(Math.ceil(i.slideWidth*i.$slideTrack.children(".slick-slide").length))):!0===i.options.variableWidth?i.$slideTrack.width(5e3*i.slideCount):(i.slideWidth=Math.ceil(i.listWidth),i.$slideTrack.height(Math.ceil(i.$slides.first().outerHeight(!0)*i.$slideTrack.children(".slick-slide").length)));var e=i.$slides.first().outerWidth(!0)-i.$slides.first().width();!1===i.options.variableWidth&&i.$slideTrack.children(".slick-slide").width(i.slideWidth-e)},e.prototype.setFade=function(){var e,t=this;t.$slides.each(function(o,s){e=t.slideWidth*o*-1,!0===t.options.rtl?i(s).css({position:"relative",right:e,top:0,zIndex:t.options.zIndex-2,opacity:0}):i(s).css({position:"relative",left:e,top:0,zIndex:t.options.zIndex-2,opacity:0})}),t.$slides.eq(t.currentSlide).css({zIndex:t.options.zIndex-1,opacity:1})},e.prototype.setHeight=function(){var i=this;if(1===i.options.slidesToShow&&!0===i.options.adaptiveHeight&&!1===i.options.vertical){var e=i.$slides.eq(i.currentSlide).outerHeight(!0);i.$list.css("height",e)}},e.prototype.setOption=e.prototype.slickSetOption=function(){var e,t,o,s,n,r=this,l=!1;if("object"===i.type(arguments[0])?(o=arguments[0],l=arguments[1],n="multiple"):"string"===i.type(arguments[0])&&(o=arguments[0],s=arguments[1],l=arguments[2],"responsive"===arguments[0]&&"array"===i.type(arguments[1])?n="responsive":void 0!==arguments[1]&&(n="single")),"single"===n)r.options[o]=s;else if("multiple"===n)i.each(o,function(i,e){r.options[i]=e});else if("responsive"===n)for(t in s)if("array"!==i.type(r.options.responsive))r.options.responsive=[s[t]];else{for(e=r.options.responsive.length-1;e>=0;)r.options.responsive[e].breakpoint===s[t].breakpoint&&r.options.responsive.splice(e,1),e--;r.options.responsive.push(s[t])}l&&(r.unload(),r.reinit())},e.prototype.setPosition=function(){var i=this;i.setDimensions(),i.setHeight(),!1===i.options.fade?i.setCSS(i.getLeft(i.currentSlide)):i.setFade(),i.$slider.trigger("setPosition",[i])},e.prototype.setProps=function(){var i=this,e=document.body.style;i.positionProp=!0===i.options.vertical?"top":"left","top"===i.positionProp?i.$slider.addClass("slick-vertical"):i.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||!0===i.options.useCSS&&(i.cssTransitions=!0),i.options.fade&&("number"==typeof i.options.zIndex?i.options.zIndex<3&&(i.options.zIndex=3):i.options.zIndex=i.defaults.zIndex),void 0!==e.OTransform&&(i.animType="OTransform",i.transformType="-o-transform",i.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(i.animType=!1)),void 0!==e.MozTransform&&(i.animType="MozTransform",i.transformType="-moz-transform",i.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(i.animType=!1)),void 0!==e.webkitTransform&&(i.animType="webkitTransform",i.transformType="-webkit-transform",i.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(i.animType=!1)),void 0!==e.msTransform&&(i.animType="msTransform",i.transformType="-ms-transform",i.transitionType="msTransition",void 0===e.msTransform&&(i.animType=!1)),void 0!==e.transform&&!1!==i.animType&&(i.animType="transform",i.transformType="transform",i.transitionType="transition"),i.transformsEnabled=i.options.useTransform&&null!==i.animType&&!1!==i.animType},e.prototype.setSlideClasses=function(i){var e,t,o,s,n=this;if(t=n.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),n.$slides.eq(i).addClass("slick-current"),!0===n.options.centerMode){var r=n.options.slidesToShow%2==0?1:0;e=Math.floor(n.options.slidesToShow/2),!0===n.options.infinite&&(i>=e&&i<=n.slideCount-1-e?n.$slides.slice(i-e+r,i+e+1).addClass("slick-active").attr("aria-hidden","false"):(o=n.options.slidesToShow+i,t.slice(o-e+1+r,o+e+2).addClass("slick-active").attr("aria-hidden","false")),0===i?t.eq(t.length-1-n.options.slidesToShow).addClass("slick-center"):i===n.slideCount-1&&t.eq(n.options.slidesToShow).addClass("slick-center")),n.$slides.eq(i).addClass("slick-center")}else i>=0&&i<=n.slideCount-n.options.slidesToShow?n.$slides.slice(i,i+n.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):t.length<=n.options.slidesToShow?t.addClass("slick-active").attr("aria-hidden","false"):(s=n.slideCount%n.options.slidesToShow,o=!0===n.options.infinite?n.options.slidesToShow+i:i,n.options.slidesToShow==n.options.slidesToScroll&&n.slideCount-i<n.options.slidesToShow?t.slice(o-(n.options.slidesToShow-s),o+s).addClass("slick-active").attr("aria-hidden","false"):t.slice(o,o+n.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==n.options.lazyLoad&&"anticipated"!==n.options.lazyLoad||n.lazyLoad()},e.prototype.setupInfinite=function(){var e,t,o,s=this;if(!0===s.options.fade&&(s.options.centerMode=!1),!0===s.options.infinite&&!1===s.options.fade&&(t=null,s.slideCount>s.options.slidesToShow)){for(o=!0===s.options.centerMode?s.options.slidesToShow+1:s.options.slidesToShow,e=s.slideCount;e>s.slideCount-o;e-=1)t=e-1,i(s.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t-s.slideCount).prependTo(s.$slideTrack).addClass("slick-cloned");for(e=0;e<o+s.slideCount;e+=1)t=e,i(s.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t+s.slideCount).appendTo(s.$slideTrack).addClass("slick-cloned");s.$slideTrack.find(".slick-cloned").find("[id]").each(function(){i(this).attr("id","")})}},e.prototype.interrupt=function(i){var e=this;i||e.autoPlay(),e.interrupted=i},e.prototype.selectHandler=function(e){var t=this,o=i(e.target).is(".slick-slide")?i(e.target):i(e.target).parents(".slick-slide"),s=parseInt(o.attr("data-slick-index"));s||(s=0),t.slideCount<=t.options.slidesToShow?t.slideHandler(s,!1,!0):t.slideHandler(s)},e.prototype.slideHandler=function(i,e,t){var o,s,n,r,l,d=null,a=this;if(e=e||!1,!(!0===a.animating&&!0===a.options.waitForAnimate||!0===a.options.fade&&a.currentSlide===i))if(!1===e&&a.asNavFor(i),o=i,d=a.getLeft(o),r=a.getLeft(a.currentSlide),a.currentLeft=null===a.swipeLeft?r:a.swipeLeft,!1===a.options.infinite&&!1===a.options.centerMode&&(i<0||i>a.getDotCount()*a.options.slidesToScroll))!1===a.options.fade&&(o=a.currentSlide,!0!==t?a.animateSlide(r,function(){a.postSlide(o)}):a.postSlide(o));else if(!1===a.options.infinite&&!0===a.options.centerMode&&(i<0||i>a.slideCount-a.options.slidesToScroll))!1===a.options.fade&&(o=a.currentSlide,!0!==t?a.animateSlide(r,function(){a.postSlide(o)}):a.postSlide(o));else{if(a.options.autoplay&&clearInterval(a.autoPlayTimer),s=o<0?a.slideCount%a.options.slidesToScroll!=0?a.slideCount-a.slideCount%a.options.slidesToScroll:a.slideCount+o:o>=a.slideCount?a.slideCount%a.options.slidesToScroll!=0?0:o-a.slideCount:o,a.animating=!0,a.$slider.trigger("beforeChange",[a,a.currentSlide,s]),n=a.currentSlide,a.currentSlide=s,a.setSlideClasses(a.currentSlide),a.options.asNavFor&&(l=(l=a.getNavTarget()).slick("getSlick")).slideCount<=l.options.slidesToShow&&l.setSlideClasses(a.currentSlide),a.updateDots(),a.updateArrows(),!0===a.options.fade)return!0!==t?(a.fadeSlideOut(n),a.fadeSlide(s,function(){a.postSlide(s)})):a.postSlide(s),void a.animateHeight();!0!==t?a.animateSlide(d,function(){a.postSlide(s)}):a.postSlide(s)}},e.prototype.startLoad=function(){var i=this;!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.hide(),i.$nextArrow.hide()),!0===i.options.dots&&i.slideCount>i.options.slidesToShow&&i.$dots.hide(),i.$slider.addClass("slick-loading")},e.prototype.swipeDirection=function(){var i,e,t,o,s=this;return i=s.touchObject.startX-s.touchObject.curX,e=s.touchObject.startY-s.touchObject.curY,t=Math.atan2(e,i),(o=Math.round(180*t/Math.PI))<0&&(o=360-Math.abs(o)),o<=45&&o>=0?!1===s.options.rtl?"left":"right":o<=360&&o>=315?!1===s.options.rtl?"left":"right":o>=135&&o<=225?!1===s.options.rtl?"right":"left":!0===s.options.verticalSwiping?o>=35&&o<=135?"down":"up":"vertical"},e.prototype.swipeEnd=function(i){var e,t,o=this;if(o.dragging=!1,o.swiping=!1,o.scrolling)return o.scrolling=!1,!1;if(o.interrupted=!1,o.shouldClick=!(o.touchObject.swipeLength>10),void 0===o.touchObject.curX)return!1;if(!0===o.touchObject.edgeHit&&o.$slider.trigger("edge",[o,o.swipeDirection()]),o.touchObject.swipeLength>=o.touchObject.minSwipe){switch(t=o.swipeDirection()){case"left":case"down":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide+o.getSlideCount()):o.currentSlide+o.getSlideCount(),o.currentDirection=0;break;case"right":case"up":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide-o.getSlideCount()):o.currentSlide-o.getSlideCount(),o.currentDirection=1}"vertical"!=t&&(o.slideHandler(e),o.touchObject={},o.$slider.trigger("swipe",[o,t]))}else o.touchObject.startX!==o.touchObject.curX&&(o.slideHandler(o.currentSlide),o.touchObject={})},e.prototype.swipeHandler=function(i){var e=this;if(!(!1===e.options.swipe||"ontouchend"in document&&!1===e.options.swipe||!1===e.options.draggable&&-1!==i.type.indexOf("mouse")))switch(e.touchObject.fingerCount=i.originalEvent&&void 0!==i.originalEvent.touches?i.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,!0===e.options.verticalSwiping&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),i.data.action){case"start":e.swipeStart(i);break;case"move":e.swipeMove(i);break;case"end":e.swipeEnd(i)}},e.prototype.swipeMove=function(i){var e,t,o,s,n,r,l=this;return n=void 0!==i.originalEvent?i.originalEvent.touches:null,!(!l.dragging||l.scrolling||n&&1!==n.length)&&(e=l.getLeft(l.currentSlide),l.touchObject.curX=void 0!==n?n[0].pageX:i.clientX,l.touchObject.curY=void 0!==n?n[0].pageY:i.clientY,l.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(l.touchObject.curX-l.touchObject.startX,2))),r=Math.round(Math.sqrt(Math.pow(l.touchObject.curY-l.touchObject.startY,2))),!l.options.verticalSwiping&&!l.swiping&&r>4?(l.scrolling=!0,!1):(!0===l.options.verticalSwiping&&(l.touchObject.swipeLength=r),t=l.swipeDirection(),void 0!==i.originalEvent&&l.touchObject.swipeLength>4&&(l.swiping=!0,i.preventDefault()),s=(!1===l.options.rtl?1:-1)*(l.touchObject.curX>l.touchObject.startX?1:-1),!0===l.options.verticalSwiping&&(s=l.touchObject.curY>l.touchObject.startY?1:-1),o=l.touchObject.swipeLength,l.touchObject.edgeHit=!1,!1===l.options.infinite&&(0===l.currentSlide&&"right"===t||l.currentSlide>=l.getDotCount()&&"left"===t)&&(o=l.touchObject.swipeLength*l.options.edgeFriction,l.touchObject.edgeHit=!0),!1===l.options.vertical?l.swipeLeft=e+o*s:l.swipeLeft=e+o*(l.$list.height()/l.listWidth)*s,!0===l.options.verticalSwiping&&(l.swipeLeft=e+o*s),!0!==l.options.fade&&!1!==l.options.touchMove&&(!0===l.animating?(l.swipeLeft=null,!1):void l.setCSS(l.swipeLeft))))},e.prototype.swipeStart=function(i){var e,t=this;if(t.interrupted=!0,1!==t.touchObject.fingerCount||t.slideCount<=t.options.slidesToShow)return t.touchObject={},!1;void 0!==i.originalEvent&&void 0!==i.originalEvent.touches&&(e=i.originalEvent.touches[0]),t.touchObject.startX=t.touchObject.curX=void 0!==e?e.pageX:i.clientX,t.touchObject.startY=t.touchObject.curY=void 0!==e?e.pageY:i.clientY,t.dragging=!0},e.prototype.unfilterSlides=e.prototype.slickUnfilter=function(){var i=this;null!==i.$slidesCache&&(i.unload(),i.$slideTrack.children(this.options.slide).detach(),i.$slidesCache.appendTo(i.$slideTrack),i.reinit())},e.prototype.unload=function(){var e=this;i(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove(),e.$nextArrow&&e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove(),e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},e.prototype.unslick=function(i){var e=this;e.$slider.trigger("unslick",[e,i]),e.destroy()},e.prototype.updateArrows=function(){var i=this;Math.floor(i.options.slidesToShow/2),!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&!i.options.infinite&&(i.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),i.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===i.currentSlide?(i.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),i.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):i.currentSlide>=i.slideCount-i.options.slidesToShow&&!1===i.options.centerMode?(i.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),i.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):i.currentSlide>=i.slideCount-1&&!0===i.options.centerMode&&(i.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),i.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},e.prototype.updateDots=function(){var i=this;null!==i.$dots&&(i.$dots.find("li").removeClass("slick-active").end(),i.$dots.find("li").eq(Math.floor(i.currentSlide/i.options.slidesToScroll)).addClass("slick-active"))},e.prototype.visibility=function(){var i=this;i.options.autoplay&&(document[i.hidden]?i.interrupted=!0:i.interrupted=!1)},i.fn.slick=function(){var i,t,o=this,s=arguments[0],n=Array.prototype.slice.call(arguments,1),r=o.length;for(i=0;i<r;i++)if("object"==typeof s||void 0===s?o[i].slick=new e(o[i],s):t=o[i].slick[s].apply(o[i].slick,n),void 0!==t)return t;return o}});
(function($){
$.fn.circleType=function(options){
var settings={
dir: 1,
position: 'relative'
};
if(typeof($.fn.lettering)!=='function'){
console.log('Lettering.js is required');
return;
}
return this.each(function (){
if(options){
$.extend(settings, options);
}
var elem=this,
delta=(180 / Math.PI),
ch=parseInt($(elem).css('line-height'), 10),
fs=parseInt($(elem).css('font-size'), 10),
txt=elem.innerHTML.replace(/^\s+|\s+$/g, '').replace(/\s/g, '&nbsp;'),
letters,
center;
elem.innerHTML=txt
$(elem).lettering();
elem.style.position=settings.position;
letters=elem.getElementsByTagName('span');
center=Math.floor(letters.length / 2)
var layout=function (){
var tw=0,
i,
offset=0,
minRadius,
origin,
innerRadius,
l, style, r, transform;
for (i=0; i < letters.length; i++){
tw +=letters[i].offsetWidth;
}
minRadius=(tw / Math.PI) / 2 + ch;
if(settings.fluid&&!settings.fitText){
settings.radius=Math.max(elem.offsetWidth / 2, minRadius);
}
else if(!settings.radius){
settings.radius=minRadius;
}
if(settings.dir===-1){
origin='center ' + (-settings.radius + ch) / fs + 'em';
}else{
origin='center ' + settings.radius / fs + 'em';
}
innerRadius=settings.radius - ch;
for (i=0; i < letters.length; i++){
l=letters[i];
offset +=l.offsetWidth / 2 / innerRadius * delta;
l.rot=offset;
offset +=l.offsetWidth / 2 / innerRadius * delta;
}
for (i=0; i < letters.length; i++){
l=letters[i]
style=l.style
r=(-offset * settings.dir / 2) + l.rot * settings.dir
transform='rotate(' + r + 'deg)';
style.position='absolute';
style.left='50%';
style.marginLeft=-(l.offsetWidth / 2) / fs + 'em';
style.webkitTransform=transform;
style.MozTransform=transform;
style.OTransform=transform;
style.msTransform=transform;
style.transform=transform;
style.webkitTransformOrigin=origin;
style.MozTransformOrigin=origin;
style.OTransformOrigin=origin;
style.msTransformOrigin=origin;
style.transformOrigin=origin;
if(settings.dir===-1){
style.bottom=0;
}}
if(settings.fitText){
if(typeof($.fn.fitText)!=='function'){
console.log('FitText.js is required when using the fitText option');
}else{
$(elem).fitText();
$(window).resize(function (){
updateHeight();
});
}}
updateHeight();
};
var getBounds=function (elem){
var docElem=document.documentElement,
box=elem.getBoundingClientRect();
return {
top: box.top + window.pageYOffset - docElem.clientTop,
left: box.left + window.pageXOffset - docElem.clientLeft,
height: box.height
};};
var updateHeight=function (){
var mid=getBounds(letters[center]),
first=getBounds(letters[0]),
h;
if(mid.top < first.top){
h=first.top - mid.top + first.height;
}else{
h=mid.top - first.top + first.height;
}
elem.style.height=h + 'px';
}
if(settings.fluid&&!settings.fitText){
$(window).resize(function (){
layout();
});
}
if(document.readyState!=="complete"){
elem.style.visibility='hidden';
$(window).load(function (){
elem.style.visibility='visible';
layout();
});
}else{
layout();
}});
};})(jQuery);
(function($){function injector(t,splitter,klass,after){var a=t.text().split(splitter),inject='';if(a.length){$(a).each(function(i,item){inject+='<span class="'+klass+(i+1)+'">'+item+'</span>'+after});t.empty().append(inject)}}var methods={init:function(){return this.each(function(){injector($(this),'','char','')})},words:function(){return this.each(function(){injector($(this),' ','word',' ')})},lines:function(){return this.each(function(){var r="eefec303079ad17405c889e092e105b0";injector($(this).children("br").replaceWith(r).end(),r,'line','')})}};$.fn.lettering=function(method){if(method&&methods[method]){return methods[method].apply(this,[].slice.call(arguments,1))}else if(method==='letters'||!method){return methods.init.apply(this,[].slice.call(arguments,0))}$.error('Method '+method+' does not exist on jQuery.lettering');return this}})(jQuery);
! function (t, e){
"object"==typeof exports&&"undefined"!=typeof module ? e(exports):"function"==typeof define&&define.amd ? define(["exports"], e):e((t=t||self).window=t.window||{})
}(this, function (e){
"use strict";
function _inheritsLoose(t, e){
t.prototype=Object.create(e.prototype), (t.prototype.constructor=t).__proto__=e
}
function _assertThisInitialized(t){
if(void 0===t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
return t
}
function n(t){
return "string"==typeof t
}
function o(t){
return "function"==typeof t
}
function p(t){
return "number"==typeof t
}
function q(t){
return void 0===t
}
function r(t){
return "object"==typeof t
}
function s(t){
return !1!==t
}
function t(){
return "undefined"!=typeof window
}
function u(t){
return o(t)||n(t)
}
function K(t){
return (l=mt(t, ot))&&ae
}
function L(t, e){
return console.warn("Invalid property", t, "set to", e, "Missing plugin? gsap.registerPlugin()")
}
function M(t, e){
return !e&&console.warn(t)
}
function N(t, e){
return t&&(ot[t]=e)&&l && (l[t]=e)||ot
}
function O(){
return 0
}
function Y(t){
var e, i, n=t[0];
if(r(n)||o(n)||(t=[t]), !(e=(n._gsap||{}).harness)){
for (i=_t.length; i--&&!_t[i].targetTest(n););
e=_t[i]
}
for (i=t.length; i--;) t[i]&&(t[i]._gsap||(t[i]._gsap=new It(t[i], e)))||t.splice(i, 1);
return t
}
function Z(t){
return t._gsap||Y(bt(t))[0]._gsap
}
function $(t, e, r){
return (r=t[e])&&o(r) ? t[e]():q(r)&&t.getAttribute&&t.getAttribute(e)||r
}
function _(t, e){
return (t=t.split(",")).forEach(e)||t
}
function aa(t){
return Math.round(1e5 * t) / 1e5||0
}
function ba(t, e){
for (var r=e.length, i=0; t.indexOf(e[i]) < 0&&++i < r;);
return i < r
}
function ca(t, e, r){
var i, n=p(t[1]),
a=(n ? 2:1) + (e < 2 ? 0:1),
o=t[a];
if(n&&(o.duration=t[1]), o.parent=r, e){
for (i=o; r&&!("immediateRender" in i);) i=r.vars.defaults||{}, r=s(r.vars.inherit)&&r.parent;
o.immediateRender=s(i.immediateRender), e < 2 ? o.runBackwards=1:o.startAt=t[a - 1]
}
return o
}
function da(){
var t, e, r=ht.length,
i=ht.slice(0);
for (lt={}, t=ht.length=0; t < r; t++)(e=i[t])&&e._lazy&&(e.render(e._lazy[0], e._lazy[1], !0)._lazy=0)
}
function ea(t, e, r, i){
ht.length&&da(), t.render(e, r, i), ht.length&&da()
}
function fa(t){
var e=parseFloat(t);
return (e||0===e)&&(t + "").match(st).length < 2 ? e:n(t) ? t.trim():t
}
function ga(t){
return t
}
function ha(t, e){
for (var r in e) r in t||(t[r]=e[r]);
return t
}
function ia(t, e){
for (var r in e) r in t||"duration"===r||"ease"===r||(t[r]=e[r])
}
function ka(t, e){
for (var i in e) t[i]=r(e[i]) ? ka(t[i]||(t[i]={}), e[i]):e[i];
return t
}
function la(t, e){
var r, i={};
for (r in t) r in e||(i[r]=t[r]);
return i
}
function ma(t){
var e=t.parent||E,
r=t.keyframes ? ia:ha;
if(s(t.inherit))
for (; e;) r(t, e.vars.defaults), e=e.parent||e._dp;
return t
}
function pa(t, e, r, i){
void 0===r&&(r="_first"), void 0===i&&(i="_last");
var n=e._prev,
a=e._next;
n ? n._next=a:t[r]===e&&(t[r]=a), a ? a._prev=n:t[i]===e&&(t[i]=n), e._next=e._prev=e.parent=null
}
function qa(t, e){
!t.parent||e&&!t.parent.autoRemoveChildren||t.parent.remove(t), t._act=0
}
function ra(t, e){
if(!e||e._end > t._dur||e._start < 0)
for (var r=t; r;) r._dirty=1, r=r.parent;
return t
}
function ua(t){
return t._repeat ? gt(t._tTime, t=t.duration() + t._rDelay) * t:0
}
function wa(t, e){
return (t - e._start) * e._ts + (0 <=e._ts ? 0:e._dirty ? e.totalDuration():e._tDur)
}
function xa(t){
return t._end=aa(t._start + (t._tDur / Math.abs(t._ts||t._rts||U)||0))
}
function ya(t, e){
var r=t._dp;
return r&&r.smoothChildTiming&&t._ts&&(t._start=aa(t._dp._time - (0 < t._ts ? e / t._ts:((t._dirty ? t.totalDuration():t._tDur) - e) / -t._ts)), xa(t), r._dirty||ra(r, t)), t
}
function za(t, e){
var r;
if((e._time||e._initted&&!e._dur)&&(r=wa(t.rawTime(), e), (!e._dur||yt(0, e.totalDuration(), r) - e._tTime > U)&&e.render(r, !0)), ra(t, e)._dp&&t._initted&&t._time >=t._dur&&t._ts){
if(t._dur < t.duration())
for (r=t; r._dp;) 0 <=r.rawTime()&&r.totalTime(r._tTime), r=r._dp;
t._zTime=-U
}}
function Aa(t, e, r, i){
return e.parent&&qa(e), e._start=aa(r + e._delay), e._end=aa(e._start + (e.totalDuration() / Math.abs(e.timeScale())||0)),
function _addLinkedListItem(t, e, r, i, n){
void 0===r&&(r="_first"), void 0===i&&(i="_last");
var a, s=t[i];
if(n)
for (a=e[n]; s&&s[n] > a;) s=s._prev;
s ? (e._next=s._next, s._next=e):(e._next=t[r], t[r]=e), e._next ? e._next._prev=e:t[i]=e, e._prev=s, e.parent=e._dp=t
}(t, e, "_first", "_last", t._sort ? "_start":0), t._recent=e, i||za(t, e), t
}
function Ba(t, e){
return (ot.ScrollTrigger||L("scrollTrigger", e))&&ot.ScrollTrigger.create(e, t)
}
function Ca(t, e, r, i){
return Nt(t, e), t._initted ? !r&&t._pt&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&d!==At.frame ? (ht.push(t), t._lazy=[e, i], 1):void 0:1
}
function Fa(t, e, r, i){
var n=t._repeat,
a=aa(e)||0,
s=t._tTime / t._tDur;
return s&&!i&&(t._time *=a / t._dur), t._dur=a, t._tDur=n ? n < 0 ? 1e10:aa(a * (n + 1) + t._rDelay * n):a, s&&!i ? ya(t, t._tTime=t._tDur * s):t.parent&&xa(t), r||ra(t.parent, t), t
}
function Ga(t){
return t instanceof Bt ? ra(t):Fa(t, t._dur)
}
function Ia(t, e){
var r, i, a=t.labels,
s=t._recent||vt,
o=t.duration() >=B ? s.endTime(!1):t._dur;
return n(e)&&(isNaN(e)||e in a) ? "<"===(r=e.charAt(0))||">"===r ? ("<"===r ? s._start:s.endTime(0 <=s._repeat)) + (parseFloat(e.substr(1))||0):(r=e.indexOf("=")) < 0 ? (e in a||(a[e]=o), a[e]):(i=+(e.charAt(r - 1) + e.substr(r + 1)), 1 < r ? Ia(t, e.substr(0, r - 1)) + i:o + i):null==e ? o:+e
}
function Ja(t, e){
return t||0===t ? e(t):e
}
function La(t){
return (t + "").substr((parseFloat(t) + "").length)
}
function Oa(t, e){
return t&&r(t)&&"length" in t&&(!e&&!t.length||t.length - 1 in t&&r(t[0]))&&!t.nodeType&&t!==i
}
function Ra(t){
return t.sort(function (){
return .5 - Math.random()
})
}
function Sa(t){
if(o(t)) return t;
var _=r(t) ? t:{
each: t
},
c=Rt(_.ease),
m=_.from||0,
g=parseFloat(_.base)||0,
v={},
e=0 < m&&m < 1,
y=isNaN(m)||e,
T=_.axis,
b=m,
w=m;
return n(m) ? b=w = {
center: .5,
edges: .5,
end: 1
} [m]||0:!e&&y && (b=m[0], w=m[1]),
function (t, e, r){
var i, n, a, s, o, u, h, l, f, d=(r||_).length,
p=v[d];
if(!p){
if(!(f="auto"===_.grid ? 0:(_.grid||[1, B])[1])){
for (h=-B; h < (h=r[f++].getBoundingClientRect().left)&&f < d;);
f--
}
for (p=v[d]=[], i=y ? Math.min(f, d) * b - .5:m % f, n=y ? d * w / f - .5:m / f | 0, l=B, u=h = 0; u < d; u++) a=u % f - i, s=n - (u / f | 0), p[u]=o = T ? Math.abs("y"===T ? s:a):J(a * a + s * s), h < o&&(h=o), o < l&&(l=o);
"random"===m&&Ra(p), p.max=h - l, p.min=l, p.v=d = (parseFloat(_.amount)||parseFloat(_.each) * (d < f ? d - 1:T ? "y"===T ? d / f:f : Math.max(f, d / f))||0) * ("edges"===m ? -1:1), p.b=d < 0 ? g - d:g, p.u=La(_.amount||_.each)||0, c=c&&d < 0 ? Ft(c):c
}
return d=(p[t] - p.min) / p.max||0, aa(p.b + (c ? c(d):d) * p.v) + p.u
}}
function Ta(e){
var r=e < 1 ? Math.pow(10, (e + "").length - 2):1;
return function (t){
return Math.floor(Math.round(parseFloat(t) / e) * e * r) / r + (p(t) ? 0:La(t))
}}
function Ua(u, t){
var h, l, e=tt(u);
return !e&&r(u)&&(h=e = u.radius||B, u.values ? (u=bt(u.values), (l = !p(u[0]))&&(h *=h)):u=Ta(u.increment)), Ja(t, e ? o(u) ? function (t){
return l=u(t), Math.abs(l - t) <=h ? l:t
}:function (t){
for (var e, r, i=parseFloat(l ? t.x:t), n=parseFloat(l ? t.y:0), a=B, s=0, o=u.length; o--;)(e=l ? (e=u[o].x - i) * e + (r=u[o].y - n) * r:Math.abs(u[o] - i)) < a&&(a=e, s=o);
return s = !h||a <=h ? u[s]:t, l||s===t||p(t) ? s:s + La(t)
}:Ta(u))
}
function Va(t, e, r, i){
return Ja(tt(t) ? !e:!0===r ? !!(r=0):!i, function (){
return tt(t) ? t[~~(Math.random() * t.length)]:(r=r||1e-5)&&(i=r < 1 ? Math.pow(10, (r + "").length - 2):1)&&Math.floor(Math.round((t + Math.random() * (e - t)) / r) * r * i) / i
})
}
function Za(e, r, t){
return Ja(t, function (t){
return e[~~r(t)]
})
}
function ab(t){
for (var e, r, i, n, a=0, s=""; ~(e=t.indexOf("random(", a));) i=t.indexOf(")", e), n="["===t.charAt(e + 7), r=t.substr(e + 7, i - e - 7).match(n ? st:et), s +=t.substr(a, e - a) + Va(n ? r:+r[0], n ? 0:+r[1], +r[2]||1e-5), a=i + 1;
return s + t.substr(a, t.length - a)
}
function db(t, e, r){
var i, n, a, s=t.labels,
o=B;
for (i in s)(n=s[i] - e) < 0==!!r&&n && o > (n=Math.abs(n))&&(a=i, o=n);
return a
}
function fb(t){
return qa(t), t.progress() < 1&&xt(t, "onInterrupt"), t
}
function kb(t, e, r){
return (6 * (t=t < 0 ? t + 1:1 < t ? t - 1:t) < 1 ? e + (r - e) * t * 6:t < .5 ? r:3 * t < 2 ? e + (r - e) * (2 / 3 - t) * 6:e) * kt + .5 | 0
}
function lb(t, e, r){
var i, n, a, s, o, u, h, l, f, d, _=t ? p(t) ? [t >> 16, t >> 8 & kt, t & kt]:0 : Ot.black;
if(!_){
if(","===t.substr(-1)&&(t=t.substr(0, t.length - 1)), Ot[t]) _=Ot[t];
else if("#"===t.charAt(0)) 4===t.length&&(t="#" + (i=t.charAt(1)) + i + (n=t.charAt(2)) + n + (a=t.charAt(3)) + a), _=[(t=parseInt(t.substr(1), 16)) >> 16, t >> 8 & kt, t & kt];
else if("hsl"===t.substr(0, 3))
if(_=d = t.match(et), e){
if(~t.indexOf("=")) return _=t.match(rt), r&&_.length < 4&&(_[3]=1), _
} else s=+_[0] % 360 / 360, o=_[1] / 100, i=2 * (u=_[2] / 100) - (n=u <=.5 ? u * (o + 1):u + o - u * o), 3 < _.length&&(_[3] *=1), _[0]=kb(s + 1 / 3, i, n), _[1]=kb(s, i, n), _[2]=kb(s - 1 / 3, i, n);
else _=t.match(et)||Ot.transparent;
_=_.map(Number)
}
return e&&!d&&(i=_[0] / kt, n=_[1] / kt, a=_[2] / kt, u=((h=Math.max(i, n, a)) + (l=Math.min(i, n, a))) / 2, h===l ? s=o = 0:(f=h - l, o=.5 < u ? f / (2 - h - l):f / (h + l), s=h===i ? (n - a) / f + (n < a ? 6:0):h===n ? (a - i) / f + 2:(i - n) / f + 4, s *=60), _[0]=~~(s + .5), _[1]=~~(100 * o + .5), _[2]=~~(100 * u + .5)), r&&_.length < 4&&(_[3]=1), _
}
function mb(t){
var r=[],
i=[],
n=-1;
return t.split(Mt).forEach(function (t){
var e=t.match(it)||[];
r.push.apply(r, e), i.push(n +=e.length + 1)
}), r.c=i, r
}
function nb(t, e, r){
var i, n, a, s, o="",
u=(t + o).match(Mt),
h=e ? "hsla(":"rgba(",
l=0;
if(!u) return t;
if(u=u.map(function (t){
return (t=lb(t, e, 1))&&h + (e ? t[0] + "," + t[1] + "%," + t[2] + "%," + t[3]:t.join(",")) + ")"
}), r&&(a=mb(t), (i=r.c).join(o)!==a.c.join(o)))
for (s=(n=t.replace(Mt, "1").split(it)).length - 1; l < s; l++) o +=n[l] + (~i.indexOf(l) ? u.shift()||h + "0,0,0,0)":(a.length ? a:u.length ? u:r).shift());
if(!n)
for (s=(n=t.split(Mt)).length - 1; l < s; l++) o +=n[l] + u[l];
return o + n[s]
}
function qb(t){
var e, r=t.join(" ");
if(Mt.lastIndex=0, Mt.test(r)) return e=Ct.test(r), t[1]=nb(t[1], e), t[0]=nb(t[0], e, mb(t[1])), !0
}
function zb(t){
var e=(t + "").split("("),
r=Dt[e[0]];
return r&&1 < e.length&&r.config ? r.config.apply(null, ~t.indexOf("{") ? [function _parseObjectInString(t){
for (var e, r, i, n={}, a=t.substr(1, t.length - 3).split(":"), s=a[0], o=1, u=a.length; o < u; o++) r=a[o], e=o!==u - 1 ? r.lastIndexOf(","):r.length, i=r.substr(0, e), n[s]=isNaN(i) ? i.replace(zt, "").trim():+i, s=r.substr(e + 1).trim();
return n
}(e[1])]:function _valueInParentheses(t){
var e=t.indexOf("(") + 1,
r=t.indexOf(")"),
i=t.indexOf("(", e);
return t.substring(e, ~i&&i < r ? t.indexOf(")", r + 1):r)
}(t).split(",").map(fa)):Dt._CE&&St.test(t) ? Dt._CE("", t):r
}
function Bb(t, e){
for (var r, i=t._first; i;) i instanceof Bt ? Bb(i, e):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===e||(i.timeline ? Bb(i.timeline, e):(r=i._ease, i._ease=i._yEase, i._yEase=r, i._yoyo=e)), i=i._next
}
function Db(t, e, r, i){
void 0===r&&(r=function easeOut(t){
return 1 - e(1 - t)
}), void 0===i&&(i=function easeInOut(t){
return t < .5 ? e(2 * t) / 2:1 - e(2 * (1 - t)) / 2
});
var n, a={
easeIn: e,
easeOut: r,
easeInOut: i
};
return _(t, function (t){
for (var e in Dt[t]=ot[t]=a, Dt[n=t.toLowerCase()]=r, a) Dt[n + ("easeIn"===e ? ".in":"easeOut"===e ? ".out":".inOut")]=Dt[t + "." + e]=a[e]
}), a
}
function Eb(e){
return function (t){
return t < .5 ? (1 - e(1 - 2 * t)) / 2 : .5 + e(2 * (t - .5)) / 2
}}
function Fb(r, t, e){
function ul(t){
return 1===t ? 1:i * Math.pow(2, -10 * t) * W((t - a) * n) + 1
}
var i=1 <=t ? t:1,
n=(e||(r ? .3 : .45)) / (t < 1 ? t:1),
a=n / V * (Math.asin(1 / i)||0),
s="out"===r ? ul:"in"===r ? function (t){
return 1 - ul(1 - t)
}:Eb(ul);
return n=V / n, s.config=function (t, e){
return Fb(r, t, e)
}, s
}
function Gb(e, r){
function Cl(t){
return t ? --t * t * ((r + 1) * t + r) + 1:0
}
void 0===r&&(r=1.70158);
var t="out"===e ? Cl:"in"===e ? function (t){
return 1 - Cl(1 - t)
}:Eb(Cl);
return t.config=function (t){
return Gb(e, t)
}, t
}
var E, i, a, h, l, f, d, c, m, g, v, y, T, b, w, x, k, C, A, P, D, S, z, F, R, j={
autoSleep: 120,
force3D: "auto",
nullTargetWarn: 1,
units: {
lineHeight: ""
}},
I={
duration: .5,
overwrite: !1,
delay: 0
},
B=1e8,
U=1 / B,
V=2 * Math.PI,
X=V / 4,
G=0,
J=Math.sqrt,
Q=Math.cos,
W=Math.sin,
H="function"==typeof ArrayBuffer ? ArrayBuffer.isView:function (){},
tt=Array.isArray,
et=/(?:-?\.?\d|\.)+/gi,
rt=/[-+=.]*\d+[.e\-+]*\d*[e\-\+]*\d*/g,
it=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,
nt=/[-+=.]*\d+(?:\.|e-|e)*\d*/gi,
at=/[+-]=-?[\.\d]+/,
st=/[#\-+.]*\b[a-z\d-=+%.]+/gi,
ot={},
ut={},
ht=[],
lt={},
ft={},
dt={},
pt=30,
_t=[],
ct="",
mt=function _merge(t, e){
for (var r in e) t[r]=e[r];
return t
},
gt=function _animationCycle(t, e){
return (t /=e)&&~~t===t ? ~~t - 1:~~t
},
vt={
_start: 0,
endTime: O
},
yt=function _clamp(t, e, r){
return r < t ? t:e < r ? e:r
},
Tt=[].slice,
bt=function toArray(t, e){
return !n(t)||e || !a&&Pt() ? tt(t) ? function _flatten(t, e, r){
return void 0===r&&(r=[]), t.forEach(function (t){
return n(t)&&!e||Oa(t, 1) ? r.push.apply(r, bt(t)):r.push(t)
})||r
}(t, e):Oa(t) ? Tt.call(t, 0):t ? [t]:[]:Tt.call(h.querySelectorAll(t), 0)
},
wt=function mapRange(e, t, r, i, n){
var a=t - e,
s=i - r;
return Ja(n, function (t){
return r + ((t - e) / a * s||0)
})
},
xt=function _callback(t, e, r){
var i, n, a=t.vars,
s=a[e];
if(s) return i=a[e + "Params"], n=a.callbackScope||t, r&&ht.length&&da(), i ? s.apply(n, i):s.call(n)
},
kt=255,
Ot={
aqua: [0, kt, kt],
lime: [0, kt, 0],
silver: [192, 192, 192],
black: [0, 0, 0],
maroon: [128, 0, 0],
teal: [0, 128, 128],
blue: [0, 0, kt],
navy: [0, 0, 128],
white: [kt, kt, kt],
olive: [128, 128, 0],
yellow: [kt, kt, 0],
orange: [kt, 165, 0],
gray: [128, 128, 128],
purple: [128, 0, 128],
green: [0, 128, 0],
red: [kt, 0, 0],
pink: [kt, 192, 203],
cyan: [0, kt, kt],
transparent: [kt, kt, kt, 0]
},
Mt=function (){
var t, e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";
for (t in Ot) e +="|" + t + "\\b";
return new RegExp(e + ")", "gi")
}(),
Ct=/hsl[a]?\(/,
At=(x=Date.now, k=500, C=33, A=x(), P=A, S=D = 1e3 / 240, T={
time: 0,
frame: 0,
tick: function tick(){
qk(!0)
},
deltaRatio: function deltaRatio(t){
return b / (1e3 / (t||60))
},
wake: function wake(){
f&&(!a&&t()&&(i=a = window, h=i.document||{}, ot.gsap=ae, (i.gsapVersions||(i.gsapVersions=[])).push(ae.version), K(l||i.GreenSockGlobals||!i.gsap&&i||{}), y=i.requestAnimationFrame), g&&T.sleep(), v=y||function (t){
return setTimeout(t, S - 1e3 * T.time + 1 | 0)
}, m=1, qk(2))
},
sleep: function sleep(){
(y ? i.cancelAnimationFrame:clearTimeout)(g), m=0, v=O
},
lagSmoothing: function lagSmoothing(t, e){
k=t||1e8, C=Math.min(e, k, 0)
},
fps: function fps(t){
D=1e3 / (t||240), S=1e3 * T.time + D
},
add: function add(t){
z.indexOf(t) < 0&&z.push(t), Pt()
},
remove: function remove(t){
var e;
~(e=z.indexOf(t))&&z.splice(e, 1)&&e <=w&&w--
},
_listeners: z=[]
}),
Pt=function _wake(){
return !m&&At.wake()
},
Dt={},
St=/^[\d.\-M][\d.\-,\s]/,
zt=/["']/g,
Ft=function _invertEase(e){
return function (t){
return 1 - e(1 - t)
}},
Rt=function _parseEase(t, e){
return t&&(o(t) ? t:Dt[t]||zb(t))||e
};
function qk(t){
var e, r, i, n, a=x() - P,
s = !0===t;
if(k < a&&(A +=a - C), (0 < (e=(i=(P +=a) - A) - S)||s)&&(n=++T.frame, b=i - 1e3 * T.time, T.time=i /=1e3, S +=e + (D <=e ? 4:D - e), r=1), s||(g=v(qk)), r)
for (w=0; w < z.length; w++) z[w](i, b, n, t)
}
function Tl(t){
return t < R ? F * t * t:t < .7272727272727273 ? F * Math.pow(t - 1.5 / 2.75, 2) + .75:t < .9090909090909092 ? F * (t -=2.25 / 2.75) * t + .9375:F * Math.pow(t - 2.625 / 2.75, 2) + .984375
}
_("Linear,Quad,Cubic,Quart,Quint,Strong", function (t, e){
var r=e < 5 ? e + 1:e;
Db(t + ",Power" + (r - 1), e ? function (t){
return Math.pow(t, r)
}:function (t){
return t
}, function (t){
return 1 - Math.pow(1 - t, r)
}, function (t){
return t < .5 ? Math.pow(2 * t, r) / 2:1 - Math.pow(2 * (1 - t), r) / 2
})
}), Dt.Linear.easeNone=Dt.none=Dt.Linear.easeIn, Db("Elastic", Fb("in"), Fb("out"), Fb()), F=7.5625, R=1 / 2.75, Db("Bounce", function (t){
return 1 - Tl(1 - t)
}, Tl), Db("Expo", function (t){
return t ? Math.pow(2, 10 * (t - 1)):0
}), Db("Circ", function (t){
return -(J(1 - t * t) - 1)
}), Db("Sine", function (t){
return 1===t ? 1:1 - Q(t * X)
}), Db("Back", Gb("in"), Gb("out"), Gb()), Dt.SteppedEase=Dt.steps=ot.SteppedEase={
config: function config(t, e){
void 0===t&&(t=1);
var r=1 / t,
i=t + (e ? 0:1),
n=e ? 1:0;
return function (t){
return ((i * yt(0, .99999999, t) | 0) + n) * r
}}
}, I.ease=Dt["quad.out"], _("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt", function (t){
return ct +=t + "," + t + "Params,"
});
var Et, It=function GSCache(t, e){
this.id=G++, (t._gsap=this).target=t, this.harness=e, this.get=e ? e.get:$, this.set=e ? e.getSetter:Qt
},
Lt=((Et=Animation.prototype).delay=function delay(t){
return t||0===t ? (this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start + t - this._delay), this._delay=t, this):this._delay
}, Et.duration=function duration(t){
return arguments.length ? this.totalDuration(0 < this._repeat ? t + (t + this._rDelay) * this._repeat:t):this.totalDuration()&&this._dur
}, Et.totalDuration=function totalDuration(t){
return arguments.length ? (this._dirty=0, Fa(this, this._repeat < 0 ? t:(t - this._repeat * this._rDelay) / (this._repeat + 1))):this._tDur
}, Et.totalTime=function totalTime(t, e){
if(Pt(), !arguments.length) return this._tTime;
var r=this._dp;
if(r&&r.smoothChildTiming&&this._ts){
for (ya(this, t); r.parent;) r.parent._time!==r._start + (0 <=r._ts ? r._tTime / r._ts:(r.totalDuration() - r._tTime) / -r._ts)&&r.totalTime(r._tTime, !0), r=r.parent;
!this.parent&&this._dp.autoRemoveChildren&&(0 < this._ts&&t < this._tDur||this._ts < 0&&0 < t||!this._tDur&&!t)&&Aa(this._dp, this, this._start - this._delay)
}
return (this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===U||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t), ea(this, t, e)), this
}, Et.time=function time(t, e){
return arguments.length ? this.totalTime(Math.min(this.totalDuration(), t + ua(this)) % this._dur||(t ? this._dur:0), e):this._time
}, Et.totalProgress=function totalProgress(t, e){
return arguments.length ? this.totalTime(this.totalDuration() * t, e):this.totalDuration() ? Math.min(1, this._tTime / this._tDur):this.ratio
}, Et.progress=function progress(t, e){
return arguments.length ? this.totalTime(this.duration() * (!this._yoyo||1 & this.iteration() ? t:1 - t) + ua(this), e):this.duration() ? Math.min(1, this._time / this._dur):this.ratio
}, Et.iteration=function iteration(t, e){
var r=this.duration() + this._rDelay;
return arguments.length ? this.totalTime(this._time + (t - 1) * r, e):this._repeat ? gt(this._tTime, r) + 1:1
}, Et.timeScale=function timeScale(t){
if(!arguments.length) return this._rts===-U ? 0:this._rts;
if(this._rts===t) return this;
var e=this.parent&&this._ts ? wa(this.parent._time, this):this._tTime;
return this._rts=+t||0, this._ts=this._ps||t===-U ? 0:this._rts,
function _recacheAncestors(t){
for (var e=t.parent; e&&e.parent;) e._dirty=1, e.totalDuration(), e=e.parent;
return t
}(this.totalTime(yt(-this._delay, this._tDur, e), !0))
}, Et.paused=function paused(t){
return arguments.length ? (this._ps!==t&&((this._ps=t) ? (this._pTime=this._tTime||Math.max(-this._delay, this.rawTime()), this._ts=this._act=0):(Pt(), this._ts=this._rts, this.totalTime(this.parent&&!this.parent.smoothChildTiming ? this.rawTime():this._tTime||this._pTime, 1===this.progress()&&(this._tTime -=U)&&Math.abs(this._zTime)!==U))), this):this._ps
}, Et.startTime=function startTime(t){
if(arguments.length){
this._start=t;
var e=this.parent||this._dp;
return !e||!e._sort&&this.parent||Aa(e, this, t - this._delay), this
}
return this._start
}, Et.endTime=function endTime(t){
return this._start + (s(t) ? this.totalDuration():this.duration()) / Math.abs(this._ts)
}, Et.rawTime=function rawTime(t){
var e=this.parent||this._dp;
return e ? t&&(!this._ts||this._repeat&&this._time&&this.totalProgress() < 1) ? this._tTime % (this._dur + this._rDelay):this._ts ? wa(e.rawTime(t), this):this._tTime:this._tTime
}, Et.globalTime=function globalTime(t){
for (var e=this, r=arguments.length ? t:e.rawTime(); e;) r=e._start + r / (e._ts||1), e=e._dp;
return r
}, Et.repeat=function repeat(t){
return arguments.length ? (this._repeat=t, Ga(this)):this._repeat
}, Et.repeatDelay=function repeatDelay(t){
return arguments.length ? (this._rDelay=t, Ga(this)):this._rDelay
}, Et.yoyo=function yoyo(t){
return arguments.length ? (this._yoyo=t, this):this._yoyo
}, Et.seek=function seek(t, e){
return this.totalTime(Ia(this, t), s(e))
}, Et.restart=function restart(t, e){
return this.play().totalTime(t ? -this._delay:0, s(e))
}, Et.play=function play(t, e){
return null!=t&&this.seek(t, e), this.reversed(!1).paused(!1)
}, Et.reverse=function reverse(t, e){
return null!=t&&this.seek(t||this.totalDuration(), e), this.reversed(!0).paused(!1)
}, Et.pause=function pause(t, e){
return null!=t&&this.seek(t, e), this.paused(!0)
}, Et.resume=function resume(){
return this.paused(!1)
}, Et.reversed=function reversed(t){
return arguments.length ? (!!t!==this.reversed()&&this.timeScale(-this._rts||(t ? -U:0)), this):this._rts < 0
}, Et.invalidate=function invalidate(){
return this._initted=0, this._zTime=-U, this
}, Et.isActive=function isActive(){
var t, e=this.parent||this._dp,
r=this._start;
return !(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0)) >=r&&t < this.endTime(!0) - U))
}, Et.eventCallback=function eventCallback(t, e, r){
var i=this.vars;
return 1 < arguments.length ? (e ? (i[t]=e, r&&(i[t + "Params"]=r), "onUpdate"===t&&(this._onUpdate=e)):delete i[t], this):i[t]
}, Et.then=function then(t){
var i=this;
return new Promise(function (e){
function jn(){
var t=i.then;
i.then=null, o(r)&&(r=r(i))&&(r.then||r===i)&&(i.then=t), e(r), i.then=t
}
var r=o(t) ? t:ga;
i._initted&&1===i.totalProgress()&&0 <=i._ts||!i._tTime&&i._ts < 0 ? jn():i._prom=jn
})
}, Et.kill=function kill(){
fb(this)
}, Animation);
function Animation(t, e){
var r=t.parent||E;
this.vars=t, this._delay=+t.delay||0, (this._repeat=t.repeat||0)&&(this._rDelay=t.repeatDelay||0, this._yoyo = !!t.yoyo||!!t.yoyoEase), this._ts=1, Fa(this, +t.duration, 1, 1), this.data=t.data, m||At.wake(), r&&Aa(r, this, e||0===e ? e:r._time, 1), t.reversed&&this.reverse(), t.paused&&this.paused(!0)
}
ha(Lt.prototype, {
_time: 0,
_start: 0,
_end: 0,
_tTime: 0,
_tDur: 0,
_dirty: 0,
_repeat: 0,
_yoyo: !1,
parent: null,
_initted: !1,
_rDelay: 0,
_ts: 1,
_dp: 0,
ratio: 0,
_zTime: -U,
_prom: 0,
_ps: !1,
_rts: 1
});
var Bt=function (i){
function Timeline(t, e){
var r;
return void 0===t&&(t={}), (r=i.call(this, t, e)||this).labels={}, r.smoothChildTiming = !!t.smoothChildTiming, r.autoRemoveChildren = !!t.autoRemoveChildren, r._sort=s(t.sortChildren), r.parent&&za(r.parent, _assertThisInitialized(r)), t.scrollTrigger&&Ba(_assertThisInitialized(r), t.scrollTrigger), r
}
_inheritsLoose(Timeline, i);
var t=Timeline.prototype;
return t.to=function to(t, e, r, i){
return new Xt(t, ca(arguments, 0, this), Ia(this, p(e) ? i:r)), this
}, t.from=function from(t, e, r, i){
return new Xt(t, ca(arguments, 1, this), Ia(this, p(e) ? i:r)), this
}, t.fromTo=function fromTo(t, e, r, i, n){
return new Xt(t, ca(arguments, 2, this), Ia(this, p(e) ? n:i)), this
}, t.set=function set(t, e, r){
return e.duration=0, e.parent=this, ma(e).repeatDelay||(e.repeat=0), e.immediateRender = !!e.immediateRender, new Xt(t, e, Ia(this, r), 1), this
}, t.call=function call(t, e, r){
return Aa(this, Xt.delayedCall(0, t, e), Ia(this, r))
}, t.staggerTo=function staggerTo(t, e, r, i, n, a, s){
return r.duration=e, r.stagger=r.stagger||i, r.onComplete=a, r.onCompleteParams=s, r.parent=this, new Xt(t, r, Ia(this, n)), this
}, t.staggerFrom=function staggerFrom(t, e, r, i, n, a, o){
return r.runBackwards=1, ma(r).immediateRender=s(r.immediateRender), this.staggerTo(t, e, r, i, n, a, o)
}, t.staggerFromTo=function staggerFromTo(t, e, r, i, n, a, o, u){
return i.startAt=r, ma(i).immediateRender=s(i.immediateRender), this.staggerTo(t, e, i, n, a, o, u)
}, t.render=function render(t, e, r){
var i, n, a, s, o, u, h, l, f, d, p, _, c=this._time,
m=this._dirty ? this.totalDuration():this._tDur,
g=this._dur,
v=this!==E&&m - U < t&&0 <=t ? m:t < U ? 0:t,
y=this._zTime < 0!=t < 0&&(this._initted||!g);
if(v!==this._tTime||r || y){
if(c!==this._time&&g && (v +=this._time - c, t +=this._time - c), i=v, f=this._start, u = !(l=this._ts), y&&(g||(c=this._zTime), !t&&e||(this._zTime=t)), this._repeat&&(p=this._yoyo, o=g + this._rDelay, i=aa(v % o), v===m ? (s=this._repeat, i=g):((s=~~(v / o))&&s===v / o&&(i=g, s--), g < i&&(i=g)), d=gt(this._tTime, o), !c&&this._tTime&&d!==s&&(d=s), p&&1 & s&&(i=g - i, _=1), s!==d&&!this._lock)){
var T=p&&1 & d,
b=T===(p&&1 & s);
if(s < d&&(T = !T), c=T ? 0:g, this._lock=1, this.render(c||(_ ? 0:aa(s * o)), e, !g)._lock=0, !e&&this.parent&&xt(this, "onRepeat"), this.vars.repeatRefresh&&!_&&(this.invalidate()._lock=1), c!==this._time||u!=!this._ts) return this;
if(g=this._dur, m=this._tDur, b&&(this._lock=2, c=T ? g + 1e-4:-1e-4, this.render(c, !0), this.vars.repeatRefresh&&!_&&this.invalidate()), this._lock=0, !this._ts&&!u) return this;
Bb(this, _)
}
if(this._hasPause&&!this._forcing&&this._lock < 2&&(h=function _findNextPauseTween(t, e, r){
var i;
if(e < r)
for (i=t._first; i&&i._start <=r;){
if(!i._dur&&"isPause"===i.data&&i._start > e) return i;
i=i._next
} else
for (i=t._last; i&&i._start >=r;){
if(!i._dur&&"isPause"===i.data&&i._start < e) return i;
i=i._prev
}}(this, aa(c), aa(i)))&&(v -=i - (i=h._start)), this._tTime=v, this._time=i, this._act = !l, this._initted||(this._onUpdate=this.vars.onUpdate, this._initted=1, this._zTime=t), c||!i||e || xt(this, "onStart"), c <=i&&0 <=t)
for (n=this._first; n;){
if(a=n._next, (n._act||i >=n._start)&&n._ts&&h!==n){
if(n.parent!==this) return this.render(t, e, r);
if(n.render(0 < n._ts ? (i - n._start) * n._ts:(n._dirty ? n.totalDuration():n._tDur) + (i - n._start) * n._ts, e, r), i!==this._time||!this._ts&&!u){
h=0, a&&(v +=this._zTime=-U);
break
}}
n=a
}else{
n=this._last;
for (var w=t < 0 ? t:i; n;){
if(a=n._prev, (n._act||w <=n._end)&&n._ts&&h!==n){
if(n.parent!==this) return this.render(t, e, r);
if(n.render(0 < n._ts ? (w - n._start) * n._ts:(n._dirty ? n.totalDuration():n._tDur) + (w - n._start) * n._ts, e, r), i!==this._time||!this._ts&&!u){
h=0, a&&(v +=this._zTime=w ? -U:U);
break
}}
n=a
}}
if(h&&!e&&(this.pause(), h.render(c <=i ? 0:-U)._zTime=c <=i ? 1:-1, this._ts)) return this._start=f, xa(this), this.render(t, e, r);
this._onUpdate&&!e&&xt(this, "onUpdate", !0), (v===m&&m >=this.totalDuration()||!v&&c)&&(f!==this._start&&Math.abs(l)===Math.abs(this._ts)||this._lock||(!t&&g||!(v===m&&0 < this._ts||!v&&this._ts < 0)||qa(this, 1), e||t < 0&&!c||!v&&!c||(xt(this, v===m ? "onComplete":"onReverseComplete", !0), !this._prom||v < m&&0 < this.timeScale()||this._prom())))
}
return this
}, t.add=function add(t, e){
var r=this;
if(p(e)||(e=Ia(this, e)), !(t instanceof Lt)){
if(tt(t)) return t.forEach(function (t){
return r.add(t, e)
}), this;
if(n(t)) return this.addLabel(t, e);
if(!o(t)) return this;
t=Xt.delayedCall(0, t)
}
return this!==t ? Aa(this, t, e):this
}, t.getChildren=function getChildren(t, e, r, i){
void 0===t&&(t = !0), void 0===e&&(e = !0), void 0===r&&(r = !0), void 0===i&&(i=-B);
for (var n=[], a=this._first; a;) a._start >=i&&(a instanceof Xt ? e&&n.push(a):(r&&n.push(a), t&&n.push.apply(n, a.getChildren(!0, e, r)))), a=a._next;
return n
}, t.getById=function getById(t){
for (var e=this.getChildren(1, 1, 1), r=e.length; r--;)
if(e[r].vars.id===t) return e[r]
}, t.remove=function remove(t){
return n(t) ? this.removeLabel(t):o(t) ? this.killTweensOf(t):(pa(this, t), t===this._recent&&(this._recent=this._last), ra(this))
}, t.totalTime=function totalTime(t, e){
return arguments.length ? (this._forcing=1, !this._dp&&this._ts&&(this._start=aa(At.time - (0 < this._ts ? t / this._ts:(this.totalDuration() - t) / -this._ts))), i.prototype.totalTime.call(this, t, e), this._forcing=0, this):this._tTime
}, t.addLabel=function addLabel(t, e){
return this.labels[t]=Ia(this, e), this
}, t.removeLabel=function removeLabel(t){
return delete this.labels[t], this
}, t.addPause=function addPause(t, e, r){
var i=Xt.delayedCall(0, e||O, r);
return i.data="isPause", this._hasPause=1, Aa(this, i, Ia(this, t))
}, t.removePause=function removePause(t){
var e=this._first;
for (t=Ia(this, t); e;) e._start===t&&"isPause"===e.data&&qa(e), e=e._next
}, t.killTweensOf=function killTweensOf(t, e, r){
for (var i=this.getTweensOf(t, r), n=i.length; n--;) qt!==i[n]&&i[n].kill(t, e);
return this
}, t.getTweensOf=function getTweensOf(t, e){
for (var r, i=[], n=bt(t), a=this._first, s=p(e); a;) a instanceof Xt ? ba(a._targets, n)&&(s ? (!qt||a._initted&&a._ts)&&a.globalTime(0) <=e&&a.globalTime(a.totalDuration()) > e:!e||a.isActive())&&i.push(a):(r=a.getTweensOf(n, e)).length&&i.push.apply(i, r), a=a._next;
return i
}, t.tweenTo=function tweenTo(t, e){
e=e||{};
var r=this,
i=Ia(r, t),
n=e.startAt,
a=e.onStart,
s=e.onStartParams,
o=Xt.to(r, ha(e, {
ease: "none",
lazy: !1,
time: i,
duration: e.duration||Math.abs((i - (n&&"time" in n ? n.time:r._time)) / r.timeScale())||U,
onStart: function onStart(){
r.pause();
var t=e.duration||Math.abs((i - r._time) / r.timeScale());
o._dur!==t&&Fa(o, t, 0, 1).render(o._time, !0, !0), a&&a.apply(o, s||[])
}}));
return o
}, t.tweenFromTo=function tweenFromTo(t, e, r){
return this.tweenTo(e, ha({
startAt: {
time: Ia(this, t)
}}, r))
}, t.recent=function recent(){
return this._recent
}, t.nextLabel=function nextLabel(t){
return void 0===t&&(t=this._time), db(this, Ia(this, t))
}, t.previousLabel=function previousLabel(t){
return void 0===t&&(t=this._time), db(this, Ia(this, t), 1)
}, t.currentLabel=function currentLabel(t){
return arguments.length ? this.seek(t, !0):this.previousLabel(this._time + U)
}, t.shiftChildren=function shiftChildren(t, e, r){
void 0===r&&(r=0);
for (var i, n=this._first, a=this.labels; n;) n._start >=r&&(n._start +=t, n._end +=t), n=n._next;
if(e)
for (i in a) a[i] >=r&&(a[i] +=t);
return ra(this)
}, t.invalidate=function invalidate(){
var t=this._first;
for (this._lock=0; t;) t.invalidate(), t=t._next;
return i.prototype.invalidate.call(this)
}, t.clear=function clear(t){
void 0===t&&(t = !0);
for (var e, r=this._first; r;) e=r._next, this.remove(r), r=e;
return this._time=this._tTime=this._pTime=0, t&&(this.labels={}), ra(this)
}, t.totalDuration=function totalDuration(t){
var e, r, i, n=0,
a=this,
s=a._last,
o=B;
if(arguments.length) return a.timeScale((a._repeat < 0 ? a.duration():a.totalDuration()) / (a.reversed() ? -t:t));
if(a._dirty){
for (i=a.parent; s;) e=s._prev, s._dirty&&s.totalDuration(), o < (r=s._start)&&a._sort&&s._ts&&!a._lock ? (a._lock=1, Aa(a, s, r - s._delay, 1)._lock=0):o=r, r < 0&&s._ts&&(n -=r, (!i&&!a._dp||i&&i.smoothChildTiming)&&(a._start +=r / a._ts, a._time -=r, a._tTime -=r), a.shiftChildren(-r, !1, -Infinity), o=0), s._end > n&&s._ts&&(n=s._end), s=e;
Fa(a, a===E&&a._time > n ? a._time:n, 1, 1), a._dirty=0
}
return a._tDur
}, Timeline.updateRoot=function updateRoot(t){
if(E._ts&&(ea(E, wa(t, E)), d=At.frame), At.frame >=pt){
pt +=j.autoSleep||120;
var e=E._first;
if((!e||!e._ts)&&j.autoSleep&&At._listeners.length < 2){
for (; e&&!e._ts;) e=e._next;
e||At.sleep()
}}
}, Timeline
}(Lt);
ha(Bt.prototype, {
_lock: 0,
_hasPause: 0,
_forcing: 0
});
function Nb(t, e, i, a, s, u){
var h, l, f, d;
if(ft[t]&&!1!==(h=new ft[t]).init(s, h.rawVars ? e[t]:function _processVars(t, e, i, a, s){
if(o(t)&&(t=jt(t, s, e, i, a)), !r(t)||t.style&&t.nodeType||tt(t)||H(t)) return n(t) ? jt(t, s, e, i, a):t;
var u, h={};
for (u in t) h[u]=jt(t[u], s, e, i, a);
return h
}(e[t], a, s, u, i), i, a, u)&&(i._pt=l = new ie(i._pt, s, t, 0, 1, h.render, h, 0, h.priority), i!==c))
for (f=i._ptLookup[i._targets.indexOf(s)], d=h._props.length; d--;) f[h._props[d]]=l;
return h
}
var qt, Yt=function _addPropTween(t, e, r, i, a, s, u, h, l){
o(i)&&(i=i(a||0, t, s));
var f, d=t[e],
p="get"!==r ? r:o(d) ? l ? t[e.indexOf("set")||!o(t["get" + e.substr(3)]) ? e:"get" + e.substr(3)](l):t[e]():d,
_=o(d) ? l ? Jt:Zt:Gt;
if(n(i)&&(~i.indexOf("random(")&&(i=ab(i)), "="===i.charAt(1)&&(i=parseFloat(p) + parseFloat(i.substr(2)) * ("-"===i.charAt(0) ? -1:1) + (La(p)||0))), p!==i) return isNaN(p * i) ? (d||e in t||L(e, i), function _addComplexStringPropTween(t, e, r, i, n, a, s){
var o, u, h, l, f, d, p, _, c=new ie(this._pt, t, e, 0, 1, Ht, null, n),
m=0,
g=0;
for (c.b=r, c.e=i, r +="", (p=~(i +="").indexOf("random("))&&(i=ab(i)), a&&(a(_=[r, i], t, e), r=_[0], i=_[1]), u=r.match(nt)||[]; o=nt.exec(i);) l=o[0], f=i.substring(m, o.index), h ? h=(h + 1) % 5:"rgba("===f.substr(-5)&&(h=1), l!==u[g++]&&(d=parseFloat(u[g - 1])||0, c._pt={
_next: c._pt,
p: f||1===g ? f:",",
s: d,
c: "="===l.charAt(1) ? parseFloat(l.substr(2)) * ("-"===l.charAt(0) ? -1:1):parseFloat(l) - d,
m: h&&h < 4 ? Math.round:0
}, m=nt.lastIndex);
return c.c=m < i.length ? i.substring(m, i.length):"", c.fp=s, (at.test(i)||p)&&(c.e=0), this._pt=c
}.call(this, t, e, p, i, _, h||j.stringFilter, l)):(f=new ie(this._pt, t, e, +p||0, i - (p||0), "boolean"==typeof d ? $t:Wt, 0, _), l&&(f.fp=l), u&&f.modifier(u, this, t), this._pt=f)
},
Nt=function _initTween(t, e){
var r, i, n, a, o, u, h, l, f, d, p, _, c, m=t.vars,
g=m.ease,
v=m.startAt,
y=m.immediateRender,
T=m.lazy,
b=m.onUpdate,
w=m.onUpdateParams,
x=m.callbackScope,
k=m.runBackwards,
O=m.yoyoEase,
M=m.keyframes,
C=m.autoRevert,
A=t._dur,
P=t._startAt,
D=t._targets,
S=t.parent,
z=S&&"nested"===S.data ? S.parent._targets:D,
F="auto"===t._overwrite,
R=t.timeline;
if(!R||M&&g||(g="none"), t._ease=Rt(g, I.ease), t._yEase=O ? Ft(Rt(!0===O ? g:O, I.ease)):0, O&&t._yoyo&&!t._repeat&&(O=t._yEase, t._yEase=t._ease, t._ease=O), !R){
if(_=(l=D[0] ? Z(D[0]).harness:0)&&m[l.prop], r=la(m, ut), P&&P.render(-1, !0).kill(), v){
if(qa(t._startAt=Xt.set(D, ha({
data: "isStart",
overwrite: !1,
parent: S,
immediateRender: !0,
lazy: s(T),
startAt: null,
delay: 0,
onUpdate: b,
onUpdateParams: w,
callbackScope: x,
stagger: 0
}, v))), y)
if(0 < e) C||(t._startAt=0);
else if(A&&!(e < 0&&P)) return void(e&&(t._zTime=e))
}else if(k&&A)
if(P) C||(t._startAt=0);
else if(e&&(y = !1), n=ha({
overwrite: !1,
data: "isFromStart",
lazy: y&&s(T),
immediateRender: y,
stagger: 0,
parent: S
}, r), _&&(n[l.prop]=_), qa(t._startAt=Xt.set(D, n)), y){
if(!e) return
} else _initTween(t._startAt, U);
for (t._pt=0, T=A&&s(T)||T&&!A, i=0; i < D.length; i++){
if(h=(o=D[i])._gsap||Y(D)[i]._gsap, t._ptLookup[i]=d = {}, lt[h.id]&&da(), p=z===D ? i:z.indexOf(o), l&&!1!==(f=new l).init(o, _||r, t, p, z)&&(t._pt=a = new ie(t._pt, o, f.name, 0, 1, f.render, f, 0, f.priority), f._props.forEach(function (t){
d[t]=a
}), f.priority&&(u=1)), !l||_)
for (n in r) ft[n]&&(f=Nb(n, r, t, p, o, z)) ? f.priority&&(u=1):d[n]=a = Yt.call(t, o, n, "get", r[n], p, z, 0, m.stringFilter);
t._op&&t._op[i]&&t.kill(o, t._op[i]), F&&t._pt&&(qt=t, E.killTweensOf(o, d, t.globalTime(0)), c = !t.parent, qt=0), t._pt&&T && (lt[h.id]=1)
}
u&&re(t), t._onInit&&t._onInit(t)
}
t._from = !R&&!!m.runBackwards, t._onUpdate=b, t._initted=(!t._op||t._pt)&&!c
},
jt=function _parseFuncOrString(t, e, r, i, a){
return o(t) ? t.call(e, r, i, a):n(t)&&~t.indexOf("random(") ? ab(t):t
},
Ut=ct + "repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase",
Vt=(Ut + ",id,stagger,delay,duration,paused,scrollTrigger").split(","),
Xt=function (S){
function Tween(t, e, i, n){
var a;
"number"==typeof e&&(i.duration=e, e=i, i=null);
var o, h, l, f, d, _, c, m, g=(a=S.call(this, n ? e:ma(e), i)||this).vars,
v=g.duration,
y=g.delay,
T=g.immediateRender,
b=g.stagger,
w=g.overwrite,
x=g.keyframes,
k=g.defaults,
C=g.scrollTrigger,
A=g.yoyoEase,
P=a.parent,
D=(tt(t)||H(t) ? p(t[0]):"length" in e) ? [t]:bt(t);
if(a._targets=D.length ? Y(D):M("GSAP target " + t + " not found. https://greensock.com", !j.nullTargetWarn)||[], a._ptLookup=[], a._overwrite=w, x||b || u(v)||u(y)){
if(e=a.vars, (o=a.timeline=new Bt({
data: "nested",
defaults: k||{}})).kill(), o.parent=_assertThisInitialized(a), x) ha(o.vars.defaults, {
ease: "none"
}), x.forEach(function (t){
return o.to(D, t, ">")
});
else {
if(f=D.length, c=b ? Sa(b):O, r(b))
for (d in b) ~Ut.indexOf(d)&&((m=m||{})[d]=b[d]);
for (h=0; h < f; h++){
for (d in l={}, e) Vt.indexOf(d) < 0&&(l[d]=e[d]);
l.stagger=0, A&&(l.yoyoEase=A), m&&mt(l, m), _=D[h], l.duration=+jt(v, _assertThisInitialized(a), h, _, D), l.delay=(+jt(y, _assertThisInitialized(a), h, _, D)||0) - a._delay, !b&&1===f&&l.delay&&(a._delay=y = l.delay, a._start +=y, l.delay=0), o.to(_, l, c(h, _, D))
}
o.duration() ? v=y = 0:a.timeline=0
}
v||a.duration(v=o.duration())
} else a.timeline=0;
return !0===w&&(qt=_assertThisInitialized(a), E.killTweensOf(D), qt=0), P&&za(P, _assertThisInitialized(a)), (T||!v&&!x&&a._start===aa(P._time)&&s(T)&&function _hasNoPausedAncestors(t){
return !t||t._ts&&_hasNoPausedAncestors(t.parent)
}(_assertThisInitialized(a))&&"nested"!==P.data)&&(a._tTime=-U, a.render(Math.max(0, -y))), C&&Ba(_assertThisInitialized(a), C), a
}
_inheritsLoose(Tween, S);
var t=Tween.prototype;
return t.render=function render(t, e, r){
var i, n, a, s, o, u, h, l, f, d=this._time,
p=this._tDur,
_=this._dur,
c=p - U < t&&0 <=t ? p:t < U ? 0:t;
if(_){
if(c!==this._tTime||!t||r || this._startAt&&this._zTime < 0!=t < 0){
if(i=c, l=this.timeline, this._repeat){
if(s=_ + this._rDelay, i=aa(c % s), c===p ? (a=this._repeat, i=_):((a=~~(c / s))&&a===c / s&&(i=_, a--), _ < i&&(i=_)), (u=this._yoyo&&1 & a)&&(f=this._yEase, i=_ - i), o=gt(this._tTime, s), i===d&&!r&&this._initted) return this;
a!==o&&(l&&this._yEase&&Bb(l, u), !this.vars.repeatRefresh||u || this._lock||(this._lock=r = 1, this.render(aa(s * a), !0).invalidate()._lock=0))
}
if(!this._initted){
if(Ca(this, t < 0 ? t:i, r, e)) return this._tTime=0, this;
if(_!==this._dur) return this.render(t, e, r)
}
for (this._tTime=c, this._time=i, !this._act&&this._ts&&(this._act=1, this._lazy=0), this.ratio=h = (f||this._ease)(i / _), this._from&&(this.ratio=h = 1 - h), !i||d || e||xt(this, "onStart"), n=this._pt; n;) n.r(h, n.d), n=n._next;
l&&l.render(t < 0 ? t:!i&&u ? -U:l._dur * h, e, r)||this._startAt&&(this._zTime=t), this._onUpdate&&!e&&(t < 0&&this._startAt&&this._startAt.render(t, !0, r), xt(this, "onUpdate")), this._repeat&&a!==o&&this.vars.onRepeat&&!e&&this.parent&&xt(this, "onRepeat"), c!==this._tDur&&c||this._tTime!==c||(t < 0&&this._startAt&&!this._onUpdate&&this._startAt.render(t, !0, !0), !t&&_||!(c===this._tDur&&0 < this._ts||!c&&this._ts < 0)||qa(this, 1), e||t < 0&&!d||!c&&!d||(xt(this, c===p ? "onComplete":"onReverseComplete", !0), !this._prom||c < p&&0 < this.timeScale()||this._prom()))
}} else ! function _renderZeroDurationTween(t, e, r, i){
var n, a, s=t.ratio,
o=e < 0||!e&&s && !t._start&&t._zTime > U&&!t._dp._lock||(t._ts < 0||t._dp._ts < 0)&&"isFromStart"!==t.data&&"isStart"!==t.data ? 0:1,
u=t._rDelay,
h=0;
if(u&&t._repeat&&(h=yt(0, t._tDur, e), gt(h, u)!==(a=gt(t._tTime, u))&&(s=1 - o, t.vars.repeatRefresh&&t._initted&&t.invalidate())), t._initted||!Ca(t, e, i, r))
if(o!==s||i || t._zTime===U||!e&&t._zTime){
for (a=t._zTime, t._zTime=e||(r ? U:0), r=r||e&&!a, t.ratio=o, t._from&&(o=1 - o), t._time=0, t._tTime=h, r||xt(t, "onStart"), n=t._pt; n;) n.r(o, n.d), n=n._next;
t._startAt&&e < 0&&t._startAt.render(e, !0, !0), t._onUpdate&&!r&&xt(t, "onUpdate"), h&&t._repeat&&!r&&t.parent&&xt(t, "onRepeat"), (e >=t._tDur||e < 0)&&t.ratio===o&&(o&&qa(t, 1), r||(xt(t, o ? "onComplete":"onReverseComplete", !0), t._prom&&t._prom()))
} else t._zTime||(t._zTime=e)
}(this, t, e, r);
return this
}, t.targets=function targets(){
return this._targets
}, t.invalidate=function invalidate(){
return this._pt=this._op=this._startAt=this._onUpdate=this._act=this._lazy=0, this._ptLookup=[], this.timeline&&this.timeline.invalidate(), S.prototype.invalidate.call(this)
}, t.kill=function kill(t, e){
if(void 0===e&&(e="all"), !(t||e&&"all"!==e)&&(this._lazy=0, this.parent)) return fb(this);
if(this.timeline){
var r=this.timeline.totalDuration();
return this.timeline.killTweensOf(t, e, qt&&!0!==qt.vars.overwrite)._first||fb(this), this.parent&&r!==this.timeline.totalDuration()&&Fa(this, this._dur * this.timeline._tDur / r, 0, 1), this
}
var i, a, s, o, u, h, l, f=this._targets,
d=t ? bt(t):f,
p=this._ptLookup,
c=this._pt;
if((!e||"all"===e)&&function _arraysMatch(t, e){
for (var r=t.length, i=r===e.length; i&&r--&&t[r]===e[r];);
return r < 0
}(f, d)) return "all"===e&&(this._pt=0), fb(this);
for (i=this._op=this._op||[], "all"!==e&&(n(e)&&(u={}, _(e, function (t){
return u[t]=1
}), e=u), e=function _addAliasesToVars(t, e){
var r, i, n, a, s=t[0] ? Z(t[0]).harness:0,
o=s&&s.aliases;
if(!o) return e;
for (i in r=mt({}, e), o)
if(i in r)
for (n=(a=o[i].split(",")).length; n--;) r[a[n]]=r[i];
return r
}(f, e)), l=f.length; l--;)
if(~d.indexOf(f[l]))
for (u in a=p[l], "all"===e ? (i[l]=e, o=a, s={}):(s=i[l]=i[l]||{}, o=e), o)(h=a&&a[u])&&("kill" in h.d&&!0!==h.d.kill(u)||pa(this, h, "_pt"), delete a[u]), "all"!==s&&(s[u]=1);
return this._initted&&!this._pt&&c && fb(this), this
}, Tween.to=function to(t, e, r){
return new Tween(t, e, r)
}, Tween.from=function from(t, e){
return new Tween(t, ca(arguments, 1))
}, Tween.delayedCall=function delayedCall(t, e, r, i){
return new Tween(e, 0, {
immediateRender: !1,
lazy: !1,
overwrite: !1,
delay: t,
onComplete: e,
onReverseComplete: e,
onCompleteParams: r,
onReverseCompleteParams: r,
callbackScope: i
})
}, Tween.fromTo=function fromTo(t, e, r){
return new Tween(t, ca(arguments, 2))
}, Tween.set=function set(t, e){
return e.duration=0, e.repeatDelay||(e.repeat=0), new Tween(t, e)
}, Tween.killTweensOf=function killTweensOf(t, e, r){
return E.killTweensOf(t, e, r)
}, Tween
}(Lt);
ha(Xt.prototype, {
_targets: [],
_lazy: 0,
_startAt: 0,
_op: 0,
_onInit: 0
}), _("staggerTo,staggerFrom,staggerFromTo", function (r){
Xt[r]=function (){
var t=new Bt,
e=Tt.call(arguments, 0);
return e.splice("staggerFromTo"===r ? 5:4, 0, 0), t[r].apply(t, e)
}});
function Yb(t, e, r){
return t.setAttribute(e, r)
}
function ec(t, e, r, i){
i.mSet(t, e, i.m.call(i.tween, r, i.mt), i)
}
var Gt=function _setterPlain(t, e, r){
return t[e]=r
},
Zt=function _setterFunc(t, e, r){
return t[e](r)
},
Jt=function _setterFuncWithParam(t, e, r, i){
return t[e](i.fp, r)
},
Qt=function _getSetter(t, e){
return o(t[e]) ? Zt:q(t[e])&&t.setAttribute ? Yb:Gt
},
Wt=function _renderPlain(t, e){
return e.set(e.t, e.p, Math.round(1e4 * (e.s + e.c * t)) / 1e4, e)
},
$t=function _renderBoolean(t, e){
return e.set(e.t, e.p, !!(e.s + e.c * t), e)
},
Ht=function _renderComplexString(t, e){
var r=e._pt,
i="";
if(!t&&e.b) i=e.b;
else if(1===t&&e.e) i=e.e;
else {
for (; r;) i=r.p + (r.m ? r.m(r.s + r.c * t):Math.round(1e4 * (r.s + r.c * t)) / 1e4) + i, r=r._next;
i +=e.c
}
e.set(e.t, e.p, i, e)
},
Kt=function _renderPropTweens(t, e){
for (var r=e._pt; r;) r.r(t, r.d), r=r._next
},
te=function _addPluginModifier(t, e, r, i){
for (var n, a=this._pt; a;) n=a._next, a.p===i&&a.modifier(t, e, r), a=n
},
ee=function _killPropTweensOf(t){
for (var e, r, i=this._pt; i;) r=i._next, i.p===t&&!i.op||i.op===t ? pa(this, i, "_pt"):i.dep||(e=1), i=r;
return !e
},
re=function _sortPropTweensByPriority(t){
for (var e, r, i, n, a=t._pt; a;){
for (e=a._next, r=i; r&&r.pr > a.pr;) r=r._next;
(a._prev=r ? r._prev:n) ? a._prev._next=a: i=a, (a._next=r) ? r._prev=a:n=a, a=e
}
t._pt=i
},
ie=(PropTween.prototype.modifier=function modifier(t, e, r){
this.mSet=this.mSet||this.set, this.set=ec, this.m=t, this.mt=r, this.tween=e
}, PropTween);
function PropTween(t, e, r, i, n, a, s, o, u){
this.t=e, this.s=i, this.c=n, this.p=r, this.r=a||Wt, this.d=s||this, this.set=o||Gt, this.pr=u||0, (this._next=t)&&(t._prev=this)
}
_(ct + "parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger", function (t){
return ut[t]=1
}), ot.TweenMax=ot.TweenLite=Xt, ot.TimelineLite=ot.TimelineMax=Bt, E=new Bt({
sortChildren: !1,
defaults: I,
autoRemoveChildren: !0,
id: "root",
smoothChildTiming: !0
}), j.stringFilter=qb;
var ne={
registerPlugin: function registerPlugin(){
for (var t=arguments.length, e=new Array(t), r=0; r < t; r++) e[r]=arguments[r];
e.forEach(function (t){
return function _createPlugin(t){
var e=(t = !t.name&&t.default||t).name,
r=o(t),
i=e&&!r&&t.init ? function (){
this._props=[]
}:t,
n={
init: O,
render: Kt,
add: Yt,
kill: ee,
modifier: te,
rawVars: 0
},
a={
targetTest: 0,
get: 0,
getSetter: Qt,
aliases: {},
register: 0
};
if(Pt(), t!==i){
if(ft[e]) return;
ha(i, ha(la(t, n), a)), mt(i.prototype, mt(n, la(t, a))), ft[i.prop=e]=i, t.targetTest&&(_t.push(i), ut[e]=1), e=("css"===e ? "CSS":e.charAt(0).toUpperCase() + e.substr(1)) + "Plugin"
}
N(e, i), t.register&&t.register(ae, i, ie)
}(t)
})
},
timeline: function timeline(t){
return new Bt(t)
},
getTweensOf: function getTweensOf(t, e){
return E.getTweensOf(t, e)
},
getProperty: function getProperty(i, t, e, r){
n(i)&&(i=bt(i)[0]);
var a=Z(i||{}).get,
s=e ? ga:fa;
return "native"===e&&(e=""), i ? t ? s((ft[t]&&ft[t].get||a)(i, t, e, r)):function (t, e, r){
return s((ft[t]&&ft[t].get||a)(i, t, e, r))
}:i
},
quickSetter: function quickSetter(r, e, i){
if(1 < (r=bt(r)).length){
var n=r.map(function (t){
return ae.quickSetter(t, e, i)
}),
a=n.length;
return function (t){
for (var e=a; e--;) n[e](t)
}}
r=r[0]||{};
var s=ft[e],
o=Z(r),
u=o.harness&&(o.harness.aliases||{})[e]||e,
h=s ? function (t){
var e=new s;
c._pt=0, e.init(r, i ? t + i:t, c, 0, [r]), e.render(1, e), c._pt&&Kt(1, c)
}:o.set(r, u);
return s ? h:function (t){
return h(r, u, i ? t + i:t, o, 1)
}},
isTweening: function isTweening(t){
return 0 < E.getTweensOf(t, !0).length
},
defaults: function defaults(t){
return t&&t.ease&&(t.ease=Rt(t.ease, I.ease)), ka(I, t||{})
},
config: function config(t){
return ka(j, t||{})
},
registerEffect: function registerEffect(t){
var n=t.name,
i=t.effect,
e=t.plugins,
a=t.defaults,
s=t.extendTimeline;
(e||"").split(",").forEach(function (t){
return t&&!ft[t]&&!ot[t]&&M(n + " effect requires " + t + " plugin.")
}), dt[n]=function (t, e, r){
return i(bt(t), ha(e||{}, a), r)
}, s&&(Bt.prototype[n]=function (t, e, i){
return this.add(dt[n](t, r(e) ? e:(i=e)&&{}, this), i)
})
},
registerEase: function registerEase(t, e){
Dt[t]=Rt(e)
},
parseEase: function parseEase(t, e){
return arguments.length ? Rt(t, e):Dt
},
getById: function getById(t){
return E.getById(t)
},
exportRoot: function exportRoot(t, e){
void 0===t&&(t={});
var r, i, n=new Bt(t);
for (n.smoothChildTiming=s(t.smoothChildTiming), E.remove(n), n._dp=0, n._time=n._tTime=E._time, r=E._first; r;) i=r._next, !e&&!r._dur&&r instanceof Xt&&r.vars.onComplete===r._targets[0]||Aa(n, r, r._start - r._delay), r=i;
return Aa(E, n, 0), n
},
utils: {
wrap: function wrap(e, t, r){
var i=t - e;
return tt(e) ? Za(e, wrap(0, e.length), t):Ja(r, function (t){
return (i + (t - e) % i) % i + e
})
},
wrapYoyo: function wrapYoyo(e, t, r){
var i=t - e,
n=2 * i;
return tt(e) ? Za(e, wrapYoyo(0, e.length - 1), t):Ja(r, function (t){
return e + (i < (t=(n + (t - e) % n) % n||0) ? n - t:t)
})
},
distribute: Sa,
random: Va,
snap: Ua,
normalize: function normalize(t, e, r){
return wt(t, e, 0, 1, r)
},
getUnit: La,
clamp: function clamp(e, r, t){
return Ja(t, function (t){
return yt(e, r, t)
})
},
splitColor: lb,
toArray: bt,
mapRange: wt,
pipe: function pipe(){
for (var t=arguments.length, e=new Array(t), r=0; r < t; r++) e[r]=arguments[r];
return function (t){
return e.reduce(function (t, e){
return e(t)
}, t)
}},
unitize: function unitize(e, r){
return function (t){
return e(parseFloat(t)) + (r||La(t))
}},
interpolate: function interpolate(e, r, t, i){
var a=isNaN(e + r) ? 0:function (t){
return (1 - t) * e + t * r
};
if(!a){
var s, o, u, h, l, f=n(e),
d={};
if(!0===t&&(i=1)&&(t=null), f) e={
p: e
}, r={
p: r
};
else if(tt(e)&&!tt(r)){
for (u=[], h=e.length, l=h - 2, o=1; o < h; o++) u.push(interpolate(e[o - 1], e[o]));
h--, a=function func(t){
t *=h;
var e=Math.min(l, ~~t);
return u[e](t - e)
}, t=r
} else i||(e=mt(tt(e) ? []:{}, e));
if(!u){
for (s in r) Yt.call(d, e, s, "get", r[s]);
a=function func(t){
return Kt(t, d)||(f ? e.p:e)
}}
}
return Ja(t, a)
},
shuffle: Ra
},
install: K,
effects: dt,
ticker: At,
updateRoot: Bt.updateRoot,
plugins: ft,
globalTimeline: E,
core: {
PropTween: ie,
globals: N,
Tween: Xt,
Timeline: Bt,
Animation: Lt,
getCache: Z,
_removeLinkedListItem: pa
}};
_("to,from,fromTo,delayedCall,set,killTweensOf", function (t){
return ne[t]=Xt[t]
}), At.add(Bt.updateRoot), c=ne.to({}, {
duration: 0
});
function ic(t, e){
for (var r=t._pt; r&&r.p!==e&&r.op!==e&&r.fp!==e;) r=r._next;
return r
}
function kc(t, a){
return {
name: t,
rawVars: 1,
init: function init(t, i, e){
e._onInit=function (t){
var e, r;
if(n(i)&&(e={}, _(i, function (t){
return e[t]=1
}), i=e), a){
for (r in e={}, i) e[r]=a(i[r]);
i=e
}! function _addModifiers(t, e){
var r, i, n, a=t._targets;
for (r in e)
for (i=a.length; i--;)(n=(n=t._ptLookup[i][r])&&n.d)&&(n._pt&&(n=ic(n, r)), n&&n.modifier&&n.modifier(e[r], t, a[i], r))
}(t, i)
}}
}}
var ae=ne.registerPlugin({
name: "attr",
init: function init(t, e, r, i, n){
var a, s;
for (a in e)(s=this.add(t, "setAttribute", (t.getAttribute(a)||0) + "", e[a], i, n, 0, 0, a))&&(s.op=a), this._props.push(a)
}}, {
name: "endArray",
init: function init(t, e){
for (var r=e.length; r--;) this.add(t, r, t[r]||0, e[r])
}}, kc("roundProps", Ta), kc("modifiers"), kc("snap", Ua))||ne;
Xt.version=Bt.version=ae.version="3.5.0", f=1, t()&&Pt();
function Vc(t, e){
return e.set(e.t, e.p, Math.round(1e4 * (e.s + e.c * t)) / 1e4 + e.u, e)
}
function Wc(t, e){
return e.set(e.t, e.p, 1===t ? e.e:Math.round(1e4 * (e.s + e.c * t)) / 1e4 + e.u, e)
}
function Xc(t, e){
return e.set(e.t, e.p, t ? Math.round(1e4 * (e.s + e.c * t)) / 1e4 + e.u:e.b, e)
}
function Yc(t, e){
var r=e.s + e.c * t;
e.set(e.t, e.p, ~~(r + (r < 0 ? -.5 : .5)) + e.u, e)
}
function Zc(t, e){
return e.set(e.t, e.p, t ? e.e:e.b, e)
}
function $c(t, e){
return e.set(e.t, e.p, 1!==t ? e.b:e.e, e)
}
function _c(t, e, r){
return t.style[e]=r
}
function ad(t, e, r){
return t.style.setProperty(e, r)
}
function bd(t, e, r){
return t._gsap[e]=r
}
function cd(t, e, r){
return t._gsap.scaleX=t._gsap.scaleY=r
}
function dd(t, e, r, i, n){
var a=t._gsap;
a.scaleX=a.scaleY=r, a.renderTransform(n, a)
}
function ed(t, e, r, i, n){
var a=t._gsap;
a[e]=r, a.renderTransform(n, a)
}
function id(t, e){
var r=oe.createElementNS ? oe.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/, "http"), t):oe.createElement(t);
return r.style ? r:oe.createElement(t)
}
function jd(t, e, r){
var i=getComputedStyle(t);
return i[e]||i.getPropertyValue(e.replace(Ie, "-$1").toLowerCase())||i.getPropertyValue(e)||!r&&jd(t, Ue(e)||e, 1)||""
}
function md(){
(function _windowExists(){
return "undefined"!=typeof window
})()&&window.document&&(se=window, oe=se.document, ue=oe.documentElement, le=id("div")||{
style: {}}, fe=id("div"), Ye=Ue(Ye), Ne=Ye + "Origin", le.style.cssText="border-width:0;line-height:0;position:absolute;padding:0", pe = !!Ue("perspective"), he=1)
}
function nd(t){
var e, r=id("svg", this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),
i=this.parentNode,
n=this.nextSibling,
a=this.style.cssText;
if(ue.appendChild(r), r.appendChild(this), this.style.display="block", t) try {
e=this.getBBox(), this._gsapBBox=this.getBBox, this.getBBox=nd
} catch (t){} else this._gsapBBox&&(e=this._gsapBBox());
return i&&(n ? i.insertBefore(this, n):i.appendChild(this)), ue.removeChild(r), this.style.cssText=a, e
}
function od(t, e){
for (var r=e.length; r--;)
if(t.hasAttribute(e[r])) return t.getAttribute(e[r])
}
function pd(e){
var r;
try {
r=e.getBBox()
} catch (t){
r=nd.call(e, !0)
}
return r&&(r.width||r.height)||e.getBBox===nd||(r=nd.call(e, !0)), !r||r.width||r.x||r.y ? r:{
x: +od(e, ["x", "cx", "x1"])||0,
y: +od(e, ["y", "cy", "y1"])||0,
width: 0,
height: 0
}}
function qd(t){
return !(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!pd(t))
}
function rd(t, e){
if(e){
var r=t.style;
e in ze&&e!==Ne&&(e=Ye), r.removeProperty ? ("ms"!==e.substr(0, 2)&&"webkit"!==e.substr(0, 6)||(e="-" + e), r.removeProperty(e.replace(Ie, "-$1").toLowerCase())):r.removeAttribute(e)
}}
function sd(t, e, r, i, n, a){
var s=new ie(t._pt, e, r, 0, 1, a ? $c:Zc);
return (t._pt=s).b=i, s.e=n, t._props.push(r), s
}
function ud(t, e, r, i){
var n, a, s, o, u=parseFloat(r)||0,
h=(r + "").trim().substr((u + "").length)||"px",
l=le.style,
f=Le.test(e),
d="svg"===t.tagName.toLowerCase(),
p=(d ? "client":"offset") + (f ? "Width":"Height"),
_="px"===i,
c="%"===i;
return i===h||!u||Ve[i]||Ve[h] ? u:("px"===h||_ || (u=ud(t, e, r, "px")), o=t.getCTM&&qd(t), c&&(ze[e]||~e.indexOf("adius")) ? aa(u / (o ? t.getBBox()[f ? "width":"height"]:t[p]) * 100):(l[f ? "width":"height"]=100 + (_ ? h:i), a=~e.indexOf("adius")||"em"===i&&t.appendChild&&!d ? t:t.parentNode, o&&(a=(t.ownerSVGElement||{}).parentNode), a&&a!==oe&&a.appendChild||(a=oe.body), (s=a._gsap)&&c && s.width&&f && s.time===At.time ? aa(u / s.width * 100):(!c&&"%"!==h||(l.position=jd(t, "position")), a===t&&(l.position="static"), a.appendChild(le), n=le[p], a.removeChild(le), l.position="absolute", f&&c && ((s=Z(a)).time=At.time, s.width=a[p]), aa(_ ? n * u / 100:n&&u ? 100 / n * u:0))))
}
function vd(t, e, r, i){
var n;
return he||md(), e in qe&&"transform"!==e&&~(e=qe[e]).indexOf(",")&&(e=e.split(",")[0]), ze[e]&&"transform"!==e ? (n=Qe(t, i), n="transformOrigin"!==e ? n[e]:We(jd(t, Ne)) + " " + n.zOrigin + "px"):(n=t.style[e])&&"auto"!==n&&!i&&!~(n + "").indexOf("calc(")||(n=Ge[e]&&Ge[e](t, e, r)||jd(t, e)||$(t, e)||("opacity"===e ? 1:0)), r&&!~(n + "").indexOf(" ") ? ud(t, e, n, r) + r:n
}
function wd(t, e, r, i){
if(!r||"none"===r){
var n=Ue(e, t, 1),
a=n&&jd(t, n, 1);
a&&a!==r ? (e=n, r=a):"borderColor"===e&&(r=jd(t, "borderTopColor"))
}
var s, o, u, h, l, f, d, p, _, c, m, g, v=new ie(this._pt, t.style, e, 0, 1, Ht),
y=0,
T=0;
if(v.b=r, v.e=i, r +="", "auto"===(i +="")&&(t.style[e]=i, i=jd(t, e)||i, t.style[e]=r), qb(s=[r, i]), i=s[1], u=(r=s[0]).match(it)||[], (i.match(it)||[]).length){
for (; o=it.exec(i);) d=o[0], _=i.substring(y, o.index), l ? l=(l + 1) % 5:"rgba("!==_.substr(-5)&&"hsla("!==_.substr(-5)||(l=1), d!==(f=u[T++]||"")&&(h=parseFloat(f)||0, m=f.substr((h + "").length), (g="="===d.charAt(1) ? +(d.charAt(0) + "1"):0)&&(d=d.substr(2)), p=parseFloat(d), c=d.substr((p + "").length), y=it.lastIndex - c.length, c||(c=c||j.units[e]||m, y===i.length&&(i +=c, v.e +=c)), m!==c&&(h=ud(t, e, f, c)||0), v._pt={
_next: v._pt,
p: _||1===T ? _:",",
s: h,
c: g ? g * p:p - h,
m: l&&l < 4 ? Math.round:0
});
v.c=y < i.length ? i.substring(y, i.length):""
} else v.r="display"===e&&"none"===i ? $c:Zc;
return at.test(i)&&(v.e=0), this._pt=v
}
function yd(t){
var e=t.split(" "),
r=e[0],
i=e[1]||"50%";
return "top"!==r&&"bottom"!==r&&"left"!==i&&"right"!==i||(t=r, r=i, i=t), e[0]=Xe[r]||r, e[1]=Xe[i]||i, e.join(" ")
}
function zd(t, e){
if(e.tween&&e.tween._time===e.tween._dur){
var r, i, n, a=e.t,
s=a.style,
o=e.u,
u=a._gsap;
if("all"===o||!0===o) s.cssText="", i=1;
else
for (n=(o=o.split(",")).length; - 1 < --n;) r=o[n], ze[r]&&(i=1, r="transformOrigin"===r ? Ne:Ye), rd(a, r);
i&&(rd(a, Ye), u&&(u.svg&&a.removeAttribute("transform"), Qe(a, 1), u.uncache=1))
}}
function Dd(t){
return "matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t
}
function Ed(t){
var e=jd(t, Ye);
return Dd(e) ? Ze:e.substr(7).match(rt).map(aa)
}
function Fd(t, e){
var r, i, n, a, s=t._gsap||Z(t),
o=t.style,
u=Ed(t);
return s.svg&&t.getAttribute("transform") ? "1,0,0,1,0,0"===(u=[(n=t.transform.baseVal.consolidate().matrix).a, n.b, n.c, n.d, n.e, n.f]).join(",") ? Ze:u : (u!==Ze||t.offsetParent||t===ue||s.svg||(n=o.display, o.display="block", (r=t.parentNode)&&t.offsetParent||(a=1, i=t.nextSibling, ue.appendChild(t)), u=Ed(t), n ? o.display=n:rd(t, "display"), a&&(i ? r.insertBefore(t, i):r ? r.appendChild(t):ue.removeChild(t))), e&&6 < u.length ? [u[0], u[1], u[4], u[5], u[12], u[13]]:u)
}
function Gd(t, e, r, i, n, a){
var s, o, u, h=t._gsap,
l=n||Fd(t, !0),
f=h.xOrigin||0,
d=h.yOrigin||0,
p=h.xOffset||0,
_=h.yOffset||0,
c=l[0],
m=l[1],
g=l[2],
v=l[3],
y=l[4],
T=l[5],
b=e.split(" "),
w=parseFloat(b[0])||0,
x=parseFloat(b[1])||0;
r ? l!==Ze&&(o=c * v - m * g)&&(u=w * (-m / o) + x * (c / o) - (c * T - m * y) / o, w=w * (v / o) + x * (-g / o) + (g * T - v * y) / o, x=u):(w=(s=pd(t)).x + (~b[0].indexOf("%") ? w / 100 * s.width:w), x=s.y + (~(b[1]||b[0]).indexOf("%") ? x / 100 * s.height:x)), i||!1!==i&&h.smooth ? (y=w - f, T=x - d, h.xOffset=p + (y * c + T * g) - y, h.yOffset=_ + (y * m + T * v) - T):h.xOffset=h.yOffset=0, h.xOrigin=w, h.yOrigin=x, h.smooth = !!i, h.origin=e, h.originIsAbsolute = !!r, t.style[Ne]="0px 0px", a&&(sd(a, h, "xOrigin", f, w), sd(a, h, "yOrigin", d, x), sd(a, h, "xOffset", p, h.xOffset), sd(a, h, "yOffset", _, h.yOffset)), t.setAttribute("data-svg-origin", w + " " + x)
}
function Jd(t, e, r){
var i=La(e);
return aa(parseFloat(e) + parseFloat(ud(t, "x", r + "px", i))) + i
}
function Qd(t, e, r, i, a, s){
var o, u, h=360,
l=n(a),
f=parseFloat(a) * (l&&~a.indexOf("rad") ? Fe:1),
d=s ? f * s:f - i,
p=i + d + "deg";
return l&&("short"===(o=a.split("_")[1])&&(d %=h)!==d % 180&&(d +=d < 0 ? h:-h), "cw"===o&&d < 0 ? d=(d + 36e9) % h - ~~(d / h) * h:"ccw"===o&&0 < d&&(d=(d - 36e9) % h - ~~(d / h) * h)), t._pt=u = new ie(t._pt, e, r, i, d, Wc), u.e=p, u.u="deg", t._props.push(r), u
}
function Rd(t, e, r){
var i, n, a, s, o, u, h, l=fe.style,
f=r._gsap;
for (n in l.cssText=getComputedStyle(r).cssText + ";position:absolute;display:block;", l[Ye]=e, oe.body.appendChild(fe), i=Qe(fe, 1), ze)(a=f[n])!==(s=i[n])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(n) < 0&&(o=La(a)!==(h=La(s)) ? ud(r, n, a, h):parseFloat(a), u=parseFloat(s), t._pt=new ie(t._pt, f, n, o, u - o, Vc), t._pt.u=h||0, t._props.push(n));
oe.body.removeChild(fe)
}
var se, oe, ue, he, le, fe, de, pe, _e=Dt.Power0,
ce=Dt.Power1,
me=Dt.Power2,
ge=Dt.Power3,
ve=Dt.Power4,
ye=Dt.Linear,
Te=Dt.Quad,
be=Dt.Cubic,
we=Dt.Quart,
xe=Dt.Quint,
ke=Dt.Strong,
Oe=Dt.Elastic,
Me=Dt.Back,
Ce=Dt.SteppedEase,
Ae=Dt.Bounce,
Pe=Dt.Sine,
De=Dt.Expo,
Se=Dt.Circ,
ze={},
Fe=180 / Math.PI,
Re=Math.PI / 180,
Ee=Math.atan2,
Ie=/([A-Z])/g,
Le=/(?:left|right|width|margin|padding|x)/i,
Be=/[\s,\(]\S/,
qe={
autoAlpha: "opacity,visibility",
scale: "scaleX,scaleY",
alpha: "opacity"
},
Ye="transform",
Ne=Ye + "Origin",
je="O,Moz,ms,Ms,Webkit".split(","),
Ue=function _checkPropPrefix(t, e, r){
var i=(e||le).style,
n=5;
if(t in i&&!r) return t;
for (t=t.charAt(0).toUpperCase() + t.substr(1); n--&&!(je[n] + t in i););
return n < 0 ? null:(3===n ? "ms":0 <=n ? je[n]:"") + t
},
Ve={
deg: 1,
rad: 1,
turn: 1
},
Xe={
top: "0%",
bottom: "100%",
left: "0%",
right: "100%",
center: "50%"
},
Ge={
clearProps: function clearProps(t, e, r, i, n){
if("isFromStart"!==n.data){
var a=t._pt=new ie(t._pt, e, r, 0, 0, zd);
return a.u=i, a.pr=-10, a.tween=n, t._props.push(r), 1
}}
},
Ze=[1, 0, 0, 1, 0, 0],
Je={},
Qe=function _parseTransform(t, e){
var r=t._gsap||new It(t);
if("x" in r&&!e&&!r.uncache) return r;
var i, n, a, s, o, u, h, l, f, d, p, _, c, m, g, v, y, T, b, w, x, k, O, M, C, A, P, D, S, z, F, R, E=t.style,
I=r.scaleX < 0,
L="deg",
B=jd(t, Ne)||"0";
return i=n = a=u = h=l = f=d = p=0, s=o = 1, r.svg = !(!t.getCTM||!qd(t)), m=Fd(t, r.svg), r.svg&&(M = !r.uncache&&t.getAttribute("data-svg-origin"), Gd(t, M||B, !!M||r.originIsAbsolute, !1!==r.smooth, m)), _=r.xOrigin||0, c=r.yOrigin||0, m!==Ze&&(T=m[0], b=m[1], w=m[2], x=m[3], i=k = m[4], n=O = m[5], 6===m.length ? (s=Math.sqrt(T * T + b * b), o=Math.sqrt(x * x + w * w), u=T||b ? Ee(b, T) * Fe:0, (f=w||x ? Ee(w, x) * Fe + u:0)&&(o *=Math.cos(f * Re)), r.svg&&(i -=_ - (_ * T + c * w), n -=c - (_ * b + c * x))):(R=m[6], z=m[7], P=m[8], D=m[9], S=m[10], F=m[11], i=m[12], n=m[13], a=m[14], h=(g=Ee(R, S)) * Fe, g&&(M=k * (v=Math.cos(-g)) + P * (y=Math.sin(-g)), C=O * v + D * y, A=R * v + S * y, P=k * -y + P * v, D=O * -y + D * v, S=R * -y + S * v, F=z * -y + F * v, k=M, O=C, R=A), l=(g=Ee(-w, S)) * Fe, g&&(v=Math.cos(-g), F=x * (y=Math.sin(-g)) + F * v, T=M = T * v - P * y, b=C = b * v - D * y, w=A = w * v - S * y), u=(g=Ee(b, T)) * Fe, g&&(M=T * (v=Math.cos(g)) + b * (y=Math.sin(g)), C=k * v + O * y, b=b * v - T * y, O=O * v - k * y, T=M, k=C), h&&359.9 < Math.abs(h) + Math.abs(u)&&(h=u = 0, l=180 - l), s=aa(Math.sqrt(T * T + b * b + w * w)), o=aa(Math.sqrt(O * O + R * R)), g=Ee(k, O), f=2e-4 < Math.abs(g) ? g * Fe:0, p=F ? 1 / (F < 0 ? -F:F):0), r.svg&&(M=t.getAttribute("transform"), r.forceCSS=t.setAttribute("transform", "")||!Dd(jd(t, Ye)), M&&t.setAttribute("transform", M))), 90 < Math.abs(f)&&Math.abs(f) < 270&&(I ? (s *=-1, f +=u <=0 ? 180:-180, u +=u <=0 ? 180:-180):(o *=-1, f +=f <=0 ? 180:-180)), r.x=((r.xPercent=i&&Math.round(t.offsetWidth / 2)===Math.round(-i) ? -50:0) ? 0:i) + "px", r.y=((r.yPercent=n&&Math.round(t.offsetHeight / 2)===Math.round(-n) ? -50:0) ? 0:n) + "px", r.z=a + "px", r.scaleX=aa(s), r.scaleY=aa(o), r.rotation=aa(u) + L, r.rotationX=aa(h) + L, r.rotationY=aa(l) + L, r.skewX=f + L, r.skewY=d + L, r.transformPerspective=p + "px", (r.zOrigin=parseFloat(B.split(" ")[2])||0)&&(E[Ne]=We(B)), r.xOffset=r.yOffset=0, r.force3D=j.force3D, r.renderTransform=r.svg ? rr:pe ? er:$e, r.uncache=0, r
},
We=function _firstTwoOnly(t){
return (t=t.split(" "))[0] + " " + t[1]
},
$e=function _renderNon3DTransforms(t, e){
e.z="0px", e.rotationY=e.rotationX="0deg", e.force3D=0, er(t, e)
},
He="0deg",
Ke="0px",
tr=") ",
er=function _renderCSSTransforms(t, e){
var r=e||this,
i=r.xPercent,
n=r.yPercent,
a=r.x,
s=r.y,
o=r.z,
u=r.rotation,
h=r.rotationY,
l=r.rotationX,
f=r.skewX,
d=r.skewY,
p=r.scaleX,
_=r.scaleY,
c=r.transformPerspective,
m=r.force3D,
g=r.target,
v=r.zOrigin,
y="",
T="auto"===m&&t && 1!==t||!0===m;
if(v&&(l!==He||h!==He)){
var b, w=parseFloat(h) * Re,
x=Math.sin(w),
k=Math.cos(w);
w=parseFloat(l) * Re, b=Math.cos(w), a=Jd(g, a, x * b * -v), s=Jd(g, s, -Math.sin(w) * -v), o=Jd(g, o, k * b * -v + v)
}
c!==Ke&&(y +="perspective(" + c + tr), (i||n)&&(y +="translate(" + i + "%, " + n + "%) "), !T&&a===Ke&&s===Ke&&o===Ke||(y +=o!==Ke||T ? "translate3d(" + a + ", " + s + ", " + o + ") ":"translate(" + a + ", " + s + tr), u!==He&&(y +="rotate(" + u + tr), h!==He&&(y +="rotateY(" + h + tr), l!==He&&(y +="rotateX(" + l + tr), f===He&&d===He||(y +="skew(" + f + ", " + d + tr), 1===p&&1===_||(y +="scale(" + p + ", " + _ + tr), g.style[Ye]=y||"translate(0, 0)"
},
rr=function _renderSVGTransforms(t, e){
var r, i, n, a, s, o=e||this,
u=o.xPercent,
h=o.yPercent,
l=o.x,
f=o.y,
d=o.rotation,
p=o.skewX,
_=o.skewY,
c=o.scaleX,
m=o.scaleY,
g=o.target,
v=o.xOrigin,
y=o.yOrigin,
T=o.xOffset,
b=o.yOffset,
w=o.forceCSS,
x=parseFloat(l),
k=parseFloat(f);
d=parseFloat(d), p=parseFloat(p), (_=parseFloat(_))&&(p +=_ = parseFloat(_), d +=_), d||p ? (d *=Re, p *=Re, r=Math.cos(d) * c, i=Math.sin(d) * c, n=Math.sin(d - p) * -m, a=Math.cos(d - p) * m, p&&(_ *=Re, s=Math.tan(p - _), n *=s = Math.sqrt(1 + s * s), a *=s, _&&(s=Math.tan(_), r *=s = Math.sqrt(1 + s * s), i *=s)), r=aa(r), i=aa(i), n=aa(n), a=aa(a)):(r=c, a=m, i=n = 0), (x&&!~(l + "").indexOf("px")||k&&!~(f + "").indexOf("px"))&&(x=ud(g, "x", l, "px"), k=ud(g, "y", f, "px")), (v||y || T||b)&&(x=aa(x + v - (v * r + y * n) + T), k=aa(k + y - (v * i + y * a) + b)), (u||h)&&(s=g.getBBox(), x=aa(x + u / 100 * s.width), k=aa(k + h / 100 * s.height)), s="matrix(" + r + "," + i + "," + n + "," + a + "," + x + "," + k + ")", g.setAttribute("transform", s), w&&(g.style[Ye]=s)
};
_("padding,margin,Width,Radius", function (e, r){
var t="Right",
i="Bottom",
n="Left",
o=(r < 3 ? ["Top", t, i, n]:["Top" + n, "Top" + t, i + t, i + n]).map(function (t){
return r < 2 ? e + t:"border" + t + e
});
Ge[1 < r ? "border" + e:e]=function (e, t, r, i, n){
var a, s;
if(arguments.length < 4) return a=o.map(function (t){
return vd(e, t, r)
}), 5===(s=a.join(" ")).split(a[0]).length ? a[0]:s;
a=(i + "").split(" "), s={}, o.forEach(function (t, e){
return s[t]=a[e]=a[e]||a[(e - 1) / 2 | 0]
}), e.init(t, s, n)
}});
var ir, nr, ar, sr={
name: "css",
register: md,
targetTest: function targetTest(t){
return t.style&&t.nodeType
},
init: function init(t, e, r, i, n){
var a, s, o, u, h, l, f, d, p, _, c, m, g, v, y, T=this._props,
b=t.style;
for (f in he||md(), e)
if("autoRound"!==f&&(s=e[f], !ft[f]||!Nb(f, e, r, i, t, n)))
if(h=typeof s, l=Ge[f], "function"===h&&(h=typeof (s=s.call(r, i, t, n))), "string"===h&&~s.indexOf("random(")&&(s=ab(s)), l) l(this, t, f, s, r)&&(y=1);
else if("--"===f.substr(0, 2)) this.add(b, "setProperty", getComputedStyle(t).getPropertyValue(f) + "", s + "", i, n, 0, 0, f);
else if("undefined"!==h){
if(a=vd(t, f), u=parseFloat(a), (_="string"===h&&"="===s.charAt(1) ? +(s.charAt(0) + "1"):0)&&(s=s.substr(2)), o=parseFloat(s), f in qe&&("autoAlpha"===f&&(1===u&&"hidden"===vd(t, "visibility")&&o && (u=0), sd(this, b, "visibility", u ? "inherit":"hidden", o ? "inherit":"hidden", !o)), "scale"!==f&&"transform"!==f&&~(f=qe[f]).indexOf(",")&&(f=f.split(",")[0])), c=f in ze)
if(m||((g=t._gsap).renderTransform||Qe(t), v = !1!==e.smoothOrigin&&g.smooth, (m=this._pt=new ie(this._pt, b, Ye, 0, 1, g.renderTransform, g, 0, -1)).dep=1), "scale"===f) this._pt=new ie(this._pt, g, "scaleY", g.scaleY, _ ? _ * o:o - g.scaleY), T.push("scaleY", f), f +="X";
else {
if("transformOrigin"===f){
s=yd(s), g.svg ? Gd(t, s, 0, v, 0, this):((p=parseFloat(s.split(" ")[2])||0)!==g.zOrigin&&sd(this, g, "zOrigin", g.zOrigin, p), sd(this, b, f, We(a), We(s)));
continue
}
if("svgOrigin"===f){
Gd(t, s, 1, v, 0, this);
continue
}
if(f in Je){
Qd(this, g, f, u, s, _);
continue
}
if("smoothOrigin"===f){
sd(this, g, "smooth", g.smooth, s);
continue
}
if("force3D"===f){
g[f]=s;
continue
}
if("transform"===f){
Rd(this, s, t);
continue
}}
else f in b||(f=Ue(f)||f);
if(c||(o||0===o)&&(u||0===u)&&!Be.test(s)&&f in b)(d=(a + "").substr((u + "").length))!==(p=(s + "").substr(((o=o||0) + "").length)||(f in j.units ? j.units[f]:d))&&(u=ud(t, f, a, p)), this._pt=new ie(this._pt, c ? g:b, f, u, _ ? _ * o:o - u, "px"!==p||!1===e.autoRound||c ? Vc:Yc), this._pt.u=p||0, d!==p&&(this._pt.b=a, this._pt.r=Xc);
else if(f in b) wd.call(this, t, f, a, s);
else {
if(!(f in t)){
L(f, s);
continue
}
this.add(t, f, t[f], s, i, n)
}
T.push(f)
}
y&&re(this)
},
get: vd,
aliases: qe,
getSetter: function getSetter(t, e, r){
var i=qe[e];
return i&&i.indexOf(",") < 0&&(e=i), e in ze&&e!==Ne&&(t._gsap.x||vd(t, "x")) ? r&&de===r ? "scale"===e ? cd:bd:(de=r||{})&&("scale"===e ? dd:ed):t.style&&!q(t.style[e]) ? _c:~e.indexOf("-") ? ad:Qt(t, e)
},
core: {
_removeProperty: rd,
_getMatrix: Fd
}};
ae.utils.checkPrefix=Ue, ar=_((ir="x,y,z,scale,scaleX,scaleY,xPercent,yPercent") + "," + (nr="rotation,rotationX,rotationY,skewX,skewY") + ",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective", function (t){
ze[t]=1
}), _(nr, function (t){
j.units[t]="deg", Je[t]=1
}), qe[ar[13]]=ir + "," + nr, _("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY", function (t){
var e=t.split(":");
qe[e[1]]=ar[e[0]]
}), _("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective", function (t){
j.units[t]="px"
}), ae.registerPlugin(sr);
var or=ae.registerPlugin(sr)||ae,
ur=or.core.Tween;
e.Back=Me, e.Bounce=Ae, e.CSSPlugin=sr, e.Circ=Se, e.Cubic=be, e.Elastic=Oe, e.Expo=De, e.Linear=ye, e.Power0=_e, e.Power1=ce, e.Power2=me, e.Power3=ge, e.Power4=ve, e.Quad=Te, e.Quart=we, e.Quint=xe, e.Sine=Pe, e.SteppedEase=Ce, e.Strong=ke, e.TimelineLite=Bt, e.TimelineMax=Bt, e.TweenLite=Xt, e.TweenMax=ur, e.default=or, e.gsap=or;
if(typeof (window)==="undefined"||window!==e){
Object.defineProperty(e, "__esModule", {
value: !0
})
}else{
delete e.default
}});
! function (a, b){
"object"==typeof exports&&"undefined"!=typeof module ? b(exports):"function"==typeof define&&define.amd ? define(["exports"], b):b((a=a||self).window=a.window||{})
}(this, function (ax){
"use strict";
var t, bg, v, X, Q, ab, bu, O, aB, bA, F, C, bC, $, e, E, am, aO, aL, aA, q, l, i, a, T, b, g, G, f, bF, aJ, aK, Z, aC, aI, m, ao, aQ, p, bx, bw, ac, bv, aW, bo, y, bk, bj, bi, R, bb, bc, _, bh, aj, S, ai, s, a_, A, ap, Y, a$, aX, M, U, af, ad, ah, ag, k, z, au, bM, r, I, bB, av, ay, az, c, aP, al, bI, h, N, B, by, aD, aM, aa, br, aE, an, be, aG, bV, ak, aH, bY, d, bz, bD, cb, bt;
function cf(d, c){
for (var b=0, a; b < c.length; b++) a=c[b], a.enumerable=a.enumerable||!1, a.configurable = !0, "value" in a&&(a.writable = !0), Object.defineProperty(d, a.key, a)
}
function bZ(){
return t||"undefined"!=typeof window&&(t=window.gsap)&&t.registerPlugin&&t
}
function P(a, b){
return ~E.indexOf(a)&&E[E.indexOf(a) + 1][b]
}
function bf(a){
return !!~bA.indexOf(a)
}
function w(a, b, c, d, e){
return a.addEventListener(b, c, {
passive: !d,
capture: !!e
})
}
function u(a, b, c, d){
return a.removeEventListener(b, c, !!d)
}
function bW(){
return F&&F.isPressed||e.cache++
}
function aN(b, c){
function a(d){
if(d||0===d){
bC&&(v.history.scrollRestoration="manual");
var f=F&&F.isPressed;
d=a.v=Math.round(d)||(F&&F.iOS ? 1:0), b(d), a.cacheID=e.cache, f&&aO("ss", d)
} else(c||e.cache!==a.cacheID||aO("ref"))&&(a.cacheID=e.cache, a.v=b());
return a.v + a.offset
}
return a.offset=0, b&&a
}
function x(a){
return t.utils.toArray(a)[0]||("string"==typeof a&&!1!==t.config().nullTargetWarn ? console.warn("Element not found:", a):null)
}
function V(a, d){
var c=d.s,
f=d.sc,
b=e.indexOf(a),
g=f===l.sc ? 1:2;
return ~b||(b=e.push(a) - 1), e[b + g]||(e[b + g]=aN(P(a, c), !0)||(bf(a) ? f:aN(function (b){
return arguments.length ? a[c]=b:a[c]
})))
}
function bp(g, i, e){
function f(f, i){
var g=am();
i||h < g - a ? (d=b, b=f, c=a, a=g):e ? b +=f:b=d + (f - d) / (g - c) * (a - c)
}
var b=g,
d=g,
a=am(),
c=a,
h=i||50,
j=Math.max(500, 3 * h);
return {
update: f,
reset: function (){
d=b = e ? 0:b, c=a = 0
},
getVelocity: function (g){
var k=c,
h=d,
i=am();
return !g&&0!==g||g===b||f(g), a===c||j < i - c ? 0:(b + (e ? h:-h)) / ((e ? i:a) - k) * 1e3
}}
}
function aF(a, b){
return b&&!a._gsapAllow&&a.preventDefault(), a.changedTouches ? a.changedTouches[0]:a
}
function bR(a){
var b=Math.max.apply(Math, a),
c=Math.min.apply(Math, a);
return Math.abs(b) >=Math.abs(c) ? b:c
}
function bP(){
(aB=t.core.globals().ScrollTrigger)&&aB.core&&function (){
var a=aB.core,
d=a.bridge||{},
b=a._scrollers,
c=a._proxies;
b.push.apply(b, e), c.push.apply(c, E), e=b, E=c, aO=function (a, b){
return d[a](b)
}}()
}
function bO(a){
return (t=a||bZ())&&"undefined"!=typeof document&&document.body&&(v=window, Q=(X=document).documentElement, ab=X.body, bA=[v, X, Q, ab], t.utils.clamp, O="onpointerenter" in ab ? "pointer":"mouse", bu=i.isTouch=v.matchMedia&&v.matchMedia("(hover: none), (pointer: coarse)").matches ? 1:"ontouchstart" in v||0 < navigator.maxTouchPoints||0 < navigator.msMaxTouchPoints ? 2:0, C=i.eventTypes=("ontouchstart" in Q ? "touchstart,touchmove,touchcancel,touchend":"onpointerdown" in Q ? "pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","), setTimeout(function (){
return bC=0
}, 500), bP(), bg=1), bg
}
bC=1, $=[], e=[], E=[], am=Date.now, aO=function (c, a){
return a
}, aL="scrollLeft", aA="scrollTop", q={
s: aL,
p: "left",
p2: "Left",
os: "right",
os2: "Right",
d: "width",
d2: "Width",
a: "x",
sc: aN(function (a){
return arguments.length ? v.scrollTo(a, l.sc()):v.pageXOffset||X[aL]||Q[aL]||ab[aL]||0
})
}, l={
s: aA,
p: "top",
p2: "Top",
os: "bottom",
os2: "Bottom",
d: "height",
d2: "Height",
a: "y",
op: q,
sc: aN(function (a){
return arguments.length ? v.scrollTo(q.sc(), a):v.pageYOffset||X[aA]||Q[aA]||ab[aA]||0
})
}, q.op=l, e.cache=0, i=(bE.prototype.init=function (b){
var s, z, e, c, R, B, f, n, aI, o, P, aP, ai, aj, aq, aA, ar, at, af, av, az, U, ao, ay, ax, aw, al, ah, S, ag, j, aa, _, au, W, Y, Z, D, i, ac, aE, ae, r, m, A, H, G, E, p, a, I, J, T, N, ap, an, aM, y, d, g, h, ad, K;
bg||bO(t)||console.warn("Please gsap.registerPlugin(Observer)"), aB||bP(), s=b.tolerance, z=b.dragMinimum, e=b.type, c=b.target, R=b.lineHeight, B=b.debounce, f=b.preventDefault, n=b.onStop, aI=b.onStopDelay, o=b.ignore, P=b.wheelSpeed, aP=b.event, ai=b.onDragStart, aj=b.onDragEnd, aq=b.onDrag, aA=b.onPress, ar=b.onRelease, at=b.onRight, af=b.onLeft, av=b.onUp, az=b.onDown, U=b.onChangeX, ao=b.onChangeY, ay=b.onChange, ax=b.onToggleX, aw=b.onToggleY, al=b.onHover, ah=b.onHoverEnd, S=b.onMove, ag=b.ignoreCheck, j=b.isNormalizer, aa=b.onGestureStart, _=b.onGestureEnd, au=b.onWheel, W=b.onEnable, Y=b.onDisable, Z=b.onClick, D=b.scrollSpeed, i=b.capture, ac=b.allowClicks, aE=b.lockAxis, ae=b.onLockAxis;
function aQ(){
return ad=am()
}
function k(b, c){
return (a.event=b)&&o && ~o.indexOf(b.target)||c&&aM&&"touch"!==b.pointerType||ag&&ag(b, c)
}
function M(){
var b=a.deltaX=bR(g),
c=a.deltaY=bR(h),
d=Math.abs(b) >=s,
e=Math.abs(c) >=s;
ay&&(d||e)&&ay(a, b, c, g, h), d&&(at&&0 < a.deltaX&&at(a), af&&a.deltaX < 0&&af(a), U&&U(a), ax&&a.deltaX < 0!=I < 0&&ax(a), I=a.deltaX, g[0]=g[1]=g[2]=0), e&&(az&&0 < a.deltaY&&az(a), av&&a.deltaY < 0&&av(a), ao&&ao(a), aw&&a.deltaY < 0!=J < 0&&aw(a), J=a.deltaY, h[0]=h[1]=h[2]=0), (H||A)&&(S&&S(a), ae&&E && ae(a), A&&(aq(a), A = !1), H=E = !1), G&&(au(a), G = !1), r=0
}
function aO(b, c, d){
g[d] +=b, h[d] +=c, a._vx.update(b), a._vy.update(c), B ? r=r||requestAnimationFrame(M):M()
}
function aN(b, c){
"y"!==p&&(g[2] +=b, a._vx.update(b, !0)), "x"!==p&&(h[2] +=c, a._vy.update(c, !0)), aE&&!p&&(a.axis=p = Math.abs(b) > Math.abs(c) ? "x":"y", E = !0), B ? r=r||requestAnimationFrame(M):M()
}
function ak(b){
if(!k(b, 1)){
var c=(b=aF(b, f)).clientX,
d=b.clientY,
g=c - a.x,
h=d - a.y,
e=a.isDragging;
a.x=c, a.y=d, (e||Math.abs(a.startX - c) >=z||Math.abs(a.startY - d) >=z)&&(aq&&(A = !0), e||(a.isDragging = !0), aN(g, h), e||ai&&ai(a))
}}
function L(b){
if(!k(b, 1)){
u(j ? c:d, C[1], ak, !0);
var g=a.isDragging&&(3 < Math.abs(a.x - a.startX)||3 < Math.abs(a.y - a.startY)),
e=aF(b);
g||(a._vx.reset(), a._vy.reset(), f&&ac&&t.delayedCall(.08, function (){
if(300 < am() - ad&&!b.defaultPrevented)
if(b.target.click) b.target.click();
else if(d.createEvent){
var a=d.createEvent("MouseEvents");
a.initMouseEvent("click", !0, !0, v, 1, e.screenX, e.screenY, e.clientX, e.clientY, !1, !1, !1, !1, 0, null), b.target.dispatchEvent(a)
}})), a.isDragging=a.isGesturing=a.isPressed = !1, n&&!j&&m.restart(!0), aj&&g && aj(a), ar&&ar(a, g)
}}
function aL(b){
return b.touches&&1 < b.touches.length&&(a.isGesturing = !0)&&aa(b, a.isDragging)
}
function aR(){
return (a.isGesturing = !1)||_(a)
}
function aK(c){
if(!k(c)){
var a=T(),
b=N();
aO((a - ap) * D, (b - an) * D, 1), ap=a, an=b, n&&m.restart(!0)
}}
function aJ(a){
if(!k(a)){
a=aF(a, f), au&&(G = !0);
var b=(1===a.deltaMode ? R:2===a.deltaMode ? v.innerHeight:1) * P;
aO(a.deltaX * b, a.deltaY * b, 0), n&&!j&&m.restart(!0)
}}
function aH(b){
if(!k(b)){
var c=b.clientX,
d=b.clientY,
e=c - a.x,
f=d - a.y;
a.x=c, a.y=d, H = !0, (e||f)&&aN(e, f)
}}
function aG(b){
a.event=b, al(a)
}
function aC(b){
a.event=b, ah(a)
}
function aD(b){
return k(b)||aF(b, f)&&Z(a)
}
this.target=c = x(c)||Q, this.vars=b, o=o&&t.utils.toArray(o), s=s||0, z=z||0, P=P||1, D=D||1, e=e||"wheel,touch,pointer", B = !1!==B, R=R||parseFloat(v.getComputedStyle(ab).lineHeight)||22, a=this, I=0, J=0, T=V(c, q), N=V(c, l), ap=T(), an=N(), aM=~e.indexOf("touch")&&!~e.indexOf("pointer")&&"pointerdown"===C[0], y=bf(c), d=c.ownerDocument||X, g=[0, 0, 0], h=[0, 0, 0], ad=0, K=a.onPress=function (b){
k(b, 1)||(a.axis=p = null, m.pause(), a.isPressed = !0, b=aF(b), I=J = 0, a.startX=a.x=b.clientX, a.startY=a.y=b.clientY, a._vx.reset(), a._vy.reset(), w(j ? c:d, C[1], ak, f, !0), a.deltaX=a.deltaY=0, aA&&aA(a))
}, m=a._dc=t.delayedCall(aI||.25, function (){
a._vx.reset(), a._vy.reset(), m.pause(), n&&n(a)
}).pause(), a.deltaX=a.deltaY=0, a._vx=bp(0, 50, !0), a._vy=bp(0, 50, !0), a.scrollX=T, a.scrollY=N, a.isDragging=a.isGesturing=a.isPressed = !1, a.enable=function (b){
return a.isEnabled||(w(y ? d:c, "scroll", bW), 0 <=e.indexOf("scroll")&&w(y ? d:c, "scroll", aK, f, i), 0 <=e.indexOf("wheel")&&w(c, "wheel", aJ, f, i), (0 <=e.indexOf("touch")&&bu||0 <=e.indexOf("pointer"))&&(w(c, C[0], K, f, i), w(d, C[2], L), w(d, C[3], L), ac&&w(c, "click", aQ, !1, !0), Z&&w(c, "click", aD), aa&&w(d, "gesturestart", aL), _&&w(d, "gestureend", aR), al&&w(c, O + "enter", aG), ah&&w(c, O + "leave", aC), S&&w(c, O + "move", aH)), a.isEnabled = !0, b&&b.type&&K(b), W&&W(a)), a
}, a.disable=function (){
a.isEnabled&&($.filter(function (b){
return b!==a&&bf(b.target)
}).length||u(y ? d:c, "scroll", bW), a.isPressed&&(a._vx.reset(), a._vy.reset(), u(j ? c:d, C[1], ak, !0)), u(y ? d:c, "scroll", aK, i), u(c, "wheel", aJ, i), u(c, C[0], K, i), u(d, C[2], L), u(d, C[3], L), u(c, "click", aQ, !0), u(c, "click", aD), u(d, "gesturestart", aL), u(d, "gestureend", aR), u(c, O + "enter", aG), u(c, O + "leave", aC), u(c, O + "move", aH), a.isEnabled=a.isPressed=a.isDragging = !1, Y&&Y(a))
}, a.kill=function (){
a.disable();
var b=$.indexOf(a);
0 <=b&&$.splice(b, 1), F===a&&(F=0)
}, $.push(a), j&&bf(c)&&(F=a), a.enable(aP)
}, function (a, b, c){
return b&&cf(a.prototype, b), c&&cf(a, c), a
}(bE, [{
key: "velocityX",
get: function (){
return this._vx.getVelocity()
}}, {
key: "velocityY",
get: function (){
return this._vy.getVelocity()
}}]), bE);
function bE(a){
this.init(a)
}
i.version="3.10.5", i.create=function (a){
return new i(a)
}, i.register=bO, i.getAll=function (){
return $.slice()
}, i.getById=function (a){
return $.filter(function (b){
return b.vars.id===a
})[0]
}, bZ()&&t.registerPlugin(i);
function bG(){
return ao=1
}
function bH(){
return ao=0
}
function K(a){
return a
}
function aw(a){
return Math.round(1e5 * a) / 1e5||0
}
function bJ(){
return "undefined"!=typeof window
}
function bK(){
return a||bJ()&&(a=window.gsap)&&a.registerPlugin&&a
}
function W(a){
return !!~bF.indexOf(a)
}
function bL(a){
return P(a, "getBoundingClientRect")||(W(a) ? function (){
return aH.width=b.innerWidth, aH.height=b.innerHeight, aH
}:function (){
return I(a)
})
}
function L(a, e){
var c=e.s,
d=e.d2,
h=e.d,
g=e.a;
return (c="scroll" + d)&&(g=P(a, c)) ? g() - bL(a)()[h]:W(a) ? (G[c]||f[c]) - (b["inner" + d]||G["client" + d]||f["client" + d]):a[c] - a["offset" + d]
}
function aS(c, b){
for (var a=0; a < ac.length; a +=3) b&&!~b.indexOf(ac[a + 1])||c(ac[a], ac[a + 1], ac[a + 2])
}
function J(a){
return "string"==typeof a
}
function D(a){
return "function"==typeof a
}
function ar(a){
return "number"==typeof a
}
function aT(a){
return "object"==typeof a
}
function aV(a){
return D(a)&&a()
}
function bN(a, b){
return function (){
var c=aV(a),
d=aV(b);
return function (){
aV(c), aV(d)
}}
}
function aq(a, b, c){
return a&&a.progress(b ? 0:1)&&c && a.pause()
}
function bs(a, c){
if(a.enabled){
var b=c(a);
b&&b.totalTime&&(a.callbackAnimation=b)
}}
function H(a){
return b.getComputedStyle(a)
}
function bQ(a, c){
for (var b in c) b in a||(a[b]=c[b]);
return a
}
function bq(a, c){
var b=c.d2;
return a["offset" + b]||a["client" + b]||0
}
function bS(a){
var b, c=[],
d=a.labels,
e=a.duration();
for (b in d) c.push(d[b] / e);
return c
}
function bm(c){
var d=a.utils.snap(c),
b=Array.isArray(c)&&c.slice(0).sort(function (a, b){
return a - b
});
return b ? function (c, f, e){
var a;
if(void 0===e&&(e=.001), !f) return d(c);
if(0 < f){
for (c -=e, a=0; a < b.length; a++)
if(b[a] >=c) return b[a];
return b[a - 1]
}
for (a=b.length, c +=e; a--;)
if(b[a] <=c) return b[a];
return b[0]
}:function (a, b, e){
void 0===e&&(e=.001);
var f=d(a);
return !b||Math.abs(f - a) < e||f - a < 0==b < 0 ? f:d(b < 0 ? a - c:a + c)
}}
function ba(a, b, c, d){
return c.split(",").forEach(function (c){
return a(b, c, d)
})
}
function o(a, b, c, d, e){
return a.addEventListener(b, c, {
passive: !d,
capture: !!e
})
}
function n(a, b, c, d){
return a.removeEventListener(b, c, !!d)
}
function aY(b, c, a){
return a&&a.wheelHandler&&b(c, "wheel", a)
}
function aZ(a, c){
if(J(a)){
var b=a.indexOf("="),
d=~b ? (a.charAt(b - 1) + 1) * parseFloat(a.substr(b + 1)):0;
~b&&(a.indexOf("%") > b&&(d *=c / 100), a=a.substr(0, b - 1)), a=d + (a in ay ? ay[a] * c:~a.indexOf("%") ? parseFloat(a) * c / 100:parseFloat(a)||0)
}
return a
}
function bd(b, c, k, i, d, t, q, n){
var v=d.startColor,
u=d.endColor,
w=d.fontSize,
s=d.indent,
r=d.fontWeight,
a=g.createElement("div"),
m=W(k)||"fixed"===P(k, "pinType"),
p=-1!==b.indexOf("scroller"),
e=m ? f:k,
j=-1!==b.indexOf("start"),
o=j ? v:u,
h="border-color:" + o + ";font-size:" + w + ";color:" + o + ";font-weight:" + r + ";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";
return h +="position:" + ((p||n)&&m ? "fixed;":"absolute;"), !p&&!n&&m||(h +=(i===l ? a$:aX) + ":" + (t + parseFloat(s)) + "px;"), q&&(h +="box-sizing:border-box;text-align:left;width:" + q.offsetWidth + "px;"), a._isStart=j, a.setAttribute("class", "gsap-marker-" + b + (c ? " marker-" + c:"")), a.style.cssText=h, a.innerText=c||0===c ? b + "-" + c:b, e.children[0] ? e.insertBefore(a, e.children[0]):e.appendChild(a), a._offset=a["offset" + i.op.d2], az(a, 0, i, j), a
}
function bT(){
return 34 < s() - A&&an()
}
function ae(){
y&&y.isPressed&&!(y.startX > f.clientWidth)||(e.cache++, bc=bc||requestAnimationFrame(an), A||N("scrollStart"), A=s())
}
function bU(){
bi=b.innerWidth, bj=b.innerHeight
}
function at(){
e.cache++, m||bo||g.fullscreenElement||g.webkitFullscreenElement||bk&&bi===b.innerWidth&&!(Math.abs(b.innerHeight - bj) > .25 * b.innerHeight)||aJ.restart(!0)
}
function bX(g){
var d, f=a.ticker.frame,
e=[],
c=0;
if(bh!==f||ai){
for (aD(); c < h.length; c +=4)(d=b.matchMedia(h[c]).matches)!==h[c + 3]&&((h[c + 3]=d) ? e.push(c):aD(1, h[c])||D(h[c + 2])&&h[c + 2]());
for (by(), c=0; c < e.length; c++) d=e[c], _=h[d], h[d + 2]=h[d + 1](g);
_=0, T&&aa(0, 1), bh=f, N("matchMedia")
}}
function bn(){
return n(d, "scrollEnd", bn)||aa(!0)
}
function b_(){
return e.cache++&&e.forEach(function (a){
return "function"==typeof a&&(a.rec=0)
})
}
function bl(b, e, d, h){
if(!b._gsap.swappedIn){
for (var f, g=be.length, c=e.style, a=b.style; g--;) c[f=be[g]]=d[f];
c.position="absolute"===d.position ? "absolute":"relative", "inline"===d.display&&(c.display="inline-block"), a[aX]=a[a$]=c.flexBasis="auto", c.overflow="visible", c.boxSizing="border-box", c[M]=bq(b, q) + r, c[U]=bq(b, l) + r, c[k]=a[z]=a.top=a.left="0", ak(h), a[M]=a.maxWidth=d[M], a[U]=a.maxHeight=d[U], a[k]=d[k], b.parentNode!==e&&(b.parentNode.insertBefore(e, b), e.appendChild(b)), b._gsap.swappedIn = !0
}}
function aU(c){
for (var d=aG.length, e=c.style, b=[], a=0; a < d; a++) b.push(aG[a], e[aG[a]]);
return b.t=c, b
}
function ca(a, n, g, b, A, j, k, y, v, z, s, q, d){
var e, p, c, w, i, u, h, m, t, l, o;
return D(a)&&(a=a(y)), J(a)&&"max"===a.substr(0, 3)&&(a=q + ("="===a.charAt(4) ? aZ("0" + a.substr(3), g):0)), w=d ? d.time():0, (d&&d.seek(0), ar(a)) ? k&&az(k, g, b, !0):(D(n)&&(n=n(y)), t=a.split(" "), c=x(n)||f, (i=I(c)||{})&&(i.left||i.top)||"none"!==H(c).display||(m=c.style.display, c.style.display="block", i=I(c), m ? c.style.display=m:c.style.removeProperty("display")), u=aZ(t[0], i[b.d]), h=aZ(t[1]||"0", g), a=i[b.p] - v[b.p] - z + u + A - h, k&&az(k, h, b, g - h < 20||k._isStart&&20 < h), g -=g - h), j&&(l=a + g, o=j._isStart, e="scroll" + b.d2, az(j, l, b, o&&20 < l||!o&&(s ? Math.max(f[e], G[e]):j.parentNode[e]) <=l + 1), s&&(v=I(k), s&&(j.style[b.op.p]=v[b.op.p] - b.op.m - j._offset + r))), d&&c && (e=I(c), d.seek(q), p=I(c), d._caScrollDist=e[b.p] - p[b.p], a=a / d._caScrollDist * q), d&&d.seek(w), d ? a:Math.round(a)
}
function ce(c, e, h, i){
if(c.parentNode!==e){
var b, g, d=c.style;
if(e===f){
for (b in c._stOrig=d.cssText, g=H(c)) + b||bY.test(b)||!g[b]||"string"!=typeof d[b]||"0"===b||(d[b]=g[b]);
d.top=h, d.left=i
} else d.cssText=c._stOrig;
a.core.getCache(c).uncache=1, e.appendChild(c)
}}
function cd(d, h){
function b(m, i, j, k, l){
var h=b.tween,
n=i.onComplete,
o={};
return j=j||e(), l=k&&l||0, k=k||m - j, h&&h.kill(), c=Math.round(j), i[g]=m, (i.modifiers=o)[g]=function (a){
return (a=Math.round(e()))!==c&&a!==f&&3 < Math.abs(a - c)&&3 < Math.abs(a - f) ? (h.kill(), b.tween=0):a=j + k * h.ratio + l * h.ratio * h.ratio, f=c, c=Math.round(a)
}, i.onComplete=function (){
b.tween=0, n&&n.call(h)
}, h=b.tween=a.to(d, i)
}
var c, f, e=V(d, h),
g="_scroll" + h.p2;
return (d[g]=e).wheelHandler=function (){
return b.tween&&b.tween.kill()&&(b.tween=0)
}, o(d, "wheel", e.wheelHandler), b
}
ai=1, s=Date.now, a_=s(), A=0, ap=0, Y=Math.abs, a$="right", aX="bottom", M="width", U="height", af="Right", ad="Left", ah="Top", ag="Bottom", k="padding", z="margin", au="Width", bM="Height", r="px", I=function (b, d){
var c=d&&"matrix(1, 0, 0, 1, 0, 0)"!==H(b)[aQ]&&a.to(b, {
x: 0,
y: 0,
xPercent: 0,
yPercent: 0,
rotation: 0,
rotationX: 0,
rotationY: 0,
scale: 1,
skewX: 0,
skewY: 0
}).progress(1),
e=b.getBoundingClientRect();
return c&&c.progress(0).kill(), e
}, bB={
startColor: "green",
endColor: "red",
indent: 0,
fontSize: "16px",
fontWeight: "normal"
}, av={
toggleActions: "play",
anticipatePin: 0
}, ay={
top: 0,
left: 0,
center: .5,
bottom: 1,
right: 1
}, az=function (e, g, c, d){
var b={
display: "block"
},
f=c[d ? "os2":"p2"],
h=c[d ? "p2":"os2"];
e._isFlipped=d, b[c.a + "Percent"]=d ? -100:0, b[c.a]=d ? "1px":0, b["border" + f + au]=1, b["border" + h + au]=0, b[c.p]=g + "px", a.set(e, b)
}, c=[], aP={}, al={}, bI=[], h=[], N=function (a){
return al[a]&&al[a].map(function (a){
return a()
})||bI
}, B=[], by=function (b){
for (var a=0; a < B.length; a +=5) b&&B[a + 4]!==b||(B[a].style.cssText=B[a + 1], B[a].getBBox&&B[a].setAttribute("transform", B[a + 2]||""), B[a + 3].uncache=1)
}, aD=function (d, a){
var b;
for (p=0; p < c.length; p++) b=c[p], a&&b.media!==a||(d ? b.kill(1):b.revert());
a&&by(a), a||N("revert")
}, aM=0, aa=function (a, b){
if(!A||a){
aj = !0;
var e=N("refreshInit");
bv&&d.sort(), b||aD(), c.slice(0).forEach(function (a){
return a.refresh()
}), c.forEach(function (a){
return "max"===a.vars.end&&a.setPositions(a.start, L(a.scroller, a._dir))
}), e.forEach(function (a){
return a&&a.render&&a.render(-1)
}), b_(), aJ.pause(), aM++, aj = !1, N("refresh")
} else o(d, "scrollEnd", bn)
}, br=0, aE=1, an=function (){
if(!aj){
d.isUpdating = !0, S&&S.update(0);
var a=c.length,
b=s(),
e=50 <=b - a_,
f=a&&c[0].scroll();
if(aE=f < br ? -1:1, br=f, e&&(A&&!ao&&200 < b - A&&(A=0, N("scrollEnd")), aC=a_, a_=b), aE < 0){
for (p=a; 0 < p--;) c[p]&&c[p].update(0, e);
aE=1
} else
for (p=0; p < a; p++) c[p]&&c[p].update(0, e);
d.isUpdating = !1
}
bc=0
}, be=["left", "top", aX, a$, z + ag, z + af, z + ah, z + ad, "display", "flexShrink", "float", "zIndex", "gridColumnStart", "gridColumnEnd", "gridRowStart", "gridRowEnd", "gridArea", "justifySelf", "alignSelf", "placeSelf", "order"], aG=be.concat([M, U, "boxSizing", "max" + au, "max" + bM, "position", z, k, k + ah, k + af, k + ag, k + ad]), bV=/([A-Z])/g, ak=function (b){
if(b){
var d, e, f=b.t.style,
g=b.length,
c=0;
for ((b.t._gsap||a.core.getCache(b.t)).uncache=1; c < g; c +=2) e=b[c + 1], d=b[c], e ? f[d]=e:f[d]&&f.removeProperty(d.replace(bV, "-$1").toLowerCase())
}}, aH={
left: 0,
top: 0
}, bY=/(webkit|moz|length|cssText|inset)/i, d=(j.prototype.init=function (h, e){
var O, R, bK, aB, aM, y, X, al, aI, am, aD, aL, F, ba, bc, bk, T, bA, bp, br, aR, az, bM, aY, bI, be, by, aX, bx, w, bw, ay, ax, aF, aN, aV, bu, aQ, aJ, aA, $, bH, bG, a$, N, i, ab, bP, bg, bE, bD, bj, B, bz, aa, u, bt, a_, t, Q, v, bo, ac, an, aO, bh, bf, bJ, d, aG, bN, bO, aS, bi, C, bF, bC, bR;
this.progress=this.start=0, this.vars&&this.kill(!0, !0), ap ? (aJ=(h=bQ(J(h)||ar(h)||h.nodeType ? {
trigger: h
}:h, av)).onUpdate, aA=h.toggleClass, $=h.id, bH=h.onToggle, bG=h.onRefresh, a$=h.scrub, N=h.trigger, i=h.pin, ab=h.pinSpacing, bP=h.invalidateOnRefresh, bg=h.anticipatePin, bE=h.onScrubComplete, bD=h.onSnapComplete, bj=h.once, B=h.snap, bz=h.pinReparent, aa=h.pinSpacer, u=h.containerAnimation, bt=h.fastScrollEnd, a_=h.preventOverlaps, t=h.horizontal||h.containerAnimation&&!1!==h.horizontal ? q:l, Q = !a$&&0!==a$, v=x(h.scroller||b), bo=a.core.getCache(v), ac=W(v), an="fixed"===("pinType" in h ? h.pinType:P(v, "pinType")||ac&&"fixed"), aO=[h.onEnter, h.onLeave, h.onEnterBack, h.onLeaveBack], bh=Q&&h.toggleActions.split(" "), bf="markers" in h ? h.markers:av.markers, bJ=ac ? 0:parseFloat(H(v)["border" + t.p2 + au])||0, d=this, aG=h.onRefreshInit&&function (){
return h.onRefreshInit(d)
}, bN=function (d, f, a){
var g=a.d,
e=a.d2,
c=a.a;
return (c=P(d, "getBoundingClientRect")) ? function (){
return c()[g]
}:function (){
return (f ? b["inner" + e]:d["client" + e])||0
}}(v, ac, t), bO=function (a, b){
return !b||~E.indexOf(a) ? bL(a):function (){
return aH
}}(v, ac), aS=0, bi=0, C=V(v, t), (d.media=_, d._dir=t, bg *=45, d.scroller=v, d.scroll=u ? u.time.bind(u):C, aB=C(), d.vars=h, e=e||h.animation, "refreshPriority" in h&&(bv=1, -9999===h.refreshPriority&&(S=d)), bo.tweenScroll=bo.tweenScroll||{
top: cd(v, l),
left: cd(v, q)
}, d.tweenTo=O = bo.tweenScroll[t.p], d.scrubDuration=function (b){
(bw=ar(b)&&b) ? w ? w.duration(b):w=a.to(e, {
ease: "expo",
totalProgress: "+=0.001",
duration: bw,
paused: !0,
onComplete: function (){
return bE&&bE(d)
}}): (w&&w.progress(1).kill(), w=0)
}, e&&(e.vars.lazy = !1, e._initted||!1!==e.vars.immediateRender&&!1!==h.immediateRender&&e.render(0, !0, !0), d.animation=e.pause(), (e.scrollTrigger=d).scrubDuration(a$), aX=0, $=$||e.vars.id), c.push(d), B&&(aT(B)&&!B.push||(B={
snapTo: B
}), "scrollBehavior" in f.style&&a.set(ac ? [f, G]:v, {
scrollBehavior: "auto"
}), bK=D(B.snapTo) ? B.snapTo:"labels"===B.snapTo ? function (b){
return function (c){
return a.utils.snap(bS(b), c)
}}(e):"labelsDirectional"===B.snapTo ? function (a){
return function (b, c){
return bm(bS(a))(b, c.direction)
}}(e):!1!==B.directional ? function (a, b){
return bm(B.snapTo)(a, s() - bi < 500 ? 0:b.direction)
}:a.utils.snap(B.snapTo), ay=B.duration||{
min: .1,
max: 2
}, ay=aT(ay) ? Z(ay.min, ay.max):Z(ay, ay), ax=a.delayedCall(B.delay||bw / 2||.1, function (){
var b=C(),
m=s() - bi < 500,
g=O.tween,
f, j, i, h, l, k, c, n, o, p;
if(!(m||Math.abs(d.getVelocity()) < 10)||g || ao||aS===b) d.isActive&&aS!==b&&ax.restart(!0);
else if(f=(b - y) / F, j=e&&!Q ? e.totalProgress():f, i=m ? 0:(j - bx) / (s() - aC) * 1e3||0, h=a.utils.clamp(-f, 1 - f, Y(i / 2) * i / .185), l=f + (!1===B.inertia ? 0:h), k=Z(0, 1, bK(l, d)), c=Math.round(y + k * F), n=B.onStart, o=B.onInterrupt, p=B.onComplete, b <=X&&y <=b&&c!==b){
if(g&&!g._initted&&g.data <=Y(c - b)) return;
!1===B.inertia&&(h=k - f), O(c, {
duration: ay(Y(.185 * Math.max(Y(l - j), Y(k - j)) / i / .05||0)),
ease: B.ease||"power3",
data: Y(c - b),
onInterrupt: function (){
return ax.restart(!0)&&o && o(d)
},
onComplete: function (){
d.update(), aS=C(), aX=bx=e&&!Q ? e.totalProgress():d.progress, bD&&bD(d), p&&p(d)
}}, b, h * F, c - b - h * F), n&&n(d, O.tween)
}}).pause()), $&&(aP[$]=d), aQ=(aQ=(N=d.trigger=x(N||i))&&N._gsap&&N._gsap.stRevert)&&aQ(d), i = !0===i ? N:x(i), J(aA)&&(aA={
targets: N,
className: aA
}), i&&(!1===ab||ab===z||(ab = !(!ab&&"flex"===H(i.parentNode).display)&&k), d.pin=i, !1!==h.force3D&&a.set(i, {
force3D: !0
}), (R=a.core.getCache(i)).spacer ? ba=R.pinState:(aa&&((aa=x(aa))&&!aa.nodeType&&(aa=aa.current||aa.nativeElement), R.spacerIsNative = !!aa, aa&&(R.spacerState=aU(aa))), R.spacer=T = aa||g.createElement("div"), T.classList.add("pin-spacer"), $&&T.classList.add("pin-spacer-" + $), R.pinState=ba=aU(i)), d.spacer=T = R.spacer, by=H(i), bM=by[ab + t.os2], bp=a.getProperty(i), br=a.quickSetter(i, t.a, r), bl(i, T, by), bk=aU(i)), bf)&&(aL=aT(bf) ? bQ(bf, bB):bB, am=bd("scroller-start", $, v, t, aL, 0), aD=bd("scroller-end", $, v, t, aL, 0, am), bA=am["offset" + t.op.d2], bF=x(P(v, "content")||v), al=this.markerStart=bd("start", $, bF, t, aL, bA, 0, u), aI=this.markerEnd=bd("end", $, bF, t, aL, bA, 0, u), u&&(bu=a.quickSetter([al, aI], t.a, r)), an||E.length&&!0===P(v, "fixedMarkers")||(function (b){
var a=H(b).position;
b.style.position="absolute"===a||"fixed"===a ? a:"relative"
}(ac ? f:v), a.set([am, aD], {
force3D: !0
}), bI=a.quickSetter(am, t.a, r), be=a.quickSetter(aD, t.a, r))), u&&(bC=u.vars.onUpdate, bR=u.vars.onUpdateParams, u.eventCallback("onUpdate", function (){
d.update(0, 0, 1), bC&&bC.apply(bR||[])
})), d.previous=function (){
return c[c.indexOf(d) - 1]
}, d.next=function (){
return c[c.indexOf(d) + 1]
}, d.revert=function (b){
var a = !1!==b||!d.enabled,
c=m;
a!==d.isReverted&&(a&&(!d.scroll.rec&&m && aj&&(d.scroll.rec=C()), aN=Math.max(C(), d.scroll.rec||0), aF=d.progress, aV=e&&e.progress()), al&&[al, aI, am, aD].forEach(function (b){
return b.style.display=a ? "none":"block"
}), a&&(m=1), d.update(a), m=c, i&&(a ? function (a, c, e){
var d, b;
ak(e), d=a._gsap, d.spacerIsNative ? ak(d.spacerState):a._gsap.swappedIn&&(b=c.parentNode, b&&(b.insertBefore(a, c), b.removeChild(c))), a._gsap.swappedIn = !1
}(i, T, ba):bz&&d.isActive||bl(i, T, H(i), aY)), d.isReverted=a)
}, d.refresh=function (at, aq){
if(!m&&d.enabled||aq)
if(i&&at&&A) o(j, "scrollEnd", bn);
else {
!aj&&aG&&aG(d), m=1, bi=s(), O.tween&&(O.tween.kill(), O.tween=0), w&&w.pause(), bP&&e && e.time(-.01, !0).invalidate(), d.isReverted||d.revert();
for (var n, p, aa, W, b, g, P, $, ap, Y, Z=bN(), ai=bO(), S=u ? u.duration():L(v, t), K=0, R=0, B=h.end, ae=h.endTrigger||N, G=h.start||(0!==h.start&&N ? i ? "0 0":"0 100%":0), ao=d.pinnedContainer=h.pinnedContainer&&x(h.pinnedContainer), _=N&&Math.max(0, c.indexOf(d))||0, E=_; E--;)(g=c[E]).end||g.refresh(0, 1)||(m=1), !(P=g.pin)||P!==N&&P!==i||g.isReverted||((Y=Y||[]).unshift(g), g.revert()), g!==c[E]&&(_--, E--);
for (D(G)&&(G=G(d)), y=ca(G, N, Z, t, C(), al, am, d, ai, bJ, an, S, u)||(i ? -.001:0), D(B)&&(B=B(d)), J(B)&&!B.indexOf("+=")&&(~B.indexOf(" ") ? B=(J(G) ? G.split(" ")[0]:"") + B:(K=aZ(B.substr(2), Z), B=J(G) ? G:y + K, ae=N)), X=Math.max(y, ca(B||(ae ? "100% 0":S), ae, Z, t, C() + K, aI, aD, d, ai, bJ, an, S, u))||-.001, F=X - y||(y -=.01)&&.001, K=0, E=_; E--;)(P=(g=c[E]).pin)&&g.start - g._pinPush < y&&!u&&0 < g.end&&(n=g.end - g.start, P!==N&&P!==ao||ar(G)||(K +=n * (1 - g.progress)), P===i&&(R +=n));
if(y +=K, X +=K, d._pinPush=R, al&&K && ((n={})[t.a]="+=" + K, ao&&(n[t.p]="-=" + C()), a.set([al, aI], n)), i) n=H(i), W=t===l, aa=C(), aR=parseFloat(bp(t.a)) + R, !S&&1 < X&&((ac ? f:v).style["overflow-" + t.a]="scroll"), bl(i, T, n), bk=aU(i), p=I(i, !0), $=an&&V(v, W ? q:l)(), ab&&((aY=[ab + t.os2, F + R + r]).t=T, (E=ab===k ? bq(i, t) + F + R:0)&&aY.push(t.d, E + r), ak(aY), an&&C(aN)), an&&((b={
top: p.top + (W ? aa - y:$) + r,
left: p.left + (W ? $:aa - y) + r,
boxSizing: "border-box",
position: "fixed"
})[M]=b.maxWidth=Math.ceil(p.width) + r, b[U]=b.maxHeight=Math.ceil(p.height) + r, b[z]=b[z + ah]=b[z + af]=b[z + ag]=b[z + ad]="0", b[k]=n[k], b[k + ah]=n[k + ah], b[k + af]=n[k + af], b[k + ag]=n[k + ag], b[k + ad]=n[k + ad], bc=function (a, e, g){
for (var b, d=[], f=a.length, c=g ? 8:0; c < f; c +=2) b=a[c], d.push(b, b in e ? e[b]:a[c + 1]);
return d.t=a.t, d
}(ba, b, bz)), e ? (ap=e._initted, aW(1), e.render(e.duration(), !0, !0), az=bp(t.a) - aR + F + R, F!==az&&an&&bc.splice(bc.length - 2, 2), e.render(0, !0, !0), ap||e.invalidate(), aW(0)):az=F;
else if(N&&C()&&!u)
for (p=N.parentNode; p&&p!==f;) p._pinOffset&&(y -=p._pinOffset, X -=p._pinOffset), p=p.parentNode;
Y&&Y.forEach(function (a){
return a.revert(!1)
}), d.start=y, d.end=X, aB=aM=C(), u||(aB < aN&&C(aN), d.scroll.rec=0), d.revert(!1), ax&&(aS=-1, d.isActive&&C(y + F * aF), ax.restart(!0)), m=0, e&&Q && (e._initted||aV)&&e.progress()!==aV&&e.progress(aV, !0).render(e.time(), !0, !0), aF===d.progress&&!u||(e&&!Q&&e.totalProgress(aF, !0), d.progress=aF, d.update(0, 0, 1)), i&&ab&&(T._pinOffset=Math.round(d.progress * az)), bG&&bG(d)
}}, d.getVelocity=function (){
return (C() - aM) / (s() - aC) * 1e3||0
}, d.endAnimation=function (){
aq(d.callbackAnimation), e&&(w ? w.progress(1):e.paused() ? Q||aq(e, d.direction < 0, 1):aq(e, e.reversed()))
}, d.labelToScroll=function (a){
return e&&e.labels&&(y||d.refresh()||y) + e.labels[a] / e.duration() * F||0
}, d.getTrailing=function (a){
var b=c.indexOf(d),
e=0 < d.direction ? c.slice(0, b).reverse():c.slice(b + 1);
return (J(a) ? e.filter(function (b){
return b.vars.preventOverlaps===a
}):e).filter(function (a){
return 0 < d.direction ? a.end <=y:a.start >=X
})
}, d.update=function (n, J, H){
var k, c, h, o, j, q, p, b, x, a, g, z, E, G;
(!u||H || n)&&(b=d.scroll(), x=n ? 0:(b - y) / F, a=x < 0 ? 0:1 < x ? 1:x||0, g=d.progress, (J&&(aM=aB, aB=u ? C():b, B&&(bx=aX, aX=e&&!Q ? e.totalProgress():a)), bg&&!a&&i && !m&&!ai&&A && y < b + (b - aM) / (s() - aC) * bg&&(a=1e-4), a!==g&&d.enabled)&&(o=(j=(k=d.isActive = !!a&&a < 1)!=(!!g&&g < 1))||!!a!=!!g, d.direction=g < a ? 1:-1, d.progress=a, o&&!m&&(c=a&&!g ? 0:1===a ? 1:1===g ? 2:3, Q&&(h = !j&&"none"!==bh[c + 1]&&bh[c + 1]||bh[c], p=e&&("complete"===h||"reset"===h||h in e))), a_&&(j||p)&&(p||a$||!e)&&(D(a_) ? a_(d):d.getTrailing(a_).forEach(function (a){
return a.endAnimation()
})), Q||(!w||m || ai ? e&&e.totalProgress(a, !!m):((u||S&&S!==d)&&w.render(w._dp._time - w._start), w.resetTo ? w.resetTo("totalProgress", a, e._tTime / e._tDur):(w.vars.totalProgress=a, w.invalidate().restart()))), i&&(n&&ab&&(T.style[ab + t.os2]=bM), an ? o&&(q = !n&&g < a&&b < X + 1&&b + 1 >=L(v, t), bz&&(n||!k&&!q ? ce(i, T):(z=I(i, !0), E=b - y, ce(i, f, z.top + (t===l ? E:0) + r, z.left + (t===l ? 0:E) + r))), ak(k||q ? bc:bk), az!==F&&a < 1&&k||br(aR + (1!==a||q ? 0:az))):br(aw(aR + az * a))), !B||O.tween||m || ai||ax.restart(!0), aA&&(j||bj&&a && (a < 1||!bb))&&aK(aA.targets).forEach(function (a){
return a.classList[k||bj ? "add":"remove"](aA.className)
}), !aJ||Q || n||aJ(d), o&&!m ? (Q&&(p&&("complete"===h ? e.pause().totalProgress(1):"reset"===h ? e.restart(!0).pause():"restart"===h ? e.restart(!0):e[h]()), aJ&&aJ(d)), !j&&bb||(bH&&j && bs(d, bH), aO[c]&&bs(d, aO[c]), bj&&(1===a ? d.kill(!1, 1):aO[c]=0), j||aO[c=1===a ? 1:3]&&bs(d, aO[c])), bt&&!k&&Math.abs(d.getVelocity()) > (ar(bt) ? bt:2500)&&(aq(d.callbackAnimation), w ? w.progress(1):aq(e, !a, 1))):Q&&aJ&&!m&&aJ(d)), be&&(G=u ? b / u.duration() * (u._caScrollDist||0):b, bI(G + (am._isFlipped ? 1:0)), be(G)), bu&&bu(-b / u.duration() * (u._caScrollDist||0)))
}, d.enable=function (a, b){
d.enabled||(d.enabled = !0, o(v, "resize", at), o(ac ? g:v, "scroll", ae), aG&&o(j, "refreshInit", aG), !1!==a&&(d.progress=aF=0, aB=aM=aS=C()), !1!==b&&d.refresh())
}, d.getTween=function (a){
return a&&O ? O.tween:w
}, d.setPositions=function (a, b){
i&&(aR +=a - y, az +=b - a - F), d.start=y = a, d.end=X = b, F=b - a, d.update()
}, d.disable=function (b, e){
if(d.enabled&&(!1!==b&&d.revert(), d.enabled=d.isActive = !1, e||w&&w.pause(), aN=0, R&&(R.uncache=1), aG&&n(j, "refreshInit", aG), ax&&(ax.pause(), O.tween&&O.tween.kill()&&(O.tween=0)), !ac)){
for (var a=c.length; a--;)
if(c[a].scroller===v&&c[a]!==d) return;
n(v, "resize", at), n(v, "scroll", ae)
}}, d.kill=function (f, b){
d.disable(f, b), w&&!b&&w.kill(), $&&delete aP[$];
var a=c.indexOf(d);
0 <=a&&c.splice(a, 1), a===p&&0 < aE&&p--, a=0, c.forEach(function (b){
return b.scroller===d.scroller&&(a=1)
}), a||(d.scroll.rec=0), e&&(e.scrollTrigger=null, f&&e.render(-1), b||e.kill()), al&&[al, aI, am, aD].forEach(function (a){
return a.parentNode&&a.parentNode.removeChild(a)
}), S===d&&(S=0), i&&(R&&(R.uncache=1), a=0, c.forEach(function (b){
return b.pin===i&&a++
}), a||(R.spacer=0)), h.onKill&&h.onKill(d)
}, d.enable(!1, !1), aQ&&aQ(d), e&&e.add&&!F ? a.delayedCall(.01, function (){
return y||X || d.refresh()
})&&(F=.01)&&(y=X = 0):d.refresh()):this.update=this.refresh=this.kill=K
}, j.register=function (b){
return T||(a=b||bK(), bJ()&&window.document&&j.enable(), T=ap), T
}, j.defaults=function (a){
if(a)
for (var b in a) av[b]=a[b];
return av
}, j.disable=function (d, h){
ap=0, c.forEach(function (a){
return a[h ? "kill":"disable"](d)
}), n(b, "wheel", ae), n(g, "scroll", ae), clearInterval(aI), n(g, "touchcancel", K), n(f, "touchstart", K), ba(n, g, "pointerdown,touchstart,mousedown", bG), ba(n, g, "pointerup,touchend,mouseup", bH), aJ.kill(), aS(n);
for (var a=0; a < e.length; a +=3) aY(n, e[a], e[a + 1]), aY(n, e[a], e[a + 2])
}, j.enable=function (){
if(b=window, g=document, G=g.documentElement, f=g.body, a&&(aK=a.utils.toArray, Z=a.utils.clamp, aW=a.core.suppressOverwrites||K, a.core.globals("ScrollTrigger", j), f)){
ap=1, i.register(a), j.isTouch=i.isTouch, R=i.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent), o(b, "wheel", ae), bF=[b, g, G, f], j.matchMedia({
"(orientation: portrait)": function (){
return bU(), bU
}}), o(g, "scroll", ae);
var k, d, h=f.style,
m=h.borderTopStyle;
for (h.borderTopStyle="solid", k=I(f), l.m=Math.round(k.top + l.sc())||0, q.m=Math.round(k.left + q.sc())||0, m ? h.borderTopStyle=m:h.removeProperty("border-top-style"), aI=setInterval(bT, 250), a.delayedCall(.5, function (){
return ai=0
}), o(g, "touchcancel", K), o(f, "touchstart", K), ba(o, g, "pointerdown,touchstart,mousedown", bG), ba(o, g, "pointerup,touchend,mouseup", bH), aQ=a.utils.checkPrefix("transform"), aG.push(aQ), T=s(), aJ=a.delayedCall(.2, aa).pause(), ac=[g, "visibilitychange", function (){
var a=b.innerWidth,
c=b.innerHeight;
g.hidden ? (bx=a, bw=c):bx===a&&bw===c||at()
}, g, "DOMContentLoaded", aa, b, "load", aa, b, "resize", at], aS(o), c.forEach(function (a){
return a.enable(0, 1)
}), d=0; d < e.length; d +=3) aY(n, e[d], e[d + 1]), aY(n, e[d], e[d + 2])
}}, j.config=function (a){
"limitCallbacks" in a&&(bb = !!a.limitCallbacks);
var b=a.syncInterval;
b&&clearInterval(aI)||(aI=b)&&setInterval(bT, b), "ignoreMobileResize" in a&&(bk=1===j.isTouch&&a.ignoreMobileResize), "autoRefreshEvents" in a&&(aS(n)||aS(o, a.autoRefreshEvents||"none"), bo=-1===(a.autoRefreshEvents + "").indexOf("resize"))
}, j.scrollerProxy=function (h, a){
var c=x(h),
d=e.indexOf(c),
g=W(c);
~d&&e.splice(d, g ? 6:2), a&&(g ? E.unshift(b, a, f, a, G, a):E.unshift(c, a))
}, j.matchMedia=function (g){
var c, d, a, e, f;
for (d in g) a=h.indexOf(d), e=g[d], "all"===(_=d) ? e():(c=b.matchMedia(d))&&(c.matches&&(f=e()), ~a ? (h[a + 1]=bN(h[a + 1], e), h[a + 2]=bN(h[a + 2], f)):(a=h.length, h.push(d, e, f), c.addListener ? c.addListener(bX):c.addEventListener("change", bX)), h[a + 3]=c.matches), _=0;
return h
}, j.clearMatchMedia=function (a){
a||(h.length=0), 0 <=(a=h.indexOf(a))&&h.splice(a, 4)
}, j.isInViewport=function (d, f, e){
var a=(J(d) ? x(d):d).getBoundingClientRect(),
c=a[e ? M:U] * f||0;
return e ? 0 < a.right - c&&a.left + c < b.innerWidth:0 < a.bottom - c&&a.top + c < b.innerHeight
}, j.positionInViewport=function (c, a, g){
J(c)&&(c=x(c));
var d=c.getBoundingClientRect(),
e=d[g ? M:U],
f=null==a ? e / 2:a in ay ? ay[a] * e:~a.indexOf("%") ? parseFloat(a) * e / 100:parseFloat(a)||0;
return g ? (d.left + f) / b.innerWidth:(d.top + f) / b.innerHeight
}, j);
function j(b, c){
T||j.register(a)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"), this.init(b, c)
}
d.version="3.10.5", d.saveStyles=function (b){
return b ? aK(b).forEach(function (b){
if(b&&b.style){
var c=B.indexOf(b);
0 <=c&&B.splice(c, 5), B.push(b, b.style.cssText, b.getBBox&&b.getAttribute("transform"), a.core.getCache(b), _)
}}):B
}, d.revert=function (a, b){
return aD(!a, b)
}, d.create=function (a, b){
return new d(a, b)
}, d.refresh=function (a){
return a ? at():(T||d.register())&&aa(!0)
}, d.update=an, d.clearScrollMemory=b_, d.maxScroll=function (a, b){
return L(a, b ? q:l)
}, d.getScrollFunc=function (a, b){
return V(x(a), b ? q:l)
}, d.getById=function (a){
return aP[a]
}, d.getAll=function (){
return c.filter(function (a){
return "ScrollSmoother"!==a.vars.id
})
}, d.isScrolling=function (){
return !!A
}, d.snapDirectional=bm, d.addEventListener=function (a, b){
var c=al[a]||(al[a]=[]);
~c.indexOf(b)||c.push(b)
}, d.removeEventListener=function (c, d){
var a=al[c],
b=a&&a.indexOf(d);
0 <=b&&a.splice(b, 1)
}, d.batch=function (h, c){
function i(g, f){
var b=[],
c=[],
d=a.delayedCall(j, function (){
f(b, c), b=[], c=[]
}).pause();
return function (a){
b.length||d.restart(!0), b.push(a.trigger), c.push(a), e <=b.length&&d.progress(1)
}}
var b, g=[],
f={},
j=c.interval||.016,
e=c.batchMax||1e9;
for (b in c) f[b]="on"===b.substr(0, 2)&&D(c[b])&&"onRefreshInit"!==b ? i(0, c[b]):c[b];
return D(e)&&(e=e(), o(d, "refresh", function (){
return e=c.batchMax()
})), aK(h).forEach(function (c){
var a={};
for (b in f) a[b]=f[b];
a.trigger=c, g.push(d.create(a))
}), g
};
function b$(d, a, b, c){
return c < a ? d(c):a < 0&&d(0), c < b ? (c - a) / (b - a):b < 0 ? a / (a - b):1
}
function aR(b, a){
!0===a ? b.style.removeProperty("touch-action"):b.style.touchAction = !0===a ? "auto":a ? "pan-" + a + (i.isTouch ? " pinch-zoom":""):"none", b===G&&aR(f, a)
}
function ch(e){
var f, d=e.event,
h=e.target,
i=e.axis,
b=(d.changedTouches ? d.changedTouches[0]:d).target,
c=b._gsap||a.core.getCache(b),
g=s();
if(!c._isScrollT||2e3 < g - c._isScrollT){
for (; b&&b.scrollHeight <=b.clientHeight;) b=b.parentNode;
c._isScroll=b&&!W(b)&&b!==h&&(bD[(f=H(b)).overflowY]||bD[f.overflowX]), c._isScrollT=g
}!c._isScroll&&"x"!==i||(d._gsapAllow = !0)
}
function cc(b, c, d, a){
return i.create({
target: b,
capture: !0,
debounce: !1,
lockAxis: !0,
type: c,
onWheel: a=a&&ch,
onPress: a,
onDrag: a,
onScroll: a,
onEnable: function (){
return d&&o(g, i.eventTypes[0], bt, !1, !0)
},
onDisable: function (){
return n(g, i.eventTypes[0], bt, !0)
}})
}
function cg(c){
function Q(){
return A = !1
}
function z(){
j=L(h, l), u=Z(R ? 1:0, j), m&&(y=Z(0, L(h, q))), t=aM
}
function B(){
g._gsap.y=aw(parseFloat(g._gsap.y) + d.offset) + "px", g.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, " + parseFloat(g._gsap.y) + ", 0, 1)", d.offset=d.cacheID=0
}
function v(){
z(), f.isActive()&&f.vars.scrollY > j&&(d() > j ? f.progress(1)&&d(j):f.resetTo("scrollY", j))
}
aT(c)||(c={}), c.preventDefault=c.isNormalizer=c.allowClicks = !0, c.type||(c.type="wheel,touch"), c.debounce = !!c.debounce, c.id=c.id||"normalizer";
var k, j, t, A, f, I, w, E, m=c.normalizeScrollX,
F=c.momentum,
P=c.allowNestedScroll,
h=x(c.target)||G,
H=a.core.globals().ScrollSmoother,
C=H&&H.get(),
g=R&&(c.content&&x(c.content)||C&&!1!==c.content&&!C.smooth()&&C.content()),
d=V(h, l),
r=V(h, q),
p=1,
N=(i.isTouch&&b.visualViewport ? b.visualViewport.scale * b.visualViewport.width:b.outerWidth) / b.innerWidth,
J=0,
O=D(F) ? function (){
return F(k)
}:function (){
return F||2.8
},
M=cc(h, c.type, !0, P),
y=K,
u=K;
return g&&a.set(g, {
y: "+=0"
}), c.ignoreCheck=function (a){
return R&&"touchmove"===a.type&&function (){
var c, a, b;
if(A) return requestAnimationFrame(Q), c=aw(k.deltaY / 2), a=u(d.v - c), g&&a!==d.v + d.offset&&(d.offset=a - d.v, b=aw((parseFloat(g&&g._gsap.y)||0) - d.offset), g.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, " + b + ", 0, 1)", g._gsap.y=b + "px", d.cacheID=e.cache, an()), !0;
d.offset&&B(), A = !0
}()||1.05 < p&&"touchstart"!==a.type||k.isGesturing||a.touches&&1 < a.touches.length
}, c.onPress=function (){
var a=p;
p=aw((b.visualViewport&&b.visualViewport.scale||1) / N), f.pause(), a!==p&&aR(h, 1.01 < p||!m&&"x"), I=r(), w=d(), z(), t=aM
}, c.onRelease=c.onGestureStart=function (i, k){
if(d.offset&&B(), k){
e.cache++;
var g, b, c=O();
m&&(b=(g=r()) + .05 * c * -i.velocityX / .227, c *=b$(r, g, b, L(h, q)), f.vars.scrollX=y(b)), b=(g=d()) + .05 * c * -i.velocityY / .227, c *=b$(d, g, b, L(h, l)), f.vars.scrollY=u(b), f.invalidate().duration(c).play(.01), (R&&f.vars.scrollY >=j||j - 1 <=g)&&a.to({}, {
onUpdate: v,
duration: c
})
} else E.restart(!0)
}, c.onWheel=function (){
f._ts&&f.pause(), 1e3 < s() - J&&(t=0, J=s())
}, c.onChange=function (a, b, c, g, h){
if(aM!==t&&z(), b&&m && r(y(g[2]===b ? I + (a.startX - a.x):r() + b - g[1])), c){
d.offset&&B();
var i=h[2]===c,
e=i ? w + a.startY - a.y:d() + c - h[1],
f=u(e);
i&&e!==f&&(w +=f - e), d(f)
}(c||b)&&an()
}, c.onEnable=function (){
aR(h, !m&&"x"), o(b, "resize", v), M.enable()
}, c.onDisable=function (){
aR(h, !0), n(b, "resize", v), M.kill()
}, c.lockAxis = !1!==c.lockAxis, ((k=new i(c)).iOS=R)&&!d()&&d(1), R&&a.ticker.add(K), E=k._dc, f=a.to(k, {
ease: "power4",
paused: !0,
scrollX: m ? "+=0.1":"+=0",
scrollY: "+=0.1",
onComplete: E.vars.onComplete
}), k
}
bD={
auto: 1,
scroll: 1
}, cb=/(input|label|select|textarea)/i, bt=function (a){
var b=cb.test(a.target.tagName);
(b||bz)&&(a._gsapAllow = !0, bz=b)
}, d.sort=function (a){
return c.sort(a||function (a, b){
return -1e6 * (a.vars.refreshPriority||0) + a.start - (b.start + -1e6 * (b.vars.refreshPriority||0))
})
}, d.observe=function (a){
return new i(a)
}, d.normalizeScroll=function (a){
if(void 0===a) return y;
if(!0===a&&y) return y.enable();
if(!1===a) return y&&y.kill();
var b=a instanceof i ? a:cg(a);
return y&&y.target===b.target&&y.kill(), W(b.target)&&(y=b), b
}, d.core={
_getVelocityProp: bp,
_inputObserver: cc,
_scrollers: e,
_proxies: E,
bridge: {
ss: function (){
A||N("scrollStart"), A=s()
},
ref: function (){
return m
}}
}, bK()&&a.registerPlugin(d), ax.ScrollTrigger=d, ax.default=d, typeof window=="undefined"||window!==ax ? Object.defineProperty(ax, "__esModule", {
value: !0
}):delete ax.default
});
! function (a, b){
"object"==typeof exports&&"undefined"!=typeof module ? b(exports):"function"==typeof define&&define.amd ? define(["exports"], b):b((a=a||self).window=a.window||{})
}(this, function (c){
"use strict";
var s=/([\uD800-\uDBFF][\uDC00-\uDFFF](?:[\u200D\uFE0F][\uD800-\uDBFF][\uDC00-\uDFFF]){2,}|\uD83D\uDC69(?:\u200D(?:(?:\uD83D\uDC69\u200D)?\uD83D\uDC67|(?:\uD83D\uDC69\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]\uFE0F|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC6F\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3C-\uDD3E\uDDD6-\uDDDF])\u200D[\u2640\u2642]\uFE0F|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F\u200D[\u2640\u2642]|(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642])\uFE0F|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\uD83D\uDC69\u200D[\u2695\u2696\u2708]|\uD83D\uDC68(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708]))\uFE0F|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83D\uDC69\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|\uD83D\uDC68(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]))|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDD1-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\u200D(?:(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC69\uDC6E\uDC70-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD26\uDD30-\uDD39\uDD3D\uDD3E\uDDD1-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])?|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDEEB\uDEEC\uDEF4-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267B\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])\uFE0F)/,
b, q, j, p, t, u, v, n, f;
function m(a){
return q.getComputedStyle(a)
}
function e(a, d){
var c;
return v(a) ? a:"string"==(c=typeof a)&&!d&&a ? n.call(b.querySelectorAll(a), 0):a&&"object"==c&&"length" in a ? n.call(a, 0):a ? [a]:[]
}
function g(a){
return "absolute"===a.position||!0===a.absolute
}
function x(d, b){
for (var a, c=b.length; - 1 < --c;)
if(a=b[c], d.substr(0, a.length)===a) return a.length
}
function o(a, c){
void 0===a&&(a="");
var b=~a.indexOf("++"),
d=1;
return b&&(a=a.split("++").join("")),
function (){
return "<" + c + " style='position:relative;display:inline-block;'" + (a ? " class='" + a + (b ? d++:"") + "'>":">")
}}
function h(a, c, d){
var b=a.nodeType;
if(1===b||9===b||11===b)
for (a=a.firstChild; a; a=a.nextSibling) h(a, c, d);
else 3!==b&&4!==b||(a.nodeValue=a.nodeValue.split(c).join(d))
}
function i(c, a){
for (var b=a.length; - 1 < --b;) c.push(a[b])
}
function l(a, c, d){
for (var b; a&&a!==c;){
if(b=a._next||a.nextSibling) return b.textContent.charAt(0)===d;
a=a.parentNode||a._parent
}}
function k(c){
var b, a, d=e(c.childNodes),
f=d.length;
for (b=0; b < f; b++)(a=d[b])._isSplit ? k(a):b&&a.previousSibling&&3===a.previousSibling.nodeType ? (a.previousSibling.nodeValue +=3===a.nodeType ? a.nodeValue:a.firstChild.nodeValue, c.removeChild(a)):3!==a.nodeType&&(c.insertBefore(a.firstChild, a), c.removeChild(a))
}
function a(a, b){
return parseFloat(b[a])||0
}
function y(d, s, W, U, N, C, A){
var e, j, t, c, y, v, w, J, q, f, P, p, n=m(d),
K=a("paddingLeft", n),
Q=-999,
Y=a("borderBottomWidth", n) + a("borderTopWidth", n),
X=a("borderLeftWidth", n) + a("borderRightWidth", n),
V=a("paddingTop", n) + a("paddingBottom", n),
T=a("paddingLeft", n) + a("paddingRight", n),
S=a("fontSize", n) * (s.lineThreshold||.2),
R=n.textAlign,
E=[],
L=[],
M=[],
F=s.wordDelimiter||" ",
D=s.tag ? s.tag:s.span ? "span":"div",
G=s.type||s.split||"chars,words,lines",
u=N&&~G.indexOf("lines") ? []:null,
r=~G.indexOf("words"),
x=~G.indexOf("chars"),
o=g(s),
z=s.linesClass,
I=~(z||"").indexOf("++"),
B=[],
H="flex"===n.display,
O=d.style.display;
for (I&&(z=z.split("++").join("")), H&&(d.style.display="block"), t=(j=d.getElementsByTagName("*")).length, y=[], e=0; e < t; e++) y[e]=j[e];
if(u||o)
for (e=0; e < t; e++)((v=(c=y[e]).parentNode===d)||o || x&&!r)&&(p=c.offsetTop, u&&v && Math.abs(p - Q) > S&&("BR"!==c.nodeName||0===e)&&(w=[], u.push(w), Q=p), o&&(c._x=c.offsetLeft, c._y=p, c._w=c.offsetWidth, c._h=c.offsetHeight), u&&((c._isSplit&&v||!x&&v||r&&v||!r&&c.parentNode.parentNode===d&&!c.parentNode._isSplit)&&(w.push(c), c._x -=K, l(c, d, F)&&(c._wordEnd = !0)), "BR"===c.nodeName&&(c.nextSibling&&"BR"===c.nextSibling.nodeName||0===e)&&u.push([])));
for (e=0; e < t; e++)
if(v=(c=y[e]).parentNode===d, "BR"!==c.nodeName)
if(o&&(q=c.style, r||v || (c._x +=c.parentNode._x, c._y +=c.parentNode._y), q.left=c._x + "px", q.top=c._y + "px", q.position="absolute", q.display="block", q.width=c._w + 1 + "px", q.height=c._h + "px"), !r&&x)
if(c._isSplit)
for (c._next=j = c.nextSibling, c.parentNode.appendChild(c); j&&3===j.nodeType&&" "===j.textContent;) c._next=j.nextSibling, c.parentNode.appendChild(j), j=j.nextSibling;
else c.parentNode._isSplit ? (c._parent=c.parentNode, !c.previousSibling&&c.firstChild&&(c.firstChild._isFirst = !0), c.nextSibling&&" "===c.nextSibling.textContent&&!c.nextSibling.nextSibling&&B.push(c.nextSibling), c._next=c.nextSibling&&c.nextSibling._isFirst ? null:c.nextSibling, c.parentNode.removeChild(c), y.splice(e--, 1), t--):v||(p = !c.nextSibling&&l(c.parentNode, d, F), c.parentNode._parent&&c.parentNode._parent.appendChild(c), p&&c.parentNode.appendChild(b.createTextNode(" ")), "span"===D&&(c.style.display="inline"), E.push(c));
else c.parentNode._isSplit&&!c._isSplit&&""!==c.innerHTML ? L.push(c):x&&!c._isSplit&&("span"===D&&(c.style.display="inline"), E.push(c));
else u||o ? (c.parentNode&&c.parentNode.removeChild(c), y.splice(e--, 1), t--):r||d.appendChild(c);
for (e=B.length; - 1 < --e;) B[e].parentNode.removeChild(B[e]);
if(u){
for (o&&(f=b.createElement(D), d.appendChild(f), P=f.offsetWidth + "px", p=f.offsetParent===d ? 0:d.offsetLeft, d.removeChild(f)), q=d.style.cssText, d.style.cssText="display:none;"; d.firstChild;) d.removeChild(d.firstChild);
for (J=" "===F&&(!o||!r&&!x), e=0; e < u.length; e++){
for (w=u[e], (f=b.createElement(D)).style.cssText="display:block;text-align:" + R + ";position:" + (o ? "absolute;":"relative;"), z&&(f.className=z + (I ? e + 1:"")), M.push(f), t=w.length, j=0; j < t; j++) "BR"!==w[j].nodeName&&(c=w[j], f.appendChild(c), J&&c._wordEnd&&f.appendChild(b.createTextNode(" ")), o&&(0===j&&(f.style.top=c._y + "px", f.style.left=K + p + "px"), c.style.top="0px", p&&(c.style.left=c._x - p + "px")));
0===t ? f.innerHTML="&nbsp;":r||x || (k(f), h(f, String.fromCharCode(160), " ")), o&&(f.style.width=P, f.style.height=c._h + "px"), d.appendChild(f)
}
d.style.cssText=q
}
o&&(A > d.clientHeight&&(d.style.height=A - V + "px", d.clientHeight < A&&(d.style.height=A + Y + "px")), C > d.clientWidth&&(d.style.width=C - T + "px", d.clientWidth < C&&(d.style.width=C + X + "px"))), H&&(O ? d.style.display=O:d.style.removeProperty("display")), i(W, E), r&&i(U, L), i(N, M)
}
function w(i, e, B, o){
var c, f, a, m, v, d, q, w, j=e.tag ? e.tag:e.span ? "span":"div",
n=~(e.type||e.split||"chars,words,lines").indexOf("chars"),
C=g(e),
k=e.wordDelimiter||" ",
l=" "!==k ? "":C ? "&#173; ":" ",
z="</" + j + ">",
p=1,
A=e.specialChars ? "function"==typeof e.specialChars ? e.specialChars:x : null,
r=b.createElement("div"),
y=i.parentNode;
for (y.insertBefore(r, i), r.textContent=i.nodeValue, y.removeChild(i), q=-1!==(c=function d(a){
var b=a.nodeType,
c="";
if(1===b||9===b||11===b){
if("string"==typeof a.textContent) return a.textContent;
for (a=a.firstChild; a; a=a.nextSibling) c +=d(a)
}else if(3===b||4===b) return a.nodeValue;
return c
}(i=r)).indexOf("<"), !1!==e.reduceWhiteSpace&&(c=c.replace(u, " ").replace(t, "")), q&&(c=c.split("<").join("{{LT}}")), v=c.length, f=(" "===c.charAt(0) ? l:"") + B(), a=0; a < v; a++)
if(d=c.charAt(a), A&&(w=A(c.substr(a), e.specialChars))) d=c.substr(a, w||1), f +=n&&" "!==d ? o() + d + "</" + j + ">":d, a +=w - 1;
else if(d===k&&c.charAt(a - 1)!==k&&a){
for (f +=p ? z:"", p=0; c.charAt(a + 1)===k;) f +=l, a++;
a===v - 1 ? f +=l:")"!==c.charAt(a + 1)&&(f +=l + B(), p=1)
} else "{"===d&&"{{LT}}"===c.substr(a, 6) ? (f +=n ? o() + "{{LT}}</" + j + ">":"{{LT}}", a +=5):55296 <=d.charCodeAt(0)&&d.charCodeAt(0) <=56319||65024 <=c.charCodeAt(a + 1)&&c.charCodeAt(a + 1) <=65039 ? (m=((c.substr(a, 12).split(s)||[])[1]||"").length||2, f +=n&&" "!==d ? o() + c.substr(a, m) + "</" + j + ">":c.substr(a, m), a +=m - 1):f +=n&&" "!==d ? o() + d + "</" + j + ">":d;
i.outerHTML=f + (p ? z:""), q&&h(y, "{{LT}}", "<")
}
function r(c, b, f, h){
var d, a, i=e(c.childNodes),
j=i.length,
k=g(b);
if(3!==c.nodeType||1 < j){
for (b.absolute = !1, d=0; d < j; d++)(a=i[d])._next=a._isFirst=a._parent=a._wordEnd=null, 3===a.nodeType&&!/\S+/.test(a.nodeValue)||(k&&3!==a.nodeType&&"inline"===m(a).display&&(a.style.display="inline-block", a.style.position="relative"), a._isSplit = !0, r(a, b, f, h));
return b.absolute=k, void(c._isSplit = !0)
}
w(c, b, f, h)
}
t=/(?:\r|\n|\t\t)/g, u=/(?:\s\s+)/g, v=Array.isArray, n=[].slice, f=((p=d.prototype).split=function (a){
this.isSplit&&this.revert(), this.vars=a = a||this.vars, this._originals.length=this.chars.length=this.words.length=this.lines.length=0;
for (var e, f, b, c=this.elements.length, d=a.tag ? a.tag:a.span ? "span":"div", g=o(a.wordsClass, d), h=o(a.charsClass, d); - 1 < --c;) b=this.elements[c], this._originals[c]=b.innerHTML, e=b.clientHeight, f=b.clientWidth, r(b, a, g, h), y(b, a, this.chars, this.words, this.lines, f, e);
return this.chars.reverse(), this.words.reverse(), this.lines.reverse(), this.isSplit = !0, this
}, p.revert=function (){
var a=this._originals;
if(!a) throw "revert() call wasn't scoped properly.";
return this.elements.forEach(function (b, c){
return b.innerHTML=a[c]
}), this.chars=[], this.words=[], this.lines=[], this.isSplit = !1, this
}, d.create=function (a, b){
return new d(a, b)
}, d);
function d(c, a){
j||function (){
b=document, q=window, j=1
}(), this.elements=e(c), this.chars=[], this.words=[], this.lines=[], this._originals=[], this.vars=a||{}, this.split(a)
}
f.version="3.6.1", c.SplitText=f, c.default=f, typeof window=="undefined"||window!==c ? Object.defineProperty(c, "__esModule", {
value: !0
}):delete c.default
});
(function ($){
"use strict";
$(window).on("load", function (){
bwsplit_text();
});
function bwsplit_text(){
setTimeout(function (){
var splitTextElements=$(".sec-title__title, .sec-title__tagline, .page-header__title");
if(splitTextElements.length===0) return;
gsap.registerPlugin(SplitText);
splitTextElements.each(function (index, element){
var splitElement=new SplitText(element, {
type: "chars, words", // "chars, words, lines"
});
gsap.set(element, {
perspective: 400
});
if($(element).hasClass("bw-split-in-fade")){
gsap.set(splitElement.chars, {
opacity: 0,
ease: "Back.easeOut"
});
}
if($(element).hasClass("bw-split-in-right")){
gsap.set(splitElement.chars, {
opacity: 0,
x: "20",
ease: "Back.easeOut"
});
}
if($(element).hasClass("bw-split-in-left")){
gsap.set(splitElement.chars, {
opacity: 0,
x: "-20",
ease: "Back.easeOut"
});
}
if($(element).hasClass("bw-split-in-up")){
gsap.set(splitElement.chars, {
opacity: 0,
y: "20",
ease: "circ.out"
});
}
if($(element).hasClass("bw-split-in-down")){
gsap.set(splitElement.chars, {
opacity: 0,
y: "-20",
ease: "circ.out"
});
}
if($(element).hasClass("bw-split-in-rotate")){
gsap.set(splitElement.chars, {
opacity: 0,
rotateX: "50deg",
ease: "circ.out"
});
}
if($(element).hasClass("bw-split-in-scale")){
gsap.set(splitElement.chars, {
opacity: 0,
rotateX: "50deg",
ease: "circ.out"
});
}
element.anim=gsap.to(splitElement.chars, {
scrollTrigger: {
trigger: element,
toggleActions: "restart pause resume reverse",
start: "top 90%"
},
x: "0",
y: "0",
rotateX: "0",
scale: 1,
opacity: 1,
duration: 1.2,
stagger: 0.02
});
});
}, 200);
}})(jQuery);
(function ($){
"use strict";
var WidgetDefaultHandler=function ($scope){
if($scope.find(".mc-form").length){
$scope.find(".mc-form").each(function (){
var Self=$(this);
var mcURL=Self.data("url");
var mcResp=Self.parent().find(".mc-form__response");
Self.ajaxChimp({
url: mcURL,
callback: function (resp){
mcResp.append(function (){
return '<p class="mc-message">' + resp.msg + "</p>";
});
if(resp.result==="success"){
Self.removeClass("errored").addClass("successed");
mcResp.removeClass("errored").addClass("successed");
Self.find("input").val("");
mcResp.find("p").fadeOut(10000);
}
if(resp.result==="error"){
Self.removeClass("successed").addClass("errored");
mcResp.removeClass("successed").addClass("errored");
Self.find("input").val("");
mcResp.find("p").fadeOut(10000);
}}
});
});
}
if($scope.find(".main-header--five__toggler, .sidebar-one__overlay, .sidebar-one__close").length){
$scope.find(".main-header--five__toggler, .sidebar-one__overlay, .sidebar-one__close").on("click", function (e){
e.preventDefault();
$scope.find(".sidebar-one").toggleClass("active");
$("body").toggleClass("locked");
});
}
if($scope.find(".wow").length){
var wow=new WOW({
boxClass: "wow",
animateClass: "animated",
mobile: true,
live: true
});
wow.init();
}
if($scope.find(".count-box").length){
$scope.find(".count-box").appear(function (){
var $t=$(this),
n=$t.find(".count-text").attr("data-stop"),
r=parseInt($t.find(".count-text").attr("data-speed"), 10);
if(!$t.hasClass("counted")){
$t.addClass("counted");
$({
countNum: $t.find(".count-text").text()
}).animate({
countNum: n
}, {
duration: r,
easing: "linear",
step: function (){
$t.find(".count-text").text(Math.floor(this.countNum));
},
complete: function (){
$t.find(".count-text").text(this.countNum);
}});
}}, {
accY: 0
}
);
}
let careoxowlCarousel=$scope.find(".careox-owl__carousel");
if(careoxowlCarousel.length){
careoxowlCarousel.each(function (){
let elm=$(this);
let options=elm.data("owl-options");
let thmOwlCarousel=elm.owlCarousel("object"===typeof options ? options:JSON.parse(options)
);
elm.find("button").each(function (){
$(this).attr("aria-label", "carousel button");
});
});
}
let careoxowlCarouselNav=$scope.find(".careox-owl__carousel--custom-nav");
if(careoxowlCarouselNav.length){
careoxowlCarouselNav.each(function (){
let elm=$(this);
let owlNavPrev=elm.data("owl-nav-prev");
let owlNavNext=elm.data("owl-nav-next");
$(owlNavPrev).on("click", function (e){
elm.trigger("prev.owl.carousel");
e.preventDefault();
});
$(owlNavNext).on("click", function (e){
elm.trigger("next.owl.carousel");
e.preventDefault();
});
});
}
let careoxslickCarousel=$scope.find(".careox-slick__carousel");
if(careoxslickCarousel.length){
careoxslickCarousel.each(function (){
let elm=$(this);
let options=elm.data("slick-options");
let careoxslickCarousel=elm.slick("object"===typeof options ? options:JSON.parse(options)
);
});
}
if($scope.find(".odometer").length){
var odo=$scope.find(".odometer");
odo.each(function (){
$(this).appear(function (){
var countNumber=$(this).attr("data-count");
$(this).html(countNumber);
});
});
}
if($scope.find(".masonry-layout").length){
$scope.find(".masonry-layout").imagesLoaded(function (){
$scope.find(".masonry-layout").isotope({
layoutMode: "masonry"
});
});
}
if($scope.find(".img-popup").length){
var groups={};
$scope.find(".img-popup").each(function (){
var id=parseInt($(this).attr("data-group"), 10);
if(!groups[id]){
groups[id]=[];
}
groups[id].push(this);
});
$.each(groups, function (){
$(this).magnificPopup({
type: "image",
closeOnContentClick: true,
closeBtnInside: false,
gallery: {
enabled: true
}});
});
}
if($scope.find(".careox-masonary").length){
$scope.find(".careox-masonary").imagesLoaded(function (){
$scope.find(".careox-masonary").isotope({
layoutMode: "masonry"
});
});
}
if($scope.find(".post-filter").length){
$scope.find(".post-filter li")
.children(".filter-text")
.on("click", function (){
var Self=$(this);
var selector=Self.parent().attr("data-filter");
$scope.find(".post-filter li").removeClass("active");
Self.parent().addClass("active");
$scope.find(".careox-filter").isotope({
filter: selector,
animationOptions: {
duration: 500,
easing: "linear",
queue: false
}});
return false;
});
}
if($scope.find(".post-filter.has-dynamic-filters-counter").length){
var activeFilterItem=$scope.find(".post-filter.has-dynamic-filters-counter").find("li"
);
activeFilterItem.each(function (){
var filterElement=$(this).data("filter");
var count=$scope.find(".careox-filter").find(filterElement).length;
$(this)
.children(".filter-text")
.append('<span class="count">(' + count + ")</span>");
});
}
if($scope.find(".masonary-layout").length){
$scope.find(".masonary-layout").isotope({
layoutMode: "masonry"
});
}
if($scope.find(".post-filter").length){
$scope
.find(".post-filter li")
.children(".filter-text")
.on("click", function (){
var Self=$(this);
var selector=Self.parent().attr("data-filter");
$scope.find(".post-filter li").removeClass("active");
Self.parent().addClass("active");
$scope.find(".filter-layout").isotope({
filter: selector,
animationOptions: {
duration: 500,
easing: "linear",
queue: false
}});
return false;
});
}
if($scope.find(".tabs-box").length){
$scope.find(".tabs-box .tab-buttons .tab-btn").on("click", function (e){
e.preventDefault();
var target=$($(this).attr("data-tab"));
if($(target).is(":visible")){
return false;
}else{
target
.parents(".tabs-box")
.find(".tab-buttons")
.find(".tab-btn")
.removeClass("active-btn");
$(this).addClass("active-btn");
target
.parents(".tabs-box")
.find(".tabs-content")
.find(".tab")
.fadeOut(0);
target
.parents(".tabs-box")
.find(".tabs-content")
.find(".tab")
.removeClass("active-tab");
$(target).fadeIn(300);
$(target).addClass("active-tab");
}});
}
if($scope.find(".neighborhoods__faq").length){
$scope
.find(".neighborhoods__faq")
.find(".accrodion")
.each(function (){
$(this).on("click", function (){
let tabName=$(this).data("name");
$scope.find(".neighborhoods__img-box")
.find(".neighborhoods__location-1")
.removeClass("active");
$scope.find(".neighborhoods__img-box")
.find(".neighborhoods__location-1." + tabName)
.addClass("active");
});
});
}
if($scope.find(".careox-accrodion").length){
var accrodionGrp=$scope.find(".careox-accrodion");
accrodionGrp.each(function (){
var accrodionName=$(this).data("grp-name");
var Self=$(this);
var accordion=Self.find(".accrodion");
Self.addClass(accrodionName);
Self.find(".accrodion .accrodion-content").hide();
Self.find(".accrodion.active").find(".accrodion-content").show();
accordion.each(function (){
$(this)
.find(".accrodion-title")
.on("click", function (){
if($(this).parent().hasClass("active")===false){
$scope.find(".careox-accrodion." + accrodionName)
.find(".accrodion")
.removeClass("active");
$scope.find(".careox-accrodion." + accrodionName)
.find(".accrodion")
.find(".accrodion-content")
.slideUp();
$(this).parent().addClass("active");
$(this).parent().find(".accrodion-content").slideDown();
}});
});
});
}
if($scope.find(".count-bar").length){
$scope.find(".count-bar").appear(function (){
var el=$(this);
var percent=el.data("percent");
$(el).css("width", percent).addClass("counted");
}, {
accY: -50
}
);
}
if($scope.find(".circle-progress").length){
$scope.find(".circle-progress").appear(function (){
let circleProgress=$scope.find(".circle-progress");
circleProgress.each(function (){
let progress=$(this);
let progressOptions=progress.data("options");
progress.circleProgress(progressOptions);
});
});
}
if($scope.find(".count-box").length){
$scope.find(".count-box").appear(function (){
var $t=$(this),
n=$t.find(".count-text").attr("data-stop"),
r=parseInt($t.find(".count-text").attr("data-speed"), 10);
if(!$t.hasClass("counted")){
$t.addClass("counted");
$({
countNum: $t.find(".count-text").text()
}).animate({
countNum: n
}, {
duration: r,
easing: "linear",
step: function (){
$t.find(".count-text").text(Math.floor(this.countNum));
},
complete: function (){
$t.find(".count-text").text(this.countNum);
}});
}}, {
accY: 0
}
);
}
let thmSwiperSliders=$scope.find(".thm-swiper__slider");
if(thmSwiperSliders.length){
thmSwiperSliders.each(function (){
let elm=$(this);
let options=elm.data("swiper-options");
let thmSwiperSlider=new Swiper(
elm,
"object"===typeof options ? options:JSON.parse(options)
);
});
}
let thmOwlCarousels=$scope.find(".careox-owl__carousel");
if(thmOwlCarousels.length){
thmOwlCarousels.each(function (){
let elm=$(this);
let options=elm.data("owl-options");
let thmOwlCarousel=elm.owlCarousel("object"===typeof options ? options:JSON.parse(options)
);
});
}
let thmOwlNavCarousels=$scope.find(".thm-owl__carousel--custom-nav");
if(thmOwlNavCarousels.length){
thmOwlNavCarousels.each(function (){
let elm=$(this);
let owlNavPrev=elm.data("owl-nav-prev");
let owlNavNext=elm.data("owl-nav-next");
$(owlNavPrev).on("click", function (e){
elm.trigger("prev.owl.carousel");
e.preventDefault();
});
$(owlNavNext).on("click", function (e){
elm.trigger("next.owl.carousel");
e.preventDefault();
});
});
}
if($scope.find("#testimonials-two__thumb").length){
let testimonialsThumb=new Swiper("#testimonials-two__thumb", {
slidesPerView: 3,
spaceBetween: 0,
speed: 1400,
watchSlidesVisibility: true,
watchSlidesProgress: true,
loop: true,
autoplay: {
delay: 5000
}});
let testimonialsCarousel=new Swiper("#testimonials-two__carousel", {
observer: true,
observeParents: true,
speed: 1400,
mousewheel: false,
slidesPerView: 1,
autoplay: {
delay: 5000
},
thumbs: {
swiper: testimonialsThumb
},
pagination: {
el: "#testimonials-one__carousel-pagination",
type: "bullets",
clickable: true
}});
}
if($scope.find(".post-filter").length){
var postFilterList=$scope.find(".post-filter li");
$scope.find(".filter-layout").isotope({
filter: ".filter-item",
animationOptions: {
duration: 500,
easing: "linear",
queue: false
}});
postFilterList.on("click", function (){
var Self=$(this);
var selector=Self.attr("data-filter");
postFilterList.removeClass("active");
Self.addClass("active");
$scope.find(".filter-layout").isotope({
filter: selector,
animationOptions: {
duration: 500,
easing: "linear",
queue: false
}});
return false;
});
}
if($scope.find(".curved-circle--item").length){
$scope.find(".curved-circle--item").circleType();
}
if($scope.find(".careox-datepicker").length){
$scope.find(".careox-datepicker").each(function (){
$(this).datepicker();
});
}
if($scope.find("#datepicker").length){
$scope.find("#datepicker").datepicker();
}
if($scope.find("#datepicker2").length){
$scope.find("#datepicker2").datepicker();
}
careox_stretch();
function careox_stretch(){
var i=$(window).width();
$scope.find(".row .careox-stretch-element-inside-column").each(function (){
var $this=$(this),
row=$this.closest(".row"),
cols=$this.closest('[class^="col-"]'),
colsheight=$this.closest('[class^="col-"]').height(),
rect=this.getBoundingClientRect(),
l=row[0].getBoundingClientRect(),
s=cols[0].getBoundingClientRect(),
r=rect.left,
d=i - rect.right,
c=l.left + (parseFloat(row.css("padding-left"))||0),
u=i - l.right + (parseFloat(row.css("padding-right"))||0),
p=s.left,
f=i - s.right,
styles={
"margin-left": 0,
"margin-right": 0
};
if(Math.round(c)===Math.round(p)){
var h=parseFloat($this.css("margin-left")||0);
styles["margin-left"]=h - r;
}
if(Math.round(u)===Math.round(f)){
var w=parseFloat($this.css("margin-right")||0);
styles["margin-right"]=w - d;
}
$this.css(styles);
});
}};
var WidgetFaqHandler=function ($scope){
if($scope.find(".accrodion-grp").length){
var accrodionGrp=$scope.find(".accrodion-grp");
accrodionGrp.each(function (){
var accrodionName=$(this).data("grp-name");
var Self=$(this);
var accordion=Self.find(".accrodion");
Self.addClass(accrodionName);
Self.find(".accrodion .accrodion-content").hide();
Self.find(".accrodion.active").find(".accrodion-content").show();
accordion.each(function (){
$(this)
.find(".accrodion-title")
.on("click", function (){
if($(this).parent().hasClass("active")===false){
$scope.find(".accrodion-grp." + accrodionName)
.find(".accrodion")
.removeClass("active");
$scope.find(".accrodion-grp." + accrodionName)
.find(".accrodion")
.find(".accrodion-content")
.slideUp();
$(this).parent().addClass("active");
$(this).parent().find(".accrodion-content").slideDown();
}});
});
});
}};
$(window).on("elementor/frontend/init", function (){
elementorFrontend.hooks.addAction("frontend/element_ready/widget",
WidgetDefaultHandler
);
elementorFrontend.hooks.addAction("frontend/element_ready/careox-faq.default",
WidgetFaqHandler
);
});
$("#careox-login").submit(function (event){
event.preventDefault();
var login="action=signup_paragon&param=login&" + $(this).serialize();
var loginResult=$(".login-result");
$.ajax({
type: "POST",
url: careox_login_object.ajaxurl,
data: login,
beforeSend: function (){
loginResult.addClass("loading");
},
success: function (data){
loginResult.removeClass("loading");
if(data.status==2){
loginResult.removeClass("alert alert-warning");
loginResult.html(data.message).addClass("alert alert-success");
window.location.href=careox_login_object.login_redirect_url;
}else if(data.status==1){
loginResult.html(data.message).addClass("alert alert-warning");
}else{
loginResult
.html(careox_login_object.message)
.addClass("alert alert-warning");
}}
});
});
$("#careox-registration").submit(function (event){
event.preventDefault();
var signupForm =
"action=signup_paragon&param=register&" + $(this).serialize();
var registerationResult=$(".registration-result");
$.ajax({
type: "POST",
url: careox_login_object.ajaxurl,
data: signupForm,
beforeSend: function (){
registerationResult.addClass("loading");
},
success: function (data){
registerationResult.removeClass("loading");
if(data.status==2){
registerationResult.removeClass("alert alert-warning");
registerationResult
.html(data.message)
.addClass("alert alert-success");
window.location.href=careox_login_object.registration_redirect_url;
}else{
registerationResult
.html(data.message)
.addClass("alert alert-warning");
}}
});
});
})(jQuery);
(function(t){function e(){}function i(t){function i(e){e.prototype.option||(e.prototype.option=function(e){t.isPlainObject(e)&&(this.options=t.extend(!0,this.options,e))})}function n(e,i){t.fn[e]=function(n){if("string"==typeof n){for(var s=o.call(arguments,1),a=0,u=this.length;u>a;a++){var p=this[a],h=t.data(p,e);if(h)if(t.isFunction(h[n])&&"_"!==n.charAt(0)){var f=h[n].apply(h,s);if(void 0!==f)return f}else r("no such method '"+n+"' for "+e+" instance");else r("cannot call methods on "+e+" prior to initialization; "+"attempted to call '"+n+"'")}return this}return this.each(function(){var o=t.data(this,e);o?(o.option(n),o._init()):(o=new i(this,n),t.data(this,e,o))})}}if(t){var r="undefined"==typeof console?e:function(t){console.error(t)};return t.bridget=function(t,e){i(e),n(t,e)},t.bridget}}var o=Array.prototype.slice;"function"==typeof define&&define.amd?define("jquery-bridget/jquery.bridget",["jquery"],i):"object"==typeof exports?i(require("jquery")):i(t.jQuery)})(window),function(t){function e(e){var i=t.event;return i.target=i.target||i.srcElement||e,i}var i=document.documentElement,o=function(){};i.addEventListener?o=function(t,e,i){t.addEventListener(e,i,!1)}:i.attachEvent&&(o=function(t,i,o){t[i+o]=o.handleEvent?function(){var i=e(t);o.handleEvent.call(o,i)}:function(){var i=e(t);o.call(t,i)},t.attachEvent("on"+i,t[i+o])});var n=function(){};i.removeEventListener?n=function(t,e,i){t.removeEventListener(e,i,!1)}:i.detachEvent&&(n=function(t,e,i){t.detachEvent("on"+e,t[e+i]);try{delete t[e+i]}catch(o){t[e+i]=void 0}});var r={bind:o,unbind:n};"function"==typeof define&&define.amd?define("eventie/eventie",r):"object"==typeof exports?module.exports=r:t.eventie=r}(this),function(t){function e(t){"function"==typeof t&&(e.isReady?t():s.push(t))}function i(t){var i="readystatechange"===t.type&&"complete"!==r.readyState;e.isReady||i||o()}function o(){e.isReady=!0;for(var t=0,i=s.length;i>t;t++){var o=s[t];o()}}function n(n){return"complete"===r.readyState?o():(n.bind(r,"DOMContentLoaded",i),n.bind(r,"readystatechange",i),n.bind(t,"load",i)),e}var r=t.document,s=[];e.isReady=!1,"function"==typeof define&&define.amd?define("doc-ready/doc-ready",["eventie/eventie"],n):"object"==typeof exports?module.exports=n(require("eventie")):t.docReady=n(t.eventie)}(window),function(){function t(){}function e(t,e){for(var i=t.length;i--;)if(t[i].listener===e)return i;return-1}function i(t){return function(){return this[t].apply(this,arguments)}}var o=t.prototype,n=this,r=n.EventEmitter;o.getListeners=function(t){var e,i,o=this._getEvents();if(t instanceof RegExp){e={};for(i in o)o.hasOwnProperty(i)&&t.test(i)&&(e[i]=o[i])}else e=o[t]||(o[t]=[]);return e},o.flattenListeners=function(t){var e,i=[];for(e=0;t.length>e;e+=1)i.push(t[e].listener);return i},o.getListenersAsObject=function(t){var e,i=this.getListeners(t);return i instanceof Array&&(e={},e[t]=i),e||i},o.addListener=function(t,i){var o,n=this.getListenersAsObject(t),r="object"==typeof i;for(o in n)n.hasOwnProperty(o)&&-1===e(n[o],i)&&n[o].push(r?i:{listener:i,once:!1});return this},o.on=i("addListener"),o.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},o.once=i("addOnceListener"),o.defineEvent=function(t){return this.getListeners(t),this},o.defineEvents=function(t){for(var e=0;t.length>e;e+=1)this.defineEvent(t[e]);return this},o.removeListener=function(t,i){var o,n,r=this.getListenersAsObject(t);for(n in r)r.hasOwnProperty(n)&&(o=e(r[n],i),-1!==o&&r[n].splice(o,1));return this},o.off=i("removeListener"),o.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},o.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)},o.manipulateListeners=function(t,e,i){var o,n,r=t?this.removeListener:this.addListener,s=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(o=i.length;o--;)r.call(this,e,i[o]);else for(o in e)e.hasOwnProperty(o)&&(n=e[o])&&("function"==typeof n?r.call(this,o,n):s.call(this,o,n));return this},o.removeEvent=function(t){var e,i=typeof t,o=this._getEvents();if("string"===i)delete o[t];else if(t instanceof RegExp)for(e in o)o.hasOwnProperty(e)&&t.test(e)&&delete o[e];else delete this._events;return this},o.removeAllListeners=i("removeEvent"),o.emitEvent=function(t,e){var i,o,n,r,s=this.getListenersAsObject(t);for(n in s)if(s.hasOwnProperty(n))for(o=s[n].length;o--;)i=s[n][o],i.once===!0&&this.removeListener(t,i.listener),r=i.listener.apply(this,e||[]),r===this._getOnceReturnValue()&&this.removeListener(t,i.listener);return this},o.trigger=i("emitEvent"),o.emit=function(t){var e=Array.prototype.slice.call(arguments,1);return this.emitEvent(t,e)},o.setOnceReturnValue=function(t){return this._onceReturnValue=t,this},o._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},o._getEvents=function(){return this._events||(this._events={})},t.noConflict=function(){return n.EventEmitter=r,t},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return t}):"object"==typeof module&&module.exports?module.exports=t:n.EventEmitter=t}.call(this),function(t){function e(t){if(t){if("string"==typeof o[t])return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var e,n=0,r=i.length;r>n;n++)if(e=i[n]+t,"string"==typeof o[e])return e}}var i="Webkit Moz ms Ms O".split(" "),o=document.documentElement.style;"function"==typeof define&&define.amd?define("get-style-property/get-style-property",[],function(){return e}):"object"==typeof exports?module.exports=e:t.getStyleProperty=e}(window),function(t){function e(t){var e=parseFloat(t),i=-1===t.indexOf("%")&&!isNaN(e);return i&&e}function i(){}function o(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0,i=s.length;i>e;e++){var o=s[e];t[o]=0}return t}function n(i){function n(){if(!d){d=!0;var o=t.getComputedStyle;if(p=function(){var t=o?function(t){return o(t,null)}:function(t){return t.currentStyle};return function(e){var i=t(e);return i||r("Style returned "+i+". Are you running this code in a hidden iframe on Firefox? "+"See http://bit.ly/getsizebug1"),i}}(),h=i("boxSizing")){var n=document.createElement("div");n.style.width="200px",n.style.padding="1px 2px 3px 4px",n.style.borderStyle="solid",n.style.borderWidth="1px 2px 3px 4px",n.style[h]="border-box";var s=document.body||document.documentElement;s.appendChild(n);var a=p(n);f=200===e(a.width),s.removeChild(n)}}}function a(t){if(n(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var i=p(t);if("none"===i.display)return o();var r={};r.width=t.offsetWidth,r.height=t.offsetHeight;for(var a=r.isBorderBox=!(!h||!i[h]||"border-box"!==i[h]),d=0,l=s.length;l>d;d++){var c=s[d],y=i[c];y=u(t,y);var m=parseFloat(y);r[c]=isNaN(m)?0:m}var g=r.paddingLeft+r.paddingRight,v=r.paddingTop+r.paddingBottom,_=r.marginLeft+r.marginRight,I=r.marginTop+r.marginBottom,L=r.borderLeftWidth+r.borderRightWidth,z=r.borderTopWidth+r.borderBottomWidth,b=a&&f,x=e(i.width);x!==!1&&(r.width=x+(b?0:g+L));var S=e(i.height);return S!==!1&&(r.height=S+(b?0:v+z)),r.innerWidth=r.width-(g+L),r.innerHeight=r.height-(v+z),r.outerWidth=r.width+_,r.outerHeight=r.height+I,r}}function u(e,i){if(t.getComputedStyle||-1===i.indexOf("%"))return i;var o=e.style,n=o.left,r=e.runtimeStyle,s=r&&r.left;return s&&(r.left=e.currentStyle.left),o.left=i,i=o.pixelLeft,o.left=n,s&&(r.left=s),i}var p,h,f,d=!1;return a}var r="undefined"==typeof console?i:function(t){console.error(t)},s=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];"function"==typeof define&&define.amd?define("get-size/get-size",["get-style-property/get-style-property"],n):"object"==typeof exports?module.exports=n(require("desandro-get-style-property")):t.getSize=n(t.getStyleProperty)}(window),function(t){function e(t,e){return t[s](e)}function i(t){if(!t.parentNode){var e=document.createDocumentFragment();e.appendChild(t)}}function o(t,e){i(t);for(var o=t.parentNode.querySelectorAll(e),n=0,r=o.length;r>n;n++)if(o[n]===t)return!0;return!1}function n(t,o){return i(t),e(t,o)}var r,s=function(){if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0,o=e.length;o>i;i++){var n=e[i],r=n+"MatchesSelector";if(t[r])return r}}();if(s){var a=document.createElement("div"),u=e(a,"div");r=u?e:n}else r=o;"function"==typeof define&&define.amd?define("matches-selector/matches-selector",[],function(){return r}):"object"==typeof exports?module.exports=r:window.matchesSelector=r}(Element.prototype),function(t){function e(t,e){for(var i in e)t[i]=e[i];return t}function i(t){for(var e in t)return!1;return e=null,!0}function o(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}function n(t,n,r){function a(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var u=r("transition"),p=r("transform"),h=u&&p,f=!!r("perspective"),d={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"}[u],l=["transform","transition","transitionDuration","transitionProperty"],c=function(){for(var t={},e=0,i=l.length;i>e;e++){var o=l[e],n=r(o);n&&n!==o&&(t[o]=n)}return t}();e(a.prototype,t.prototype),a.prototype._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},a.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},a.prototype.getSize=function(){this.size=n(this.element)},a.prototype.css=function(t){var e=this.element.style;for(var i in t){var o=c[i]||i;e[o]=t[i]}},a.prototype.getPosition=function(){var t=s(this.element),e=this.layout.options,i=e.isOriginLeft,o=e.isOriginTop,n=parseInt(t[i?"left":"right"],10),r=parseInt(t[o?"top":"bottom"],10);n=isNaN(n)?0:n,r=isNaN(r)?0:r;var a=this.layout.size;n-=i?a.paddingLeft:a.paddingRight,r-=o?a.paddingTop:a.paddingBottom,this.position.x=n,this.position.y=r},a.prototype.layoutPosition=function(){var t=this.layout.size,e=this.layout.options,i={};e.isOriginLeft?(i.left=this.position.x+t.paddingLeft+"px",i.right=""):(i.right=this.position.x+t.paddingRight+"px",i.left=""),e.isOriginTop?(i.top=this.position.y+t.paddingTop+"px",i.bottom=""):(i.bottom=this.position.y+t.paddingBottom+"px",i.top=""),this.css(i),this.emitEvent("layout",[this])};var y=f?function(t,e){return"translate3d("+t+"px, "+e+"px, 0)"}:function(t,e){return"translate("+t+"px, "+e+"px)"};a.prototype._transitionTo=function(t,e){this.getPosition();var i=this.position.x,o=this.position.y,n=parseInt(t,10),r=parseInt(e,10),s=n===this.position.x&&r===this.position.y;if(this.setPosition(t,e),s&&!this.isTransitioning)return this.layoutPosition(),void 0;var a=t-i,u=e-o,p={},h=this.layout.options;a=h.isOriginLeft?a:-a,u=h.isOriginTop?u:-u,p.transform=y(a,u),this.transition({to:p,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},a.prototype.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},a.prototype.moveTo=h?a.prototype._transitionTo:a.prototype.goTo,a.prototype.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},a.prototype._nonTransition=function(t){this.css(t.to),t.isCleaning&&this._removeStyles(t.to);for(var e in t.onTransitionEnd)t.onTransitionEnd[e].call(this)},a.prototype._transition=function(t){if(!parseFloat(this.layout.options.transitionDuration))return this._nonTransition(t),void 0;var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);var o=this.element.offsetHeight;o=null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0};var m=p&&o(p)+",opacity";a.prototype.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:m,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(d,this,!1))},a.prototype.transition=a.prototype[u?"_transition":"_nonTransition"],a.prototype.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},a.prototype.onotransitionend=function(t){this.ontransitionend(t)};var g={"-webkit-transform":"transform","-moz-transform":"transform","-o-transform":"transform"};a.prototype.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,o=g[t.propertyName]||t.propertyName;if(delete e.ingProperties[o],i(e.ingProperties)&&this.disableTransition(),o in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[o]),o in e.onEnd){var n=e.onEnd[o];n.call(this),delete e.onEnd[o]}this.emitEvent("transitionEnd",[this])}},a.prototype.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(d,this,!1),this.isTransitioning=!1},a.prototype._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var v={transitionProperty:"",transitionDuration:""};return a.prototype.removeTransitionStyles=function(){this.css(v)},a.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element),this.emitEvent("remove",[this])},a.prototype.remove=function(){if(!u||!parseFloat(this.layout.options.transitionDuration))return this.removeElem(),void 0;var t=this;this.on("transitionEnd",function(){return t.removeElem(),!0}),this.hide()},a.prototype.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options;this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0})},a.prototype.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options;this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:{opacity:function(){this.isHidden&&this.css({display:"none"})}}})},a.prototype.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},a}var r=t.getComputedStyle,s=r?function(t){return r(t,null)}:function(t){return t.currentStyle};"function"==typeof define&&define.amd?define("outlayer/item",["eventEmitter/EventEmitter","get-size/get-size","get-style-property/get-style-property"],n):"object"==typeof exports?module.exports=n(require("wolfy87-eventemitter"),require("get-size"),require("desandro-get-style-property")):(t.Outlayer={},t.Outlayer.Item=n(t.EventEmitter,t.getSize,t.getStyleProperty))}(window),function(t){function e(t,e){for(var i in e)t[i]=e[i];return t}function i(t){return"[object Array]"===f.call(t)}function o(t){var e=[];if(i(t))e=t;else if(t&&"number"==typeof t.length)for(var o=0,n=t.length;n>o;o++)e.push(t[o]);else e.push(t);return e}function n(t,e){var i=l(e,t);-1!==i&&e.splice(i,1)}function r(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()}function s(i,s,f,l,c,y){function m(t,i){if("string"==typeof t&&(t=a.querySelector(t)),!t||!d(t))return u&&u.error("Bad "+this.constructor.namespace+" element: "+t),void 0;this.element=t,this.options=e({},this.constructor.defaults),this.option(i);var o=++g;this.element.outlayerGUID=o,v[o]=this,this._create(),this.options.isInitLayout&&this.layout()}var g=0,v={};return m.namespace="outlayer",m.Item=y,m.defaults={containerStyle:{position:"relative"},isInitLayout:!0,isOriginLeft:!0,isOriginTop:!0,isResizeBound:!0,isResizingContainer:!0,transitionDuration:"1s",hiddenStyle:{opacity:0,transform:"scale(0.005) rotateX(180deg)"},visibleStyle:{opacity:1,transform:"scale(1) rotateX(0deg)"}},e(m.prototype,f.prototype),m.prototype.option=function(t){e(this.options,t)},m.prototype._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),e(this.element.style,this.options.containerStyle),this.options.isResizeBound&&this.bindResize()},m.prototype.reloadItems=function(){this.items=this._itemize(this.element.children)},m.prototype._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,o=[],n=0,r=e.length;r>n;n++){var s=e[n],a=new i(s,this);o.push(a)}return o},m.prototype._filterFindItemElements=function(t){t=o(t);for(var e=this.options.itemSelector,i=[],n=0,r=t.length;r>n;n++){var s=t[n];if(d(s))if(e){c(s,e)&&i.push(s);for(var a=s.querySelectorAll(e),u=0,p=a.length;p>u;u++)i.push(a[u])}else i.push(s)}return i},m.prototype.getItemElements=function(){for(var t=[],e=0,i=this.items.length;i>e;e++)t.push(this.items[e].element);return t},m.prototype.layout=function(){this._resetLayout(),this._manageStamps();var t=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},m.prototype._init=m.prototype.layout,m.prototype._resetLayout=function(){this.getSize()},m.prototype.getSize=function(){this.size=l(this.element)},m.prototype._getMeasurement=function(t,e){var i,o=this.options[t];o?("string"==typeof o?i=this.element.querySelector(o):d(o)&&(i=o),this[t]=i?l(i)[e]:o):this[t]=0},m.prototype.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},m.prototype._getItemsForLayout=function(t){for(var e=[],i=0,o=t.length;o>i;i++){var n=t[i];n.isIgnored||e.push(n)}return e},m.prototype._layoutItems=function(t,e){function i(){o.emitEvent("layoutComplete",[o,t])}var o=this;if(!t||!t.length)return i(),void 0;this._itemsOn(t,"layout",i);for(var n=[],r=0,s=t.length;s>r;r++){var a=t[r],u=this._getItemLayoutPosition(a);u.item=a,u.isInstant=e||a.isLayoutInstant,n.push(u)}this._processLayoutQueue(n)},m.prototype._getItemLayoutPosition=function(){return{x:0,y:0}},m.prototype._processLayoutQueue=function(t){for(var e=0,i=t.length;i>e;e++){var o=t[e];this._positionItem(o.item,o.x,o.y,o.isInstant)}},m.prototype._positionItem=function(t,e,i,o){o?t.goTo(e,i):t.moveTo(e,i)},m.prototype._postLayout=function(){this.resizeContainer()},m.prototype.resizeContainer=function(){if(this.options.isResizingContainer){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},m.prototype._getContainerSize=h,m.prototype._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},m.prototype._itemsOn=function(t,e,i){function o(){return n++,n===r&&i.call(s),!0}for(var n=0,r=t.length,s=this,a=0,u=t.length;u>a;a++){var p=t[a];p.on(e,o)}},m.prototype.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},m.prototype.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},m.prototype.stamp=function(t){if(t=this._find(t)){this.stamps=this.stamps.concat(t);for(var e=0,i=t.length;i>e;e++){var o=t[e];this.ignore(o)}}},m.prototype.unstamp=function(t){if(t=this._find(t))for(var e=0,i=t.length;i>e;e++){var o=t[e];n(o,this.stamps),this.unignore(o)}},m.prototype._find=function(t){return t?("string"==typeof t&&(t=this.element.querySelectorAll(t)),t=o(t)):void 0},m.prototype._manageStamps=function(){if(this.stamps&&this.stamps.length){this._getBoundingRect();for(var t=0,e=this.stamps.length;e>t;t++){var i=this.stamps[t];this._manageStamp(i)}}},m.prototype._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},m.prototype._manageStamp=h,m.prototype._getElementOffset=function(t){var e=t.getBoundingClientRect(),i=this._boundingRect,o=l(t),n={left:e.left-i.left-o.marginLeft,top:e.top-i.top-o.marginTop,right:i.right-e.right-o.marginRight,bottom:i.bottom-e.bottom-o.marginBottom};return n},m.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},m.prototype.bindResize=function(){this.isResizeBound||(i.bind(t,"resize",this),this.isResizeBound=!0)},m.prototype.unbindResize=function(){this.isResizeBound&&i.unbind(t,"resize",this),this.isResizeBound=!1},m.prototype.onresize=function(){function t(){e.resize(),delete e.resizeTimeout}this.resizeTimeout&&clearTimeout(this.resizeTimeout);var e=this;this.resizeTimeout=setTimeout(t,100)},m.prototype.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},m.prototype.needsResizeLayout=function(){var t=l(this.element),e=this.size&&t;return e&&t.innerWidth!==this.size.innerWidth},m.prototype.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},m.prototype.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},m.prototype.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},m.prototype.reveal=function(t){var e=t&&t.length;if(e)for(var i=0;e>i;i++){var o=t[i];o.reveal()}},m.prototype.hide=function(t){var e=t&&t.length;if(e)for(var i=0;e>i;i++){var o=t[i];o.hide()}},m.prototype.getItem=function(t){for(var e=0,i=this.items.length;i>e;e++){var o=this.items[e];if(o.element===t)return o}},m.prototype.getItems=function(t){if(t&&t.length){for(var e=[],i=0,o=t.length;o>i;i++){var n=t[i],r=this.getItem(n);r&&e.push(r)}return e}},m.prototype.remove=function(t){t=o(t);var e=this.getItems(t);if(e&&e.length){this._itemsOn(e,"remove",function(){this.emitEvent("removeComplete",[this,e])});for(var i=0,r=e.length;r>i;i++){var s=e[i];s.remove(),n(s,this.items)}}},m.prototype.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="";for(var e=0,i=this.items.length;i>e;e++){var o=this.items[e];o.destroy()}this.unbindResize();var n=this.element.outlayerGUID;delete v[n],delete this.element.outlayerGUID,p&&p.removeData(this.element,this.constructor.namespace)},m.data=function(t){var e=t&&t.outlayerGUID;return e&&v[e]},m.create=function(t,i){function o(){m.apply(this,arguments)}return Object.create?o.prototype=Object.create(m.prototype):e(o.prototype,m.prototype),o.prototype.constructor=o,o.defaults=e({},m.defaults),e(o.defaults,i),o.prototype.settings={},o.namespace=t,o.data=m.data,o.Item=function(){y.apply(this,arguments)},o.Item.prototype=new y,s(function(){for(var e=r(t),i=a.querySelectorAll(".js-"+e),n="data-"+e+"-options",s=0,h=i.length;h>s;s++){var f,d=i[s],l=d.getAttribute(n);try{f=l&&JSON.parse(l)}catch(c){u&&u.error("Error parsing "+n+" on "+d.nodeName.toLowerCase()+(d.id?"#"+d.id:"")+": "+c);continue}var y=new o(d,f);p&&p.data(d,t,y)}}),p&&p.bridget&&p.bridget(t,o),o},m.Item=y,m}var a=t.document,u=t.console,p=t.jQuery,h=function(){},f=Object.prototype.toString,d="function"==typeof HTMLElement||"object"==typeof HTMLElement?function(t){return t instanceof HTMLElement}:function(t){return t&&"object"==typeof t&&1===t.nodeType&&"string"==typeof t.nodeName},l=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var i=0,o=t.length;o>i;i++)if(t[i]===e)return i;return-1};"function"==typeof define&&define.amd?define("outlayer/outlayer",["eventie/eventie","doc-ready/doc-ready","eventEmitter/EventEmitter","get-size/get-size","matches-selector/matches-selector","./item"],s):"object"==typeof exports?module.exports=s(require("eventie"),require("doc-ready"),require("wolfy87-eventemitter"),require("get-size"),require("desandro-matches-selector"),require("./item")):t.Outlayer=s(t.eventie,t.docReady,t.EventEmitter,t.getSize,t.matchesSelector,t.Outlayer.Item)}(window),function(t){function e(t){function e(){t.Item.apply(this,arguments)}e.prototype=new t.Item,e.prototype._create=function(){this.id=this.layout.itemGUID++,t.Item.prototype._create.call(this),this.sortData={}},e.prototype.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var t=this.layout.options.getSortData,e=this.layout._sorters;for(var i in t){var o=e[i];this.sortData[i]=o(this.element,this)}}};var i=e.prototype.destroy;return e.prototype.destroy=function(){i.apply(this,arguments),this.css({display:""})},e}"function"==typeof define&&define.amd?define("isotope/js/item",["outlayer/outlayer"],e):"object"==typeof exports?module.exports=e(require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window),function(t){function e(t,e){function i(t){this.isotope=t,t&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}return function(){function t(t){return function(){return e.prototype[t].apply(this.isotope,arguments)}}for(var o=["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout"],n=0,r=o.length;r>n;n++){var s=o[n];i.prototype[s]=t(s)}}(),i.prototype.needsVerticalResizeLayout=function(){var e=t(this.isotope.element),i=this.isotope.size&&e;return i&&e.innerHeight!==this.isotope.size.innerHeight},i.prototype._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},i.prototype.getColumnWidth=function(){this.getSegmentSize("column","Width")},i.prototype.getRowHeight=function(){this.getSegmentSize("row","Height")},i.prototype.getSegmentSize=function(t,e){var i=t+e,o="outer"+e;if(this._getMeasurement(i,o),!this[i]){var n=this.getFirstItemSize();this[i]=n&&n[o]||this.isotope.size["inner"+e]}},i.prototype.getFirstItemSize=function(){var e=this.isotope.filteredItems[0];return e&&e.element&&t(e.element)},i.prototype.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},i.prototype.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},i.modes={},i.create=function(t,e){function o(){i.apply(this,arguments)}return o.prototype=new i,e&&(o.options=e),o.prototype.namespace=t,i.modes[t]=o,o},i}"function"==typeof define&&define.amd?define("isotope/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):"object"==typeof exports?module.exports=e(require("get-size"),require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window),function(t){function e(t,e){var o=t.create("masonry");return o.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns();var t=this.cols;for(this.colYs=[];t--;)this.colYs.push(0);this.maxY=0},o.prototype.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}this.columnWidth+=this.gutter,this.cols=Math.floor((this.containerWidth+this.gutter)/this.columnWidth),this.cols=Math.max(this.cols,1)},o.prototype.getContainerWidth=function(){var t=this.options.isFitWidth?this.element.parentNode:this.element,i=e(t);this.containerWidth=i&&i.innerWidth},o.prototype._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,o=e&&1>e?"round":"ceil",n=Math[o](t.size.outerWidth/this.columnWidth);n=Math.min(n,this.cols);for(var r=this._getColGroup(n),s=Math.min.apply(Math,r),a=i(r,s),u={x:this.columnWidth*a,y:s},p=s+t.size.outerHeight,h=this.cols+1-r.length,f=0;h>f;f++)this.colYs[a+f]=p;return u},o.prototype._getColGroup=function(t){if(2>t)return this.colYs;for(var e=[],i=this.cols+1-t,o=0;i>o;o++){var n=this.colYs.slice(o,o+t);e[o]=Math.max.apply(Math,n)}return e},o.prototype._manageStamp=function(t){var i=e(t),o=this._getElementOffset(t),n=this.options.isOriginLeft?o.left:o.right,r=n+i.outerWidth,s=Math.floor(n/this.columnWidth);s=Math.max(0,s);var a=Math.floor(r/this.columnWidth);a-=r%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var u=(this.options.isOriginTop?o.top:o.bottom)+i.outerHeight,p=s;a>=p;p++)this.colYs[p]=Math.max(u,this.colYs[p])},o.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this.options.isFitWidth&&(t.width=this._getContainerFitWidth()),t},o.prototype._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},o.prototype.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!==this.containerWidth},o}var i=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var i=0,o=t.length;o>i;i++){var n=t[i];if(n===e)return i}return-1};"function"==typeof define&&define.amd?define("masonry/masonry",["outlayer/outlayer","get-size/get-size"],e):"object"==typeof exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window),function(t){function e(t,e){for(var i in e)t[i]=e[i];return t}function i(t,i){var o=t.create("masonry"),n=o.prototype._getElementOffset,r=o.prototype.layout,s=o.prototype._getMeasurement;e(o.prototype,i.prototype),o.prototype._getElementOffset=n,o.prototype.layout=r,o.prototype._getMeasurement=s;var a=o.prototype.measureColumns;o.prototype.measureColumns=function(){this.items=this.isotope.filteredItems,a.call(this)};var u=o.prototype._manageStamp;return o.prototype._manageStamp=function(){this.options.isOriginLeft=this.isotope.options.isOriginLeft,this.options.isOriginTop=this.isotope.options.isOriginTop,u.apply(this,arguments)},o}"function"==typeof define&&define.amd?define("isotope/js/layout-modes/masonry",["../layout-mode","masonry/masonry"],i):"object"==typeof exports?module.exports=i(require("../layout-mode"),require("masonry-layout")):i(t.Isotope.LayoutMode,t.Masonry)}(window),function(t){function e(t){var e=t.create("fitRows");return e.prototype._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},e.prototype._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var o={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,o},e.prototype._getContainerSize=function(){return{height:this.maxY}},e}"function"==typeof define&&define.amd?define("isotope/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window),function(t){function e(t){var e=t.create("vertical",{horizontalAlignment:0});return e.prototype._resetLayout=function(){this.y=0},e.prototype._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},e.prototype._getContainerSize=function(){return{height:this.y}},e}"function"==typeof define&&define.amd?define("isotope/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window),function(t){function e(t,e){for(var i in e)t[i]=e[i];return t}function i(t){return"[object Array]"===h.call(t)}function o(t){var e=[];if(i(t))e=t;else if(t&&"number"==typeof t.length)for(var o=0,n=t.length;n>o;o++)e.push(t[o]);else e.push(t);return e}function n(t,e){var i=f(e,t);-1!==i&&e.splice(i,1)}function r(t,i,r,u,h){function f(t,e){return function(i,o){for(var n=0,r=t.length;r>n;n++){var s=t[n],a=i.sortData[s],u=o.sortData[s];if(a>u||u>a){var p=void 0!==e[s]?e[s]:e,h=p?1:-1;return(a>u?1:-1)*h}}return 0}}var d=t.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});d.Item=u,d.LayoutMode=h,d.prototype._create=function(){this.itemGUID=0,this._sorters={},this._getSorters(),t.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"];for(var e in h.modes)this._initLayoutMode(e)},d.prototype.reloadItems=function(){this.itemGUID=0,t.prototype.reloadItems.call(this)},d.prototype._itemize=function(){for(var e=t.prototype._itemize.apply(this,arguments),i=0,o=e.length;o>i;i++){var n=e[i];n.id=this.itemGUID++}return this._updateItemsSortData(e),e
},d.prototype._initLayoutMode=function(t){var i=h.modes[t],o=this.options[t]||{};this.options[t]=i.options?e(i.options,o):o,this.modes[t]=new i(this)},d.prototype.layout=function(){return!this._isLayoutInited&&this.options.isInitLayout?(this.arrange(),void 0):(this._layout(),void 0)},d.prototype._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},d.prototype.arrange=function(t){function e(){o.reveal(i.needReveal),o.hide(i.needHide)}this.option(t),this._getIsInstant();var i=this._filter(this.items);this.filteredItems=i.matches;var o=this;this._isInstant?this._noTransition(e):e(),this._sort(),this._layout()},d.prototype._init=d.prototype.arrange,d.prototype._getIsInstant=function(){var t=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;return this._isInstant=t,t},d.prototype._filter=function(t){var e=this.options.filter;e=e||"*";for(var i=[],o=[],n=[],r=this._getFilterTest(e),s=0,a=t.length;a>s;s++){var u=t[s];if(!u.isIgnored){var p=r(u);p&&i.push(u),p&&u.isHidden?o.push(u):p||u.isHidden||n.push(u)}}return{matches:i,needReveal:o,needHide:n}},d.prototype._getFilterTest=function(t){return s&&this.options.isJQueryFiltering?function(e){return s(e.element).is(t)}:"function"==typeof t?function(e){return t(e.element)}:function(e){return r(e.element,t)}},d.prototype.updateSortData=function(t){var e;t?(t=o(t),e=this.getItems(t)):e=this.items,this._getSorters(),this._updateItemsSortData(e)},d.prototype._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=l(i)}},d.prototype._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&e>i;i++){var o=t[i];o.updateSortData()}};var l=function(){function t(t){if("string"!=typeof t)return t;var i=a(t).split(" "),o=i[0],n=o.match(/^\[(.+)\]$/),r=n&&n[1],s=e(r,o),u=d.sortDataParsers[i[1]];return t=u?function(t){return t&&u(s(t))}:function(t){return t&&s(t)}}function e(t,e){var i;return i=t?function(e){return e.getAttribute(t)}:function(t){var i=t.querySelector(e);return i&&p(i)}}return t}();d.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},d.prototype._sort=function(){var t=this.options.sortBy;if(t){var e=[].concat.apply(t,this.sortHistory),i=f(e,this.options.sortAscending);this.filteredItems.sort(i),t!==this.sortHistory[0]&&this.sortHistory.unshift(t)}},d.prototype._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw Error("No layout mode: "+t);return e.options=this.options[t],e},d.prototype._resetLayout=function(){t.prototype._resetLayout.call(this),this._mode()._resetLayout()},d.prototype._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},d.prototype._manageStamp=function(t){this._mode()._manageStamp(t)},d.prototype._getContainerSize=function(){return this._mode()._getContainerSize()},d.prototype.needsResizeLayout=function(){return this._mode().needsResizeLayout()},d.prototype.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},d.prototype.prepended=function(t){var e=this._itemize(t);if(e.length){this._resetLayout(),this._manageStamps();var i=this._filterRevealAdded(e);this.layoutItems(this.filteredItems),this.filteredItems=i.concat(this.filteredItems),this.items=e.concat(this.items)}},d.prototype._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},d.prototype.insert=function(t){var e=this.addItems(t);if(e.length){var i,o,n=e.length;for(i=0;n>i;i++)o=e[i],this.element.appendChild(o.element);var r=this._filter(e).matches;for(i=0;n>i;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;n>i;i++)delete e[i].isLayoutInstant;this.reveal(r)}};var c=d.prototype.remove;return d.prototype.remove=function(t){t=o(t);var e=this.getItems(t);if(c.call(this,t),e&&e.length)for(var i=0,r=e.length;r>i;i++){var s=e[i];n(s,this.filteredItems)}},d.prototype.shuffle=function(){for(var t=0,e=this.items.length;e>t;t++){var i=this.items[t];i.sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},d.prototype._noTransition=function(t){var e=this.options.transitionDuration;this.options.transitionDuration=0;var i=t.call(this);return this.options.transitionDuration=e,i},d.prototype.getFilteredItemElements=function(){for(var t=[],e=0,i=this.filteredItems.length;i>e;e++)t.push(this.filteredItems[e].element);return t},d}var s=t.jQuery,a=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},u=document.documentElement,p=u.textContent?function(t){return t.textContent}:function(t){return t.innerText},h=Object.prototype.toString,f=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var i=0,o=t.length;o>i;i++)if(t[i]===e)return i;return-1};"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","matches-selector/matches-selector","isotope/js/item","isotope/js/layout-mode","isotope/js/layout-modes/masonry","isotope/js/layout-modes/fit-rows","isotope/js/layout-modes/vertical"],r):"object"==typeof exports?module.exports=r(require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("./item"),require("./layout-mode"),require("./layout-modes/masonry"),require("./layout-modes/fit-rows"),require("./layout-modes/vertical")):t.Isotope=r(t.Outlayer,t.getSize,t.matchesSelector,t.Isotope.Item,t.Isotope.LayoutMode)}(window);
!function(t,e){"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,(function(){function t(){}let e=t.prototype;return e.on=function(t,e){if(!t||!e)return this;let i=this._events=this._events||{},s=i[t]=i[t]||[];return s.includes(e)||s.push(e),this},e.once=function(t,e){if(!t||!e)return this;this.on(t,e);let i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this},e.off=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;let s=i.indexOf(e);return-1!=s&&i.splice(s,1),this},e.emitEvent=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;i=i.slice(0),e=e||[];let s=this._onceEvents&&this._onceEvents[t];for(let n of i){s&&s[n]&&(this.off(t,n),delete s[n]),n.apply(this,e)}return this},e.allOff=function(){return delete this._events,delete this._onceEvents,this},t})),
function(t,e){"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.imagesLoaded=e(t,t.EvEmitter)}("undefined"!=typeof window?window:this,(function(t,e){let i=t.jQuery,s=t.console;function n(t,e,o){if(!(this instanceof n))return new n(t,e,o);let r=t;var h;("string"==typeof t&&(r=document.querySelectorAll(t)),r)?(this.elements=(h=r,Array.isArray(h)?h:"object"==typeof h&&"number"==typeof h.length?[...h]:[h]),this.options={},"function"==typeof e?o=e:Object.assign(this.options,e),o&&this.on("always",o),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(this.check.bind(this))):s.error(`Bad element for imagesLoaded ${r||t}`)}n.prototype=Object.create(e.prototype),n.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)};const o=[1,9,11];n.prototype.addElementImages=function(t){"IMG"===t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);let{nodeType:e}=t;if(!e||!o.includes(e))return;let i=t.querySelectorAll("img");for(let t of i)this.addImage(t);if("string"==typeof this.options.background){let e=t.querySelectorAll(this.options.background);for(let t of e)this.addElementBackgroundImages(t)}};const r=/url\((['"])?(.*?)\1\)/gi;function h(t){this.img=t}function d(t,e){this.url=t,this.element=e,this.img=new Image}return n.prototype.addElementBackgroundImages=function(t){let e=getComputedStyle(t);if(!e)return;let i=r.exec(e.backgroundImage);for(;null!==i;){let s=i&&i[2];s&&this.addBackground(s,t),i=r.exec(e.backgroundImage)}},n.prototype.addImage=function(t){let e=new h(t);this.images.push(e)},n.prototype.addBackground=function(t,e){let i=new d(t,e);this.images.push(i)},n.prototype.check=function(){if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length)return void this.complete();let t=(t,e,i)=>{setTimeout((()=>{this.progress(t,e,i)}))};this.images.forEach((function(e){e.once("progress",t),e.check()}))},n.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount===this.images.length&&this.complete(),this.options.debug&&s&&s.log(`progress: ${i}`,t,e)},n.prototype.complete=function(){let t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){let t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},h.prototype=Object.create(e.prototype),h.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.img.crossOrigin&&(this.proxyImage.crossOrigin=this.img.crossOrigin),this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.currentSrc||this.img.src)},h.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},h.prototype.confirm=function(t,e){this.isLoaded=t;let{parentNode:i}=this.img,s="PICTURE"===i.nodeName?i:this.img;this.emitEvent("progress",[this,s,e])},h.prototype.handleEvent=function(t){let e="on"+t.type;this[e]&&this[e](t)},h.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},h.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},h.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},d.prototype=Object.create(h.prototype),d.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},d.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},d.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},n.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&(i=e,i.fn.imagesLoaded=function(t,e){return new n(this,t,e).jqDeferred.promise(i(this))})},n.makeJQueryPlugin(),n}));
(function ($){
"use strict";
if($(".sticky-header").length){
$(".sticky-header")
.clone()
.insertAfter(".sticky-header")
.addClass("sticky-header--cloned");
}
if($(".main-menu__list").length){
let menuElement=$(".main-menu__list");
let currentMenuItem=menuElement.find("li.current-menu-item");
let currentMenuParent=menuElement.find("li.current-menu-parent");
let currentMenuAncestor=menuElement.find("li.current-menu-ancestor");
let currentPageItem=menuElement.find("li.current_page_item");
currentMenuItem.addClass("current");
currentMenuParent.addClass("current");
currentMenuAncestor.addClass("current");
currentPageItem.addClass("current");
}
if($(".service-details__category-list").length){
let menuElement=$(".service-details__category-list");
let currentMenuItem=menuElement.find("li.current-menu-item");
let currentMenuParent=menuElement.find("li.current-menu-parent");
let currentMenuAncestor=menuElement.find("li.current-menu-ancestor");
let currentPageItem=menuElement.find("li.current_page_item");
currentMenuItem.addClass("active");
currentMenuParent.addClass("active");
currentMenuAncestor.addClass("active");
currentPageItem.addClass("active");
}
if($(".accrodion-grp").length){
var accrodionGrp=$(".accrodion-grp");
accrodionGrp.each(function (){
var accrodionName=$(this).data("grp-name");
var Self=$(this);
var accordion=Self.find(".accrodion");
Self.addClass(accrodionName);
Self.find(".accrodion .accrodion-content").hide();
Self.find(".accrodion.active").find(".accrodion-content").show();
accordion.each(function (){
$(this)
.find(".accrodion-title")
.on("click", function (){
if($(this).parent().hasClass("active")===false){
$(".accrodion-grp." + accrodionName)
.find(".accrodion")
.removeClass("active");
$(".accrodion-grp." + accrodionName)
.find(".accrodion")
.find(".accrodion-content")
.slideUp();
$(this).parent().addClass("active");
$(this).parent().find(".accrodion-content").slideDown();
}});
});
});
}
if($(".scroll-to-target").length){
$(".scroll-to-target").on("click", function (){
var target=$(this).attr("data-target");
$("html, body").animate({
scrollTop: $(target).offset().top
},
1000
);
return false;
});
}
if($(".video-popup").length){
$(".video-popup").magnificPopup({
type: "iframe",
mainClass: "mfp-fade",
removalDelay: 160,
preloader: true,
fixedContentPos: false
});
}
if($(".img-popup").length){
var groups={};
$(".img-popup").each(function (){
var id=parseInt($(this).attr("data-group"), 10);
if(!groups[id]){
groups[id]=[];
}
groups[id].push(this);
});
$.each(groups, function (){
$(this).magnificPopup({
type: "image",
closeOnContentClick: true,
closeBtnInside: false,
gallery: {
enabled: true
}});
});
}
$(document).on("click", ".add", function (){
if($(this).prev().val() < 999){
$(this)
.prev()
.val(+$(this).prev().val() + 1);
}
$(this).prev().trigger("change");
});
$(document).on("click", ".sub", function (){
if($(this).next().val() > 0){
if($(this).next().val() > 0)
$(this)
.next()
.val(+$(this).next().val() - 1);
}
$(this).next().trigger("change");
});
if($(".main-menu__list").length&&$(".mobile-nav__container").length){
let navContent=document.querySelector(".main-menu__list").outerHTML;
let mobileNavContainer=document.querySelector(".mobile-nav__container");
mobileNavContainer.innerHTML=navContent;
}
if($(".sticky-header__content").length){
let navContent=document.querySelector(".main-menu").innerHTML;
let mobileNavContainer=document.querySelector(".sticky-header__content");
mobileNavContainer.innerHTML=navContent;
}
if($(".mobile-nav__container .main-menu__list").length){
let dropdownAnchor=$(
".mobile-nav__container .main-menu__list .menu-item-has-children > a"
);
dropdownAnchor.each(function (){
let self=$(this);
let toggleBtn=document.createElement("BUTTON");
toggleBtn.setAttribute("aria-label", "dropdown toggler");
toggleBtn.innerHTML="<i class='fa fa-angle-down'></i>";
self.append(function (){
return toggleBtn;
});
self.find("button").on("click", function (e){
e.preventDefault();
let self=$(this);
self.toggleClass("expanded");
self.parent().toggleClass("expanded");
self.parent().parent().children("ul").slideToggle();
});
});
}
if($(".mobile-nav__toggler").length){
$(".mobile-nav__toggler").on("click", function (e){
e.preventDefault();
$(".mobile-nav__wrapper").toggleClass("expanded");
$("body").toggleClass("locked");
});
}
if($(".search-toggler").length){
$(".search-toggler").on("click", function (e){
e.preventDefault();
$(".search-popup").toggleClass("active");
$(".mobile-nav__wrapper").removeClass("expanded");
$("body").toggleClass("locked");
});
}
if($(".dynamic-year").length){
let date=new Date();
$(".dynamic-year").html(date.getFullYear());
}
$(window).on("load", function (){
if($(".preloader").length){
$(".preloader").fadeOut();
}
if($(".product__items ul.products").length){
$(".product__items ul.products").imagesLoaded(function (){
$(".product__items ul.products").isotope({
layoutMode: "masonry"
});
});
}});
function stickyMenuUpScroll($targetMenu, $toggleClass){
var lastScrollTop=0;
window.addEventListener("scroll",
function (){
var st=window.pageYOffset||document.documentElement.scrollTop;
if(st > 500){
if(st > lastScrollTop){
$targetMenu.removeClass($toggleClass);
}else{
$targetMenu.addClass($toggleClass);
}}else{
$targetMenu.removeClass($toggleClass);
}
lastScrollTop=st;
},
false
);
}
stickyMenuUpScroll($(".sticky-header--normal"), "active");
function handleScrollbar(){
const bodyHeight=$("body").height();
const scrollPos=$(window).innerHeight() + $(window).scrollTop();
let percentage=(scrollPos / bodyHeight) * 100;
if(percentage > 100){
percentage=100;
}
$(".scroll-to-top .scroll-to-top__inner").css("width", percentage + "%");
}
function OnePageMenuScroll(){
var windscroll=$(window).scrollTop();
if(windscroll >=117){
var menuAnchor=$(".one-page-scroll-menu .scrollToLink").children("a");
menuAnchor.each(function (){
var sections=$(this).attr("href");
$(sections).each(function (){
if($(this).offset().top <=windscroll + 100){
var Sectionid=$(sections).attr("id");
$(".one-page-scroll-menu").find("li").removeClass("current");
$(".one-page-scroll-menu")
.find("li")
.removeClass("current-menu-ancestor");
$(".one-page-scroll-menu")
.find("li")
.removeClass("current_page_item");
$(".one-page-scroll-menu")
.find("li")
.removeClass("current-menu-parent");
$(".one-page-scroll-menu")
.find("a[href*=\\#" + Sectionid + "]")
.parent()
.addClass("current");
}});
});
}else{
$(".one-page-scroll-menu li.current").removeClass("current");
$(".one-page-scroll-menu li:first").addClass("current");
}}
$(window).on("scroll", function (){
OnePageMenuScroll();
handleScrollbar();
if($(".sticky-header--one-page").length){
var headerScrollPos=130;
var stricky=$(".sticky-header--one-page");
if($(window).scrollTop() > headerScrollPos){
stricky.addClass("active");
}else if($(this).scrollTop() <=headerScrollPos){
stricky.removeClass("active");
}}
var scrollToTopBtn=".scroll-to-top";
if(scrollToTopBtn.length){
if($(window).scrollTop() > 500){
$(scrollToTopBtn).addClass("show");
}else{
$(scrollToTopBtn).removeClass("show");
}}
});
$(document).on("click", ".shop-one__cart.careox_ajax ", function (e){
$(".careox-overlay").fadeIn(300);
});
$(document.body).on("added_to_cart",
function (event, fragments, cart_hash, $button){
$(".careox-overlay").fadeOut(300);
}
);
if($(".custom-cursor").length){
var cursor=document.querySelector(".custom-cursor__cursor");
var cursorinner=document.querySelector(".custom-cursor__cursor-two");
var a=document.querySelectorAll("a");
document.addEventListener("mousemove", function (e){
var x=e.clientX;
var y=e.clientY;
cursor.style.transform=`translate3d(calc(${e.clientX}px - 50%), calc(${e.clientY}px - 50%), 0)`;
});
document.addEventListener("mousemove", function (e){
var x=e.clientX;
var y=e.clientY;
cursorinner.style.left=x + "px";
cursorinner.style.top=y + "px";
});
document.addEventListener("mousedown", function (){
cursor.classList.add("click");
cursorinner.classList.add("custom-cursor__innerhover");
});
document.addEventListener("mouseup", function (){
cursor.classList.remove("click");
cursorinner.classList.remove("custom-cursor__innerhover");
});
a.forEach((item)=> {
item.addEventListener("mouseover", ()=> {
cursor.classList.add("custom-cursor__hover");
});
item.addEventListener("mouseleave", ()=> {
cursor.classList.remove("custom-cursor__hover");
});
});
}
if($(".main-header--four__toggler").length){
$(".main-header--four__toggler").on("click", function (e){
e.preventDefault();
$(".sidebar-one").toggleClass("active");
$("body").toggleClass("locked");
});
}
$(document).on("click", ".megamenu-clickable--toggler > a", function (e){
$("body").toggleClass("megamenu-popup-active");
$(this).parent().find("ul").toggleClass("megamenu-clickable--active");
e.preventDefault();
});
$(document).on("click", ".megamenu-clickable--close", function (e){
$("body").removeClass("megamenu-popup-active");
$(".megamenu-clickable--active").removeClass("megamenu-clickable--active");
e.preventDefault();
});
let scrollTop=$(".scroll-top path");
if(scrollTop.length){
var e=document.querySelector(".scroll-top path"),
t=e.getTotalLength();
(e.style.transition=e.style.WebkitTransition="none"),
(e.style.strokeDasharray=t + " " + t),
(e.style.strokeDashoffset=t),
e.getBoundingClientRect(),
(e.style.transition=e.style.WebkitTransition =
"stroke-dashoffset 10ms linear");
var o=function (){
var o=$(window).scrollTop(),
r=$(document).height() - $(window).height(),
i=t - (o * t) / r;
e.style.strokeDashoffset=i;
};
o(), $(window).scroll(o);
var back=$(".scroll-top"),
body=$("body, html");
$(window).on("scroll", function (){
if($(window).scrollTop() > $(window).height()){
back.addClass("scroll-top--active");
}else{
back.removeClass("scroll-top--active");
}});
}
let dynamicyearElm=$(".dynamic-year");
if(dynamicyearElm.length){
let currentYear=new Date().getFullYear();
dynamicyearElm.html(currentYear);
}})(jQuery);
window.addComment=function(v){var I,C,h,E=v.document,b={commentReplyClass:"comment-reply-link",commentReplyTitleId:"reply-title",cancelReplyId:"cancel-comment-reply-link",commentFormId:"commentform",temporaryFormId:"wp-temp-form-div",parentIdFieldId:"comment_parent",postIdFieldId:"comment_post_ID"},e=v.MutationObserver||v.WebKitMutationObserver||v.MozMutationObserver,r="querySelector"in E&&"addEventListener"in v,n=!!E.documentElement.dataset;function t(){d(),e&&new e(o).observe(E.body,{childList:!0,subtree:!0})}function d(e){if(r&&(I=g(b.cancelReplyId),C=g(b.commentFormId),I)){I.addEventListener("touchstart",l),I.addEventListener("click",l);function t(e){if((e.metaKey||e.ctrlKey)&&13===e.keyCode&&"a"!==E.activeElement.tagName.toLowerCase())return C.removeEventListener("keydown",t),e.preventDefault(),C.submit.click(),!1}C&&C.addEventListener("keydown",t);for(var n,d=function(e){var t=b.commentReplyClass;e&&e.childNodes||(e=E);e=E.getElementsByClassName?e.getElementsByClassName(t):e.querySelectorAll("."+t);return e}(e),o=0,i=d.length;o<i;o++)(n=d[o]).addEventListener("touchstart",a),n.addEventListener("click",a)}}function l(e){var t,n,d=g(b.temporaryFormId);d&&h&&(g(b.parentIdFieldId).value="0",t=d.textContent,d.parentNode.replaceChild(h,d),this.style.display="none",n=(d=(d=g(b.commentReplyTitleId))&&d.firstChild)&&d.nextSibling,d&&d.nodeType===Node.TEXT_NODE&&t&&(n&&"A"===n.nodeName&&n.id!==b.cancelReplyId&&(n.style.display=""),d.textContent=t),e.preventDefault())}function a(e){var t=g(b.commentReplyTitleId),t=t&&t.firstChild.textContent,n=this,d=m(n,"belowelement"),o=m(n,"commentid"),i=m(n,"respondelement"),r=m(n,"postid"),n=m(n,"replyto")||t;d&&o&&i&&r&&!1===v.addComment.moveForm(d,o,i,r,n)&&e.preventDefault()}function o(e){for(var t=e.length;t--;)if(e[t].addedNodes.length)return void d()}function m(e,t){return n?e.dataset[t]:e.getAttribute("data-"+t)}function g(e){return E.getElementById(e)}return r&&"loading"!==E.readyState?t():r&&v.addEventListener("DOMContentLoaded",t,!1),{init:d,moveForm:function(e,t,n,d,o){var i,r,l,a,m,c,s,e=g(e),n=(h=g(n),g(b.parentIdFieldId)),y=g(b.postIdFieldId),p=g(b.commentReplyTitleId),u=(p=p&&p.firstChild)&&p.nextSibling;if(e&&h&&n){void 0===o&&(o=p&&p.textContent),a=h,m=b.temporaryFormId,c=g(m),s=(s=g(b.commentReplyTitleId))?s.firstChild.textContent:"",c||((c=E.createElement("div")).id=m,c.style.display="none",c.textContent=s,a.parentNode.insertBefore(c,a)),d&&y&&(y.value=d),n.value=t,I.style.display="",e.parentNode.insertBefore(h,e.nextSibling),p&&p.nodeType===Node.TEXT_NODE&&(u&&"A"===u.nodeName&&u.id!==b.cancelReplyId&&(u.style.display="none"),p.textContent=o),I.onclick=function(){return!1};try{for(var f=0;f<C.elements.length;f++)if(i=C.elements[f],r=!1,"getComputedStyle"in v?l=v.getComputedStyle(i):E.documentElement.currentStyle&&(l=i.currentStyle),(i.offsetWidth<=0&&i.offsetHeight<=0||"hidden"===l.visibility)&&(r=!0),"hidden"!==i.type&&!i.disabled&&!r){i.focus();break}}catch(e){}return!1}}}}(window);