Access_New/js/vendors.min.js
2024-09-05 11:33:27 +05:45

198 lines
509 KiB
JavaScript

/*!
Anime
Version: v3.2.2
Plugin URL: animejs.com
License: Copyright 2023 Julian Garnier | Released under the MIT license
!*/
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.anime=t()}(this,function(){"use strict";var o={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},_={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},j=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"],u={CSS:{},springs:{}};function S(e,t,i){return Math.min(Math.max(e,t),i)}function c(e,t){return-1<e.indexOf(t)}function s(e,t){return e.apply(null,t)}var x={arr:function(e){return Array.isArray(e)},obj:function(e){return c(Object.prototype.toString.call(e),"Object")},pth:function(e){return x.obj(e)&&e.hasOwnProperty("totalLength")},svg:function(e){return e instanceof SVGElement},inp:function(e){return e instanceof HTMLInputElement},dom:function(e){return e.nodeType||x.svg(e)},str:function(e){return"string"==typeof e},fnc:function(e){return"function"==typeof e},und:function(e){return void 0===e},nil:function(e){return x.und(e)||null===e},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return x.hex(e)||x.rgb(e)||x.hsl(e)},key:function(e){return!o.hasOwnProperty(e)&&!_.hasOwnProperty(e)&&"targets"!==e&&"keyframes"!==e}};function p(e){return(e=/\(([^)]+)\)/.exec(e))?e[1].split(",").map(function(e){return parseFloat(e)}):[]}function a(n,i){var e=p(n),t=S(x.und(e[0])?1:e[0],.1,100),r=S(x.und(e[1])?100:e[1],.1,100),s=S(x.und(e[2])?10:e[2],.1,100),e=S(x.und(e[3])?0:e[3],.1,100),a=Math.sqrt(r/t),o=s/(2*Math.sqrt(r*t)),l=o<1?a*Math.sqrt(1-o*o):0,c=o<1?(o*a-e)/l:-e+a;function d(e){var t=i?i*e/1e3:e,t=o<1?Math.exp(-t*o*a)*(+Math.cos(l*t)+c*Math.sin(l*t)):(1+c*t)*Math.exp(-t*a);return 0===e||1===e?e:1-t}return i?d:function(){var e=u.springs[n];if(e)return e;for(var t=0,i=0;;)if(1===d(t+=1/6)){if(16<=++i)break}else i=0;return u.springs[n]=t*(1/6)*1e3}}function B(t){return void 0===t&&(t=10),function(e){return Math.ceil(S(e,1e-6,1)*t)*(1/t)}}function F(b,t,_,i){if(0<=b&&b<=1&&0<=_&&_<=1){var w=new Float32Array(11);if(b!==t||_!==i)for(var e=0;e<11;++e)w[e]=T(.1*e,b,_);return function(e){return b===t&&_===i||0===e||1===e?e:T(function(e){for(var t=0,i=1;10!==i&&w[i]<=e;++i)t+=.1;var n=t+(e-w[--i])/(w[i+1]-w[i])*.1,r=E(n,b,_);if(.001<=r){for(var s=e,a=n,o=b,l=_,c=0;c<4;++c){var d=E(a,o,l);if(0===d)return a;a-=(T(a,o,l)-s)/d}return a}if(0===r)return n;for(var u,p,h=e,f=t,m=t+.1,g=b,v=_,y=0;0<(u=T(p=f+(m-f)/2,g,v)-h)?m=p:f=p,1e-7<Math.abs(u)&&++y<10;);return p}(e),t,i)}}}function n(e,t){return 1-3*t+3*e}function T(e,t,i){return((n(t,i)*e+(3*i-6*t))*e+3*t)*e}function E(e,t,i){return 3*n(t,i)*e*e+2*(3*i-6*t)*e+3*t}t={linear:function(){return function(e){return e}}},i={Sine:function(){return function(e){return 1-Math.cos(e*Math.PI/2)}},Expo:function(){return function(e){return e?Math.pow(2,10*e-10):0}},Circ:function(){return function(e){return 1-Math.sqrt(1-e*e)}},Back:function(){return function(e){return e*e*(3*e-2)}},Bounce:function(){return function(e){for(var t,i=4;e<((t=Math.pow(2,--i))-1)/11;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*t-2)/22-e,2)}},Elastic:function(e,t){void 0===t&&(t=.5);var i=S(e=void 0===e?1:e,1,10),n=S(t,.1,2);return function(e){return 0===e||1===e?e:-i*Math.pow(2,10*(e-1))*Math.sin((e-1-n/(2*Math.PI)*Math.asin(1/i))*(2*Math.PI)/n)}}},["Quad","Cubic","Quart","Quint"].forEach(function(e,t){i[e]=function(){return function(e){return Math.pow(e,t+2)}}}),Object.keys(i).forEach(function(e){var n=i[e];t["easeIn"+e]=n,t["easeOut"+e]=function(t,i){return function(e){return 1-n(t,i)(1-e)}},t["easeInOut"+e]=function(t,i){return function(e){return e<.5?n(t,i)(2*e)/2:1-n(t,i)(-2*e+2)/2}},t["easeOutIn"+e]=function(t,i){return function(e){return e<.5?(1-n(t,i)(1-2*e))/2:(n(t,i)(2*e-1)+1)/2}}});var t,i,l=t;function C(e,t){if(x.fnc(e))return e;var i=e.split("(")[0],n=l[i],r=p(e);switch(i){case"spring":return a(e,t);case"cubicBezier":return s(F,r);case"steps":return s(B,r);default:return s(n,r)}}function r(e){try{return document.querySelectorAll(e)}catch(e){}}function M(e,t){for(var i,n=e.length,r=2<=arguments.length?t:void 0,s=[],a=0;a<n;a++)a in e&&(i=e[a],t.call(r,i,a,e))&&s.push(i);return s}function d(e){return e.reduce(function(e,t){return e.concat(x.arr(t)?d(t):t)},[])}function h(e){return x.arr(e)?e:(e=x.str(e)&&r(e)||e)instanceof NodeList||e instanceof HTMLCollection?[].slice.call(e):[e]}function f(e,t){return e.some(function(e){return e===t})}function m(e){var t,i={};for(t in e)i[t]=e[t];return i}function w(e,t){var i,n=m(e);for(i in e)n[i]=(t.hasOwnProperty(i)?t:e)[i];return n}function k(e,t){var i,n=m(e);for(i in t)n[i]=(x.und(e[i])?t:e)[i];return n}function I(e){if(e=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e))return e[1]}function g(e,t){return x.fnc(e)?e(t.target,t.id,t.total):e}function v(e,t){return e.getAttribute(t)}function y(e,t,i){var n,r,s;return f([i,"deg","rad","turn"],I(t))?t:(n=u.CSS[t+i],x.und(n)?(r=document.createElement(e.tagName),(e=e.parentNode&&e.parentNode!==document?e.parentNode:document.body).appendChild(r),r.style.position="absolute",r.style.width=100+i,s=100/r.offsetWidth,e.removeChild(r),e=s*parseFloat(t),u.CSS[t+i]=e):n)}function N(e,t,i){var n;if(t in e.style)return n=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t=e.style[t]||getComputedStyle(e).getPropertyValue(n)||"0",i?y(e,t,i):t}function b(e,t){return x.dom(e)&&!x.inp(e)&&(!x.nil(v(e,t))||x.svg(e)&&e[t])?"attribute":x.dom(e)&&f(j,t)?"transform":x.dom(e)&&"transform"!==t&&N(e,t)?"css":null!=e[t]?"object":void 0}function H(e){if(x.dom(e)){for(var t,i=e.style.transform||"",n=/(\w+)\(([^)]*)\)/g,r=new Map;t=n.exec(i);)r.set(t[1],t[2]);return r}}function A(e,t,i,n){switch(b(e,t)){case"transform":return r=e,a=n,o=i,l=c(s=t,"scale")?1:0+(c(l=s,"translate")||"perspective"===l?"px":c(l,"rotate")||c(l,"skew")?"deg":void 0),l=H(r).get(s)||l,a&&(a.transforms.list.set(s,l),a.transforms.last=s),o?y(r,l,o):l;case"css":return N(e,t,i);case"attribute":return v(e,t);default:return e[t]||0}var r,s,a,o,l}function O(e,t){var i=/^(\*=|\+=|-=)/.exec(e);if(!i)return e;var n=I(e)||0,r=parseFloat(t),s=parseFloat(e.replace(i[0],""));switch(i[0][0]){case"+":return r+s+n;case"-":return r-s+n;case"*":return r*s+n}}function W(e,t){var i,n,r,s,a,o,l;return x.col(e)?(i=e,x.rgb(i)?(o=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(n=i))?"rgba("+o[1]+",1)":n:x.hex(i)?(o=(o=i).replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(e,t,i,n){return t+t+i+i+n+n}),o=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(o),"rgba("+parseInt(o[1],16)+","+parseInt(o[2],16)+","+parseInt(o[3],16)+",1)"):x.hsl(i)?(n=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(n=i)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(n),i=parseInt(n[1],10)/360,o=parseInt(n[2],10)/100,l=parseInt(n[3],10)/100,n=n[4]||1,0==o?r=s=a=l:(r=c(o=2*l-(l=l<.5?l*(1+o):l+o-l*o),l,i+1/3),s=c(o,l,i),a=c(o,l,i-1/3)),"rgba("+255*r+","+255*s+","+255*a+","+n+")"):void 0):/\s/g.test(e)?e:(o=(o=I(e))?e.substr(0,e.length-o.length):e,t?o+t:o);function c(e,t,i){return i<0&&(i+=1),1<i&&--i,i<1/6?e+6*(t-e)*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}}function L(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function q(e){for(var t,i=e.points,n=0,r=0;r<i.numberOfItems;r++){var s=i.getItem(r);0<r&&(n+=L(t,s)),t=s}return n}function Y(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case"circle":return 2*Math.PI*v(e,"r");case"rect":return 2*v(t=e,"width")+2*v(t,"height");case"line":return L({x:v(t=e,"x1"),y:v(t,"y1")},{x:v(t,"x2"),y:v(t,"y2")});case"polyline":return q(e);case"polygon":return t=e.points,q(e)+L(t.getItem(t.numberOfItems-1),t.getItem(0))}var t}function $(t,e){var i=(t=(e=e||{}).el||function(){for(var e=t.parentNode;x.svg(e)&&x.svg(e.parentNode);)e=e.parentNode;return e}()).getBoundingClientRect(),n=v(t,"viewBox"),r=i.width,i=i.height,e=e.viewBox||(n?n.split(" "):[0,0,r,i]);return{el:t,viewBox:e,x:+e[0],y:+e[1],w:r,h:i,vW:e[2],vH:e[3]}}function X(e,t){var i=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,n=W(x.pth(e)?e.totalLength:e,t)+"";return{original:n,numbers:n.match(i)?n.match(i).map(Number):[0],strings:x.str(e)||t?n.split(i):[]}}function P(e){return M(e?d(x.arr(e)?e.map(h):h(e)):[],function(e,t,i){return i.indexOf(e)===t})}function G(e){var i=P(e);return i.map(function(e,t){return{target:e,id:t,total:i.length,transforms:{list:H(e)}}})}function V(e,t){var i,n=[],r=t.keyframes;for(i in t=r?k(function(e){for(var t=M(d(e.map(function(e){return Object.keys(e)})),function(e){return x.key(e)}).reduce(function(e,t){return e.indexOf(t)<0&&e.push(t),e},[]),i={},r=0;r<t.length;r++)!function(){var n=t[r];i[n]=e.map(function(e){var t,i={};for(t in e)x.key(t)?t==n&&(i.value=e[t]):i[t]=e[t];return i})}();return i}(r),t):t)x.key(i)&&n.push({name:i,tweens:function(e,i){var t,n=m(i),r=(/^spring/.test(n.easing)&&(n.duration=a(n.easing)),x.arr(e)&&(2!==(t=e.length)||x.obj(e[0])?x.fnc(i.duration)||(n.duration=i.duration/t):e={value:e}),x.arr(e)?e:[e]);return r.map(function(e,t){return e=x.obj(e)&&!x.pth(e)?e:{value:e},x.und(e.delay)&&(e.delay=t?0:i.delay),x.und(e.endDelay)&&(e.endDelay=t===r.length-1?i.endDelay:0),e}).map(function(e){return k(e,n)})}(t[i],e)});return n}var U={css:function(e,t,i){return e.style[t]=i},attribute:function(e,t,i){return e.setAttribute(t,i)},object:function(e,t,i){return e[t]=i},transform:function(e,t,i,n,r){var s;n.list.set(t,i),t!==n.last&&!r||(s="",n.list.forEach(function(e,t){s+=t+"("+e+") "}),e.style.transform=s)}};function Q(e,a){G(e).forEach(function(e){for(var t in a){var i=g(a[t],e),n=e.target,r=A(n,t,s=I(i),e),i=O(W(i,s||I(r)),r),s=b(n,t);U[s](n,t,i,e.transforms,!0)}})}function K(e,t){return M(d(e.map(function(s){return t.map(function(e){var t,i,o,l,c,n=s,r=b(n.target,e.name);if(r)return l=n,i=(t=(o=e).tweens.map(function(e){var t=(e=function(e,t){var i,n={};for(i in e){var r=g(e[i],t);x.arr(r)&&1===(r=r.map(function(e){return g(e,t)})).length&&(r=r[0]),n[i]=r}return n.duration=parseFloat(n.duration),n.delay=parseFloat(n.delay),n}(e,l)).value,i=x.arr(t)?t[1]:t,n=I(i),r=A(l.target,o.name,n,l),s=c?c.to.original:r,a=x.arr(t)?t[0]:s,r=I(a)||I(r),n=n||r;return x.und(i)&&(i=s),e.from=X(a,n),e.to=X(O(i,a),n),e.start=c?c.end:0,e.end=e.start+e.delay+e.duration+e.endDelay,e.easing=C(e.easing,e.duration),e.isPath=x.pth(t),e.isPathTargetInsideSVG=e.isPath&&x.svg(l.target),e.isColor=x.col(e.from.original),e.isColor&&(e.round=1),c=e}))[t.length-1],{type:r,property:e.name,animatable:n,tweens:t,duration:i.end,delay:t[0].delay,endDelay:i.endDelay}})})),function(e){return!x.und(e)})}function Z(e,t){function i(e){return e.timelineOffset||0}var n=e.length,r={};return r.duration=n?Math.max.apply(Math,e.map(function(e){return i(e)+e.duration})):t.duration,r.delay=n?Math.min.apply(Math,e.map(function(e){return i(e)+e.delay})):t.delay,r.endDelay=n?r.duration-Math.max.apply(Math,e.map(function(e){return i(e)+e.duration-e.endDelay})):t.endDelay,r}var z,J=0,D=[],ee=("undefined"!=typeof document&&document.addEventListener("visibilitychange",function(){R.suspendWhenDocumentHidden&&(e()?z=cancelAnimationFrame(z):(D.forEach(function(e){return e._onDocumentVisibility()}),ee()))}),function(){!(z||e()&&R.suspendWhenDocumentHidden)&&0<D.length&&(z=requestAnimationFrame(te))});function te(e){for(var t=D.length,i=0;i<t;){var n=D[i];n.paused?(D.splice(i,1),t--):(n.tick(e),i++)}z=0<i?requestAnimationFrame(te):void 0}function e(){return document&&document.hidden}function R(e){var l,c=0,d=0,u=0,p=0,h=null;function f(e){var t=window.Promise&&new Promise(function(e){return h=e});e.finished=t}t=w(o,e=void 0===e?{}:e),i=V(n=w(_,e),e),n=Z(i=K(e=G(e.targets),i),n),r=J,J++;var t,i,n,r,T=k(t,{id:r,children:[],animatables:e,animations:i,duration:n.duration,delay:n.delay,endDelay:n.endDelay});function m(){var e=T.direction;"alternate"!==e&&(T.direction="normal"!==e?"normal":"reverse"),T.reversed=!T.reversed,l.forEach(function(e){return e.reversed=T.reversed})}function g(e){return T.reversed?T.duration-e:e}function s(){c=0,d=g(T.currentTime)*(1/R.speed)}function v(e,t){t&&t.seek(e-t.timelineOffset)}function y(t){for(var e=0,i=T.animations,n=i.length;e<n;){for(var r=i[e],s=r.animatable,a=r.tweens,o=a[l=a.length-1],l=(l&&(o=M(a,function(e){return t<e.end})[0]||o),S(t-o.start-o.delay,0,o.duration)/o.duration),c=isNaN(l)?1:o.easing(l),d=o.to.strings,u=o.round,p=[],h=o.to.numbers.length,f=void 0,m=0;m<h;m++){var g=void 0,v=o.to.numbers[m],y=o.from.numbers[m]||0,g=o.isPath?function(t,i,e){function n(e){return t.el.getPointAtLength(1<=i+(e=void 0===e?0:e)?i+e:0)}var r=$(t.el,t.svg),s=n(),a=n(-1),o=n(1),l=e?1:r.w/r.vW,c=e?1:r.h/r.vH;switch(t.property){case"x":return(s.x-r.x)*l;case"y":return(s.y-r.y)*c;case"angle":return 180*Math.atan2(o.y-a.y,o.x-a.x)/Math.PI}}(o.value,c*v,o.isPathTargetInsideSVG):y+c*(v-y);!u||o.isColor&&2<m||(g=Math.round(g*u)/u),p.push(g)}var b=d.length;if(b)for(var f=d[0],_=0;_<b;_++){d[_];var w=d[_+1],x=p[_];isNaN(x)||(f+=w?x+w:x+" ")}else f=p[0];U[r.type](s.target,r.property,f,s.transforms),r.currentValue=f,e++}}function b(e){T[e]&&!T.passThrough&&T[e](T)}function a(e){var t=T.duration,i=T.delay,n=t-T.endDelay,r=g(e);if(T.progress=S(r/t*100,0,100),T.reversePlayback=r<T.currentTime,l){var s=r;if(T.reversePlayback)for(var a=p;a--;)v(s,l[a]);else for(var o=0;o<p;o++)v(s,l[o])}!T.began&&0<T.currentTime&&(T.began=!0,b("begin")),!T.loopBegan&&0<T.currentTime&&(T.loopBegan=!0,b("loopBegin")),r<=i&&0!==T.currentTime&&y(0),(n<=r&&T.currentTime!==t||!t)&&y(t),i<r&&r<n?(T.changeBegan||(T.changeBegan=!0,T.changeCompleted=!1,b("changeBegin")),b("change"),y(r)):T.changeBegan&&(T.changeCompleted=!0,T.changeBegan=!1,b("changeComplete")),T.currentTime=S(r,0,t),T.began&&b("update"),t<=e&&(d=0,T.remaining&&!0!==T.remaining&&T.remaining--,T.remaining?(c=u,b("loopComplete"),T.loopBegan=!1,"alternate"===T.direction&&m()):(T.paused=!0,T.completed||(T.completed=!0,b("loopComplete"),b("complete"),!T.passThrough&&"Promise"in window&&(h(),f(T)))))}return f(T),T.reset=function(){var e=T.direction;T.passThrough=!1,T.currentTime=0,T.progress=0,T.paused=!0,T.began=!1,T.loopBegan=!1,T.changeBegan=!1,T.completed=!1,T.changeCompleted=!1,T.reversePlayback=!1,T.reversed="reverse"===e,T.remaining=T.loop,l=T.children;for(var t=p=l.length;t--;)T.children[t].reset();(T.reversed&&!0!==T.loop||"alternate"===e&&1===T.loop)&&T.remaining++,y(T.reversed?T.duration:0)},T._onDocumentVisibility=s,T.set=function(e,t){return Q(e,t),T},T.tick=function(e){a(((u=e)+(d-(c=c||u)))*R.speed)},T.seek=function(e){a(g(e))},T.pause=function(){T.paused=!0,s()},T.play=function(){T.paused&&(T.completed&&T.reset(),T.paused=!1,D.push(T),s(),ee())},T.reverse=function(){m(),T.completed=!T.reversed,s()},T.restart=function(){T.reset(),T.play()},T.remove=function(e){ne(P(e),T)},T.reset(),T.autoplay&&T.play(),T}function ie(e,t){for(var i=t.length;i--;)f(e,t[i].animatable.target)&&t.splice(i,1)}function ne(e,t){var i=t.animations,n=t.children;ie(e,i);for(var r=n.length;r--;){var s=n[r],a=s.animations;ie(e,a),a.length||s.children.length||n.splice(r,1)}i.length||n.length||t.pause()}return R.version="3.2.2",R.speed=1,R.suspendWhenDocumentHidden=!0,R.running=D,R.remove=function(e){for(var t=P(e),i=D.length;i--;)ne(t,D[i])},R.get=A,R.set=Q,R.convertPx=y,R.path=function(e,t){var i=x.str(e)?r(e)[0]:e,n=t||100;return function(e){return{property:e,el:i,svg:$(i),totalLength:Y(i)*(n/100)}}},R.setDashoffset=function(e){var t=Y(e);return e.setAttribute("stroke-dasharray",t),t},R.stagger=function(e,t){var o=(t=void 0===t?{}:t).direction||"normal",l=t.easing?C(t.easing):null,c=t.grid,d=t.axis,u=t.from||0,p="first"===u,h="center"===u,f="last"===u,m=x.arr(e),g=m?parseFloat(e[0]):parseFloat(e),v=m?parseFloat(e[1]):0,y=I(m?e[1]:e)||0,b=t.start||0+(m?g:0),_=[],w=0;return function(e,t,i){if(p&&(u=0),h&&(u=(i-1)/2),f&&(u=i-1),!_.length){for(var n,r,s,a=0;a<i;a++)c?(n=h?(c[0]-1)/2:u%c[0],r=h?(c[1]-1)/2:Math.floor(u/c[0]),n-=a%c[0],r-=Math.floor(a/c[0]),s=Math.sqrt(n*n+r*r),"x"===d&&(s=-n),_.push(s="y"===d?-r:s)):_.push(Math.abs(u-a)),w=Math.max.apply(Math,_);l&&(_=_.map(function(e){return l(e/w)*w})),"reverse"===o&&(_=_.map(function(e){return d?e<0?-1*e:-e:Math.abs(w-e)}))}return b+(m?(v-g)/w:g)*(Math.round(100*_[t])/100)+y}},R.timeline=function(a){var o=R(a=void 0===a?{}:a);return o.duration=0,o.add=function(e,t){var i=D.indexOf(o),n=o.children;function r(e){e.passThrough=!0}-1<i&&D.splice(i,1);for(var s=0;s<n.length;s++)r(n[s]);return(i=k(e,w(_,a))).targets=i.targets||a.targets,e=o.duration,i.autoplay=!1,i.direction=o.direction,i.timelineOffset=x.und(t)?e:O(t,e),r(o),o.seek(i.timelineOffset),r(t=R(i)),n.push(t),e=Z(n,a),o.delay=e.delay,o.endDelay=e.endDelay,o.duration=e.duration,o.seek(0),o.reset(),o.autoplay&&o.play(),o},o},R.easing=C,R.penner=l,R.random=function(e,t){return Math.floor(Math.random()*(t-e+1))+e},R});
/*!
Atropos
Version: 2.0.2
Plugin URL: https://atroposjs.com
License: Copyright 2021-2024 | Released under the MIT License
!*/
var Atropos=function(){"use strict";function B(){return(B=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i,n=arguments[t];for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function F(e,t){return e.querySelector(t)}var N={alwaysActive:!1,activeOffset:50,shadowOffset:50,shadowScale:1,duration:300,rotate:!0,rotateTouch:!0,rotateXMax:15,rotateYMax:15,rotateXInvert:!1,rotateYInvert:!1,stretchX:0,stretchY:0,stretchZ:0,commonOrigin:!0,shadow:!0,highlight:!0};return function(e){function t(e,t,i,n){e.addEventListener(t,i,n)}function i(e,t,i,n){e.removeEventListener(t,i,n)}function n(e){v=void 0,"pointerdown"===e.type&&"mouse"===e.pointerType||"pointerenter"===e.type&&"mouse"!==e.pointerType||("pointerdown"===e.type&&e.preventDefault(),y=e.clientX,b=e.clientY,M.alwaysActive?m=f=void 0:(j(),"function"==typeof M.onEnter&&M.onEnter()))}function r(e){!1===v&&e.cancelable&&e.preventDefault()}function s(e){if(M.rotate&&C.isActive){if("mouse"!==e.pointerType){if(!M.rotateTouch)return;e.preventDefault()}var t=e.clientX,i=e.clientY,n=t-y,r=i-b;"string"!=typeof M.rotateTouch||0==n&&0==r||void 0!==v||(25<=n*n+r*r&&(r=180*Math.atan2(Math.abs(r),Math.abs(n))/Math.PI,v="scroll-y"===M.rotateTouch?45<r:45<90-r),!1===v&&(T.classList.add("atropos-rotate-touch"),e.cancelable)&&e.preventDefault()),"mouse"!==e.pointerType&&v||z(t,i)}}function a(e){e=e.target,!S.contains(e)&&e!==S&&C.isActive&&D()}var c,o,l,h,d,u,f,m,p,g,v,y,b,_,w,x,T=(E=e=void 0===e?{}:e).el,S=E.eventsEl,E=e.isComponent,C={__atropos__:!0,params:B({},N,{onEnter:null,onLeave:null,onRotate:null},(void 0===(o=e||{})&&(o={}),l={},Object.keys(o).forEach(function(e){void 0!==o[e]&&(l[e]=o[e])}),l)),destroyed:!1,isActive:!1},M=C.params,k=[],I=(function e(){_=requestAnimationFrame(function(){k.forEach(function(e){var t,i;"function"==typeof e?e():(t=e.element,i=e.prop,e=e.value,t.style[i]=e)}),k.splice(0,k.length),e()})}(),function(e,t){k.push({element:e,prop:"transitionDuration",value:t})}),A=function(e,t){k.push({element:e,prop:"transitionTimingFunction",value:t})},O=function(e,t){k.push({element:e,prop:"transform",value:t})},L=function(e,t){k.push({element:e,prop:"opacity",value:t})},R=function(e,t){k.push({element:e,prop:"transformOrigin",value:t})},P=function(e){var t=e.rotateXPercentage,r=void 0===t?0:t,t=e.rotateYPercentage,s=void 0===t?0:t,a=e.duration,o=e.opacityOnly,l=e.easeOut;t="[data-atropos-offset], [data-atropos-opacity]",c.querySelectorAll(t).forEach(function(e){I(e,a),A(e,l?"ease-out":"");var t,i,n=function(e){if(e.dataset.atroposOpacity&&"string"==typeof e.dataset.atroposOpacity)return e.dataset.atroposOpacity.split(";").map(function(e){return parseFloat(e)})}(e);0===r&&0===s?(o||O(e,"translate3d(0, 0, 0)"),n&&L(e,n[0])):(t=parseFloat(e.dataset.atroposOffset)/100,Number.isNaN(t)||o||O(e,"translate3d("+-s*-t+"%, "+r*-t+"%, 0)"),n&&(t=n[0],n=n[1],i=Math.max(Math.abs(r),Math.abs(s)),L(e,t+(n-t)*i/100)))})},z=function(e,t){var i,n=T!==S,r=(f=f||T.getBoundingClientRect(),n&&!m&&(m=S.getBoundingClientRect()),void 0===e&&void 0===t&&(e=(r=n?m:f).left+r.width/2,t=r.top+r.height/2),0),s=0,a=f,o=a.top,l=a.left,c=a.width,a=a.height,d=(n?(u=(p=m).top,i=p.left,d=p.width,p=p.height,s=M.rotateYMax*(e-i-(c/2+(l-i)))/(d-c/2)*-1,r=M.rotateXMax*(t-u-(a/2+(o-u)))/(p-a/2),i=e-l+"px "+(t-o)+"px"):(s=M.rotateYMax*(e-l-c/2)/(c/2)*-1,r=M.rotateXMax*(t-o-a/2)/(a/2)),r=Math.min(Math.max(-r,-M.rotateXMax),M.rotateXMax),M.rotateXInvert&&(r=-r),s=Math.min(Math.max(-s,-M.rotateYMax),M.rotateYMax),M.rotateYInvert&&(s=-s),r/M.rotateXMax*100),u=s/M.rotateYMax*100,p=(n?u/100*M.stretchX:0)*(M.rotateYInvert?-1:1),e=(n?d/100*M.stretchY:0)*(M.rotateXInvert?-1:1),l=n?Math.max(Math.abs(d),Math.abs(u))/100*M.stretchZ:0;O(h,"translate3d("+p+"%, "+-e+"%, "+-l+"px) rotateX("+r+"deg) rotateY("+s+"deg)"),i&&M.commonOrigin&&R(h,i),g&&(I(g,M.duration+"ms"),A(g,"ease-out"),O(g,"translate3d("+.25*-u+"%, "+.25*d+"%, 0)"),L(g,Math.max(Math.abs(d),Math.abs(u))/100)),P({rotateXPercentage:d,rotateYPercentage:u,duration:M.duration+"ms",easeOut:!0}),"function"==typeof M.onRotate&&M.onRotate(r,s)},j=function(){k.push(function(){return T.classList.add("atropos-active")}),I(h,M.duration+"ms"),A(h,"ease-out"),O(d,"translate3d(0,0, "+M.activeOffset+"px)"),I(d,M.duration+"ms"),A(d,"ease-out"),p&&(I(p,M.duration+"ms"),A(p,"ease-out")),C.isActive=!0},D=function(e){m=f=void 0,!C.isActive||e&&"pointerup"===e.type&&"mouse"===e.pointerType||e&&"pointerleave"===e.type&&"mouse"!==e.pointerType||("string"==typeof M.rotateTouch&&v&&T.classList.remove("atropos-rotate-touch"),M.alwaysActive?z():(k.push(function(){return T.classList.remove("atropos-active")}),I(d,M.duration+"ms"),A(d,""),O(d,"translate3d(0,0, 0px)"),p&&(I(p,M.duration+"ms"),A(p,"")),g&&(I(g,M.duration+"ms"),A(g,""),O(g,"translate3d(0, 0, 0)"),L(g,0)),I(h,M.duration+"ms"),A(h,""),O(h,"translate3d(0,0,0) rotateX(0deg) rotateY(0deg)"),P({duration:M.duration+"ms"}),C.isActive=!1),"function"==typeof M.onRotate&&M.onRotate(0,0),"function"==typeof M.onLeave&&M.onLeave())};return C.destroy=function(){C.destroyed=!0,cancelAnimationFrame(_),i(document,"click",a),i(S,"pointerdown",n),i(S,"pointerenter",n),i(S,"pointermove",s),i(S,"touchmove",r),i(S,"pointerleave",D),i(S,"pointerup",D),i(S,"lostpointercapture",D),delete T.__atropos__},(T="string"==typeof T?F(document,T):T)&&!T.__atropos__&&(void 0!==S?"string"==typeof S&&(S=F(document,S)):S=T,c=E?T.parentNode.host:T,Object.assign(C,{el:T}),h=F(T,".atropos-rotate"),d=F(T,".atropos-scale"),u=F(T,".atropos-inner"),T.__atropos__=C),T&&S&&(M.shadow&&((p=F(T,".atropos-shadow"))||((p=document.createElement("span")).classList.add("atropos-shadow"),w=!0),O(p,"translate3d(0,0,-"+M.shadowOffset+"px) scale("+M.shadowScale+")"),w)&&h.appendChild(p),M.highlight&&((g=F(T,".atropos-highlight"))||((g=document.createElement("span")).classList.add("atropos-highlight"),x=!0),O(g,"translate3d(0,0,0)"),x)&&u.appendChild(g),M.rotateTouch&&("string"==typeof M.rotateTouch?T.classList.add("atropos-rotate-touch-"+M.rotateTouch):T.classList.add("atropos-rotate-touch")),F(c,"[data-atropos-opacity]")&&P({opacityOnly:!0}),t(document,"click",a),t(S,"pointerdown",n),t(S,"pointerenter",n),t(S,"pointermove",s),t(S,"touchmove",r),t(S,"pointerleave",D),t(S,"pointerup",D),t(S,"lostpointercapture",D),M.alwaysActive)&&(j(),z()),C}}();
/*!
Bootstrap
Version: 5.3.2
Plugin URL: https://getbootstrap.com/
License: Copyright 2011-2024 The Bootstrap Authors | Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
!*/
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap=t()}(this,function(){"use strict";const n=new Map,R={set(e,t,i){n.has(e)||n.set(e,new Map);e=n.get(e);e.has(t)||0===e.size?e.set(t,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(e.keys())[0]}.`)},get(e,t){return n.has(e)&&n.get(e).get(t)||null},remove(e,t){var i;n.has(e)&&((i=n.get(e)).delete(t),0===i.size)&&n.delete(e)}},j=1e3,B="transitionend",F=e=>e=e&&window.CSS&&window.CSS.escape?e.replace(/#([^\s"#']+)/g,(e,t)=>"#"+CSS.escape(t)):e,N=e=>{e.dispatchEvent(new Event(B))},s=e=>!(!e||"object"!=typeof e)&&void 0!==(e=void 0!==e.jquery?e[0]:e).nodeType,r=e=>s(e)?e.jquery?e[0]:e:"string"==typeof e&&0<e.length?document.querySelector(F(e)):null,a=e=>{if(!s(e)||0===e.getClientRects().length)return!1;var t="visible"===getComputedStyle(e).getPropertyValue("visibility"),i=e.closest("details:not([open])");if(i&&i!==e){e=e.closest("summary");if(e&&e.parentNode!==i)return!1;if(null===e)return!1}return t},o=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),H=e=>{var t;return document.documentElement.attachShadow?"function"==typeof e.getRootNode?(t=e.getRootNode())instanceof ShadowRoot?t:null:e instanceof ShadowRoot?e:e.parentNode?H(e.parentNode):null:null},W=()=>{},q=e=>{e.offsetHeight},Y=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,$=[],l=()=>"rtl"===document.documentElement.dir;var e=n=>{var e;e=()=>{const e=Y();if(e){const t=n.NAME,i=e.fn[t];e.fn[t]=n.jQueryInterface,e.fn[t].Constructor=n,e.fn[t].noConflict=()=>(e.fn[t]=i,n.jQueryInterface)}},"loading"===document.readyState?($.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of $)e()}),$.push(e)):e()};const c=(e,t=[],i=e)=>"function"==typeof e?e(...t):i,X=(i,n,e=!0)=>{if(e){e=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:i}=window.getComputedStyle(e);var e=Number.parseFloat(t),n=Number.parseFloat(i);return e||n?(t=t.split(",")[0],i=i.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(i))*j):0})(n)+5;let t=!1;const r=({target:e})=>{e===n&&(t=!0,n.removeEventListener(B,r),c(i))};n.addEventListener(B,r),setTimeout(()=>{t||N(n)},e)}else c(i)},G=(e,t,i,n)=>{var r=e.length;let s=e.indexOf(t);return-1===s?!i&&n?e[r-1]:e[0]:(s+=i?1:-1,n&&(s=(s+r)%r),e[Math.max(0,Math.min(s,r-1))])},V=/[^.]*(?=\..*)\.|.*/,U=/\..*/,Q=/::\d+$/,K={};let Z=1;const J={mouseenter:"mouseover",mouseleave:"mouseout"},ee=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 te(e,t){return t&&t+"::"+Z++||e.uidEvent||Z++}function ie(e){var t=te(e);return e.uidEvent=t,K[t]=K[t]||{},K[t]}function ne(e,t,i=null){return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===i)}function re(e,t,i){var n="string"==typeof t,t=!n&&t||i;let r=oe(e);return[n,t,r=ee.has(r)?r:e]}function se(n,r,s,a,o){if("string"==typeof r&&n){let[e,t,i]=re(r,s,a);r in J&&(t=(l=t,function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return l.call(this,e)}));var l,c,d,u,p,h,a=ie(n),a=a[i]||(a[i]={}),f=ne(a,t,e?s:null);f?f.oneOff=f.oneOff&&o:(f=te(t,r.replace(V,"")),(r=e?(u=n,p=s,h=t,function t(i){var n=u.querySelectorAll(p);for(let e=i["target"];e&&e!==this;e=e.parentNode)for(const r of n)if(r===e)return le(i,{delegateTarget:e}),t.oneOff&&m.off(u,i.type,p,h),h.apply(e,[i])}):(c=n,d=t,function e(t){return le(t,{delegateTarget:c}),e.oneOff&&m.off(c,t.type,d),d.apply(c,[t])})).delegationSelector=e?s:null,r.callable=t,r.oneOff=o,a[r.uidEvent=f]=r,n.addEventListener(i,r,e))}}function ae(e,t,i,n,r){n=ne(t[i],n,r);n&&(e.removeEventListener(i,n,Boolean(r)),delete t[i][n.uidEvent])}function oe(e){return e=e.replace(U,""),J[e]||e}const m={on(e,t,i,n){se(e,t,i,n,!1)},one(e,t,i,n){se(e,t,i,n,!0)},off(e,t,i,n){if("string"==typeof t&&e){var r,s,[n,a,o]=re(t,i,n),l=o!==t,c=ie(e),d=c[o]||{},u=t.startsWith(".");if(void 0!==a)return Object.keys(d).length?void ae(e,c,o,a,n?i:null):void 0;if(u)for(const _ of Object.keys(c)){h=p=y=v=g=m=f=void 0;var p,h,f=e,m=c,g=_,v=t.slice(1),y=m[g]||{};for([p,h]of Object.entries(y))p.includes(v)&&ae(f,m,g,h.callable,h.delegationSelector)}for([r,s]of Object.entries(d)){var b=r.replace(Q,"");l&&!t.includes(b)||ae(e,c,o,s.callable,s.delegationSelector)}}},trigger(e,t,i){if("string"!=typeof t||!e)return null;var n=Y();let r=null,s=!0,a=!0,o=!1;t!==oe(t)&&n&&(r=n.Event(t,i),n(e).trigger(r),s=!r.isPropagationStopped(),a=!r.isImmediatePropagationStopped(),o=r.isDefaultPrevented());n=le(new Event(t,{bubbles:s,cancelable:!0}),i);return o&&n.preventDefault(),a&&e.dispatchEvent(n),n.defaultPrevented&&r&&r.preventDefault(),n}};function le(t,e={}){for(const[i,n]of Object.entries(e))try{t[i]=n}catch(e){Object.defineProperty(t,i,{configurable:!0,get(){return n}})}return t}function ce(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch(e){return t}}function de(e){return e.replace(/[A-Z]/g,e=>"-"+e.toLowerCase())}const d={setDataAttribute(e,t,i){e.setAttribute("data-bs-"+de(t),i)},removeDataAttribute(e,t){e.removeAttribute("data-bs-"+de(t))},getDataAttributes(t){if(!t)return{};var i={};for(const n of Object.keys(t.dataset).filter(e=>e.startsWith("bs")&&!e.startsWith("bsConfig"))){let e=n.replace(/^bs/,"");i[e=e.charAt(0).toLowerCase()+e.slice(1,e.length)]=ce(t.dataset[n])}return i},getDataAttribute(e,t){return ce(e.getAttribute("data-bs-"+de(t)))}};class ue{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){var i=s(t)?d.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof i?i:{},...s(t)?d.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(var[i,n]of Object.entries(t)){var r=e[i],r=s(r)?"element":null==(r=r)?""+r:Object.prototype.toString.call(r).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(n).test(r))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${r}" but expected type "${n}".`)}}}class t extends ue{constructor(e,t){super(),(e=r(e))&&(this._element=e,this._config=this._getConfig(t),R.set(this._element,this.constructor.DATA_KEY,this))}dispose(){R.remove(this._element,this.constructor.DATA_KEY),m.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,i=!0){X(e,t,i)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return R.get(r(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.3.2"}static get DATA_KEY(){return"bs."+this.NAME}static get EVENT_KEY(){return"."+this.DATA_KEY}static eventName(e){return""+e+this.EVENT_KEY}}const pe=t=>{let i=t.getAttribute("data-bs-target");if(!i||"#"===i){let e=t.getAttribute("href");if(!e||!e.includes("#")&&!e.startsWith("."))return null;e.includes("#")&&!e.startsWith("#")&&(e="#"+e.split("#")[1]),i=e&&"#"!==e?F(e.trim()):null}return i},u={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(e=>e.matches(t))},parents(e,t){var i=[];let n=e.parentNode.closest(t);for(;n;)i.push(n),n=n.parentNode.closest(t);return i},prev(e,t){let i=e.previousElementSibling;for(;i;){if(i.matches(t))return[i];i=i.previousElementSibling}return[]},next(e,t){let i=e.nextElementSibling;for(;i;){if(i.matches(t))return[i];i=i.nextElementSibling}return[]},focusableChildren(e){var t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>e+':not([tabindex^="-"])').join(",");return this.find(t,e).filter(e=>!o(e)&&a(e))},getSelectorFromElement(e){e=pe(e);return e&&u.findOne(e)?e:null},getElementFromSelector(e){e=pe(e);return e?u.findOne(e):null},getMultipleElementsFromSelector(e){e=pe(e);return e?u.find(e):[]}};var he=(t,i="hide")=>{var e="click.dismiss"+t.EVENT_KEY;const n=t.NAME;m.on(document,e,`[data-bs-dismiss="${n}"]`,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),o(this)||(e=u.getElementFromSelector(this)||this.closest("."+n),t.getOrCreateInstance(e)[i]())})};class fe extends t{static get NAME(){return"alert"}close(){var e;m.trigger(this._element,"close.bs.alert").defaultPrevented||(this._element.classList.remove("show"),e=this._element.classList.contains("fade"),this._queueCallback(()=>this._destroyElement(),this._element,e))}_destroyElement(){this._element.remove(),m.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(t){return this.each(function(){var e=fe.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}})}}he(fe,"close"),e(fe);const me='[data-bs-toggle="button"]';class ge extends t{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each(function(){var e=ge.getOrCreateInstance(this);"toggle"===t&&e[t]()})}}m.on(document,"click.bs.button.data-api",me,e=>{e.preventDefault();e=e.target.closest(me);ge.getOrCreateInstance(e).toggle()}),e(ge);const i=".bs.swipe",ve=(i,i,i,i,i,{endCallback:null,leftCallback:null,rightCallback:null}),ye={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class be extends ue{constructor(e,t){super(),(this._element=e)&&be.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return ve}static get DefaultType(){return ye}static get NAME(){return"swipe"}dispose(){m.off(this._element,i)}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),c(this._config.endCallback)}_move(e){this._deltaX=e.touches&&1<e.touches.length?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){var e=Math.abs(this._deltaX);e<=40||(e=e/this._deltaX,this._deltaX=0,e&&c(0<e?this._config.rightCallback:this._config.leftCallback))}_initEvents(){this._supportPointerEvents?(m.on(this._element,"pointerdown.bs.swipe",e=>this._start(e)),m.on(this._element,"pointerup.bs.swipe",e=>this._end(e)),this._element.classList.add("pointer-event")):(m.on(this._element,"touchstart.bs.swipe",e=>this._start(e)),m.on(this._element,"touchmove.bs.swipe",e=>this._move(e)),m.on(this._element,"touchend.bs.swipe",e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||0<navigator.maxTouchPoints}}var p=".bs.carousel";const _e="next",h="prev",f="left",we="right",xe="slid"+p;const Te="carousel",Se="active",Ee=".active",Ce=".carousel-item";Ee,Ce;const Me={ArrowLeft:we,ArrowRight:f},ke={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Ie={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Ae extends t{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=u.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===Te&&this.cycle()}static get Default(){return ke}static get DefaultType(){return Ie}static get NAME(){return"carousel"}next(){this._slide(_e)}nextWhenVisible(){!document.hidden&&a(this._element)&&this.next()}prev(){this._slide(h)}pause(){this._isSliding&&N(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?m.one(this._element,xe,()=>this.cycle()):this.cycle())}to(e){var t,i=this._getItems();e>i.length-1||e<0||(this._isSliding?m.one(this._element,xe,()=>this.to(e)):(t=this._getItemIndex(this._getActive()))!==e&&(t=t<e?_e:h,this._slide(t,i[e])))}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&m.on(this._element,"keydown.bs.carousel",e=>this._keydown(e)),"hover"===this._config.pause&&(m.on(this._element,"mouseenter.bs.carousel",()=>this.pause()),m.on(this._element,"mouseleave.bs.carousel",()=>this._maybeEnableCycle())),this._config.touch&&be.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of u.find(".carousel-item img",this._element))m.on(t,"dragstart.bs.carousel",e=>e.preventDefault());var e={leftCallback:()=>this._slide(this._directionToOrder(f)),rightCallback:()=>this._slide(this._directionToOrder(we)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new be(this._element,e)}_keydown(e){var t;/input|textarea/i.test(e.target.tagName)||(t=Me[e.key])&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){var t;this._indicatorsElement&&((t=u.findOne(Ee,this._indicatorsElement)).classList.remove(Se),t.removeAttribute("aria-current"),t=u.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement))&&(t.classList.add(Se),t.setAttribute("aria-current","true"))}_updateInterval(){var e=this._activeElement||this._getActive();e&&(e=Number.parseInt(e.getAttribute("data-bs-interval"),10),this._config.interval=e||this._config.defaultInterval)}_slide(t,e=null){if(!this._isSliding){const n=this._getActive();var i=t===_e;const r=e||G(this._getItems(),n,i,this._config.wrap);if(r!==n){const s=this._getItemIndex(r),a=e=>m.trigger(this._element,e,{relatedTarget:r,direction:this._orderToDirection(t),from:this._getItemIndex(n),to:s});e=a("slide.bs.carousel");if(!e.defaultPrevented&&n&&r){e=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=r;const o=i?"carousel-item-start":"carousel-item-end",l=i?"carousel-item-next":"carousel-item-prev";r.classList.add(l),q(r),n.classList.add(o),r.classList.add(o);this._queueCallback(()=>{r.classList.remove(o,l),r.classList.add(Se),n.classList.remove(Se,l,o),this._isSliding=!1,a(xe)},n,this._isAnimated()),e&&this.cycle()}}}}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return u.findOne(".active.carousel-item",this._element)}_getItems(){return u.find(Ce,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return l()?e===f?h:_e:e===f?_e:h}_orderToDirection(e){return l()?e===h?f:we:e===h?we:f}static jQueryInterface(t){return this.each(function(){var e=Ae.getOrCreateInstance(this,t);if("number"==typeof t)e.to(t);else if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}})}}m.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",function(e){var t=u.getElementFromSelector(this);t&&t.classList.contains(Te)&&(e.preventDefault(),e=Ae.getOrCreateInstance(t),(t=this.getAttribute("data-bs-slide-to"))?e.to(t):"next"===d.getDataAttribute(this,"slide")?e.next():e.prev(),e._maybeEnableCycle())}),m.on(window,"load.bs.carousel.data-api",()=>{for(const e of u.find('[data-bs-ride="carousel"]'))Ae.getOrCreateInstance(e)}),e(Ae);const Oe="show",g="collapse",Le="collapsing",Pe=(g,g,'[data-bs-toggle="collapse"]'),ze={parent:null,toggle:!0},De={parent:"(null|element)",toggle:"boolean"};class Re extends t{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];for(const r of u.find(Pe)){var i=u.getSelectorFromElement(r),n=u.find(i).filter(e=>e===this._element);null!==i&&n.length&&this._triggerArray.push(r)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return ze}static get DefaultType(){return De}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(!this._isTransitioning&&!this._isShown()){let e=[];if(!(e=this._config.parent?this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(e=>e!==this._element).map(e=>Re.getOrCreateInstance(e,{toggle:!1})):e).length||!e[0]._isTransitioning){var t=m.trigger(this._element,"show.bs.collapse");if(!t.defaultPrevented){for(const n of e)n.hide();const i=this._getDimension();this._element.classList.remove(g),this._element.classList.add(Le),this._element.style[i]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;t="scroll"+(i[0].toUpperCase()+i.slice(1));this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Le),this._element.classList.add(g,Oe),this._element.style[i]="",m.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[i]=this._element[t]+"px"}}}}hide(){if(!this._isTransitioning&&this._isShown()){var e=m.trigger(this._element,"hide.bs.collapse");if(!e.defaultPrevented){e=this._getDimension();this._element.style[e]=this._element.getBoundingClientRect()[e]+"px",q(this._element),this._element.classList.add(Le),this._element.classList.remove(g,Oe);for(const i of this._triggerArray){var t=u.getElementFromSelector(i);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([i],!1)}this._isTransitioning=!0;this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Le),this._element.classList.add(g),m.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}}}_isShown(e=this._element){return e.classList.contains(Oe)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=r(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(this._config.parent)for(const t of this._getFirstLevelChildren(Pe)){var e=u.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=u.find(":scope .collapse .collapse",this._config.parent);return u.find(e,this._config.parent).filter(e=>!t.includes(e))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const i of e)i.classList.toggle("collapsed",!t),i.setAttribute("aria-expanded",t)}static jQueryInterface(t){const i={};return"string"==typeof t&&/show|hide/.test(t)&&(i.toggle=!1),this.each(function(){var e=Re.getOrCreateInstance(this,i);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}m.on(document,"click.bs.collapse.data-api",Pe,function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const t of u.getMultipleElementsFromSelector(this))Re.getOrCreateInstance(t,{toggle:!1}).toggle()}),e(Re);var M="top",k="bottom",I="right",A="left",je="auto",O=[M,k,I,A],L="start",Be="end",Fe="clippingParents",Ne="viewport",He="popper",We="reference",qe=O.reduce(function(e,t){return e.concat([t+"-"+L,t+"-"+Be])},[]),Ye=[].concat(O,[je]).reduce(function(e,t){return e.concat([t,t+"-"+L,t+"-"+Be])},[]),p="beforeRead",$e="afterRead",Xe="beforeMain",Ge="afterMain",Ve="beforeWrite",Ue="afterWrite",Qe=[p,"read",$e,Xe,"main",Ge,Ve,"write",Ue];function v(e){return e?(e.nodeName||"").toLowerCase():null}function b(e){var t;return null==e?window:"[object Window]"!==e.toString()?(t=e.ownerDocument)&&t.defaultView||window:e}function y(e){return e instanceof b(e).Element||e instanceof Element}function _(e){return e instanceof b(e).HTMLElement||e instanceof HTMLElement}function Ke(e){return"undefined"!=typeof ShadowRoot&&(e instanceof b(e).ShadowRoot||e instanceof ShadowRoot)}var Ze={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var r=e.state;Object.keys(r.elements).forEach(function(e){var t=r.styles[e]||{},i=r.attributes[e]||{},n=r.elements[e];_(n)&&v(n)&&(Object.assign(n.style,t),Object.keys(i).forEach(function(e){var t=i[e];!1===t?n.removeAttribute(e):n.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var n=e.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow),function(){Object.keys(n.elements).forEach(function(e){var t=n.elements[e],i=n.attributes[e]||{},e=Object.keys((n.styles.hasOwnProperty(e)?n.styles:r)[e]).reduce(function(e,t){return e[t]="",e},{});_(t)&&v(t)&&(Object.assign(t.style,e),Object.keys(i).forEach(function(e){t.removeAttribute(e)}))})}},requires:["computeStyles"]};function P(e){return e.split("-")[0]}var C=Math.max,Je=Math.min,et=Math.round;function tt(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function it(){return!/^((?!chrome|android).)*safari/i.test(tt())}function nt(e,t,i){void 0===t&&(t=!1),void 0===i&&(i=!1);var n=e.getBoundingClientRect(),r=1,s=1;t&&_(e)&&(r=0<e.offsetWidth&&et(n.width)/e.offsetWidth||1,s=0<e.offsetHeight&&et(n.height)/e.offsetHeight||1);t=(y(e)?b(e):window).visualViewport,e=!it()&&i,i=(n.left+(e&&t?t.offsetLeft:0))/r,e=(n.top+(e&&t?t.offsetTop:0))/s,t=n.width/r,r=n.height/s;return{width:t,height:r,top:e,right:i+t,bottom:e+r,left:i,x:i,y:e}}function rt(e){var t=nt(e),i=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:n}}function st(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&Ke(i)){var n=t;do{if(n&&e.isSameNode(n))return!0}while(n=n.parentNode||n.host)}return!1}function w(e){return b(e).getComputedStyle(e)}function x(e){return((y(e)?e.ownerDocument:e.document)||window.document).documentElement}function at(e){return"html"===v(e)?e:e.assignedSlot||e.parentNode||(Ke(e)?e.host:null)||x(e)}function ot(e){return _(e)&&"fixed"!==w(e).position?e.offsetParent:null}function lt(e){for(var t,i=b(e),n=ot(e);n&&(t=n,0<=["table","td","th"].indexOf(v(t)))&&"static"===w(n).position;)n=ot(n);return(!n||"html"!==v(n)&&("body"!==v(n)||"static"!==w(n).position))&&(n||function(e){var t=/firefox/i.test(tt()),i=/Trident/i.test(tt());if(!i||!_(e)||"fixed"!==w(e).position){var n=at(e);for(Ke(n)&&(n=n.host);_(n)&&["html","body"].indexOf(v(n))<0;){var r=w(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}}return null}(e))||i}function ct(e){return 0<=["top","bottom"].indexOf(e)?"x":"y"}function dt(e,t,i){return C(e,Je(t,i))}function ut(){return{top:0,right:0,bottom:0,left:0}}function pt(e){return Object.assign({},ut(),e)}function ht(i,e){return e.reduce(function(e,t){return e[t]=i,e},{})}var ft={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,i,n,r,s=e.state,a=e.name,e=e.options,o=s.elements.arrow,l=s.modifiersData.popperOffsets,c=ct(d=P(s.placement)),d=0<=[A,I].indexOf(d)?"height":"width";o&&l&&(e=e.padding,i=s,i=pt("number"!=typeof(e="function"==typeof e?e(Object.assign({},i.rects,{placement:i.placement})):e)?e:ht(e,O)),e=rt(o),r="y"===c?M:A,n="y"===c?k:I,t=s.rects.reference[d]+s.rects.reference[c]-l[c]-s.rects.popper[d],l=l[c]-s.rects.reference[c],o=(o=lt(o))?"y"===c?o.clientHeight||0:o.clientWidth||0:0,r=i[r],i=o-e[d]-i[n],r=dt(r,n=o/2-e[d]/2+(t/2-l/2),i),s.modifiersData[a]=((o={})[c]=r,o.centerOffset=r-n,o))},effect:function(e){var t=e.state;null!=(e=void 0===(e=e.options.element)?"[data-popper-arrow]":e)&&("string"!=typeof e||(e=t.elements.popper.querySelector(e)))&&st(t.elements.popper,e)&&(t.elements.arrow=e)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function mt(e){return e.split("-")[1]}var gt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function vt(e){var t,i=e.popper,n=e.popperRect,r=e.placement,s=e.variation,a=e.offsets,o=e.position,l=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,e=e.isFixed,u=a.x,u=void 0===u?0:u,p=a.y,p=void 0===p?0:p,h="function"==typeof d?d({x:u,y:p}):{x:u,y:p},h=(u=h.x,p=h.y,a.hasOwnProperty("x")),a=a.hasOwnProperty("y"),f=A,m=M,g=window,v=(c&&(v="clientHeight",t="clientWidth",(y=lt(i))===b(i)&&"static"!==w(y=x(i)).position&&"absolute"===o&&(v="scrollHeight",t="scrollWidth"),r!==M&&(r!==A&&r!==I||s!==Be)||(m=k,p=(p-((e&&y===g&&g.visualViewport?g.visualViewport.height:y[v])-n.height))*(l?1:-1)),r!==A&&(r!==M&&r!==k||s!==Be)||(f=I,u=(u-((e&&y===g&&g.visualViewport?g.visualViewport.width:y[t])-n.width))*(l?1:-1))),Object.assign({position:o},c&&gt)),y=!0===d?(r={x:u,y:p},s=b(i),e=r.x,r=r.y,s=s.devicePixelRatio||1,{x:et(e*s)/s||0,y:et(r*s)/s||0}):{x:u,y:p};return u=y.x,p=y.y,l?Object.assign({},v,((t={})[m]=a?"0":"",t[f]=h?"0":"",t.transform=(g.devicePixelRatio||1)<=1?"translate("+u+"px, "+p+"px)":"translate3d("+u+"px, "+p+"px, 0)",t)):Object.assign({},v,((n={})[m]=a?p+"px":"",n[f]=h?u+"px":"",n.transform="",n))}var yt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,e=e.options,i=void 0===(i=e.gpuAcceleration)||i,n=void 0===(n=e.adaptive)||n,e=void 0===(e=e.roundOffsets)||e,i={placement:P(t.placement),variation:mt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,vt(Object.assign({},i,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:n,roundOffsets:e})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,vt(Object.assign({},i,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:e})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},bt={passive:!0};var _t={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,i=e.instance,n=(e=e.options).scroll,r=void 0===n||n,s=void 0===(n=e.resize)||n,a=b(t.elements.popper),o=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&o.forEach(function(e){e.addEventListener("scroll",i.update,bt)}),s&&a.addEventListener("resize",i.update,bt),function(){r&&o.forEach(function(e){e.removeEventListener("scroll",i.update,bt)}),s&&a.removeEventListener("resize",i.update,bt)}},data:{}},wt={left:"right",right:"left",bottom:"top",top:"bottom"};function xt(e){return e.replace(/left|right|bottom|top/g,function(e){return wt[e]})}var Tt={start:"end",end:"start"};function St(e){return e.replace(/start|end/g,function(e){return Tt[e]})}function Et(e){e=b(e);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ct(e){return nt(x(e)).left+Et(e).scrollLeft}function Mt(e){var e=w(e),t=e.overflow,i=e.overflowX,e=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+e+i)}function kt(e,t){void 0===t&&(t=[]);var i=function e(t){return 0<=["html","body","#document"].indexOf(v(t))?t.ownerDocument.body:_(t)&&Mt(t)?t:e(at(t))}(e),e=i===(null==(e=e.ownerDocument)?void 0:e.body),n=b(i),n=e?[n].concat(n.visualViewport||[],Mt(i)?i:[]):i,i=t.concat(n);return e?i:i.concat(kt(at(n)))}function It(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function At(e,t,i){return t===Ne?It((r=i,a=b(n=e),o=x(n),a=a.visualViewport,l=o.clientWidth,o=o.clientHeight,d=c=0,a&&(l=a.width,o=a.height,(s=it())||!s&&"fixed"===r)&&(c=a.offsetLeft,d=a.offsetTop),{width:l,height:o,x:c+Ct(n),y:d})):y(t)?((r=nt(s=t,!1,"fixed"===(r=i))).top=r.top+s.clientTop,r.left=r.left+s.clientLeft,r.bottom=r.top+s.clientHeight,r.right=r.left+s.clientWidth,r.width=s.clientWidth,r.height=s.clientHeight,r.x=r.left,r.y=r.top,r):It((a=x(e),l=x(a),o=Et(a),c=null==(c=a.ownerDocument)?void 0:c.body,n=C(l.scrollWidth,l.clientWidth,c?c.scrollWidth:0,c?c.clientWidth:0),d=C(l.scrollHeight,l.clientHeight,c?c.scrollHeight:0,c?c.clientHeight:0),a=-o.scrollLeft+Ct(a),o=-o.scrollTop,"rtl"===w(c||l).direction&&(a+=C(l.clientWidth,c?c.clientWidth:0)-n),{width:n,height:d,x:a,y:o}));var n,r,s,a,o,l,c,d}function Ot(i,e,t,n){var r,s="clippingParents"===e?(a=kt(at(s=i)),y(r=0<=["absolute","fixed"].indexOf(w(s).position)&&_(s)?lt(s):s)?a.filter(function(e){return y(e)&&st(e,r)&&"body"!==v(e)}):[]):[].concat(e),a=[].concat(s,[t]),e=a[0],t=a.reduce(function(e,t){t=At(i,t,n);return e.top=C(t.top,e.top),e.right=Je(t.right,e.right),e.bottom=Je(t.bottom,e.bottom),e.left=C(t.left,e.left),e},At(i,e,n));return t.width=t.right-t.left,t.height=t.bottom-t.top,t.x=t.left,t.y=t.top,t}function Lt(e){var t,i=e.reference,n=e.element,e=e.placement,r=e?P(e):null,e=e?mt(e):null,s=i.x+i.width/2-n.width/2,a=i.y+i.height/2-n.height/2;switch(r){case M:t={x:s,y:i.y-n.height};break;case k:t={x:s,y:i.y+i.height};break;case I:t={x:i.x+i.width,y:a};break;case A:t={x:i.x-n.width,y:a};break;default:t={x:i.x,y:i.y}}var o=r?ct(r):null;if(null!=o){var l="y"===o?"height":"width";switch(e){case L:t[o]=t[o]-(i[l]/2-n[l]/2);break;case Be:t[o]=t[o]+(i[l]/2-n[l]/2)}}return t}function Pt(e,t){var n,t=t=void 0===t?{}:t,i=t.placement,i=void 0===i?e.placement:i,r=t.strategy,r=void 0===r?e.strategy:r,s=t.boundary,s=void 0===s?Fe:s,a=t.rootBoundary,a=void 0===a?Ne:a,o=t.elementContext,o=void 0===o?He:o,l=t.altBoundary,l=void 0!==l&&l,t=t.padding,t=void 0===t?0:t,t=pt("number"!=typeof t?t:ht(t,O)),c=e.rects.popper,l=e.elements[l?o===He?We:He:o],l=Ot(y(l)?l:l.contextElement||x(e.elements.popper),s,a,r),s=nt(e.elements.reference),a=Lt({reference:s,element:c,strategy:"absolute",placement:i}),r=It(Object.assign({},c,a)),c=o===He?r:s,d={top:l.top-c.top+t.top,bottom:c.bottom-l.bottom+t.bottom,left:l.left-c.left+t.left,right:c.right-l.right+t.right},a=e.modifiersData.offset;return o===He&&a&&(n=a[i],Object.keys(d).forEach(function(e){var t=0<=[I,k].indexOf(e)?1:-1,i=0<=[M,k].indexOf(e)?"y":"x";d[e]+=n[i]*t})),d}var zt={name:"flip",enabled:!0,phase:"main",fn:function(e){var u=e.state,t=e.options,e=e.name;if(!u.modifiersData[e]._skip){for(var i=t.mainAxis,n=void 0===i||i,i=t.altAxis,r=void 0===i||i,i=t.fallbackPlacements,p=t.padding,h=t.boundary,f=t.rootBoundary,s=t.altBoundary,a=t.flipVariations,m=void 0===a||a,g=t.allowedAutoPlacements,a=u.options.placement,t=P(a),i=i||(t===a||!m?[xt(a)]:P(i=a)===je?[]:(t=xt(i),[St(i),t,St(t)])),o=[a].concat(i).reduce(function(e,t){return e.concat(P(t)===je?(i=u,n=(e=e=void 0===(e={placement:t,boundary:h,rootBoundary:f,padding:p,flipVariations:m,allowedAutoPlacements:g})?{}:e).placement,r=e.boundary,s=e.rootBoundary,a=e.padding,o=e.flipVariations,l=void 0===(e=e.allowedAutoPlacements)?Ye:e,c=mt(n),e=c?o?qe:qe.filter(function(e){return mt(e)===c}):O,d=(n=0===(n=e.filter(function(e){return 0<=l.indexOf(e)})).length?e:n).reduce(function(e,t){return e[t]=Pt(i,{placement:t,boundary:r,rootBoundary:s,padding:a})[P(t)],e},{}),Object.keys(d).sort(function(e,t){return d[e]-d[t]})):t);var i,n,r,s,a,o,l,c,d},[]),l=u.rects.reference,c=u.rects.popper,d=new Map,v=!0,y=o[0],b=0;b<o.length;b++){var _=o[b],w=P(_),x=mt(_)===L,T=0<=[M,k].indexOf(w),S=T?"width":"height",E=Pt(u,{placement:_,boundary:h,rootBoundary:f,altBoundary:s,padding:p}),T=T?x?I:A:x?k:M,x=(l[S]>c[S]&&(T=xt(T)),xt(T)),S=[];if(n&&S.push(E[w]<=0),r&&S.push(E[T]<=0,E[x]<=0),S.every(function(e){return e})){y=_,v=!1;break}d.set(_,S)}if(v)for(var C=m?3:1;0<C;C--)if("break"===function(t){var e=o.find(function(e){e=d.get(e);if(e)return e.slice(0,t).every(function(e){return e})});if(e)return y=e,"break"}(C))break;u.placement!==y&&(u.modifiersData[e]._skip=!0,u.placement=y,u.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Dt(e,t,i){return{top:e.top-t.height-(i=void 0===i?{x:0,y:0}:i).y,right:e.right-t.width+i.x,bottom:e.bottom-t.height+i.y,left:e.left-t.width-i.x}}function Rt(t){return[M,I,k,A].some(function(e){return 0<=t[e]})}var jt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,e=e.name,i=t.rects.reference,n=t.rects.popper,r=t.modifiersData.preventOverflow,s=Pt(t,{elementContext:"reference"}),a=Pt(t,{altBoundary:!0}),s=Dt(s,i),i=Dt(a,n,r),a=Rt(s),n=Rt(i);t.modifiersData[e]={referenceClippingOffsets:s,popperEscapeOffsets:i,isReferenceHidden:a,hasPopperEscaped:n},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":a,"data-popper-escaped":n})}};var Bt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var a=e.state,t=e.options,e=e.name,o=void 0===(t=t.offset)?[0,0]:t,t=Ye.reduce(function(e,t){var i,n,r,s;return e[t]=(t=t,i=a.rects,n=o,r=P(t),s=0<=[A,M].indexOf(r)?-1:1,t=(i="function"==typeof n?n(Object.assign({},i,{placement:t})):n)[0]||0,n=(i[1]||0)*s,0<=[A,I].indexOf(r)?{x:n,y:t}:{x:t,y:n}),e},{}),i=(n=t[a.placement]).x,n=n.y;null!=a.modifiersData.popperOffsets&&(a.modifiersData.popperOffsets.x+=i,a.modifiersData.popperOffsets.y+=n),a.modifiersData[e]=t}};var Ft={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,e=e.name;t.modifiersData[e]=Lt({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var Nt={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t,i,n,r,s,a,o,l,c,d=e.state,u=e.options,e=e.name,p=void 0===(p=u.mainAxis)||p,h=void 0!==(h=u.altAxis)&&h,f=u.boundary,m=u.rootBoundary,g=u.altBoundary,v=u.padding,y=void 0===(y=u.tether)||y,u=void 0===(u=u.tetherOffset)?0:u,f=Pt(d,{boundary:f,rootBoundary:m,padding:v,altBoundary:g}),m=P(d.placement),g=!(v=mt(d.placement)),b=ct(m),_="x"===b?"y":"x",w=d.modifiersData.popperOffsets,x=d.rects.reference,T=d.rects.popper,u="number"==typeof(u="function"==typeof u?u(Object.assign({},d.rects,{placement:d.placement})):u)?{mainAxis:u,altAxis:u}:Object.assign({mainAxis:0,altAxis:0},u),S=d.modifiersData.offset?d.modifiersData.offset[d.placement]:null,E={x:0,y:0};w&&(p&&(p="y"===b?"height":"width",a=(o=w[b])+f[i="y"===b?M:A],l=o-f[c="y"===b?k:I],t=y?-T[p]/2:0,r=(v===L?x:T)[p],v=v===L?-T[p]:-x[p],s=d.elements.arrow,s=y&&s?rt(s):{width:0,height:0},i=(n=d.modifiersData["arrow#persistent"]?d.modifiersData["arrow#persistent"].padding:ut())[i],n=n[c],c=dt(0,x[p],s[p]),s=g?x[p]/2-t-c-i-u.mainAxis:r-c-i-u.mainAxis,r=g?-x[p]/2+t+c+n+u.mainAxis:v+c+n+u.mainAxis,g=(i=d.elements.arrow&&lt(d.elements.arrow))?"y"===b?i.clientTop||0:i.clientLeft||0:0,v=o+r-(t=null!=(p=null==S?void 0:S[b])?p:0),c=dt(y?Je(a,o+s-t-g):a,o,y?C(l,v):l),w[b]=c,E[b]=c-o),h&&(n="y"==_?"height":"width",r=(i=w[_])+f["x"===b?M:A],p=i-f["x"===b?k:I],s=-1!==[M,A].indexOf(m),g=null!=(t=null==S?void 0:S[_])?t:0,a=s?r:i-x[n]-T[n]-g+u.altAxis,v=s?i+x[n]+T[n]-g-u.altAxis:p,o=y&&s?(l=dt(l=a,i,c=v),c<l?c:l):dt(y?a:r,i,y?v:p),w[_]=o,E[_]=o-i),d.modifiersData[e]=E)},requiresIfExists:["offset"]};function Ht(e,t,i){void 0===i&&(i=!1);var n=_(t),r=_(t)&&(a=(r=t).getBoundingClientRect(),s=et(a.width)/r.offsetWidth||1,a=et(a.height)/r.offsetHeight||1,1!==s||1!==a),s=x(t),a=nt(e,r,i),e={scrollLeft:0,scrollTop:0},o={x:0,y:0};return!n&&i||("body"===v(t)&&!Mt(s)||(e=(n=t)!==b(n)&&_(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:Et(n)),_(t)?((o=nt(t,!0)).x+=t.clientLeft,o.y+=t.clientTop):s&&(o.x=Ct(s))),{x:a.left+e.scrollLeft-o.x,y:a.top+e.scrollTop-o.y,width:a.width,height:a.height}}function Wt(e){var i=new Map,n=new Set,r=[];return e.forEach(function(e){i.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||!function t(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){n.has(e)||(e=i.get(e))&&t(e)}),r.push(e)}(e)}),r}var qt={placement:"bottom",modifiers:[],strategy:"absolute"};function Yt(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function $t(e){var e=e=void 0===e?{}:e,t=e.defaultModifiers,u=void 0===t?[]:t,t=e.defaultOptions,p=void 0===t?qt:t;return function(n,r,t){void 0===t&&(t=p);var i,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},qt,p),modifiersData:{},elements:{reference:n,popper:r},attributes:{},styles:{}},o=[],l=!1,c={state:a,setOptions:function(e){var i,t,e="function"==typeof e?e(a.options):e,e=(d(),a.options=Object.assign({},p,a.options,e),a.scrollParents={reference:y(n)?kt(n):n.contextElement?kt(n.contextElement):[],popper:kt(r)},e=[].concat(u,a.options.modifiers),t=e.reduce(function(e,t){var i=e[t.name];return e[t.name]=i?Object.assign({},i,t,{options:Object.assign({},i.options,t.options),data:Object.assign({},i.data,t.data)}):t,e},{}),e=Object.keys(t).map(function(e){return t[e]}),i=Wt(e),Qe.reduce(function(e,t){return e.concat(i.filter(function(e){return e.phase===t}))},[]));return a.orderedModifiers=e.filter(function(e){return e.enabled}),a.orderedModifiers.forEach(function(e){var t=e.name,i=e.options,e=e.effect;"function"==typeof e&&(e=e({state:a,name:t,instance:c,options:void 0===i?{}:i}),o.push(e||function(){}))}),c.update()},forceUpdate:function(){if(!l){var e=a.elements,t=e.reference,e=e.popper;if(Yt(t,e)){a.rects={reference:Ht(t,lt(e),"fixed"===a.options.strategy),popper:rt(e)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(e){return a.modifiersData[e.name]=Object.assign({},e.data)});for(var i,n,r,s=0;s<a.orderedModifiers.length;s++)!0===a.reset?(a.reset=!1,s=-1):(i=(r=a.orderedModifiers[s]).fn,n=r.options,r=r.name,"function"==typeof i&&(a=i({state:a,options:void 0===n?{}:n,name:r,instance:c})||a))}}},update:(i=function(){return new Promise(function(e){c.forceUpdate(),e(a)})},function(){return s=s||new Promise(function(e){Promise.resolve().then(function(){s=void 0,e(i())})})}),destroy:function(){d(),l=!0}};return Yt(n,r)&&c.setOptions(t).then(function(e){!l&&t.onFirstUpdate&&t.onFirstUpdate(e)}),c;function d(){o.forEach(function(e){return e()}),o=[]}}}var Xt=$t({defaultModifiers:[_t,Ft,yt,Ze,Bt,zt,Nt,ft,jt]});const Gt=Object.freeze(Object.defineProperty({__proto__:null,afterMain:Ge,afterRead:$e,afterWrite:Ue,applyStyles:Ze,arrow:ft,auto:je,basePlacements:O,beforeMain:Xe,beforeRead:p,beforeWrite:Ve,bottom:k,clippingParents:Fe,computeStyles:yt,createPopper:Xt,createPopperBase:$t(),createPopperLite:$t({defaultModifiers:[_t,Ft,yt,Ze]}),detectOverflow:Pt,end:Be,eventListeners:_t,flip:zt,hide:jt,left:A,main:"main",modifierPhases:Qe,offset:Bt,placements:Ye,popper:He,popperGenerator:$t,popperOffsets:Ft,preventOverflow:Nt,read:"read",reference:We,right:I,start:L,top:M,variationPlacements:qe,viewport:Ne,write:"write"},Symbol.toStringTag,{value:"Module"})),Vt="dropdown";Ge=".bs.dropdown",$e=".data-api";const Ut="ArrowDown";Ue="click"+Ge+$e,ft="keydown"+Ge+$e;const Qt="show",T='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Kt=(T,".dropdown-menu"),Zt=l()?"top-end":"top-start",Jt=l()?"top-start":"top-end",ei=l()?"bottom-end":"bottom-start",ti=l()?"bottom-start":"bottom-end",ii=l()?"left-start":"right-start",ni=l()?"right-start":"left-start",ri={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},si={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class S extends t{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=u.next(this._element,Kt)[0]||u.prev(this._element,Kt)[0]||u.findOne(Kt,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return ri}static get DefaultType(){return si}static get NAME(){return Vt}toggle(){return this._isShown()?this.hide():this.show()}show(){if(!o(this._element)&&!this._isShown()){var e={relatedTarget:this._element},t=m.trigger(this._element,"show.bs.dropdown",e);if(!t.defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const i of[].concat(...document.body.children))m.on(i,"mouseover",W);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Qt),this._element.classList.add(Qt),m.trigger(this._element,"shown.bs.dropdown",e)}}}hide(){var e;!o(this._element)&&this._isShown()&&(e={relatedTarget:this._element},this._completeHide(e))}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){var t=m.trigger(this._element,"hide.bs.dropdown",e);if(!t.defaultPrevented){if("ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))m.off(i,"mouseover",W);this._popper&&this._popper.destroy(),this._menu.classList.remove(Qt),this._element.classList.remove(Qt),this._element.setAttribute("aria-expanded","false"),d.removeDataAttribute(this._menu,"popper"),m.trigger(this._element,"hidden.bs.dropdown",e)}}_getConfig(e){if("object"!=typeof(e=super._getConfig(e)).reference||s(e.reference)||"function"==typeof e.reference.getBoundingClientRect)return e;throw new TypeError(Vt.toUpperCase()+': Option "reference" provided type "object" without a required "getBoundingClientRect" method.')}_createPopper(){if(void 0===Gt)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=this._parent:s(this._config.reference)?e=r(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);var t=this._getPopperConfig();this._popper=Xt(e,this._menu,t)}_isShown(){return this._menu.classList.contains(Qt)}_getPlacement(){var e,t=this._parent;return t.classList.contains("dropend")?ii:t.classList.contains("dropstart")?ni:t.classList.contains("dropup-center")?"top":t.classList.contains("dropdown-center")?"bottom":(e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim(),t.classList.contains("dropup")?e?Jt:Zt:e?ti:ei)}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const t=this._config["offset"];return"string"==typeof t?t.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){var e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return!this._inNavbar&&"static"!==this._config.display||(d.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...c(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){var i=u.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(e=>a(e));i.length&&G(i,t,e===Ut,!i.includes(t)).focus()}static jQueryInterface(t){return this.each(function(){var e=S.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}static clearMenus(e){if(2!==e.button&&("keyup"!==e.type||"Tab"===e.key))for(const r of u.find('[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled).show')){var t,i,n=S.getInstance(r);n&&!1!==n._config.autoClose&&(t=(i=e.composedPath()).includes(n._menu),i.includes(n._element)||"inside"===n._config.autoClose&&!t||"outside"===n._config.autoClose&&t||n._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName))||(i={relatedTarget:n._element},"click"===e.type&&(i.clickEvent=e),n._completeHide(i)))}}static dataApiKeydownHandler(e){var t=/input|textarea/i.test(e.target.tagName),i="Escape"===e.key,n=["ArrowUp",Ut].includes(e.key);!n&&!i||t&&!i||(e.preventDefault(),t=this.matches(T)?this:u.prev(this,T)[0]||u.next(this,T)[0]||u.findOne(T,e.delegateTarget.parentNode),i=S.getOrCreateInstance(t),n?(e.stopPropagation(),i.show(),i._selectMenuItem(e)):i._isShown()&&(e.stopPropagation(),i.hide(),t.focus()))}}m.on(document,ft,T,S.dataApiKeydownHandler),m.on(document,ft,Kt,S.dataApiKeydownHandler),m.on(document,Ue,S.clearMenus),m.on(document,"keyup.bs.dropdown.data-api",S.clearMenus),m.on(document,Ue,T,function(e){e.preventDefault(),S.getOrCreateInstance(this).toggle()}),e(S);const ai="backdrop",oi="mousedown.bs."+ai,li={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},ci={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class di extends ue{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return li}static get DefaultType(){return ci}static get NAME(){return ai}show(e){var t;this._config.isVisible?(this._append(),t=this._getElement(),this._config.isAnimated&&q(t),t.classList.add("show"),this._emulateAnimation(()=>{c(e)})):c(e)}hide(e){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),c(e)})):c(e)}dispose(){this._isAppended&&(m.off(this._element,oi),this._element.remove(),this._isAppended=!1)}_getElement(){var e;return this._element||((e=document.createElement("div")).className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e),this._element}_configAfterMerge(e){return e.rootElement=r(e.rootElement),e}_append(){var e;this._isAppended||(e=this._getElement(),this._config.rootElement.append(e),m.on(e,oi,()=>{c(this._config.clickCallback)}),this._isAppended=!0)}_emulateAnimation(e){X(e,this._getElement(),this._config.isAnimated)}}const ui=".bs.focustrap",pi=(ui,ui,"backward"),hi={autofocus:!0,trapElement:null},fi={autofocus:"boolean",trapElement:"element"};class mi extends ue{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return hi}static get DefaultType(){return fi}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),m.off(document,ui),m.on(document,"focusin.bs.focustrap",e=>this._handleFocusin(e)),m.on(document,"keydown.tab.bs.focustrap",e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,m.off(document,ui))}_handleFocusin(e){var t=this._config["trapElement"];e.target===document||e.target===t||t.contains(e.target)||(0===(e=u.focusableChildren(t)).length?t:this._lastTabNavDirection===pi?e[e.length-1]:e[0]).focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?pi:"forward")}}const gi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",vi=".sticky-top",yi="padding-right",bi="margin-right";class _i{constructor(){this._element=document.body}getWidth(){var e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,yi,e=>e+t),this._setElementAttributes(gi,yi,e=>e+t),this._setElementAttributes(vi,bi,e=>e-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,yi),this._resetElementAttributes(gi,yi),this._resetElementAttributes(vi,bi)}isOverflowing(){return 0<this.getWidth()}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,i,n){const r=this.getWidth();this._applyManipulationCallback(e,e=>{var t;e!==this._element&&window.innerWidth>e.clientWidth+r||(this._saveInitialAttribute(e,i),t=window.getComputedStyle(e).getPropertyValue(i),e.style.setProperty(i,n(Number.parseFloat(t))+"px"))})}_saveInitialAttribute(e,t){var i=e.style.getPropertyValue(t);i&&d.setDataAttribute(e,t,i)}_resetElementAttributes(e,i){this._applyManipulationCallback(e,e=>{var t=d.getDataAttribute(e,i);null===t?e.style.removeProperty(i):(d.removeDataAttribute(e,i),e.style.setProperty(i,t))})}_applyManipulationCallback(e,t){if(s(e))t(e);else for(const i of u.find(e,this._element))t(i)}}const E=".bs.modal";E,E;const wi="hidden"+E,xi="show"+E;E,E,E,E,E;E;const Ti="modal-open",Si="modal-static";const Ei={backdrop:!0,focus:!0,keyboard:!0},Ci={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Mi extends t{constructor(e,t){super(e,t),this._dialog=u.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new _i,this._addEventListeners()}static get Default(){return Ei}static get DefaultType(){return Ci}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||m.trigger(this._element,xi,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Ti),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||m.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove("show"),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){m.off(window,E),m.off(this._dialog,E),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new di({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new mi({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;var t=u.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),q(this._element),this._element.classList.add("show");this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,m.trigger(this._element,"shown.bs.modal",{relatedTarget:e})},this._dialog,this._isAnimated())}_addEventListeners(){m.on(this._element,"keydown.dismiss.bs.modal",e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),m.on(window,"resize.bs.modal",()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),m.on(this._element,"mousedown.dismiss.bs.modal",t=>{m.one(this._element,"click.dismiss.bs.modal",e=>{this._element===t.target&&this._element===e.target&&("static"===this._config.backdrop?this._triggerBackdropTransition():this._config.backdrop&&this.hide())})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Ti),this._resetAdjustments(),this._scrollBar.reset(),m.trigger(this._element,wi)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){var e=m.trigger(this._element,"hidePrevented.bs.modal");if(!e.defaultPrevented){e=this._element.scrollHeight>document.documentElement.clientHeight;const t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(Si)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(Si),this._queueCallback(()=>{this._element.classList.remove(Si),this._queueCallback(()=>{this._element.style.overflowY=t},this._dialog)},this._dialog),this._element.focus())}}_adjustDialog(){var e,t=this._element.scrollHeight>document.documentElement.clientHeight,i=this._scrollBar.getWidth(),n=0<i;n&&!t&&(e=l()?"paddingLeft":"paddingRight",this._element.style[e]=i+"px"),!n&&t&&(e=l()?"paddingRight":"paddingLeft",this._element.style[e]=i+"px")}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,i){return this.each(function(){var e=Mi.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](i)}})}}m.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(e){const t=u.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),m.one(t,xi,e=>{e.defaultPrevented||m.one(t,wi,()=>{a(this)&&this.focus()})});e=u.findOne(".modal.show");e&&Mi.getInstance(e).hide(),Mi.getOrCreateInstance(t).toggle(this)}),he(Mi),e(Mi);Xe=".bs.offcanvas";const ki="showing",Ii=".offcanvas.show",Ai="hidePrevented"+Xe,Oi="hidden"+Xe;const Li={backdrop:!0,keyboard:!0,scroll:!1},Pi={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class z extends t{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Li}static get DefaultType(){return Pi}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||m.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new _i).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(ki),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove(ki),m.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})},this._element,!0))}hide(){this._isShown&&!m.trigger(this._element,"hide.bs.offcanvas").defaultPrevented&&(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add("hiding"),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove("show","hiding"),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new _i).reset(),m.trigger(this._element,Oi)},this._element,!0))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){var e=Boolean(this._config.backdrop);return new di({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"===this._config.backdrop?m.trigger(this._element,Ai):this.hide()}:null})}_initializeFocusTrap(){return new mi({trapElement:this._element})}_addEventListeners(){m.on(this._element,"keydown.dismiss.bs.offcanvas",e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():m.trigger(this._element,Ai))})}static jQueryInterface(t){return this.each(function(){var e=z.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}})}}m.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(e){var t=u.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),o(this)||(m.one(t,Oi,()=>{a(this)&&this.focus()}),(e=u.findOne(Ii))&&e!==t&&z.getInstance(e).hide(),z.getOrCreateInstance(t).toggle(this))}),m.on(window,"load.bs.offcanvas.data-api",()=>{for(const e of u.find(Ii))z.getOrCreateInstance(e).show()}),m.on(window,"resize.bs.offcanvas",()=>{for(const e of u.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&z.getOrCreateInstance(e).hide()}),he(z),e(z);p={"*":["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:[]};const zi=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Di=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i;function Ri(e,t,i){if(!e.length)return e;if(i&&"function"==typeof i)return i(e);i=(new window.DOMParser).parseFromString(e,"text/html");for(const a of[].concat(...i.body.querySelectorAll("*"))){var n=a.nodeName.toLowerCase();if(Object.keys(t).includes(n)){var r=[].concat(...a.attributes),s=[].concat(t["*"]||[],t[n]||[]);for(const o of r)((e,t)=>{const i=e.nodeName.toLowerCase();return t.includes(i)?!zi.has(i)||Boolean(Di.test(e.nodeValue)):t.filter(e=>e instanceof RegExp).some(e=>e.test(i))})(o,s)||a.removeAttribute(o.nodeName)}else a.remove()}return i.body.innerHTML}const ji={allowList:p,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Bi={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Fi={entry:"(string|element|function|null)",selector:"(string|element)"};class Ni extends ue{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return ji}static get DefaultType(){return Bi}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return 0<this.getContent().length}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){var e,t,i=document.createElement("div");i.innerHTML=this._maybeSanitize(this._config.template);for([e,t]of Object.entries(this._config.content))this._setContent(i,t,e);var n=i.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&n.classList.add(...r.split(" ")),n}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(var[t,i]of Object.entries(e))super._typeCheckConfig({selector:t,entry:i},Fi)}_setContent(e,t,i){i=u.findOne(i,e);i&&((t=this._resolvePossibleFunction(t))?s(t)?this._putElementInTemplate(r(t),i):this._config.html?i.innerHTML=this._maybeSanitize(t):i.textContent=t:i.remove())}_maybeSanitize(e){return this._config.sanitize?Ri(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return c(e,[this])}_putElementInTemplate(e,t){this._config.html?(t.innerHTML="",t.append(e)):t.textContent=e.textContent}}const Hi=new Set(["sanitize","allowList","sanitizeFn"]),Wi="fade";const qi="show",Yi="hide.bs.modal",$i="hover",Xi="focus",Gi={AUTO:"auto",TOP:"top",RIGHT:l()?"left":"right",BOTTOM:"bottom",LEFT:l()?"right":"left"},Vi={allowList:p,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},Ui={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Qi extends t{constructor(e,t){if(void 0===Gt)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Vi}static get DefaultType(){return Ui}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),m.off(this._element.closest(".modal"),Yi,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(this._isWithContent()&&this._isEnabled){var e=m.trigger(this._element,this.constructor.eventName("show")),t=(H(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(!e.defaultPrevented&&t){this._disposePopper();e=this._getTipElement(),t=(this._element.setAttribute("aria-describedby",e.getAttribute("id")),this._config)["container"];if(this._element.ownerDocument.documentElement.contains(this.tip)||(t.append(e),m.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(e),e.classList.add(qi),"ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))m.on(i,"mouseover",W);this._queueCallback(()=>{m.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}}}hide(){if(this._isShown()){var e=m.trigger(this._element,this.constructor.eventName("hide"));if(!e.defaultPrevented){if(this._getTipElement().classList.remove(qi),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))m.off(t,"mouseover",W);this._activeTrigger.click=!1,this._activeTrigger[Xi]=!1,this._activeTrigger[$i]=!1,this._isHovered=null;this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),m.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){e=this._getTemplateFactory(e).toHtml();if(!e)return null;e.classList.remove(Wi,qi),e.classList.add(`bs-${this.constructor.NAME}-auto`);var t=(e=>{for(;e+=Math.floor(1e6*Math.random()),document.getElementById(e););return e})(this.constructor.NAME).toString();return e.setAttribute("id",t),this._isAnimated()&&e.classList.add(Wi),e}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Ni({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Wi)}_isShown(){return this.tip&&this.tip.classList.contains(qi)}_createPopper(e){var t=c(this._config.placement,[this,e,this._element]),t=Gi[t.toUpperCase()];return Xt(this._element,e,this._getPopperConfig(t))}_getOffset(){const t=this._config["offset"];return"string"==typeof t?t.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(e){return c(e,[this._element])}_getPopperConfig(e){e={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...e,...c(this._config.popperConfig,[e])}}_setListeners(){var e,t;for(const i of this._config.trigger.split(" "))"click"===i?m.on(this._element,this.constructor.eventName("click"),this._config.selector,e=>{this._initializeOnDelegatedTarget(e).toggle()}):"manual"!==i&&(e=i===$i?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),t=i===$i?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout"),m.on(this._element,e,this._config.selector,e=>{var t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?Xi:$i]=!0,t._enter()}),m.on(this._element,t,this._config.selector,e=>{var t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?Xi:$i]=t._element.contains(e.relatedTarget),t._leave()}));this._hideModalHandler=()=>{this._element&&this.hide()},m.on(this._element.closest(".modal"),Yi,this._hideModalHandler)}_fixTitle(){var e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){var t=d.getDataAttributes(this._element);for(const i of Object.keys(t))Hi.has(i)&&delete t[i];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:r(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){var e,t,i={};for([e,t]of Object.entries(this._config))this.constructor.Default[e]!==t&&(i[e]=t);return i.selector=!1,i.trigger="manual",i}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){var e=Qi.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}e(Qi);const Ki={...Qi.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},Zi={...Qi.DefaultType,content:"(null|string|element|function)"};class Ji extends Qi{static get Default(){return Ki}static get DefaultType(){return Zi}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){var e=Ji.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}e(Ji);Ve=".bs.scrollspy";const en="click"+Ve;const tn="active",nn="[href]";const rn={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},sn={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class an extends t{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return rn}static get DefaultType(){return sn}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=r(e.target)||document.body,e.rootMargin=e.offset?e.offset+"px 0px -30%":e.rootMargin,"string"==typeof e.threshold&&(e.threshold=e.threshold.split(",").map(e=>Number.parseFloat(e))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(m.off(this._config.target,en),m.on(this._config.target,en,nn,e=>{var t=this._observableSections.get(e.target.hash);t&&(e.preventDefault(),e=this._rootElement||window,t=t.offsetTop-this._element.offsetTop,e.scrollTo?e.scrollTo({top:t,behavior:"smooth"}):e.scrollTop=t)}))}_getNewObserver(){var e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(e=>this._observerCallback(e),e)}_observerCallback(e){const t=e=>this._targetLinks.get("#"+e.target.id);var i=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},n=(this._rootElement||document.documentElement).scrollTop,r=n>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=n;for(const a of e)if(a.isIntersecting){var s=a.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(r&&s){if(i(a),n)continue;return}r||s||i(a)}else this._activeTarget=null,this._clearActiveClass(t(a))}_initializeTargetsAndObservables(){var e;this._targetLinks=new Map,this._observableSections=new Map;for(const t of u.find(nn,this._config.target))t.hash&&!o(t)&&(e=u.findOne(decodeURI(t.hash),this._element),a(e))&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,e))}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),(this._activeTarget=e).classList.add(tn),this._activateParents(e),m.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))u.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(tn);else for(const t of u.parents(e,".nav, .list-group"))for(const i of u.prev(t,".nav-link, .nav-item > .nav-link, .list-group-item"))i.classList.add(tn)}_clearActiveClass(e){e.classList.remove(tn);for(const t of u.find(nn+"."+tn,e))t.classList.remove(tn)}static jQueryInterface(t){return this.each(function(){var e=an.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}})}}m.on(window,"load.bs.scrollspy.data-api",()=>{for(const e of u.find('[data-bs-spy="scroll"]'))an.getOrCreateInstance(e)}),e(an);const on="ArrowRight",ln="ArrowDown",cn="Home",D="active",dn="show",un=".dropdown-toggle";un;yt='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]';const pn='.nav-link:not(.dropdown-toggle), .list-group-item:not(.dropdown-toggle), [role="tab"]:not(.dropdown-toggle), '+yt;D,D,D;class hn extends t{constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),m.on(this._element,"keydown.bs.tab",e=>this._keydown(e)))}static get NAME(){return"tab"}show(){var e,t,i=this._element;this._elemIsActive(i)||(t=(e=this._getActiveElem())?m.trigger(e,"hide.bs.tab",{relatedTarget:i}):null,m.trigger(i,"show.bs.tab",{relatedTarget:e}).defaultPrevented)||t&&t.defaultPrevented||(this._deactivate(e,i),this._activate(i,e))}_activate(e,t){e&&(e.classList.add(D),this._activate(u.getElementFromSelector(e)),this._queueCallback(()=>{"tab"!==e.getAttribute("role")?e.classList.add(dn):(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),m.trigger(e,"shown.bs.tab",{relatedTarget:t}))},e,e.classList.contains("fade")))}_deactivate(e,t){e&&(e.classList.remove(D),e.blur(),this._deactivate(u.getElementFromSelector(e)),this._queueCallback(()=>{"tab"!==e.getAttribute("role")?e.classList.remove(dn):(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),m.trigger(e,"hidden.bs.tab",{relatedTarget:t}))},e,e.classList.contains("fade")))}_keydown(t){if(["ArrowLeft",on,"ArrowUp",ln,cn,"End"].includes(t.key)){t.stopPropagation(),t.preventDefault();var i,n=this._getChildren().filter(e=>!o(e));let e;(e=[cn,"End"].includes(t.key)?n[t.key===cn?0:n.length-1]:(i=[on,ln].includes(t.key),G(n,t.target,i,!0)))&&(e.focus({preventScroll:!0}),hn.getOrCreateInstance(e).show())}}_getChildren(){return u.find(pn,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const i of t)this._setInitialAttributesOnChild(i)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);var t=this._elemIsActive(e),i=this._getOuterElement(e);e.setAttribute("aria-selected",t),i!==e&&this._setAttributeIfNotExists(i,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){var t=u.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id)&&this._setAttributeIfNotExists(t,"aria-labelledby",""+e.id)}_toggleDropDown(e,i){const n=this._getOuterElement(e);n.classList.contains("dropdown")&&((e=(e,t)=>{e=u.findOne(e,n);e&&e.classList.toggle(t,i)})(un,D),e(".dropdown-menu",dn),n.setAttribute("aria-expanded",i))}_setAttributeIfNotExists(e,t,i){e.hasAttribute(t)||e.setAttribute(t,i)}_elemIsActive(e){return e.classList.contains(D)}_getInnerElement(e){return e.matches(pn)?e:u.findOne(pn,e)}_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(t){return this.each(function(){var e=hn.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}})}}m.on(document,"click.bs.tab",yt,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),o(this)||hn.getOrCreateInstance(this).show()}),m.on(window,"load.bs.tab",()=>{for(const e of u.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))hn.getOrCreateInstance(e)}),e(hn);const fn="show",mn="showing",gn={animation:"boolean",autohide:"boolean",delay:"number"},vn={animation:!0,autohide:!0,delay:5e3};class yn extends t{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return vn}static get DefaultType(){return gn}static get NAME(){return"toast"}show(){m.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),q(this._element),this._element.classList.add(fn,mn),this._queueCallback(()=>{this._element.classList.remove(mn),m.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&!m.trigger(this._element,"hide.bs.toast").defaultPrevented&&(this._element.classList.add(mn),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(mn,fn),m.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(fn),super.dispose()}isShown(){return this._element.classList.contains(fn)}_maybeScheduleHide(){!this._config.autohide||this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}t?this._clearTimeout():(e=e.relatedTarget,this._element===e||this._element.contains(e)||this._maybeScheduleHide())}_setListeners(){m.on(this._element,"mouseover.bs.toast",e=>this._onInteraction(e,!0)),m.on(this._element,"mouseout.bs.toast",e=>this._onInteraction(e,!1)),m.on(this._element,"focusin.bs.toast",e=>this._onInteraction(e,!0)),m.on(this._element,"focusout.bs.toast",e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){var e=yn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}})}}return he(yn),e(yn),{Alert:fe,Button:ge,Carousel:Ae,Collapse:Re,Dropdown:S,Modal:Mi,Offcanvas:z,Popover:Ji,ScrollSpy:an,Tab:hn,Toast:yn,Tooltip:Qi}}),
/*!
GSAP
Version: 3.12.4
Plugin URL: https://gsap.com
License: Copyright 2024, GreenSock. All rights reserved. | Subject to the terms at https://gsap.com/standard-license or for Club GreenSock members, the agreement issued with that membership. | author: Jack Doyle, jack@greensock.com
!*/
function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function i(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}function K(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z(e){return!1!==e}function s(){return"undefined"!=typeof window}function Z(e){return u(e)||W(e)}function n(e){return(bt=J(e,a))&&f}function o(e,t){return e&&(a[e]=t)&&bt&&(bt[e]=t)||a}function g(){return 0}function h(e,t){return(e=e.split(",")).forEach(t)||e}function v(e,t,i,n){Ct.length&&!j&&Rt(),e.render(t,i,n||j&&t<0&&(e._initted||e._startAt)),Ct.length&&!j&&Rt()}function y(e){var t=parseFloat(e);return(t||0===t)&&(e+"").match(vt).length<2?t:W(e)?e.trim():e}function b(e){return e}function D(e,t){for(var i in t)i in e||(e[i]=t[i]);return e}function J(e,t){for(var i in t)e[i]=t[i];return e}function _(e,t){for(var i in t)"__proto__"!==i&&"constructor"!==i&&"prototype"!==i&&(e[i]=k(t[i])?_(e[i]||(e[i]={}),t[i]):t[i]);return e}function ee(e,t){var i,n={};for(i in e)i in t||(n[i]=e[i]);return n}function te(e){var n,t=e.parent||B,i=e.keyframes?(n=I(e.keyframes),function(e,t){for(var i in t)i in e||"duration"===i&&n||"ease"===i||(e[i]=t[i])}):D;if(z(e.inherit))for(;t;)i(e,t.vars.defaults),t=t.parent||t._dp;return e}function w(e,t,i,n,r){void 0===i&&(i="_first");var s,a=e[n=void 0===n?"_last":n];if(r)for(s=t[r];a&&a[r]>s;)a=a._prev;a?(t._next=a._next,a._next=t):(t._next=e[i],e[i]=t),t._next?t._next._prev=t:e[n]=t,t._prev=a,t.parent=t._dp=e}function x(e,t,i,n){void 0===i&&(i="_first"),void 0===n&&(n="_last");var r=t._prev,s=t._next;r?r._next=s:e[i]===t&&(e[i]=s),s?s._prev=r:e[n]===t&&(e[n]=r),t._next=t._prev=t.parent=null}function ie(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0}function T(e,t,i,n){e._startAt&&(j?e._startAt.revert(Tt):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,n))}function ne(e){return!e||e._ts&&ne(e.parent)}function S(e){return e._repeat?E(e._tTime,e=e.duration()+e._rDelay)*e:0}function E(e,t){return t=Math.floor(e/=t),e&&t===e?t-1:t}function C(e,t){return(e-t._start)*t._ts+(0<=t._ts?0:t._dirty?t.totalDuration():t._tDur)}function re(e,t){var i;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(i=C(e.rawTime(),t),!t._dur||pe(0,t.totalDuration(),i)-t._tTime>H)&&t.render(i,!0),jt(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(i=e;i._dp;)0<=i.rawTime()&&i.totalTime(i._tTime),i=i._dp;e._zTime=-H}}function M(e,t,i,n){return t.parent&&ie(t),t._start=A((ct(i)?i:i||e!==B?c(e,i,t):e._time)+t._delay),t._end=A(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),w(e,t,"_first","_last",e._sort?"_start":0),le(t)||(e._recent=t),n||re(e,t),e._ts<0&&Ft(e,e._tTime),e}function se(e,t){(a.ScrollTrigger||_t("scrollTrigger",t))&&a.ScrollTrigger.create(t,e)}function ae(e,t,i,n,r){return bi(e,t,r),e._initted?!i&&e._pt&&!j&&(e._dur&&!1!==e.vars.lazy||!e._dur&&e.vars.lazy)&&je!==m.frame?(Ct.push(e),e._lazy=[r,n]):void 0:1}function oe(e){return(e=e.parent)&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||oe(e))}function le(e){return"isFromStart"===(e=e.data)||"isStart"===e}function ce(e,t,i,n){var r=e._repeat,t=A(t)||0,s=e._tTime/e._tDur;return s&&!n&&(e._time*=t/e._dur),e._dur=t,e._tDur=r?r<0?1e10:A(t*(r+1)+e._rDelay*r):t,0<s&&!n&&Ft(e,e._tTime=e._tDur*s),e.parent&&Bt(e),i||jt(e.parent,e),e}function de(e){return e instanceof P?jt(e):ce(e,e._dur)}function c(e,t,i){var n,r,s,a=e.labels,o=e._recent||Nt,l=e.duration()>=N?o.endTime(!1):e._dur;return W(t)&&(isNaN(t)||t in a)?(r=t.charAt(0),s="%"===t.substr(-1),n=t.indexOf("="),"<"===r||">"===r?(0<=n&&(t=t.replace(/=/,"")),("<"===r?o._start:o.endTime(0<=o._repeat))+(parseFloat(t.substr(1))||0)*(s?(n<0?o:i).totalDuration()/100:1)):n<0?(t in a||(a[t]=l),a[t]):(r=parseFloat(t.charAt(n-1)+t.substr(n+1)),s&&i&&(r=r/100*(I(i)?i[0]:i).totalDuration()),1<n?c(e,t.substr(0,n-1),i)+r:l+r)):null==t?l:+t}function ue(e,t,i){var n,r,s=ct(t[1]),a=(s?2:1)+(e<2?0:1),o=t[a];if(s&&(o.duration=t[1]),o.parent=i,e){for(n=o,r=i;r&&!("immediateRender"in n);)n=r.vars.defaults||{},r=z(r.vars.inherit)&&r.parent;o.immediateRender=z(n.immediateRender),e<2?o.runBackwards=1:o.startAt=t[a-1]}return new X(t[0],o,t[1+a])}function pe(e,t,i){return i<e?e:t<i?t:i}function he(i){return i=O(i)[0]||wt("Invalid scope")||{},function(e){var t=i.current||i.nativeElement||i;return O(e,t.querySelectorAll?t:t===i?wt("Invalid scope")||De.createElement("div"):i)}}function fe(e){var h,f,m,g,v,y,b,_,w;return u(e)?e:(h=k(e)?e:{each:e},f=ri(h.ease),m=h.from||0,g=parseFloat(h.base)||0,v={},e=0<m&&m<1,y=isNaN(m)||e,b=h.axis,W(w=_=m)?_=w={center:.5,edges:.5,end:1}[m]||0:!e&&y&&(_=m[0],w=m[1]),function(e,t,i){var n,r,s,a,o,l,c,d,u=(i||h).length,p=v[u];if(!p){if(!(d="auto"===h.grid?0:(h.grid||[1,N])[1])){for(l=-N;l<(l=i[d++].getBoundingClientRect().left)&&d<u;);d<u&&d--}for(p=v[u]=[],n=y?Math.min(d,u)*_-.5:m%d,r=d===N?0:y?u*w/d-.5:m/d|0,c=N,o=l=0;o<u;o++)a=o%d-n,s=r-(o/d|0),p[o]=a=b?Math.abs("y"===b?s:a):at(a*a+s*s),l<a&&(l=a),a<c&&(c=a);"random"===m&&Yt(p),p.max=l-c,p.min=c,p.v=u=(parseFloat(h.amount)||parseFloat(h.each)*(u<d?u-1:b?"y"===b?u/d:d:Math.max(d,u/d))||0)*("edges"===m?-1:1),p.b=u<0?g-u:g,p.u=$(h.amount||h.each)||0,f=f&&u<0?ni(f):f}return u=(p[e]-p.min)/p.max||0,A(p.b+(f?f(u):u)*p.v)+p.u})}function me(i){var n=Math.pow(10,((i+"").split(".")[1]||"").length);return function(e){var t=A(Math.round(parseFloat(e)/i)*i*n);return(t-t%1)/n+(ct(e)?0:$(e))}}function ge(l,e){var c,d,t=I(l);return!t&&k(l)&&(c=t=l.radius||N,l.values?(l=O(l.values),(d=!ct(l[0]))&&(c*=c)):l=me(l.increment)),Ht(e,t?u(l)?function(e){return d=l(e),Math.abs(d-e)<=c?d:e}:function(e){for(var t,i,n=parseFloat(d?e.x:e),r=parseFloat(d?e.y:0),s=N,a=0,o=l.length;o--;)(t=d?(t=l[o].x-n)*t+(i=l[o].y-r)*i:Math.abs(l[o]-n))<s&&(s=t,a=o);return a=!c||s<=c?l[a]:e,d||a===e||ct(e)?a:a+$(e)}:me(l))}function ve(t,i,e){return Ht(e,function(e){return t[~~i(e)]})}function ye(t,e,i){var n=e-t;return I(t)?ve(t,ye(0,t.length),e):Ht(i,function(e){return(n+(e-t)%n)%n+t})}function be(t,e,i){var n=e-t,r=2*n;return I(t)?ve(t,be(0,t.length-1),e):Ht(i,function(e){return t+(n<(e=(r+(e-t)%r)%r||0)?r-e:e)})}function _e(t,e,i,n,r){var s=e-t,a=n-i;return Ht(r,function(e){return i+((e-t)/s*a||0)})}function we(t,i,e,n){var r=isNaN(t+i)?0:function(e){return(1-e)*t+e*i};if(!r){var s,a,o,l,c,d=W(t),u={};if(!0===e&&(n=1,e=null),d)t={p:t},i={p:i};else if(I(t)&&!I(i)){for(o=[],l=t.length,c=l-2,a=1;a<l;a++)o.push(we(t[a-1],t[a]));l--,r=function(e){e*=l;var t=Math.min(c,~~e);return o[t](e-t)},e=i}else n||(t=J(I(t)?[]:{},t));if(!o){for(s in i)vi.call(u,t,s,"get",i[s]);r=function(e){return Oi(e,u)||(d?t.p:t)}}}return Ht(e,r)}function xe(e,t,i){var n,r,s,a=e.labels,o=N;for(n in a)(r=a[n]-t)<0==!!i&&r&&o>(r=Math.abs(r))&&(s=n,o=r);return s}function R(e,t,i){var n=e.vars,r=n[t],s=l,a=e._ctx;if(r)return t=n[t+"Params"],n=n.callbackScope||e,i&&Ct.length&&Rt(),a&&(l=a),e=t?r.apply(n,t):r.call(n),l=s,e}function Te(e){return ie(e),e.scrollTrigger&&e.scrollTrigger.kill(!!j),e.progress()<1&&R(e,"onInterrupt"),e}function Se(e){if(s()&&e){var t=(e=!e.name&&e.default||e).name,i=u(e),i=t&&!i&&e.init?function(){this._props=[]}:e,n={init:g,render:Oi,add:vi,kill:Pi,modifier:Li,rawVars:0},r={targetTest:0,get:0,getSetter:Mi,aliases:{},register:0};if(Jt(),e!==i){if(q[t])return;D(i,D(ee(e,n),r)),J(i.prototype,J(n,ee(e,r))),q[i.prop=t]=i,e.targetTest&&(At.push(i),Et[t]=1),t=("css"===t?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}o(t,i),e.register&&e.register(f,i,G)}else e&&Gt.push(e)}function Ee(e,t,i){return(6*(e+=e<0?1:1<e?-1:0)<1?t+(i-t)*e*6:e<.5?i:3*e<2?t+(i-t)*(2/3-e)*6:t)*p+.5|0}function Ce(e,t,i){var n,r,s,a,o="",l=(e+o).match(Kt),c=t?"hsla(":"rgba(",d=0;if(!l)return e;if(l=l.map(function(e){return(e=Ut(e,t,1))&&c+(t?e[0]+","+e[1]+"%,"+e[2]+"%,"+e[3]:e.join(","))+")"}),i&&(s=Qt(e),(n=i.c).join(o)!==s.c.join(o)))for(a=(r=e.replace(Kt,"1").split(ft)).length-1;d<a;d++)o+=r[d]+(~n.indexOf(d)?l.shift()||c+"0,0,0,0)":(s.length?s:l.length?l:i).shift());if(!r)for(a=(r=e.split(Kt)).length-1;d<a;d++)o+=r[d]+l[d];return o+r[a]}function Me(e){var t=e.join(" ");if(Kt.lastIndex=0,Kt.test(t))return t=Zt.test(t),e[1]=Ce(e[1],t),e[0]=Ce(e[0],t,Qt(e[1])),!0}function ke(e,t){for(var i,n=e._first;n;)n instanceof P?ke(n,t):!n.vars.yoyoEase||n._yoyo&&n._repeat||n._yoyo===t||(n.timeline?ke(n.timeline,t):(i=n._ease,n._ease=n._yEase,n._yEase=i,n._yoyo=t)),n=n._next}function Ie(e,t,i,n){var r,s={easeIn:t,easeOut:i=void 0===i?function(e){return 1-t(1-e)}:i,easeInOut:n=void 0===n?function(e){return e<.5?t(2*e)/2:1-t(2*(1-e))/2}:n};h(e,function(e){for(var t in L[e]=a[e]=s,L[r=e.toLowerCase()]=i,s)L[r+("easeIn"===t?".in":"easeOut"===t?".out":".inOut")]=L[e+"."+t]=s[t]})}function Ae(t){return function(e){return e<.5?(1-t(1-2*e))/2:.5+t(2*(e-.5))/2}}function Oe(i,e,t){function n(e){return 1===e?1:r*Math.pow(2,-10*e)*lt((e-s)*a)+1}var r=1<=e?e:1,s=(a=(t||(i?.3:.45))/(e<1?e:1))/nt*(Math.asin(1/r)||0),t="out"===i?n:"in"===i?function(e){return 1-n(1-e)}:Ae(n),a=nt/a;return t.config=function(e,t){return Oe(i,e,t)},t}function Le(t,i){function n(e){return e?--e*e*((i+1)*e+i)+1:0}void 0===i&&(i=1.70158);var e="out"===t?n:"in"===t?function(e){return 1-n(1-e)}:Ae(n);return e.config=function(e){return Le(t,e)},e}var Pe,j,l,B,d,ze,De,Re,je,Be,Fe,Ne,He,We,qe,Ye,$e,Xe,Ge,Ve,Ue,Qe,Ke,Ze,Je,et,tt,F={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},it={duration:.5,overwrite:!1,delay:0},N=1e8,H=1/N,nt=2*Math.PI,rt=nt/4,st=0,at=Math.sqrt,ot=Math.cos,lt=Math.sin,W=function(e){return"string"==typeof e},u=function(e){return"function"==typeof e},ct=function(e){return"number"==typeof e},dt=function(e){return void 0===e},k=function(e){return"object"==typeof e},ut="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},I=Array.isArray,pt=/(?:-?\.?\d|\.)+/gi,ht=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ft=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,mt=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,gt=/[+-]=-?[.\d]+/,vt=/[^,'"\[\]\s]+/gi,yt=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,a={},bt={},_t=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},wt=function(e,t){return!t&&console.warn(e)},xt={suppressEvents:!0,isStart:!0,kill:!1},Tt={suppressEvents:!0,kill:!1},St={suppressEvents:!0},Et={},Ct=[],Mt={},q={},kt={},It=30,At=[],Ot="",Lt=function(e){var t,i,n=e[0];if(k(n)||u(n)||(e=[e]),!(t=(n._gsap||{}).harness)){for(i=At.length;i--&&!At[i].targetTest(n););t=At[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new oi(e[i],t)))||e.splice(i,1);return e},Pt=function(e){return e._gsap||Lt(O(e))[0]._gsap},zt=function(e,t,i){return(i=e[t])&&u(i)?e[t]():dt(i)&&e.getAttribute&&e.getAttribute(t)||i},Y=function(e){return Math.round(1e5*e)/1e5||0},A=function(e){return Math.round(1e7*e)/1e7||0},Dt=function(e,t){var i=t.charAt(0),t=parseFloat(t.substr(2));return e=parseFloat(e),"+"===i?e+t:"-"===i?e-t:"*"===i?e*t:e/t},Rt=function(){var e,t,i=Ct.length,n=Ct.slice(0);for(Mt={},e=Ct.length=0;e<i;e++)(t=n[e])&&t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0)._lazy=0)},jt=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var i=e;i;)i._dirty=1,i=i.parent;return e},Bt=function(e){return e._end=A(e._start+(e._tDur/Math.abs(e._ts||e._rts||H)||0))},Ft=function(e,t){var i=e._dp;return i&&i.smoothChildTiming&&e._ts&&(e._start=A(i._time-(0<e._ts?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Bt(e),i._dirty||jt(i,e)),e},Nt={_start:0,endTime:g,totalDuration:g},Ht=function(e,t){return e||0===e?t(e):t},$=function(e,t){return W(e)&&(t=yt.exec(e))?t[1]:""},Wt=[].slice,qt=function(e,t){return e&&k(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&k(e[0]))&&!e.nodeType&&e!==d},O=function(e,t,i){return l&&!t&&l.selector?l.selector(e):!W(e)||i||!ze&&Jt()?I(e)?(n=i,void 0===r&&(r=[]),e.forEach(function(e){return W(e)&&!n||qt(e,1)?r.push.apply(r,O(e)):r.push(e)})||r):qt(e)?Wt.call(e,0):e?[e]:[]:Wt.call((t||De).querySelectorAll(e),0);var n,r},Yt=function(e){return e.sort(function(){return.5-Math.random()})},$t=function(e,t,i,n){return Ht(I(e)?!t:!0===i?!!(i=0):!n,function(){return I(e)?e[~~(Math.random()*e.length)]:(i=i||1e-5)&&(n=i<1?Math.pow(10,(i+"").length-2):1)&&Math.floor(Math.round((e-i/2+Math.random()*(t-e+.99*i))/i)*i*n)/n})},Xt=function(e){for(var t,i,n,r,s=0,a="";~(t=e.indexOf("random(",s));)n=e.indexOf(")",t),r="["===e.charAt(t+7),i=e.substr(t+7,n-t-7).match(r?vt:pt),a+=e.substr(s,t-s)+$t(r?i:+i[0],r?0:+i[1],+i[2]||1e-5),s=n+1;return a+e.substr(s,e.length-s)},Gt=[],p=255,Vt={aqua:[0,p,p],lime:[0,p,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,p],navy:[0,0,128],white:[p,p,p],olive:[128,128,0],yellow:[p,p,0],orange:[p,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[p,0,0],pink:[p,192,203],cyan:[0,p,p],transparent:[p,p,p,0]},Ut=function(e,t,i){var n,r,s,a,o,l,c,d=e?ct(e)?[e>>16,e>>8&p,e&p]:0:Vt.black;if(!d){if(","===e.substr(-1)&&(e=e.substr(0,e.length-1)),Vt[e])d=Vt[e];else if("#"===e.charAt(0)){if(9===(e=e.length<6?"#"+(n=e.charAt(1))+n+(r=e.charAt(2))+r+(s=e.charAt(3))+s+(5===e.length?e.charAt(4)+e.charAt(4):""):e).length)return[(d=parseInt(e.substr(1,6),16))>>16,d>>8&p,d&p,parseInt(e.substr(7),16)/255];d=[(e=parseInt(e.substr(1),16))>>16,e>>8&p,e&p]}else if("hsl"===e.substr(0,3))if(d=c=e.match(pt),t){if(~e.indexOf("="))return d=e.match(ht),i&&d.length<4&&(d[3]=1),d}else a=+d[0]%360/360,o=+d[1]/100,n=2*(l=+d[2]/100)-(r=l<=.5?l*(o+1):l+o-l*o),3<d.length&&(d[3]*=1),d[0]=Ee(a+1/3,n,r),d[1]=Ee(a,n,r),d[2]=Ee(a-1/3,n,r);else d=e.match(pt)||Vt.transparent;d=d.map(Number)}return t&&!c&&(n=d[0]/p,r=d[1]/p,s=d[2]/p,l=((e=Math.max(n,r,s))+(t=Math.min(n,r,s)))/2,e===t?a=o=0:(c=e-t,o=.5<l?c/(2-e-t):c/(e+t),a=e===n?(r-s)/c+(r<s?6:0):e===r?(s-n)/c+2:(n-r)/c+4,a*=60),d[0]=~~(a+.5),d[1]=~~(100*o+.5),d[2]=~~(100*l+.5)),i&&d.length<4&&(d[3]=1),d},Qt=function(e){var t=[],i=[],n=-1;return e.split(Kt).forEach(function(e){e=e.match(ft)||[];t.push.apply(t,e),i.push(n+=e.length+1)}),t.c=i,t},Kt=function(){var e,t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(e in Vt)t+="|"+e+"\\b";return new RegExp(t+")","gi")}(),Zt=/hsl[a]?\(/,m=($e=Date.now,Xe=500,Ge=33,Ve=$e(),Ue=Ve,Ke=Qe=1e3/240,Je={time:0,frame:0,tick:function(){si(!0)},deltaRatio:function(e){return qe/(1e3/(e||60))},wake:function(){Re&&(!ze&&s()&&(d=ze=window,De=d.document||{},a.gsap=f,(d.gsapVersions||(d.gsapVersions=[])).push(f.version),n(bt||d.GreenSockGlobals||!d.gsap&&d||{}),We=d.requestAnimationFrame,Gt.forEach(Se)),Ne&&Je.sleep(),He=We||function(e){return setTimeout(e,Ke-1e3*Je.time+1|0)},Fe=1,si(2))},sleep:function(){(We?d.cancelAnimationFrame:clearTimeout)(Ne),Fe=0,He=g},lagSmoothing:function(e,t){Xe=e||1/0,Ge=Math.min(t||33,Xe)},fps:function(e){Qe=1e3/(e||240),Ke=1e3*Je.time+Qe},add:function(r,e,t){var s=e?function(e,t,i,n){r(e,t,i,n),Je.remove(s)}:r;return Je.remove(r),Ze[t?"unshift":"push"](s),Jt(),s},remove:function(e,t){~(t=Ze.indexOf(e))&&Ze.splice(t,1)&&t<=Ye&&Ye--},_listeners:Ze=[]}),Jt=function(){return!Fe&&m.wake()},L={},ei=/^[\d.\-M][\d.\-,\s]/,ti=/["']/g,ii=function(e){var t,i,n,r=(e+"").split("("),s=L[r[0]];return s&&1<r.length&&s.config?s.config.apply(null,~e.indexOf("{")?[function(e){for(var t,i,n,r={},s=e.substr(1,e.length-3).split(":"),a=s[0],o=1,l=s.length;o<l;o++)i=s[o],t=o!==l-1?i.lastIndexOf(","):i.length,n=i.substr(0,t),r[a]=isNaN(n)?n.replace(ti,"").trim():+n,a=i.substr(t+1).trim();return r}(r[1])]:(t=(r=e).indexOf("(")+1,i=r.indexOf(")"),n=r.indexOf("(",t),r.substring(t,~n&&n<i?r.indexOf(")",i+1):i).split(",").map(y))):L._CE&&ei.test(e)?L._CE("",e):s},ni=function(t){return function(e){return 1-t(1-e)}},ri=function(e,t){return e&&(u(e)?e:L[e]||ii(e))||t};function si(e){var t,i,n,r=$e()-Ue,s=!0===e;if(Xe<r&&(Ve+=r-Ge),(0<(r=(i=(Ue+=r)-Ve)-Ke)||s)&&(n=++Je.frame,qe=i-1e3*Je.time,Je.time=i/=1e3,Ke+=r+(Qe<=r?4:Qe-r),t=1),s||(Ne=He(si)),t)for(Ye=0;Ye<Ze.length;Ye++)Ze[Ye](i,qe,n,e)}function ai(e){return e<tt?et*e*e:e<.7272727272727273?et*Math.pow(e-1.5/2.75,2)+.75:e<.9090909090909092?et*(e-=2.25/2.75)*e+.9375:et*Math.pow(e-2.625/2.75,2)+.984375}h("Linear,Quad,Cubic,Quart,Quint,Strong",function(e,t){var i=t<5?t+1:t;Ie(e+",Power"+(i-1),t?function(e){return Math.pow(e,i)}:function(e){return e},function(e){return 1-Math.pow(1-e,i)},function(e){return e<.5?Math.pow(2*e,i)/2:1-Math.pow(2*(1-e),i)/2})}),L.Linear.easeNone=L.none=L.Linear.easeIn,Ie("Elastic",Oe("in"),Oe("out"),Oe()),et=7.5625,tt=1/2.75,Ie("Bounce",function(e){return 1-ai(1-e)},ai),Ie("Expo",function(e){return e?Math.pow(2,10*(e-1)):0}),Ie("Circ",function(e){return-(at(1-e*e)-1)}),Ie("Sine",function(e){return 1===e?1:1-ot(e*rt)}),Ie("Back",Le("in"),Le("out"),Le()),L.SteppedEase=L.steps=a.SteppedEase={config:function(e,t){var i=1/(e=void 0===e?1:e),n=e+(t?0:1),r=t?1:0,s=1-H;return function(e){return((n*pe(0,s,e)|0)+r)*i}}},it.ease=L["quad.out"],h("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(e){return Ot+=e+","+e+"Params,"});var oi=function(e,t){this.id=st++,(e._gsap=this).target=e,this.harness=t,this.get=t?t.get:zt,this.set=t?t.getSetter:Mi},li=((t=ci.prototype).delay=function(e){return e||0===e?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+e-this._delay),this._delay=e,this):this._delay},t.duration=function(e){return arguments.length?this.totalDuration(0<this._repeat?e+(e+this._rDelay)*this._repeat:e):this.totalDuration()&&this._dur},t.totalDuration=function(e){return arguments.length?(this._dirty=0,ce(this,this._repeat<0?e:(e-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(e,t){if(Jt(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(Ft(this,e),i._dp&&!i.parent&&re(i,this);i&&i.parent;)i.parent._time!==i._start+(0<=i._ts?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(0<this._ts&&e<this._tDur||this._ts<0&&0<e||!this._tDur&&!e)&&M(this._dp,this,this._start-this._delay)}return(this._tTime!==e||!this._dur&&!t||this._initted&&Math.abs(this._zTime)===H||!e&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=e),v(this,e,t)),this},t.time=function(e,t){return arguments.length?this.totalTime(Math.min(this.totalDuration(),e+S(this))%(this._dur+this._rDelay)||(e?this._dur:0),t):this._time},t.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this.totalDuration()?Math.min(1,this._tTime/this._tDur):0<this.rawTime()?1:0},t.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?e:1-e)+S(this),t):this.duration()?Math.min(1,this._time/this._dur):0<this.rawTime()?1:0},t.iteration=function(e,t){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(e-1)*i,t):this._repeat?E(this._tTime,i)+1:1},t.timeScale=function(e,t){if(!arguments.length)return this._rts===-H?0:this._rts;if(this._rts===e)return this;for(var i=this.parent&&this._ts?C(this.parent._time,this):this._tTime,e=(this._rts=+e||0,this._ts=this._ps||e===-H?0:this._rts,this.totalTime(pe(-Math.abs(this._delay),this._tDur,i),!1!==t),Bt(this),this),n=e.parent;n&&n.parent;)n._dirty=1,n.totalDuration(),n=n.parent;return e},t.paused=function(e){return arguments.length?(this._ps!==e&&((this._ps=e)?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Jt(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==H&&(this._tTime-=H)))),this):this._ps},t.startTime=function(e){var t;return arguments.length?(this._start=e,!(t=this.parent||this._dp)||!t._sort&&this.parent||M(t,this,e-this._delay),this):this._start},t.endTime=function(e){return this._start+(z(e)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(e){var t=this.parent||this._dp;return t?e&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?C(t.rawTime(e),this):this._tTime:this._tTime},t.revert=function(e){var t=j;return j=e=void 0===e?St:e,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(e),this.totalTime(-.01,e.suppressEvents)),"nested"!==this.data&&!1!==e.kill&&this.kill(),j=t,this},t.globalTime=function(e){for(var t=this,i=arguments.length?e:t.rawTime();t;)i=t._start+i/(Math.abs(t._ts)||1),t=t._dp;return!this.parent&&this._sat?this._sat.globalTime(e):i},t.repeat=function(e){return arguments.length?(this._repeat=e===1/0?-2:e,de(this)):-2===this._repeat?1/0:this._repeat},t.repeatDelay=function(e){var t;return arguments.length?(t=this._time,this._rDelay=e,de(this),t?this.time(t):this):this._rDelay},t.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},t.seek=function(e,t){return this.totalTime(c(this,e),z(t))},t.restart=function(e,t){return this.play().totalTime(e?-this._delay:0,z(t))},t.play=function(e,t){return null!=e&&this.seek(e,t),this.reversed(!1).paused(!1)},t.reverse=function(e,t){return null!=e&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},t.pause=function(e,t){return null!=e&&this.seek(e,t),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(e){return arguments.length?(!!e!==this.reversed()&&this.timeScale(-this._rts||(e?-H:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-H,this},t.isActive=function(){var e=this.parent||this._dp,t=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(e=e.rawTime(!0))>=t&&e<this.endTime(!0)-H))},t.eventCallback=function(e,t,i){var n=this.vars;return 1<arguments.length?(t?(n[e]=t,i&&(n[e+"Params"]=i),"onUpdate"===e&&(this._onUpdate=t)):delete n[e],this):n[e]},t.then=function(n){var r=this;return new Promise(function(t){function e(){var e=r.then;r.then=null,u(i)&&(i=i(r))&&(i.then||i===r)&&(r.then=e),t(i),r.then=e}var i=u(n)?n:b;r._initted&&1===r.totalProgress()&&0<=r._ts||!r._tTime&&r._ts<0?e():r._prom=e})},t.kill=function(){Te(this)},ci);function ci(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,ce(this,+e.duration,1,1),this.data=e.data,l&&(this._ctx=l).data.push(this),Fe||m.wake()}D(li.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:-H,_prom:0,_ps:!1,_rts:1});i(ui,di=li),(t=ui.prototype).to=function(e,t,i){return ue(0,arguments,this),this},t.from=function(e,t,i){return ue(1,arguments,this),this},t.fromTo=function(e,t,i,n){return ue(2,arguments,this),this},t.set=function(e,t,i){return t.duration=0,t.parent=this,te(t).repeatDelay||(t.repeat=0),t.immediateRender=!!t.immediateRender,new X(e,t,c(this,i),1),this},t.call=function(e,t,i){return M(this,X.delayedCall(0,e,t),i)},t.staggerTo=function(e,t,i,n,r,s,a){return i.duration=t,i.stagger=i.stagger||n,i.onComplete=s,i.onCompleteParams=a,i.parent=this,new X(e,i,c(this,r)),this},t.staggerFrom=function(e,t,i,n,r,s,a){return i.runBackwards=1,te(i).immediateRender=z(i.immediateRender),this.staggerTo(e,t,i,n,r,s,a)},t.staggerFromTo=function(e,t,i,n,r,s,a,o){return n.startAt=i,te(n).immediateRender=z(n.immediateRender),this.staggerTo(e,t,n,r,s,a,o)},t.render=function(e,t,i){var n,r,s,a,o,l,c,d,u,p,h=this._time,f=this._dirty?this.totalDuration():this._tDur,m=this._dur,g=e<=0?0:A(e),v=this._zTime<0!=e<0&&(this._initted||!m);if((g=this!==B&&f<g&&0<=e?f:g)!==this._tTime||i||v){if(h!==this._time&&m&&(g+=this._time-h,e+=this._time-h),n=g,d=this._start,o=!(c=this._ts),v&&(m||(h=this._zTime),!e&&t||(this._zTime=e)),this._repeat){if(v=this._yoyo,a=m+this._rDelay,this._repeat<-1&&e<0)return this.totalTime(100*a+e,t,i);if(n=A(g%a),g===f?(s=this._repeat,n=m):((s=~~(g/a))&&s===g/a&&(n=m,s--),m<n&&(n=m)),u=E(this._tTime,a),v&&1&s&&(n=m-n,p=1),s!==(u=!h&&this._tTime&&u!==s&&this._tTime-u*a-this._dur<=0?s:u)&&!this._lock){var y=v&&1&u,v=y===(v&&1&s),h=(y=s<u?!y:y)?0:g%m?m:g;if(this._lock=1,this.render(h||(p?0:A(s*a)),t,!m)._lock=0,this._tTime=g,!t&&this.parent&&R(this,"onRepeat"),this.vars.repeatRefresh&&!p&&(this.invalidate()._lock=1),h&&h!==this._time||o!=!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(m=this._dur,f=this._tDur,v&&(this._lock=2,this.render(h=y?m:-1e-4,!0),this.vars.repeatRefresh)&&!p&&this.invalidate(),this._lock=0,!this._ts&&!o)return this;ke(this,p)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(l=function(e,t,i){var n;if(t<i)for(n=e._first;n&&n._start<=i;){if("isPause"===n.data&&n._start>t)return n;n=n._next}else for(n=e._last;n&&n._start>=i;){if("isPause"===n.data&&n._start<t)return n;n=n._prev}}(this,A(h),A(n)))&&(g-=n-(n=l._start)),this._tTime=g,this._time=n,this._act=!c,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=e,h=0),!h&&n&&!t&&!s&&(R(this,"onStart"),this._tTime!==g))return this;if(h<=n&&0<=e)for(b=this._first;b;){if(r=b._next,(b._act||n>=b._start)&&b._ts&&l!==b){if(b.parent!==this)return this.render(e,t,i);if(b.render(0<b._ts?(n-b._start)*b._ts:(b._dirty?b.totalDuration():b._tDur)+(n-b._start)*b._ts,t,i),n!==this._time||!this._ts&&!o){l=0,r&&(g+=this._zTime=-H);break}}b=r}else for(var b=this._last,_=e<0?e:n;b;){if(r=b._prev,(b._act||_<=b._end)&&b._ts&&l!==b){if(b.parent!==this)return this.render(e,t,i);if(b.render(0<b._ts?(_-b._start)*b._ts:(b._dirty?b.totalDuration():b._tDur)+(_-b._start)*b._ts,t,i||j&&(b._initted||b._startAt)),n!==this._time||!this._ts&&!o){l=0,r&&(g+=this._zTime=_?-H:H);break}}b=r}if(l&&!t&&(this.pause(),l.render(h<=n?0:-H)._zTime=h<=n?1:-1,this._ts))return this._start=d,Bt(this),this.render(e,t,i);this._onUpdate&&!t&&R(this,"onUpdate",!0),!(g===f&&this._tTime>=this.totalDuration()||!g&&h)||d!==this._start&&Math.abs(c)===Math.abs(this._ts)||this._lock||(!e&&m||!(g===f&&0<this._ts||!g&&this._ts<0)||ie(this,1),t)||e<0&&!h||!g&&!h&&f||(R(this,g===f&&0<=e?"onComplete":"onReverseComplete",!0),!this._prom)||g<f&&0<this.timeScale()||this._prom()}return this},t.add=function(e,t){var i=this;if(ct(t)||(t=c(this,t,e)),!(e instanceof li)){if(I(e))return e.forEach(function(e){return i.add(e,t)}),this;if(W(e))return this.addLabel(e,t);if(!u(e))return this;e=X.delayedCall(0,e)}return this!==e?M(this,e,t):this},t.getChildren=function(e,t,i,n){void 0===e&&(e=!0),void 0===t&&(t=!0),void 0===i&&(i=!0),void 0===n&&(n=-N);for(var r=[],s=this._first;s;)s._start>=n&&(s instanceof X?t&&r.push(s):(i&&r.push(s),e&&r.push.apply(r,s.getChildren(!0,t,i)))),s=s._next;return r},t.getById=function(e){for(var t=this.getChildren(1,1,1),i=t.length;i--;)if(t[i].vars.id===e)return t[i]},t.remove=function(e){return W(e)?this.removeLabel(e):u(e)?this.killTweensOf(e):(x(this,e),e===this._recent&&(this._recent=this._last),jt(this))},t.totalTime=function(e,t){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=A(m.time-(0<this._ts?e/this._ts:(this.totalDuration()-e)/-this._ts))),di.prototype.totalTime.call(this,e,t),this._forcing=0,this):this._tTime},t.addLabel=function(e,t){return this.labels[e]=c(this,t),this},t.removeLabel=function(e){return delete this.labels[e],this},t.addPause=function(e,t,i){t=X.delayedCall(0,t||g,i);return t.data="isPause",this._hasPause=1,M(this,t,c(this,e))},t.removePause=function(e){var t=this._first;for(e=c(this,e);t;)t._start===e&&"isPause"===t.data&&ie(t),t=t._next},t.killTweensOf=function(e,t,i){for(var n=this.getTweensOf(e,i),r=n.length;r--;)fi!==n[r]&&n[r].kill(e,t);return this},t.getTweensOf=function(e,t){for(var i,n=[],r=O(e),s=this._first,a=ct(t);s;)s instanceof X?function(e,t){for(var i=t.length,n=0;e.indexOf(t[n])<0&&++n<i;);return n<i}(s._targets,r)&&(a?(!fi||s._initted&&s._ts)&&s.globalTime(0)<=t&&s.globalTime(s.totalDuration())>t:!t||s.isActive())&&n.push(s):(i=s.getTweensOf(r,t)).length&&n.push.apply(n,i),s=s._next;return n},t.tweenTo=function(e,t){t=t||{};var i,n=this,r=c(n,e),e=t,s=e.startAt,a=e.onStart,o=e.onStartParams,e=e.immediateRender,l=X.to(n,D({ease:t.ease||"none",lazy:!1,immediateRender:!1,time:r,overwrite:"auto",duration:t.duration||Math.abs((r-(s&&"time"in s?s.time:n._time))/n.timeScale())||H,onStart:function(){var e;n.pause(),i||(e=t.duration||Math.abs((r-(s&&"time"in s?s.time:n._time))/n.timeScale()),l._dur!==e&&ce(l,e,0,1).render(l._time,!0,!0),i=1),a&&a.apply(l,o||[])}},t));return e?l.render(0):l},t.tweenFromTo=function(e,t,i){return this.tweenTo(t,D({startAt:{time:c(this,e)}},i))},t.recent=function(){return this._recent},t.nextLabel=function(e){return void 0===e&&(e=this._time),xe(this,c(this,e))},t.previousLabel=function(e){return void 0===e&&(e=this._time),xe(this,c(this,e),1)},t.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.previousLabel(this._time+H)},t.shiftChildren=function(e,t,i){void 0===i&&(i=0);for(var n,r=this._first,s=this.labels;r;)r._start>=i&&(r._start+=e,r._end+=e),r=r._next;if(t)for(n in s)s[n]>=i&&(s[n]+=e);return jt(this)},t.invalidate=function(e){var t=this._first;for(this._lock=0;t;)t.invalidate(e),t=t._next;return di.prototype.invalidate.call(this,e)},t.clear=function(e){void 0===e&&(e=!0);for(var t,i=this._first;i;)t=i._next,this.remove(i),i=t;return this._dp&&(this._time=this._tTime=this._pTime=0),e&&(this.labels={}),jt(this)},t.totalDuration=function(e){var t,i,n,r=0,s=this,a=s._last,o=N;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-e:e));if(s._dirty){for(n=s.parent;a;)t=a._prev,a._dirty&&a.totalDuration(),o<(i=a._start)&&s._sort&&a._ts&&!s._lock?(s._lock=1,M(s,a,i-a._delay,1)._lock=0):o=i,i<0&&a._ts&&(r-=i,(!n&&!s._dp||n&&n.smoothChildTiming)&&(s._start+=i/s._ts,s._time-=i,s._tTime-=i),s.shiftChildren(-i,!1,-1/0),o=0),a._end>r&&a._ts&&(r=a._end),a=t;ce(s,s===B&&s._time>r?s._time:r,1,1),s._dirty=0}return s._tDur},ui.updateRoot=function(e){if(B._ts&&(v(B,C(e,B)),je=m.frame),m.frame>=It){It+=F.autoSleep||120;var t=B._first;if((!t||!t._ts)&&F.autoSleep&&m._listeners.length<2){for(;t&&!t._ts;)t=t._next;t||m.sleep()}}};var di,P=ui;function ui(e,t){var i;return(i=di.call(this,e=void 0===e?{}:e)||this).labels={},i.smoothChildTiming=!!e.smoothChildTiming,i.autoRemoveChildren=!!e.autoRemoveChildren,i._sort=z(e.sortChildren),B&&M(e.parent||B,K(i),t),e.reversed&&i.reverse(),e.paused&&i.paused(!0),e.scrollTrigger&&se(K(i),e.scrollTrigger),i}D(P.prototype,{_lock:0,_hasPause:0,_forcing:0});function pi(e,t,i,n,r,s){var a,o,l,c;if(q[e]&&!1!==(a=new q[e]).init(r,a.rawVars?t[e]:yi(t[e],n,r,s,i),i,n,s)&&(i._pt=o=new G(i._pt,r,e,0,1,a.render,a,0,a.priority),i!==Be))for(l=i._ptLookup[i._targets.indexOf(r)],c=a._props.length;c--;)l[a._props[c]]=o;return a}function hi(e,t,i,n,r){return u(e)?e.call(t,i,n,r):W(e)&&~e.indexOf("random(")?Xt(e):e}var fi,mi,gi,vi=function(e,t,i,n,r,s,a,o,l,c){u(n)&&(n=n(r||0,e,s));var d,r=e[t],s="get"!==i?i:u(r)?l?e[t.indexOf("set")||!u(e["get"+t.substr(3)])?t:"get"+t.substr(3)](l):e[t]():r,i=u(r)?l?Ci:Ei:Si;if(!W(n)||"="!==(n=~n.indexOf("random(")?Xt(n):n).charAt(1)||!(d=Dt(s,n)+($(s)||0))&&0!==d||(n=d),!c||s!==n||mi)return isNaN(s*n)||""===n?(r||t in e||_t(t,n),function(e,t,i,n,r,s,a){var o,l,c,d,u,p=new G(this._pt,e,t,0,1,Ai,null,r),h=0,f=0;for(p.b=i,p.e=n,i+="",(r=~(n+="").indexOf("random("))&&(n=Xt(n)),s&&(s(s=[i,n],e,t),i=s[0],n=s[1]),o=i.match(mt)||[];d=mt.exec(n);)c=d[0],d=n.substring(h,d.index),l?l=(l+1)%5:"rgba("===d.substr(-5)&&(l=1),c!==o[f++]&&(u=parseFloat(o[f-1])||0,p._pt={_next:p._pt,p:d||1===f?d:",",s:u,c:"="===c.charAt(1)?Dt(u,c)-u:parseFloat(c)-u,m:l&&l<4?Math.round:0},h=mt.lastIndex);return p.c=h<n.length?n.substring(h,n.length):"",p.fp=a,(gt.test(n)||r)&&(p.e=0),this._pt=p}.call(this,e,t,s,n,i,o||F.stringFilter,l)):(d=new G(this._pt,e,t,+s||0,n-(s||0),"boolean"==typeof r?Ii:ki,0,i),l&&(d.fp=l),a&&d.modifier(a,this,e),this._pt=d)},yi=function(e,t,i,n,r){if(u(e)&&(e=hi(e,r,t,i,n)),!k(e)||e.style&&e.nodeType||I(e)||ut(e))return W(e)?hi(e,r,t,i,n):e;var s,a={};for(s in e)a[s]=hi(e[s],r,t,i,n);return a},bi=function e(t,i,n){var r,s,a,o,l,c,d,u,p,h,f,m,g,v=t.vars,y=v.ease,b=v.startAt,_=v.immediateRender,w=v.lazy,x=v.onUpdate,T=v.runBackwards,S=v.yoyoEase,E=v.keyframes,C=v.autoRevert,M=t._dur,k=t._startAt,I=t._targets,A=t.parent,O=A&&"nested"===A.data?A.vars.targets:I,L="auto"===t._overwrite&&!Pe,P=t.timeline;if(t._ease=ri(y=!P||E&&y?y:"none",it.ease),t._yEase=S?ni(ri(!0===S?y:S,it.ease)):0,S&&t._yoyo&&!t._repeat&&(S=t._yEase,t._yEase=t._ease,t._ease=S),t._from=!P&&!!v.runBackwards,!P||E&&!v.stagger){if(m=(u=I[0]?Pt(I[0]).harness:0)&&v[u.prop],r=ee(v,Et),k&&(k._zTime<0&&k.progress(1),i<0&&T&&_&&!C?k.render(-1,!0):k.revert(T&&M?Tt:xt),k._lazy=0),b){if(ie(t._startAt=X.set(I,D({data:"isStart",overwrite:!1,parent:A,immediateRender:!0,lazy:!k&&z(w),startAt:null,delay:0,onUpdate:x&&function(){return R(t,"onUpdate")},stagger:0},b))),t._startAt._dp=0,t._startAt._sat=t,i<0&&(j||!_&&!C)&&t._startAt.revert(Tt),_&&M&&i<=0&&n<=0)return void(i&&(t._zTime=i))}else if(T&&M&&!k)if(a=D({overwrite:!1,data:"isFromStart",lazy:(_=i?!1:_)&&!k&&z(w),immediateRender:_,stagger:0,parent:A},r),m&&(a[u.prop]=m),ie(t._startAt=X.set(I,a)),t._startAt._dp=0,t._startAt._sat=t,i<0&&(j?t._startAt.revert(Tt):t._startAt.render(-1,!0)),t._zTime=i,_){if(!i)return}else e(t._startAt,H,H);for(t._pt=t._ptCache=0,w=M&&z(w)||w&&!M,s=0;s<I.length;s++){if(d=(l=I[s])._gsap||Lt(I)[s]._gsap,t._ptLookup[s]=h={},Mt[d.id]&&Ct.length&&Rt(),f=O===I?s:O.indexOf(l),u&&!1!==(p=new u).init(l,m||r,t,f,O)&&(t._pt=o=new G(t._pt,l,p.name,0,1,p.render,p,0,p.priority),p._props.forEach(function(e){h[e]=o}),p.priority)&&(c=1),!u||m)for(a in r)q[a]&&(p=pi(a,r,t,f,l,O))?p.priority&&(c=1):h[a]=o=vi.call(t,l,a,"get",r[a],f,O,0,v.stringFilter);t._op&&t._op[s]&&t.kill(l,t._op[s]),L&&t._pt&&(fi=t,B.killTweensOf(l,h,t.globalTime(i)),g=!t.parent,fi=0),t._pt&&w&&(Mt[d.id]=1)}c&&zi(t),t._onInit&&t._onInit(t)}t._onUpdate=x,t._initted=(!t._op||t._pt)&&!g,E&&i<=0&&P.render(N,!0,!0)},_i=Ot+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",wi={},X=(h(_i+",id,stagger,delay,duration,paused,scrollTrigger",function(e){return wi[e]=1}),i(r,gi=li),(t=r.prototype).render=function(e,t,i){var n,r,s,a=this._time,o=this._tDur,l=this._dur,c=e<0,d=o-H<e&&!c?o:e<H?0:e;if(l){if(d!==this._tTime||!e||i||!this._initted&&this._tTime||this._startAt&&this._zTime<0!=c){if(g=d,m=this.timeline,this._repeat){if(h=l+this._rDelay,this._repeat<-1&&c)return this.totalTime(100*h+e,t,i);if(g=A(d%h),d===o?(v=this._repeat,g=l):((v=~~(d/h))&&v===A(d/h)&&(g=l,v--),l<g&&(g=l)),(r=this._yoyo&&1&v)&&(f=this._yEase,g=l-g),b=E(this._tTime,h),g===a&&!i&&this._initted&&v===b)return this._tTime=d,this;v!==b&&(m&&this._yEase&&ke(m,r),this.vars.repeatRefresh)&&!r&&!this._lock&&this._time!==l&&this._initted&&(this._lock=i=1,this.render(A(h*v),!0).invalidate()._lock=0)}if(!this._initted){if(ae(this,c?e:g,i,t,d))return this._tTime=0,this;if(!(a===this._time||i&&this.vars.repeatRefresh&&v!==b))return this;if(l!==this._dur)return this.render(e,t,i)}if(this._tTime=d,this._time=g,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=s=(f||this._ease)(g/l),this._from&&(this.ratio=s=1-s),g&&!a&&!t&&!v&&(R(this,"onStart"),this._tTime!==d))return this;for(n=this._pt;n;)n.r(s,n.d),n=n._next;m&&m.render(e<0?e:!g&&r?-H:m._dur*m._ease(g/this._dur),t,i)||this._startAt&&(this._zTime=e),this._onUpdate&&!t&&(c&&T(this,e,0,i),R(this,"onUpdate")),this._repeat&&v!==b&&this.vars.onRepeat&&!t&&this.parent&&R(this,"onRepeat"),d!==this._tDur&&d||this._tTime!==d||(c&&!this._onUpdate&&T(this,e,0,!0),!e&&l||!(d===this._tDur&&0<this._ts||!d&&this._ts<0)||ie(this,1),t)||c&&!a||!(d||a||r)||(R(this,d===o?"onComplete":"onReverseComplete",!0),!this._prom)||d<o&&0<this.timeScale()||this._prom()}}else{var u,p,h=this,f=e,m=t,g=i,v=h.ratio,y=f<0||!f&&(!h._start&&oe(h)&&(h._initted||!le(h))||(h._ts<0||h._dp._ts<0)&&!le(h))?0:1,b=h._rDelay,l=0;if(b&&h._repeat&&(l=pe(0,h._tDur,f),p=E(l,b),h._yoyo&&1&p&&(y=1-y),p!==E(h._tTime,b))&&(v=1-y,h.vars.repeatRefresh)&&h._initted&&h.invalidate(),y!==v||j||g||h._zTime===H||!f&&h._zTime){if(h._initted||!ae(h,f,g,m,l)){for(p=h._zTime,h._zTime=f||(m?H:0),m=m||f&&!p,h.ratio=y,h._from&&(y=1-y),h._time=0,h._tTime=l,u=h._pt;u;)u.r(y,u.d),u=u._next;f<0&&T(h,f,0,!0),h._onUpdate&&!m&&R(h,"onUpdate"),l&&h._repeat&&!m&&h.parent&&R(h,"onRepeat"),(f>=h._tDur||f<0)&&h.ratio===y&&(y&&ie(h,1),m||j||(R(h,y?"onComplete":"onReverseComplete",!0),h._prom&&h._prom()))}}else h._zTime||(h._zTime=f)}return this},t.targets=function(){return this._targets},t.invalidate=function(e){return e&&this.vars.runBackwards||(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(e),gi.prototype.invalidate.call(this,e)},t.resetTo=function(e,t,i,n,r){Fe||m.wake(),this._ts||this.play();var s,a=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||bi(this,a),s=this._ease(a/this._dur),function(e,t,i,n,r,s,a,o){var l,c,d,u,p=(e._pt&&e._ptCache||(e._ptCache={}))[t];if(!p)for(p=e._ptCache[t]=[],d=e._ptLookup,u=e._targets.length;u--;){if((l=d[u][t])&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==t&&l.fp!==t;)l=l._next;if(!l)return mi=1,e.vars[t]="+=0",bi(e,a),mi=0,o?wt(t+" not eligible for reset"):1;p.push(l)}for(u=p.length;u--;)(l=(c=p[u])._pt||c).s=!n&&0!==n||r?l.s+(n||0)+s*l.c:n,l.c=i-l.s,c.e&&(c.e=Y(i)+$(c.e)),c.b&&(c.b=l.s+$(c.b))}(this,e,t,i,n,s,a,r)?this.resetTo(e,t,i,n,1):(Ft(this,0),this.parent||w(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(e,t){if(void 0===t&&(t="all"),!(e||t&&"all"!==t))return this._lazy=this._pt=0,this.parent?Te(this):this;if(this.timeline)p=this.timeline.totalDuration(),this.timeline.killTweensOf(e,t,fi&&!0!==fi.vars.overwrite)._first||Te(this),this.parent&&p!==this.timeline.totalDuration()&&ce(this,this._dur*this.timeline._tDur/p,0,1);else{var i,n,r,s,a,o,l,c=this._targets,d=e?O(e):c,u=this._ptLookup,p=this._pt;if((!t||"all"===t)&&function(e,t){for(var i=e.length,n=i===t.length;n&&i--&&e[i]===t[i];);return i<0}(c,d))return"all"===t&&(this._pt=0),Te(this);for(i=this._op=this._op||[],"all"!==t&&(W(t)&&(a={},h(t,function(e){return a[e]=1}),t=a),t=function(e,t){var i,n,r,s,e=e[0]?Pt(e[0]).harness:0,a=e&&e.aliases;if(!a)return t;for(n in i=J({},t),a)if(n in i)for(r=(s=a[n].split(",")).length;r--;)i[s[r]]=i[n];return i}(c,t)),l=c.length;l--;)if(~d.indexOf(c[l]))for(a in n=u[l],"all"===t?(i[l]=t,s=n,r={}):(r=i[l]=i[l]||{},s=t),s)(o=n&&n[a])&&("kill"in o.d&&!0!==o.d.kill(a)||x(this,o,"_pt"),delete n[a]),"all"!==r&&(r[a]=1);this._initted&&!this._pt&&p&&Te(this)}return this},r.to=function(e,t){return new r(e,t,arguments[2])},r.from=function(e,t){return ue(1,arguments)},r.delayedCall=function(e,t,i,n){return new r(t,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:e,onComplete:t,onReverseComplete:t,onCompleteParams:i,onReverseCompleteParams:i,callbackScope:n})},r.fromTo=function(e,t,i){return ue(2,arguments)},r.set=function(e,t){return t.duration=0,t.repeatDelay||(t.repeat=0),new r(e,t)},r.killTweensOf=function(e,t,i){return B.killTweensOf(e,t,i)},r);function r(e,t,i,n){"number"==typeof t&&(i.duration=t,t=i,i=null);var r,s,a,o,l,c,d,u,p,n=(r=gi.call(this,n?t:te(t))||this).vars,h=n.duration,f=n.delay,m=n.immediateRender,g=n.stagger,v=n.overwrite,y=n.keyframes,b=n.defaults,_=n.scrollTrigger,w=n.yoyoEase,n=t.parent||B,x=(I(e)||ut(e)?ct(e[0]):"length"in t)?[e]:O(e);if(r._targets=x.length?Lt(x):wt("GSAP target "+e+" not found. https://gsap.com",!F.nullTargetWarn)||[],r._ptLookup=[],r._overwrite=v,y||g||Z(h)||Z(f)){if(t=r.vars,(s=r.timeline=new P({data:"nested",defaults:b||{},targets:n&&"nested"===n.data?n.vars.targets:x})).kill(),s.parent=s._dp=K(r),s._start=0,g||Z(h)||Z(f)){if(l=x.length,u=g&&fe(g),k(g))for(c in g)~_i.indexOf(c)&&((p=p||{})[c]=g[c]);for(a=0;a<l;a++)(o=ee(t,wi)).stagger=0,w&&(o.yoyoEase=w),p&&J(o,p),d=x[a],o.duration=+hi(h,K(r),a,d,x),o.delay=(+hi(f,K(r),a,d,x)||0)-r._delay,!g&&1===l&&o.delay&&(r._delay=f=o.delay,r._start+=f,o.delay=0),s.to(d,o,u?u(a,d,x):0),s._ease=L.none;s.duration()?h=f=0:r.timeline=0}else if(y){te(D(s.vars.defaults,{ease:"none"})),s._ease=ri(y.ease||t.ease||"none");var T,S,E,C=0;if(I(y))y.forEach(function(e){return s.to(x,e,">")}),s.duration();else{for(c in o={},y)"ease"!==c&&"easeEach"!==c&&function(e,i,t,n){var r,s,a=i.ease||n||"power1.inOut";if(I(i))s=t[e]||(t[e]=[]),i.forEach(function(e,t){return s.push({t:t/(i.length-1)*100,v:e,e:a})});else for(r in i)s=t[r]||(t[r]=[]),"ease"!==r&&s.push({t:parseFloat(e),v:i[r],e:a})}(c,y[c],o,y.easeEach);for(c in o)for(T=o[c].sort(function(e,t){return e.t-t.t}),a=C=0;a<T.length;a++)(E={ease:(S=T[a]).e,duration:(S.t-(a?T[a-1].t:0))/100*h})[c]=S.v,s.to(x,E,C),C+=E.duration;s.duration()<h&&s.to({},{duration:h-s.duration()})}}h||r.duration(h=s.duration())}else r.timeline=0;return!0!==v||Pe||(fi=K(r),B.killTweensOf(x),fi=0),M(n,K(r),i),t.reversed&&r.reverse(),t.paused&&r.paused(!0),(m||!h&&!y&&r._start===A(n._time)&&z(m)&&ne(K(r))&&"nested"!==n.data)&&(r._tTime=-H,r.render(Math.max(0,-f)||0)),_&&se(K(r),_),r}D(X.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),h("staggerTo,staggerFrom,staggerFromTo",function(i){X[i]=function(){var e=new P,t=Wt.call(arguments,0);return t.splice("staggerFromTo"===i?5:4,0,0),e[i].apply(e,t)}});function xi(e,t,i){return e.setAttribute(t,i)}function Ti(e,t,i,n){n.mSet(e,t,n.m.call(n.tween,i,n.mt),n)}var Si=function(e,t,i){return e[t]=i},Ei=function(e,t,i){return e[t](i)},Ci=function(e,t,i,n){return e[t](n.fp,i)},Mi=function(e,t){return u(e[t])?Ei:dt(e[t])&&e.setAttribute?xi:Si},ki=function(e,t){return t.set(t.t,t.p,Math.round(1e6*(t.s+t.c*e))/1e6,t)},Ii=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Ai=function(e,t){var i=t._pt,n="";if(!e&&t.b)n=t.b;else if(1===e&&t.e)n=t.e;else{for(;i;)n=i.p+(i.m?i.m(i.s+i.c*e):Math.round(1e4*(i.s+i.c*e))/1e4)+n,i=i._next;n+=t.c}t.set(t.t,t.p,n,t)},Oi=function(e,t){for(var i=t._pt;i;)i.r(e,i.d),i=i._next},Li=function(e,t,i,n){for(var r,s=this._pt;s;)r=s._next,s.p===n&&s.modifier(e,t,i),s=r},Pi=function(e){for(var t,i,n=this._pt;n;)i=n._next,n.p===e&&!n.op||n.op===e?x(this,n,"_pt"):n.dep||(t=1),n=i;return!t},zi=function(e){for(var t,i,n,r,s=e._pt;s;){for(t=s._next,i=n;i&&i.pr>s.pr;)i=i._next;(s._prev=i?i._prev:r)?s._prev._next=s:n=s,(s._next=i)?i._prev=s:r=s,s=t}e._pt=n},G=(Di.prototype.modifier=function(e,t,i){this.mSet=this.mSet||this.set,this.set=Ti,this.m=e,this.mt=i,this.tween=t},Di);function Di(e,t,i,n,r,s,a,o,l){this.t=t,this.s=n,this.c=r,this.p=i,this.r=s||ki,this.d=a||this,this.set=o||Si,this.pr=l||0,(this._next=e)&&(e._prev=this)}h(Ot+"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(e){return Et[e]=1}),a.TweenMax=a.TweenLite=X,a.TimelineLite=a.TimelineMax=P,B=new P({sortChildren:!1,defaults:it,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),F.stringFilter=Me;function Ri(e){(Fi[e]||Ni).map(function(e){return e()})}function ji(){var e=Date.now(),o=[];2<e-Hi&&(Ri("matchMediaInit"),Bi.forEach(function(e){var t,i,n,r,s=e.queries,a=e.conditions;for(i in s)(t=d.matchMedia(s[i]).matches)&&(n=1),t!==a[i]&&(a[i]=t,r=1);r&&(e.revert(),n)&&o.push(e)}),Ri("matchMediaRevert"),o.forEach(function(t){return t.onMatch(t,function(e){return t.add(null,e)})}),Hi=e,Ri("matchMedia"))}var Bi=[],Fi={},Ni=[],Hi=0,Wi=0,qi=((t=Yi.prototype).add=function(e,n,r){u(e)&&(r=n,n=e,e=u);function t(){var e,t=l,i=s.selector;return t&&t!==s&&t.data.push(s),r&&(s.selector=he(r)),l=s,e=n.apply(s,arguments),u(e)&&s._r.push(e),l=t,s.selector=i,s.isReverted=!1,e}var s=this;return s.last=t,e===u?t(s,function(e){return s.add(null,e)}):e?s[e]=t:t},t.ignore=function(e){var t=l;l=null,e(this),l=t},t.getTweens=function(){var t=[];return this.data.forEach(function(e){return e instanceof Yi?t.push.apply(t,e.getTweens()):e instanceof X&&!(e.parent&&"nested"===e.parent.data)&&t.push(e)}),t},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(t,e){var i=this;if(t){for(var n,r=i.getTweens(),s=i.data.length;s--;)"isFlip"===(n=i.data[s]).data&&(n.revert(),n.getChildren(!0,!0,!1).forEach(function(e){return r.splice(r.indexOf(e),1)}));for(r.map(function(e){return{g:e._dur||e._delay||e._sat&&!e._sat.vars.immediateRender?e.globalTime(0):-1/0,t:e}}).sort(function(e,t){return t.g-e.g||-1/0}).forEach(function(e){return e.t.revert(t)}),s=i.data.length;s--;)(n=i.data[s])instanceof P?"nested"!==n.data&&(n.scrollTrigger&&n.scrollTrigger.revert(),n.kill()):n instanceof X||!n.revert||n.revert(t);i._r.forEach(function(e){return e(t,i)}),i.isReverted=!0}else this.data.forEach(function(e){return e.kill&&e.kill()});if(this.clear(),e)for(var a=Bi.length;a--;)Bi[a].id===this.id&&Bi.splice(a,1)},t.revert=function(e){this.kill(e||{})},Yi);function Yi(e,t){this.selector=t&&he(t),this.data=[],this._r=[],this.isReverted=!1,this.id=Wi++,e&&this.add(e)}(t=Xi.prototype).add=function(e,t,i){k(e)||(e={matches:e});var n,r,s,a=new qi(0,i||this.scope),o=a.conditions={};for(r in l&&!a.selector&&(a.selector=l.selector),this.contexts.push(a),t=a.add("onMatch",t),a.queries=e)"all"===r?s=1:(n=d.matchMedia(e[r]))&&(Bi.indexOf(a)<0&&Bi.push(a),(o[r]=n.matches)&&(s=1),n.addListener?n.addListener(ji):n.addEventListener("change",ji));return s&&t(a,function(e){return a.add(null,e)}),this},t.revert=function(e){this.kill(e||{})},t.kill=function(t){this.contexts.forEach(function(e){return e.kill(t,!0)})};var $i=Xi;function Xi(e){this.contexts=[],this.scope=e}function Gi(e,d){return{name:e,rawVars:1,init:function(e,c,t){t._onInit=function(e){var t,i;if(W(c)&&(t={},h(c,function(e){return t[e]=1}),c=t),d){for(i in t={},c)t[i]=d(c[i]);c=t}var n,r,s,a=e,o=c,l=a._targets;for(n in o)for(r=l.length;r--;)(s=(s=(s=a._ptLookup[r][n])&&s.d)&&(s._pt?In(s,n):s))&&s.modifier&&s.modifier(o[n],a,l[r],n)}}}}function Vi(e,t){return t.set(t.t,t.p,Math.round(1e4*(t.s+t.c*e))/1e4+t.u,t)}function Ui(e,t){return t.set(t.t,t.p,1===e?t.e:Math.round(1e4*(t.s+t.c*e))/1e4+t.u,t)}function Qi(e,t){return t.set(t.t,t.p,e?Math.round(1e4*(t.s+t.c*e))/1e4+t.u:t.b,t)}function Ki(e,t){e=t.s+t.c*e,t.set(t.t,t.p,~~(e+(e<0?-.5:.5))+t.u,t)}function Zi(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)}function Ji(e,t){return t.set(t.t,t.p,1!==e?t.b:t.e,t)}function en(e,t,i){return e.style[t]=i}function tn(e,t,i){return e.style.setProperty(t,i)}function nn(e,t,i){return e._gsap[t]=i}function rn(e,t,i){return e._gsap.scaleX=e._gsap.scaleY=i}function sn(e,t,i,n,r){(e=e._gsap).scaleX=e.scaleY=i,e.renderTransform(r,e)}function an(e,t,i,n,r){(e=e._gsap)[t]=i,e.renderTransform(r,e)}function on(e,t){var i=this,n=this.target,r=n.style,s=n._gsap;if(e in Vn&&r){if(this.tfm=this.tfm||{},"transform"===e)return V.transform.split(",").forEach(function(e){return on.call(i,e,t)});if(~(e=V[e]||e).indexOf(",")?e.split(",").forEach(function(e){return i.tfm[e]=hr(n,e)}):this.tfm[e]=s.x?s[e]:hr(n,e),e===Q&&(this.tfm.zOrigin=s.zOrigin),0<=this.props.indexOf(U))return;s.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(Q,t,"")),e=U}(r||t)&&this.props.push(e,t,r[e])}function ln(){for(var e,t=this.props,i=this.target,n=i.style,r=i._gsap,s=0;s<t.length;s+=3)t[s+1]?i[t[s]]=t[s+2]:t[s+2]?n[t[s]]=t[s+2]:n.removeProperty("--"===t[s].substr(0,2)?t[s]:t[s].replace(Zn,"-$1").toLowerCase());if(this.tfm){for(e in this.tfm)r[e]=this.tfm[e];r.svg&&(r.renderTransform(),i.setAttribute("data-svg-origin",this.svgo||"")),(s=En())&&s.isStart||n[U]||(tr(n),r.zOrigin&&n[Q]&&(n[Q]+=" "+r.zOrigin+"px",r.zOrigin=0,r.renderTransform()),r.uncache=1)}}function cn(e,t){var i={target:e,props:[],revert:ln,save:on};return e._gsap||f.core.getCache(e),t&&t.split(",").forEach(function(e){return i.save(e)}),i}function dn(){Gn()&&window.document&&(bn=window,_n=bn.document,wn=_n.documentElement,Tn=ir("div")||{style:{}},ir("div"),U=sr(U),Q=U+"Origin",Tn.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Cn=!!sr("perspective"),En=f.core.reverting,xn=1)}function un(e){var t,i=ir("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,r=this.nextSibling,s=this.style.cssText;if(wn.appendChild(i),i.appendChild(this),this.style.display="block",e)try{t=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=un}catch(e){}else this._gsapBBox&&(t=this._gsapBBox());return n&&(r?n.insertBefore(this,r):n.appendChild(this)),wn.removeChild(i),this.style.cssText=s,t}function pn(e,t){for(var i=t.length;i--;)if(e.hasAttribute(t[i]))return e.getAttribute(t[i])}function hn(e,t,i,n){i&&"none"!==i||((r=(s=sr(t,e,1))&&nr(e,s,1))&&r!==i?(t=s,i=r):"borderColor"===t&&(i=nr(e,"borderTopColor")));var r,s,a,o,l,c,d,u,p,h,f=new G(this._pt,e.style,t,0,1,Ai),m=0,g=0;if(f.b=i,f.e=n,i+="","auto"===(n+="")&&(c=e.style[t],e.style[t]=n,n=nr(e,t)||n,c?e.style[t]=c:lr(e,t)),Me(s=[i,n]),n=s[1],a=(i=s[0]).match(ft)||[],(n.match(ft)||[]).length){for(;u=ft.exec(n);)p=u[0],u=n.substring(m,u.index),l?l=(l+1)%5:"rgba("!==u.substr(-5)&&"hsla("!==u.substr(-5)||(l=1),p!==(c=a[g++]||"")&&(o=parseFloat(c)||0,h=c.substr((o+"").length),"="===p.charAt(1)&&(p=Dt(o,p)+h),d=parseFloat(p),p=p.substr((d+"").length),m=ft.lastIndex-p.length,p||(p=p||F.units[t]||h,m===n.length&&(n+=p,f.e+=p)),h!==p&&(o=pr(e,t,c,p)||0),f._pt={_next:f._pt,p:u||1===g?u:",",s:o,c:d-o,m:l&&l<4||"zIndex"===t?Math.round:0});f.c=m<n.length?n.substring(m,n.length):""}else f.r="display"===t&&"none"===n?Ji:Zi;return gt.test(n)&&(f.e=0),this._pt=f}function fn(e,t){if(t.tween&&t.tween._time===t.tween._dur){var i,n,r,s=t.t,a=s.style,o=t.u,t=s._gsap;if("all"===o||!0===o)a.cssText="",n=1;else for(r=(o=o.split(",")).length;-1<--r;)i=o[r],Vn[i]&&(n=1,i="transformOrigin"===i?Q:U),lr(s,i);n&&(lr(s,U),t)&&(t.svg&&s.removeAttribute("transform"),_r(s,1),t.uncache=1,tr(a))}}function mn(e){return"matrix(1, 0, 0, 1, 0, 0)"===e||"none"===e||!e}function gn(e,t,i,n,r,s){var a,o=e._gsap,r=r||br(e,!0),l=o.xOrigin||0,c=o.yOrigin||0,d=o.xOffset||0,u=o.yOffset||0,p=r[0],h=r[1],f=r[2],m=r[3],g=r[4],v=r[5],y=t.split(" "),b=parseFloat(y[0])||0,_=parseFloat(y[1])||0;i?r!==gr&&(r=p*m-h*f)&&(a=b*(-h/r)+_*(p/r)-(p*v-h*g)/r,b=b*(m/r)+_*(-f/r)+(f*v-m*g)/r,_=a):(b=(r=ar(e)).x+(~y[0].indexOf("%")?b/100*r.width:b),_=r.y+(~(y[1]||y[0]).indexOf("%")?_/100*r.height:_)),n||!1!==n&&o.smooth?(o.xOffset=d+((g=b-l)*p+(v=_-c)*f)-g,o.yOffset=u+(g*h+v*m)-v):o.xOffset=o.yOffset=0,o.xOrigin=b,o.yOrigin=_,o.smooth=!!n,o.origin=t,o.originIsAbsolute=!!i,e.style[Q]="0px 0px",s&&(cr(s,o,"xOrigin",l,b),cr(s,o,"yOrigin",c,_),cr(s,o,"xOffset",d,o.xOffset),cr(s,o,"yOffset",u,o.yOffset)),e.setAttribute("data-svg-origin",b+" "+_)}function vn(e,t,i){var n=$(t);return Y(parseFloat(t)+parseFloat(pr(e,"x",i+"px",n)))+n}function yn(e,t){for(var i in t)e[i]=t[i];return e}var bn,_n,wn,xn,Tn,Sn,En,Cn,Mn,kn={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];t.forEach(Se)},timeline:function(e){return new P(e)},getTweensOf:function(e,t){return B.getTweensOf(e,t)},getProperty:function(n,e,t,i){W(n)&&(n=O(n)[0]);var r=Pt(n||{}).get,s=t?b:y;return"native"===t&&(t=""),n&&(e?s((q[e]&&q[e].get||r)(n,e,t,i)):function(e,t,i){return s((q[e]&&q[e].get||r)(n,e,t,i))})},quickSetter:function(i,t,n){var r,s;if(1<(i=O(i)).length)return r=i.map(function(e){return f.quickSetter(e,t,n)}),s=r.length,function(e){for(var t=s;t--;)r[t](e)};i=i[0]||{};var a=q[t],o=Pt(i),l=o.harness&&(o.harness.aliases||{})[t]||t,c=a?function(e){var t=new a;Be._pt=0,t.init(i,n?e+n:e,Be,0,[i]),t.render(1,t),Be._pt&&Oi(1,Be)}:o.set(i,l);return a?c:function(e){return c(i,l,n?e+n:e,o,1)}},quickTo:function(e,n,t){function i(e,t,i){return r.resetTo(n,e,t,i)}var r=f.to(e,J(((e={})[n]="+=0.1",e.paused=!0,e),t||{}));return i.tween=r,i},isTweening:function(e){return 0<B.getTweensOf(e,!0).length},defaults:function(e){return e&&e.ease&&(e.ease=ri(e.ease,it.ease)),_(it,e||{})},config:function(e){return _(F,e||{})},registerEffect:function(e){var n=e.name,r=e.effect,t=e.plugins,s=e.defaults,e=e.extendTimeline;(t||"").split(",").forEach(function(e){return e&&!q[e]&&!a[e]&&wt(n+" effect requires "+e+" plugin.")}),kt[n]=function(e,t,i){return r(O(e),D(t||{},s),i)},e&&(P.prototype[n]=function(e,t,i){return this.add(kt[n](e,k(t)?t:(i=t)&&{},this),i)})},registerEase:function(e,t){L[e]=ri(t)},parseEase:function(e,t){return arguments.length?ri(e,t):L},getById:function(e){return B.getById(e)},exportRoot:function(e,t){var i,n,r=new P(e=void 0===e?{}:e);for(r.smoothChildTiming=z(e.smoothChildTiming),B.remove(r),r._dp=0,r._time=r._tTime=B._time,i=B._first;i;)n=i._next,!t&&!i._dur&&i instanceof X&&i.vars.onComplete===i._targets[0]||M(r,i,i._start-i._delay),i=n;return M(B,r,0),r},context:function(e,t){return e?new qi(e,t):l},matchMedia:function(e){return new $i(e)},matchMediaRefresh:function(){return Bi.forEach(function(e){var t,i,n=e.conditions;for(i in n)n[i]&&(n[i]=!1,t=1);t&&e.revert()})||ji()},addEventListener:function(e,t){e=Fi[e]||(Fi[e]=[]);~e.indexOf(t)||e.push(t)},removeEventListener:function(e,t){e=Fi[e],t=e&&e.indexOf(t);0<=t&&e.splice(t,1)},utils:{wrap:ye,wrapYoyo:be,distribute:fe,random:$t,snap:ge,normalize:function(e,t,i){return _e(e,t,0,1,i)},getUnit:$,clamp:function(t,i,e){return Ht(e,function(e){return pe(t,i,e)})},splitColor:Ut,toArray:O,selector:he,mapRange:_e,pipe:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return function(e){return t.reduce(function(e,t){return t(e)},e)}},unitize:function(t,i){return function(e){return t(parseFloat(e))+(i||$(e))}},interpolate:we,shuffle:Yt},install:n,effects:kt,ticker:m,updateRoot:P.updateRoot,plugins:q,globalTimeline:B,core:{PropTween:G,globals:o,Tween:X,Timeline:P,Animation:li,getCache:Pt,_removeLinkedListItem:x,reverting:function(){return j},context:function(e){return e&&l&&(l.data.push(e),e._ctx=l),l},suppressOverwrites:function(e){return Pe=e}}},In=(h("to,from,fromTo,delayedCall,set,killTweensOf",function(e){return kn[e]=X[e]}),m.add(P.updateRoot),Be=kn.to({},{duration:0}),function(e,t){for(var i=e._pt;i&&i.p!==t&&i.op!==t&&i.fp!==t;)i=i._next;return i}),f=kn.registerPlugin({name:"attr",init:function(e,t,i,n,r){var s,a,o;for(s in this.tween=i,t)o=e.getAttribute(s)||"",(a=this.add(e,"setAttribute",(o||0)+"",t[s],n,r,0,0,s)).op=s,a.b=o,this._props.push(s)},render:function(e,t){for(var i=t._pt;i;)j?i.set(i.t,i.p,i.b,i):i.r(e,i.d),i=i._next}},{name:"endArray",init:function(e,t){for(var i=t.length;i--;)this.add(e,i,e[i]||0,t[i],0,0,0,0,0,1)}},Gi("roundProps",me),Gi("modifiers"),Gi("snap",ge))||kn,t=(X.version=P.version=f.version="3.12.4",Re=1,s()&&Jt(),L.Power0),An=L.Power1,On=L.Power2,Ln=L.Power3,Pn=L.Power4,zn=L.Linear,Dn=L.Quad,Rn=L.Cubic,jn=L.Quart,Bn=L.Quint,Fn=L.Strong,Nn=L.Elastic,Hn=L.Back,Wn=L.SteppedEase,qn=L.Bounce,Yn=L.Sine,$n=L.Expo,Xn=L.Circ,Gn=function(){return"undefined"!=typeof window},Vn={},Un=180/Math.PI,Qn=Math.PI/180,Kn=Math.atan2,Zn=/([A-Z])/g,Jn=/(left|right|width|margin|padding|x)/i,er=/[\s,\(]\S/,V={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},U="transform",Q=U+"Origin",tr=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},ir=function(e,t){t=_n.createElementNS?_n.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):_n.createElement(e);return t&&t.style?t:_n.createElement(e)},nr=function e(t,i,n){var r=getComputedStyle(t);return r[i]||r.getPropertyValue(i.replace(Zn,"-$1").toLowerCase())||r.getPropertyValue(i)||!n&&e(t,sr(i)||i,1)||""},rr="O,Moz,ms,Ms,Webkit".split(","),sr=function(e,t,i){var n=(t||Tn).style,r=5;if(e in n&&!i)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);r--&&!(rr[r]+e in n););return r<0?null:(3===r?"ms":0<=r?rr[r]:"")+e},ar=function(t){var i;try{i=t.getBBox()}catch(e){i=un.call(t,!0)}return!(i=i&&(i.width||i.height)||t.getBBox===un?i:un.call(t,!0))||i.width||i.x||i.y?i:{x:+pn(t,["x","cx","x1"])||0,y:+pn(t,["y","cy","y1"])||0,width:0,height:0}},or=function(e){return!(!e.getCTM||e.parentNode&&!e.ownerSVGElement||!ar(e))},lr=function(e,t){var i;t&&(e=e.style,t in Vn&&t!==Q&&(t=U),e.removeProperty?("ms"!==(i=t.substr(0,2))&&"webkit"!==t.substr(0,6)||(t="-"+t),e.removeProperty("--"===i?t:t.replace(Zn,"-$1").toLowerCase())):e.removeAttribute(t))},cr=function(e,t,i,n,r,s){t=new G(e._pt,t,i,0,1,s?Ji:Zi);return(e._pt=t).b=n,t.e=r,e._props.push(i),t},dr={deg:1,rad:1,turn:1},ur={grid:1,flex:1},pr=function e(t,i,n,r){var s,a,o=parseFloat(n)||0,l=(n+"").trim().substr((o+"").length)||"px",c=Tn.style,d=Jn.test(i),u="svg"===t.tagName.toLowerCase(),p=(u?"client":"offset")+(d?"Width":"Height"),h="px"===r,f="%"===r;return r===l||!o||dr[r]||dr[l]?o:("px"===l||h||(o=e(t,i,n,"px")),n=t.getCTM&&or(t),!f&&"%"!==l||!Vn[i]&&!~i.indexOf("adius")?(c[d?"width":"height"]=100+(h?l:r),u=~i.indexOf("adius")||"em"===r&&t.appendChild&&!u?t:t.parentNode,(a=(u=(u=n?(t.ownerSVGElement||{}).parentNode:u)&&u!==_n&&u.appendChild?u:_n.body)._gsap)&&f&&a.width&&d&&a.time===m.time&&!a.uncache?Y(o/a.width*100):(!f||"height"!==i&&"width"!==i?(!f&&"%"!==l||ur[nr(u,"display")]||(c.position=nr(t,"position")),u===t&&(c.position="static"),u.appendChild(Tn),s=Tn[p],u.removeChild(Tn),c.position="absolute"):(l=t.style[i],t.style[i]=100+r,s=t[p],l?t.style[i]=l:lr(t,i)),d&&f&&((a=Pt(u)).time=m.time,a.width=u[p]),Y(h?s*o/100:s&&o?100/s*o:0))):(s=n?t.getBBox()[d?"width":"height"]:t[p],Y(f?o/s*100:o/100*s)))},hr=function(e,t,i,n){var r;return xn||dn(),t in V&&"transform"!==t&&~(t=V[t]).indexOf(",")&&(t=t.split(",")[0]),Vn[t]&&"transform"!==t?(r=_r(e,n),r="transformOrigin"!==t?r[t]:r.svg?r.origin:wr(nr(e,Q))+" "+r.zOrigin+"px"):(r=e.style[t])&&"auto"!==r&&!n&&!~(r+"").indexOf("calc(")||(r=mr[t]&&mr[t](e,t,i)||nr(e,t)||zt(e,t)||("opacity"===t?1:0)),i&&!~(r+"").trim().indexOf(" ")?pr(e,t,r,i)+i:r},fr={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},mr={clearProps:function(e,t,i,n,r){if("isFromStart"!==r.data)return(t=e._pt=new G(e._pt,t,i,0,0,fn)).u=n,t.pr=-10,t.tween=r,e._props.push(i),1}},gr=[1,0,0,1,0,0],vr={},yr=function(e){e=nr(e,U);return mn(e)?gr:e.substr(7).match(ht).map(Y)},br=function(e,t){var i,n,r,s=e._gsap||Pt(e),a=e.style,o=yr(e);return s.svg&&e.getAttribute("transform")?"1,0,0,1,0,0"===(o=[(n=e.transform.baseVal.consolidate().matrix).a,n.b,n.c,n.d,n.e,n.f]).join(",")?gr:o:(o!==gr||e.offsetParent||e===wn||s.svg||(n=a.display,a.display="block",(s=e.parentNode)&&e.offsetParent||(r=1,i=e.nextElementSibling,wn.appendChild(e)),o=yr(e),n?a.display=n:lr(e,"display"),r&&(i?s.insertBefore(e,i):s?s.appendChild(e):wn.removeChild(e))),t&&6<o.length?[o[0],o[1],o[4],o[5],o[12],o[13]]:o)},_r=function(e,t){var i,n,r,s,a,o,l,c,d,u,p,h,f,m,g,v,y,b,_,w,x,T,S,E,C,M,k,I,A,O,L,P=e._gsap||new oi(e);return"x"in P&&!t&&!P.uncache||(i=e.style,n=P.scaleX<0,h=getComputedStyle(e),r=nr(e,Q)||"0",O=s=a=l=c=d=u=p=0,L=o=1,P.svg=!(!e.getCTM||!or(e)),h.translate&&("none"===h.translate&&"none"===h.scale&&"none"===h.rotate||(i[U]=("none"!==h.translate?"translate3d("+(h.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==h.rotate?"rotate("+h.rotate+") ":"")+("none"!==h.scale?"scale("+h.scale.split(" ").join(",")+") ":"")+("none"!==h[U]?h[U]:"")),i.scale=i.rotate=i.translate="none"),h=br(e,P.svg),P.svg&&(x=P.uncache?(T=e.getBBox(),r=P.xOrigin-T.x+"px "+(P.yOrigin-T.y)+"px",""):!t&&e.getAttribute("data-svg-origin"),gn(e,x||r,!!x||P.originIsAbsolute,!1!==P.smooth,h)),A=P.xOrigin||0,k=P.yOrigin||0,h!==gr&&(g=h[0],v=h[1],y=h[2],b=h[3],O=_=h[4],s=w=h[5],6===h.length?(L=Math.sqrt(g*g+v*v),o=Math.sqrt(b*b+y*y),l=g||v?Kn(v,g)*Un:0,(u=y||b?Kn(y,b)*Un+l:0)&&(o*=Math.abs(Math.cos(u*Qn))),P.svg&&(O-=A-(A*g+k*y),s-=k-(A*v+k*b))):(A=h[6],k=h[7],E=h[8],C=h[9],M=h[10],I=h[11],O=h[12],s=h[13],a=h[14],c=(h=Kn(A,M))*Un,h&&(x=_*(f=Math.cos(-h))+E*(m=Math.sin(-h)),T=w*f+C*m,S=A*f+M*m,E=_*-m+E*f,C=w*-m+C*f,M=A*-m+M*f,I=k*-m+I*f,_=x,w=T,A=S),d=(h=Kn(-y,M))*Un,h&&(f=Math.cos(-h),I=b*(m=Math.sin(-h))+I*f,g=x=g*f-E*m,v=T=v*f-C*m,y=S=y*f-M*m),l=(h=Kn(v,g))*Un,h&&(x=g*(f=Math.cos(h))+v*(m=Math.sin(h)),T=_*f+w*m,v=v*f-g*m,w=w*f-_*m,g=x,_=T),c&&359.9<Math.abs(c)+Math.abs(l)&&(c=l=0,d=180-d),L=Y(Math.sqrt(g*g+v*v+y*y)),o=Y(Math.sqrt(w*w+A*A)),h=Kn(_,w),u=2e-4<Math.abs(h)?h*Un:0,p=I?1/(I<0?-I:I):0),P.svg)&&(x=e.getAttribute("transform"),P.forceCSS=e.setAttribute("transform","")||!mn(nr(e,U)),x)&&e.setAttribute("transform",x),90<Math.abs(u)&&Math.abs(u)<270&&(n?(L*=-1,u+=l<=0?180:-180,l+=l<=0?180:-180):(o*=-1,u+=u<=0?180:-180)),t=t||P.uncache,P.x=O-((P.xPercent=O&&(!t&&P.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-O)?-50:0)))?e.offsetWidth*P.xPercent/100:0)+"px",P.y=s-((P.yPercent=s&&(!t&&P.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-s)?-50:0)))?e.offsetHeight*P.yPercent/100:0)+"px",P.z=a+"px",P.scaleX=Y(L),P.scaleY=Y(o),P.rotation=Y(l)+"deg",P.rotationX=Y(c)+"deg",P.rotationY=Y(d)+"deg",P.skewX=u+"deg",P.skewY="0deg",P.transformPerspective=p+"px",(P.zOrigin=parseFloat(r.split(" ")[2])||!t&&P.zOrigin||0)&&(i[Q]=wr(r)),P.xOffset=P.yOffset=0,P.force3D=F.force3D,P.renderTransform=P.svg?Mr:Cn?Cr:xr,P.uncache=0),P},wr=function(e){return(e=e.split(" "))[0]+" "+e[1]},xr=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,Cr(e,t)},Tr="0deg",Sr="0px",Er=") ",Cr=function(e,t){var i,n,r,t=t||this,s=t.xPercent,a=t.yPercent,o=t.x,l=t.y,c=t.z,d=t.rotation,u=t.rotationY,p=t.rotationX,h=t.skewX,f=t.skewY,m=t.scaleX,g=t.scaleY,v=t.transformPerspective,y=t.force3D,b=t.target,t=t.zOrigin,_="",e="auto"===y&&e&&1!==e||!0===y;!t||p===Tr&&u===Tr||(y=parseFloat(u)*Qn,i=Math.sin(y),n=Math.cos(y),y=parseFloat(p)*Qn,r=Math.cos(y),o=vn(b,o,i*r*-t),l=vn(b,l,-Math.sin(y)*-t),c=vn(b,c,n*r*-t+t)),v!==Sr&&(_+="perspective("+v+Er),(s||a)&&(_+="translate("+s+"%, "+a+"%) "),!e&&o===Sr&&l===Sr&&c===Sr||(_+=c!==Sr||e?"translate3d("+o+", "+l+", "+c+") ":"translate("+o+", "+l+Er),d!==Tr&&(_+="rotate("+d+Er),u!==Tr&&(_+="rotateY("+u+Er),p!==Tr&&(_+="rotateX("+p+Er),h===Tr&&f===Tr||(_+="skew("+h+", "+f+Er),1===m&&1===g||(_+="scale("+m+", "+g+Er),b.style[U]=_||"translate(0, 0)"},Mr=function(e,t){var i,n,r,s,a,t=t||this,o=t.xPercent,l=t.yPercent,c=t.x,d=t.y,u=t.rotation,p=t.skewX,h=t.skewY,f=t.scaleX,m=t.scaleY,g=t.target,v=t.xOrigin,y=t.yOrigin,b=t.xOffset,_=t.yOffset,t=t.forceCSS,w=parseFloat(c),x=parseFloat(d),u=parseFloat(u),p=parseFloat(p);(h=parseFloat(h))&&(p+=h=parseFloat(h),u+=h),u||p?(u*=Qn,p*=Qn,i=Math.cos(u)*f,n=Math.sin(u)*f,r=Math.sin(u-p)*-m,s=Math.cos(u-p)*m,p&&(h*=Qn,a=Math.tan(p-h),r*=a=Math.sqrt(1+a*a),s*=a,h)&&(a=Math.tan(h),i*=a=Math.sqrt(1+a*a),n*=a),i=Y(i),n=Y(n),r=Y(r),s=Y(s)):(i=f,s=m,n=r=0),(w&&!~(c+"").indexOf("px")||x&&!~(d+"").indexOf("px"))&&(w=pr(g,"x",c,"px"),x=pr(g,"y",d,"px")),(v||y||b||_)&&(w=Y(w+v-(v*i+y*r)+b),x=Y(x+y-(v*n+y*s)+_)),(o||l)&&(a=g.getBBox(),w=Y(w+o/100*a.width),x=Y(x+l/100*a.height)),g.setAttribute("transform",a="matrix("+i+","+n+","+r+","+s+","+w+","+x+")"),t&&(g.style[U]=a)},kr=(h("padding,margin,Width,Radius",function(t,i){var e="Bottom",o=(i<3?["Top","Right",e,"Left"]:["TopLeft","TopRight",e+"Right",e+"Left"]).map(function(e){return i<2?t+e:"border"+e+t});mr[1<i?"border"+t:t]=function(t,e,i,n,r){var s,a;if(arguments.length<4)return s=o.map(function(e){return hr(t,e,i)}),5===(a=s.join(" ")).split(s[0]).length?s[0]:a;s=(n+"").split(" "),a={},o.forEach(function(e,t){return a[e]=s[t]=s[t]||s[(t-1)/2|0]}),t.init(e,a,r)}}),{name:"css",register:dn,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,i,n,r){var s,a,o,l,c,d,u,p,h,R,f,m,j,g,v,y,b,_,w,x,B=this._props,T=e.style,S=i.vars.startAt;for(c in xn||dn(),this.styles=this.styles||cn(e),g=this.styles.props,this.tween=i,t)if("autoRound"!==c&&(a=t[c],!q[c]||!pi(c,t,i,n,e,r)))if(p=typeof a,l=mr[c],"string"===(p="function"===p?typeof(a=a.call(i,n,e,r)):p)&&~a.indexOf("random(")&&(a=Xt(a)),l)l(this,e,c,a,i)&&(j=1);else if("--"===c.substr(0,2))s=(getComputedStyle(e).getPropertyValue(c)+"").trim(),a+="",Kt.lastIndex=0,Kt.test(s)||(d=$(s),u=$(a)),u?d!==u&&(s=pr(e,c,s,u)+u):d&&(a+=d),this.add(T,"setProperty",s,a,n,r,0,0,c),B.push(c),g.push(c,0,T[c]);else if("undefined"!==p){if((!(S&&c in S)||(s="function"==typeof S[c]?S[c].call(i,n,e,r):S[c],W(s)&&~s.indexOf("random(")&&(s=Xt(s)),$(s+"")||"auto"===s||(s+=F.units[c]||$(hr(e,c))||""),"="===(s+"").charAt(1)))&&(s=hr(e,c)),l=parseFloat(s),(p="string"===p&&"="===a.charAt(1)&&a.substr(0,2))&&(a=a.substr(2)),o=parseFloat(a),h=(c=c in V&&("autoAlpha"===c&&(1===l&&"hidden"===hr(e,"visibility")&&o&&(l=0),g.push("visibility",0,T.visibility),cr(this,T,"visibility",l?"inherit":"hidden",o?"inherit":"hidden",!o)),"scale"!==c)&&"transform"!==c&&~(c=V[c]).indexOf(",")?c.split(",")[0]:c)in Vn)if(this.styles.save(c),R||((f=e._gsap).renderTransform&&!t.parseTransform||_r(e,t.parseTransform),m=!1!==t.smoothOrigin&&f.smooth,(R=this._pt=new G(this._pt,T,U,0,1,f.renderTransform,f,0,-1)).dep=1),"scale"===c)this._pt=new G(this._pt,f,"scaleY",f.scaleY,(p?Dt(f.scaleY,p+o):o)-f.scaleY||0,Vi),this._pt.u=0,B.push("scaleY",c),c+="X";else{if("transformOrigin"===c){g.push(Q,0,T[Q]),x=w=_=void 0,_=(b=a).split(" "),w=_[0],x=_[1]||"50%","top"!==w&&"bottom"!==w&&"left"!==x&&"right"!==x||(b=w,w=x,x=b),_[0]=fr[w]||w,_[1]=fr[x]||x,a=_.join(" "),f.svg?gn(e,a,0,m,0,this):((u=parseFloat(a.split(" ")[2])||0)!==f.zOrigin&&cr(this,f,"zOrigin",f.zOrigin,u),cr(this,T,c,wr(s),wr(a)));continue}if("svgOrigin"===c){gn(e,a,1,m,0,this);continue}if(c in vr){b=this,w=f,x=c,_=l,v=p?Dt(l,p+a):a,y=L=D=void 0,D=W(v),L=parseFloat(v)*(D&&~v.indexOf("rad")?Un:1)-_,y=_+L+"deg",D&&("short"===(D=v.split("_")[1])&&(L%=360)!==L%180&&(L+=L<0?360:-360),"cw"===D&&L<0?L=(L+36e9)%360-360*~~(L/360):"ccw"===D&&0<L&&(L=(L-36e9)%360-360*~~(L/360))),b._pt=v=new G(b._pt,w,x,_,L,Ui),v.e=y,v.u="deg",b._props.push(x);continue}if("smoothOrigin"===c){cr(this,f,"smooth",f.smooth,a);continue}if("force3D"===c){f[c]=a;continue}if("transform"===c){A=k=I=M=C=E=D=z=void 0;var E,C,M,k,I,A,O=this,L=a,P=e,z=yn({},P._gsap),D=P.style;for(C in z.svg?(M=P.getAttribute("transform"),P.setAttribute("transform",""),D[U]=L,E=_r(P,1),lr(P,U),P.setAttribute("transform",M)):(M=getComputedStyle(P)[U],D[U]=L,E=_r(P,1),D[U]=M),Vn)(M=z[C])!==(I=E[C])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(C)<0&&(k=$(M)!==(A=$(I))?pr(P,C,M,A):parseFloat(M),I=parseFloat(I),O._pt=new G(O._pt,E,C,k,I-k,Vi),O._pt.u=A||0,O._props.push(C));yn(E,z);continue}}else c in T||(c=sr(c)||c);if(h||(o||0===o)&&(l||0===l)&&!er.test(a)&&c in T)o=o||0,(d=(s+"").substr((l+"").length))!==(u=$(a)||(c in F.units?F.units[c]:d))&&(l=pr(e,c,s,u)),this._pt=new G(this._pt,h?f:T,c,l,(p?Dt(l,p+o):o)-l,h||"px"!==u&&"zIndex"!==c||!1===t.autoRound?Vi:Ki),this._pt.u=u||0,d!==u&&"%"!==u&&(this._pt.b=s,this._pt.r=Qi);else if(c in T)hn.call(this,e,c,s,p?p+a:a);else if(c in e)this.add(e,c,s||e[c],p?p+a:a,n,r);else if("parseTransform"!==c){_t(c,a);continue}h||(c in T?g.push(c,0,T[c]):g.push(c,1,s||e[c])),B.push(c)}j&&zi(this)},render:function(e,t){if(t.tween._time||!En())for(var i=t._pt;i;)i.r(e,i.d),i=i._next;else t.styles.revert()},get:hr,aliases:V,getSetter:function(e,t,i){var n=V[t];return(t=n&&n.indexOf(",")<0?n:t)in Vn&&t!==Q&&(e._gsap.x||hr(e,"x"))?i&&Sn===i?"scale"===t?rn:nn:(Sn=i||{})&&("scale"===t?sn:an):e.style&&!dt(e.style[t])?en:~t.indexOf("-")?tn:Mi(e,t)},core:{_removeProperty:lr,_getMatrix:br}}),Ir=(f.utils.checkPrefix=sr,f.core.getStyleSaver=cn,Mn=h((Ir="x,y,z,scale,scaleX,scaleY,xPercent,yPercent")+","+(Ar="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(e){Vn[e]=1}),h(Ar,function(e){F.units[e]="deg",vr[e]=1}),V[Mn[13]]=Ir+","+Ar,h("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(e){e=e.split(":");V[e[1]]=Mn[e[0]]}),h("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(e){F.units[e]="px"}),f.registerPlugin(kr),f.registerPlugin(kr)||f),Ar=Ir.core.Tween;e.Back=Hn,e.Bounce=qn,e.CSSPlugin=kr,e.Circ=Xn,e.Cubic=Rn,e.Elastic=Nn,e.Expo=$n,e.Linear=zn,e.Power0=t,e.Power1=An,e.Power2=On,e.Power3=Ln,e.Power4=Pn,e.Quad=Dn,e.Quart=jn,e.Quint=Bn,e.Sine=Yn,e.SteppedEase=Wn,e.Strong=Fn,e.TimelineLite=P,e.TimelineMax=P,e.TweenLite=X,e.TweenMax=Ar,e.default=Ir,e.gsap=Ir,"undefined"==typeof window||window!==e?Object.defineProperty(e,"__esModule",{value:!0}):delete window.default}),
/*!
Images Loaded Packaged
Version: v5.0.0
Plugin URL: https://imagesloaded.desandro.com/
License: Copyright 2021-2024 | Released under the MIT License
!*/
function(e,t){"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){var i;return e&&t&&((i=(i=this._events=this._events||{})[e]=i[e]||[]).includes(t)||i.push(t)),this},t.once=function(e,t){var i;return e&&t&&(this.on(e,t),((i=this._onceEvents=this._onceEvents||{})[e]=i[e]||{})[t]=!0),this},t.off=function(e,t){e=this._events&&this._events[e];return e&&e.length&&-1!=(t=e.indexOf(t))&&e.splice(t,1),this},t.emitEvent=function(e,t){let i=this._events&&this._events[e];if(i&&i.length){i=i.slice(0),t=t||[];var n,r=this._onceEvents&&this._onceEvents[e];for(n of i)r&&r[n]&&(this.off(e,n),delete r[n]),n.apply(this,t)}return this},t.allOff=function(){return delete this._events,delete this._onceEvents,this},e}),
/*!
* imagesLoaded v5.0.0
* JavaScript is all like "You images are done yet or what?"
* MIT License
*/
function(e,t){"object"==typeof module&&module.exports?module.exports=t(e,require("ev-emitter")):e.imagesLoaded=t(e,e.EvEmitter)}("undefined"!=typeof window?window:this,function(t,e){let s=t.jQuery,a=t.console;function o(e,t,i){if(!(this instanceof o))return new o(e,t,i);let n=e;var r;(n="string"==typeof e?document.querySelectorAll(e):n)?(this.elements=(r=n,Array.isArray(r)?r:"object"==typeof r&&"number"==typeof r.length?[...r]:[r]),this.options={},"function"==typeof t?i=t:Object.assign(this.options,t),i&&this.on("always",i),this.getImages(),s&&(this.jqDeferred=new s.Deferred),setTimeout(this.check.bind(this))):a.error("Bad element for imagesLoaded "+(n||e))}(o.prototype=Object.create(e.prototype)).getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)};const r=[1,9,11],l=(o.prototype.addElementImages=function(e){"IMG"===e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);var t,i,n=e["nodeType"];if(n&&r.includes(n)){for(t of e.querySelectorAll("img"))this.addImage(t);if("string"==typeof this.options.background)for(i of e.querySelectorAll(this.options.background))this.addElementBackgroundImages(i)}},/url\((['"])?(.*?)\1\)/gi);function i(e){this.img=e}function n(e,t){this.url=e,this.element=t,this.img=new Image}return o.prototype.addElementBackgroundImages=function(t){var i=getComputedStyle(t);if(i){let e=l.exec(i.backgroundImage);for(;null!==e;){var n=e&&e[2];n&&this.addBackground(n,t),e=l.exec(i.backgroundImage)}}},o.prototype.addImage=function(e){e=new i(e);this.images.push(e)},o.prototype.addBackground=function(e,t){e=new n(e,t);this.images.push(e)},o.prototype.check=function(){if(this.progressedCount=0,this.hasAnyBroken=!1,this.images.length){let t=(e,t,i)=>{setTimeout(()=>{this.progress(e,t,i)})};this.images.forEach(function(e){e.once("progress",t),e.check()})}else this.complete()},o.prototype.progress=function(e,t,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount===this.images.length&&this.complete(),this.options.debug&&a&&a.log("progress: "+i,e,t)},o.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred&&(e=this.hasAnyBroken?"reject":"resolve",this.jqDeferred[e](this))},(i.prototype=Object.create(e.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)},i.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},i.prototype.confirm=function(e,t){this.isLoaded=e;e=this.img.parentNode,e="PICTURE"===e.nodeName?e:this.img;this.emitEvent("progress",[this,e,t])},i.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},i.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},i.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},i.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},(n.prototype=Object.create(i.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())},n.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},n.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},(o.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((s=e).fn.imagesLoaded=function(e,t){return new o(this,e,t).jqDeferred.promise(s(this))})})(),o}),
/*!
Carto - Interactive portfolio
Created by ThemeZaa
!*/
$(function(){"use strict";const s=document.getElementById("stickyImgContainer");if(void 0!==s&&null!=s){var e=document.querySelector(".slides").querySelectorAll(".slide"),e=Array.from(e).map(e=>({image:"",title:"title1",meta:""}));class n{constructor(e){this.data=document.querySelectorAll(".slide"),this.container=document.querySelector(".slides"),this.currentIdx=0,this.slides=document.querySelectorAll(".slide")}mount(e){e.appendChild(this.container);for(let e=0;e<this.slides.length;e++)0===e?(this.slides[e].classList.remove("next"),this.slides[e].classList.remove("prev"),this.slides[e].classList.add("show-meta"),document.querySelector(".bg-overlay").style.backgroundImage=`url("${this.slides[e].dataset.bg}")`):e<0?(this.slides[e].classList.remove("next"),this.slides[e].classList.add("prev")):(this.slides[e].classList.add("next"),this.slides[e].classList.remove("prev"))}onActiveIndexChange(t){this.currentIdx=t;for(let e=0;e<this.slides.length;e++)t===e?(this.slides[e].classList.remove("next"),this.slides[e].classList.remove("prev"),document.querySelector(".bg-overlay").style.backgroundImage=`url("${this.slides[e].dataset.bg}")`):t>e?(this.slides[e].classList.remove("next"),this.slides[e].classList.add("prev")):(this.slides[e].classList.add("next"),this.slides[e].classList.remove("prev"))}onMove(e){this.container.style.transform=`translateY(${100*e/this.slides.length}%)`}appear(){this.container.classList.add("scrolling"),s.classList.add("scrolling"),this.slides[this.currentIdx].classList.remove("show-meta")}disperse(t){this.currentIdx=t,this.slides[this.currentIdx].classList.add("show-meta"),this.container.classList.remove("scrolling"),s.classList.remove("scrolling");for(let e=0;e<this.data.length;e++)e>t?(this.slides[e].classList.add("next"),this.slides[e].classList.remove("prev")):e<t?(this.slides[e].classList.remove("next"),this.slides[e].classList.add("prev")):(this.slides[e].classList.remove("next"),this.slides[e].classList.remove("prev"))}}class r{constructor({onGrabStart:e,onGrabMove:t,onGrabEnd:i}){this.onGrabEnd=i,this.onGrabStart=e,this.onGrabMove=t,this.scroll={start:0,current:0,initial:0},this.listen("mousedown",this.onMouseDown.bind(this)),this.listen("mousemove",this.onMouseMove.bind(this)),this.listen("mouseup",this.onMouseUp.bind(this)),this.listen("touchstart",this.onMouseDown.bind(this),!0),this.listen("touchmove",this.onMouseMove.bind(this),!0),this.listen(["touchend","touchcancel"],this.onMouseUp.bind(this),!0)}listen(t,i,e){const n=this;let r=e?function(e){i({y:e.targetTouches[0]?e.targetTouches[0].clientY:null})}:function(e){"mouseout"===e.type&&null!=e.relatedTarget||i({y:e.clientY})};if(Array.isArray(t))for(let e=0;e<t.length;e++)window.addEventListener(t[e],r,!1);else window.addEventListener(t,function(e){e.target.closest(".stickyImageContainer")===s?r(e):n.onMouseUp()},!1)}onMouseDown(e){this.scroll.inital=this.scroll.current,this.scroll.start=e.y,this.scroll.current=e.y,this.scroll.delta=this.scroll.current-this.scroll.start,this.onGrabStart({delta:this.scroll.delta,direction:Math.abs(this.scroll.delta),current:this.scroll.current,start:this.scroll.start})}onMouseMove(e){this.scroll.start&&(this.scroll.current=e.y,this.scroll.delta=this.scroll.current-this.scroll.start,this.onGrabMove({delta:this.scroll.delta,direction:Math.abs(this.scroll.delta),current:this.scroll.current,start:this.scroll.start}))}onMouseUp(){this.scroll.start&&(this.onGrabEnd({delta:this.scroll.delta,direction:Math.abs(this.scroll.delta),current:this.scroll.current,start:this.scroll.start}),this.scroll.start=null,this.scroll.current=null,this.scroll.delta=null)}}const a=function({from:e,to:s,restDelta:a=.01}){let o=Object.assign({},e),l=Object.keys(e),c={current:null},d=function(e,t){if(0===l.length)cancelAnimationFrame(c.current),c.current=null,t(o);else{l.slice();for(var i,n,r=l.length;0<=r;r--)n=l[r],i=o[n]+.1*(s[n]-o[n]),Math.abs(s[n]-i)<a?(o[n]=s[n],l.splice(r,1),r--):o[n]=i;e(o),c.current=requestAnimationFrame(d)}};return{start:function({update:e,complete:t}){return d=d.bind(null,e,t),c.current=requestAnimationFrame(d),{stop:function(){cancelAnimationFrame(c.current),c.current=null}}}}};function t(e,t={}){this.data=e,this.progress=0,this.direction=1,this.waveIntensity=0,this.options=t,this.index={target:0,current:0,initial:0,scrollSize:window.innerHeight/6,active:0},this.follower={x:0,y:0},this.followerSpring=null,this.slidesSpring=null,this.grab=new r({onGrabStart:this.onGrabStart.bind(this),onGrabMove:this.onGrabMove.bind(this),onGrabEnd:this.onGrabEnd.bind(this)})}function i(e,t,i){return Math.max(t,Math.min(e,i))}t.prototype.onGrabMove=function(e){this.index.target=i(this.index.initial+e.delta/this.index.scrollSize,.51-this.data.length,.49);e=i(Math.round(-this.index.target),0,this.data.length-1);this.index.active!==e&&(this.index.active=e,this.options.onActiveIndexChange)&&this.options.onActiveIndexChange(this.index.active),this.slidesPop&&this.slidesPop.stop(),this.slidesPop=a({from:{index:this.index.current},to:{index:this.index.target},restDelta:.001}).start({update:e=>{this.options.onIndexChange&&this.options.onIndexChange(e.index),this.index.current=e.index},complete:e=>{this.options.onIndexChange&&this.options.onIndexChange(e.index),this.index.current=e.index}})},t.prototype.onGrabStart=function(){this.options.onZoomOutStart&&this.options.onZoomOutStart({activeIndex:this.index.active}),this.index.initial=this.index.current},t.prototype.snapCurrentToActiveIndex=function(){this.slidesPop&&this.slidesPop.stop(),this.slidesPop=a({from:{index:this.index.current},to:{index:Math.round(this.index.target)},restDelta:.001}).start({complete:()=>{},update:e=>{this.options.onIndexChange&&this.options.onIndexChange(e.index),this.index.current=e.index}})},t.prototype.onGrabEnd=function(){this.options.onFullscreenStart&&(this.options.onFullscreenStart({activeIndex:this.index.active}),this.snapCurrentToActiveIndex())},t.prototype.onResize=function(){};const o=new n;new t(e,{onActiveIndexChange:e=>{o.onActiveIndexChange(e)},onIndexChange:e=>{o.onMove(e)},onZoomOutStart:({})=>{o.appear()},onZoomOutFinish:({})=>{},onFullscreenStart:({activeIndex:e})=>{o.disperse(e)},onFullscreenFinish:({})=>{}});o.mount(s)}}),
/*!
Isotope
Version: v3.0.6
Plugin URL: https://isotope.metafizzy.co
License: Copyright 2010-2018 Metafizzy | Licensed GPLv3 for open source use or Isotope Commercial License for commercial use
!*/
function(t,i){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(e){return i(t,e)}):"object"==typeof module&&module.exports?module.exports=i(t,require("jquery")):t.jQueryBridget=i(t,t.jQuery)}(window,function(e,t){"use strict";var i=Array.prototype.slice,n=e.console,u=void 0===n?function(){}:function(e){n.error(e)};function r(l,c,d){(d=d||t||e.jQuery)&&(c.prototype.option||(c.prototype.option=function(e){d.isPlainObject(e)&&(this.options=d.extend(!0,this.options,e))}),d.fn[l]=function(e){var t,n,r,s,a,o;return"string"==typeof e?(t=i.call(arguments,1),r=t,a="$()."+l+'("'+(n=e)+'")',(t=this).each(function(e,t){var i,t=d.data(t,l);t?(i=t[n])&&"_"!=n.charAt(0)?(i=i.apply(t,r),s=void 0===s?i:s):u(a+" is not a valid method"):u(l+" not initialized. Cannot call methods, i.e. "+a)}),void 0!==s?s:t):(o=e,this.each(function(e,t){var i=d.data(t,l);i?(i.option(o),i._init()):(i=new c(t,o),d.data(t,l,i))}),this)},s(d))}function s(e){e&&!e.bridget&&(e.bridget=r)}return s(t||e.jQuery),r}),function(e,t){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){var i;if(e&&t)return-1==(i=(i=this._events=this._events||{})[e]=i[e]||[]).indexOf(t)&&i.push(t),this},t.once=function(e,t){var i;if(e&&t)return this.on(e,t),((i=this._onceEvents=this._onceEvents||{})[e]=i[e]||{})[t]=!0,this},t.off=function(e,t){e=this._events&&this._events[e];if(e&&e.length)return-1!=(t=e.indexOf(t))&&e.splice(t,1),this},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){i=i.slice(0),t=t||[];for(var n=this._onceEvents&&this._onceEvents[e],r=0;r<i.length;r++){var s=i[r];n&&n[s]&&(this.off(e,s),delete n[s]),s.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e}),
/*!
* getSize v2.0.3
* measure size of elements
* MIT license
*/
function(e,t){"function"==typeof define&&define.amd?define("get-size/get-size",t):"object"==typeof module&&module.exports?module.exports=t():e.getSize=t()}(window,function(){"use strict";function g(e){var t=parseFloat(e);return-1==e.indexOf("%")&&!isNaN(t)&&t}var t="undefined"==typeof console?function(){}:function(e){console.error(e)},v=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],y=v.length;function b(e){e=getComputedStyle(e);return e||t("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}var _,w=!1;function x(e){if(w||(w=!0,(d=document.createElement("div")).style.width="200px",d.style.padding="1px 2px 3px 4px",d.style.borderStyle="solid",d.style.borderWidth="1px 2px 3px 4px",d.style.boxSizing="border-box",(c=document.body||document.documentElement).appendChild(d),s=b(d),_=200==Math.round(g(s.width)),x.isBoxSizeOuter=_,c.removeChild(d)),(e="string"==typeof e?document.querySelector(e):e)&&"object"==typeof e&&e.nodeType){var t=b(e);if("none"==t.display){for(var i={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},n=0;n<y;n++)i[v[n]]=0;return i}for(var r={},s=(r.width=e.offsetWidth,r.height=e.offsetHeight,r.isBorderBox="border-box"==t.boxSizing),a=0;a<y;a++){var o=v[a],l=t[o],l=parseFloat(l);r[o]=isNaN(l)?0:l}var c=r.paddingLeft+r.paddingRight,d=r.paddingTop+r.paddingBottom,e=r.marginLeft+r.marginRight,u=r.marginTop+r.marginBottom,p=r.borderLeftWidth+r.borderRightWidth,h=r.borderTopWidth+r.borderBottomWidth,f=s&&_,m=g(t.width),m=(!1!==m&&(r.width=m+(f?0:c+p)),g(t.height));return!1!==m&&(r.height=m+(f?0:d+h)),r.innerWidth=r.width-(c+p),r.innerHeight=r.height-(d+h),r.outerWidth=r.width+e,r.outerHeight=r.height+u,r}}return x}),function(e,t){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",t):"object"==typeof module&&module.exports?module.exports=t():e.matchesSelector=t()}(window,function(){"use strict";var i=function(){var e=window.Element.prototype;if(e.matches)return"matches";if(e.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],i=0;i<t.length;i++){var n=t[i]+"MatchesSelector";if(e[n])return n}}();return function(e,t){return e[i](t)}}),function(t,i){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(e){return i(t,e)}):"object"==typeof module&&module.exports?module.exports=i(t,require("desandro-matches-selector")):t.fizzyUIUtils=i(t,t.matchesSelector)}(window,function(i,s){var l={extend:function(e,t){for(var i in t)e[i]=t[i];return e},modulo:function(e,t){return(e%t+t)%t}},t=Array.prototype.slice,c=(l.makeArray=function(e){return Array.isArray(e)?e:null==e?[]:"object"==typeof e&&"number"==typeof e.length?t.call(e):[e]},l.removeFrom=function(e,t){t=e.indexOf(t);-1!=t&&e.splice(t,1)},l.getParent=function(e,t){for(;e.parentNode&&e!=document.body;)if(e=e.parentNode,s(e,t))return e},l.getQueryElement=function(e){return"string"==typeof e?document.querySelector(e):e},l.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},l.filterFindElements=function(e,n){e=l.makeArray(e);var r=[];return e.forEach(function(e){if(e instanceof HTMLElement)if(n){s(e,n)&&r.push(e);for(var t=e.querySelectorAll(n),i=0;i<t.length;i++)r.push(t[i])}else r.push(e)}),r},l.debounceMethod=function(e,t,n){n=n||100;var r=e.prototype[t],s=t+"Timeout";e.prototype[t]=function(){var e=this[s],t=(clearTimeout(e),arguments),i=this;this[s]=setTimeout(function(){r.apply(i,t),delete i[s]},n)}},l.docReady=function(e){var t=document.readyState;"complete"==t||"interactive"==t?setTimeout(e):document.addEventListener("DOMContentLoaded",e)},l.toDashed=function(e){return e.replace(/(.)([A-Z])/g,function(e,t,i){return t+"-"+i}).toLowerCase()},i.console);return l.htmlInit=function(a,o){l.docReady(function(){var e=l.toDashed(o),n="data-"+e,t=document.querySelectorAll("["+n+"]"),e=document.querySelectorAll(".js-"+e),t=l.makeArray(t).concat(l.makeArray(e)),r=n+"-options",s=i.jQuery;t.forEach(function(t){var e,i=t.getAttribute(n)||t.getAttribute(r);try{e=i&&JSON.parse(i)}catch(e){return void(c&&c.error("Error parsing "+n+" on "+t.className+": "+e))}i=new a(t,e);s&&s.data(t,o,i)})})},l}),function(e,t){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],t):"object"==typeof module&&module.exports?module.exports=t(require("ev-emitter"),require("get-size")):(e.Outlayer={},e.Outlayer.Item=t(e.EvEmitter,e.getSize))}(window,function(e,t){"use strict";var i=document.documentElement.style,n="string"==typeof i.transition?"transition":"WebkitTransition",i="string"==typeof i.transform?"transform":"WebkitTransform",r={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[n],s={transform:i,transition:n,transitionDuration:n+"Duration",transitionProperty:n+"Property",transitionDelay:n+"Delay"};function a(e,t){e&&(this.element=e,this.layout=t,this.position={x:0,y:0},this._create())}e=a.prototype=Object.create(e.prototype);e.constructor=a,e._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},e.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},e.getSize=function(){this.size=t(this.element)},e.css=function(e){var t,i=this.element.style;for(t in e)i[s[t]||t]=e[t]},e.getPosition=function(){var e=getComputedStyle(this.element),t=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),n=e[t?"left":"right"],e=e[i?"top":"bottom"],r=parseFloat(n),s=parseFloat(e),a=this.layout.size;-1!=n.indexOf("%")&&(r=r/100*a.width),-1!=e.indexOf("%")&&(s=s/100*a.height),r=isNaN(r)?0:r,s=isNaN(s)?0:s,r-=t?a.paddingLeft:a.paddingRight,s-=i?a.paddingTop:a.paddingBottom,this.position.x=r,this.position.y=s},e.layoutPosition=function(){var e=this.layout.size,t={},i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),r=i?"right":"left",s=this.position.x+e[i?"paddingLeft":"paddingRight"],i=(t[i?"left":"right"]=this.getXValue(s),t[r]="",n?"paddingTop":"paddingBottom"),s=n?"bottom":"top",r=this.position.y+e[i];t[n?"top":"bottom"]=this.getYValue(r),t[s]="",this.css(t),this.emitEvent("layout",[this])},e.getXValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!t?e/this.layout.size.width*100+"%":e+"px"},e.getYValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&t?e/this.layout.size.height*100+"%":e+"px"},e._transitionTo=function(e,t){this.getPosition();var i=this.position.x,n=this.position.y,r=e==this.position.x&&t==this.position.y;this.setPosition(e,t),r&&!this.isTransitioning?this.layoutPosition():((r={}).transform=this.getTranslate(e-i,t-n),this.transition({to:r,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0}))},e.getTranslate=function(e,t){return"translate3d("+(e=this.layout._getOption("originLeft")?e:-e)+"px, "+(t=this.layout._getOption("originTop")?t:-t)+"px, 0)"},e.goTo=function(e,t){this.setPosition(e,t),this.layoutPosition()},e.moveTo=e._transitionTo,e.setPosition=function(e,t){this.position.x=parseFloat(e),this.position.y=parseFloat(t)},e._nonTransition=function(e){for(var t in this.css(e.to),e.isCleaning&&this._removeStyles(e.to),e.onTransitionEnd)e.onTransitionEnd[t].call(this)},e.transition=function(e){if(parseFloat(this.layout.options.transitionDuration)){var t,i=this._transn;for(t in e.onTransitionEnd)i.onEnd[t]=e.onTransitionEnd[t];for(t in e.to)i.ingProperties[t]=!0,e.isCleaning&&(i.clean[t]=!0);e.from&&(this.css(e.from),this.element.offsetHeight,0),this.enableTransition(e.to),this.css(e.to),this.isTransitioning=!0}else this._nonTransition(e)};var o="opacity,"+i.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()}),l=(e.enableTransition=function(){var e;this.isTransitioning||(e=this.layout.options.transitionDuration,this.css({transitionProperty:o,transitionDuration:e="number"==typeof e?e+"ms":e,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(r,this,!1))},e.onwebkitTransitionEnd=function(e){this.ontransitionend(e)},e.onotransitionend=function(e){this.ontransitionend(e)},{"-webkit-transform":"transform"}),c=(e.ontransitionend=function(e){var t,i;e.target===this.element&&(t=this._transn,i=l[e.propertyName]||e.propertyName,delete t.ingProperties[i],function(e){for(var t in e)return;return 1}(t.ingProperties)&&this.disableTransition(),i in t.clean&&(this.element.style[e.propertyName]="",delete t.clean[i]),i in t.onEnd&&(t.onEnd[i].call(this),delete t.onEnd[i]),this.emitEvent("transitionEnd",[this]))},e.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(r,this,!1),this.isTransitioning=!1},e._removeStyles=function(e){var t,i={};for(t in e)i[t]="";this.css(i)},{transitionProperty:"",transitionDuration:"",transitionDelay:""});return e.removeTransitionStyles=function(){this.css(c)},e.stagger=function(e){e=isNaN(e)?0:e,this.staggerDelay=e+"ms"},e.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},e.remove=function(){n&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),this.hide()):this.removeElem()},e.reveal=function(){delete this.isHidden,this.css({display:""});var e=this.layout.options,t={};t[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:e.hiddenStyle,to:e.visibleStyle,isCleaning:!0,onTransitionEnd:t})},e.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},e.getHideRevealTransitionEndProperty=function(e){var t,e=this.layout.options[e];if(e.opacity)return"opacity";for(t in e)return t},e.hide=function(){this.isHidden=!0,this.css({display:""});var e=this.layout.options,t={};t[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:e.visibleStyle,to:e.hiddenStyle,isCleaning:!0,onTransitionEnd:t})},e.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},e.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},a}),
/*!
* Outlayer v2.1.1
* the brains and guts of a layout library
* MIT license
*/
function(r,s){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(e,t,i,n){return s(r,e,t,i,n)}):"object"==typeof module&&module.exports?module.exports=s(r,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):r.Outlayer=s(r,r.EvEmitter,r.getSize,r.fizzyUIUtils,r.Outlayer.Item)}(window,function(e,t,r,n,s){"use strict";function i(){}var a=e.console,o=e.jQuery,l=0,c={};function d(e,t){var i=n.getQueryElement(e);i?(this.element=i,o&&(this.$element=o(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(t),t=++l,this.element.outlayerGUID=t,(c[t]=this)._create(),this._getOption("initLayout")&&this.layout()):a&&a.error("Bad element for "+this.constructor.namespace+": "+(i||e))}d.namespace="outlayer",d.Item=s,d.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var u=d.prototype;function p(e){function t(){e.apply(this,arguments)}return(t.prototype=Object.create(e.prototype)).constructor=t}n.extend(u,t.prototype),u.option=function(e){n.extend(this.options,e)},u._getOption=function(e){var t=this.constructor.compatOptions[e];return t&&void 0!==this.options[t]?this.options[t]:this.options[e]},d.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},u._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),n.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},u.reloadItems=function(){this.items=this._itemize(this.element.children)},u._itemize=function(e){for(var t=this._filterFindItemElements(e),i=this.constructor.Item,n=[],r=0;r<t.length;r++){var s=new i(t[r],this);n.push(s)}return n},u._filterFindItemElements=function(e){return n.filterFindElements(e,this.options.itemSelector)},u.getItemElements=function(){return this.items.map(function(e){return e.element})},u.layout=function(){this._resetLayout(),this._manageStamps();var e=this._getOption("layoutInstant"),e=void 0!==e?e:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},u._init=u.layout,u._resetLayout=function(){this.getSize()},u.getSize=function(){this.size=r(this.element)},u._getMeasurement=function(e,t){var i,n=this.options[e];n?("string"==typeof n?i=this.element.querySelector(n):n instanceof HTMLElement&&(i=n),this[e]=i?r(i)[t]:n):this[e]=0},u.layoutItems=function(e,t){e=this._getItemsForLayout(e),this._layoutItems(e,t),this._postLayout()},u._getItemsForLayout=function(e){return e.filter(function(e){return!e.isIgnored})},u._layoutItems=function(e,i){var n;this._emitCompleteOnItems("layout",e),e&&e.length&&(n=[],e.forEach(function(e){var t=this._getItemLayoutPosition(e);t.item=e,t.isInstant=i||e.isLayoutInstant,n.push(t)},this),this._processLayoutQueue(n))},u._getItemLayoutPosition=function(){return{x:0,y:0}},u._processLayoutQueue=function(e){this.updateStagger(),e.forEach(function(e,t){this._positionItem(e.item,e.x,e.y,e.isInstant,t)},this)},u.updateStagger=function(){var e=this.options.stagger;if(null!=e)return this.stagger=function(e){if("number"==typeof e)return e;var e=e.match(/(^\d*\.?\d*)(\w*)/),t=e&&e[1],e=e&&e[2];if(!t.length)return 0;t=parseFloat(t);e=h[e]||1;return t*e}(e),this.stagger;this.stagger=0},u._positionItem=function(e,t,i,n,r){n?e.goTo(t,i):(e.stagger(r*this.stagger),e.moveTo(t,i))},u._postLayout=function(){this.resizeContainer()},u.resizeContainer=function(){var e;this._getOption("resizeContainer")&&(e=this._getContainerSize())&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))},u._getContainerSize=i,u._setContainerMeasure=function(e,t){var i;void 0!==e&&((i=this.size).isBorderBox&&(e+=t?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),e=Math.max(e,0),this.element.style[t?"width":"height"]=e+"px")},u._emitCompleteOnItems=function(t,e){var i=this;function n(){i.dispatchEvent(t+"Complete",null,[e])}var r,s=e.length;function a(){++r==s&&n()}e&&s?(r=0,e.forEach(function(e){e.once(t,a)})):n()},u.dispatchEvent=function(e,t,i){var n=t?[t].concat(i):i;this.emitEvent(e,n),o&&(this.$element=this.$element||o(this.element),t?((n=o.Event(t)).type=e,this.$element.trigger(n,i)):this.$element.trigger(e,i))},u.ignore=function(e){e=this.getItem(e);e&&(e.isIgnored=!0)},u.unignore=function(e){e=this.getItem(e);e&&delete e.isIgnored},u.stamp=function(e){(e=this._find(e))&&(this.stamps=this.stamps.concat(e),e.forEach(this.ignore,this))},u.unstamp=function(e){(e=this._find(e))&&e.forEach(function(e){n.removeFrom(this.stamps,e),this.unignore(e)},this)},u._find=function(e){if(e)return"string"==typeof e&&(e=this.element.querySelectorAll(e)),e=n.makeArray(e)},u._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},u._getBoundingRect=function(){var e=this.element.getBoundingClientRect(),t=this.size;this._boundingRect={left:e.left+t.paddingLeft+t.borderLeftWidth,top:e.top+t.paddingTop+t.borderTopWidth,right:e.right-(t.paddingRight+t.borderRightWidth),bottom:e.bottom-(t.paddingBottom+t.borderBottomWidth)}},u._manageStamp=i,u._getElementOffset=function(e){var t=e.getBoundingClientRect(),i=this._boundingRect,e=r(e);return{left:t.left-i.left-e.marginLeft,top:t.top-i.top-e.marginTop,right:i.right-t.right-e.marginRight,bottom:i.bottom-t.bottom-e.marginBottom}},u.handleEvent=n.handleEvent,u.bindResize=function(){e.addEventListener("resize",this),this.isResizeBound=!0},u.unbindResize=function(){e.removeEventListener("resize",this),this.isResizeBound=!1},u.onresize=function(){this.resize()},n.debounceMethod(d,"onresize",100),u.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},u.needsResizeLayout=function(){var e=r(this.element);return this.size&&e&&e.innerWidth!==this.size.innerWidth},u.addItems=function(e){e=this._itemize(e);return e.length&&(this.items=this.items.concat(e)),e},u.appended=function(e){e=this.addItems(e);e.length&&(this.layoutItems(e,!0),this.reveal(e))},u.prepended=function(e){var t,e=this._itemize(e);e.length&&(t=this.items.slice(0),this.items=e.concat(t),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(t))},u.reveal=function(e){var i;this._emitCompleteOnItems("reveal",e),e&&e.length&&(i=this.updateStagger(),e.forEach(function(e,t){e.stagger(t*i),e.reveal()}))},u.hide=function(e){var i;this._emitCompleteOnItems("hide",e),e&&e.length&&(i=this.updateStagger(),e.forEach(function(e,t){e.stagger(t*i),e.hide()}))},u.revealItemElements=function(e){e=this.getItems(e);this.reveal(e)},u.hideItemElements=function(e){e=this.getItems(e);this.hide(e)},u.getItem=function(e){for(var t=0;t<this.items.length;t++){var i=this.items[t];if(i.element==e)return i}},u.getItems=function(e){e=n.makeArray(e);var t=[];return e.forEach(function(e){e=this.getItem(e);e&&t.push(e)},this),t},u.remove=function(e){e=this.getItems(e);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(e){e.remove(),n.removeFrom(this.items,e)},this)},u.destroy=function(){var e=this.element.style,e=(e.height="",e.position="",e.width="",this.items.forEach(function(e){e.destroy()}),this.unbindResize(),this.element.outlayerGUID);delete c[e],delete this.element.outlayerGUID,o&&o.removeData(this.element,this.constructor.namespace)},d.data=function(e){e=(e=n.getQueryElement(e))&&e.outlayerGUID;return e&&c[e]},d.create=function(e,t){var i=p(d);return i.defaults=n.extend({},d.defaults),n.extend(i.defaults,t),i.compatOptions=n.extend({},d.compatOptions),i.namespace=e,i.data=d.data,i.Item=p(s),n.htmlInit(i,e),o&&o.bridget&&o.bridget(e,i),i};var h={ms:1,s:1e3};return d.Item=s,d}),function(e,t){"function"==typeof define&&define.amd?define("isotope-layout/js/item",["outlayer/outlayer"],t):"object"==typeof module&&module.exports?module.exports=t(require("outlayer")):(e.Isotope=e.Isotope||{},e.Isotope.Item=t(e.Outlayer))}(window,function(e){"use strict";function t(){e.Item.apply(this,arguments)}var i=t.prototype=Object.create(e.Item.prototype),n=i._create,r=(i._create=function(){this.id=this.layout.itemGUID++,n.call(this),this.sortData={}},i.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var e,t=this.layout.options.getSortData,i=this.layout._sorters;for(e in t){var n=i[e];this.sortData[e]=n(this.element,this)}}},i.destroy);return i.destroy=function(){r.apply(this,arguments),this.css({display:""})},t}),function(e,t){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-mode",["get-size/get-size","outlayer/outlayer"],t):"object"==typeof module&&module.exports?module.exports=t(require("get-size"),require("outlayer")):(e.Isotope=e.Isotope||{},e.Isotope.LayoutMode=t(e.getSize,e.Outlayer))}(window,function(t,i){"use strict";function n(e){(this.isotope=e)&&(this.options=e.options[this.namespace],this.element=e.element,this.items=e.filteredItems,this.size=e.size)}var r=n.prototype;return["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"].forEach(function(e){r[e]=function(){return i.prototype[e].apply(this.isotope,arguments)}}),r.needsVerticalResizeLayout=function(){var e=t(this.isotope.element);return this.isotope.size&&e&&e.innerHeight!=this.isotope.size.innerHeight},r._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},r.getColumnWidth=function(){this.getSegmentSize("column","Width")},r.getRowHeight=function(){this.getSegmentSize("row","Height")},r.getSegmentSize=function(e,t){var i,e=e+t,n="outer"+t;this._getMeasurement(e,n),this[e]||(i=this.getFirstItemSize(),this[e]=i&&i[n]||this.isotope.size["inner"+t])},r.getFirstItemSize=function(){var e=this.isotope.filteredItems[0];return e&&e.element&&t(e.element)},r.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},r.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},n.modes={},n.create=function(e,t){function i(){n.apply(this,arguments)}return(i.prototype=Object.create(r)).constructor=i,t&&(i.options=t),n.modes[i.prototype.namespace=e]=i},n}),
/*!
* Masonry v4.2.1
* Cascading grid layout library
* https://masonry.desandro.com
* MIT License
* by David DeSandro
*/
function(e,t){"function"==typeof define&&define.amd?define("masonry-layout/masonry",["outlayer/outlayer","get-size/get-size"],t):"object"==typeof module&&module.exports?module.exports=t(require("outlayer"),require("get-size")):e.Masonry=t(e.Outlayer,e.getSize)}(window,function(e,o){var e=e.create("masonry"),t=(e.compatOptions.fitWidth="isFitWidth",e.prototype);return t._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var e=0;e<this.cols;e++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},t.measureColumns=function(){this.getContainerWidth(),this.columnWidth||(e=(e=this.items[0])&&e.element,this.columnWidth=e&&o(e).outerWidth||this.containerWidth);var e=this.columnWidth+=this.gutter,t=this.containerWidth+this.gutter,i=t/e,t=e-t%e,i=Math[t&&t<1?"round":"floor"](i);this.cols=Math.max(i,1)},t.getContainerWidth=function(){var e=this._getOption("fitWidth")?this.element.parentNode:this.element,e=o(e);this.containerWidth=e&&e.innerWidth},t._getItemLayoutPosition=function(e){e.getSize();for(var t=e.size.outerWidth%this.columnWidth,t=Math[t&&t<1?"round":"ceil"](e.size.outerWidth/this.columnWidth),t=Math.min(t,this.cols),i=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](t,e),n={x:this.columnWidth*i.col,y:i.y},r=i.y+e.size.outerHeight,s=t+i.col,a=i.col;a<s;a++)this.colYs[a]=r;return n},t._getTopColPosition=function(e){var e=this._getTopColGroup(e),t=Math.min.apply(Math,e);return{col:e.indexOf(t),y:t}},t._getTopColGroup=function(e){if(e<2)return this.colYs;for(var t=[],i=this.cols+1-e,n=0;n<i;n++)t[n]=this._getColGroupY(n,e);return t},t._getColGroupY=function(e,t){return t<2?this.colYs[e]:(e=this.colYs.slice(e,e+t),Math.max.apply(Math,e))},t._getHorizontalColPosition=function(e,t){var i=this.horizontalColIndex%this.cols,i=1<e&&i+e>this.cols?0:i,t=t.size.outerWidth&&t.size.outerHeight;return this.horizontalColIndex=t?i+e:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,e)}},t._manageStamp=function(e){var t=o(e),e=this._getElementOffset(e),i=this._getOption("originLeft")?e.left:e.right,n=i+t.outerWidth,i=Math.floor(i/this.columnWidth),i=Math.max(0,i),r=Math.floor(n/this.columnWidth);r-=n%this.columnWidth?0:1;for(var r=Math.min(this.cols-1,r),s=(this._getOption("originTop")?e.top:e.bottom)+t.outerHeight,a=i;a<=r;a++)this.colYs[a]=Math.max(s,this.colYs[a])},t._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var e={height:this.maxY};return this._getOption("fitWidth")&&(e.width=this._getContainerFitWidth()),e},t._getContainerFitWidth=function(){for(var e=0,t=this.cols;--t&&0===this.colYs[t];)e++;return(this.cols-e)*this.columnWidth-this.gutter},t.needsResizeLayout=function(){var e=this.containerWidth;return this.getContainerWidth(),e!=this.containerWidth},e}),
/*!
* Masonry layout mode
* sub-classes Masonry
* https://masonry.desandro.com
*/
function(e,t){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/masonry",["../layout-mode","masonry-layout/masonry"],t):"object"==typeof module&&module.exports?module.exports=t(require("../layout-mode"),require("masonry-layout")):t(e.Isotope.LayoutMode,e.Masonry)}(window,function(e,t){"use strict";var i,e=e.create("masonry"),n=e.prototype,r={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(i in t.prototype)r[i]||(n[i]=t.prototype[i]);var s=n.measureColumns,a=(n.measureColumns=function(){this.items=this.isotope.filteredItems,s.call(this)},n._getOption);return n._getOption=function(e){return"fitWidth"==e?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotope,arguments)},e}),function(e,t){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/fit-rows",["../layout-mode"],t):"object"==typeof exports?module.exports=t(require("../layout-mode")):t(e.Isotope.LayoutMode)}(window,function(e){"use strict";var e=e.create("fitRows"),t=e.prototype;return t._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},t._getItemLayoutPosition=function(e){e.getSize();var t=e.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter,i=(0!==this.x&&t+this.x>i&&(this.x=0,this.y=this.maxY),{x:this.x,y:this.y});return this.maxY=Math.max(this.maxY,this.y+e.size.outerHeight),this.x+=t,i},t._getContainerSize=function(){return{height:this.maxY}},e}),function(e,t){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/vertical",["../layout-mode"],t):"object"==typeof module&&module.exports?module.exports=t(require("../layout-mode")):t(e.Isotope.LayoutMode)}(window,function(e){"use strict";var e=e.create("vertical",{horizontalAlignment:0}),t=e.prototype;return t._resetLayout=function(){this.y=0},t._getItemLayoutPosition=function(e){e.getSize();var t=(this.isotope.size.innerWidth-e.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=e.size.outerHeight,{x:t,y:i}},t._getContainerSize=function(){return{height:this.y}},e}),
/*!
* Isotope v3.0.6
*
* Licensed GPLv3 for open source use
* or Isotope Commercial License for commercial use
*
* https://isotope.metafizzy.co
* Copyright 2010-2018 Metafizzy
*/
function(a,o){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotope-layout/js/item","isotope-layout/js/layout-mode","isotope-layout/js/layout-modes/masonry","isotope-layout/js/layout-modes/fit-rows","isotope-layout/js/layout-modes/vertical"],function(e,t,i,n,r,s){return o(a,e,0,i,n,r,s)}):"object"==typeof module&&module.exports?module.exports=o(a,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotope-layout/js/item"),require("isotope-layout/js/layout-mode"),require("isotope-layout/js/layout-modes/masonry"),require("isotope-layout/js/layout-modes/fit-rows"),require("isotope-layout/js/layout-modes/vertical")):a.Isotope=o(a,a.Outlayer,a.getSize,a.matchesSelector,a.fizzyUIUtils,a.Isotope.Item,a.Isotope.LayoutMode)}(window,function(e,i,t,n,s,r,a){var o=e.jQuery,l=String.prototype.trim?function(e){return e.trim()}:function(e){return e.replace(/^\s+|\s+$/g,"")},c=i.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0}),e=(c.Item=r,c.LayoutMode=a,c.prototype),d=(e._create=function(){for(var e in this.itemGUID=0,this._sorters={},this._getSorters(),i.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],a.modes)this._initLayoutMode(e)},e.reloadItems=function(){this.itemGUID=0,i.prototype.reloadItems.call(this)},e._itemize=function(){for(var e=i.prototype._itemize.apply(this,arguments),t=0;t<e.length;t++)e[t].id=this.itemGUID++;return this._updateItemsSortData(e),e},e._initLayoutMode=function(e){var t=a.modes[e],i=this.options[e]||{};this.options[e]=t.options?s.extend(t.options,i):i,this.modes[e]=new t(this)},e.layout=function(){!this._isLayoutInited&&this._getOption("initLayout")?this.arrange():this._layout()},e._layout=function(){var e=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,e),this._isLayoutInited=!0},e.arrange=function(e){this.option(e),this._getIsInstant();e=this._filter(this.items);this.filteredItems=e.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[e]):this._hideReveal(e),this._sort(),this._layout()},e._init=e.arrange,e._hideReveal=function(e){this.reveal(e.needReveal),this.hide(e.needHide)},e._getIsInstant=function(){var e=this._getOption("layoutInstant"),e=void 0!==e?e:!this._isLayoutInited;return this._isInstant=e},e._bindArrangeComplete=function(){var e,t,i,n=this;function r(){e&&t&&i&&n.dispatchEvent("arrangeComplete",null,[n.filteredItems])}this.once("layoutComplete",function(){e=!0,r()}),this.once("hideComplete",function(){t=!0,r()}),this.once("revealComplete",function(){i=!0,r()})},e._filter=function(e){for(var t=this.options.filter,i=[],n=[],r=[],s=this._getFilterTest(t||"*"),a=0;a<e.length;a++){var o,l=e[a];l.isIgnored||((o=s(l))&&i.push(l),o&&l.isHidden?n.push(l):o||l.isHidden||r.push(l))}return{matches:i,needReveal:n,needHide:r}},e._getFilterTest=function(t){return o&&this.options.isJQueryFiltering?function(e){return o(e.element).is(t)}:"function"==typeof t?function(e){return t(e.element)}:function(e){return n(e.element,t)}},e.updateSortData=function(e){e=e?(e=s.makeArray(e),this.getItems(e)):this.items;this._getSorters(),this._updateItemsSortData(e)},e._getSorters=function(){var e,t=this.options.getSortData;for(e in t){var i=t[e];this._sorters[e]=d(i)}},e._updateItemsSortData=function(e){for(var t=e&&e.length,i=0;t&&i<t;i++)e[i].updateSortData()},function(e){var t,i,n,r,s;return"string"==typeof e&&(n=(i=(t=l(e).split(" "))[0]).match(/^\[(.+)\]$/),r=function(t,i){if(t)return function(e){return e.getAttribute(t)};return function(e){e=e.querySelector(i);return e&&e.textContent}}(n&&n[1],i),e=(s=c.sortDataParsers[t[1]])?function(e){return e&&s(r(e))}:function(e){return e&&r(e)}),e});c.sortDataParsers={parseInt:function(e){return parseInt(e,10)},parseFloat:function(e){return parseFloat(e)}},e._sort=function(){var e,a,o;this.options.sortBy&&(e=s.makeArray(this.options.sortBy),this._getIsSameSortBy(e)||(this.sortHistory=e.concat(this.sortHistory)),a=this.sortHistory,o=this.options.sortAscending,this.filteredItems.sort(function(e,t){for(var i=0;i<a.length;i++){var n=a[i],r=e.sortData[n],s=t.sortData[n];if(s<r||r<s)return(s<r?1:-1)*((void 0!==o[n]?o[n]:o)?1:-1)}return 0}))},e._getIsSameSortBy=function(e){for(var t=0;t<e.length;t++)if(e[t]!=this.sortHistory[t])return!1;return!0},e._mode=function(){var e=this.options.layoutMode,t=this.modes[e];if(t)return t.options=this.options[e],t;throw new Error("No layout mode: "+e)},e._resetLayout=function(){i.prototype._resetLayout.call(this),this._mode()._resetLayout()},e._getItemLayoutPosition=function(e){return this._mode()._getItemLayoutPosition(e)},e._manageStamp=function(e){this._mode()._manageStamp(e)},e._getContainerSize=function(){return this._mode()._getContainerSize()},e.needsResizeLayout=function(){return this._mode().needsResizeLayout()},e.appended=function(e){var e=this.addItems(e);e.length&&(e=this._filterRevealAdded(e),this.filteredItems=this.filteredItems.concat(e))},e.prepended=function(e){var t,e=this._itemize(e);e.length&&(this._resetLayout(),this._manageStamps(),t=this._filterRevealAdded(e),this.layoutItems(this.filteredItems),this.filteredItems=t.concat(this.filteredItems),this.items=e.concat(this.items))},e._filterRevealAdded=function(e){e=this._filter(e);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},e.insert=function(e){var t=this.addItems(e);if(t.length){for(var i,n=t.length,r=0;r<n;r++)i=t[r],this.element.appendChild(i.element);e=this._filter(t).matches;for(r=0;r<n;r++)t[r].isLayoutInstant=!0;for(this.arrange(),r=0;r<n;r++)delete t[r].isLayoutInstant;this.reveal(e)}};var u=e.remove;return e.remove=function(e){e=s.makeArray(e);for(var t=this.getItems(e),i=(u.call(this,e),t&&t.length),n=0;i&&n<i;n++){var r=t[n];s.removeFrom(this.filteredItems,r)}},e.shuffle=function(){for(var e=0;e<this.items.length;e++)this.items[e].sortData.random=Math.random();this.options.sortBy="random",this._sort(),this._layout()},e._noTransition=function(e,t){var i=this.options.transitionDuration,e=(this.options.transitionDuration=0,e.apply(this,t));return this.options.transitionDuration=i,e},e.getFilteredItemElements=function(){return this.filteredItems.map(function(e){return e.element})},c}),
/*!
jQuery Cookie Plugin
Version: v1.4.1
Plugin URL: https://github.com/carhartl/jquery-cookie
License: Copyright 2006, 2014 Klaus Hartl | Released under the MIT license
!*/
function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(u){var i=/\+/g;function p(e){return f.raw?e:encodeURIComponent(e)}function h(e,t){e=f.raw?e:function(e){0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return e=decodeURIComponent(e.replace(i," ")),f.json?JSON.parse(e):e}catch(e){}}(e);return u.isFunction(t)?t(e):e}var f=u.cookie=function(e,t,i){var n,r;if(1<arguments.length&&!u.isFunction(t))return"number"==typeof(i=u.extend({},f.defaults,i)).expires&&(n=i.expires,(r=i.expires=new Date).setMilliseconds(r.getMilliseconds()+864e5*n)),document.cookie=[p(e),"=",(r=t,p(f.json?JSON.stringify(r):String(r))),i.expires?"; expires="+i.expires.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join("");for(var s=e?void 0:{},a=document.cookie?document.cookie.split("; "):[],o=0,l=a.length;o<l;o++){var c=a[o].split("="),d=(d=c.shift(),f.raw?d:decodeURIComponent(d)),c=c.join("=");if(e===d){s=h(c,t);break}e||void 0===(c=h(c))||(s[d]=c)}return s};f.defaults={},u.removeCookie=function(e,t){return u.cookie(e,"",u.extend({},t,{expires:-1})),!u.cookie(e)}}),
/*!
jQuery appear plugin
Version: 0.4
Plugin URL: https://github.com/morr/jquery.appear/
License: Copyright (c) 2012 Andrey Sidorov | Released under the MIT license
!*/
function(s){var r=[],n=!1,a=!1,o={interval:250,force_process:!1},l=s(window),c=[];function d(){a=!1;for(var e=0,t=r.length;e<t;e++){n=r[e];var i,n=s(n).filter(function(){return s(this).is(":appeared")});n.trigger("appear",[n]),c[e]&&(i=c[e].not(n)).trigger("disappear",[i]),c[e]=n}}s.expr.pseudos.appeared=s.expr.createPseudo(function(e){return function(e){var t,i,n,r,e=s(e);return!!e.is(":visible")&&(t=l.scrollLeft(),i=l.scrollTop(),n=(r=e.offset()).left,(r=r.top)+e.height()>=i)&&r-(e.data("appear-top-offset")||0)<=i+l.height()&&n+e.width()>=t&&n-(e.data("appear-left-offset")||0)<=t+l.width()}}),s.fn.extend({appear:function(e,t){return s.appear(this,t),this}}),s.extend({appear:function(e,t){var i=s.extend({},o,t||{});n||(t=function(){a||(a=!0,setTimeout(d,i.interval))},s(window).scroll(t).resize(t),n=!0),i.force_process&&setTimeout(d,i.interval),r.push(e),c.push()},force_appear:function(){return!!n&&(d(),!0)}})}("undefined"!=typeof module?require("jquery"):jQuery),
/*!
jQuery countTo Plugin
Version: v1.2.0
Plugin URL: https://github.com/mhuggins/jquery-countTo
License: Copyright (c) Matt Huggins | Released under the MIT license
!*/
function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(jQuery)}(function(s){function a(e,t){this.$element=s(e),this.options=s.extend({},a.DEFAULTS,this.dataOptions(),t),this.init()}a.DEFAULTS={from:0,to:0,speed:1e3,refreshInterval:100,decimals:0,formatter:function(e,t){return e.toFixed(t.decimals)},onUpdate:null,onComplete:null},a.prototype.init=function(){this.value=this.options.from,this.loops=Math.ceil(this.options.speed/this.options.refreshInterval),this.loopCount=0,this.increment=(this.options.to-this.options.from)/this.loops},a.prototype.dataOptions=function(){var e,t={from:this.$element.data("from"),to:this.$element.data("to"),speed:this.$element.data("speed"),refreshInterval:this.$element.data("refresh-interval"),decimals:this.$element.data("decimals")},i=Object.keys(t);for(e in i){var n=i[e];void 0===t[n]&&delete t[n]}return t},a.prototype.update=function(){this.value+=this.increment,this.loopCount++,this.render(),"function"==typeof this.options.onUpdate&&this.options.onUpdate.call(this.$element,this.value),this.loopCount>=this.loops&&(clearInterval(this.interval),this.value=this.options.to,"function"==typeof this.options.onComplete)&&this.options.onComplete.call(this.$element,this.value)},a.prototype.render=function(){var e=this.options.formatter.call(this.$element,this.value,this.options);this.$element.text(e)},a.prototype.restart=function(){this.stop(),this.init(),this.start()},a.prototype.start=function(){this.stop(),this.render(),this.interval=setInterval(this.update.bind(this),this.options.refreshInterval)},a.prototype.stop=function(){this.interval&&clearInterval(this.interval)},a.prototype.toggle=function(){this.interval?this.stop():this.start()},s.fn.countTo=function(r){return this.each(function(){var e=s(this),t=e.data("countTo"),i="object"==typeof r?r:{},n="string"==typeof r?r:"start";t&&"object"!=typeof r||(t&&t.stop(),e.data("countTo",t=new a(this,i))),t[n].call(t)})}}),
/*!
The Final Countdown
Version: 2.2.0
Plugin URL: http://hilios.github.io/jQuery.countdown/
License: Copyright (c) 2016 Edson Hilios
!*/
function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(n){"use strict";var r=[],s={precision:100,elapse:!1,defer:!1};(t=[]).push(/^[0-9]*$/.source),t.push(/([0-9]{1,2}\/){2}[0-9]{4}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),t.push(/[0-9]{4}([\/\-][0-9]{1,2}){2}( [0-9]{1,2}(:[0-9]{2}){2})?/.source);var t=new RegExp(t.join("|")),d={Y:"years",m:"months",n:"daysToMonth",d:"daysToWeek",w:"weeks",W:"weeksToMonth",H:"hours",M:"minutes",S:"seconds",D:"totalDays",I:"totalHours",N:"totalMinutes",T:"totalSeconds"};function i(c){return function(e){var t=e.match(/%(-|!)?[A-Z]{1}(:[^;]+;)?/gi);if(t)for(var i=0,n=t.length;i<n;++i){var r=t[i].match(/%(-|!)?([a-zA-Z]{1})(:[^;]+;)?/),s=(s=(s=r[0]).toString().replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1"),new RegExp(s)),a=r[1]||"",o=r[3]||"",l=null,r=r[2];d.hasOwnProperty(r)&&(l=d[r],l=Number(c[l])),null!==l&&("!"===a&&(l=function(e,t){var i="s",n="";e&&(e=e.replace(/(:|;|\s)/gi,"").split(/\,/),i=1===e.length?e[0]:(n=e[0],e[1]));return 1<Math.abs(t)?i:n}(o,l)),""===a&&l<10&&(l="0"+l.toString()),e=e.replace(s,l.toString()))}return e=e.replace(/%%/,"%")}}function a(e,t,i){this.el=e,this.$el=n(e),this.interval=null,this.offset={},this.options=n.extend({},s),this.instanceNumber=r.length,r.push(this),this.$el.data("countdown-instance",this.instanceNumber),i&&("function"==typeof i?(this.$el.on("update.countdown",i),this.$el.on("stoped.countdown",i),this.$el.on("finish.countdown",i)):this.options=n.extend({},s,i)),this.setFinalDate(t),!1===this.options.defer&&this.start()}n.extend(a.prototype,{start:function(){null!==this.interval&&clearInterval(this.interval);var e=this;this.update(),this.interval=setInterval(function(){e.update.call(e)},this.options.precision)},stop:function(){clearInterval(this.interval),this.interval=null,this.dispatchEvent("stoped")},toggle:function(){this.interval?this.stop():this.start()},pause:function(){this.stop()},resume:function(){this.start()},remove:function(){this.stop.call(this),r[this.instanceNumber]=null,delete this.$el.data().countdownInstance},setFinalDate:function(e){this.finalDate=function(e){if(e instanceof Date)return e;if(String(e).match(t))return String(e).match(/^[0-9]*$/)&&(e=Number(e)),String(e).match(/\-/)&&(e=String(e).replace(/\-/g,"/")),new Date(e);throw new Error("Couldn't cast `"+e+"` to a date object.")}(e)},update:function(){var e,t,i;0===this.$el.closest("html").length?this.remove():(e=void 0!==n._data(this.el,"events"),t=new Date,i=this.finalDate.getTime()-t.getTime(),i=Math.ceil(i/1e3),i=!this.options.elapse&&i<0?0:Math.abs(i),this.totalSecsLeft!==i&&e&&(this.totalSecsLeft=i,this.elapsed=t>=this.finalDate,this.offset={seconds:this.totalSecsLeft%60,minutes:Math.floor(this.totalSecsLeft/60)%60,hours:Math.floor(this.totalSecsLeft/60/60)%24,days:Math.floor(this.totalSecsLeft/60/60/24)%7,daysToWeek:Math.floor(this.totalSecsLeft/60/60/24)%7,daysToMonth:Math.floor(this.totalSecsLeft/60/60/24%30.4368),weeks:Math.floor(this.totalSecsLeft/60/60/24/7),weeksToMonth:Math.floor(this.totalSecsLeft/60/60/24/7)%4,months:Math.floor(this.totalSecsLeft/60/60/24/30.4368),years:Math.abs(this.finalDate.getFullYear()-t.getFullYear()),totalDays:Math.floor(this.totalSecsLeft/60/60/24),totalHours:Math.floor(this.totalSecsLeft/60/60),totalMinutes:Math.floor(this.totalSecsLeft/60),totalSeconds:this.totalSecsLeft},this.options.elapse||0!==this.totalSecsLeft?this.dispatchEvent("update"):(this.stop(),this.dispatchEvent("finish"))))},dispatchEvent:function(e){e=n.Event(e+".countdown");e.finalDate=this.finalDate,e.elapsed=this.elapsed,e.offset=n.extend({},this.offset),e.strftime=i(this.offset),this.$el.trigger(e)}}),n.fn.countdown=function(){var i=Array.prototype.slice.call(arguments,0);return this.each(function(){var e,t=n(this).data("countdown-instance");void 0!==t?(t=r[t],e=i[0],a.prototype.hasOwnProperty(e)?t[e].apply(t,i.slice(1)):null===String(e).match(/^[$A-Z_][0-9A-Z_$]*$/i)?(t.setFinalDate.call(t,e),t.start()):n.error("Method %s does not exist on jQuery.countdown".replace(/\%s/gi,e))):new a(this,i[0],i[1])})}}),
/*!
Easy pie chart
Version: 2.1.7
Plugin URL: https://github.com/rendro/easy-pie-chart
License: Copyright | Robert Fleischmann
!*/
function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(i){function a(e,a){function i(){a.scaleColor&&c(),a.trackColor&&l(a.trackColor,a.trackWidth||a.lineWidth,1)}var n,t=document.createElement("canvas"),r=(e.appendChild(t),"object"==typeof G_vmlCanvasManager&&G_vmlCanvasManager.initElement(t),t.getContext("2d")),s=(t.width=t.height=a.size,1),o=(1<window.devicePixelRatio&&(s=window.devicePixelRatio,t.style.width=t.style.height=[a.size,"px"].join(""),t.width=t.height=a.size*s,r.scale(s,s)),r.translate(a.size/2,a.size/2),r.rotate((a.rotate/180-.5)*Math.PI),(a.size-a.lineWidth)/2),l=(a.scaleColor&&a.scaleLength&&(o-=a.scaleLength+2),Date.now=Date.now||function(){return+new Date},function(e,t,i){var n=(i=Math.min(Math.max(-1,i||0),1))<=0;r.beginPath(),r.arc(0,0,o,0,2*Math.PI*i,n),r.strokeStyle=e,r.lineWidth=t,r.stroke()}),c=function(){var e,t;r.lineWidth=1,r.fillStyle=a.scaleColor,r.save();for(var i=24;0<i;--i)e=i%6==0?(t=a.scaleLength,0):(t=.6*a.scaleLength,a.scaleLength-t),r.fillRect(-a.size/2+e,0,t,1),r.rotate(Math.PI/12);r.restore()},d=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)};this.getCanvas=function(){return t},this.getCtx=function(){return r},this.clear=function(){r.clearRect(a.size/-2,a.size/-2,a.size,a.size)},this.draw=function(e){var t;a.scaleColor||a.trackColor?r.getImageData&&r.putImageData?n?r.putImageData(n,0,0):(i(),n=r.getImageData(0,0,a.size*s,a.size*s)):(this.clear(),i()):this.clear(),r.lineCap=a.lineCap,t="function"==typeof a.barColor?a.barColor(e):a.barColor,l(t,a.lineWidth,e/100)}.bind(this),this.animate=function(i,n){var r=Date.now(),s=(a.onStart(i,n),function(){var e=Math.min(Date.now()-r,a.animate.duration),t=a.easing(this,e,i,n-i,a.animate.duration);this.draw(t),a.onStep(i,n,t),e>=a.animate.duration?a.onStop(i,n):d(s)}.bind(this));d(s)}.bind(this)}function n(t,i){var n={barColor:"#ef1e25",trackColor:"#f9f9f9",scaleColor:"#dfe0e0",scaleLength:5,lineCap:"round",lineWidth:3,trackWidth:void 0,size:110,rotate:0,animate:{duration:1e3,enabled:!0},easing:function(e,t,i,n,r){return(t/=r/2)<1?n/2*t*t+i:-n/2*(--t*(t-2)-1)+i},onStart:function(e,t){},onStep:function(e,t,i){},onStop:function(e,t){}},r=(n.renderer=a,{}),s=0,e=function(){for(var e in this.el=t,this.options=r,n)n.hasOwnProperty(e)&&(r[e]=(i&&void 0!==i[e]?i:n)[e],"function"==typeof r[e])&&(r[e]=r[e].bind(this));"string"==typeof r.easing&&"undefined"!=typeof jQuery&&jQuery.isFunction(jQuery.easing[r.easing])?r.easing=jQuery.easing[r.easing]:r.easing=n.easing,"number"==typeof r.animate&&(r.animate={duration:r.animate,enabled:!0}),"boolean"!=typeof r.animate||r.animate||(r.animate={duration:1e3,enabled:r.animate}),this.renderer=new r.renderer(t,r),this.renderer.draw(s),t.dataset&&t.dataset.percent?this.update(parseFloat(t.dataset.percent)):t.getAttribute&&t.getAttribute("data-percent")&&this.update(parseFloat(t.getAttribute("data-percent")))}.bind(this);this.update=function(e){return e=parseFloat(e),r.animate.enabled?this.renderer.animate(s,e):this.renderer.draw(e),s=e,this}.bind(this),this.disableAnimation=function(){return r.animate.enabled=!1,this},this.enableAnimation=function(){return r.animate.enabled=!0,this},e()}i.fn.easyPieChart=function(t){return this.each(function(){var e;i.data(this,"easyPieChart")||(e=i.extend({},t,i(this).data()),i.data(this,"easyPieChart",new n(this,e)))})}}),
/*!
FitVids
Version: 1.1
Plugin URI: http://fitvidsjs.com/
License: Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com | Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/ | Released under the WTFPL license - http://sam.zoy.org/wtfpl/
!*/
function(s){"use strict";s.fn.fitVids=function(e){var t,i,r={customSelector:null,ignore:null};return document.getElementById("fit-vids-style")||(t=document.head||document.getElementsByTagName("head")[0],(i=document.createElement("div")).innerHTML='<p>x</p><style id="fit-vids-style">.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}</style>',t.appendChild(i.childNodes[1])),e&&s.extend(r,e),this.each(function(){var e=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"],n=(r.customSelector&&e.push(r.customSelector),".fitvidsignore"),e=(r.ignore&&(n=n+", "+r.ignore),s(this).find(e.join(",")));(e=(e=e.not("object object")).not(n)).each(function(){var e,t,i=s(this);0<i.parents(n).length||"embed"===this.tagName.toLowerCase()&&i.parent("object").length||i.parent(".fluid-width-video-wrapper").length||(i.css("height")||i.css("width")||!isNaN(i.attr("height"))&&!isNaN(i.attr("width"))||(i.attr("height",9),i.attr("width",16)),e=("object"===this.tagName.toLowerCase()||i.attr("height")&&!isNaN(parseInt(i.attr("height"),10))?parseInt(i.attr("height"),10):i.height())/(isNaN(parseInt(i.attr("width"),10))?i.width():parseInt(i.attr("width"),10)),i.attr("name")||(t="fitvid"+s.fn.fitVids._count,i.attr("name",t),s.fn.fitVids._count++),i.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*e+"%"),i.removeAttr("height").removeAttr("width"))})})},s.fn.fitVids._count=0}(window.jQuery||window.Zepto),
/*!
Magnific Popup
Version: 1.1.0 - 2016-02-20
Plugin URL: http://dimsemenov.com/plugins/magnific-popup/
License: Copyright (c) 2016 Dmitry Semenov
!*/
function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(window.jQuery||window.Zepto)}(function(c){function e(){}function d(e,t){f.ev.on("mfp"+e+T,t)}function u(e,t,i,n){var r=document.createElement("div");return r.className="mfp-"+e,i&&(r.innerHTML=i),n?t&&t.appendChild(r):(r=c(r),t&&r.appendTo(t)),r}function p(e,t){f.ev.triggerHandler("mfp"+e,t),f.st.callbacks&&(e=e.charAt(0).toLowerCase()+e.slice(1),f.st.callbacks[e])&&f.st.callbacks[e].apply(f,c.isArray(t)?t:[t])}function h(e){return e===i&&f.currTemplate.closeBtn||(f.currTemplate.closeBtn=c(f.st.closeMarkup.replace("%title%",f.st.tClose)),i=e),f.currTemplate.closeBtn}function s(){c.magnificPopup.instance||((f=new e).init(),c.magnificPopup.instance=f)}function a(){y&&(v.after(y.addClass(l)).detach(),y=null)}function r(){b&&c(document.body).removeClass(b)}function t(){r(),f.req&&f.req.abort()}var f,n,m,o,g,i,l,v,y,b,_="Close",w="BeforeClose",x="MarkupParse",T=".mfp",S="mfp-ready",R="mfp-removing",E="mfp-prevent-close",C=!!window.jQuery,M=c(window),k=(c.magnificPopup={instance:null,proto:e.prototype={constructor:e,init:function(){var e=navigator.appVersion;f.isLowIE=f.isIE8=document.all&&!document.addEventListener,f.isAndroid=/android/gi.test(e),f.isIOS=/iphone|ipad|ipod/gi.test(e),f.supportsTransition=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1}(),f.probablyMobile=f.isAndroid||f.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),m=c(document),f.popupsCache={}},open:function(e){if(!1===e.isObj){f.items=e.items.toArray(),f.index=0;for(var t,i=e.items,n=0;n<i.length;n++)if((t=(t=i[n]).parsed?t.el[0]:t)===e.el[0]){f.index=n;break}}else f.items=c.isArray(e.items)?e.items:[e.items],f.index=e.index||0;if(!f.isOpen){f.types=[],g="",e.mainEl&&e.mainEl.length?f.ev=e.mainEl.eq(0):f.ev=m,e.key?(f.popupsCache[e.key]||(f.popupsCache[e.key]={}),f.currTemplate=f.popupsCache[e.key]):f.currTemplate={},f.st=c.extend(!0,{},c.magnificPopup.defaults,e),f.fixedContentPos="auto"===f.st.fixedContentPos?!f.probablyMobile:f.st.fixedContentPos,f.st.modal&&(f.st.closeOnContentClick=!1,f.st.closeOnBgClick=!1,f.st.showCloseBtn=!1,f.st.enableEscapeKey=!1),f.bgOverlay||(f.bgOverlay=u("bg").on("click.mfp",function(){f.close()}),f.wrap=u("wrap").attr("tabindex",-1).on("click.mfp",function(e){f._checkIfClose(e.target)&&f.close()}),f.container=u("container",f.wrap)),f.contentContainer=u("content"),f.st.preloader&&(f.preloader=u("preloader",f.container,f.st.tLoading));var r=c.magnificPopup.modules;for(n=0;n<r.length;n++){var s=(s=r[n]).charAt(0).toUpperCase()+s.slice(1);f["init"+s].call(f)}p("BeforeOpen"),f.st.showCloseBtn&&(f.st.closeBtnInside?(d(x,function(e,t,i,n){i.close_replaceWith=h(n.type)}),g+=" mfp-close-btn-in"):f.wrap.append(h())),f.st.alignTop&&(g+=" mfp-align-top"),f.fixedContentPos?f.wrap.css({overflow:f.st.overflowY,overflowX:"hidden",overflowY:f.st.overflowY}):f.wrap.css({top:M.scrollTop(),position:"absolute"}),!1!==f.st.fixedBgPos&&("auto"!==f.st.fixedBgPos||f.fixedContentPos)||f.bgOverlay.css({height:m.height(),position:"absolute"}),f.st.enableEscapeKey&&m.on("keyup.mfp",function(e){27===e.keyCode&&f.close()}),M.on("resize.mfp",function(){f.updateSize()}),f.st.closeOnContentClick||(g+=" mfp-auto-cursor"),g&&f.wrap.addClass(g);var a=f.wH=M.height(),o={},l=(f.fixedContentPos&&f._hasScrollBar(a)&&(l=f._getScrollbarSize())&&(o.marginRight=l),f.fixedContentPos&&(f.isIE7?c("body, html").css("overflow","hidden"):o.overflow="hidden"),f.st.mainClass);return f.isIE7&&(l+=" mfp-ie7"),l&&f._addClassToMFP(l),f.updateItemHTML(),p("BuildControls"),c("html").css(o),f.bgOverlay.add(f.wrap).prependTo(f.st.prependTo||c(document.body)),f._lastFocusedEl=document.activeElement,setTimeout(function(){f.content?(f._addClassToMFP(S),f._setFocus()):f.bgOverlay.addClass(S),m.on("focusin.mfp",f._onFocusIn)},16),f.isOpen=!0,f.updateSize(a),p("Open"),e}f.updateItemHTML()},close:function(){f.isOpen&&(p(w),f.isOpen=!1,f.st.removalDelay&&!f.isLowIE&&f.supportsTransition?(f._addClassToMFP(R),setTimeout(function(){f._close()},f.st.removalDelay)):f._close())},_close:function(){p(_);var e=R+" "+S+" ";f.bgOverlay.detach(),f.wrap.detach(),f.container.empty(),f.st.mainClass&&(e+=f.st.mainClass+" "),f._removeClassFromMFP(e),f.fixedContentPos&&(e={marginRight:""},f.isIE7?c("body, html").css("overflow",""):e.overflow="",c("html").css(e)),m.off("keyup.mfp focusin.mfp"),f.ev.off(T),f.wrap.attr("class","mfp-wrap").removeAttr("style"),f.bgOverlay.attr("class","mfp-bg"),f.container.attr("class","mfp-container"),!f.st.showCloseBtn||f.st.closeBtnInside&&!0!==f.currTemplate[f.currItem.type]||f.currTemplate.closeBtn&&f.currTemplate.closeBtn.detach(),f.st.autoFocusLast&&f._lastFocusedEl&&c(f._lastFocusedEl).focus(),f.currItem=null,f.content=null,f.currTemplate=null,f.prevHeight=0,p("AfterClose")},updateSize:function(e){var t;f.isIOS?(t=document.documentElement.clientWidth/window.innerWidth,t=window.innerHeight*t,f.wrap.css("height",t),f.wH=t):f.wH=e||M.height(),f.fixedContentPos||f.wrap.css("height",f.wH),p("Resize")},updateItemHTML:function(){var e=f.items[f.index],t=(f.contentContainer.detach(),f.content&&f.content.detach(),(e=e.parsed?e:f.parseEl(f.index)).type),i=(p("BeforeChange",[f.currItem?f.currItem.type:"",t]),f.currItem=e,f.currTemplate[t]||(i=!!f.st[t]&&f.st[t].markup,p("FirstMarkupParse",i),f.currTemplate[t]=!i||c(i)),o&&o!==e.type&&f.container.removeClass("mfp-"+o+"-holder"),f["get"+t.charAt(0).toUpperCase()+t.slice(1)](e,f.currTemplate[t]));f.appendContent(i,t),e.preloaded=!0,p("Change",e),o=e.type,f.container.prepend(f.contentContainer),p("AfterChange")},appendContent:function(e,t){(f.content=e)?f.st.showCloseBtn&&f.st.closeBtnInside&&!0===f.currTemplate[t]?f.content.find(".mfp-close").length||f.content.append(h()):f.content=e:f.content="",p("BeforeAppend"),f.container.addClass("mfp-"+t+"-holder"),f.contentContainer.append(f.content)},parseEl:function(e){var t,i=f.items[e];if((i=i.tagName?{el:c(i)}:(t=i.type,{data:i,src:i.src})).el){for(var n=f.types,r=0;r<n.length;r++)if(i.el.hasClass("mfp-"+n[r])){t=n[r];break}i.src=i.el.attr("data-mfp-src"),i.src||(i.src=i.el.attr("href"))}return i.type=t||f.st.type||"inline",i.index=e,i.parsed=!0,f.items[e]=i,p("ElementParse",i),f.items[e]},addGroup:function(t,i){function e(e){e.mfpEl=this,f._openClick(e,t,i)}var n="click.magnificPopup";(i=i||{}).mainEl=t,i.items?(i.isObj=!0,t.off(n).on(n,e)):(i.isObj=!1,i.delegate?t.off(n).on(n,i.delegate,e):(i.items=t).off(n).on(n,e))},_openClick:function(e,t,i){var n=(void 0!==i.midClick?i:c.magnificPopup.defaults).midClick;if(n||!(2===e.which||e.ctrlKey||e.metaKey||e.altKey||e.shiftKey)){n=(void 0!==i.disableOn?i:c.magnificPopup.defaults).disableOn;if(n)if(c.isFunction(n)){if(!n.call(f))return!0}else if(M.width()<n)return!0;e.type&&(e.preventDefault(),f.isOpen)&&e.stopPropagation(),i.el=c(e.mfpEl),i.delegate&&(i.items=t.find(i.delegate)),f.open(i)}},updateStatus:function(e,t){var i;f.preloader&&(n!==e&&f.container.removeClass("mfp-s-"+n),i={status:e,text:t=t||"loading"!==e?t:f.st.tLoading},p("UpdateStatus",i),e=i.status,f.preloader.html(t=i.text),f.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),f.container.addClass("mfp-s-"+e),n=e)},_checkIfClose:function(e){if(!c(e).hasClass(E)){var t=f.st.closeOnContentClick,i=f.st.closeOnBgClick;if(t&&i)return!0;if(!f.content||c(e).hasClass("mfp-close")||f.preloader&&e===f.preloader[0])return!0;if(e===f.content[0]||c.contains(f.content[0],e)){if(t)return!0}else if(i&&c.contains(document,e))return!0;return!1}},_addClassToMFP:function(e){f.bgOverlay.addClass(e),f.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),f.wrap.removeClass(e)},_hasScrollBar:function(e){return(f.isIE7?m.height():document.body.scrollHeight)>(e||M.height())},_setFocus:function(){(f.st.focus?f.content.find(f.st.focus).eq(0):f.wrap).focus()},_onFocusIn:function(e){if(e.target!==f.wrap[0]&&!c.contains(f.wrap[0],e.target))return f._setFocus(),!1},_parseMarkup:function(r,e,t){var s;t.data&&(e=c.extend(t.data,e)),p(x,[r,e,t]),c.each(e,function(e,t){if(void 0===t||!1===t)return!0;var i,n;1<(s=e.split("_")).length?0<(i=r.find(".mfp-"+s[0])).length&&("replaceWith"===(n=s[1])?i[0]!==t[0]&&i.replaceWith(t):"img"===n?i.is("img")?i.attr("src",t):i.replaceWith(c("<img>").attr("src",t).attr("class",i.attr("class"))):i.attr(s[1],t)):r.find(".mfp-"+e).html(t)})},_getScrollbarSize:function(){var e;return void 0===f.scrollbarSize&&((e=document.createElement("div")).style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),f.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)),f.scrollbarSize}},modules:[],open:function(e,t){return s(),(e=e?c.extend(!0,{},e):{}).isObj=!0,e.index=t||0,this.instance.open(e)},close:function(){return c.magnificPopup.instance&&c.magnificPopup.instance.close()},registerModule:function(e,t){t.options&&(c.magnificPopup.defaults[e]=t.options),c.extend(this.proto,t.proto),this.modules.push(e)},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}},c.fn.magnificPopup=function(e){s();var t,i,n,r=c(this);return"string"==typeof e?"open"===e?(t=C?r.data("magnificPopup"):r[0].magnificPopup,i=parseInt(arguments[1],10)||0,n=t.items?t.items[i]:(n=r,(n=t.delegate?n.find(t.delegate):n).eq(i)),f._openClick({mfpEl:n},r,t)):f.isOpen&&f[e].apply(f,Array.prototype.slice.call(arguments,1)):(e=c.extend(!0,{},e),C?r.data("magnificPopup",e):r[0].magnificPopup=e,f.addGroup(r,e)),r},"inline"),I=(c.magnificPopup.registerModule(k,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){f.types.push(k),d(_+"."+k,function(){a()})},getInline:function(e,t){var i,n,r;return a(),e.src?(i=f.st.inline,(n=c(e.src)).length?((r=n[0].parentNode)&&r.tagName&&(v||(l=i.hiddenClass,v=u(l),l="mfp-"+l),y=n.after(v).detach().removeClass(l)),f.updateStatus("ready")):(f.updateStatus("error",i.tNotFound),n=c("<div>")),e.inlineElement=n):(f.updateStatus("ready"),f._parseMarkup(t,{},e),t)}}}),"ajax");c.magnificPopup.registerModule(I,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){f.types.push(I),b=f.st.ajax.cursor,d(_+"."+I,t),d("BeforeChange.ajax",t)},getAjax:function(n){b&&c(document.body).addClass(b),f.updateStatus("loading");var e=c.extend({url:n.src,success:function(e,t,i){e={data:e,xhr:i};p("ParseAjax",e),f.appendContent(c(e.data),I),n.finished=!0,r(),f._setFocus(),setTimeout(function(){f.wrap.addClass(S)},16),f.updateStatus("ready"),p("AjaxContentAdded")},error:function(){r(),n.finished=n.loadError=!0,f.updateStatus("error",f.st.ajax.tError.replace("%url%",n.src))}},f.st.ajax.settings);return f.req=c.ajax(e),""}}});var A;c.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 e=f.st.image,t=".image";f.types.push("image"),d("Open"+t,function(){"image"===f.currItem.type&&e.cursor&&c(document.body).addClass(e.cursor)}),d(_+t,function(){e.cursor&&c(document.body).removeClass(e.cursor),M.off("resize.mfp")}),d("Resize"+t,f.resizeImage),f.isLowIE&&d("AfterChange",f.resizeImage)},resizeImage:function(){var e,t=f.currItem;t&&t.img&&f.st.image.verticalFit&&(e=0,f.isLowIE&&(e=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",f.wH-e))},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,A&&clearInterval(A),e.isCheckingImgSize=!1,p("ImageHasSize",e),e.imgHidden)&&(f.content&&f.content.removeClass("mfp-loading"),e.imgHidden=!1)},findImageSize:function(t){function i(e){A&&clearInterval(A),A=setInterval(function(){0<r.naturalWidth?f._onImageHasSize(t):(200<n&&clearInterval(A),3===++n?i(10):40===n?i(50):100===n&&i(500))},e)}var n=0,r=t.img[0];i(1)},getImage:function(e,t){function i(){e&&(e.img[0].complete?(e.img.off(".mfploader"),e===f.currItem&&(f._onImageHasSize(e),f.updateStatus("ready")),e.hasSize=!0,e.loaded=!0,p("ImageLoadComplete")):++s<200?setTimeout(i,100):n())}function n(){e&&(e.img.off(".mfploader"),e===f.currItem&&(f._onImageHasSize(e),f.updateStatus("error",a.tError.replace("%url%",e.src))),e.hasSize=!0,e.loaded=!0,e.loadError=!0)}var r,s=0,a=f.st.image,o=t.find(".mfp-img");return o.length&&((r=document.createElement("img")).className="mfp-img",e.el&&e.el.find("img").length&&(r.alt=e.el.find("img").attr("alt")),e.img=c(r).on("load.mfploader",i).on("error.mfploader",n),r.src=e.src,o.is("img")&&(e.img=e.img.clone()),0<(r=e.img[0]).naturalWidth?e.hasSize=!0:r.width||(e.hasSize=!1)),f._parseMarkup(t,{title:function(e){if(e.data&&void 0!==e.data.title)return e.data.title;var t=f.st.image.titleSrc;if(t){if(c.isFunction(t))return t.call(f,e);if(e.el)return e.el.attr(t)||""}return""}(e),img_replaceWith:e.img},e),f.resizeImage(),e.hasSize?(A&&clearInterval(A),e.loadError?(t.addClass("mfp-loading"),f.updateStatus("error",a.tError.replace("%url%",e.src))):(t.removeClass("mfp-loading"),f.updateStatus("ready"))):(f.updateStatus("loading"),e.loading=!0,e.hasSize||(e.imgHidden=!0,t.addClass("mfp-loading"),f.findImageSize(e))),t}}});function O(e){var t;f.currTemplate[z]&&(t=f.currTemplate[z].find("iframe")).length&&(e||(t[0].src="//about:blank"),f.isIE8)&&t.css("display",e?"block":"none")}function L(e){var t=f.items.length;return t-1<e?e-t:e<0?t+e:e}function j(e,t,i){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,i)}c.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,t,i,n,r,s,a=f.st.zoom;a.enabled&&f.supportsTransition&&(t=a.duration,i=function(e){var e=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),t="all "+a.duration/1e3+"s "+a.easing,i={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},n="transition";return i["-webkit-"+n]=i["-moz-"+n]=i["-o-"+n]=i[n]=t,e.css(i),e},n=function(){f.content.css("visibility","visible")},d("BuildControls.zoom",function(){f._allowZoom()&&(clearTimeout(r),f.content.css("visibility","hidden"),(e=f._getItemToZoom())?((s=i(e)).css(f._getOffset()),f.wrap.append(s),r=setTimeout(function(){s.css(f._getOffset(!0)),r=setTimeout(function(){n(),setTimeout(function(){s.remove(),e=s=null,p("ZoomAnimationEnded")},16)},t)},16)):n())}),d(w+".zoom",function(){if(f._allowZoom()){if(clearTimeout(r),f.st.removalDelay=t,!e){if(!(e=f._getItemToZoom()))return;s=i(e)}s.css(f._getOffset(!0)),f.wrap.append(s),f.content.css("visibility","hidden"),setTimeout(function(){s.css(f._getOffset())},16)}}),d(_+".zoom",function(){f._allowZoom()&&(n(),s&&s.remove(),e=null)}))},_allowZoom:function(){return"image"===f.currItem.type},_getItemToZoom:function(){return!!f.currItem.hasSize&&f.currItem.img},_getOffset:function(e){var e=e?f.currItem.img:f.st.zoom.opener(f.currItem.el||f.currItem),t=e.offset(),i=parseInt(e.css("padding-top"),10),n=parseInt(e.css("padding-bottom"),10),e=(t.top-=c(window).scrollTop()-i,{width:e.width(),height:(C?e.innerHeight():e[0].offsetHeight)-n-i});return(P=void 0===P?void 0!==document.createElement("p").style.MozTransform:P)?e["-moz-transform"]=e.transform="translate("+t.left+"px,"+t.top+"px)":(e.left=t.left,e.top=t.top),e}}});var P,z="iframe",D=(c.magnificPopup.registerModule(z,{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(){f.types.push(z),d("BeforeChange",function(e,t,i){t!==i&&(t===z?O():i===z&&O(!0))}),d(_+"."+z,function(){O()})},getIframe:function(e,t){var i=e.src,n=f.st.iframe,r=(c.each(n.patterns,function(){if(-1<i.indexOf(this.index))return this.id&&(i="string"==typeof this.id?i.substr(i.lastIndexOf(this.id)+this.id.length,i.length):this.id.call(this,i)),i=this.src.replace("%id%",i),!1}),{});return n.srcAction&&(r[n.srcAction]=i),f._parseMarkup(t,r,e),f.updateStatus("ready"),t}}}),c.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 s=f.st.gallery,e=".mfp-gallery";if(f.direction=!0,!s||!s.enabled)return!1;g+=" mfp-gallery",d("Open"+e,function(){s.navigateByImgClick&&f.wrap.on("click"+e,".mfp-img",function(){if(1<f.items.length)return f.next(),!1}),m.on("keydown"+e,function(e){37===e.keyCode?f.prev():39===e.keyCode&&f.next()})}),d("UpdateStatus"+e,function(e,t){t.text&&(t.text=j(t.text,f.currItem.index,f.items.length))}),d(x+e,function(e,t,i,n){var r=f.items.length;i.counter=1<r?j(s.tCounter,n.index,r):""}),d("BuildControls"+e,function(){var e,t;1<f.items.length&&s.arrows&&!f.arrowLeft&&(t=s.arrowMarkup,e=f.arrowLeft=c(t.replace(/%title%/gi,s.tPrev).replace(/%dir%/gi,"left")).addClass(E),t=f.arrowRight=c(t.replace(/%title%/gi,s.tNext).replace(/%dir%/gi,"right")).addClass(E),e.click(function(){f.prev()}),t.click(function(){f.next()}),f.container.append(e.add(t)))}),d("Change"+e,function(){f._preloadTimeout&&clearTimeout(f._preloadTimeout),f._preloadTimeout=setTimeout(function(){f.preloadNearbyImages(),f._preloadTimeout=null},16)}),d(_+e,function(){m.off(e),f.wrap.off("click"+e),f.arrowRight=f.arrowLeft=null})},next:function(){f.direction=!0,f.index=L(f.index+1),f.updateItemHTML()},prev:function(){f.direction=!1,f.index=L(f.index-1),f.updateItemHTML()},goTo:function(e){f.direction=e>=f.index,f.index=e,f.updateItemHTML()},preloadNearbyImages:function(){for(var e=f.st.gallery.preload,t=Math.min(e[0],f.items.length),i=Math.min(e[1],f.items.length),n=1;n<=(f.direction?i:t);n++)f._preloadItem(f.index+n);for(n=1;n<=(f.direction?t:i);n++)f._preloadItem(f.index-n)},_preloadItem:function(e){var t;e=L(e),f.items[e].preloaded||((t=f.items[e]).parsed||(t=f.parseEl(e)),p("LazyLoad",t),"image"===t.type&&(t.img=c('<img class="mfp-img" />').on("load.mfploader",function(){t.hasSize=!0}).on("error.mfploader",function(){t.hasSize=!0,t.loadError=!0,p("LazyLoadError",t)}).attr("src",t.src)),t.preloaded=!0)}}}),"retina");c.magnificPopup.registerModule(D,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){var i,n;1<window.devicePixelRatio&&(i=f.st.retina,n=i.ratio,1<(n=isNaN(n)?n():n))&&(d("ImageHasSize."+D,function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/n,width:"100%"})}),d("ElementParse."+D,function(e,t){t.src=i.replaceSrc(t,n)}))}}}),s()}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e:e(jQuery)}(function(d){function t(e){var t,i=e||window.event,n=m.call(arguments,1),r=0,s=0,a=0,o=0,l=0,c=0;if((e=d.event.fix(i)).type="mousewheel","detail"in i&&(a=-1*i.detail),"wheelDelta"in i&&(a=i.wheelDelta),"wheelDeltaY"in i&&(a=i.wheelDeltaY),"wheelDeltaX"in i&&(s=-1*i.wheelDeltaX),"axis"in i&&i.axis===i.HORIZONTAL_AXIS&&(s=-1*a,a=0),r=0===a?s:a,"deltaY"in i&&(r=a=-1*i.deltaY),"deltaX"in i&&(s=i.deltaX,0===a)&&(r=-1*s),0!==a||0!==s)return 1===i.deltaMode?(r*=t=d.data(this,"mousewheel-line-height"),a*=t,s*=t):2===i.deltaMode&&(r*=t=d.data(this,"mousewheel-page-height"),a*=t,s*=t),o=Math.max(Math.abs(a),Math.abs(s)),(!f||o<f)&&p(i,f=o)&&(f/=40),p(i,o)&&(r/=40,s/=40,a/=40),r=Math[1<=r?"floor":"ceil"](r/f),s=Math[1<=s?"floor":"ceil"](s/f),a=Math[1<=a?"floor":"ceil"](a/f),g.settings.normalizeOffset&&this.getBoundingClientRect&&(t=this.getBoundingClientRect(),l=e.clientX-t.left,c=e.clientY-t.top),e.deltaX=s,e.deltaY=a,e.deltaFactor=f,e.offsetX=l,e.offsetY=c,e.deltaMode=0,n.unshift(e,r,s,a),h&&clearTimeout(h),h=setTimeout(u,200),(d.event.dispatch||d.event.handle).apply(this,n)}function u(){f=null}function p(e,t){return g.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}var h,f,e=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],i="onwheel"in document||9<=document.documentMode?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],m=Array.prototype.slice;if(d.event.fixHooks)for(var n=e.length;n;)d.event.fixHooks[e[--n]]=d.event.mouseHooks;var g=d.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var e=i.length;e;)this.addEventListener(i[--e],t,!1);else this.onmousewheel=t;d.data(this,"mousewheel-line-height",g.getLineHeight(this)),d.data(this,"mousewheel-page-height",g.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var e=i.length;e;)this.removeEventListener(i[--e],t,!1);else this.onmousewheel=null;d.removeData(this,"mousewheel-line-height"),d.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var e=d(e),t=e["offsetParent"in d.fn?"offsetParent":"parent"]();return t.length||(t=d("body")),parseInt(t.css("fontSize"),10)||parseInt(e.css("fontSize"),10)||16},getPageHeight:function(e){return d(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};d.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e:e(jQuery)}(function(d){function t(e){var t,i=e||window.event,n=m.call(arguments,1),r=0,s=0,a=0,o=0,l=0,c=0;if((e=d.event.fix(i)).type="mousewheel","detail"in i&&(a=-1*i.detail),"wheelDelta"in i&&(a=i.wheelDelta),"wheelDeltaY"in i&&(a=i.wheelDeltaY),"wheelDeltaX"in i&&(s=-1*i.wheelDeltaX),"axis"in i&&i.axis===i.HORIZONTAL_AXIS&&(s=-1*a,a=0),r=0===a?s:a,"deltaY"in i&&(r=a=-1*i.deltaY),"deltaX"in i&&(s=i.deltaX,0===a)&&(r=-1*s),0!==a||0!==s)return 1===i.deltaMode?(r*=t=d.data(this,"mousewheel-line-height"),a*=t,s*=t):2===i.deltaMode&&(r*=t=d.data(this,"mousewheel-page-height"),a*=t,s*=t),o=Math.max(Math.abs(a),Math.abs(s)),(!f||o<f)&&p(i,f=o)&&(f/=40),p(i,o)&&(r/=40,s/=40,a/=40),r=Math[1<=r?"floor":"ceil"](r/f),s=Math[1<=s?"floor":"ceil"](s/f),a=Math[1<=a?"floor":"ceil"](a/f),g.settings.normalizeOffset&&this.getBoundingClientRect&&(t=this.getBoundingClientRect(),l=e.clientX-t.left,c=e.clientY-t.top),e.deltaX=s,e.deltaY=a,e.deltaFactor=f,e.offsetX=l,e.offsetY=c,e.deltaMode=0,n.unshift(e,r,s,a),h&&clearTimeout(h),h=setTimeout(u,200),(d.event.dispatch||d.event.handle).apply(this,n)}function u(){f=null}function p(e,t){return g.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}var h,f,e=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],i="onwheel"in document||9<=document.documentMode?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],m=Array.prototype.slice;if(d.event.fixHooks)for(var n=e.length;n;)d.event.fixHooks[e[--n]]=d.event.mouseHooks;var g=d.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var e=i.length;e;)this.addEventListener(i[--e],t,!1);else this.onmousewheel=t;d.data(this,"mousewheel-line-height",g.getLineHeight(this)),d.data(this,"mousewheel-page-height",g.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var e=i.length;e;)this.removeEventListener(i[--e],t,!1);else this.onmousewheel=null;d.removeData(this,"mousewheel-line-height"),d.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var e=d(e),t=e["offsetParent"in d.fn?"offsetParent":"parent"]();return t.length||(t=d("body")),parseInt(t.css("fontSize"),10)||parseInt(e.css("fontSize"),10)||16},getPageHeight:function(e){return d(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};d.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof module&&module.exports?module.exports=e:e(jQuery,window,document)}(function(P){var z,l,D,n,r,I,s,m,R,g,p,c,o,d,A,O,L,u,q,Y,$,X,S,G,h,V,f,v,j,U,Q,K,Z,a,B,y,J,ee,te,ie,ne,re,b,E,_,w,F,N,C,H,t,x,T,W,M,k,se,e,i,ae;e="function"==typeof define&&define.amd,i="undefined"!=typeof module&&module.exports,ae="https:"==document.location.protocol?"https:":"http:",e||(i?require("jquery-mousewheel")(P):P.event.special.mousewheel||P("head").append(decodeURI("%3Cscript src="+ae+"//cdnjs.cloudflare.com/ajax/libs/jquery-mousewheel/3.1.13/jquery.mousewheel.min.js%3E%3C/script%3E"))),l="mCustomScrollbar",D="mCS",n=".mCustomScrollbar",r={setTop:0,setLeft:0,axis:"y",scrollbarPosition:"inside",scrollInertia:950,autoDraggerLength:!0,alwaysShowScrollbar:0,snapOffset:0,mouseWheel:{enable:!0,scrollAmount:"auto",axis:"y",deltaFactor:"auto",disableOver:["select","option","keygen","datalist","textarea"]},scrollButtons:{scrollType:"stepless",scrollAmount:"auto"},keyboard:{enable:!0,scrollType:"stepless",scrollAmount:"auto"},contentTouchScroll:25,documentTouchScroll:!0,advanced:{autoScrollOnFocus:"input,textarea,select,button,datalist,keygen,a[tabindex],area,object,[contenteditable='true']",updateOnContentResize:!0,updateOnImageLoad:"auto",autoUpdateTimeout:60},theme:"light",callbacks:{onTotalScrollOffset:0,onTotalScrollBackOffset:0,alwaysTriggerOffsets:!0}},I=0,s={},m=window.attachEvent&&!window.addEventListener?1:0,R=!1,g=["mCSB_dragger_onDrag","mCSB_scrollTools_onDrag","mCS_img_loaded","mCS_disabled","mCS_destroyed","mCS_no_scrollbar","mCS-autoHide","mCS-dir-rtl","mCS_no_scrollbar_y","mCS_no_scrollbar_x","mCS_y_hidden","mCS_x_hidden","mCSB_draggerContainer","mCSB_buttonUp","mCSB_buttonDown","mCSB_buttonLeft","mCSB_buttonRight"],p={init:function(a){var a=P.extend(!0,{},r,a),e=c.call(this);if(a.live){var t=a.liveSelector||this.selector||n,i=P(t);if("off"===a.live)return void d(t);s[t]=setTimeout(function(){i.mCustomScrollbar(a),"once"===a.live&&i.length&&d(t)},500)}else d(t);return a.setWidth=a.set_width||a.setWidth,a.setHeight=a.set_height||a.setHeight,a.axis=a.horizontalScroll?"x":A(a.axis),a.scrollInertia=0<a.scrollInertia&&a.scrollInertia<17?17:a.scrollInertia,"object"!=typeof a.mouseWheel&&1==a.mouseWheel&&(a.mouseWheel={enable:!0,scrollAmount:"auto",axis:"y",preventDefault:!1,deltaFactor:"auto",normalizeDelta:!1,invert:!1}),a.mouseWheel.scrollAmount=a.mouseWheelPixels||a.mouseWheel.scrollAmount,a.mouseWheel.normalizeDelta=a.advanced.normalizeMouseWheelDelta||a.mouseWheel.normalizeDelta,a.scrollButtons.scrollType=O(a.scrollButtons.scrollType),o(a),P(e).each(function(){var e,t,i,n,r,s=P(this);s.data(D)||(s.data(D,{idx:++I,opt:a,scrollRatio:{y:null,x:null},overflowed:null,contentReset:{y:null,x:null},bindEvents:!1,tweenRunning:!1,sequential:{},langDir:s.css("direction"),cbOffsets:null,trigger:null,poll:{size:{o:0,n:0},img:{o:0,n:0},change:{o:0,n:0}}}),t=(e=s.data(D)).opt,i=s.data("mcs-axis"),n=s.data("mcs-scrollbar-position"),r=s.data("mcs-theme"),i&&(t.axis=i),n&&(t.scrollbarPosition=n),r&&(t.theme=r,o(t)),L.call(this),e&&t.callbacks.onCreate&&"function"==typeof t.callbacks.onCreate&&t.callbacks.onCreate.call(this),P("#mCSB_"+e.idx+"_container img:not(."+g[2]+")").addClass(g[2]),p.update.call(null,s))})},update:function(e,a){e=e||c.call(this);return P(e).each(function(){var e,t,i,n,r,s=P(this);s.data(D)&&(t=(e=s.data(D)).opt,i=P("#mCSB_"+e.idx+"_container"),r=P("#mCSB_"+e.idx),n=[P("#mCSB_"+e.idx+"_dragger_vertical"),P("#mCSB_"+e.idx+"_dragger_horizontal")],i.length)&&(e.tweenRunning&&F(s),a&&e&&t.callbacks.onBeforeUpdate&&"function"==typeof t.callbacks.onBeforeUpdate&&t.callbacks.onBeforeUpdate.call(this),s.hasClass(g[3])&&s.removeClass(g[3]),s.hasClass(g[4])&&s.removeClass(g[4]),r.css("max-height","none"),r.height()!==s.height()&&r.css("max-height",s.height()),q.call(this),"y"===t.axis||t.advanced.autoExpandHorizontalScroll||i.css("width",u(i)),e.overflowed=G.call(this),v.call(this),t.autoDraggerLength&&$.call(this),X.call(this),V.call(this),r=[Math.abs(i[0].offsetTop),Math.abs(i[0].offsetLeft)],"x"!==t.axis&&(e.overflowed[0]?n[0].height()>n[0].parent().height()?h.call(this):(N(s,r[0].toString(),{dir:"y",dur:0,overwrite:"none"}),e.contentReset.y=null):(h.call(this),"y"===t.axis?f.call(this):"yx"===t.axis&&e.overflowed[1]&&N(s,r[1].toString(),{dir:"x",dur:0,overwrite:"none"}))),"y"!==t.axis&&(e.overflowed[1]?n[1].width()>n[1].parent().width()?h.call(this):(N(s,r[1].toString(),{dir:"x",dur:0,overwrite:"none"}),e.contentReset.x=null):(h.call(this),"x"===t.axis?f.call(this):"yx"===t.axis&&e.overflowed[0]&&N(s,r[0].toString(),{dir:"y",dur:0,overwrite:"none"}))),a&&e&&(2===a&&t.callbacks.onImageLoad&&"function"==typeof t.callbacks.onImageLoad?t.callbacks.onImageLoad.call(this):3===a&&t.callbacks.onSelectorChange&&"function"==typeof t.callbacks.onSelectorChange?t.callbacks.onSelectorChange.call(this):t.callbacks.onUpdate&&"function"==typeof t.callbacks.onUpdate&&t.callbacks.onUpdate.call(this)),w.call(this))})},scrollTo:function(a,o){var e;if(void 0!==a&&null!=a)return e=c.call(this),P(e).each(function(){var e,t,i,n,r,s=P(this);s.data(D)&&(e=s.data(D),r={trigger:"external",scrollInertia:(t=e.opt).scrollInertia,scrollEasing:"mcsEaseInOut",moveDragger:!1,timeout:60,callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},i=P.extend(!0,{},r,o),n=E.call(this,a),r=0<i.scrollInertia&&i.scrollInertia<17?17:i.scrollInertia,n[0]=_.call(this,n[0],"y"),n[1]=_.call(this,n[1],"x"),i.moveDragger&&(n[0]*=e.scrollRatio.y,n[1]*=e.scrollRatio.x),i.dur=se()?0:r,setTimeout(function(){null!==n[0]&&void 0!==n[0]&&"x"!==t.axis&&e.overflowed[0]&&(i.dir="y",i.overwrite="all",N(s,n[0].toString(),i)),null!==n[1]&&void 0!==n[1]&&"y"!==t.axis&&e.overflowed[1]&&(i.dir="x",i.overwrite="none",N(s,n[1].toString(),i))},i.timeout))})},stop:function(){var e=c.call(this);return P(e).each(function(){var e=P(this);e.data(D)&&F(e)})},disable:function(t){var e=c.call(this);return P(e).each(function(){var e=P(this);e.data(D)&&(e.data(D),w.call(this,"remove"),f.call(this),t&&h.call(this),v.call(this,!0),e.addClass(g[3]))})},destroy:function(){var a=c.call(this);return P(a).each(function(){var e,t,i,n,r,s=P(this);s.data(D)&&(t=(e=s.data(D)).opt,i=P("#mCSB_"+e.idx),n=P("#mCSB_"+e.idx+"_container"),r=P(".mCSB_"+e.idx+"_scrollbar"),t.live&&d(t.liveSelector||P(a).selector),w.call(this,"remove"),f.call(this),h.call(this),s.removeData(D),x(this,"mcs"),r.remove(),n.find("img."+g[2]).removeClass(g[2]),i.replaceWith(n.contents()),s.removeClass(l+" _"+D+"_"+e.idx+" "+g[6]+" "+g[7]+" "+g[5]+" "+g[3]).addClass(g[4]))})}},c=function(){return"object"!=typeof P(this)||P(this).length<1?n:this},o=function(e){e.autoDraggerLength=!(-1<P.inArray(e.theme,["rounded","rounded-dark","rounded-dots","rounded-dots-dark"]))&&e.autoDraggerLength,e.autoExpandScrollbar=!(-1<P.inArray(e.theme,["rounded-dots","rounded-dots-dark","3d","3d-dark","3d-thick","3d-thick-dark","inset","inset-dark","inset-2","inset-2-dark","inset-3","inset-3-dark"]))&&e.autoExpandScrollbar,e.scrollButtons.enable=!(-1<P.inArray(e.theme,["minimal","minimal-dark"]))&&e.scrollButtons.enable,e.autoHideScrollbar=-1<P.inArray(e.theme,["minimal","minimal-dark"])||e.autoHideScrollbar,e.scrollbarPosition=-1<P.inArray(e.theme,["minimal","minimal-dark"])?"outside":e.scrollbarPosition},d=function(e){s[e]&&(clearTimeout(s[e]),x(s,e))},A=function(e){return"yx"===e||"xy"===e||"auto"===e?"yx":"x"===e||"horizontal"===e?"x":"y"},O=function(e){return"stepped"===e||"pixels"===e||"step"===e||"click"===e?"stepped":"stepless"},L=function(){var e=P(this),t=e.data(D),i=t.opt,n=i.autoExpandScrollbar?" "+g[1]+"_expand":"",n=["<div id='mCSB_"+t.idx+"_scrollbar_vertical' class='mCSB_scrollTools mCSB_"+t.idx+"_scrollbar mCS-"+i.theme+" mCSB_scrollTools_vertical"+n+"'><div class='"+g[12]+"'><div id='mCSB_"+t.idx+"_dragger_vertical' class='mCSB_dragger' style='position:absolute;'><div class='mCSB_dragger_bar' /></div></div><div class='mCSB_draggerRail' /></div>","<div id='mCSB_"+t.idx+"_scrollbar_horizontal' class='mCSB_scrollTools mCSB_"+t.idx+"_scrollbar mCS-"+i.theme+" mCSB_scrollTools_horizontal"+n+"'><div class='"+g[12]+"'><div id='mCSB_"+t.idx+"_dragger_horizontal' class='mCSB_dragger' style='position:absolute;'><div class='mCSB_dragger_bar' /></div></div><div class='mCSB_draggerRail' /></div>"],r="yx"===i.axis?"mCSB_vertical_horizontal":"x"===i.axis?"mCSB_horizontal":"mCSB_vertical",n="yx"===i.axis?n[0]+n[1]:"x"===i.axis?n[1]:n[0],s="yx"===i.axis?"<div id='mCSB_"+t.idx+"_container_wrapper' class='mCSB_container_wrapper' />":"",a=i.autoHideScrollbar?" "+g[6]:"",o="x"!==i.axis&&"rtl"===t.langDir?" "+g[7]:"",a=(i.setWidth&&e.css("width",i.setWidth),i.setHeight&&e.css("height",i.setHeight),i.setLeft="y"!==i.axis&&"rtl"===t.langDir?"989999px":i.setLeft,e.addClass(l+" _"+D+"_"+t.idx+a+o).wrapInner("<div id='mCSB_"+t.idx+"' class='mCustomScrollBox mCS-"+i.theme+" "+r+"'><div id='mCSB_"+t.idx+"_container' class='mCSB_container' style='position:relative; top:"+i.setTop+"; left:"+i.setLeft+";' dir='"+t.langDir+"' /></div>"),P("#mCSB_"+t.idx)),o=P("#mCSB_"+t.idx+"_container"),r=("y"===i.axis||i.advanced.autoExpandHorizontalScroll||o.css("width",u(o)),"outside"===i.scrollbarPosition?("static"===e.css("position")&&e.css("position","relative"),e.css("overflow","visible"),a.addClass("mCSB_outside").after(n)):(a.addClass("mCSB_inside").append(n),o.wrap(s)),Y.call(this),[P("#mCSB_"+t.idx+"_dragger_vertical"),P("#mCSB_"+t.idx+"_dragger_horizontal")]);r[0].css("min-height",r[0].height()),r[1].css("min-width",r[1].width())},u=function(e){var t=[e[0].scrollWidth,Math.max.apply(Math,e.children().map(function(){return P(this).outerWidth(!0)}).get())],e=e.parent().width();return e<t[0]?t[0]:e<t[1]?t[1]:"100%"},q=function(){var e,t=P(this).data(D),i=t.opt,t=P("#mCSB_"+t.idx+"_container");i.advanced.autoExpandHorizontalScroll&&"y"!==i.axis&&(t.css({width:"auto","min-width":0,"overflow-x":"scroll"}),e=Math.ceil(t[0].scrollWidth),3===i.advanced.autoExpandHorizontalScroll||2!==i.advanced.autoExpandHorizontalScroll&&e>t.parent().width()?t.css({width:e,"min-width":"100%","overflow-x":"inherit"}):t.css({"overflow-x":"inherit",position:"absolute"}).wrap("<div class='mCSB_h_wrapper' style='position:relative; left:0; width:999999px;' />").css({width:Math.ceil(t[0].getBoundingClientRect().right+.4)-Math.floor(t[0].getBoundingClientRect().left),"min-width":"100%",position:"relative"}).unwrap())},Y=function(){var e=P(this).data(D),t=e.opt,e=P(".mCSB_"+e.idx+"_scrollbar:first"),i=M(t.scrollButtons.tabindex)?"tabindex='"+t.scrollButtons.tabindex+"'":"",i=["<a href='#' class='"+g[13]+"' "+i+" />","<a href='#' class='"+g[14]+"' "+i+" />","<a href='#' class='"+g[15]+"' "+i+" />","<a href='#' class='"+g[16]+"' "+i+" />"],i=["x"===t.axis?i[2]:i[0],"x"===t.axis?i[3]:i[1],i[2],i[3]];t.scrollButtons.enable&&e.prepend(i[0]).append(i[1]).next(".mCSB_scrollTools").prepend(i[2]).append(i[3])},$=function(){var e=P(this).data(D),t=P("#mCSB_"+e.idx),i=P("#mCSB_"+e.idx+"_container"),e=[P("#mCSB_"+e.idx+"_dragger_vertical"),P("#mCSB_"+e.idx+"_dragger_horizontal")],t=[t.height()/i.outerHeight(!1),t.width()/i.outerWidth(!1)],i=[parseInt(e[0].css("min-height")),Math.round(t[0]*e[0].parent().height()),parseInt(e[1].css("min-width")),Math.round(t[1]*e[1].parent().width())],t=m&&i[3]<i[2]?i[2]:i[3];e[0].css({height:m&&i[1]<i[0]?i[0]:i[1],"max-height":e[0].parent().height()-10}).find(".mCSB_dragger_bar").css({"line-height":i[0]+"px"}),e[1].css({width:t,"max-width":e[1].parent().width()-10})},X=function(){var e=P(this).data(D),t=P("#mCSB_"+e.idx),i=P("#mCSB_"+e.idx+"_container"),n=[P("#mCSB_"+e.idx+"_dragger_vertical"),P("#mCSB_"+e.idx+"_dragger_horizontal")],i=[i.outerHeight(!1)-t.height(),i.outerWidth(!1)-t.width()],t=[i[0]/(n[0].parent().height()-n[0].height()),i[1]/(n[1].parent().width()-n[1].width())];e.scrollRatio={y:t[0],x:t[1]}},S=function(e,t,i){var i=i?g[0]+"_expanded":"",n=e.closest(".mCSB_scrollTools");"active"===t?(e.toggleClass(g[0]+" "+i),n.toggleClass(g[1]),e[0]._draggable=e[0]._draggable?0:1):e[0]._draggable||("hide"===t?(e.removeClass(g[0]),n.removeClass(g[1])):(e.addClass(g[0]),n.addClass(g[1])))},G=function(){var e=P(this).data(D),t=P("#mCSB_"+e.idx),i=P("#mCSB_"+e.idx+"_container"),n=null==e.overflowed?i.height():i.outerHeight(!1),e=null==e.overflowed?i.width():i.outerWidth(!1),r=i[0].scrollHeight,i=i[0].scrollWidth;return e<i&&(e=i),[(n=n<r?r:n)>t.height(),e>t.width()]},h=function(){var e=P(this),t=e.data(D),i=t.opt,n=P("#mCSB_"+t.idx),r=P("#mCSB_"+t.idx+"_container"),s=[P("#mCSB_"+t.idx+"_dragger_vertical"),P("#mCSB_"+t.idx+"_dragger_horizontal")];F(e),("x"!==i.axis&&!t.overflowed[0]||"y"===i.axis&&t.overflowed[0])&&(s[0].add(r).css("top",0),N(e,"_resetY")),("y"!==i.axis&&!t.overflowed[1]||"x"===i.axis&&t.overflowed[1])&&(i=dx=0,"rtl"===t.langDir&&(i=n.width()-r.outerWidth(!1),dx=Math.abs(i/t.scrollRatio.x)),r.css("left",i),s[1].css("left",dx),N(e,"_resetX"))},V=function(){var t,i=P(this),e=i.data(D),n=e.opt;e.bindEvents||(U.call(this),n.contentTouchScroll&&Q.call(this),K.call(this),n.mouseWheel.enable&&function e(){t=setTimeout(function(){P.event.special.mousewheel?(clearTimeout(t),Z.call(i[0])):e()},100)}(),ee.call(this),ie.call(this),n.advanced.autoScrollOnFocus&&te.call(this),n.scrollButtons.enable&&ne.call(this),n.keyboard.enable&&re.call(this),e.bindEvents=!0)},f=function(){var e=P(this),t=e.data(D),i=t.opt,n="mCS_"+t.idx,r=".mCSB_"+t.idx+"_scrollbar",r=P("#mCSB_"+t.idx+",#mCSB_"+t.idx+"_container,#mCSB_"+t.idx+"_container_wrapper,"+r+" ."+g[12]+",#mCSB_"+t.idx+"_dragger_vertical,#mCSB_"+t.idx+"_dragger_horizontal,"+r+">a"),s=P("#mCSB_"+t.idx+"_container");i.advanced.releaseDraggableSelectors&&r.add(P(i.advanced.releaseDraggableSelectors)),i.advanced.extraDraggableSelectors&&r.add(P(i.advanced.extraDraggableSelectors)),t.bindEvents&&(P(document).add(P(!B()||top.document)).unbind("."+n),r.each(function(){P(this).unbind("."+n)}),clearTimeout(e[0]._focusTimeout),x(e[0],"_focusTimeout"),clearTimeout(t.sequential.step),x(t.sequential,"step"),clearTimeout(s[0].onCompleteTimeout),x(s[0],"onCompleteTimeout"),t.bindEvents=!1)},v=function(e){var t=P(this),i=t.data(D),n=i.opt,r=P("#mCSB_"+i.idx+"_container_wrapper"),r=r.length?r:P("#mCSB_"+i.idx+"_container"),s=[P("#mCSB_"+i.idx+"_scrollbar_vertical"),P("#mCSB_"+i.idx+"_scrollbar_horizontal")],a=[s[0].find(".mCSB_dragger"),s[1].find(".mCSB_dragger")];"x"!==n.axis&&(i.overflowed[0]&&!e?(s[0].add(a[0]).add(s[0].children("a")).css("display","block"),r.removeClass(g[8]+" "+g[10])):(n.alwaysShowScrollbar?(2!==n.alwaysShowScrollbar&&a[0].css("display","none"),r.removeClass(g[10])):(s[0].css("display","none"),r.addClass(g[10])),r.addClass(g[8]))),"y"!==n.axis&&(i.overflowed[1]&&!e?(s[1].add(a[1]).add(s[1].children("a")).css("display","block"),r.removeClass(g[9]+" "+g[11])):(n.alwaysShowScrollbar?(2!==n.alwaysShowScrollbar&&a[1].css("display","none"),r.removeClass(g[11])):(s[1].css("display","none"),r.addClass(g[11])),r.addClass(g[9]))),i.overflowed[0]||i.overflowed[1]?t.removeClass(g[5]):t.addClass(g[5])},j=function(e){var t=e.type,i=e.target.ownerDocument!==document&&null!==frameElement?[P(frameElement).offset().top,P(frameElement).offset().left]:null,n=B()&&e.target.ownerDocument!==top.document&&null!==frameElement?[P(e.view.frameElement).offset().top,P(e.view.frameElement).offset().left]:[0,0];switch(t){case"pointerdown":case"MSPointerDown":case"pointermove":case"MSPointerMove":case"pointerup":case"MSPointerUp":return i?[e.originalEvent.pageY-i[0]+n[0],e.originalEvent.pageX-i[1]+n[1],!1]:[e.originalEvent.pageY,e.originalEvent.pageX,!1];case"touchstart":case"touchmove":case"touchend":var r=e.originalEvent.touches[0]||e.originalEvent.changedTouches[0],s=e.originalEvent.touches.length||e.originalEvent.changedTouches.length;return e.target.ownerDocument!==document?[r.screenY,r.screenX,1<s]:[r.pageY,r.pageX,1<s];default:return i?[e.pageY-i[0]+n[0],e.pageX-i[1]+n[1],!1]:[e.pageY,e.pageX,!1]}},U=function(){function n(e,t,i,n){var r;u[0].idleTimer=c.scrollInertia<233?250:0,t=s.attr("id")===d[1]?(r="x",(s[0].offsetLeft-t+n)*l.scrollRatio.x):(r="y",(s[0].offsetTop-e+i)*l.scrollRatio.y),N(o,t.toString(),{dir:r,drag:!0})}var s,r,a,o=P(this),l=o.data(D),c=l.opt,e="mCS_"+l.idx,d=["mCSB_"+l.idx+"_dragger_vertical","mCSB_"+l.idx+"_dragger_horizontal"],u=P("#mCSB_"+l.idx+"_container"),t=P("#"+d[0]+",#"+d[1]),i=c.advanced.releaseDraggableSelectors?t.add(P(c.advanced.releaseDraggableSelectors)):t,p=c.advanced.extraDraggableSelectors?P(!B()||top.document).add(P(c.advanced.extraDraggableSelectors)):P(!B()||top.document);t.bind("contextmenu."+e,function(e){e.preventDefault()}).bind("mousedown."+e+" touchstart."+e+" pointerdown."+e+" MSPointerDown."+e,function(e){var t,i,n;e.stopImmediatePropagation(),e.preventDefault(),T(e)&&(R=!0,m&&(document.onselectstart=function(){return!1}),y.call(u,!1),F(o),n=(s=P(this)).offset(),t=j(e)[0]-n.top,e=j(e)[1]-n.left,i=s.height()+n.top,n=s.width()+n.left,t<i&&0<t&&e<n&&0<e&&(r=t,a=e),S(s,"active",c.autoExpandScrollbar))}).bind("touchmove."+e,function(e){e.stopImmediatePropagation(),e.preventDefault();var t=s.offset(),i=j(e)[0]-t.top,e=j(e)[1]-t.left;n(r,a,i,e)}),P(document).add(p).bind("mousemove."+e+" pointermove."+e+" MSPointerMove."+e,function(e){var t,i;s&&(t=s.offset(),i=j(e)[0]-t.top,e=j(e)[1]-t.left,r===i&&a===e||n(r,a,i,e))}).add(i).bind("mouseup."+e+" touchend."+e+" pointerup."+e+" MSPointerUp."+e,function(){s&&(S(s,"active",c.autoExpandScrollbar),s=null),R=!1,m&&(document.onselectstart=null),y.call(u,!0)})},Q=function(){function t(e){if(!W(e)||R||j(e)[2])return z=0;y=v=0,o=z=1,b.removeClass("mCS_touch_action");var t=T.offset();l=j(e)[0]-t.top,c=j(e)[1]-t.left,I=[j(e)[0],j(e)[1]]}function i(e){var t,i,n,r,s;W(e)&&!R&&!j(e)[2]&&(w.documentTouchScroll||e.preventDefault(),e.stopImmediatePropagation(),!y||v)&&o&&(h=H(),i=x.offset(),t=j(e)[0]-i.top,i=j(e)[1]-i.left,n="mcsLinearOut",E.push(t),C.push(i),I[2]=Math.abs(j(e)[0]-I[0]),I[3]=Math.abs(j(e)[1]-I[1]),_.overflowed[0]&&(r=S[0].parent().height()-S[0].height(),r=0<l-t&&t-l>-(r*_.scrollRatio.y)&&(2*I[3]<I[2]||"yx"===w.axis)),_.overflowed[1]&&(s=S[1].parent().width()-S[1].width(),s=0<c-i&&i-c>-(s*_.scrollRatio.x)&&(2*I[2]<I[3]||"yx"===w.axis)),r||s?(L||e.preventDefault(),v=1):(y=1,b.addClass("mCS_touch_action")),L&&e.preventDefault(),m="yx"===w.axis?[l-t,c-i]:"x"===w.axis?[null,c-i]:[l-t,null],T[0].idleTimer=250,_.overflowed[0]&&a(m[0],M,n,"y","all",!0),_.overflowed[1])&&a(m[1],M,n,"x",k,!0)}function n(e){if(!W(e)||R||j(e)[2])return z=0;z=1,e.stopImmediatePropagation(),F(b),p=H();var t=x.offset();d=j(e)[0]-t.top,u=j(e)[1]-t.left,E=[],C=[]}function r(e){var t,i,n,r;!W(e)||R||j(e)[2]||(o=0,e.stopImmediatePropagation(),y=v=0,f=H(),t=x.offset(),r=j(e)[0]-t.top,e=j(e)[1]-t.left,30<f-h)||(t="mcsEaseOut",n=(i=(f=1e3/(f-p))<2.5)?[E[E.length-2],C[C.length-2]]:[0,0],g=i?[r-n[0],e-n[1]]:[r-d,e-u],n=[Math.abs(g[0]),Math.abs(g[1])],f=i?[Math.abs(g[0]/4),Math.abs(g[1]/4)]:[f,f],r=[Math.abs(T[0].offsetTop)-g[0]*s(n[0]/f[0],f[0]),Math.abs(T[0].offsetLeft)-g[1]*s(n[1]/f[1],f[1])],m="yx"===w.axis?[r[0],r[1]]:"x"===w.axis?[null,r[1]]:[r[0],null],g=[4*n[0]+w.scrollInertia,4*n[1]+w.scrollInertia],e=parseInt(w.contentTouchScroll)||0,m[0]=e<n[0]?m[0]:0,m[1]=e<n[1]?m[1]:0,_.overflowed[0]&&a(m[0],g[0],t,"y",k,!1),_.overflowed[1]&&a(m[1],g[1],t,"x",k,!1))}function s(e,t){var i=[1.5*t,2*t,t/1.5,t/2];return 90<e?4<t?i[0]:i[3]:60<e?3<t?i[3]:i[2]:30<e?8<t?i[1]:6<t?i[0]:4<t?t:i[2]:8<t?t:i[3]}function a(e,t,i,n,r,s){e&&N(b,e.toString(),{dur:t,scrollEasing:i,dir:n,overwrite:r,drag:s})}var o,l,c,d,u,p,h,f,m,g,v,y,b=P(this),_=b.data(D),w=_.opt,e="mCS_"+_.idx,x=P("#mCSB_"+_.idx),T=P("#mCSB_"+_.idx+"_container"),S=[P("#mCSB_"+_.idx+"_dragger_vertical"),P("#mCSB_"+_.idx+"_dragger_horizontal")],E=[],C=[],M=0,k="yx"===w.axis?"none":"all",I=[],A=T.find("iframe"),O=["touchstart."+e+" pointerdown."+e+" MSPointerDown."+e,"touchmove."+e+" pointermove."+e+" MSPointerMove."+e,"touchend."+e+" pointerup."+e+" MSPointerUp."+e],L=void 0!==document.body.style.touchAction&&""!==document.body.style.touchAction;T.bind(O[0],function(e){t(e)}).bind(O[1],function(e){i(e)}),x.bind(O[0],function(e){n(e)}).bind(O[2],function(e){r(e)}),A.length&&A.each(function(){P(this).bind("load",function(){B(this)&&P(this.contentDocument||this.contentWindow.document).bind(O[0],function(e){t(e),n(e)}).bind(O[1],function(e){i(e)}).bind(O[2],function(e){r(e)})})})},K=function(){function n(e,t,i){l.type=i&&r?"stepped":"stepless",l.scrollAmount=10,b(s,e,t,"mcsLinearOut",i?60:null)}var r,s=P(this),a=s.data(D),o=a.opt,l=a.sequential,e="mCS_"+a.idx,c=P("#mCSB_"+a.idx+"_container"),d=c.parent();c.bind("mousedown."+e,function(){z||r||(r=1,R=!0)}).add(document).bind("mousemove."+e,function(e){var t,i;!z&&r&&(window.getSelection?window.getSelection().toString():document.selection&&"Control"!=document.selection.type&&document.selection.createRange().text)&&(t=c.offset(),i=j(e)[0]-t.top+c[0].offsetTop,e=j(e)[1]-t.left+c[0].offsetLeft,0<i&&i<d.height()&&0<e&&e<d.width()?l.step&&n("off",null,"stepped"):("x"!==o.axis&&a.overflowed[0]&&(i<0?n("on",38):i>d.height()&&n("on",40)),"y"!==o.axis&&a.overflowed[1]&&(e<0?n("on",37):e>d.width()&&n("on",39))))}).bind("mouseup."+e+" dragend."+e,function(){z||(r&&(r=0,n("off",null)),R=!1)})},Z=function(){function i(e,t){var i,n,r,s,a,o,l,c;F(d),J(d,e.target)||(c="auto"!==p.mouseWheel.deltaFactor?parseInt(p.mouseWheel.deltaFactor):!(m&&e.deltaFactor<100)&&e.deltaFactor||100,i=p.scrollInertia,c="x"===p.axis||"x"===p.mouseWheel.axis?(n="x",r=[Math.round(c*u.scrollRatio.x),parseInt(p.mouseWheel.scrollAmount)],s="auto"!==p.mouseWheel.scrollAmount?r[1]:r[0]>=h.width()?.9*h.width():r[0],a=Math.abs(P("#mCSB_"+u.idx+"_container")[0].offsetLeft),o=f[1][0].offsetLeft,l=f[1].parent().width()-f[1].width(),"y"===p.mouseWheel.axis?e.deltaY||t:e.deltaX):(n="y",r=[Math.round(c*u.scrollRatio.y),parseInt(p.mouseWheel.scrollAmount)],s="auto"!==p.mouseWheel.scrollAmount?r[1]:r[0]>=h.height()?.9*h.height():r[0],a=Math.abs(P("#mCSB_"+u.idx+"_container")[0].offsetTop),o=f[0][0].offsetTop,l=f[0].parent().height()-f[0].height(),e.deltaY||t),"y"===n&&!u.overflowed[0])||"x"===n&&!u.overflowed[1]||((p.mouseWheel.invert||e.webkitDirectionInvertedFromDevice)&&(c=-c),(0<(c=p.mouseWheel.normalizeDelta?c<0?-1:1:c)&&0!==o||c<0&&o!==l||p.mouseWheel.preventDefault)&&(e.stopImmediatePropagation(),e.preventDefault()),e.deltaFactor<5&&!p.mouseWheel.normalizeDelta&&(s=e.deltaFactor,i=17),N(d,(a-c*s).toString(),{dir:n,dur:i}))}var d,u,p,e,h,f,t;P(this).data(D)&&(d=P(this),u=d.data(D),p=u.opt,e="mCS_"+u.idx,h=P("#mCSB_"+u.idx),f=[P("#mCSB_"+u.idx+"_dragger_vertical"),P("#mCSB_"+u.idx+"_dragger_horizontal")],(t=P("#mCSB_"+u.idx+"_container").find("iframe")).length&&t.each(function(){P(this).bind("load",function(){B(this)&&P(this.contentDocument||this.contentWindow.document).bind("mousewheel."+e,function(e,t){i(e,t)})})}),h.bind("mousewheel."+e,function(e,t){i(e,t)}))},a=new Object,B=function(e){var t=!1,i=!1,n=null;if(void 0===e?i="#empty":void 0!==P(e).attr("id")&&(i=P(e).attr("id")),!1!==i&&void 0!==a[i])return a[i];if(e)try{n=(e.contentDocument||e.contentWindow.document).body.innerHTML}catch(e){}else try{n=top.document.body.innerHTML}catch(e){}return t=null!==n,!1!==i&&(a[i]=t),t},y=function(e){var t=this.find("iframe");t.length&&t.css("pointer-events",e?"auto":"none")},J=function(e,t){var i=t.nodeName.toLowerCase(),e=e.data(D).opt.mouseWheel.disableOver;return-1<P.inArray(i,e)&&!(-1<P.inArray(i,["select","textarea"])&&!P(t).is(":focus"))},ee=function(){var a,o=P(this),l=o.data(D),e="mCS_"+l.idx,c=P("#mCSB_"+l.idx+"_container"),d=c.parent();P(".mCSB_"+l.idx+"_scrollbar ."+g[12]).bind("mousedown."+e+" touchstart."+e+" pointerdown."+e+" MSPointerDown."+e,function(e){R=!0,P(e.target).hasClass("mCSB_dragger")||(a=1)}).bind("touchend."+e+" pointerup."+e+" MSPointerUp."+e,function(){R=!1}).bind("click."+e,function(e){if(a&&(a=0,P(e.target).hasClass(g[12])||P(e.target).hasClass("mCSB_draggerRail"))){F(o);var t=P(this),i=t.find(".mCSB_dragger");if(0<t.parent(".mCSB_scrollTools_horizontal").length){if(!l.overflowed[1])return;var n="x",r=e.pageX>i.offset().left?-1:1,s=Math.abs(c[0].offsetLeft)-r*(.9*d.width())}else{if(!l.overflowed[0])return;n="y",r=e.pageY>i.offset().top?-1:1,s=Math.abs(c[0].offsetTop)-r*(.9*d.height())}N(o,s.toString(),{dir:n,scrollEasing:"mcsEaseInOut"})}})},te=function(){var r=P(this),e=r.data(D),s=e.opt,t="mCS_"+e.idx,a=P("#mCSB_"+e.idx+"_container"),o=a.parent();a.bind("focusin."+t,function(){var n=P(document.activeElement),e=a.find(".mCustomScrollBox").length;n.is(s.advanced.autoScrollOnFocus)&&(F(r),clearTimeout(r[0]._focusTimeout),r[0]._focusTimer=e?17*e:0,r[0]._focusTimeout=setTimeout(function(){var e=[k(n)[0],k(n)[1]],t=[a[0].offsetTop,a[0].offsetLeft],t=[0<=t[0]+e[0]&&t[0]+e[0]<o.height()-n.outerHeight(!1),0<=t[1]+e[1]&&t[0]+e[1]<o.width()-n.outerWidth(!1)],i="yx"!==s.axis||t[0]||t[1]?"all":"none";"x"===s.axis||t[0]||N(r,e[0].toString(),{dir:"y",scrollEasing:"mcsEaseInOut",overwrite:i,dur:0}),"y"===s.axis||t[1]||N(r,e[1].toString(),{dir:"x",scrollEasing:"mcsEaseInOut",overwrite:i,dur:0})},r[0]._focusTimer))})},ie=function(){var e=P(this).data(D),t="mCS_"+e.idx,i=P("#mCSB_"+e.idx+"_container").parent();i.bind("scroll."+t,function(){0===i.scrollTop()&&0===i.scrollLeft()||P(".mCSB_"+e.idx+"_scrollbar").css("visibility","hidden")})},ne=function(){var n=P(this),r=n.data(D),s=r.opt,a=r.sequential,e="mCS_"+r.idx,t=".mCSB_"+r.idx+"_scrollbar";P(t+">a").bind("contextmenu."+e,function(e){e.preventDefault()}).bind("mousedown."+e+" touchstart."+e+" pointerdown."+e+" MSPointerDown."+e+" mouseup."+e+" touchend."+e+" pointerup."+e+" MSPointerUp."+e+" mouseout."+e+" pointerout."+e+" MSPointerOut."+e+" click."+e,function(e){function t(e,t){a.scrollAmount=s.scrollButtons.scrollAmount,b(n,e,t)}if(e.preventDefault(),T(e)){var i=P(this).attr("class");switch(a.type=s.scrollButtons.scrollType,e.type){case"mousedown":case"touchstart":case"pointerdown":case"MSPointerDown":"stepped"!==a.type&&(R=!0,r.tweenRunning=!1,t("on",i));break;case"mouseup":case"touchend":case"pointerup":case"MSPointerUp":case"mouseout":case"pointerout":case"MSPointerOut":"stepped"!==a.type&&(R=!1,a.dir)&&t("off",i);break;case"click":if("stepped"!==a.type||r.tweenRunning)return;t("on",i)}}})},re=function(){function t(e){function t(e,t){c.type=l.keyboard.scrollType,c.scrollAmount=l.keyboard.scrollAmount,"stepped"===c.type&&o.tweenRunning||b(a,e,t)}switch(e.type){case"blur":o.tweenRunning&&c.dir&&t("off",null);break;case"keydown":case"keyup":var i,n,r=e.keyCode||e.which,s="on";"x"!==l.axis&&(38===r||40===r)||"y"!==l.axis&&(37===r||39===r)?(38!==r&&40!==r||o.overflowed[0])&&(37!==r&&39!==r||o.overflowed[1])&&("keyup"===e.type&&(s="off"),P(document.activeElement).is(p)||(e.preventDefault(),e.stopImmediatePropagation(),t(s,r))):33===r||34===r?((o.overflowed[0]||o.overflowed[1])&&(e.preventDefault(),e.stopImmediatePropagation()),"keyup"===e.type&&(F(a),s=34===r?-1:1,n="x"===l.axis||"yx"===l.axis&&o.overflowed[1]&&!o.overflowed[0]?(i="x",Math.abs(d[0].offsetLeft)-s*(.9*u.width())):(i="y",Math.abs(d[0].offsetTop)-s*(.9*u.height())),N(a,n.toString(),{dir:i,scrollEasing:"mcsEaseInOut"}))):35!==r&&36!==r||P(document.activeElement).is(p)||((o.overflowed[0]||o.overflowed[1])&&(e.preventDefault(),e.stopImmediatePropagation()),"keyup"!==e.type)||(n="x"===l.axis||"yx"===l.axis&&o.overflowed[1]&&!o.overflowed[0]?(i="x",35===r?Math.abs(u.width()-d.outerWidth(!1)):0):(i="y",35===r?Math.abs(u.height()-d.outerHeight(!1)):0),N(a,n.toString(),{dir:i,scrollEasing:"mcsEaseInOut"}))}}var a=P(this),o=a.data(D),l=o.opt,c=o.sequential,e="mCS_"+o.idx,i=P("#mCSB_"+o.idx),d=P("#mCSB_"+o.idx+"_container"),u=d.parent(),p="input,textarea,select,datalist,keygen,[contenteditable='true']",n=d.find("iframe"),r=["blur."+e+" keydown."+e+" keyup."+e];n.length&&n.each(function(){P(this).bind("load",function(){B(this)&&P(this.contentDocument||this.contentWindow.document).bind(r[0],function(e){t(e)})})}),i.attr("tabindex","0").bind(r[0],function(e){t(e)})},b=function(a,e,t,o,l){function c(e){u.snapAmount&&(p.scrollAmount=u.snapAmount instanceof Array?"x"===p.dir[0]?u.snapAmount[1]:u.snapAmount[0]:u.snapAmount);var t="stepped"!==p.type,i=l||(e?t?f/1.5:m:1e3/60),n=e?t?7.5:40:2.5,r=[Math.abs(h[0].offsetTop),Math.abs(h[0].offsetLeft)],s=[10<d.scrollRatio.y?10:d.scrollRatio.y,10<d.scrollRatio.x?10:d.scrollRatio.x],s="x"===p.dir[0]?r[1]+p.dir[1]*(s[1]*n):r[0]+p.dir[1]*(s[0]*n),n="x"===p.dir[0]?r[1]+p.dir[1]*parseInt(p.scrollAmount):r[0]+p.dir[1]*parseInt(p.scrollAmount),n="auto"!==p.scrollAmount?n:s,s=o||(e?t?"mcsLinearOut":"mcsEaseInOut":"mcsLinear"),t=!!e;e&&i<17&&(n="x"===p.dir[0]?r[1]:r[0]),N(a,n.toString(),{dir:p.dir[0],scrollEasing:s,dur:i,onComplete:t}),e?p.dir=!1:(clearTimeout(p.step),p.step=setTimeout(function(){c()},i))}var d=a.data(D),u=d.opt,p=d.sequential,h=P("#mCSB_"+d.idx+"_container"),i="stepped"===p.type,f=u.scrollInertia<26?26:u.scrollInertia,m=u.scrollInertia<1?17:u.scrollInertia;switch(e){case"on":p.dir=[t===g[16]||t===g[15]||39===t||37===t?"x":"y",t===g[13]||t===g[15]||38===t||37===t?-1:1],F(a),M(t)&&"stepped"===p.type||c(i);break;case"off":clearTimeout(p.step),x(p,"step"),F(a),(i||d.tweenRunning&&p.dir)&&c(!0)}},E=function(e){var t=P(this).data(D).opt,i=[];return(e="function"==typeof e?e():e)instanceof Array?i=1<e.length?[e[0],e[1]]:"x"===t.axis?[null,e[0]]:[e[0],null]:(i[0]=e.y||(e.x||"x"===t.axis?null:e),i[1]=e.x||(e.y||"y"===t.axis?null:e)),"function"==typeof i[0]&&(i[0]=i[0]()),"function"==typeof i[1]&&(i[1]=i[1]()),i},_=function(e,t){if(null!=e&&void 0!==e){var i,n,r=P(this),s=r.data(D),a=s.opt,o=P("#mCSB_"+s.idx+"_container"),l=o.parent(),s=typeof e,c="x"===(t=t||("x"===a.axis?"x":"y"))?o.outerWidth(!1)-l.width():o.outerHeight(!1)-l.height(),d="x"===t?o[0].offsetLeft:o[0].offsetTop,u="x"===t?"left":"top";switch(s){case"function":return e();case"object":return(n=e.jquery?e:P(e)).length?"x"===t?k(n)[1]:k(n)[0]:void 0;case"string":case"number":return M(e)?Math.abs(e):-1!==e.indexOf("%")?Math.abs(c*parseInt(e)/100):-1!==e.indexOf("-=")?Math.abs(d-parseInt(e.split("-=")[1])):-1!==e.indexOf("+=")?0<=(i=d+parseInt(e.split("+=")[1]))?0:Math.abs(i):-1!==e.indexOf("px")&&M(e.split("px")[0])?Math.abs(e.split("px")[0]):"top"===e||"left"===e?0:"bottom"===e?Math.abs(l.height()-o.outerHeight(!1)):"right"===e?Math.abs(l.width()-o.outerWidth(!1)):"first"===e||"last"===e?(n=o.find(":"+e),"x"===t?k(n)[1]:k(n)[0]):P(e).length?"x"===t?k(P(e))[1]:k(P(e))[0]:(o.css(u,e),void p.update.call(null,r[0]))}}},w=function(e){function n(e){clearTimeout(o[0].autoUpdate),p.update.call(null,r[0],e)}var r=P(this),s=r.data(D),a=s.opt,o=P("#mCSB_"+s.idx+"_container");return e?(clearTimeout(o[0].autoUpdate),void x(o[0],"autoUpdate")):void function i(){return clearTimeout(o[0].autoUpdate),0===r.parents("html").length?void(r=null):void(o[0].autoUpdate=setTimeout(function(){return a.advanced.updateOnSelectorChange&&(s.poll.change.n=(!0===a.advanced.updateOnSelectorChange&&(a.advanced.updateOnSelectorChange="*"),e=0,t=o.find(a.advanced.updateOnSelectorChange),a.advanced.updateOnSelectorChange&&0<t.length&&t.each(function(){e+=this.offsetHeight+this.offsetWidth}),e),s.poll.change.n!==s.poll.change.o)?(s.poll.change.o=s.poll.change.n,void n(3)):a.advanced.updateOnContentResize&&(s.poll.size.n=r[0].scrollHeight+r[0].scrollWidth+o[0].offsetHeight+r[0].offsetHeight+r[0].offsetWidth,s.poll.size.n!==s.poll.size.o)?(s.poll.size.o=s.poll.size.n,void n(1)):!a.advanced.updateOnImageLoad||"auto"===a.advanced.updateOnImageLoad&&"y"===a.axis||(s.poll.img.n=o.find("img").length,s.poll.img.n===s.poll.img.o)?void((a.advanced.updateOnSelectorChange||a.advanced.updateOnContentResize||a.advanced.updateOnImageLoad)&&i()):(s.poll.img.o=s.poll.img.n,void o.find("img").each(function(){var e,t;P(e=this).hasClass(g[2])?n():((t=new Image).onload=function(e,t){return function(){return t.apply(e,arguments)}}(t,function(){this.onload=null,P(e).addClass(g[2]),n(2)}),t.src=e.src)}));var e,t},a.advanced.autoUpdateTimeout))}()},F=function(e){e=e.data(D);P("#mCSB_"+e.idx+"_container,#mCSB_"+e.idx+"_container_wrapper,#mCSB_"+e.idx+"_dragger_vertical,#mCSB_"+e.idx+"_dragger_horizontal").each(function(){t.call(this)})},N=function(r,e,s){function t(e){return o&&l.callbacks[e]&&"function"==typeof l.callbacks[e]}function i(){var e=[u[0].offsetTop,u[0].offsetLeft],t=[m[0].offsetTop,m[0].offsetLeft],i=[u.outerHeight(!1),u.outerWidth(!1)],n=[d.height(),d.width()];r[0].mcs={content:u,top:e[0],left:e[1],draggerTop:t[0],draggerLeft:t[1],topPct:Math.round(100*Math.abs(e[0])/(Math.abs(i[0])-n[0])),leftPct:Math.round(100*Math.abs(e[1])/(Math.abs(i[1])-n[1])),direction:s.dir}}var n,a,o=r.data(D),l=o.opt,c={trigger:"internal",dir:"y",scrollEasing:"mcsEaseOut",drag:!1,dur:l.scrollInertia,overwrite:"all",callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},c=[(s=P.extend(c,s)).dur,s.drag?0:s.dur],d=P("#mCSB_"+o.idx),u=P("#mCSB_"+o.idx+"_container"),p=u.parent(),h=l.callbacks.onTotalScrollOffset?E.call(r,l.callbacks.onTotalScrollOffset):[0,0],f=l.callbacks.onTotalScrollBackOffset?E.call(r,l.callbacks.onTotalScrollBackOffset):[0,0];if(o.trigger=s.trigger,0===p.scrollTop()&&0===p.scrollLeft()||(P(".mCSB_"+o.idx+"_scrollbar").css("visibility","visible"),p.scrollTop(0).scrollLeft(0)),"_resetY"!==e||o.contentReset.y||(t("onOverflowYNone")&&l.callbacks.onOverflowYNone.call(r[0]),o.contentReset.y=1),"_resetX"!==e||o.contentReset.x||(t("onOverflowXNone")&&l.callbacks.onOverflowXNone.call(r[0]),o.contentReset.x=1),"_resetY"!==e&&"_resetX"!==e){switch(!o.contentReset.y&&r[0].mcs||!o.overflowed[0]||(t("onOverflowY")&&l.callbacks.onOverflowY.call(r[0]),o.contentReset.x=null),!o.contentReset.x&&r[0].mcs||!o.overflowed[1]||(t("onOverflowX")&&l.callbacks.onOverflowX.call(r[0]),o.contentReset.x=null),l.snapAmount&&(p=l.snapAmount instanceof Array?"x"===s.dir?l.snapAmount[1]:l.snapAmount[0]:l.snapAmount,n=e,p=p,a=l.snapOffset,e=Math.round(n/p)*p-a),s.dir){case"x":var m=P("#mCSB_"+o.idx+"_dragger_horizontal"),g="left",v=u[0].offsetLeft,y=[d.width()-u.outerWidth(!1),m.parent().width()-m.width()],b=[e,0===e?0:e/o.scrollRatio.x],_=h[1],w=f[1],x=0<_?_/o.scrollRatio.x:0,T=0<w?w/o.scrollRatio.x:0;break;case"y":m=P("#mCSB_"+o.idx+"_dragger_vertical"),g="top",v=u[0].offsetTop,y=[d.height()-u.outerHeight(!1),m.parent().height()-m.height()],b=[e,0===e?0:e/o.scrollRatio.y],_=h[0],w=f[0],x=0<_?_/o.scrollRatio.y:0,T=0<w?w/o.scrollRatio.y:0}b[1]<0||0===b[0]&&0===b[1]?b=[0,0]:b[1]>=y[1]?b=[y[0],y[1]]:b[0]=-b[0],r[0].mcs||(i(),t("onInit")&&l.callbacks.onInit.call(r[0])),clearTimeout(u[0].onCompleteTimeout),C(m[0],g,Math.round(b[1]),c[1],s.scrollEasing),!o.tweenRunning&&(0===v&&0<=b[0]||v===y[0]&&b[0]<=y[0])||C(u[0],g,Math.round(b[0]),c[0],s.scrollEasing,s.overwrite,{onStart:function(){s.callbacks&&s.onStart&&!o.tweenRunning&&(t("onScrollStart")&&(i(),l.callbacks.onScrollStart.call(r[0])),o.tweenRunning=!0,S(m),o.cbOffsets=[l.callbacks.alwaysTriggerOffsets||v>=y[0]+_,l.callbacks.alwaysTriggerOffsets||v<=-w])},onUpdate:function(){s.callbacks&&s.onUpdate&&t("whileScrolling")&&(i(),l.callbacks.whileScrolling.call(r[0]))},onComplete:function(){var e;s.callbacks&&s.onComplete&&("yx"===l.axis&&clearTimeout(u[0].onCompleteTimeout),e=u[0].idleTimer||0,u[0].onCompleteTimeout=setTimeout(function(){t("onScroll")&&(i(),l.callbacks.onScroll.call(r[0])),t("onTotalScroll")&&b[1]>=y[1]-x&&o.cbOffsets[0]&&(i(),l.callbacks.onTotalScroll.call(r[0])),t("onTotalScrollBack")&&b[1]<=T&&o.cbOffsets[1]&&(i(),l.callbacks.onTotalScrollBack.call(r[0])),o.tweenRunning=!1,u[0].idleTimer=0,S(m,"hide")},e))}})}},C=function(e,t,i,n,r,s,a){function o(){y.stop||(m||u.call(),m=H()-f,l(),m>=y.time&&(y.time=m>y.time?m+c-(m-y.time):m+c-1,y.time<m+1)&&(y.time=m+1),y.time<n?y.id=d(o):h.call())}function l(){0<n?(y.currVal=function(e,t,i,n,r){switch(r){case"linear":case"mcsLinear":return i*e/n+t;case"mcsLinearOut":return e/=n,e--,i*Math.sqrt(1-e*e)+t;case"easeInOutSmooth":return(e/=n/2)<1?i/2*e*e+t:-i/2*(--e*(e-2)-1)+t;case"easeInOutStrong":return(e/=n/2)<1?i/2*Math.pow(2,10*(e-1))+t:(e--,i/2*(2-Math.pow(2,-10*e))+t);case"easeInOut":case"mcsEaseInOut":return(e/=n/2)<1?i/2*e*e*e+t:i/2*((e-=2)*e*e+2)+t;case"easeOutSmooth":return e/=n,-i*(--e*e*e*e-1)+t;case"easeOutStrong":return i*(1-Math.pow(2,-10*e/n))+t;default:var s=(e/=n)*e,a=s*e;return t+i*(.499999999999997*a*s+-2.5*s*s+5.5*a+-6.5*s+4*e)}}(y.time,g,b,n,r),v[t]=Math.round(y.currVal)+"px"):v[t]=i+"px",p.call()}e._mTween||(e._mTween={top:{},left:{}});var c,d,u=(a=a||{}).onStart||function(){},p=a.onUpdate||function(){},h=a.onComplete||function(){},f=H(),m=0,g=e.offsetTop,v=e.style,y=e._mTween[t],b=("left"===t&&(g=e.offsetLeft),i-g);y.stop=0,"none"!==s&&null!=y.id&&(window.requestAnimationFrame?window.cancelAnimationFrame(y.id):clearTimeout(y.id),y.id=null),c=1e3/60,y.time=m+c,d=window.requestAnimationFrame||function(e){return l(),setTimeout(e,.01)},y.id=d(o)},H=function(){return window.performance&&window.performance.now?window.performance.now():window.performance&&window.performance.webkitNow?window.performance.webkitNow():Date.now?Date.now():(new Date).getTime()},t=function(){this._mTween||(this._mTween={top:{},left:{}});for(var e=["top","left"],t=0;t<e.length;t++){var i=e[t];this._mTween[i].id&&(window.requestAnimationFrame?window.cancelAnimationFrame(this._mTween[i].id):clearTimeout(this._mTween[i].id),this._mTween[i].id=null,this._mTween[i].stop=1)}},x=function(t,i){try{delete t[i]}catch(e){t[i]=null}},T=function(e){return!(e.which&&1!==e.which)},W=function(e){e=e.originalEvent.pointerType;return!(e&&"touch"!==e&&2!==e)},M=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},k=function(e){var t=e.parents(".mCSB_container");return[e.offset().top-t.offset().top,e.offset().left-t.offset().left]},se=function(){var e=function(){var e=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var t=0;t<e.length;t++)if(e[t]+"Hidden"in document)return e[t]+"Hidden";return null}();return!!e&&document[e]},P.fn[l]=function(e){return p[e]?p[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void P.error("Method "+e+" does not exist"):p.init.apply(this,arguments)},P[l]=function(e){return p[e]?p[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void P.error("Method "+e+" does not exist"):p.init.apply(this,arguments)},P[l].defaults=r,window[l]=!0,P(window).bind("load",function(){P(n)[l](),P.extend(P.expr[":"],{mcsInView:P.expr[":"].mcsInView||function(e){var t,e=P(e),i=e.parents(".mCSB_container");if(i.length)return t=i.parent(),0<=(i=[i[0].offsetTop,i[0].offsetLeft])[0]+k(e)[0]&&i[0]+k(e)[0]<t.height()-e.outerHeight(!1)&&0<=i[1]+k(e)[1]&&i[1]+k(e)[1]<t.width()-e.outerWidth(!1)},mcsInSight:P.expr[":"].mcsInSight||function(e,t,i){var n,e=P(e),r=e.parents(".mCSB_container"),i="exact"===i[3]?[[1,0],[1,0]]:[[.9,.1],[.6,.4]];if(r.length)return n=[e.outerHeight(!1),e.outerWidth(!1)],e=[r[0].offsetTop+k(e)[0],r[0].offsetLeft+k(e)[1]],r=[r.parent()[0].offsetHeight,r.parent()[0].offsetWidth],e[0]-r[0]*(i=[n[0]<r[0]?i[0]:i[1],n[1]<r[1]?i[0]:i[1]])[0][0]<0&&0<=e[0]+n[0]-r[0]*i[0][1]&&e[1]-r[1]*i[1][0]<0&&0<=e[1]+n[1]-r[1]*i[1][1]},mcsOverflow:P.expr[":"].mcsOverflow||function(e){e=P(e).data(D);if(e)return e.overflowed[0]||e.overflowed[1]}})})}),
/*!
Justified Gallery
Version: 3.8.1
Plugin URL: http://miromannino.github.io/Justified-Gallery/
License: Copyright (c) 2020 Miro Mannino | Released under the MIT License
!*/
function(i){"function"==typeof define&&define.amd?define(["jquery"],i):"object"==typeof module&&module.exports?module.exports=function(e,t){return void 0===t&&(t="undefined"!=typeof window?require("jquery"):require("jquery")(e)),i(t),t}:i(jQuery)}(function(c){function r(e,t){this.settings=t,this.checkSettings(),this.imgAnalyzerTimeout=null,this.entries=null,this.buildingRow={entriesBuff:[],width:0,height:0,aspectRatio:0},this.lastFetchedEntry=null,this.lastAnalyzedIndex=-1,this.yield={every:2,flushed:0},this.border=0<=t.border?t.border:t.margins,this.maxRowHeight=this.retrieveMaxRowHeight(),this.suffixRanges=this.retrieveSuffixRanges(),this.offY=this.border,this.rows=0,this.spinner={phase:0,timeSlot:150,$el:c('<div class="jg-spinner"><span></span><span></span><span></span></div>'),intervalId:null},this.scrollBarOn=!1,this.checkWidthIntervalId=null,this.galleryWidth=e.width(),this.$gallery=e}r.prototype.getSuffix=function(e,t){for(var i=t<e?e:t,n=0;n<this.suffixRanges.length;n++)if(i<=this.suffixRanges[n])return this.settings.sizeRangeSuffixes[this.suffixRanges[n]];return this.settings.sizeRangeSuffixes[this.suffixRanges[n-1]]},r.prototype.removeSuffix=function(e,t){return e.substring(0,e.length-t.length)},r.prototype.endsWith=function(e,t){return-1!==e.indexOf(t,e.length-t.length)},r.prototype.getUsedSuffix=function(e){for(var t in this.settings.sizeRangeSuffixes)if(this.settings.sizeRangeSuffixes.hasOwnProperty(t)&&0!==this.settings.sizeRangeSuffixes[t].length&&this.endsWith(e,this.settings.sizeRangeSuffixes[t]))return this.settings.sizeRangeSuffixes[t];return""},r.prototype.newSrc=function(e,t,i,n){var r;return this.settings.thumbnailPath?r=this.settings.thumbnailPath(e,t,i,n):(n=null!==(n=e.match(this.settings.extension))?n[0]:"",r=e.replace(this.settings.extension,""),r=this.removeSuffix(r,this.getUsedSuffix(r)),r+=this.getSuffix(t,i)+n),r},r.prototype.showImg=function(e,t){this.settings.cssAnimation?(e.addClass("jg-entry-visible"),t&&t()):(e.stop().fadeTo(this.settings.imagesAnimationDuration,1,t),e.find(this.settings.imgSelector).stop().fadeTo(this.settings.imagesAnimationDuration,1,t))},r.prototype.extractImgSrcFromImage=function(e){var t=e.data("safe-src"),i="data-safe-src";return void 0===t&&(t=e.attr("src"),i="src"),e.data("jg.originalSrc",t),e.data("jg.src",t),e.data("jg.originalSrcLoc",i),t},r.prototype.imgFromEntry=function(e){e=e.find(this.settings.imgSelector);return 0===e.length?null:e},r.prototype.captionFromEntry=function(e){e=e.find("> .jg-caption");return 0===e.length?null:e},r.prototype.displayEntry=function(e,t,i,n,r,s){e.width(n),e.height(s),e.css("top",i),e.css("left",t);var a,o,l=this.imgFromEntry(e);null!==l?(l.css("width",n),l.css("height",r),l.css("margin-left",-n/2),l.css("margin-top",-r/2),(a=l.data("jg.src"))&&(a=this.newSrc(a,n,r,l[0]),l.one("error",function(){this.resetImgSrc(l)}),o=function(){l.attr("src",a)},"skipped"===e.data("jg.loaded")&&a?this.onImageEvent(a,function(){this.showImg(e,o),e.data("jg.loaded",!0)}.bind(this)):this.showImg(e,o))):this.showImg(e),this.displayEntryCaption(e)},r.prototype.displayEntryCaption=function(e){var t,i=this.imgFromEntry(e);null!==i&&this.settings.captions?(null===(t=this.captionFromEntry(e))&&(i=i.attr("alt"),this.isValidCaption(i)||(i=e.attr("title")),this.isValidCaption(i))&&(t=c('<div class="jg-caption">'+i+"</div>"),e.append(t),e.data("jg.createdCaption",!0)),null!==t&&(this.settings.cssAnimation||t.stop().fadeTo(0,this.settings.captionSettings.nonVisibleOpacity),this.addCaptionEventsHandlers(e))):this.removeCaptionEventsHandlers(e)},r.prototype.isValidCaption=function(e){return void 0!==e&&0<e.length},r.prototype.onEntryMouseEnterForCaption=function(e){e=this.captionFromEntry(c(e.currentTarget));this.settings.cssAnimation?e.addClass("jg-caption-visible").removeClass("jg-caption-hidden"):e.stop().fadeTo(this.settings.captionSettings.animationDuration,this.settings.captionSettings.visibleOpacity)},r.prototype.onEntryMouseLeaveForCaption=function(e){e=this.captionFromEntry(c(e.currentTarget));this.settings.cssAnimation?e.removeClass("jg-caption-visible").removeClass("jg-caption-hidden"):e.stop().fadeTo(this.settings.captionSettings.animationDuration,this.settings.captionSettings.nonVisibleOpacity)},r.prototype.addCaptionEventsHandlers=function(e){var t;void 0===e.data("jg.captionMouseEvents")&&(t={mouseenter:c.proxy(this.onEntryMouseEnterForCaption,this),mouseleave:c.proxy(this.onEntryMouseLeaveForCaption,this)},e.on("mouseenter",void 0,void 0,t.mouseenter),e.on("mouseleave",void 0,void 0,t.mouseleave),e.data("jg.captionMouseEvents",t))},r.prototype.removeCaptionEventsHandlers=function(e){var t=e.data("jg.captionMouseEvents");void 0!==t&&(e.off("mouseenter",void 0,t.mouseenter),e.off("mouseleave",void 0,t.mouseleave),e.removeData("jg.captionMouseEvents"))},r.prototype.clearBuildingRow=function(){this.buildingRow.entriesBuff=[],this.buildingRow.aspectRatio=0,this.buildingRow.width=0},r.prototype.prepareBuildingRow=function(e,t){var i,n,r,s,a=!0,o=0,l=this.galleryWidth-2*this.border-(this.buildingRow.entriesBuff.length-1)*this.settings.margins,c=l/this.buildingRow.aspectRatio,d=this.settings.rowHeight,u=this.buildingRow.width/l>this.settings.justifyThreshold;if(t||e&&"hide"===this.settings.lastRow&&!u){for(i=0;i<this.buildingRow.entriesBuff.length;i++)n=this.buildingRow.entriesBuff[i],this.settings.cssAnimation?n.removeClass("jg-entry-visible"):(n.stop().fadeTo(0,.1),n.find("> img, > a > img").fadeTo(0,0));return-1}for(e&&!u&&"justify"!==this.settings.lastRow&&"hide"!==this.settings.lastRow&&(a=!1,0<this.rows)&&(a=(d=(this.offY-this.border-this.settings.margins*this.rows)/this.rows)*this.buildingRow.aspectRatio/l>this.settings.justifyThreshold),i=0;i<this.buildingRow.entriesBuff.length;i++)s=(n=this.buildingRow.entriesBuff[i]).data("jg.width")/n.data("jg.height"),s=a?(r=i===this.buildingRow.entriesBuff.length-1?l:c*s,c):(r=d*s,d),l-=Math.round(r),n.data("jg.jwidth",Math.round(r)),n.data("jg.jheight",Math.ceil(s)),(0===i||s<o)&&(o=s);return this.buildingRow.height=o,a},r.prototype.flushRow=function(e,t){var i,n=this.settings,r=this.border,s=this.prepareBuildingRow(e,t);if(t||e&&"hide"===n.lastRow&&-1===s)this.clearBuildingRow();else{if(this.maxRowHeight&&this.maxRowHeight<this.buildingRow.height&&(this.buildingRow.height=this.maxRowHeight),e&&("center"===n.lastRow||"right"===n.lastRow)){for(var a=this.galleryWidth-2*this.border-(this.buildingRow.entriesBuff.length-1)*n.margins,o=0;o<this.buildingRow.entriesBuff.length;o++)a-=(i=this.buildingRow.entriesBuff[o]).data("jg.jwidth");"center"===n.lastRow?r+=Math.round(a/2):"right"===n.lastRow&&(r+=a)}var l=this.buildingRow.entriesBuff.length-1;for(o=0;o<=l;o++)i=this.buildingRow.entriesBuff[this.settings.rtl?l-o:o],this.displayEntry(i,r,this.offY,i.data("jg.jwidth"),i.data("jg.jheight"),this.buildingRow.height),r+=i.data("jg.jwidth")+n.margins;this.galleryHeightToSet=this.offY+this.buildingRow.height+this.border,this.setGalleryTempHeight(this.galleryHeightToSet+this.getSpinnerHeight()),(!e||this.buildingRow.height<=n.rowHeight&&s)&&(this.offY+=this.buildingRow.height+n.margins,this.rows+=1,this.clearBuildingRow(),this.settings.triggerEvent.call(this,"jg.rowflush"))}};var t=0;r.prototype.rememberGalleryHeight=function(){t=this.$gallery.height(),this.$gallery.height(t)},r.prototype.setGalleryTempHeight=function(e){t=Math.max(e,t),this.$gallery.height(t)},r.prototype.setGalleryFinalHeight=function(e){t=e,this.$gallery.height(e)},r.prototype.checkWidth=function(){this.checkWidthIntervalId=setInterval(c.proxy(function(){var e;this.$gallery.is(":visible")&&(e=parseFloat(this.$gallery.width()),Math.abs(e-this.galleryWidth)>this.settings.refreshSensitivity)&&(this.galleryWidth=e,this.rewind(),this.rememberGalleryHeight(),this.startImgAnalyzer(!0))},this),this.settings.refreshTime)},r.prototype.isSpinnerActive=function(){return null!==this.spinner.intervalId},r.prototype.getSpinnerHeight=function(){return this.spinner.$el.innerHeight()},r.prototype.stopLoadingSpinnerAnimation=function(){clearInterval(this.spinner.intervalId),this.spinner.intervalId=null,this.setGalleryTempHeight(this.$gallery.height()-this.getSpinnerHeight()),this.spinner.$el.detach()},r.prototype.startLoadingSpinnerAnimation=function(){var e=this.spinner,t=e.$el.find("span");clearInterval(e.intervalId),this.$gallery.append(e.$el),this.setGalleryTempHeight(this.offY+this.buildingRow.height+this.getSpinnerHeight()),e.intervalId=setInterval(function(){e.phase<t.length?t.eq(e.phase).fadeTo(e.timeSlot,1):t.eq(e.phase-t.length).fadeTo(e.timeSlot,0),e.phase=(e.phase+1)%(2*t.length)},e.timeSlot)},r.prototype.rewind=function(){this.lastFetchedEntry=null,this.lastAnalyzedIndex=-1,this.offY=this.border,this.rows=0,this.clearBuildingRow()},r.prototype.getSelectorWithoutSpinner=function(){return this.settings.selector+", div:not(.jg-spinner)"},r.prototype.getAllEntries=function(){var e=this.getSelectorWithoutSpinner();return this.$gallery.children(e).toArray()},r.prototype.updateEntries=function(e){return 0<(e=e&&null!=this.lastFetchedEntry?(e=this.getSelectorWithoutSpinner(),c(this.lastFetchedEntry).nextAll(e).toArray()):(this.entries=[],this.getAllEntries())).length&&(c.isFunction(this.settings.sort)?e=this.sortArray(e):this.settings.randomize&&(e=this.shuffleArray(e)),this.lastFetchedEntry=e[e.length-1],this.settings.filter?e=this.filterArray(e):this.resetFilters(e)),this.entries=this.entries.concat(e),!0},r.prototype.insertToGallery=function(e){var t=this;c.each(e,function(){c(this).appendTo(t.$gallery)})},r.prototype.shuffleArray=function(e){for(var t,i,n=e.length-1;0<n;n--)t=Math.floor(Math.random()*(n+1)),i=e[n],e[n]=e[t],e[t]=i;return this.insertToGallery(e),e},r.prototype.sortArray=function(e){return e.sort(this.settings.sort),this.insertToGallery(e),e},r.prototype.resetFilters=function(e){for(var t=0;t<e.length;t++)c(e[t]).removeClass("jg-filtered")},r.prototype.filterArray=function(e){var t=this.settings;if("string"===c.type(t.filter))return e.filter(function(e){e=c(e);return e.is(t.filter)?(e.removeClass("jg-filtered"),!0):(e.addClass("jg-filtered").removeClass("jg-visible"),!1)});if(c.isFunction(t.filter)){for(var i=e.filter(t.filter),n=0;n<e.length;n++)-1===i.indexOf(e[n])?c(e[n]).addClass("jg-filtered").removeClass("jg-visible"):c(e[n]).removeClass("jg-filtered");return i}},r.prototype.resetImgSrc=function(e){"src"===e.data("jg.originalSrcLoc")?e.attr("src",e.data("jg.originalSrc")):e.attr("src","")},r.prototype.destroy=function(){clearInterval(this.checkWidthIntervalId),this.stopImgAnalyzerStarter(),c.each(this.getAllEntries(),c.proxy(function(e,t){var t=c(t),i=(t.css("width",""),t.css("height",""),t.css("top",""),t.css("left",""),t.data("jg.loaded",void 0),t.removeClass("jg-entry jg-filtered jg-entry-visible"),this.imgFromEntry(t)),i=(i&&(i.css("width",""),i.css("height",""),i.css("margin-left",""),i.css("margin-top",""),this.resetImgSrc(i),i.data("jg.originalSrc",void 0),i.data("jg.originalSrcLoc",void 0),i.data("jg.src",void 0)),this.removeCaptionEventsHandlers(t),this.captionFromEntry(t));t.data("jg.createdCaption")?(t.data("jg.createdCaption",void 0),null!==i&&i.remove()):null!==i&&i.fadeTo(0,1)},this)),this.$gallery.css("height",""),this.$gallery.removeClass("justified-gallery"),this.$gallery.data("jg.controller",void 0),this.settings.triggerEvent.call(this,"jg.destroy")},r.prototype.analyzeImages=function(e){for(var t=this.lastAnalyzedIndex+1;t<this.entries.length;t++){var i=c(this.entries[t]);if(!0===i.data("jg.loaded")||"skipped"===i.data("jg.loaded")){var n=this.galleryWidth-2*this.border-(this.buildingRow.entriesBuff.length-1)*this.settings.margins,r=i.data("jg.width")/i.data("jg.height");if(this.buildingRow.entriesBuff.push(i),this.buildingRow.aspectRatio+=r,this.buildingRow.width+=r*this.settings.rowHeight,this.lastAnalyzedIndex=t,n/(this.buildingRow.aspectRatio+r)<this.settings.rowHeight&&(this.flushRow(!1,0<this.settings.maxRowsCount&&this.rows===this.settings.maxRowsCount),++this.yield.flushed>=this.yield.every))return void this.startImgAnalyzer(e)}else if("error"!==i.data("jg.loaded"))return}0<this.buildingRow.entriesBuff.length&&this.flushRow(!0,0<this.settings.maxRowsCount&&this.rows===this.settings.maxRowsCount),this.isSpinnerActive()&&this.stopLoadingSpinnerAnimation(),this.stopImgAnalyzerStarter(),this.setGalleryFinalHeight(this.galleryHeightToSet),this.settings.triggerEvent.call(this,e?"jg.resize":"jg.complete")},r.prototype.stopImgAnalyzerStarter=function(){this.yield.flushed=0,null!==this.imgAnalyzerTimeout&&(clearTimeout(this.imgAnalyzerTimeout),this.imgAnalyzerTimeout=null)},r.prototype.startImgAnalyzer=function(e){var t=this;this.stopImgAnalyzerStarter(),this.imgAnalyzerTimeout=setTimeout(function(){t.analyzeImages(e)},.001)},r.prototype.onImageEvent=function(e,t,i){var n,r;(t||i)&&(n=new Image,r=c(n),t&&r.one("load",function(){r.off("load error"),t(n)}),i&&r.one("error",function(){r.off("load error"),i(n)}),n.src=e)},r.prototype.init=function(){var a=!1,o=!1,l=this;c.each(this.entries,function(e,t){var i=c(t),t=l.imgFromEntry(i);if(i.addClass("jg-entry"),!0!==i.data("jg.loaded")&&"skipped"!==i.data("jg.loaded"))if(null!==l.settings.rel&&i.attr("rel",l.settings.rel),null!==l.settings.target&&i.attr("target",l.settings.target),null!==t){var n=l.extractImgSrcFromImage(t);if(!1===l.settings.waitThumbnailsLoad||!n){var r=parseFloat(t.attr("width")),s=parseFloat(t.attr("height"));if("svg"===t.prop("tagName")&&(r=parseFloat(t[0].getBBox().width),s=parseFloat(t[0].getBBox().height)),!isNaN(r)&&!isNaN(s))return i.data("jg.width",r),i.data("jg.height",s),i.data("jg.loaded","skipped"),o=!0,l.startImgAnalyzer(!1),!0}i.data("jg.loaded",!1),a=!0,l.isSpinnerActive()||l.startLoadingSpinnerAnimation(),l.onImageEvent(n,function(e){i.data("jg.width",e.width),i.data("jg.height",e.height),i.data("jg.loaded",!0),l.startImgAnalyzer(!1)},function(){i.data("jg.loaded","error"),l.startImgAnalyzer(!1)})}else i.data("jg.loaded",!0),i.data("jg.width",i.width()|parseFloat(i.css("width"))|1),i.data("jg.height",i.height()|parseFloat(i.css("height"))|1)}),a||o||this.startImgAnalyzer(!1),this.checkWidth()},r.prototype.checkOrConvertNumber=function(e,t){if("string"===c.type(e[t])&&(e[t]=parseFloat(e[t])),"number"!==c.type(e[t]))throw t+" must be a number";if(isNaN(e[t]))throw"invalid number for "+t},r.prototype.checkSizeRangesSuffixes=function(){if("object"!==c.type(this.settings.sizeRangeSuffixes))throw"sizeRangeSuffixes must be defined and must be an object";var e,t=[];for(e in this.settings.sizeRangeSuffixes)this.settings.sizeRangeSuffixes.hasOwnProperty(e)&&t.push(e);for(var i={0:""},n=0;n<t.length;n++)if("string"===c.type(t[n]))try{i[parseInt(t[n].replace(/^[a-z]+/,""),10)]=this.settings.sizeRangeSuffixes[t[n]]}catch(e){throw"sizeRangeSuffixes keys must contains correct numbers ("+e+")"}else i[t[n]]=this.settings.sizeRangeSuffixes[t[n]];this.settings.sizeRangeSuffixes=i},r.prototype.retrieveMaxRowHeight=function(){var e=null,t=this.settings.rowHeight;if("string"===c.type(this.settings.maxRowHeight))e=this.settings.maxRowHeight.match(/^[0-9]+%$/)?t*parseFloat(this.settings.maxRowHeight.match(/^([0-9]+)%$/)[1])/100:parseFloat(this.settings.maxRowHeight);else{if("number"!==c.type(this.settings.maxRowHeight)){if(!1===this.settings.maxRowHeight||null==this.settings.maxRowHeight)return null;throw"maxRowHeight must be a number or a percentage"}e=this.settings.maxRowHeight}if(isNaN(e))throw"invalid number for maxRowHeight";return e=e<t?t:e},r.prototype.checkSettings=function(){this.checkSizeRangesSuffixes(),this.checkOrConvertNumber(this.settings,"rowHeight"),this.checkOrConvertNumber(this.settings,"margins"),this.checkOrConvertNumber(this.settings,"border"),this.checkOrConvertNumber(this.settings,"maxRowsCount");var e=["justify","nojustify","left","center","right","hide"];if(-1===e.indexOf(this.settings.lastRow))throw"lastRow must be one of: "+e.join(", ");if(this.checkOrConvertNumber(this.settings,"justifyThreshold"),this.settings.justifyThreshold<0||1<this.settings.justifyThreshold)throw"justifyThreshold must be in the interval [0,1]";if("boolean"!==c.type(this.settings.cssAnimation))throw"cssAnimation must be a boolean";if("boolean"!==c.type(this.settings.captions))throw"captions must be a boolean";if(this.checkOrConvertNumber(this.settings.captionSettings,"animationDuration"),this.checkOrConvertNumber(this.settings.captionSettings,"visibleOpacity"),this.settings.captionSettings.visibleOpacity<0||1<this.settings.captionSettings.visibleOpacity)throw"captionSettings.visibleOpacity must be in the interval [0, 1]";if(this.checkOrConvertNumber(this.settings.captionSettings,"nonVisibleOpacity"),this.settings.captionSettings.nonVisibleOpacity<0||1<this.settings.captionSettings.nonVisibleOpacity)throw"captionSettings.nonVisibleOpacity must be in the interval [0, 1]";if(this.checkOrConvertNumber(this.settings,"imagesAnimationDuration"),this.checkOrConvertNumber(this.settings,"refreshTime"),this.checkOrConvertNumber(this.settings,"refreshSensitivity"),"boolean"!==c.type(this.settings.randomize))throw"randomize must be a boolean";if("string"!==c.type(this.settings.selector))throw"selector must be a string";if(!1!==this.settings.sort&&!c.isFunction(this.settings.sort))throw"sort must be false or a comparison function";if(!1!==this.settings.filter&&!c.isFunction(this.settings.filter)&&"string"!==c.type(this.settings.filter))throw"filter must be false, a string or a filter function"},r.prototype.retrieveSuffixRanges=function(){var e,t=[];for(e in this.settings.sizeRangeSuffixes)this.settings.sizeRangeSuffixes.hasOwnProperty(e)&&t.push(parseInt(e,10));return t.sort(function(e,t){return t<e?1:e<t?-1:0}),t},r.prototype.updateSettings=function(e){this.settings=c.extend({},this.settings,e),this.checkSettings(),this.border=0<=this.settings.border?this.settings.border:this.settings.margins,this.maxRowHeight=this.retrieveMaxRowHeight(),this.suffixRanges=this.retrieveSuffixRanges()},r.prototype.defaults={sizeRangeSuffixes:{},thumbnailPath:void 0,rowHeight:120,maxRowHeight:!1,maxRowsCount:0,margins:1,border:-1,lastRow:"nojustify",justifyThreshold:.9,waitThumbnailsLoad:!0,captions:!0,cssAnimation:!0,imagesAnimationDuration:500,captionSettings:{animationDuration:500,visibleOpacity:.7,nonVisibleOpacity:0},rel:null,target:null,extension:/\.[^.\\/]+$/,refreshTime:200,refreshSensitivity:0,randomize:!1,rtl:!1,sort:!1,filter:!1,selector:"a",imgSelector:"> img, > a > img, > svg, > a > svg",triggerEvent:function(e){this.$gallery.trigger(e)}},c.fn.justifiedGallery=function(n){return this.each(function(e,t){var t=c(t),i=(t.addClass("justified-gallery"),t.data("jg.controller"));if(void 0===i){if(null!=n&&"object"!==c.type(n)){if("destroy"===n)return;throw"The argument must be an object"}i=new r(t,c.extend({},r.prototype.defaults,n)),t.data("jg.controller",i)}else if("norewind"!==n){if("destroy"===n)return void i.destroy();i.updateSettings(n),i.rewind()}i.updateEntries("norewind"===n)&&i.init()})}});
/*!
Google Map Style
!*/
const Retro=[{elementType:"geometry",stylers:[{color:"#ebe3cd"}]},{elementType:"labels.text.fill",stylers:[{color:"#523735"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f1e6"}]},{featureType:"administrative",elementType:"geometry",stylers:[{visibility:"off"}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#c9b2a6"}]},{featureType:"administrative.land_parcel",elementType:"geometry.stroke",stylers:[{color:"#dcd2be"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#ae9e90"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#93817c"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#a5b076"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#447530"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#f5f1e6"}]},{featureType:"road",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#fdfcf8"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#f8c967"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#e9bc62"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#e98d58"}]},{featureType:"road.highway.controlled_access",elementType:"geometry.stroke",stylers:[{color:"#db8555"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#806b63"}]},{featureType:"transit",stylers:[{visibility:"off"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"transit.line",elementType:"labels.text.fill",stylers:[{color:"#8f7d77"}]},{featureType:"transit.line",elementType:"labels.text.stroke",stylers:[{color:"#ebe3cd"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"#b9d3c2"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#92998d"}]}],Standard=[],Silver=[{elementType:"geometry",stylers:[{color:"#f5f5f5"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f5f5"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#ffffff"}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#dadada"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#c9c9c9"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]}],Dark=[{elementType:"geometry",stylers:[{color:"#212121"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{elementType:"labels.text.stroke",stylers:[{color:"#212121"}]},{featureType:"administrative",elementType:"geometry",stylers:[{color:"#757575"},{visibility:"off"}]},{featureType:"administrative.country",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"administrative.land_parcel",stylers:[{visibility:"off"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#181818"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"poi.park",elementType:"labels.text.stroke",stylers:[{color:"#1b1b1b"}]},{featureType:"road",elementType:"geometry.fill",stylers:[{color:"#2c2c2c"}]},{featureType:"road",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#8a8a8a"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#373737"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#3c3c3c"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#4e4e4e"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"transit",stylers:[{visibility:"off"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#000000"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#3d3d3d"}]}],Night=[{elementType:"geometry",stylers:[{color:"#242f3e"}]},{elementType:"labels.text.fill",stylers:[{color:"#746855"}]},{elementType:"labels.text.stroke",stylers:[{color:"#242f3e"}]},{featureType:"administrative",elementType:"geometry",stylers:[{visibility:"off"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#263c3f"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#6b9a76"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#38414e"}]},{featureType:"road",elementType:"geometry.stroke",stylers:[{color:"#212a37"}]},{featureType:"road",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#9ca5b3"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#746855"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#1f2835"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#f3d19c"}]},{featureType:"transit",stylers:[{visibility:"off"}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#2f3948"}]},{featureType:"transit.station",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#17263c"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#515c6d"}]},{featureType:"water",elementType:"labels.text.stroke",stylers:[{color:"#17263c"}]}],Aubergine=[{elementType:"geometry",stylers:[{color:"#1d2c4d"}]},{elementType:"labels.text.fill",stylers:[{color:"#8ec3b9"}]},{elementType:"labels.text.stroke",stylers:[{color:"#1a3646"}]},{featureType:"administrative",elementType:"geometry",stylers:[{visibility:"off"}]},{featureType:"administrative.country",elementType:"geometry.stroke",stylers:[{color:"#4b6878"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#64779e"}]},{featureType:"administrative.province",elementType:"geometry.stroke",stylers:[{color:"#4b6878"}]},{featureType:"landscape.man_made",elementType:"geometry.stroke",stylers:[{color:"#334e87"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#023e58"}]},{featureType:"poi",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#283d6a"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#6f9ba5"}]},{featureType:"poi",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#023e58"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#3C7680"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#304a7d"}]},{featureType:"road",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#98a5be"}]},{featureType:"road",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#2c6675"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#255763"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#b0d5ce"}]},{featureType:"road.highway",elementType:"labels.text.stroke",stylers:[{color:"#023e58"}]},{featureType:"transit",stylers:[{visibility:"off"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#98a5be"}]},{featureType:"transit",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"transit.line",elementType:"geometry.fill",stylers:[{color:"#283d6a"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#3a4762"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#0e1626"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#4e6d70"}]}]
/*!
Crafto - Parallax
Created by ThemeZaa
!*/;!function(o){var l=o(window),c=l.height();l.resize(function(){c=l.height()}),o.fn.parallax=function(n,r,e){var s,a=o(this);function t(){var i=l.scrollTop();a.each(function(){var e=o(this),t=e.offset().top;t+s(e)<i||i+c<t||(1050<o(window).width()?a.css("backgroundPosition",n+" "+(t-i)*r+"px"):a.css("backgroundPosition",""))})}a.each(function(e){a.offset().top}),(arguments.length<1||null===n)&&(n="50%"),(arguments.length<2||null===r)&&(r=.5),(arguments.length<3||null===e)&&(e=!0),(arguments.length<4||null===pos)&&(pos=0),s=e?function(e){return e.outerHeight(!0)}:function(e){return e.height()},l.bind("scroll",t).resize(t),t()},o.fn.parallaxImg=function(n,e){var r,s=o(this);function t(){var i=l.scrollTop();s.each(function(){var e=o(this),t=e.offset().top;t+r(e)<i||i+c<t||(1050<o(window).width()?s.css("bottom",n/10*-(t-i)+"px"):s.css("bottom",""))})}(arguments.length<1||null===n)&&(n=1),r=(e=arguments.length<2||null===e?!0:e)?function(e){return e.outerHeight(!0)}:function(e){return e.height()},l.bind("scroll",t).resize(t),t()}}(jQuery),function(h){var i=h(window),f=i.height();i.resize(function(){f=i.height()}),h.fn.parallaxLiquidImg=function(r,s,a,o,e){var l,c=h(this),d=s?1:0,s=s||1.2,a=a||.001,u=0,p="";function t(){var n=i.scrollTop();c.each(function(){var e=h(this),t=e.offset().top,i=t+e.outerHeight();p=u<n?"forward":"reverse",u=n,t<h(window).height()+n&&n<i&&("forward"==p?s+=a:s-=a),o?e.attr("data-parallax-scale")?t+l(e)<n||n+f<t||(1050<h(window).width()?anime({targets:c[0],translateY:r/6*(t-n)+"px",scale:d?s:1}):c.css("transform","translateY(0px)")):t+l(e)<n||n+f<t||(1050<h(window).width()?anime({targets:c[0],translateY:r/20*-(t-n)+"px",scale:d?s:1}):c.css("transform","translateY(0px)")):e.attr("data-parallax-scale")?t+l(e)<n||n+f<t||(1050<h(window).width()?anime({targets:c[0],translateY:r/6*-(t-n)+"px",scale:d?s:1}):c.css("transform","translateY(0px)")):t+l(e)<n||n+f<t||(1050<h(window).width()?anime({targets:c[0],translateY:r/20*(t-n)+"px",scale:d?s:1}):c.css("transform","translateY(0px)"))})}(arguments.length<1||null===r)&&(r=1),l=(e=arguments.length<2||null===e?!0:e)?function(e){return e.outerHeight(!0)}:function(e){return e.height()},i.bind("scroll",t).resize(t),t()}}(jQuery);
/*!
Particles
Version: 2.0.0
Plugin URL: https://vincentgarreau.com/particles.js/
License: Copyright Vincent Garreau - vincentgarreau.com | Licensed under MIT
!*/
var pJS=function(e,t){var i=document.querySelector("#"+e+" > .particles-js-canvas-el"),u=(this.pJS={canvas:{el:i,w:i.offsetWidth,h:i.offsetHeight},particles:{number:{value:400,density:{enable:!0,value_area:800}},color:{value:"#fff"},shape:{type:"circle",stroke:{width:0,color:"#ff0000"},polygon:{nb_sides:5},image:{src:"",width:100,height:100}},opacity:{value:1,random:!1,anim:{enable:!1,speed:2,opacity_min:0,sync:!1}},size:{value:20,random:!1,anim:{enable:!1,speed:20,size_min:0,sync:!1}},line_linked:{enable:!0,distance:100,color:"#fff",opacity:1,width:1},move:{enable:!0,speed:2,direction:"none",random:!1,straight:!1,out_mode:"out",bounce:!1,attract:{enable:!1,rotateX:3e3,rotateY:3e3}},array:[]},interactivity:{detect_on:"canvas",events:{onhover:{enable:!0,mode:"grab"},onclick:{enable:!0,mode:"push"},resize:!0},modes:{grab:{distance:100,line_linked:{opacity:1}},bubble:{distance:200,size:80,duration:.4},repulse:{distance:200,duration:.4},push:{particles_nb:4},remove:{particles_nb:2}},mouse:{}},retina_detect:!1,fn:{interact:{},modes:{},vendors:{}},tmp:{}},this.pJS);t&&Object.deepExtend(u,t),u.tmp.obj={size_value:u.particles.size.value,size_anim_speed:u.particles.size.anim.speed,move_speed:u.particles.move.speed,line_linked_distance:u.particles.line_linked.distance,line_linked_width:u.particles.line_linked.width,mode_grab_distance:u.interactivity.modes.grab.distance,mode_bubble_distance:u.interactivity.modes.bubble.distance,mode_bubble_size:u.interactivity.modes.bubble.size,mode_repulse_distance:u.interactivity.modes.repulse.distance},u.fn.retinaInit=function(){u.retina_detect&&1<window.devicePixelRatio?(u.canvas.pxratio=window.devicePixelRatio,u.tmp.retina=!0):(u.canvas.pxratio=1,u.tmp.retina=!1),u.canvas.w=u.canvas.el.offsetWidth*u.canvas.pxratio,u.canvas.h=u.canvas.el.offsetHeight*u.canvas.pxratio,u.particles.size.value=u.tmp.obj.size_value*u.canvas.pxratio,u.particles.size.anim.speed=u.tmp.obj.size_anim_speed*u.canvas.pxratio,u.particles.move.speed=u.tmp.obj.move_speed*u.canvas.pxratio,u.particles.line_linked.distance=u.tmp.obj.line_linked_distance*u.canvas.pxratio,u.interactivity.modes.grab.distance=u.tmp.obj.mode_grab_distance*u.canvas.pxratio,u.interactivity.modes.bubble.distance=u.tmp.obj.mode_bubble_distance*u.canvas.pxratio,u.particles.line_linked.width=u.tmp.obj.line_linked_width*u.canvas.pxratio,u.interactivity.modes.bubble.size=u.tmp.obj.mode_bubble_size*u.canvas.pxratio,u.interactivity.modes.repulse.distance=u.tmp.obj.mode_repulse_distance*u.canvas.pxratio},u.fn.canvasInit=function(){u.canvas.ctx=u.canvas.el.getContext("2d")},u.fn.canvasSize=function(){u.canvas.el.width=u.canvas.w,u.canvas.el.height=u.canvas.h,u&&u.interactivity.events.resize&&window.addEventListener("resize",function(){u.canvas.w=u.canvas.el.offsetWidth,u.canvas.h=u.canvas.el.offsetHeight,u.tmp.retina&&(u.canvas.w*=u.canvas.pxratio,u.canvas.h*=u.canvas.pxratio),u.canvas.el.width=u.canvas.w,u.canvas.el.height=u.canvas.h,u.particles.move.enable||(u.fn.particlesEmpty(),u.fn.particlesCreate(),u.fn.particlesDraw(),u.fn.vendors.densityAutoParticles()),u.fn.vendors.densityAutoParticles()})},u.fn.canvasPaint=function(){u.canvas.ctx.fillRect(0,0,u.canvas.w,u.canvas.h)},u.fn.canvasClear=function(){u.canvas.ctx.clearRect(0,0,u.canvas.w,u.canvas.h)},u.fn.particle=function(e,t,i){this.radius=(u.particles.size.random?Math.random():1)*u.particles.size.value,u.particles.size.anim.enable&&(this.size_status=!1,this.vs=u.particles.size.anim.speed/100,u.particles.size.anim.sync||(this.vs=this.vs*Math.random())),this.x=i?i.x:Math.random()*u.canvas.w,this.y=i?i.y:Math.random()*u.canvas.h,this.x>u.canvas.w-2*this.radius?this.x=this.x-this.radius:this.x<2*this.radius&&(this.x=this.x+this.radius),this.y>u.canvas.h-2*this.radius?this.y=this.y-this.radius:this.y<2*this.radius&&(this.y=this.y+this.radius),u.particles.move.bounce&&u.fn.vendors.checkOverlap(this,i),this.color={},"object"==typeof e.value?e.value instanceof Array?(i=e.value[Math.floor(Math.random()*u.particles.color.value.length)],this.color.rgb=hexToRgb(i)):(null!=e.value.r&&null!=e.value.g&&null!=e.value.b&&(this.color.rgb={r:e.value.r,g:e.value.g,b:e.value.b}),null!=e.value.h&&null!=e.value.s&&null!=e.value.l&&(this.color.hsl={h:e.value.h,s:e.value.s,l:e.value.l})):"random"==e.value?this.color.rgb={r:Math.floor(256*Math.random())+0,g:Math.floor(256*Math.random())+0,b:Math.floor(256*Math.random())+0}:"string"==typeof e.value&&(this.color=e,this.color.rgb=hexToRgb(this.color.value)),this.opacity=(u.particles.opacity.random?Math.random():1)*u.particles.opacity.value,u.particles.opacity.anim.enable&&(this.opacity_status=!1,this.vo=u.particles.opacity.anim.speed/100,u.particles.opacity.anim.sync||(this.vo=this.vo*Math.random()));var n={};switch(u.particles.move.direction){case"top":n={x:0,y:-1};break;case"top-right":n={x:.5,y:-.5};break;case"right":n={x:1,y:-0};break;case"bottom-right":n={x:.5,y:.5};break;case"bottom":n={x:0,y:1};break;case"bottom-left":n={x:-.5,y:1};break;case"left":n={x:-1,y:0};break;case"top-left":n={x:-.5,y:-.5};break;default:n={x:0,y:0}}u.particles.move.straight?(this.vx=n.x,this.vy=n.y,u.particles.move.random&&(this.vx=this.vx*Math.random(),this.vy=this.vy*Math.random())):(this.vx=n.x+Math.random()-.5,this.vy=n.y+Math.random()-.5),this.vx_i=this.vx,this.vy_i=this.vy;i=u.particles.shape.type;"object"==typeof i?i instanceof Array&&(e=i[Math.floor(Math.random()*i.length)],this.shape=e):this.shape=i,"image"==this.shape&&(e=u.particles.shape,this.img={src:e.image.src,ratio:e.image.width/e.image.height},this.img.ratio||(this.img.ratio=1),"svg"==u.tmp.img_type)&&null!=u.tmp.source_svg&&(u.fn.vendors.createSvgImg(this),u.tmp.pushing)&&(this.img.loaded=!1)},u.fn.particle.prototype.draw=function(){var e,t,i,n=this;switch(e=null!=n.radius_bubble?n.radius_bubble:n.radius,t=null!=n.opacity_bubble?n.opacity_bubble:n.opacity,t=n.color.rgb?"rgba("+n.color.rgb.r+","+n.color.rgb.g+","+n.color.rgb.b+","+t+")":"hsla("+n.color.hsl.h+","+n.color.hsl.s+"%,"+n.color.hsl.l+"%,"+t+")",u.canvas.ctx.fillStyle=t,u.canvas.ctx.beginPath(),n.shape){case"circle":u.canvas.ctx.arc(n.x,n.y,e,0,2*Math.PI,!1);break;case"edge":u.canvas.ctx.rect(n.x-e,n.y-e,2*e,2*e);break;case"triangle":u.fn.vendors.drawShape(u.canvas.ctx,n.x-e,n.y+e/1.66,2*e,3,2);break;case"polygon":u.fn.vendors.drawShape(u.canvas.ctx,n.x-e/(u.particles.shape.polygon.nb_sides/3.5),n.y-e/.76,2.66*e/(u.particles.shape.polygon.nb_sides/3),u.particles.shape.polygon.nb_sides,1);break;case"star":u.fn.vendors.drawShape(u.canvas.ctx,n.x-2*e/(u.particles.shape.polygon.nb_sides/4),n.y-e/1.52,2*e*2.66/(u.particles.shape.polygon.nb_sides/3),u.particles.shape.polygon.nb_sides,2);break;case"image":(i="svg"==u.tmp.img_type?n.img.obj:u.tmp.img_obj)&&u.canvas.ctx.drawImage(i,n.x-e,n.y-e,2*e,2*e/n.img.ratio)}u.canvas.ctx.closePath(),0<u.particles.shape.stroke.width&&(u.canvas.ctx.strokeStyle=u.particles.shape.stroke.color,u.canvas.ctx.lineWidth=u.particles.shape.stroke.width,u.canvas.ctx.stroke()),u.canvas.ctx.fill()},u.fn.particlesCreate=function(){for(var e=0;e<u.particles.number.value;e++)u.particles.array.push(new u.fn.particle(u.particles.color,u.particles.opacity.value))},u.fn.particlesUpdate=function(){for(var e=0;e<u.particles.array.length;e++){var t,i=u.particles.array[e];if(u.particles.move.enable&&(t=u.particles.move.speed/2,i.x+=i.vx*t,i.y+=i.vy*t),u.particles.opacity.anim.enable&&(1==i.opacity_status?(i.opacity>=u.particles.opacity.value&&(i.opacity_status=!1),i.opacity+=i.vo):(i.opacity<=u.particles.opacity.anim.opacity_min&&(i.opacity_status=!0),i.opacity-=i.vo),i.opacity<0)&&(i.opacity=0),u.particles.size.anim.enable&&(1==i.size_status?(i.radius>=u.particles.size.value&&(i.size_status=!1),i.radius+=i.vs):(i.radius<=u.particles.size.anim.size_min&&(i.size_status=!0),i.radius-=i.vs),i.radius<0)&&(i.radius=0),t="bounce"==u.particles.move.out_mode?{x_left:i.radius,x_right:u.canvas.w,y_top:i.radius,y_bottom:u.canvas.h}:{x_left:-i.radius,x_right:u.canvas.w+i.radius,y_top:-i.radius,y_bottom:u.canvas.h+i.radius},i.x-i.radius>u.canvas.w?(i.x=t.x_left,i.y=Math.random()*u.canvas.h):i.x+i.radius<0&&(i.x=t.x_right,i.y=Math.random()*u.canvas.h),i.y-i.radius>u.canvas.h?(i.y=t.y_top,i.x=Math.random()*u.canvas.w):i.y+i.radius<0&&(i.y=t.y_bottom,i.x=Math.random()*u.canvas.w),"bounce"===u.particles.move.out_mode&&((i.x+i.radius>u.canvas.w||i.x-i.radius<0)&&(i.vx=-i.vx),i.y+i.radius>u.canvas.h||i.y-i.radius<0)&&(i.vy=-i.vy),isInArray("grab",u.interactivity.events.onhover.mode)&&u.fn.modes.grabParticle(i),(isInArray("bubble",u.interactivity.events.onhover.mode)||isInArray("bubble",u.interactivity.events.onclick.mode))&&u.fn.modes.bubbleParticle(i),(isInArray("repulse",u.interactivity.events.onhover.mode)||isInArray("repulse",u.interactivity.events.onclick.mode))&&u.fn.modes.repulseParticle(i),u.particles.line_linked.enable||u.particles.move.attract.enable)for(var n=e+1;n<u.particles.array.length;n++){var r=u.particles.array[n];u.particles.line_linked.enable&&u.fn.interact.linkParticles(i,r),u.particles.move.attract.enable&&u.fn.interact.attractParticles(i,r),u.particles.move.bounce&&u.fn.interact.bounceParticles(i,r)}}},u.fn.particlesDraw=function(){u.canvas.ctx.clearRect(0,0,u.canvas.w,u.canvas.h),u.fn.particlesUpdate();for(var e=0;e<u.particles.array.length;e++)u.particles.array[e].draw()},u.fn.particlesEmpty=function(){u.particles.array=[]},u.fn.particlesRefresh=function(){cancelRequestAnimFrame(u.fn.checkAnimFrame),cancelRequestAnimFrame(u.fn.drawAnimFrame),u.tmp.source_svg=void 0,u.tmp.img_obj=void 0,u.tmp.count_svg=0,u.fn.particlesEmpty(),u.fn.canvasClear(),u.fn.vendors.start()},u.fn.interact.linkParticles=function(e,t){var i=e.x-t.x,n=e.y-t.y,i=Math.sqrt(i*i+n*n);i<=u.particles.line_linked.distance&&0<(n=u.particles.line_linked.opacity-i/(1/u.particles.line_linked.opacity)/u.particles.line_linked.distance)&&(i=u.particles.line_linked.color_rgb_line,u.canvas.ctx.strokeStyle="rgba("+i.r+","+i.g+","+i.b+","+n+")",u.canvas.ctx.lineWidth=u.particles.line_linked.width,u.canvas.ctx.beginPath(),u.canvas.ctx.moveTo(e.x,e.y),u.canvas.ctx.lineTo(t.x,t.y),u.canvas.ctx.stroke(),u.canvas.ctx.closePath())},u.fn.interact.attractParticles=function(e,t){var i=e.x-t.x,n=e.y-t.y;Math.sqrt(i*i+n*n)<=u.particles.line_linked.distance&&(i=i/(1e3*u.particles.move.attract.rotateX),n=n/(1e3*u.particles.move.attract.rotateY),e.vx-=i,e.vy-=n,t.vx+=i,t.vy+=n)},u.fn.interact.bounceParticles=function(e,t){var i=e.x-t.x,n=e.y-t.y;Math.sqrt(i*i+n*n)<=e.radius+t.radius&&(e.vx=-e.vx,e.vy=-e.vy,t.vx=-t.vx,t.vy=-t.vy)},u.fn.modes.pushParticles=function(e,t){u.tmp.pushing=!0;for(var i=0;i<e;i++)u.particles.array.push(new u.fn.particle(u.particles.color,u.particles.opacity.value,{x:t?t.pos_x:Math.random()*u.canvas.w,y:t?t.pos_y:Math.random()*u.canvas.h})),i==e-1&&(u.particles.move.enable||u.fn.particlesDraw(),u.tmp.pushing=!1)},u.fn.modes.removeParticles=function(e){u.particles.array.splice(0,e),u.particles.move.enable||u.fn.particlesDraw()},u.fn.modes.bubbleParticle=function(a){function e(){a.opacity_bubble=a.opacity,a.radius_bubble=a.radius}function t(e,t,i,n,r){var s;e!=t&&(u.tmp.bubble_duration_end?null!=i&&(s=e+(e-(n-d*(n-e)/u.interactivity.modes.bubble.duration)),"size"==r&&(a.radius_bubble=s),"opacity"==r)&&(a.opacity_bubble=s):c<=u.interactivity.modes.bubble.distance?(null!=i?i:n)!=e&&(s=n-d*(n-e)/u.interactivity.modes.bubble.duration,"size"==r&&(a.radius_bubble=s),"opacity"==r)&&(a.opacity_bubble=s):("size"==r&&(a.radius_bubble=void 0),"opacity"==r&&(a.opacity_bubble=void 0)))}var i,n,r,s,o,l,c,d;u.interactivity.events.onhover.enable&&isInArray("bubble",u.interactivity.events.onhover.mode)?(o=a.x-u.interactivity.mouse.pos_x,l=a.y-u.interactivity.mouse.pos_y,i=1-(c=Math.sqrt(o*o+l*l))/u.interactivity.modes.bubble.distance,c<=u.interactivity.modes.bubble.distance?0<=i&&"mousemove"==u.interactivity.status&&(u.interactivity.modes.bubble.size!=u.particles.size.value&&(u.interactivity.modes.bubble.size>u.particles.size.value?0<=(r=a.radius+u.interactivity.modes.bubble.size*i)&&(a.radius_bubble=r):(n=a.radius-u.interactivity.modes.bubble.size,r=a.radius-n*i,a.radius_bubble=0<r?r:0)),u.interactivity.modes.bubble.opacity!=u.particles.opacity.value)&&(u.interactivity.modes.bubble.opacity>u.particles.opacity.value?(s=u.interactivity.modes.bubble.opacity*i)>a.opacity&&s<=u.interactivity.modes.bubble.opacity&&(a.opacity_bubble=s):(s=a.opacity-(u.particles.opacity.value-u.interactivity.modes.bubble.opacity)*i)<a.opacity&&s>=u.interactivity.modes.bubble.opacity&&(a.opacity_bubble=s)):e(),"mouseleave"==u.interactivity.status&&e()):u.interactivity.events.onclick.enable&&isInArray("bubble",u.interactivity.events.onclick.mode)&&(u.tmp.bubble_clicking&&(o=a.x-u.interactivity.mouse.click_pos_x,l=a.y-u.interactivity.mouse.click_pos_y,c=Math.sqrt(o*o+l*l),(d=((new Date).getTime()-u.interactivity.mouse.click_time)/1e3)>u.interactivity.modes.bubble.duration&&(u.tmp.bubble_duration_end=!0),d>2*u.interactivity.modes.bubble.duration)&&(u.tmp.bubble_clicking=!1,u.tmp.bubble_duration_end=!1),u.tmp.bubble_clicking)&&(t(u.interactivity.modes.bubble.size,u.particles.size.value,a.radius_bubble,a.radius,"size"),t(u.interactivity.modes.bubble.opacity,u.particles.opacity.value,a.opacity_bubble,a.opacity,"opacity"))},u.fn.modes.repulseParticle=function(e){var t,i,n,r,s;u.interactivity.events.onhover.enable&&isInArray("repulse",u.interactivity.events.onhover.mode)&&"mousemove"==u.interactivity.status?(i=e.x-u.interactivity.mouse.pos_x,t=e.y-u.interactivity.mouse.pos_y,s=i/(i=Math.sqrt(i*i+t*t)),t=t/i,i=clamp(1/(r=u.interactivity.modes.repulse.distance)*(-1*Math.pow(i/r,2)+1)*r*100,0,50),s={x:e.x+s*i,y:e.y+t*i},"bounce"==u.particles.move.out_mode?(0<s.x-e.radius&&s.x+e.radius<u.canvas.w&&(e.x=s.x),0<s.y-e.radius&&s.y+e.radius<u.canvas.h&&(e.y=s.y)):(e.x=s.x,e.y=s.y)):u.interactivity.events.onclick.enable&&isInArray("repulse",u.interactivity.events.onclick.mode)&&(u.tmp.repulse_finish||(u.tmp.repulse_count++,u.tmp.repulse_count==u.particles.array.length&&(u.tmp.repulse_finish=!0)),u.tmp.repulse_clicking?(r=Math.pow(u.interactivity.modes.repulse.distance/6,3),t=u.interactivity.mouse.click_pos_x-e.x,i=u.interactivity.mouse.click_pos_y-e.y,n=-r/(s=t*t+i*i)*1,s<=r&&(s=Math.atan2(i,t),e.vx=n*Math.cos(s),e.vy=n*Math.sin(s),"bounce"==u.particles.move.out_mode)&&(s=e.x+e.vx,r=e.y+e.vy,(s+e.radius>u.canvas.w||s-e.radius<0)&&(e.vx=-e.vx),r+e.radius>u.canvas.h||r-e.radius<0)&&(e.vy=-e.vy)):0==u.tmp.repulse_clicking&&(e.vx=e.vx_i,e.vy=e.vy_i))},u.fn.modes.grabParticle=function(e){var t,i;u.interactivity.events.onhover.enable&&"mousemove"==u.interactivity.status&&(i=e.x-u.interactivity.mouse.pos_x,t=e.y-u.interactivity.mouse.pos_y,(i=Math.sqrt(i*i+t*t))<=u.interactivity.modes.grab.distance)&&0<(t=u.interactivity.modes.grab.line_linked.opacity-i/(1/u.interactivity.modes.grab.line_linked.opacity)/u.interactivity.modes.grab.distance)&&(i=u.particles.line_linked.color_rgb_line,u.canvas.ctx.strokeStyle="rgba("+i.r+","+i.g+","+i.b+","+t+")",u.canvas.ctx.lineWidth=u.particles.line_linked.width,u.canvas.ctx.beginPath(),u.canvas.ctx.moveTo(e.x,e.y),u.canvas.ctx.lineTo(u.interactivity.mouse.pos_x,u.interactivity.mouse.pos_y),u.canvas.ctx.stroke(),u.canvas.ctx.closePath())},u.fn.vendors.eventsListeners=function(){"window"==u.interactivity.detect_on?u.interactivity.el=window:u.interactivity.el=u.canvas.el,(u.interactivity.events.onhover.enable||u.interactivity.events.onclick.enable)&&(u.interactivity.el.addEventListener("mousemove",function(e){var t;e=u.interactivity.el==window?(t=e.clientX,e.clientY):(t=e.offsetX||e.clientX,e.offsetY||e.clientY),u.interactivity.mouse.pos_x=t,u.interactivity.mouse.pos_y=e,u.tmp.retina&&(u.interactivity.mouse.pos_x*=u.canvas.pxratio,u.interactivity.mouse.pos_y*=u.canvas.pxratio),u.interactivity.status="mousemove"}),u.interactivity.el.addEventListener("mouseleave",function(e){u.interactivity.mouse.pos_x=null,u.interactivity.mouse.pos_y=null,u.interactivity.status="mouseleave"})),u.interactivity.events.onclick.enable&&u.interactivity.el.addEventListener("click",function(){if(u.interactivity.mouse.click_pos_x=u.interactivity.mouse.pos_x,u.interactivity.mouse.click_pos_y=u.interactivity.mouse.pos_y,u.interactivity.mouse.click_time=(new Date).getTime(),u.interactivity.events.onclick.enable)switch(u.interactivity.events.onclick.mode){case"push":u.particles.move.enable||1==u.interactivity.modes.push.particles_nb?u.fn.modes.pushParticles(u.interactivity.modes.push.particles_nb,u.interactivity.mouse):1<u.interactivity.modes.push.particles_nb&&u.fn.modes.pushParticles(u.interactivity.modes.push.particles_nb);break;case"remove":u.fn.modes.removeParticles(u.interactivity.modes.remove.particles_nb);break;case"bubble":u.tmp.bubble_clicking=!0;break;case"repulse":u.tmp.repulse_clicking=!0,u.tmp.repulse_count=0,u.tmp.repulse_finish=!1,setTimeout(function(){u.tmp.repulse_clicking=!1},1e3*u.interactivity.modes.repulse.duration)}})},u.fn.vendors.densityAutoParticles=function(){var e;u.particles.number.density.enable&&(e=u.canvas.el.width*u.canvas.el.height/1e3,u.tmp.retina&&(e/=2*u.canvas.pxratio),e=e*u.particles.number.value/u.particles.number.density.value_area,(e=u.particles.array.length-e)<0?u.fn.modes.pushParticles(Math.abs(e)):u.fn.modes.removeParticles(e))},u.fn.vendors.checkOverlap=function(e,t){for(var i=0;i<u.particles.array.length;i++){var n=u.particles.array[i],r=e.x-n.x,s=e.y-n.y;Math.sqrt(r*r+s*s)<=e.radius+n.radius&&(e.x=t?t.x:Math.random()*u.canvas.w,e.y=t?t.y:Math.random()*u.canvas.h,u.fn.vendors.checkOverlap(e))}},u.fn.vendors.createSvgImg=function(r){var e=u.tmp.source_svg.replace(/#([0-9A-F]{3,6})/gi,function(e,t,i,n){return r.color.rgb?"rgba("+r.color.rgb.r+","+r.color.rgb.g+","+r.color.rgb.b+","+r.opacity+")":"hsla("+r.color.hsl.h+","+r.color.hsl.s+"%,"+r.color.hsl.l+"%,"+r.opacity+")"}),e=new Blob([e],{type:"image/svg+xml;charset=utf-8"}),t=window.URL||window.webkitURL||window,i=t.createObjectURL(e),n=new Image;n.addEventListener("load",function(){r.img.obj=n,r.img.loaded=!0,t.revokeObjectURL(i),u.tmp.count_svg++}),n.src=i},u.fn.vendors.destroypJS=function(){cancelAnimationFrame(u.fn.drawAnimFrame),i.remove(),pJSDom=null},u.fn.vendors.drawShape=function(e,t,i,n,r,s){var a=r*s,r=r/s,o=Math.PI-Math.PI*(180*(r-2)/r)/180;e.save(),e.beginPath(),e.translate(t,i),e.moveTo(0,0);for(var l=0;l<a;l++)e.lineTo(n,0),e.translate(n,0),e.rotate(o);e.fill(),e.restore()},u.fn.vendors.exportImg=function(){window.open(u.canvas.el.toDataURL("image/png"),"_blank")},u.fn.vendors.loadImg=function(e){var t,i;u.tmp.img_error=void 0,""!=u.particles.shape.image.src?"svg"==e?((t=new XMLHttpRequest).open("GET",u.particles.shape.image.src),t.onreadystatechange=function(e){4==t.readyState&&(200==t.status?(u.tmp.source_svg=e.currentTarget.response,u.fn.vendors.checkBeforeDraw()):(console.log("Error pJS - Image not found"),u.tmp.img_error=!0))},t.send()):((i=new Image).addEventListener("load",function(){u.tmp.img_obj=i,u.fn.vendors.checkBeforeDraw()}),i.src=u.particles.shape.image.src):(console.log("Error pJS - No image.src"),u.tmp.img_error=!0)},u.fn.vendors.draw=function(){"image"==u.particles.shape.type?"svg"==u.tmp.img_type?u.tmp.count_svg>=u.particles.number.value?(u.fn.particlesDraw(),u.particles.move.enable?u.fn.drawAnimFrame=requestAnimFrame(u.fn.vendors.draw):cancelRequestAnimFrame(u.fn.drawAnimFrame)):u.tmp.img_error||(u.fn.drawAnimFrame=requestAnimFrame(u.fn.vendors.draw)):null!=u.tmp.img_obj?(u.fn.particlesDraw(),u.particles.move.enable?u.fn.drawAnimFrame=requestAnimFrame(u.fn.vendors.draw):cancelRequestAnimFrame(u.fn.drawAnimFrame)):u.tmp.img_error||(u.fn.drawAnimFrame=requestAnimFrame(u.fn.vendors.draw)):(u.fn.particlesDraw(),u.particles.move.enable?u.fn.drawAnimFrame=requestAnimFrame(u.fn.vendors.draw):cancelRequestAnimFrame(u.fn.drawAnimFrame))},u.fn.vendors.checkBeforeDraw=function(){"image"==u.particles.shape.type?"svg"==u.tmp.img_type&&null==u.tmp.source_svg?u.tmp.checkAnimFrame=requestAnimFrame(check):(cancelRequestAnimFrame(u.tmp.checkAnimFrame),u.tmp.img_error||(u.fn.vendors.init(),u.fn.vendors.draw())):(u.fn.vendors.init(),u.fn.vendors.draw())},u.fn.vendors.init=function(){u.fn.retinaInit(),u.fn.canvasInit(),u.fn.canvasSize(),u.fn.canvasPaint(),u.fn.particlesCreate(),u.fn.vendors.densityAutoParticles(),u.particles.line_linked.color_rgb_line=hexToRgb(u.particles.line_linked.color)},u.fn.vendors.start=function(){isInArray("image",u.particles.shape.type)?(u.tmp.img_type=u.particles.shape.image.src.substr(u.particles.shape.image.src.length-3),u.fn.vendors.loadImg(u.tmp.img_type)):u.fn.vendors.checkBeforeDraw()},u.fn.vendors.eventsListeners(),u.fn.vendors.start()};function hexToRgb(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(e,t,i,n){return t+t+i+i+n+n});e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return e?{r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16)}:null}function clamp(e,t,i){return Math.min(Math.max(e,t),i)}function isInArray(e,t){return-1<t.indexOf(e)}Object.deepExtend=function(e,t){for(var i in t)t[i]&&t[i].constructor&&t[i].constructor===Object?(e[i]=e[i]||{},arguments.callee(e[i],t[i])):e[i]=t[i];return e},window.requestAnimFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)},window.cancelRequestAnimFrame=window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.mozCancelRequestAnimationFrame||window.oCancelRequestAnimationFrame||window.msCancelRequestAnimationFrame||clearTimeout,window.pJSDom=[],window.particlesJS=function(e,t){"string"!=typeof e&&(t=e,e="particles-js"),e=e||"particles-js";var i=document.getElementById(e),n="particles-js-canvas-el",r=i.getElementsByClassName(n);if(r.length)for(;0<r.length;)i.removeChild(r[0]);var s=document.createElement("canvas");s.className=n,s.style.width="100%",s.style.height="100%",null!=document.getElementById(e).appendChild(s)&&pJSDom.push(new pJS(e,t))},window.particlesJS.load=function(t,e,i){var n=new XMLHttpRequest;n.open("GET",e),n.onreadystatechange=function(e){4==n.readyState&&(200==n.status?(e=JSON.parse(e.currentTarget.response),window.particlesJS(t,e),i&&i()):(console.log("Error pJS - XMLHttpRequest status: "+n.status),console.log("Error pJS - File config not found")))},n.send()},function(){function e(){}function i(e){return a.retinaImageSuffix+e}function r(e,t){this.path=e||"",null!=t?(this.at_2x_path=t,this.perform_check=!1):(void 0!==document.createElement?((e=document.createElement("a")).href=this.path,e.pathname=e.pathname.replace(n,i),this.at_2x_path=e.href):((t=this.path.split("?"))[0]=t[0].replace(n,i),this.at_2x_path=t.join("?")),this.perform_check=!0)}function s(e){this.el=e,this.path=new r(this.el.getAttribute("src"),this.el.getAttribute("data-at2x"));var t=this;this.path.check_2x_variant(function(e){e&&t.swap()})}var t="undefined"==typeof exports?window:exports,a={retinaImageSuffix:"@2x",check_mime_type:!0,force_original_dimensions:!0},n=((t.Retina=e).configure=function(e){for(var t in e=null===e?{}:e)e.hasOwnProperty(t)&&(a[t]=e[t])},e.init=function(e){var r=(e=null===e?t:e).onload||function(){};e.onload=function(){for(var e,t=document.getElementsByTagName("img"),i=[],n=0;n<t.length;n+=1)(e=t[n]).getAttributeNode("data-no-retina")||i.push(new s(e));r()}},e.isRetina=function(){return 1<t.devicePixelRatio||!(!t.matchMedia||!t.matchMedia("(-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (min-resolution: 1.5dppx)").matches)},/\.\w+$/);(t.RetinaImagePath=r).confirmed_paths=[],r.prototype.is_external=function(){return!(!this.path.match(/^https?\:/i)||this.path.match("//"+document.domain))},r.prototype.check_2x_variant=function(t){var i,n=this;return this.is_external()?t(!1):!this.perform_check&&void 0!==this.at_2x_path&&null!==this.at_2x_path||this.at_2x_path in r.confirmed_paths?t(!0):((i=new XMLHttpRequest).open("HEAD",this.at_2x_path),i.onreadystatechange=function(){if(4===i.readyState&&200<=i.status&&i.status<=399){if(a.check_mime_type){var e=i.getResponseHeader("Content-Type");if(null===e||!e.match(/^image/i))return t(!1)}return r.confirmed_paths.push(n.at_2x_path),t(!0)}return t(!1)},void i.send())},(t.RetinaImage=s).prototype.swap=function(t){void 0===t&&(t=this.path.at_2x_path);var i=this;!function e(){i.el.complete?(a.force_original_dimensions&&(i.el.setAttribute("width",i.el.offsetWidth),i.el.setAttribute("height",i.el.offsetHeight)),i.el.setAttribute("src",t)):setTimeout(e,5)}()},e.isRetina()&&e.init(t)}(),
/*!
Skrollr
Plugin URL: https://github.com/Prinzhorn/skrollr
License: Copyright Alexander Prinzhorn | Free to use under terms of MIT license
!*/
function(v,b,k){"use strict";function S(e,t){return t.toUpperCase()}var y,_,I={get:function(){return L},init:function(e){return L||new t(e)},VERSION:"0.6.30"},Q=Object.prototype.hasOwnProperty,w=v.Math,o=v.getComputedStyle,E="touchstart",C="touchcancel",A="skrollable",K=A+"-before",Z=A+"-between",J=A+"-after",n="skrollr",l="no-"+n,d=n+"-desktop",u=n+"-mobile",p=.004,h="skrollr-body",m=200,x="___skrollable_id",M=/^(?:input|textarea|button|select)$/i,i=/^\s+|\s+$/g,ee=/^data(?:-(_\w+))?(?:-?(-?\d*\.?\d+p?))?(?:-?(start|end|top|center|bottom))?(?:-?(top|center|bottom))?$/,g=/\s*(@?[\w\-\[\]]+)\s*:\s*(.+?)\s*(?:;|$)/gi,te=/^(@?[a-z\-]+)\[(\w+)\]$/,ie=/-([a-z0-9_])/g,ne=/[\-+]?[\d]*\.?[\d]+/g,re=/\{\?\}/g,se=/rgba?\(\s*-?\d+\s*,\s*-?\d+\s*,\s*-?\d+/g,ae=/[a-z\-]+-gradient/g,r="",s="",oe=function(){var e=/^(?:O|Moz|webkit|ms)|(?:-(?:o|moz|webkit|ms)-)/;if(o){var t,i=o(_,null);for(t in i)if(r=t.match(e)||+t==t&&i[t].match(e))break;r?"-"===(r=r[0]).slice(0,1)?r={"-webkit-":"webkit","-moz-":"Moz","-ms-":"ms","-o-":"O"}[s=r]:s="-"+r.toLowerCase()+"-":r=s=""}},le=function(){var e=v.requestAnimationFrame||v[r.toLowerCase()+"RequestAnimationFrame"],i=q();return e=!V&&e?e:function(e){var t=q()-i,t=w.max(0,1e3/60-t);return v.setTimeout(function(){i=q(),e()},t)}},O={begin:function(){return 0},end:function(){return 1},linear:function(e){return e},quadratic:function(e){return e*e},cubic:function(e){return e*e*e},swing:function(e){return-w.cos(e*w.PI)/2+.5},sqrt:function(e){return w.sqrt(e)},outCubic:function(e){return w.pow(e-1,3)+1},bounce:function(e){var t;if(e<=.5083)t=3;else if(e<=.8489)t=9;else if(e<=.96208)t=27;else{if(!(e<=.99981))return 1;t=91}return 1-w.abs(3*w.cos(e*t*1.028)/t)}};function t(e){if(y=b.documentElement,_=b.body,oe(),L=this,a=(e=e||{}).constants||{},e.easing)for(var t in e.easing)O[t]=e.easing[t];de=e.edgeStrategy||"set",D={beforerender:e.beforerender,render:e.render,keyframe:e.keyframe},(f=!1!==e.forceHeight)&&(Oe=e.scale||1),T=e.mobileDeceleration||p,ce=!1!==e.smoothScrolling,j=e.smoothScrollingDuration||m,B={targetTop:L.getScrollTop()},(V=(e.mobileCheck||function(){return/Android|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent||navigator.vendor||v.opera)})())?((z=b.getElementById(e.skrollrBody||h))&&_e(),pe(),W(y,[n,u],[l])):W(y,[n,d],[l]),L.refresh(),we(v,"resize orientationchange",function(){var e=y.clientWidth,t=y.clientHeight;t===ze&&e===Pe||(ze=t,Pe=e,G=!0)});var i=le();return function e(){he(),ue=i(e)}(),L}t.prototype.refresh=function(e){var t,i,n=!1;for(e===k?(n=!0,P=[],De=0,e=b.getElementsByTagName("*")):e.length===k&&(e=[e]),t=0,i=e.length;t<i;t++){var r=e[t],s=r,a=[],o=ce,l=de,c=!1;if(n&&x in r&&delete r[x],r.attributes){for(var d,u,p,h=0,f=r.attributes.length;h<f;h++){var m,g,v=r.attributes[h];if("data-anchor-target"===v.name){if(null===(s=b.querySelector(v.value)))throw'Unable to find anchor target "'+v.value+'"'}else"data-smooth-scrolling"===v.name?o="off"!==v.value:"data-edge-strategy"===v.name?l=v.value:"data-emit-events"===v.name?c=!0:null!==(g=v.name.match(ee))&&(v={props:v.value,element:r,eventType:v.name.replace(ie,S)},a.push(v),(m=g[1])&&(v.constant=m.substr(1)),m=g[2],/p$/.test(m)?(v.isPercentage=!0,v.offset=(0|m.slice(0,-1))/100):v.offset=0|m,m=g[3],g=g[4]||m,m&&"start"!==m&&"end"!==m?(v.mode="relative",v.anchors=[m,g]):(v.mode="absolute","end"===m?v.isEnd=!0:v.isPercentage||(v.offset=v.offset*Oe)))}a.length&&(p=!n&&x in r?(u=r[x],d=P[u].styleAttr,P[u].classAttr):(u=r[x]=De++,d=r.style.cssText,ke(r)),P[u]={element:r,styleAttr:d,classAttr:p,anchorTarget:s,keyFrames:a,smoothScrolling:o,edgeStrategy:l,emitEvents:c,lastFrameIndex:-1},W(r,[A],[]))}}for(Ee(),t=0,i=e.length;t<i;t++){var y=P[e[t][x]];y!==k&&(fe(y),ge(y))}return L},t.prototype.relativeToAbsolute=function(e,t,i){var n=y.clientHeight,e=e.getBoundingClientRect(),r=e.top,e=e.bottom-e.top;return"bottom"===t?r-=n:"center"===t&&(r-=n/2),"bottom"===i?r+=e:"center"===i&&(r+=e/2),(r+=L.getScrollTop())+.5|0},t.prototype.animateTo=function(e,t){t=t||{};var i=q(),n=L.getScrollTop(),r=t.duration===k?1e3:t.duration;return(R={startTop:n,topDiff:e-n,targetTop:e,duration:r,startTime:i,endTime:i+r,easing:O[t.easing||"linear"],done:t.done}).topDiff||(R.done&&R.done.call(L,!1),R=k),L},t.prototype.stopAnimateTo=function(){R&&R.done&&R.done.call(L,!0),R=k},t.prototype.isAnimatingTo=function(){return!!R},t.prototype.isMobile=function(){return V},t.prototype.setScrollTop=function(e,t){return F=!0===t,V?U=w.min(w.max(e,0),Y):v.scrollTo(0,e),L},t.prototype.getScrollTop=function(){return V?U:v.pageYOffset||y.scrollTop||_.scrollTop||0},t.prototype.getMaxScrollTop=function(){return Y},t.prototype.on=function(e,t){return D[e]=t,L},t.prototype.off=function(e){return delete D[e],L},t.prototype.destroy=function(){e=v.cancelAnimationFrame||v[r.toLowerCase()+"CancelAnimationFrame"],e=!V&&e?e:function(e){return v.clearTimeout(e)};e(ue),Te(),W(y,[l],[n,d,u]);for(var e,t=0,i=P.length;t<i;t++)H(P[t].element);y.style.overflow=_.style.overflow="",y.style.height=_.style.height="",z&&I.setStyle(z,"transform","none"),$="down",V=G=!(X=-(Oe=1)),U=De=ze=Pe=Y=0,N=de=F=B=j=ce=R=T=a=f=D=z=L=k};var L,P,z,D,f,a,T,R,ce,j,B,F,de,N,ue,pe=function(){var a,o,l,c,d,u,p,h,f,m,g;we(y,[E,"touchmove",C,"touchend"].join(" "),function(e){var t=e.changedTouches[0];for(c=e.target;3===c.nodeType;)c=c.parentNode;switch(d=t.clientY,u=t.clientX,f=e.timeStamp,M.test(c.tagName)||e.preventDefault(),e.type){case E:a&&a.blur(),L.stopAnimateTo(),a=c,o=p=d,l=u,0;break;case"touchmove":M.test(c.tagName)&&b.activeElement!==c&&e.preventDefault(),h=d-p,g=f-m,L.setScrollTop(U-h,!0),p=d,m=f;break;default:case C:case"touchend":var i,n,r=o-d,s=l-u;s*s+r*r<49?M.test(a.tagName)||(a.focus(),(s=b.createEvent("MouseEvents")).initMouseEvent("click",!0,!0,e.view,1,t.screenX,t.screenY,t.clientX,t.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,0,null),a.dispatchEvent(s)):(a=k,r=h/g,r=(r=w.max(w.min(r,3),-3))*(s=w.abs(r/T))+.5*T*s*s,i=L.getScrollTop()-r,n=0,Y<i?(n=(Y-i)/r,i=Y):i<0&&(n=-i/r,i=0),L.animateTo(i+.5|0,{easing:"outCubic",duration:s*=1-n}))}}),v.scrollTo(0,0),y.style.overflow=_.style.overflow="hidden"},he=function(){G&&(G=!1,Ee());var e,t,i=L.getScrollTop(),n=q();if(R?(n>=R.endTime?(i=R.targetTop,e=R.done,R=k):(t=R.easing((n-R.startTime)/R.duration),i=R.startTop+t*R.topDiff|0),L.setScrollTop(i,!0)):F||(r=B.targetTop-i,n<=(B=r?{startTop:X,topDiff:i-X,targetTop:i,startTime:Le,endTime:Le+j}:B).endTime&&(t=O.sqrt((n-B.startTime)/j),i=B.startTop+t*B.topDiff|0)),F||X!==i){var r={curTop:i,lastTop:X,maxTop:Y,direction:$=X<i?"down":i<X?"up":$};if((F=!1)!==(D.beforerender&&D.beforerender.call(L,r))){for(var s=i,a=L.getScrollTop(),o=0,l=P.length;o<l;o++){var c,d=P[o],u=d.element,p=d.smoothScrolling?s:a,h=d.keyFrames,f=h.length,m=h[0],g=h[h.length-1],v=p<m.frame,y=p>g.frame,b=v?m:g,_=d.emitEvents,w=d.lastFrameIndex;if(v||y){if(v&&-1===d.edge||y&&1===d.edge)continue;switch(v?(W(u,[K],[J,Z]),_&&-1<w&&(Se(u,m.eventType,$),d.lastFrameIndex=-1)):(W(u,[J],[K,Z]),_&&w<f&&(Se(u,g.eventType,$),d.lastFrameIndex=f)),d.edge=v?-1:1,d.edgeStrategy){case"reset":H(u);continue;case"ease":p=b.frame;break;default:var x=b.props;for(c in x)Q.call(x,c)&&(E=be(x[c].value),0===c.indexOf("@")?u.setAttribute(c.substr(1),E):I.setStyle(u,c,E));continue}}else 0!==d.edge&&(W(u,[A,Z],[K,J]),d.edge=0);for(var T=0;T<f-1;T++)if(p>=h[T].frame&&p<=h[T+1].frame){var S,E,C=h[T],M=h[T+1];for(c in C.props)Q.call(C.props,c)&&(S=(p-C.frame)/(M.frame-C.frame),S=C.props[c].easing(S),E=ye(C.props[c].value,M.props[c].value,S),E=be(E),0===c.indexOf("@")?u.setAttribute(c.substr(1),E):I.setStyle(u,c,E));_&&w!==T&&(Se(u,("down"===$?C:M).eventType,$),d.lastFrameIndex=T);break}}V&&z&&I.setStyle(z,"transform","translate(0, "+-U+"px) "+N),X=i,D.render&&D.render.call(L,r)}e&&e.call(L,!1)}Le=n},fe=function(e){for(var t=0,i=e.keyFrames.length;t<i;t++){for(var n,r,s,a=e.keyFrames[t],o={};null!==(s=g.exec(a.props));)r=s[1],s=s[2],n=null!==(n=r.match(te))?(r=n[1],n[2]):"linear",s=s.indexOf("!")?me(s):[s.slice(1)],o[r]={value:s,easing:O[n]};a.props=o}},me=function(e){var t=[];return se.lastIndex=0,e=e.replace(se,function(e){return e.replace(ne,function(e){return e/255*100+"%"})}),s&&(ae.lastIndex=0,e=e.replace(ae,function(e){return s+e})),e=e.replace(ne,function(e){return t.push(+e),"{?}"}),t.unshift(e),t},ge=function(e){for(var t={},i=0,n=e.keyFrames.length;i<n;i++)ve(e.keyFrames[i],t);for(t={},i=e.keyFrames.length-1;0<=i;i--)ve(e.keyFrames[i],t)},ve=function(e,t){for(var i in t)Q.call(e.props,i)||(e.props[i]=t[i]);for(i in e.props)t[i]=e.props[i]},ye=function(e,t,i){var n=e.length;if(n!==t.length)throw"Can't interpolate between \""+e[0]+'" and "'+t[0]+'"';for(var r=[e[0]],s=1;s<n;s++)r[s]=e[s]+(t[s]-e[s])*i;return r},be=function(e){var t=1;return re.lastIndex=0,e[0].replace(re,function(){return e[t++]})},H=function(e,t){for(var i,n,r=0,s=(e=[].concat(e)).length;r<s;r++)n=e[r],(i=P[n[x]])&&(t?(n.style.cssText=i.dirtyStyleAttr,W(n,i.dirtyClassAttr)):(i.dirtyStyleAttr=n.style.cssText,i.dirtyClassAttr=ke(n),n.style.cssText=i.styleAttr,W(n,i.classAttr)))},_e=function(){N="translateZ(0)",I.setStyle(z,"transform",N);var e=o(z),t=e.getPropertyValue("transform"),e=e.getPropertyValue(s+"transform");t&&"none"!==t||e&&"none"!==e||(N="")},we=(I.setStyle=function(e,t,i){e=e.style;if("zIndex"===(t=t.replace(ie,S).replace("-","")))isNaN(i)?e[t]=i:e[t]=""+(0|i);else if("float"===t)e.styleFloat=e.cssFloat=i;else try{r&&(e[r+t.slice(0,1).toUpperCase()+t.slice(1)]=i),e[t]=i}catch(e){}},I.addEvent=function(e,t,i){for(var n,r=function(e){return(e=e||v.event).target||(e.target=e.srcElement),e.preventDefault||(e.preventDefault=function(){e.returnValue=!1,e.defaultPrevented=!0}),i.call(this,e)},s=0,a=(t=t.split(" ")).length;s<a;s++)n=t[s],e.addEventListener?e.addEventListener(n,i,!1):e.attachEvent("on"+n,r),Re.push({element:e,name:n,listener:i})}),xe=I.removeEvent=function(e,t,i){for(var n=0,r=(t=t.split(" ")).length;n<r;n++)e.removeEventListener?e.removeEventListener(t[n],i,!1):e.detachEvent("on"+t[n],i)},Te=function(){for(var e,t=0,i=Re.length;t<i;t++)e=Re[t],xe(e.element,e.name,e.listener);Re=[]},Se=function(e,t,i){D.keyframe&&D.keyframe.call(L,e,t,i)},Ee=function(){var e=L.getScrollTop();Y=0,f&&!V&&(_.style.height="");for(var t,i,n,r,s,a,o,l,c,d=y.clientHeight,u=Ce(),p=0,h=P.length;p<h;p++)for(i=(t=P[p]).element,n=t.anchorTarget,s=0,a=(r=t.keyFrames).length;s<a;s++)l=(o=r[s]).offset,c=u[o.constant]||0,o.frame=l,o.isPercentage&&(o.frame=l*=d),"relative"===o.mode&&(H(i),o.frame=L.relativeToAbsolute(n,o.anchors[0],o.anchors[1])-l,H(i,!0)),o.frame+=c,f&&!o.isEnd&&o.frame>Y&&(Y=o.frame);for(Y=w.max(Y,Me()),p=0,h=P.length;p<h;p++){for(s=0,a=(r=(t=P[p]).keyFrames).length;s<a;s++)c=u[(o=r[s]).constant]||0,o.isEnd&&(o.frame=Y-o.offset+c);t.keyFrames.sort(Ae)}f&&!V&&(_.style.height=Y+y.clientHeight+"px"),V?L.setScrollTop(w.min(L.getScrollTop(),Y)):L.setScrollTop(e,!0),F=!0},Ce=function(){var e,t,i=y.clientHeight,n={};for(e in a)"function"==typeof(t=a[e])?t=t.call(L):/p$/.test(t)&&(t=t.slice(0,-1)/100*i),n[e]=t;return n},Me=function(){var e=0;return z&&(e=w.max(z.offsetHeight,z.scrollHeight)),w.max(e,_.scrollHeight,_.offsetHeight,y.scrollHeight,y.offsetHeight,y.clientHeight)-y.clientHeight},ke=function(e){var t="className";return v.SVGElement&&e instanceof v.SVGElement&&(e=e[t],t="baseVal"),e[t]},W=function(e,t,i){var n="className";if(v.SVGElement&&e instanceof v.SVGElement&&(e=e[n],n="baseVal"),i===k)e[n]=t;else{for(var r=e[n],s=0,a=i.length;s<a;s++)r=c(r).replace(c(i[s])," ");for(var r=Ie(r),o=0,l=t.length;o<l;o++)-1===c(r).indexOf(c(t[o]))&&(r+=" "+t[o]);e[n]=Ie(r)}},Ie=function(e){return e.replace(i,"")},c=function(e){return" "+e+" "},q=Date.now||function(){return+new Date},Ae=function(e,t){return e.frame-t.frame},Y=0,Oe=1,$="down",X=-1,Le=q(),Pe=0,ze=0,G=!1,De=0,V=!1,U=0,Re=[];"function"==typeof define&&define.amd?define([],function(){return I}):"undefined"!=typeof module&&module.exports?module.exports=I:v.skrollr=I}(window,document),
/*!
jQuery Smooth Scroll
Version: 2.2.0
Plugin URL: https://github.com/kswedberg/jquery-smooth-scroll
License: Copyright (c) 2017 Karl Swedberg | Licensed under MIT
!*/
function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?e(require("jquery")):e(jQuery)}(function(f){function t(e){var t=[],i=e.dir&&"left"===e.dir?"scrollLeft":"scrollTop";return this.each(function(){var e=f(this);if(this!==document&&this!==window)return!document.scrollingElement||this!==document.documentElement&&this!==document.body?void(0<e[i]()?t.push(this):(e[i](1),0<e[i]()&&t.push(this),e[i](0))):(t.push(document.scrollingElement),!1)}),t.length||this.each(function(){(t=this===document.documentElement&&"smooth"===f(this).css("scrollBehavior")?[this]:t).length||"BODY"!==this.nodeName||(t=[this])}),t="first"===e.el&&1<t.length?[t[0]]:t}function c(e){var t={relative:""},i="string"==typeof e&&n.exec(e);return"number"==typeof e?t.px=e:i&&(t.relative=i[1],t.px=parseFloat(i[2])||0),t}function d(e){var t=f(e.scrollTarget);e.autoFocus&&t.length&&(t[0].focus(),t.is(document.activeElement)||(t.prop({tabIndex:-1}),t[0].focus())),e.afterScroll.call(e.link,e)}var u={},n=/^([\-\+]=)(\d+)/;f.fn.extend({scrollable:function(e){e=t.call(this,{dir:e});return this.pushStack(e)},firstScrollable:function(e){e=t.call(this,{el:"first",dir:e});return this.pushStack(e)},smoothScroll:function(e,t){var h,i;return"options"===(e=e||{})?t?this.each(function(){var e=f(this),e=f.extend(e.data("ssOpts")||{},t);f(this).data("ssOpts",e)}):this.first().data("ssOpts"):(h=f.extend({},f.fn.smoothScroll.defaults,e),i=function(e){function t(e){return e.replace(/(:|\.|\/)/g,"\\$1")}var i=f(this),n=f.extend({},h,i.data("ssOpts")||{}),r=h.exclude,s=n.excludeWithin,a=0,o=0,l=!0,c={},d=f.smoothScroll.filterPath(location.pathname),u=f.smoothScroll.filterPath(this.pathname),p=location.hostname===this.hostname||!this.hostname,u=n.scrollTarget||u===d,d=t(this.hash);if(d&&!f(d).length&&(l=!1),n.scrollTarget||p&&u&&d){for(;l&&a<r.length;)i.is(t(r[a++]))&&(l=!1);for(;l&&o<s.length;)i.closest(s[o++]).length&&(l=!1)}else l=!1;l&&(n.preventDefault&&e.preventDefault(),f.extend(c,n,{scrollTarget:n.scrollTarget||d,link:this}),f.smoothScroll(c))},null!==e.delegateSelector?this.off("click.smoothscroll",e.delegateSelector).on("click.smoothscroll",e.delegateSelector,i):this.off("click.smoothscroll").on("click.smoothscroll",i),this)}});f.smoothScroll=function(e,t){if("options"===e&&"object"==typeof t)return f.extend(u,t);var i,n,r=c(e),s=0,a="offset",o={},l={};r.px?i=f.extend({link:null},f.fn.smoothScroll.defaults,u):((i=f.extend({link:null},f.fn.smoothScroll.defaults,e||{},u)).scrollElement&&"static"===i.scrollElement.css(a="position")&&i.scrollElement.css("position","relative"),t&&(r=c(t))),e="left"===i.direction?"scrollLeft":"scrollTop",i.scrollElement?(n=i.scrollElement,r.px||/^(?:HTML|BODY)$/.test(n[0].nodeName)||(s=n[e]())):n=f("html, body").firstScrollable(i.direction),i.beforeScroll.call(n,i),t=r.px?r:{relative:"",px:f(i.scrollTarget)[a]()&&f(i.scrollTarget)[a]()[i.direction]||0},o[e]=t.relative+(t.px+s+i.offset),l={duration:r="auto"===(r=i.speed)?Math.abs(o[e]-n[e]())/i.autoCoefficient:r,easing:i.easing,complete:function(){d(i)}},i.step&&(l.step=i.step),n.length?n.stop().animate(o,l):d(i)},f.smoothScroll.version="2.2.0",f.smoothScroll.filterPath=function(e){return(e=e||"").replace(/^\//,"").replace(/(?:index|default).[a-zA-Z]{3,4}$/,"").replace(/\/$/,"")},f.fn.smoothScroll.defaults={exclude:[],excludeWithin:[],offset:0,direction:"top",delegateSelector:null,scrollElement:null,scrollTarget:null,autoFocus:!1,beforeScroll:function(){},afterScroll:function(){},easing:"swing",speed:400,autoCoefficient:2,preventDefault:!0}}),
/*!
Splitting
Version: 1.0.5
Plugin URL: https://splitting.js.org/
License: Copyright © 2018-present Stephen Shaw | Licensed under the MIT license
!*/
function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Splitting=t()}(this,function(){"use strict";var s=document,c=s.createTextNode.bind(s);function d(e,t,i){e.style.setProperty(t,i)}function u(e,t){return e.appendChild(t)}function p(e,t,i,n){var r=s.createElement("span");return t&&(r.className=t),i&&(n||r.setAttribute("data-"+t,i),r.textContent=i),e&&u(e,r)||r}function h(e,t){return e.getAttribute("data-"+t)}function f(e,t){return e&&0!=e.length?e.nodeName?[e]:[].slice.call(e[0].nodeName?e:(t||s).querySelectorAll(e)):[]}function a(e){for(var t=[];e--;)t[e]=[];return t}function m(e,t){e&&e.some(t)}function r(t){return function(e){return t[e]}}var o={};function e(e,t,i,n){return{by:e,depends:t,key:i,split:n}}function i(e){return function t(i,e,n){var r=n.indexOf(i);if(-1==r){n.unshift(i);var s=o[i];if(!s)throw new Error("plugin not loaded: "+i);m(s.depends,function(e){t(e,i,n)})}else s=n.indexOf(e),n.splice(r,1),n.splice(s,0,i);return n}(e,0,[]).map(r(o))}function t(e){o[e.by]=e}function g(e,i,n,r,s){e.normalize();var a=[],o=document.createDocumentFragment(),l=(r&&a.push(e.previousSibling),[]);return f(e.childNodes).some(function(e){var t;e.tagName&&!e.hasChildNodes()?l.push(e):e.childNodes&&e.childNodes.length?(l.push(e),a.push.apply(a,g(e,i,n,r,s))):(t=(e=e.wholeText||"").trim()).length&&(" "===e[0]&&l.push(c(" ")),m(t.split(n),function(e,t){t&&s&&l.push(p(o,"whitespace"," ",s));t=p(o,i,e);a.push(t),l.push(t)})," "===e[e.length-1])&&l.push(c(" "))}),m(l,function(e){u(o,e)}),e.innerHTML="",u(e,o),a}var l="words",n=e(l,0,"word",function(e){return g(e,"word",/\s+/,0,1)}),v=e("chars",[l],"char",function(e,i,t){var n=[];return m(t[l],function(e,t){n.push.apply(n,g(e,"char","",i.whitespace&&t))}),n});function y(t){var c=(t=t||{}).key;return f(t.target||"[data-splitting]").map(function(a){var e,o,l=a["🍌"];return!t.force&&l||(l=a["🍌"]={el:a},e=i(e=(e=t.by||h(a,"splitting"))&&"true"!=e?e:"chars"),o=function(e,t){for(var i in t)e[i]=t[i];return e}({},t),m(e,function(e){var t,i,n,r,s;e.split&&(t=e.by,n=(c?"-"+c:"")+e.key,e=e.split(a,o,l),n&&(i=a,s=(n="--"+(n=n))+"-index",m(r=e,function(e,t){Array.isArray(e)?m(e,function(e){d(e,s,t)}):d(e,s,t)}),d(i,n+"-total",r.length)),l[t]=e,a.classList.add(t))}),a.classList.add("splitting")),l})}function b(e,t,i){var t=f(t.matching||e.children,e),n={};return m(t,function(e){var t=Math.round(e[i]);(n[t]||(n[t]=[])).push(e)}),Object.keys(n).map(Number).sort(_).map(r(n))}function _(e,t){return e-t}y.html=function(e){var t=(e=e||{}).target=p();return t.innerHTML=e.content,y(e),t.outerHTML};var w=e("lines",[l],"line",function(e,t,i){return b(e,{matching:i[l]},"offsetTop")}),x=e("items",0,"item",function(e,t){return f(t.matching||e.children,e)}),T=e("rows",0,"row",function(e,t){return b(e,t,"offsetTop")}),S=e("cols",0,"col",function(e,t){return b(e,t,"offsetLeft")}),E=e("grid",["rows","cols"]),C="layout",M=e(C,0,0,function(e,t){for(var i,n=t.rows=+(t.rows||h(e,"rows")||1),r=t.columns=+(t.columns||h(e,"columns")||1),s=(t.image=t.image||h(e,"image")||e.currentSrc||e.src,t.image&&(i=f("img",e)[0],t.image=i&&(i.currentSrc||i.src)),t.image&&d(e,"background-image","url("+t.image+")"),n*r),a=[],o=p(0,"cell-grid");s--;){var l=p(o,"cell");p(l,"cell-inner"),a.push(l)}return u(e,o),a}),k=e("cellRows",[C],"row",function(e,t,i){var n=t.rows,r=a(n);return m(i[C],function(e,t,i){r[Math.floor(t/(i.length/n))].push(e)}),r}),I=e("cellColumns",[C],"col",function(e,t,i){var n=t.columns,r=a(n);return m(i[C],function(e,t){r[t%n].push(e)}),r}),A=e("cells",["cellRows","cellColumns"],"cell",function(e,t,i){return i[C]});return(y.add=t)(n),t(v),t(w),t(x),t(T),t(S),t(E),t(M),t(k),t(I),t(A),y}),
/*!
Sticky-kit
Version: 1.1.3
Plugin URL: https://github.com/leafo/sticky-kit
License: Leaf Corcoran 2015 | Licensed under MIT
!*/
function(){var O=window.jQuery,L=O(window);O.fn.stick_in_parent=function(e){var x,t,i,n,r,T,S=(e=null==e?{}:e).sticky_class,E=e.inner_scrolling,C=e.recalc_every,M=e.parent,k=e.offset_top,I=e.spacer,A=e.bottoming;for(null==k&&(k=0),null==M&&(M=void 0),null==E&&(E=!0),null==S&&(S="is_stuck"),x=O(document),null==A&&(A=!0),T=function(e){var t,i;return window.getComputedStyle?(e[0],t=window.getComputedStyle(e[0]),i=parseFloat(t.getPropertyValue("width"))+parseFloat(t.getPropertyValue("margin-left"))+parseFloat(t.getPropertyValue("margin-right")),"border-box"!==t.getPropertyValue("box-sizing")&&(i+=parseFloat(t.getPropertyValue("border-left-width"))+parseFloat(t.getPropertyValue("border-right-width"))+parseFloat(t.getPropertyValue("padding-left"))+parseFloat(t.getPropertyValue("padding-right"))),i):e.outerWidth(!0)},i=function(s,a,o,l,c,d,u,p){var h,e,f,m,g,v,y,b,t,_,w,n;if(!s.data("sticky_kit")){if(s.data("sticky_kit",!0),g=x.height(),y=s.parent(),!(y=null!=M?y.closest(M):y).length)throw"failed to find stick parent";if(h=f=!1,(w=null!=I?I&&s.closest(I):O("<div />"))&&w.css("position",s.css("position")),(b=function(){var e,t,i;if(!p)return g=x.height(),e=parseInt(y.css("border-top-width"),10),t=parseInt(y.css("padding-top"),10),a=parseInt(y.css("padding-bottom"),10),o=y.offset().top+e+t,l=y.height(),f&&(h=f=!1,null==I&&(s.insertAfter(w),w.detach()),s.css({position:"",top:"",width:"",bottom:""}).removeClass(S),i=!0),c=s.offset().top-(parseInt(s.css("margin-top"),10)||0)-k,d=s.outerHeight(!0),u=s.css("float"),w&&w.css({width:T(s),height:d,display:s.css("display"),"vertical-align":s.css("vertical-align"),float:u}),i?n():void 0})(),d!==l)return m=void 0,v=k,_=C,n=function(){var e,t,i,n,r;if(!p)return i=!1,null!=_&&--_<=0&&(_=C,b(),i=!0),i||x.height()===g||(b(),i=!0),i=L.scrollTop(),null!=m&&(t=i-m),m=i,f?(A&&(n=l+o<i+d+v,h)&&!n&&(h=!1,s.css({position:"fixed",bottom:"",top:v}).trigger("sticky_kit:unbottom")),i<c&&(f=!1,v=k,null==I&&("left"!==u&&"right"!==u||s.insertAfter(w),w.detach()),s.css(e={position:"",width:"",top:""}).removeClass(S).trigger("sticky_kit:unstick")),E&&(r=L.height())<d+k&&(h||(v-=t,v=Math.max(r-d,v),v=Math.min(k,v),f&&s.css({top:v+"px"})))):c<i&&(f=!0,(e={position:"fixed",top:v}).width="border-box"===s.css("box-sizing")?s.outerWidth()+"px":s.width()+"px",s.css(e).addClass(S),null==I&&(s.after(w),"left"!==u&&"right"!==u||w.append(s)),s.trigger("sticky_kit:stick")),f&&A&&(null==n&&(n=l+o<i+d+v),!h)&&n?(h=!0,"static"===y.css("position")&&y.css({position:"relative"}),s.css({position:"absolute",bottom:a,top:"auto"}).trigger("sticky_kit:bottom")):void 0},t=function(){return b(),n()},e=function(){if(p=!0,L.off("touchmove",n),L.off("scroll",n),L.off("resize",t),O(document.body).off("sticky_kit:recalc",t),s.off("sticky_kit:detach",e),s.removeData("sticky_kit"),s.css({position:"",bottom:"",top:"",width:""}),y.position("position",""),f)return null==I&&("left"!==u&&"right"!==u||s.insertAfter(w),w.remove()),s.removeClass(S)},L.on("touchmove",n),L.on("scroll",n),L.on("resize",t),O(document.body).on("sticky_kit:recalc",t),s.on("sticky_kit:detach",e),setTimeout(n,0)}},n=0,r=this.length;n<r;n++)t=this[n],i(O(t));return this}}.call(this);
/*!
Swiper
Version: 11.0.5
Plugin URL: https://swiperjs.com
License: Copyright 2014-2023 Vladimir Kharlampidi | Released under the MIT License
!*/
var Swiper=function(){"use strict";function n(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function r(t,i){void 0===t&&(t={}),void 0===i&&(i={}),Object.keys(i).forEach(e=>{void 0===t[e]?t[e]=i[e]:n(i[e])&&n(t[e])&&0<Object.keys(i[e]).length&&r(t[e],i[e])})}const t={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function A(){var e="undefined"!=typeof document?document:{};return r(e,t),e}const y={document:t,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function k(){var e="undefined"!=typeof window?window:{};return r(e,y),e}function S(e){return(e=void 0===e?"":e).trim().split(" ").filter(e=>!!e.trim())}function E(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function v(){return Date.now()}function I(e,t){void 0===t&&(t="x");var i=k();let n,r,s;e=function(e){var t=k();let i;return i=(i=!(i=t.getComputedStyle?t.getComputedStyle(e,null):i)&&e.currentStyle?e.currentStyle:i)||e.style}(e);return i.WebKitCSSMatrix?(6<(r=e.transform||e.webkitTransform).split(",").length&&(r=r.split(", ").map(e=>e.replace(",",".")).join(", ")),s=new i.WebKitCSSMatrix("none"===r?"":r)):(s=e.MozTransform||e.OTransform||e.MsTransform||e.msTransform||e.transform||e.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=s.toString().split(",")),"x"===t&&(r=i.WebKitCSSMatrix?s.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),(r="y"===t?i.WebKitCSSMatrix?s.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5]):r)||0}function l(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function p(e){var t,i=Object(arguments.length<=0?void 0:e);const n=["__proto__","constructor","prototype"];for(let e=1;e<arguments.length;e+=1){var r=e<0||arguments.length<=e?void 0:arguments[e];if(null!=r&&(t=r,!("undefined"!=typeof window&&void 0!==window.HTMLElement?t instanceof HTMLElement:t&&(1===t.nodeType||11===t.nodeType)))){var s=Object.keys(Object(r)).filter(e=>n.indexOf(e)<0);for(let e=0,t=s.length;e<t;e+=1){var a=s[e],o=Object.getOwnPropertyDescriptor(r,a);void 0!==o&&o.enumerable&&(l(i[a])&&l(r[a])?r[a].__swiper__?i[a]=r[a]:p(i[a],r[a]):l(i[a])||!l(r[a])||(i[a]={},r[a].__swiper__)?i[a]=r[a]:p(i[a],r[a]))}}}return i}function q(e,t,i){e.style.setProperty(t,i)}function T(e){let{swiper:i,targetPosition:n,side:r}=e;const s=k(),a=-i.translate;let o=null,l;const c=i.params.speed,d=(i.wrapperEl.style.scrollSnapType="none",s.cancelAnimationFrame(i.cssModeFrameID),n>a?"next":"prev"),u=(e,t)=>"next"===d&&t<=e||"prev"===d&&e<=t,p=()=>{l=(new Date).getTime(),null===o&&(o=l);var e=Math.max(Math.min((l-o)/c,1),0),e=.5-Math.cos(e*Math.PI)/2;let t=a+e*(n-a);u(t,n)&&(t=n),i.wrapperEl.scrollTo({[r]:t}),u(t,n)?(i.wrapperEl.style.overflow="hidden",i.wrapperEl.style.scrollSnapType="",setTimeout(()=>{i.wrapperEl.style.overflow="",i.wrapperEl.scrollTo({[r]:t})}),s.cancelAnimationFrame(i.cssModeFrameID)):i.cssModeFrameID=s.requestAnimationFrame(p)};p()}function a(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function Y(e,t){return void 0===t&&(t=""),[...e.children].filter(e=>e.matches(t))}function O(e){try{console.warn(e)}catch(e){}}function C(e,t){void 0===t&&(t=[]);e=document.createElement(e);return e.classList.add(...Array.isArray(t)?t:S(t)),e}function L(e){var t=k(),i=A(),n=e.getBoundingClientRect(),i=i.body,r=e.clientTop||i.clientTop||0,i=e.clientLeft||i.clientLeft||0,s=e===t?t.scrollY:e.scrollTop,t=e===t?t.scrollX:e.scrollLeft;return{top:n.top+s-r,left:n.left+t-i}}function $(e,t){return k().getComputedStyle(e,null).getPropertyValue(t)}function M(e){let t=e,i;if(t){for(i=0;null!==(t=t.previousSibling);)1===t.nodeType&&(i+=1);return i}}function P(e,t){var i=[];let n=e.parentElement;for(;n;)t&&!n.matches(t)||i.push(n),n=n.parentElement;return i}function g(i,n){n&&i.addEventListener("transitionend",function e(t){t.target===i&&(n.call(i,t),i.removeEventListener("transitionend",e))})}function X(e,t,i){var n=k();return i?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}let i;function b(){var e,t;return i=i||(e=k(),{smoothScroll:(t=A()).documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)})}let _;function R(e){return void 0===e&&(e={}),_=_||function(e){var e=(void 0===e?{}:e)["userAgent"],t=b(),i=(s=k()).navigator.platform,e=e||s.navigator.userAgent,n={ios:!1,android:!1},r=s.screen.width,s=s.screen.height,a=e.match(/(Android);?[\s\/]+([\d.]+)?/);let o=e.match(/(iPad).*OS\s([\d_]+)/);var l=e.match(/(iPod)(.*OS\s([\d_]+))?/),c=!o&&e.match(/(iPhone\sOS|iOS)\s([\d_]+)/),d="Win32"===i,i="MacIntel"===i;return!o&&i&&t.touch&&0<=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(r+"x"+s)&&(o=(o=e.match(/(Version)\/([\d.]+)/))||[0,1,"13_0_0"]),a&&!d&&(n.os="android",n.android=!0),(o||c||l)&&(n.os="ios",n.ios=!0),n}(e)}let e;function j(){return e=e||function(){const t=k();let e=!1;function i(){var e=t.navigator.userAgent.toLowerCase();return 0<=e.indexOf("safari")&&e.indexOf("chrome")<0&&e.indexOf("android")<0}var n,r;return i()&&(n=String(t.navigator.userAgent)).includes("Version/")&&([n,r]=n.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e)),e=n<16||16===n&&r<2),{isSafari:e||i(),needPerspectiveFix:e,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)}}()}const o=(t,e)=>{if(t&&!t.destroyed&&t.params){const i=e.closest(t.isElement?"swiper-slide":"."+t.params.slideClass);if(i){let e=i.querySelector("."+t.params.lazyPreloaderClass);!e&&t.isElement&&(i.shadowRoot?e=i.shadowRoot.querySelector("."+t.params.lazyPreloaderClass):requestAnimationFrame(()=>{i.shadowRoot&&(e=i.shadowRoot.querySelector("."+t.params.lazyPreloaderClass))&&e.remove()})),e&&e.remove()}}},d=(e,t)=>{e.slides[t]&&(e=e.slides[t].querySelector('[loading="lazy"]'))&&e.removeAttribute("loading")},u=i=>{if(i&&!i.destroyed&&i.params){var t=i.params.lazyPreloadPrevNext,n=i.slides.length;if(n&&t&&!(t<0)){t=Math.min(t,n);const o="auto"===i.params.slidesPerView?i.slidesPerViewDynamic():Math.ceil(i.params.slidesPerView);var r=i.activeIndex;if(i.params.grid&&1<i.params.grid.rows){const l=r,c=[l-t];c.push(...Array.from({length:t}).map((e,t)=>l+o+t)),void i.slides.forEach((e,t)=>{c.includes(e.column)&&d(i,t)})}else{var s=r+o-1;if(i.params.rewind||i.params.loop)for(let e=r-t;e<=s+t;e+=1){var a=(e%n+n)%n;(a<r||s<a)&&d(i,a)}else for(let e=Math.max(r-t,0);e<=Math.min(s+t,n-1);e+=1)e!==r&&(e>s||e<r)&&d(i,e)}}}};function B(e){var{swiper:e,runCallbacks:t,direction:i,step:n}=e,{activeIndex:r,previousIndex:s}=e;let a=i;a=a||(s<r?"next":r<s?"prev":"reset"),e.emit("transition"+n),t&&r!==s&&("reset"===a?e.emit("slideResetTransition"+n):(e.emit("slideChangeTransition"+n),"next"===a?e.emit("slideNextTransition"+n):e.emit("slidePrevTransition"+n)))}function F(n,e){return function e(t){var i;return t&&t!==A()&&t!==k()&&((i=(t=t.assignedSlot||t).closest(n))||t.getRootNode)?i||e(t.getRootNode().host):null}(e=void 0===e?this:e)}function N(e,t,i){var n=k(),e=e["params"],r=e.edgeSwipeDetection,e=e.edgeSwipeThreshold;return!r||!(i<=e||i>=n.innerWidth-e)||"prevent"===r&&(t.preventDefault(),1)}function H(){const e=this;var t,i,n,r,{params:s,el:a}=e;a&&0===a.offsetWidth||(s.breakpoints&&e.setBreakpoint(),{allowSlideNext:a,allowSlidePrev:t,snapGrid:i}=e,n=e.virtual&&e.params.virtual.enabled,e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),r=n&&s.loop,!("auto"===s.slidesPerView||1<s.slidesPerView)||!e.isEnd||e.isBeginning||e.params.centeredSlides||r?e.params.loop&&!n?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=t,e.allowSlideNext=a,e.params.watchOverflow&&i!==e.snapGrid&&e.checkOverflow())}const W=(e,t)=>{var i=A(),{params:n,el:r,wrapperEl:s,device:a}=e,o=!!n.nested,l="on"===t?"addEventListener":"removeEventListener";i[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:o}),r[l]("touchstart",e.onTouchStart,{passive:!1}),r[l]("pointerdown",e.onTouchStart,{passive:!1}),i[l]("touchmove",e.onTouchMove,{passive:!1,capture:o}),i[l]("pointermove",e.onTouchMove,{passive:!1,capture:o}),i[l]("touchend",e.onTouchEnd,{passive:!0}),i[l]("pointerup",e.onTouchEnd,{passive:!0}),i[l]("pointercancel",e.onTouchEnd,{passive:!0}),i[l]("touchcancel",e.onTouchEnd,{passive:!0}),i[l]("pointerout",e.onTouchEnd,{passive:!0}),i[l]("pointerleave",e.onTouchEnd,{passive:!0}),i[l]("contextmenu",e.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&r[l]("click",e.onClick,!0),n.cssMode&&s[l]("scroll",e.onScroll),n.updateOnWindowResize?e[t](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",H,!0):e[t]("observerUpdate",H,!0),r[l]("load",e.onLoad,{capture:!0})};const G=(e,t)=>e.grid&&t.grid&&1<t.grid.rows;var V={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};const s={eventsEmitter:{on(e,t,i){const n=this;if(n.eventsListeners&&!n.destroyed&&"function"==typeof t){const r=i?"unshift":"push";e.split(" ").forEach(e=>{n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][r](t)})}return n},once(n,r,e){const s=this;return!s.eventsListeners||s.destroyed||"function"!=typeof r?s:(a.__emitterProxy=r,s.on(n,a,e));function a(){s.off(n,a),a.__emitterProxy&&delete a.__emitterProxy;for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];r.apply(s,t)}},onAny(e,t){return this.eventsListeners&&!this.destroyed&&"function"==typeof e&&(t=t?"unshift":"push",this.eventsAnyListeners.indexOf(e)<0)&&this.eventsAnyListeners[t](e),this},offAny(e){return this.eventsListeners&&!this.destroyed&&this.eventsAnyListeners&&0<=(e=this.eventsAnyListeners.indexOf(e))&&this.eventsAnyListeners.splice(e,1),this},off(e,n){const r=this;return r.eventsListeners&&!r.destroyed&&r.eventsListeners&&e.split(" ").forEach(i=>{void 0===n?r.eventsListeners[i]=[]:r.eventsListeners[i]&&r.eventsListeners[i].forEach((e,t)=>{(e===n||e.__emitterProxy&&e.__emitterProxy===n)&&r.eventsListeners[i].splice(t,1)})}),r},emit(){const r=this;if(r.eventsListeners&&!r.destroyed&&r.eventsListeners){let e,i,n;for(var t=arguments.length,s=new Array(t),a=0;a<t;a++)s[a]=arguments[a];n="string"==typeof s[0]||Array.isArray(s[0])?(e=s[0],i=s.slice(1,s.length),r):(e=s[0].events,i=s[0].data,s[0].context||r),i.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(t=>{r.eventsAnyListeners&&r.eventsAnyListeners.length&&r.eventsAnyListeners.forEach(e=>{e.apply(n,[t,...i])}),r.eventsListeners&&r.eventsListeners[t]&&r.eventsListeners[t].forEach(e=>{e.apply(n,i)})})}return r}},update:{updateSize:function(){var e=this;let t,i;var n=e.el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:n.clientWidth,i=void 0!==e.params.height&&null!==e.params.height?e.params.height:n.clientHeight,0===t&&e.isHorizontal()||0===i&&e.isVertical()||(t=t-parseInt($(n,"padding-left")||0,10)-parseInt($(n,"padding-right")||0,10),i=i-parseInt($(n,"padding-top")||0,10)-parseInt($(n,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(i)&&(i=0),Object.assign(e,{width:t,height:i,size:e.isHorizontal()?t:i}))},updateSlides:function(){const n=this;function r(e,t){return parseFloat(e.getPropertyValue(n.getDirectionLabel(t))||0)}const s=n.params,{wrapperEl:e,slidesEl:i,size:a,rtlTranslate:t,wrongRTL:j}=n;var o=n.virtual&&s.virtual.enabled,l=(o?n.virtual:n).slides.length;const c=Y(i,`.${n.params.slideClass}, swiper-slide`);var d=(o?n.virtual.slides:c).length;let u=[];const p=[];var h=[];let f=s.slidesOffsetBefore,m=("function"==typeof f&&(f=s.slidesOffsetBefore.call(n)),s.slidesOffsetAfter);"function"==typeof m&&(m=s.slidesOffsetAfter.call(n));var g=n.snapGrid.length,B=n.slidesGrid.length;let v=s.spaceBetween,y=-f,b=0,_=0;if(void 0!==a){"string"==typeof v&&0<=v.indexOf("%")?v=parseFloat(v.replace("%",""))/100*a:"string"==typeof v&&(v=parseFloat(v)),n.virtualSize=-v,c.forEach(e=>{t?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),s.centeredSlides&&s.cssMode&&(q(e,"--swiper-centered-offset-before",""),q(e,"--swiper-centered-offset-after",""));var w=s.grid&&1<s.grid.rows&&n.grid;w?n.grid.initSlides(c):n.grid&&n.grid.unsetSlides();let i;var x,T,S,E,C,M,k,I,A,F="auto"===s.slidesPerView&&s.breakpoints&&0<Object.keys(s.breakpoints).filter(e=>void 0!==s.breakpoints[e].slidesPerView).length;for(let t=0;t<d;t+=1){i=0;let e;c[t]&&(e=c[t]),w&&n.grid.updateSlide(t,e,c),c[t]&&"none"===$(e,"display")||("auto"===s.slidesPerView?(F&&(c[t].style[n.getDirectionLabel("width")]=""),I=getComputedStyle(e),x=e.style.transform,T=e.style.webkitTransform,x&&(e.style.transform="none"),T&&(e.style.webkitTransform="none"),i=s.roundLengths?n.isHorizontal()?X(e,"width",!0):X(e,"height",!0):(S=r(I,"width"),E=r(I,"padding-left"),C=r(I,"padding-right"),M=r(I,"margin-left"),k=r(I,"margin-right"),(I=I.getPropertyValue("box-sizing"))&&"border-box"===I?S+M+k:({clientWidth:I,offsetWidth:A}=e,S+E+C+M+k+(A-I))),x&&(e.style.transform=x),T&&(e.style.webkitTransform=T),s.roundLengths&&(i=Math.floor(i))):(i=(a-(s.slidesPerView-1)*v)/s.slidesPerView,s.roundLengths&&(i=Math.floor(i)),c[t]&&(c[t].style[n.getDirectionLabel("width")]=i+"px")),c[t]&&(c[t].swiperSlideSize=i),h.push(i),s.centeredSlides?(y=y+i/2+b/2+v,0===b&&0!==t&&(y=y-a/2-v),0===t&&(y=y-a/2-v),Math.abs(y)<.001&&(y=0),s.roundLengths&&(y=Math.floor(y)),_%s.slidesPerGroup==0&&u.push(y),p.push(y)):(s.roundLengths&&(y=Math.floor(y)),(_-Math.min(n.params.slidesPerGroupSkip,_))%n.params.slidesPerGroup==0&&u.push(y),p.push(y),y=y+i+v),n.virtualSize+=i+v,b=i,_+=1)}if(n.virtualSize=Math.max(n.virtualSize,a)+m,t&&j&&("slide"===s.effect||"coverflow"===s.effect)&&(e.style.width=n.virtualSize+v+"px"),s.setWrapperSize&&(e.style[n.getDirectionLabel("width")]=n.virtualSize+v+"px"),w&&n.grid.updateWrapperSize(i,u),!s.centeredSlides){var O=[];for(let t=0;t<u.length;t+=1){let e=u[t];s.roundLengths&&(e=Math.floor(e)),u[t]<=n.virtualSize-a&&O.push(e)}u=O,1<Math.floor(n.virtualSize-a)-Math.floor(u[u.length-1])&&u.push(n.virtualSize-a)}if(o&&s.loop){var L=h[0]+v;if(1<s.slidesPerGroup){var N=Math.ceil((n.virtual.slidesBefore+n.virtual.slidesAfter)/s.slidesPerGroup),H=L*s.slidesPerGroup;for(let e=0;e<N;e+=1)u.push(u[u.length-1]+H)}for(let e=0;e<n.virtual.slidesBefore+n.virtual.slidesAfter;e+=1)1===s.slidesPerGroup&&u.push(u[u.length-1]+L),p.push(p[p.length-1]+L),n.virtualSize+=L}if(0===u.length&&(u=[0]),0!==v){const P=n.isHorizontal()&&t?"marginLeft":n.getDirectionLabel("marginRight");c.filter((e,t)=>!(s.cssMode&&!s.loop)||t!==c.length-1).forEach(e=>{e.style[P]=v+"px"})}if(s.centeredSlides&&s.centeredSlidesBounds){let t=0;h.forEach(e=>{t+=e+(v||0)});const z=(t-=v)-a;u=u.map(e=>e<=0?-f:e>z?z+m:e)}if(s.centerInsufficientSlides){let t=0;if(h.forEach(e=>{t+=e+(v||0)}),(t-=v)<a){const D=(a-t)/2;u.forEach((e,t)=>{u[t]=e-D}),p.forEach((e,t)=>{p[t]=e+D})}}if(Object.assign(n,{slides:c,snapGrid:u,slidesGrid:p,slidesSizesGrid:h}),s.centeredSlides&&s.cssMode&&!s.centeredSlidesBounds){q(e,"--swiper-centered-offset-before",-u[0]+"px"),q(e,"--swiper-centered-offset-after",n.size/2-h[h.length-1]/2+"px");const R=-n.snapGrid[0],W=-n.slidesGrid[0];n.snapGrid=n.snapGrid.map(e=>e+R),n.slidesGrid=n.slidesGrid.map(e=>e+W)}d!==l&&n.emit("slidesLengthChange"),u.length!==g&&(n.params.watchOverflow&&n.checkOverflow(),n.emit("snapGridLengthChange")),p.length!==B&&n.emit("slidesGridLengthChange"),s.watchSlidesProgress&&n.updateSlidesOffset(),n.emit("slidesUpdated"),o||s.cssMode||"slide"!==s.effect&&"fade"!==s.effect||(l=s.containerModifierClass+"backface-hidden",g=n.el.classList.contains(l),d<=s.maxBackfaceHiddenSlides?g||n.el.classList.add(l):g&&n.el.classList.remove(l))}},updateAutoHeight:function(e){const t=this,i=[],n=t.virtual&&t.params.virtual.enabled;let r=0,s;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);var a,o=e=>n?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&1<t.params.slidesPerView)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(e=>{i.push(e)});else for(s=0;s<Math.ceil(t.params.slidesPerView);s+=1){var l=t.activeIndex+s;if(l>t.slides.length&&!n)break;i.push(o(l))}else i.push(o(t.activeIndex));for(s=0;s<i.length;s+=1)void 0!==i[s]&&(a=i[s].offsetHeight,r=a>r?a:r);!r&&0!==r||(t.wrapperEl.style.height=r+"px")},updateSlidesOffset:function(){var t=this.slides,i=this.isElement?this.isHorizontal()?this.wrapperEl.offsetLeft:this.wrapperEl.offsetTop:0;for(let e=0;e<t.length;e+=1)t[e].swiperSlideOffset=(this.isHorizontal()?t[e].offsetLeft:t[e].offsetTop)-i-this.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);var r=this;const s=r.params;var{slides:a,rtlTranslate:o,snapGrid:l}=r;if(0!==a.length){void 0===a[0].swiperSlideOffset&&r.updateSlidesOffset();let i=o?e:-e,n=(a.forEach(e=>{e.classList.remove(s.slideVisibleClass,s.slideFullyVisibleClass)}),r.visibleSlidesIndexes=[],r.visibleSlides=[],s.spaceBetween);"string"==typeof n&&0<=n.indexOf("%")?n=parseFloat(n.replace("%",""))/100*r.size:"string"==typeof n&&(n=parseFloat(n));for(let t=0;t<a.length;t+=1){var c=a[t];let e=c.swiperSlideOffset;s.cssMode&&s.centeredSlides&&(e-=a[0].swiperSlideOffset);var d=(i+(s.centeredSlides?r.minTranslate():0)-e)/(c.swiperSlideSize+n),u=(i-l[0]+(s.centeredSlides?r.minTranslate():0)-e)/(c.swiperSlideSize+n),p=-(i-e),h=p+r.slidesSizesGrid[t],f=0<=p&&p<=r.size-r.slidesSizesGrid[t];(0<=p&&p<r.size-1||1<h&&h<=r.size||p<=0&&h>=r.size)&&(r.visibleSlides.push(c),r.visibleSlidesIndexes.push(t),a[t].classList.add(s.slideVisibleClass)),f&&a[t].classList.add(s.slideFullyVisibleClass),c.progress=o?-d:d,c.originalProgress=o?-u:u}}},updateProgress:function(e){var t=this,i=(void 0===e&&(i=t.rtlTranslate?-1:1,e=t&&t.translate&&t.translate*i||0),t.params),n=t.maxTranslate()-t.minTranslate();let{progress:r,isBeginning:s,isEnd:a,progressLoop:o}=t;var l,c,d,u=s,p=a;0==n?(r=0,s=!0,a=!0):(r=(e-t.minTranslate())/n,n=Math.abs(e-t.minTranslate())<1,l=Math.abs(e-t.maxTranslate())<1,s=n||r<=0,a=l||1<=r,n&&(r=0),l&&(r=1)),i.loop&&(n=t.getSlideIndexByData(0),l=t.getSlideIndexByData(t.slides.length-1),n=t.slidesGrid[n],l=t.slidesGrid[l],c=t.slidesGrid[t.slidesGrid.length-1],d=Math.abs(e),1<(o=n<=d?(d-n)/c:(d+c-l)/c))&&--o,Object.assign(t,{progress:r,progressLoop:o,isBeginning:s,isEnd:a}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&t.updateSlidesProgress(e),s&&!u&&t.emit("reachBeginning toEdge"),a&&!p&&t.emit("reachEnd toEdge"),(u&&!s||p&&!a)&&t.emit("fromEdge"),t.emit("progress",r)},updateSlidesClasses:function(){const{slides:e,params:t,slidesEl:i,activeIndex:n}=this;var r=this.virtual&&t.virtual.enabled,s=this.grid&&t.grid&&1<t.grid.rows,a=e=>Y(i,`.${t.slideClass}${e}, swiper-slide`+e)[0];e.forEach(e=>{e.classList.remove(t.slideActiveClass,t.slideNextClass,t.slidePrevClass)});let o,l,c;if(r)if(t.loop){let e=n-this.virtual.slidesBefore;(e=e<0?this.virtual.slides.length+e:e)>=this.virtual.slides.length&&(e-=this.virtual.slides.length),o=a(`[data-swiper-slide-index="${e}"]`)}else o=a(`[data-swiper-slide-index="${n}"]`);else s?(o=e.filter(e=>e.column===n)[0],c=e.filter(e=>e.column===n+1)[0],l=e.filter(e=>e.column===n-1)[0]):o=e[n];o&&(o.classList.add(t.slideActiveClass),s?(c&&c.classList.add(t.slideNextClass),l&&l.classList.add(t.slidePrevClass)):(c=function(e,t){for(var i=[];e.nextElementSibling;){var n=e.nextElementSibling;(!t||n.matches(t))&&i.push(n),e=n}return i}(o,`.${t.slideClass}, swiper-slide`)[0],(c=t.loop&&!c?e[0]:c)&&c.classList.add(t.slideNextClass),l=function(e,t){for(var i=[];e.previousElementSibling;){var n=e.previousElementSibling;(!t||n.matches(t))&&i.push(n),e=n}return i}(o,`.${t.slideClass}, swiper-slide`)[0],(l=t.loop&&0===!l?e[e.length-1]:l)&&l.classList.add(t.slidePrevClass))),this.emitSlidesClasses()},updateActiveIndex:function(e){const i=this;var n=i.rtlTranslate?i.translate:-i.translate,{snapGrid:r,params:s,activeIndex:a,realIndex:o,snapIndex:l}=i;let c=e,d;if(e=e=>{let t=e-i.virtual.slidesBefore;return(t=t<0?i.virtual.slides.length+t:t)>=i.virtual.slides.length&&(t-=i.virtual.slides.length),t},void 0===c&&(c=function(e){var{slidesGrid:t,params:i}=e,n=e.rtlTranslate?e.translate:-e.translate;let r;for(let e=0;e<t.length;e+=1)void 0!==t[e+1]?n>=t[e]&&n<t[e+1]-(t[e+1]-t[e])/2?r=e:n>=t[e]&&n<t[e+1]&&(r=e+1):n>=t[e]&&(r=e);return r=i.normalizeSlideIndex&&(r<0||void 0===r)?0:r}(i)),(d=0<=r.indexOf(n)?r.indexOf(n):(n=Math.min(s.slidesPerGroupSkip,c))+Math.floor((c-n)/s.slidesPerGroup))>=r.length&&(d=r.length-1),c!==a||i.params.loop)if(c===a&&i.params.loop&&i.virtual&&i.params.virtual.enabled)i.realIndex=e(c);else{n=i.grid&&s.grid&&1<s.grid.rows;let t;if(i.virtual&&s.virtual.enabled&&s.loop)t=e(c);else if(n){r=i.slides.filter(e=>e.column===c)[0];let e=parseInt(r.getAttribute("data-swiper-slide-index"),10);Number.isNaN(e)&&(e=Math.max(i.slides.indexOf(r),0)),t=Math.floor(e/s.grid.rows)}else t=i.slides[c]&&(e=i.slides[c].getAttribute("data-swiper-slide-index"),e)?parseInt(e,10):c;Object.assign(i,{previousSnapIndex:l,snapIndex:d,previousRealIndex:o,realIndex:t,previousIndex:a,activeIndex:c}),i.initialized&&u(i),i.emit("activeIndexChange"),i.emit("snapIndexChange"),(i.initialized||i.params.runCallbacksOnInit)&&(o!==t&&i.emit("realIndexChange"),i.emit("slideChange"))}else d!==l&&(i.snapIndex=d,i.emit("snapIndexChange"))},updateClickedSlide:function(e,t){var i=this;const n=i.params;let r=e.closest(`.${n.slideClass}, swiper-slide`),s=(!r&&i.isElement&&t&&1<t.length&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(e=>{!r&&e.matches&&e.matches(`.${n.slideClass}, swiper-slide`)&&(r=e)}),!1),a;if(r)for(let e=0;e<i.slides.length;e+=1)if(i.slides[e]===r){s=!0,a=e;break}r&&s?(i.clickedSlide=r,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(r.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=a,n.slideToClickedSlide&&void 0!==i.clickedIndex&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()):(i.clickedSlide=void 0,i.clickedIndex=void 0)}},translate:{getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var{params:t,rtlTranslate:i,translate:n,wrapperEl:r}=this;if(t.virtualTranslate)return i?-n:n;if(t.cssMode)return n;let s=I(r,e);return s+=this.cssOverflowAdjustment(),(s=i?-s:s)||0},setTranslate:function(e,t){var i=this,{rtlTranslate:n,params:r,wrapperEl:s,progress:a}=i;let o=0,l=0;i.isHorizontal()?o=n?-e:e:l=e,r.roundLengths&&(o=Math.floor(o),l=Math.floor(l)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?o:l,r.cssMode?s[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-o:-l:r.virtualTranslate||(i.isHorizontal()?o-=i.cssOverflowAdjustment():l-=i.cssOverflowAdjustment(),s.style.transform=`translate3d(${o}px, ${l}px, 0px)`);let c;n=i.maxTranslate()-i.minTranslate(),(c=0==n?0:(e-i.minTranslate())/n)!==a&&i.updateProgress(e),i.emit("setTranslate",i.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,i,n,r){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),void 0===n&&(n=!0);const s=this;var{params:a,wrapperEl:o}=s;if(s.animating&&a.preventInteractionOnTransition)return!1;var l=s.minTranslate(),c=s.maxTranslate();let d;if(d=n&&l<e?l:n&&e<c?c:e,s.updateProgress(d),a.cssMode){l=s.isHorizontal();if(0===t)o[l?"scrollLeft":"scrollTop"]=-d;else{if(!s.support.smoothScroll)return T({swiper:s,targetPosition:-d,side:l?"left":"top"}),!0;o.scrollTo({[l?"left":"top"]:-d,behavior:"smooth"})}}else 0===t?(s.setTransition(0),s.setTranslate(d),i&&(s.emit("beforeTransitionStart",t,r),s.emit("transitionEnd"))):(s.setTransition(t),s.setTranslate(d),i&&(s.emit("beforeTransitionStart",t,r),s.emit("transitionStart")),s.animating||(s.animating=!0,s.onTranslateToWrapperTransitionEnd||(s.onTranslateToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onTranslateToWrapperTransitionEnd),s.onTranslateToWrapperTransitionEnd=null,delete s.onTranslateToWrapperTransitionEnd,i)&&s.emit("transitionEnd")}),s.wrapperEl.addEventListener("transitionend",s.onTranslateToWrapperTransitionEnd)));return!0}},transition:{setTransition:function(e,t){this.params.cssMode||(this.wrapperEl.style.transitionDuration=e+"ms",this.wrapperEl.style.transitionDelay=0===e?"0ms":""),this.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var i=this["params"];i.cssMode||(i.autoHeight&&this.updateAutoHeight(),B({swiper:this,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);var i=this["params"];this.animating=!1,i.cssMode||(this.setTransition(0),B({swiper:this,runCallbacks:e,direction:t,step:"End"}))}},slide:{slideTo:function(e,t,i,n,r){void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),"string"==typeof(e=void 0===e?0:e)&&(e=parseInt(e,10));const s=this;let a=e;a<0&&(a=0);const{params:o,snapGrid:l,slidesGrid:c,previousIndex:d,activeIndex:u,rtlTranslate:p,wrapperEl:h,enabled:f}=s;if(s.animating&&o.preventInteractionOnTransition||!f&&!n&&!r)return!1;let m=(e=Math.min(s.params.slidesPerGroupSkip,a))+Math.floor((a-e)/s.params.slidesPerGroup);var g=-l[m=m>=l.length?l.length-1:m];if(o.normalizeSlideIndex)for(let e=0;e<c.length;e+=1){var v=-Math.floor(100*g),y=Math.floor(100*c[e]),b=Math.floor(100*c[e+1]);void 0!==c[e+1]?y<=v&&v<b-(b-y)/2?a=e:y<=v&&v<b&&(a=e+1):y<=v&&(a=e)}if(s.initialized&&a!==u){if(!s.allowSlideNext&&(p?g>s.translate&&g>s.minTranslate():g<s.translate&&g<s.minTranslate()))return!1;if(!s.allowSlidePrev&&g>s.translate&&g>s.maxTranslate()&&(u||0)!==a)return!1}a!==(d||0)&&i&&s.emit("beforeSlideChangeStart"),s.updateProgress(g);let _;if(_=a>u?"next":a<u?"prev":"reset",p&&-g===s.translate||!p&&g===s.translate)return s.updateActiveIndex(a),o.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),"slide"!==o.effect&&s.setTranslate(g),"reset"!==_&&(s.transitionStart(i,_),s.transitionEnd(i,_)),!1;if(o.cssMode){const w=s.isHorizontal(),x=p?g:-g;if(0===t){r=s.virtual&&s.params.virtual.enabled;r&&(s.wrapperEl.style.scrollSnapType="none",s._immediateVirtual=!0),r&&!s._cssModeVirtualInitialSet&&0<s.params.initialSlide?(s._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{h[w?"scrollLeft":"scrollTop"]=x})):h[w?"scrollLeft":"scrollTop"]=x,r&&requestAnimationFrame(()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1})}else{if(!s.support.smoothScroll)return T({swiper:s,targetPosition:x,side:w?"left":"top"}),!0;h.scrollTo({[w?"left":"top"]:x,behavior:"smooth"})}}else s.setTransition(t),s.setTranslate(g),s.updateActiveIndex(a),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,n),s.transitionStart(i,_),0===t?s.transitionEnd(i,_):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(i,_))}),s.wrapperEl.addEventListener("transitionend",s.onSlideToWrapperTransitionEnd));return!0},slideToLoop:function(n,e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),"string"==typeof(n=void 0===n?0:n)&&(n=parseInt(n,10));const r=this;var s=r.grid&&r.params.grid&&1<r.params.grid.rows;let a=n;if(r.params.loop)if(r.virtual&&r.params.virtual.enabled)a+=r.virtual.slidesBefore;else{let e;if(s){const l=a*r.params.grid.rows;e=r.slides.filter(e=>+e.getAttribute("data-swiper-slide-index")==l)[0].column}else e=r.getSlideIndexByData(a);var n=s?Math.ceil(r.slides.length/r.params.grid.rows):r.slides.length,o=r.params["centeredSlides"];let t=r.params.slidesPerView,i=("auto"===t?t=r.slidesPerViewDynamic():(t=Math.ceil(parseFloat(r.params.slidesPerView,10)),o&&t%2==0&&(t+=1)),n-e<t);if((i=o?i||e<Math.ceil(t/2):i)&&(o=o?e<r.activeIndex?"prev":"next":e-r.activeIndex-1<r.params.slidesPerView?"next":"prev",r.loopFix({direction:o,slideTo:!0,activeSlideIndex:"next"==o?e+1:e-n+1,slideRealIndex:"next"==o?r.realIndex:void 0})),s){const c=a*r.params.grid.rows;a=r.slides.filter(e=>+e.getAttribute("data-swiper-slide-index")==c)[0].column}else a=r.getSlideIndexByData(a)}return requestAnimationFrame(()=>{r.slideTo(a,e,t,i)}),r},slideNext:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const n=this;var{enabled:r,params:s,animating:a}=n;if(!r)return n;let o=s.slidesPerGroup;"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(o=Math.max(n.slidesPerViewDynamic("current",!0),1));const l=n.activeIndex<s.slidesPerGroupSkip?1:o;if(r=n.virtual&&s.virtual.enabled,s.loop){if(a&&!r&&s.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&s.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+l,e,t,i)}),!0}return s.rewind&&n.isEnd?n.slideTo(0,e,t,i):n.slideTo(n.activeIndex+l,e,t,i)},slidePrev:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const n=this;var{params:r,snapGrid:s,slidesGrid:a,rtlTranslate:o,enabled:l,animating:c}=n;if(!l)return n;if(l=n.virtual&&r.virtual.enabled,r.loop){if(c&&!l&&r.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const u=d(o?n.translate:-n.translate);c=s.map(e=>d(e));let p=s[c.indexOf(u)-1];if(void 0===p&&r.cssMode){let i;s.forEach((e,t)=>{u>=e&&(i=t)}),void 0!==i&&(p=s[0<i?i-1:i])}let h=0;return void 0!==p&&((h=a.indexOf(p))<0&&(h=n.activeIndex-1),"auto"===r.slidesPerView)&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(h=h-n.slidesPerViewDynamic("previous",!0)+1,h=Math.max(h,0)),r.rewind&&n.isBeginning?(l=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1,n.slideTo(l,e,t,i)):r.loop&&0===n.activeIndex&&r.cssMode?(requestAnimationFrame(()=>{n.slideTo(h,e,t,i)}),!0):n.slideTo(h,e,t,i)},slideReset:function(e,t,i){return void 0===e&&(e=this.params.speed),this.slideTo(this.activeIndex,e,t=void 0===t?!0:t,i)},slideToClosest:function(e,t,i,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===n&&(n=.5);var r=this;let s=r.activeIndex;var a,o=(o=Math.min(r.params.slidesPerGroupSkip,s))+Math.floor((s-o)/r.params.slidesPerGroup),l=r.rtlTranslate?r.translate:-r.translate;return l>=r.snapGrid[o]?(a=r.snapGrid[o],(r.snapGrid[o+1]-a)*n<l-a&&(s+=r.params.slidesPerGroup)):l-(a=r.snapGrid[o-1])<=(r.snapGrid[o]-a)*n&&(s-=r.params.slidesPerGroup),s=Math.max(s,0),s=Math.min(s,r.slidesGrid.length-1),r.slideTo(s,e,t,i)},slideToClickedSlide:function(){const e=this;var t,{params:i,slidesEl:n}=e,r="auto"===i.slidesPerView?e.slidesPerViewDynamic():i.slidesPerView;let s=e.clickedIndex;var a=e.isElement?"swiper-slide":"."+i.slideClass;i.loop?e.animating||(t=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),i.centeredSlides?s<e.loopedSlides-r/2||s>e.slides.length-e.loopedSlides+r/2?(e.loopFix(),s=e.getSlideIndex(Y(n,a+`[data-swiper-slide-index="${t}"]`)[0]),E(()=>{e.slideTo(s)})):e.slideTo(s):s>e.slides.length-r?(e.loopFix(),s=e.getSlideIndex(Y(n,a+`[data-swiper-slide-index="${t}"]`)[0]),E(()=>{e.slideTo(s)})):e.slideTo(s)):e.slideTo(s)}},loop:{loopCreate:function(e){const n=this,{params:r,slidesEl:t}=n;var i,s,a,o,l;!r.loop||n.virtual&&n.params.virtual.enabled||(i=()=>{Y(t,`.${r.slideClass}, swiper-slide`).forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)})},o=n.grid&&r.grid&&1<r.grid.rows,s=r.slidesPerGroup*(o?r.grid.rows:1),a=n.slides.length%s!=0,o=o&&n.slides.length%r.grid.rows!=0,l=t=>{for(let e=0;e<t;e+=1){var i=n.isElement?C("swiper-slide",[r.slideBlankClass]):C("div",[r.slideClass,r.slideBlankClass]);n.slidesEl.append(i)}},a?r.loopAddBlankSlides?(l(s-n.slides.length%s),n.recalcSlides(),n.updateSlides()):O("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"):o&&(r.loopAddBlankSlides?(l(r.grid.rows-n.slides.length%r.grid.rows),n.recalcSlides(),n.updateSlides()):O("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)")),i(),n.loopFix({slideRealIndex:e,direction:r.centeredSlides?void 0:"next"}))},loopFix:function(s){let{slideRealIndex:a,slideTo:o=!0,direction:l,setTranslate:c,activeSlideIndex:d,byController:u,byMousewheel:p}=void 0===s?{}:s;const h=this;if(h.params.loop){h.emit("beforeLoopFix");const{slides:T,allowSlidePrev:S,allowSlideNext:E,slidesEl:C,params:M}=h;s=M["centeredSlides"];if(h.allowSlidePrev=!0,h.allowSlideNext=!0,h.virtual&&M.virtual.enabled)o&&(M.centeredSlides||0!==h.snapIndex?M.centeredSlides&&h.snapIndex<M.slidesPerView?h.slideTo(h.virtual.slides.length+h.snapIndex,0,!1,!0):h.snapIndex===h.snapGrid.length-1&&h.slideTo(h.virtual.slidesBefore,0,!1,!0):h.slideTo(h.virtual.slides.length,0,!1,!0)),h.allowSlidePrev=S,h.allowSlideNext=E;else{let e=M.slidesPerView;"auto"===e?e=h.slidesPerViewDynamic():(e=Math.ceil(parseFloat(M.slidesPerView,10)),s&&e%2==0&&(e+=1));var f=M.slidesPerGroupAuto?e:M.slidesPerGroup;let t=f;t%f!=0&&(t+=f-t%f),t+=M.loopAdditionalSlides,h.loopedSlides=t;var m=h.grid&&M.grid&&1<M.grid.rows,g=(T.length<e+t?O("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):m&&"row"===M.grid.fill&&O("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`"),[]);const k=[];let i=h.activeIndex;void 0===d?d=h.getSlideIndex(T.filter(e=>e.classList.contains(M.slideActiveClass))[0]):i=d;var v="next"===l||!l,y="prev"===l||!l;let n=0,r=0;var b=m?Math.ceil(T.length/M.grid.rows):T.length,_=(m?T[d].column:d)+(s&&void 0===c?-e/2+.5:0);if(_<t){n=Math.max(t-_,f);for(let e=0;e<t-_;e+=1){var w=e-Math.floor(e/b)*b;if(m){var x=b-w-1;for(let e=T.length-1;0<=e;--e)T[e].column===x&&g.push(e)}else g.push(b-w-1)}}else if(_+e>b-t){r=Math.max(_-(b-2*t),f);for(let e=0;e<r;e+=1){const I=e-Math.floor(e/b)*b;m?T.forEach((e,t)=>{e.column===I&&k.push(t)}):k.push(I)}}if(h.__preventObserver__=!0,requestAnimationFrame(()=>{h.__preventObserver__=!1}),y&&g.forEach(e=>{T[e].swiperLoopMoveDOM=!0,C.prepend(T[e]),T[e].swiperLoopMoveDOM=!1}),v&&k.forEach(e=>{T[e].swiperLoopMoveDOM=!0,C.append(T[e]),T[e].swiperLoopMoveDOM=!1}),h.recalcSlides(),"auto"===M.slidesPerView?h.updateSlides():m&&(0<g.length&&y||0<k.length&&v)&&h.slides.forEach((e,t)=>{h.grid.updateSlide(t,e,h.slides)}),M.watchSlidesProgress&&h.updateSlidesOffset(),o&&(0<g.length&&y?void 0===a?(s=h.slidesGrid[i],f=h.slidesGrid[i+n]-s,p?h.setTranslate(h.translate-f):(h.slideTo(i+n,0,!1,!0),c&&(h.touchEventsData.startTranslate=h.touchEventsData.startTranslate-f,h.touchEventsData.currentTranslate=h.touchEventsData.currentTranslate-f))):c&&(y=m?g.length/M.grid.rows:g.length,h.slideTo(h.activeIndex+y,0,!1,!0),h.touchEventsData.currentTranslate=h.translate):0<k.length&&v&&(void 0===a?(s=h.slidesGrid[i],f=h.slidesGrid[i-r]-s,p?h.setTranslate(h.translate-f):(h.slideTo(i-r,0,!1,!0),c&&(h.touchEventsData.startTranslate=h.touchEventsData.startTranslate-f,h.touchEventsData.currentTranslate=h.touchEventsData.currentTranslate-f))):(y=m?k.length/M.grid.rows:k.length,h.slideTo(h.activeIndex-y,0,!1,!0)))),h.allowSlidePrev=S,h.allowSlideNext=E,h.controller&&h.controller.control&&!u){const A={slideRealIndex:a,direction:l,setTranslate:c,activeSlideIndex:d,byController:!0};Array.isArray(h.controller.control)?h.controller.control.forEach(e=>{!e.destroyed&&e.params.loop&&e.loopFix({...A,slideTo:e.params.slidesPerView===M.slidesPerView&&o})}):h.controller.control instanceof h.constructor&&h.controller.control.params.loop&&h.controller.control.loopFix({...A,slideTo:h.controller.control.params.slidesPerView===M.slidesPerView&&o})}}h.emit("loopFix")}},loopDestroy:function(){const{params:e,slidesEl:t}=this;if(!(!e.loop||this.virtual&&this.params.virtual.enabled)){this.recalcSlides();const i=[];this.slides.forEach(e=>{var t=void 0===e.swiperSlideIndex?+e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;i[t]=e}),this.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),i.forEach(e=>{t.append(e)}),this.recalcSlides(),this.slideTo(this.realIndex,0)}}},grabCursor:{setGrabCursor:function(e){const t=this;var i;!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode||(i="container"===t.params.touchEventsTarget?t.el:t.wrapperEl,t.isElement&&(t.__preventObserver__=!0),i.style.cursor="move",i.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}},events:{attachEvents:function(){var e=this,t=e["params"];e.onTouchStart=function(i){var n=this,r=A();let s=i;if(s.originalEvent&&(s=s.originalEvent),i=n.touchEventsData,"pointerdown"===s.type){if(null!==i.pointerId&&i.pointerId!==s.pointerId)return;i.pointerId=s.pointerId}else"touchstart"===s.type&&1===s.targetTouches.length&&(i.touchId=s.targetTouches[0].identifier);if("touchstart"===s.type)N(n,s,s.targetTouches[0].pageX);else{var{params:a,touches:o,enabled:l}=n;if(l&&(a.simulateTouch||"mouse"!==s.pointerType)&&(!n.animating||!a.preventInteractionOnTransition)){!n.animating&&a.cssMode&&a.loop&&n.loopFix();let t=s.target;if(("wrapper"!==a.touchEventsTarget||n.wrapperEl.contains(t))&&!("which"in s&&3===s.which||"button"in s&&0<s.button||i.isTouched&&i.isMoved)){var l=!!a.noSwipingClass&&""!==a.noSwipingClass,c=s.composedPath?s.composedPath():s.path,l=(l&&s.target&&s.target.shadowRoot&&c&&(t=c[0]),a.noSwipingSelector||"."+a.noSwipingClass),c=!(!s.target||!s.target.shadowRoot);if(a.noSwiping&&(c?F(l,t):t.closest(l)))n.allowClick=!0;else if(!a.swipeHandler||t.closest(a.swipeHandler)){o.currentX=s.pageX,o.currentY=s.pageY;c=o.currentX,l=o.currentY;if(N(n,s,c)){Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=c,o.startY=l,i.touchStartTime=v(),n.allowClick=!0,n.updateSize(),n.swipeDirection=void 0,0<a.threshold&&(i.allowThresholdMove=!1);let e=!0;t.matches(i.focusableElements)&&(e=!1,"SELECT"===t.nodeName)&&(i.isTouched=!1),r.activeElement&&r.activeElement.matches(i.focusableElements)&&r.activeElement!==t&&r.activeElement.blur();c=e&&n.allowTouchMove&&a.touchStartPreventDefault;!a.touchStartForcePreventDefault&&!c||t.isContentEditable||s.preventDefault(),a.freeMode&&a.freeMode.enabled&&n.freeMode&&n.animating&&!a.cssMode&&n.freeMode.onTouchStart(),n.emit("touchStart",s)}}}}}}.bind(e),e.onTouchMove=function(t){var r=A(),s=this;const a=s.touchEventsData;var{params:o,touches:l,rtlTranslate:c,enabled:d}=s;if(d&&(o.simulateTouch||"mouse"!==t.pointerType)){let n=t;if("pointermove"===(n=n.originalEvent?n.originalEvent:n).type){if(null!==a.touchId)return;if(n.pointerId!==a.pointerId)return}let e;if("touchmove"===n.type){if(!(e=[...n.changedTouches].filter(e=>e.identifier===a.touchId)[0])||e.identifier!==a.touchId)return}else e=n;if(a.isTouched){d=e.pageX,t=e.pageY;if(n.preventedByNestedSwiper)l.startX=d,l.startY=t;else if(s.allowTouchMove){if(o.touchReleaseOnEdges&&!o.loop)if(s.isVertical()){if(t<l.startY&&s.translate<=s.maxTranslate()||t>l.startY&&s.translate>=s.minTranslate())return a.isTouched=!1,void(a.isMoved=!1)}else if(d<l.startX&&s.translate<=s.maxTranslate()||d>l.startX&&s.translate>=s.minTranslate())return;if(r.activeElement&&n.target===r.activeElement&&n.target.matches(a.focusableElements))a.isMoved=!0,s.allowClick=!1;else{a.allowTouchCallbacks&&s.emit("touchMove",n),l.previousX=l.currentX,l.previousY=l.currentY,l.currentX=d,l.currentY=t;var r=l.currentX-l.startX,u=l.currentY-l.startY;if(!(s.params.threshold&&Math.sqrt(r**2+u**2)<s.params.threshold))if(void 0===a.isScrolling&&(s.isHorizontal()&&l.currentY===l.startY||s.isVertical()&&l.currentX===l.startX?a.isScrolling=!1:25<=r*r+u*u&&(p=180*Math.atan2(Math.abs(u),Math.abs(r))/Math.PI,a.isScrolling=s.isHorizontal()?p>o.touchAngle:90-p>o.touchAngle)),a.isScrolling&&s.emit("touchMoveOpposite",n),void 0!==a.startMoving||l.currentX===l.startX&&l.currentY===l.startY||(a.startMoving=!0),a.isScrolling)a.isTouched=!1;else if(a.startMoving){s.allowClick=!1,!o.cssMode&&n.cancelable&&n.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&n.stopPropagation();let i=s.isHorizontal()?r:u,e=s.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;o.oneWayMovement&&(i=Math.abs(i)*(c?1:-1),e=Math.abs(e)*(c?1:-1)),l.diff=i,i*=o.touchRatio,c&&(i=-i,e=-e);var p=s.touchesDirection,r=(s.swipeDirection=0<i?"prev":"next",s.touchesDirection=0<e?"prev":"next",s.params.loop&&!o.cssMode),u="next"===s.touchesDirection&&s.allowSlideNext||"prev"===s.touchesDirection&&s.allowSlidePrev;if(a.isMoved||(r&&u&&s.loopFix({direction:s.swipeDirection}),a.startTranslate=s.getTranslate(),s.setTransition(0),s.animating&&(c=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0}),s.wrapperEl.dispatchEvent(c)),a.allowMomentumBounce=!1,!o.grabCursor||!0!==s.allowSlideNext&&!0!==s.allowSlidePrev||s.setGrabCursor(!0),s.emit("sliderFirstMove",n)),(new Date).getTime(),a.isMoved&&a.allowThresholdMove&&p!==s.touchesDirection&&r&&u&&1<=Math.abs(i))Object.assign(l,{startX:d,startY:t,currentX:d,currentY:t,startTranslate:a.currentTranslate}),a.loopSwapReset=!0,a.startTranslate=a.currentTranslate;else{s.emit("sliderMove",n),a.isMoved=!0,a.currentTranslate=i+a.startTranslate;let e=!0,t=o.resistanceRatio;if(o.touchReleaseOnEdges&&(t=0),0<i?(r&&u&&a.allowThresholdMove&&a.currentTranslate>(o.centeredSlides?s.minTranslate()-s.slidesSizesGrid[s.activeIndex+1]:s.minTranslate())&&s.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),a.currentTranslate>s.minTranslate()&&(e=!1,o.resistance)&&(a.currentTranslate=s.minTranslate()-1+(-s.minTranslate()+a.startTranslate+i)**t)):i<0&&(r&&u&&a.allowThresholdMove&&a.currentTranslate<(o.centeredSlides?s.maxTranslate()+s.slidesSizesGrid[s.slidesSizesGrid.length-1]:s.maxTranslate())&&s.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:s.slides.length-("auto"===o.slidesPerView?s.slidesPerViewDynamic():Math.ceil(parseFloat(o.slidesPerView,10)))}),a.currentTranslate<s.maxTranslate())&&(e=!1,o.resistance)&&(a.currentTranslate=s.maxTranslate()+1-(s.maxTranslate()-a.startTranslate-i)**t),e&&(n.preventedByNestedSwiper=!0),!s.allowSlideNext&&"next"===s.swipeDirection&&a.currentTranslate<a.startTranslate&&(a.currentTranslate=a.startTranslate),!s.allowSlidePrev&&"prev"===s.swipeDirection&&a.currentTranslate>a.startTranslate&&(a.currentTranslate=a.startTranslate),s.allowSlidePrev||s.allowSlideNext||(a.currentTranslate=a.startTranslate),0<o.threshold){if(!(Math.abs(i)>o.threshold||a.allowThresholdMove))return void(a.currentTranslate=a.startTranslate);if(!a.allowThresholdMove)return a.allowThresholdMove=!0,l.startX=l.currentX,l.startY=l.currentY,a.currentTranslate=a.startTranslate,void(l.diff=s.isHorizontal()?l.currentX-l.startX:l.currentY-l.startY)}o.followFinger&&!o.cssMode&&((o.freeMode&&o.freeMode.enabled&&s.freeMode||o.watchSlidesProgress)&&(s.updateActiveIndex(),s.updateSlidesClasses()),o.freeMode&&o.freeMode.enabled&&s.freeMode&&s.freeMode.onTouchMove(),s.updateProgress(a.currentTranslate),s.setTranslate(a.currentTranslate))}}}}else n.target.matches(a.focusableElements)||(s.allowClick=!1),a.isTouched&&(Object.assign(l,{startX:d,startY:t,currentX:d,currentY:t}),a.touchStartTime=v())}else a.startMoving&&a.isScrolling&&s.emit("touchMoveOpposite",n)}}.bind(e),e.onTouchEnd=function(e){const s=this,t=s.touchEventsData;let a=e,i;if("touchend"===(a=a.originalEvent?a.originalEvent:a).type||"touchcancel"===a.type){if(!(i=[...a.changedTouches].filter(e=>e.identifier===t.touchId)[0])||i.identifier!==t.touchId)return}else{if(null!==t.touchId)return;if(a.pointerId!==t.pointerId)return;i=a}if(!["pointercancel","pointerout","pointerleave","contextmenu"].includes(a.type)||["pointercancel","contextmenu"].includes(a.type)&&(s.browser.isSafari||s.browser.isWebView)){t.pointerId=null,t.touchId=null;var{params:o,touches:e,rtlTranslate:n,slidesGrid:l,enabled:r}=s;if(r&&(o.simulateTouch||"mouse"!==a.pointerType))if(t.allowTouchCallbacks&&s.emit("touchEnd",a),t.allowTouchCallbacks=!1,t.isTouched){o.grabCursor&&t.isMoved&&t.isTouched&&(!0===s.allowSlideNext||!0===s.allowSlidePrev)&&s.setGrabCursor(!1);var r=v(),c=r-t.touchStartTime;if(s.allowClick&&(u=a.path||a.composedPath&&a.composedPath(),s.updateClickedSlide(u&&u[0]||a.target,u),s.emit("tap click",a),c<300)&&r-t.lastClickTime<300&&s.emit("doubleTap doubleClick",a),t.lastClickTime=v(),E(()=>{s.destroyed||(s.allowClick=!0)}),t.isTouched&&t.isMoved&&s.swipeDirection&&(0!==e.diff||t.loopSwapReset)&&(t.currentTranslate!==t.startTranslate||t.loopSwapReset)){t.isTouched=!1,t.isMoved=!1,t.startMoving=!1;let r;if(r=o.followFinger?n?s.translate:-s.translate:-t.currentTranslate,!o.cssMode)if(o.freeMode&&o.freeMode.enabled)s.freeMode.onTouchEnd({currentPos:r});else{var d=r>=-s.maxTranslate()&&!s.params.loop;let t=0,i=s.slidesSizesGrid[0];for(let e=0;e<l.length;e+=e<o.slidesPerGroupSkip?1:o.slidesPerGroup){const p=e<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;void 0!==l[e+p]?(d||r>=l[e]&&r<l[e+p])&&(t=e,i=l[e+p]-l[e]):(d||r>=l[e])&&(t=e,i=l[l.length-1]-l[l.length-2])}let e=null,n=null;o.rewind&&(s.isBeginning?n=o.virtual&&o.virtual.enabled&&s.virtual?s.virtual.slides.length-1:s.slides.length-1:s.isEnd&&(e=0));var u=(r-l[t])/i;const p=t<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;c>o.longSwipesMs?o.longSwipes?("next"===s.swipeDirection&&(u>=o.longSwipesRatio?s.slideTo(o.rewind&&s.isEnd?e:t+p):s.slideTo(t)),"prev"===s.swipeDirection&&(u>1-o.longSwipesRatio?s.slideTo(t+p):null!==n&&u<0&&Math.abs(u)>o.longSwipesRatio?s.slideTo(n):s.slideTo(t))):s.slideTo(s.activeIndex):o.shortSwipes?s.navigation&&(a.target===s.navigation.nextEl||a.target===s.navigation.prevEl)?a.target===s.navigation.nextEl?s.slideTo(t+p):s.slideTo(t):("next"===s.swipeDirection&&s.slideTo(null!==e?e:t+p),"prev"===s.swipeDirection&&s.slideTo(null!==n?n:t)):s.slideTo(s.activeIndex)}}else t.isTouched=!1,t.isMoved=!1,t.startMoving=!1}else t.isMoved&&o.grabCursor&&s.setGrabCursor(!1),t.isMoved=!1,t.startMoving=!1}}.bind(e),e.onDocumentTouchStart=function(){this.documentTouchHandlerProceeded||(this.documentTouchHandlerProceeded=!0,this.params.touchReleaseOnEdges&&(this.el.style.touchAction="auto"))}.bind(e),t.cssMode&&(e.onScroll=function(){var t=this,{wrapperEl:i,rtlTranslate:n,enabled:r}=t;if(r){t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-i.scrollLeft:t.translate=-i.scrollTop,0===t.translate&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let e;r=t.maxTranslate()-t.minTranslate();(e=0==r?0:(t.translate-t.minTranslate())/r)!==t.progress&&t.updateProgress(n?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}}.bind(e)),e.onClick=function(e){this.enabled&&!this.allowClick&&(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation)&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation())}.bind(e),e.onLoad=function(e){o(this,e.target),this.params.cssMode||"auto"!==this.params.slidesPerView&&!this.params.autoHeight||this.update()}.bind(e),W(e,"on")},detachEvents:function(){W(this,"off")}},breakpoints:{setBreakpoint:function(){const n=this,{realIndex:e,initialized:t,params:r,el:i}=n;if((a=r.breakpoints)&&0!==Object.keys(a).length){var s=n.getBreakpoint(a,n.params.breakpointsBase,n.el);if(s&&n.currentBreakpoint!==s){const u=(s in a?a[s]:void 0)||n.originalParams;var a=G(n,r),o=G(n,u),l=r.enabled,a=(a&&!o?(i.classList.remove(r.containerModifierClass+"grid",r.containerModifierClass+"grid-column"),n.emitContainerClasses()):!a&&o&&(i.classList.add(r.containerModifierClass+"grid"),(u.grid.fill&&"column"===u.grid.fill||!u.grid.fill&&"column"===r.grid.fill)&&i.classList.add(r.containerModifierClass+"grid-column"),n.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(e=>{var t,i;void 0!==u[e]&&(t=r[e]&&r[e].enabled,i=u[e]&&u[e].enabled,t&&!i&&n[e].disable(),!t)&&i&&n[e].enable()}),u.direction&&u.direction!==r.direction),o=r.loop&&(u.slidesPerView!==r.slidesPerView||a),c=r.loop,a=(a&&t&&n.changeDirection(),p(n.params,u),n.params.enabled),d=n.params.loop;Object.assign(n,{allowTouchMove:n.params.allowTouchMove,allowSlideNext:n.params.allowSlideNext,allowSlidePrev:n.params.allowSlidePrev}),l&&!a?n.disable():!l&&a&&n.enable(),n.currentBreakpoint=s,n.emit("_beforeBreakpoint",u),t&&(o?(n.loopDestroy(),n.loopCreate(e),n.updateSlides()):!c&&d?(n.loopCreate(e),n.updateSlides()):c&&!d&&n.loopDestroy()),n.emit("breakpoint",u)}}},getBreakpoint:function(e,i,n){if(void 0===i&&(i="window"),e&&("container"!==i||n)){let t=!1;var r=k();const l="window"===i?r.innerHeight:n.clientHeight;var s=Object.keys(e).map(e=>{var t;return"string"==typeof e&&0===e.indexOf("@")?(t=parseFloat(e.substr(1)),{value:l*t,point:e}):{value:e,point:e}});s.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e<s.length;e+=1){var{point:a,value:o}=s[e];"window"===i?r.matchMedia(`(min-width: ${o}px)`).matches&&(t=a):o<=n.clientWidth&&(t=a)}return t||"max"}}},checkOverflow:{checkOverflow:function(){var e,t=this,{isLocked:i,params:n}=t,r=n["slidesOffsetBefore"];r?(e=t.slides.length-1,e=t.slidesGrid[e]+t.slidesSizesGrid[e]+2*r,t.isLocked=t.size>e):t.isLocked=1===t.snapGrid.length,!0===n.allowSlideNext&&(t.allowSlideNext=!t.isLocked),!0===n.allowSlidePrev&&(t.allowSlidePrev=!t.isLocked),i&&i!==t.isLocked&&(t.isEnd=!1),i!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}},classes:{addClasses:function(){var{classNames:e,params:t,rtl:i,el:n,device:r}=this,i=function(e,i){const n=[];return e.forEach(t=>{"object"==typeof t?Object.keys(t).forEach(e=>{t[e]&&n.push(i+e)}):"string"==typeof t&&n.push(i+t)}),n}(["initialized",t.direction,{"free-mode":this.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:i},{grid:t.grid&&1<t.grid.rows},{"grid-column":t.grid&&1<t.grid.rows&&"column"===t.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...i),n.classList.add(...e),this.emitContainerClasses()},removeClasses:function(){var{el:e,classNames:t}=this;e.classList.remove(...t),this.emitContainerClasses()}}},c={};class h{constructor(){let e,t;for(var i=arguments.length,n=new Array(i),r=0;r<i;r++)n[r]=arguments[r];1===n.length&&n[0].constructor&&"Object"===Object.prototype.toString.call(n[0]).slice(8,-1)?t=n[0]:[e,t]=n,t=p({},t=t||{}),e&&!t.el&&(t.el=e);var s=A();if(t.el&&"string"==typeof t.el&&1<s.querySelectorAll(t.el).length){const l=[];return s.querySelectorAll(t.el).forEach(e=>{e=p({},t,{el:e});l.push(new h(e))}),l}const a=this,o=(a.__swiper__=!0,a.support=b(),a.device=R({userAgent:t.userAgent}),a.browser=j(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],t.modules&&Array.isArray(t.modules)&&a.modules.push(...t.modules),{});a.modules.forEach(e=>{var n,r;e({params:t,swiper:a,extendParams:(n=t,r=o,function(e){void 0===e&&(e={});var t=Object.keys(e)[0],i=e[t];"object"==typeof i&&null!==i&&(!0===n[t]&&(n[t]={enabled:!0}),"navigation"===t&&n[t]&&n[t].enabled&&!n[t].prevEl&&!n[t].nextEl&&(n[t].auto=!0),0<=["pagination","scrollbar"].indexOf(t)&&n[t]&&n[t].enabled&&!n[t].el&&(n[t].auto=!0),t in n&&"enabled"in i)&&("object"!=typeof n[t]||"enabled"in n[t]||(n[t].enabled=!0),n[t]||(n[t]={enabled:!1})),p(r,e)}),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});s=p({},V,o);return a.params=p({},s,c,t),a.originalParams=p({},a.params),a.passedParams=p({},t),a.params&&a.params.on&&Object.keys(a.params.on).forEach(e=>{a.on(e,a.params.on[e])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return"horizontal"===a.params.direction},isVertical(){return"vertical"===a.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){var{slidesEl:t,params:i}=this,t=M(Y(t,`.${i.slideClass}, swiper-slide`)[0]);return M(e)-t}getSlideIndexByData(t){return this.getSlideIndex(this.slides.filter(e=>+e.getAttribute("data-swiper-slide-index")===t)[0])}recalcSlides(){var{slidesEl:e,params:t}=this;this.slides=Y(e,`.${t.slideClass}, swiper-slide`)}enable(){this.enabled||(this.enabled=!0,this.params.grabCursor&&this.setGrabCursor(),this.emit("enable"))}disable(){this.enabled&&(this.enabled=!1,this.params.grabCursor&&this.unsetGrabCursor(),this.emit("disable"))}setProgress(e,t){e=Math.min(Math.max(e,0),1);var i=this.minTranslate(),n=this.maxTranslate();this.translateTo((n-i)*e+i,void 0===t?0:t),this.updateActiveIndex(),this.updateSlidesClasses()}emitContainerClasses(){const t=this;var e;t.params._emitClasses&&t.el&&(e=t.el.className.split(" ").filter(e=>0===e.indexOf("swiper")||0===e.indexOf(t.params.containerModifierClass)),t.emit("_containerClasses",e.join(" ")))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){const i=this;if(i.params._emitClasses&&i.el){const n=[];i.slides.forEach(e=>{var t=i.getSlideClasses(e);n.push({slideEl:e,classNames:t}),i.emit("_slideClass",e,t)}),i.emit("_slideClasses",n)}}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);var{params:i,slides:n,slidesGrid:r,slidesSizesGrid:s,size:a,activeIndex:o}=this;let l=1;if("number"==typeof i.slidesPerView)return i.slidesPerView;if(i.centeredSlides){let t=n[o]?n[o].swiperSlideSize:0,i;for(let e=o+1;e<n.length;e+=1)n[e]&&!i&&(t+=n[e].swiperSlideSize,l+=1,t>a)&&(i=!0);for(let e=o-1;0<=e;--e)n[e]&&!i&&(t+=n[e].swiperSlideSize,l+=1,t>a)&&(i=!0)}else if("current"===e)for(let e=o+1;e<n.length;e+=1)(t?r[e]+s[e]-r[o]<a:r[e]-r[o]<a)&&(l+=1);else for(let e=o-1;0<=e;--e)r[o]-r[e]<a&&(l+=1);return l}update(){const t=this;if(t&&!t.destroyed){var i,{snapGrid:n,params:r}=t;r.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(e=>{e.complete&&o(t,e)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses();let e;function s(){var e=t.rtlTranslate?-1*t.translate:t.translate,e=Math.min(Math.max(e,t.maxTranslate()),t.minTranslate());t.setTranslate(e),t.updateActiveIndex(),t.updateSlidesClasses()}r.freeMode&&r.freeMode.enabled&&!r.cssMode?(s(),r.autoHeight&&t.updateAutoHeight()):(e=("auto"===r.slidesPerView||1<r.slidesPerView)&&t.isEnd&&!r.centeredSlides?(i=(t.virtual&&r.virtual.enabled?t.virtual:t).slides,t.slideTo(i.length-1,0,!1,!0)):t.slideTo(t.activeIndex,0,!1,!0))||s(),r.watchOverflow&&n!==t.snapGrid&&t.checkOverflow(),t.emit("update")}}changeDirection(t,e){void 0===e&&(e=!0);var i=this,n=i.params.direction;return(t=t||("horizontal"===n?"vertical":"horizontal"))===n||"horizontal"!==t&&"vertical"!==t||(i.el.classList.remove(""+i.params.containerModifierClass+n),i.el.classList.add(""+i.params.containerModifierClass+t),i.emitContainerClasses(),i.params.direction=t,i.slides.forEach(e=>{"vertical"===t?e.style.width="":e.style.height=""}),i.emit("changeDirection"),e&&i.update()),i}changeLanguageDirection(e){var t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(t.params.containerModifierClass+"rtl"),t.el.dir="rtl"):(t.el.classList.remove(t.params.containerModifierClass+"rtl"),t.el.dir="ltr"),t.update())}mount(i){const n=this;if(!n.mounted){let e=i||n.params.el;if(!(e="string"==typeof e?document.querySelector(e):e))return!1;e.swiper=n,e.parentNode&&e.parentNode.host&&"SWIPER-CONTAINER"===e.parentNode.host.nodeName&&(n.isElement=!0);const r=()=>"."+(n.params.wrapperClass||"").trim().split(" ").join(".");let t=e&&e.shadowRoot&&e.shadowRoot.querySelector?e.shadowRoot.querySelector(r()):Y(e,r())[0];!t&&n.params.createElements&&(t=C("div",n.params.wrapperClass),e.append(t),Y(e,"."+n.params.slideClass).forEach(e=>{t.append(e)})),Object.assign(n,{el:e,wrapperEl:t,slidesEl:n.isElement&&!e.parentNode.host.slideSlots?e.parentNode.host:t,hostEl:n.isElement?e.parentNode.host:e,mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===$(e,"direction"),rtlTranslate:"horizontal"===n.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===$(e,"direction")),wrongRTL:"-webkit-box"===$(t,"display")})}return!0}init(e){const t=this;return t.initialized||!1!==t.mount(e)&&(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents(),e=[...t.el.querySelectorAll('[loading="lazy"]')],t.isElement&&e.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),e.forEach(e=>{e.complete?o(t,e):e.addEventListener("load",e=>{o(t,e.target)})}),u(t),t.initialized=!0,u(t),t.emit("init"),t.emit("afterInit")),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const i=this,{params:n,el:r,wrapperEl:s,slides:a}=i;if(void 0!==i.params&&!i.destroyed){if(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),n.loop&&i.loopDestroy(),t&&(i.removeClasses(),r.removeAttribute("style"),s.removeAttribute("style"),a)&&a.length&&a.forEach(e=>{e.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")}),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(e=>{i.off(e)}),!1!==e){i.el.swiper=null;{t=i;const o=t;Object.keys(o).forEach(e=>{try{o[e]=null}catch(e){}try{delete o[e]}catch(e){}})}}i.destroyed=!0}return null}static extendDefaults(e){p(c,e)}static get extendedDefaults(){return c}static get defaults(){return V}static installModule(e){h.prototype.__modules__||(h.prototype.__modules__=[]);var t=h.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?e.forEach(e=>h.installModule(e)):h.installModule(e),h}}function z(i,n,r,s){return i.params.createElements&&Object.keys(s).forEach(t=>{if(!r[t]&&!0===r.auto){let e=Y(i.el,"."+s[t])[0];e||((e=C("div",s[t])).className=s[t],i.el.append(e)),r[t]=e,n[t]=e}}),r}function D(e){return"."+(e=void 0===e?"":e).trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}function f(e){const{effect:i,swiper:n,on:t,setTranslate:r,setTransition:s,overwriteParams:a,perspective:o,recreateShadows:l,getEffectParams:c}=e;t("beforeInit",()=>{var e;n.params.effect===i&&(n.classNames.push(""+n.params.containerModifierClass+i),o&&o()&&n.classNames.push(n.params.containerModifierClass+"3d"),e=a?a():{},Object.assign(n.params,e),Object.assign(n.originalParams,e))}),t("setTranslate",()=>{n.params.effect===i&&r()}),t("setTransition",(e,t)=>{n.params.effect===i&&s(t)}),t("transitionEnd",()=>{n.params.effect===i&&l&&c&&c().slideShadows&&(n.slides.forEach(e=>{e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>e.remove())}),l())});let d;t("virtualUpdate",()=>{n.params.effect===i&&(n.slides.length||(d=!0),requestAnimationFrame(()=>{d&&n.slides&&n.slides.length&&(r(),d=!1)}))})}function w(e,t){var i=a(t);return i!==t&&(i.style.backfaceVisibility="hidden",i.style["-webkit-backface-visibility"]="hidden"),i}function m(e){let{swiper:i,duration:t,transformElements:n,allSlides:r}=e;const s=i["activeIndex"];if(i.params.virtualTranslate&&0!==t){let t=!1,e;(e=r?n:n.filter(e=>{var t,e=e.classList.contains("swiper-slide-transform")?(t=e).parentElement||i.slides.filter(e=>e.shadowRoot&&e.shadowRoot===t.parentNode)[0]:e;return i.getSlideIndex(e)===s})).forEach(e=>{g(e,()=>{var e;t||i&&!i.destroyed&&(t=!0,i.animating=!1,e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0}),i.wrapperEl.dispatchEvent(e))})})}}function x(e,t,i){i="swiper-slide-shadow"+(i?"-"+i:"")+(e?" swiper-slide-shadow-"+e:""),e=a(t);let n=e.querySelector("."+i.split(" ").join("."));return n||(n=C("div",i.split(" ")),e.append(n)),n}return Object.keys(s).forEach(t=>{Object.keys(s[t]).forEach(e=>{h.prototype[e]=s[t][e]})}),h.use([function(e){let{swiper:s,on:t,emit:i}=e;const n=k();let r=null,a=null;const o=()=>{s&&!s.destroyed&&s.initialized&&(i("beforeResize"),i("resize"))},l=()=>{s&&!s.destroyed&&s.initialized&&i("orientationchange")};t("init",()=>{s.params.resizeObserver&&void 0!==n.ResizeObserver?s&&!s.destroyed&&s.initialized&&(r=new ResizeObserver(i=>{a=n.requestAnimationFrame(()=>{var{width:e,height:t}=s;let n=e,r=t;i.forEach(e=>{var{contentBoxSize:e,contentRect:t,target:i}=e;i&&i!==s.el||(n=t?t.width:(e[0]||e).inlineSize,r=t?t.height:(e[0]||e).blockSize)}),n===e&&r===t||o()})})).observe(s.el):(n.addEventListener("resize",o),n.addEventListener("orientationchange",l))}),t("destroy",()=>{a&&n.cancelAnimationFrame(a),r&&r.unobserve&&s.el&&(r.unobserve(s.el),r=null),n.removeEventListener("resize",o),n.removeEventListener("orientationchange",l)})},function(e){let{swiper:n,extendParams:t,on:i,emit:r}=e;function s(e,t){void 0===t&&(t={});var i=new(o.MutationObserver||o.WebkitMutationObserver)(e=>{var t;n.__preventObserver__||(1===e.length?r("observerUpdate",e[0]):(t=function(){r("observerUpdate",e[0])},o.requestAnimationFrame?o.requestAnimationFrame(t):o.setTimeout(t,0)))});i.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),a.push(i)}const a=[],o=k();t({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",()=>{if(n.params.observer){if(n.params.observeParents){var t=P(n.hostEl);for(let e=0;e<t.length;e+=1)s(t[e])}s(n.hostEl,{childList:n.params.observeSlideChildren}),s(n.wrapperEl,{attributes:!1})}}),i("destroy",()=>{a.forEach(e=>{e.disconnect()}),a.splice(0,a.length)})}]),h.use([function(e){let{swiper:M,extendParams:t,on:i,emit:k}=e;t({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});let n;e=A(),M.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const r=e.createElement("div");function I(e,t){var i=M.params.virtual;if(i.cache&&M.virtual.cache[t])return M.virtual.cache[t];let n;return i.renderSlide?"string"==typeof(n=i.renderSlide.call(M,e,t))&&(r.innerHTML=n,n=r.children[0]):n=M.isElement?C("swiper-slide"):C("div",M.params.slideClass),n.setAttribute("data-swiper-slide-index",t),i.renderSlide||(n.innerHTML=e),i.cache&&(M.virtual.cache[t]=n),n}function a(t){var{slidesPerView:e,slidesPerGroup:i,centeredSlides:n,loop:r}=M.params,{addSlidesBefore:s,addSlidesAfter:a}=M.params.virtual;const{from:o,to:l,slides:c,slidesGrid:d,offset:u}=M.virtual;M.params.cssMode||M.updateActiveIndex();var p=M.activeIndex||0;let h;h=M.rtlTranslate?"right":M.isHorizontal()?"left":"top";let f,m,g=p-(m=n?(f=Math.floor(e/2)+i+a,Math.floor(e/2)+i+s):(f=e+(i-1)+a,(r?e:i)+s)),v=p+f,y=(r||(g=Math.max(g,0),v=Math.min(v,c.length-1)),(M.slidesGrid[g]||0)-(M.slidesGrid[0]||0));function b(){M.updateSlides(),M.updateProgress(),M.updateSlidesClasses(),k("virtualUpdate")}if(r&&p>=m?(g-=m,n||(y+=M.slidesGrid[0])):r&&p<m&&(g=-m,n)&&(y+=M.slidesGrid[0]),Object.assign(M.virtual,{from:g,to:v,offset:y,slidesGrid:M.slidesGrid,slidesBefore:m,slidesAfter:f}),o!==g||l!==v||t)if(M.params.virtual.renderExternal)M.params.virtual.renderExternal.call(M,{offset:y,from:g,to:v,slides:function(){var t=[];for(let e=g;e<=v;e+=1)t.push(c[e]);return t}()}),M.params.virtual.renderExternalUpdate?b():k("virtualUpdate");else{var _=[],w=[],x=e=>{let t=e;return e<0?t=c.length+e:t>=c.length&&(t-=c.length),t};if(t)M.slides.filter(e=>e.matches(`.${M.params.slideClass}, swiper-slide`)).forEach(e=>{e.remove()});else for(let e=o;e<=l;e+=1)if(e<g||e>v){const C=x(e);M.slides.filter(e=>e.matches(`.${M.params.slideClass}[data-swiper-slide-index="${C}"], swiper-slide[data-swiper-slide-index="${C}"]`)).forEach(e=>{e.remove()})}var T,a=r?-c.length:0,S=r?2*c.length:c.length;for(let e=a;e<S;e+=1)e>=g&&e<=v&&(T=x(e),void 0===l||t?w.push(T):(e>l&&w.push(T),e<o&&_.push(T)));if(w.forEach(e=>{M.slidesEl.append(I(c[e],e))}),r)for(let e=_.length-1;0<=e;--e){var E=_[e];M.slidesEl.prepend(I(c[E],E))}else _.sort((e,t)=>t-e),_.forEach(e=>{M.slidesEl.prepend(I(c[e],e))});Y(M.slidesEl,".swiper-slide, swiper-slide").forEach(e=>{e.style[h]=y-Math.abs(M.cssOverflowAdjustment())+"px"}),b()}else M.slidesGrid!==d&&y!==u&&M.slides.forEach(e=>{e.style[h]=y-Math.abs(M.cssOverflowAdjustment())+"px"}),M.updateProgress(),k("virtualUpdate")}i("beforeInit",()=>{if(M.params.virtual.enabled){let e;var t;void 0===M.passedParams.virtual.slides&&(t=[...M.slidesEl.children].filter(e=>e.matches(`.${M.params.slideClass}, swiper-slide`)))&&t.length&&(M.virtual.slides=[...t],e=!0,t.forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t),(M.virtual.cache[t]=e).remove()})),e||(M.virtual.slides=M.params.virtual.slides),M.classNames.push(M.params.containerModifierClass+"virtual"),M.params.watchSlidesProgress=!0,M.originalParams.watchSlidesProgress=!0,a()}}),i("setTranslate",()=>{M.params.virtual.enabled&&(M.params.cssMode&&!M._immediateVirtual?(clearTimeout(n),n=setTimeout(()=>{a()},100)):a())}),i("init update resize",()=>{M.params.virtual.enabled&&M.params.cssMode&&q(M.wrapperEl,"--swiper-virtual-size",M.virtualSize+"px")}),Object.assign(M.virtual,{appendSlide:function(t){if("object"==typeof t&&"length"in t)for(let e=0;e<t.length;e+=1)t[e]&&M.virtual.slides.push(t[e]);else M.virtual.slides.push(t);a(!0)},prependSlide:function(t){var e=M.activeIndex;let i=e+1,n=1;if(Array.isArray(t)){for(let e=0;e<t.length;e+=1)t[e]&&M.virtual.slides.unshift(t[e]);i=e+t.length,n=t.length}else M.virtual.slides.unshift(t);if(M.params.virtual.cache){const r=M.virtual.cache,s={};Object.keys(r).forEach(e=>{var t=r[e],i=t.getAttribute("data-swiper-slide-index");i&&t.setAttribute("data-swiper-slide-index",parseInt(i,10)+n),s[parseInt(e,10)+n]=t}),M.virtual.cache=s}a(!0),M.slideTo(i,0)},removeSlide:function(i){if(null!=i){let t=M.activeIndex;if(Array.isArray(i))for(let e=i.length-1;0<=e;--e)M.params.virtual.cache&&(delete M.virtual.cache[i[e]],Object.keys(M.virtual.cache).forEach(e=>{i<e&&(M.virtual.cache[e-1]=M.virtual.cache[e],M.virtual.cache[e-1].setAttribute("data-swiper-slide-index",e-1),delete M.virtual.cache[e])})),M.virtual.slides.splice(i[e],1),i[e]<t&&--t,t=Math.max(t,0);else M.params.virtual.cache&&(delete M.virtual.cache[i],Object.keys(M.virtual.cache).forEach(e=>{i<e&&(M.virtual.cache[e-1]=M.virtual.cache[e],M.virtual.cache[e-1].setAttribute("data-swiper-slide-index",e-1),delete M.virtual.cache[e])})),M.virtual.slides.splice(i,1),i<t&&--t,t=Math.max(t,0);a(!0),M.slideTo(t,0)}},removeAllSlides:function(){M.virtual.slides=[],M.params.virtual.cache&&(M.virtual.cache={}),a(!0),M.slideTo(0,0)},update:a})},function(e){let{swiper:v,extendParams:t,on:i,emit:y}=e;const b=A(),_=k();function n(t){if(v.enabled){var i=v["rtlTranslate"];let e=t;var t=(e=e.originalEvent?e.originalEvent:e).keyCode||e.charCode,n=v.params.keyboard.pageUpDown,r=n&&33===t,n=n&&34===t,s=37===t,a=39===t,o=38===t,l=40===t;if(!v.allowSlideNext&&(v.isHorizontal()&&a||v.isVertical()&&l||n))return!1;if(!v.allowSlidePrev&&(v.isHorizontal()&&s||v.isVertical()&&o||r))return!1;if(!(e.shiftKey||e.altKey||e.ctrlKey||e.metaKey||b.activeElement&&b.activeElement.nodeName&&("input"===b.activeElement.nodeName.toLowerCase()||"textarea"===b.activeElement.nodeName.toLowerCase()))){if(v.params.keyboard.onlyInViewport&&(r||n||s||a||o||l)){let t=!1;if(0<P(v.el,`.${v.params.slideClass}, swiper-slide`).length&&0===P(v.el,"."+v.params.slideActiveClass).length)return;var c=v.el,d=c.clientWidth,u=c.clientHeight,p=_.innerWidth,h=_.innerHeight,f=L(c),m=(i&&(f.left-=c.scrollLeft),[[f.left,f.top],[f.left+d,f.top],[f.left,f.top+u],[f.left+d,f.top+u]]);for(let e=0;e<m.length;e+=1){var g=m[e];0<=g[0]&&g[0]<=p&&0<=g[1]&&g[1]<=h&&(0===g[0]&&0===g[1]||(t=!0))}if(!t)return}v.isHorizontal()?((r||n||s||a)&&(e.preventDefault?e.preventDefault():e.returnValue=!1),((n||a)&&!i||(r||s)&&i)&&v.slideNext(),((r||s)&&!i||(n||a)&&i)&&v.slidePrev()):((r||n||o||l)&&(e.preventDefault?e.preventDefault():e.returnValue=!1),(n||l)&&v.slideNext(),(r||o)&&v.slidePrev()),y("keyPress",t)}}}function r(){v.keyboard.enabled||(b.addEventListener("keydown",n),v.keyboard.enabled=!0)}function s(){v.keyboard.enabled&&(b.removeEventListener("keydown",n),v.keyboard.enabled=!1)}v.keyboard={enabled:!1},t({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),i("init",()=>{v.params.keyboard.enabled&&r()}),i("destroy",()=>{v.keyboard.enabled&&s()}),Object.assign(v.keyboard,{enable:r,disable:s})},function(e){let{swiper:u,extendParams:t,on:i,emit:p}=e;const n=k();t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),u.mousewheel={enabled:!1};let h,r=v(),f;const m=[];function s(){u.enabled&&(u.mouseEntered=!0)}function a(){u.enabled&&(u.mouseEntered=!1)}function g(e){u.params.mousewheel.thresholdDelta&&e.delta<u.params.mousewheel.thresholdDelta||u.params.mousewheel.thresholdTime&&v()-r<u.params.mousewheel.thresholdTime||6<=e.delta&&v()-r<60||(e.direction<0?u.isEnd&&!u.params.loop||u.animating||(u.slideNext(),p("scroll",e.raw)):u.isBeginning&&!u.params.loop||u.animating||(u.slidePrev(),p("scroll",e.raw)),r=(new n.Date).getTime())}function o(n){let r=n;if(u.enabled&&!n.target.closest("."+u.params.mousewheel.noMousewheelClass)){var s=u.params.mousewheel;u.params.cssMode&&r.preventDefault();let e=u.el;var a=(e="container"!==u.params.mousewheel.eventsTarget?document.querySelector(u.params.mousewheel.eventsTarget):e)&&e.contains(r.target);if(!u.mouseEntered&&!a&&!s.releaseOnEdges)return!0;r.originalEvent&&(r=r.originalEvent);let t=0;var a=u.rtlTranslate?-1:1,o=function(e){let t=0,i=0,n=0,r=0;return"detail"in e&&(i=e.detail),"wheelDelta"in e&&(i=-e.wheelDelta/120),"wheelDeltaY"in e&&(i=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=i,i=0),n=10*t,r=10*i,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(n=e.deltaX),e.shiftKey&&!n&&(n=r,r=0),(n||r)&&e.deltaMode&&(1===e.deltaMode?(n*=40,r*=40):(n*=800,r*=800)),n&&!t&&(t=n<1?-1:1),r&&!i&&(i=r<1?-1:1),{spinX:t,spinY:i,pixelX:n,pixelY:r}}(r);if(s.forceToAxis)if(u.isHorizontal()){if(!(Math.abs(o.pixelX)>Math.abs(o.pixelY)))return!0;t=-o.pixelX*a}else{if(!(Math.abs(o.pixelY)>Math.abs(o.pixelX)))return!0;t=-o.pixelY}else t=Math.abs(o.pixelX)>Math.abs(o.pixelY)?-o.pixelX*a:-o.pixelY;if(0===t)return!0;s.invert&&(t=-t);let i=u.getTranslate()+t*s.sensitivity;if((i=i>=u.minTranslate()?u.minTranslate():i)<=u.maxTranslate()&&(i=u.maxTranslate()),(!!u.params.loop||!(i===u.minTranslate()||i===u.maxTranslate()))&&u.params.nested&&r.stopPropagation(),u.params.freeMode&&u.params.freeMode.enabled){const c={time:v(),delta:Math.abs(t),direction:Math.sign(t)};a=f&&c.time<f.time+500&&c.delta<=f.delta&&c.direction===f.direction;if(!a){f=void 0;let e=u.getTranslate()+t*s.sensitivity;var o=u.isBeginning,l=u.isEnd;if((e=e>=u.minTranslate()?u.minTranslate():e)<=u.maxTranslate()&&(e=u.maxTranslate()),u.setTransition(0),u.setTranslate(e),u.updateProgress(),u.updateActiveIndex(),u.updateSlidesClasses(),(!o&&u.isBeginning||!l&&u.isEnd)&&u.updateSlidesClasses(),u.params.loop&&u.loopFix({direction:c.direction<0?"next":"prev",byMousewheel:!0}),u.params.freeMode.sticky){clearTimeout(h),h=void 0,15<=m.length&&m.shift();o=m.length?m[m.length-1]:void 0,l=m[0];if(m.push(c),o&&(c.delta>o.delta||c.direction!==o.direction))m.splice(0);else if(15<=m.length&&c.time-l.time<500&&1<=l.delta-c.delta&&c.delta<=6){const d=0<t?.8:.2;f=c,m.splice(0),h=E(()=>{u.slideToClosest(u.params.speed,!0,void 0,d)},0)}h=h||E(()=>{f=c,m.splice(0),u.slideToClosest(u.params.speed,!0,void 0,.5)},500)}if(a||p("scroll",r),u.params.autoplay&&u.params.autoplayDisableOnInteraction&&u.autoplay.stop(),s.releaseOnEdges&&(e===u.minTranslate()||e===u.maxTranslate()))return!0}}else{o={time:v(),delta:Math.abs(t),direction:Math.sign(t),raw:n},l=(2<=m.length&&m.shift(),m.length?m[m.length-1]:void 0);if(m.push(o),(!l||o.direction!==l.direction||o.delta>l.delta||o.time>l.time+150)&&g(o),function(e){var t=u.params.mousewheel;if(e.direction<0){if(u.isEnd&&!u.params.loop&&t.releaseOnEdges)return 1}else if(u.isBeginning&&!u.params.loop&&t.releaseOnEdges)return 1}(o))return!0}return r.preventDefault?r.preventDefault():r.returnValue=!1,!1}}function l(e){let t=u.el;(t="container"!==u.params.mousewheel.eventsTarget?document.querySelector(u.params.mousewheel.eventsTarget):t)[e]("mouseenter",s),t[e]("mouseleave",a),t[e]("wheel",o)}function c(){if(u.params.cssMode)u.wrapperEl.removeEventListener("wheel",o);else{if(u.mousewheel.enabled)return!1;l("addEventListener"),u.mousewheel.enabled=!0}return!0}function d(){if(u.params.cssMode)u.wrapperEl.addEventListener(event,o);else{if(!u.mousewheel.enabled)return!1;l("removeEventListener"),u.mousewheel.enabled=!1}return!0}i("init",()=>{!u.params.mousewheel.enabled&&u.params.cssMode&&d(),u.params.mousewheel.enabled&&c()}),i("destroy",()=>{u.params.cssMode&&c(),u.mousewheel.enabled&&d()}),Object.assign(u.mousewheel,{enable:c,disable:d})},function(e){let{swiper:r,extendParams:t,on:i,emit:s}=e;t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),r.navigation={nextEl:null,prevEl:null};const a=e=>(Array.isArray(e)?e:[e]).filter(e=>!!e);function o(e){let t;return!(e&&"string"==typeof e&&r.isElement&&(t=r.el.querySelector(e)))&&(e&&("string"==typeof e&&(t=[...document.querySelectorAll(e)]),r.params.uniqueNavElements)&&"string"==typeof e&&1<t.length&&1===r.el.querySelectorAll(e).length&&(t=r.el.querySelector(e)),e)&&!t?e:t}function n(e,t){const i=r.params.navigation;(e=a(e)).forEach(e=>{e&&(e.classList[t?"add":"remove"](...i.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=t),r.params.watchOverflow)&&r.enabled&&e.classList[r.isLocked?"add":"remove"](i.lockClass)})}function l(){var{nextEl:e,prevEl:t}=r.navigation;r.params.loop?(n(t,!1),n(e,!1)):(n(t,r.isBeginning&&!r.params.rewind),n(e,r.isEnd&&!r.params.rewind))}function c(e){e.preventDefault(),r.isBeginning&&!r.params.loop&&!r.params.rewind||(r.slidePrev(),s("navigationPrev"))}function d(e){e.preventDefault(),r.isEnd&&!r.params.loop&&!r.params.rewind||(r.slideNext(),s("navigationNext"))}function u(){const i=r.params.navigation;if(r.params.navigation=z(r,r.originalParams.navigation,r.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),i.nextEl||i.prevEl){var e=o(i.nextEl),t=o(i.prevEl);Object.assign(r.navigation,{nextEl:e,prevEl:t}),e=a(e),t=a(t);const n=(e,t)=>{e&&e.addEventListener("click","next"===t?d:c),!r.enabled&&e&&e.classList.add(...i.lockClass.split(" "))};e.forEach(e=>n(e,"next")),t.forEach(e=>n(e,"prev"))}}function p(){var{nextEl:e,prevEl:t}=r.navigation,e=a(e),t=a(t);const i=(e,t)=>{e.removeEventListener("click","next"===t?d:c),e.classList.remove(...r.params.navigation.disabledClass.split(" "))};e.forEach(e=>i(e,"next")),t.forEach(e=>i(e,"prev"))}i("init",()=>{(!1===r.params.navigation.enabled?h:(u(),l))()}),i("toEdge fromEdge lock unlock",()=>{l()}),i("destroy",()=>{p()}),i("enable disable",()=>{var{nextEl:e,prevEl:t}=r.navigation,e=a(e),t=a(t);r.enabled?l():[...e,...t].filter(e=>!!e).forEach(e=>e.classList.add(r.params.navigation.lockClass))}),i("click",(e,t)=>{var{nextEl:i,prevEl:n}=r.navigation,i=a(i),n=a(n),t=t.target;if(r.params.navigation.hideOnClick&&!n.includes(t)&&!i.includes(t)&&(!(r.pagination&&r.params.pagination&&r.params.pagination.clickable)||r.pagination.el!==t&&!r.pagination.el.contains(t))){let e;i.length?e=i[0].classList.contains(r.params.navigation.hiddenClass):n.length&&(e=n[0].classList.contains(r.params.navigation.hiddenClass)),!0===e?s("navigationShow"):s("navigationHide"),[...i,...n].filter(e=>!!e).forEach(e=>e.classList.toggle(r.params.navigation.hiddenClass))}});const h=()=>{r.el.classList.add(...r.params.navigation.navigationDisabledClass.split(" ")),p()};Object.assign(r.navigation,{enable:()=>{r.el.classList.remove(...r.params.navigation.navigationDisabledClass.split(" ")),u(),l()},disable:h,update:l,init:u,destroy:p})},function(e){let{swiper:f,extendParams:t,on:i,emit:m}=e;e="swiper-pagination",t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:e+"-bullet",bulletActiveClass:e+"-bullet-active",modifierClass:e+"-",currentClass:e+"-current",totalClass:e+"-total",hiddenClass:e+"-hidden",progressbarFillClass:e+"-progressbar-fill",progressbarOppositeClass:e+"-progressbar-opposite",clickableClass:e+"-clickable",lockClass:e+"-lock",horizontalClass:e+"-horizontal",verticalClass:e+"-vertical",paginationDisabledClass:e+"-disabled"}}),f.pagination={el:null,bullets:[]};let g,v=0;const y=e=>(Array.isArray(e)?e:[e]).filter(e=>!!e);function s(){return!f.params.pagination.el||!f.pagination.el||Array.isArray(f.pagination.el)&&0===f.pagination.el.length}function b(e,t){var i=f.params.pagination["bulletActiveClass"];(e=e&&e[`${"prev"===t?"previous":"next"}ElementSibling`])&&(e.classList.add(i+"-"+t),e=e[`${"prev"===t?"previous":"next"}ElementSibling`])&&e.classList.add(i+`-${t}-`+t)}function n(e){var t=e.target.closest(D(f.params.pagination.bulletClass));t&&(e.preventDefault(),e=M(t)*f.params.slidesPerGroup,f.params.loop?f.realIndex!==e&&f.slideToLoop(e):f.slideTo(e))}function r(){var r=f.rtl;const a=f.params.pagination;if(!s()){var o=f.pagination.el,o=y(o);let s,t;var l=(f.virtual&&f.params.virtual.enabled?f.virtual:f).slides.length;const u=f.params.loop?Math.ceil(l/f.params.slidesPerGroup):f.snapGrid.length;if(f.params.loop?(t=f.previousRealIndex||0,s=1<f.params.slidesPerGroup?Math.floor(f.realIndex/f.params.slidesPerGroup):f.realIndex):void 0!==f.snapIndex?(s=f.snapIndex,t=f.previousSnapIndex):(t=f.previousIndex||0,s=f.activeIndex||0),"bullets"===a.type&&f.pagination.bullets&&0<f.pagination.bullets.length){var c=f.pagination.bullets;let i,n,e;if(a.dynamicBullets&&(g=X(c[0],f.isHorizontal()?"width":"height",!0),o.forEach(e=>{e.style[f.isHorizontal()?"width":"height"]=g*(a.dynamicMainBullets+4)+"px"}),1<a.dynamicMainBullets&&void 0!==t&&((v+=s-(t||0))>a.dynamicMainBullets-1?v=a.dynamicMainBullets-1:v<0&&(v=0)),i=Math.max(s-v,0),n=i+(Math.min(c.length,a.dynamicMainBullets)-1),e=(n+i)/2),c.forEach(e=>{var t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>""+a.bulletActiveClass+e)].map(e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e).flat();e.classList.remove(...t)}),1<o.length)c.forEach(e=>{var t=M(e);t===s?e.classList.add(...a.bulletActiveClass.split(" ")):f.isElement&&e.setAttribute("part","bullet"),a.dynamicBullets&&(t>=i&&t<=n&&e.classList.add(...(a.bulletActiveClass+"-main").split(" ")),t===i&&b(e,"prev"),t===n)&&b(e,"next")});else{l=c[s];if(l&&l.classList.add(...a.bulletActiveClass.split(" ")),f.isElement&&c.forEach((e,t)=>{e.setAttribute("part",t===s?"bullet-active":"bullet")}),a.dynamicBullets){var l=c[i],d=c[n];for(let e=i;e<=n;e+=1)c[e]&&c[e].classList.add(...(a.bulletActiveClass+"-main").split(" "));b(l,"prev"),b(d,"next")}}if(a.dynamicBullets){l=Math.min(c.length,a.dynamicMainBullets+4);const p=(g*l-g)/2-e*g,h=r?"right":"left";c.forEach(e=>{e.style[f.isHorizontal()?h:"top"]=p+"px"})}}o.forEach((n,e)=>{if("fraction"===a.type&&(n.querySelectorAll(D(a.currentClass)).forEach(e=>{e.textContent=a.formatFractionCurrent(s+1)}),n.querySelectorAll(D(a.totalClass)).forEach(e=>{e.textContent=a.formatFractionTotal(u)})),"progressbar"===a.type){let e;e=a.progressbarOpposite?f.isHorizontal()?"vertical":"horizontal":f.isHorizontal()?"horizontal":"vertical";var r=(s+1)/u;let t=1,i=1;"horizontal"===e?t=r:i=r,n.querySelectorAll(D(a.progressbarFillClass)).forEach(e=>{e.style.transform=`translate3d(0,0,0) scaleX(${t}) scaleY(${i})`,e.style.transitionDuration=f.params.speed+"ms"})}"custom"===a.type&&a.renderCustom?(n.innerHTML=a.renderCustom(f,s+1,u),0===e&&m("paginationRender",n)):(0===e&&m("paginationRender",n),m("paginationUpdate",n)),f.params.watchOverflow&&f.enabled&&n.classList[f.isLocked?"add":"remove"](a.lockClass)})}}function a(){const n=f.params.pagination;if(!s()){var e=f.virtual&&f.params.virtual.enabled?f.virtual.slides.length:f.grid&&1<f.params.grid.rows?f.slides.length/Math.ceil(f.params.grid.rows):f.slides.length,t=f.pagination.el,t=y(t);let i="";if("bullets"===n.type){let t=f.params.loop?Math.ceil(e/f.params.slidesPerGroup):f.snapGrid.length;f.params.freeMode&&f.params.freeMode.enabled&&t>e&&(t=e);for(let e=0;e<t;e+=1)n.renderBullet?i+=n.renderBullet.call(f,e,n.bulletClass):i+=`<${n.bulletElement} ${f.isElement?'part="bullet"':""} class="${n.bulletClass}"></${n.bulletElement}>`}"fraction"===n.type&&(i=n.renderFraction?n.renderFraction.call(f,n.currentClass,n.totalClass):`<span class="${n.currentClass}"></span>`+" / "+`<span class="${n.totalClass}"></span>`),"progressbar"===n.type&&(i=n.renderProgressbar?n.renderProgressbar.call(f,n.progressbarFillClass):`<span class="${n.progressbarFillClass}"></span>`),f.pagination.bullets=[],t.forEach(e=>{"custom"!==n.type&&(e.innerHTML=i||""),"bullets"===n.type&&f.pagination.bullets.push(...e.querySelectorAll(D(n.bulletClass)))}),"custom"!==n.type&&m("paginationRender",t[0])}}function o(){f.params.pagination=z(f,f.originalParams.pagination,f.params.pagination,{el:"swiper-pagination"});const t=f.params.pagination;if(t.el){let e;(e=(e=(e="string"==typeof t.el&&f.isElement?f.el.querySelector(t.el):e)||"string"!=typeof t.el?e:[...document.querySelectorAll(t.el)])||t.el)&&0!==e.length&&(f.params.uniqueNavElements&&"string"==typeof t.el&&Array.isArray(e)&&1<e.length&&1<(e=[...f.el.querySelectorAll(t.el)]).length&&(e=e.filter(e=>P(e,".swiper")[0]===f.el)[0]),Array.isArray(e)&&1===e.length&&(e=e[0]),Object.assign(f.pagination,{el:e}),(e=y(e)).forEach(e=>{"bullets"===t.type&&t.clickable&&e.classList.add(...(t.clickableClass||"").split(" ")),e.classList.add(t.modifierClass+t.type),e.classList.add(f.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(e.classList.add(""+t.modifierClass+t.type+"-dynamic"),v=0,t.dynamicMainBullets<1)&&(t.dynamicMainBullets=1),"progressbar"===t.type&&t.progressbarOpposite&&e.classList.add(t.progressbarOppositeClass),t.clickable&&e.addEventListener("click",n),f.enabled||e.classList.add(t.lockClass)}))}}function l(){const t=f.params.pagination;var e;s()||((e=f.pagination.el)&&(e=y(e)).forEach(e=>{e.classList.remove(t.hiddenClass),e.classList.remove(t.modifierClass+t.type),e.classList.remove(f.isHorizontal()?t.horizontalClass:t.verticalClass),t.clickable&&(e.classList.remove(...(t.clickableClass||"").split(" ")),e.removeEventListener("click",n))}),f.pagination.bullets&&f.pagination.bullets.forEach(e=>e.classList.remove(...t.bulletActiveClass.split(" "))))}i("changeDirection",()=>{if(f.pagination&&f.pagination.el){const t=f.params.pagination;var e=f.pagination["el"];(e=y(e)).forEach(e=>{e.classList.remove(t.horizontalClass,t.verticalClass),e.classList.add(f.isHorizontal()?t.horizontalClass:t.verticalClass)})}}),i("init",()=>{(!1===f.params.pagination.enabled?c:(o(),a(),r))()}),i("activeIndexChange",()=>{void 0===f.snapIndex&&r()}),i("snapIndexChange",()=>{r()}),i("snapGridLengthChange",()=>{a(),r()}),i("destroy",()=>{l()}),i("enable disable",()=>{var e=f.pagination["el"];e&&(e=y(e)).forEach(e=>e.classList[f.enabled?"remove":"add"](f.params.pagination.lockClass))}),i("lock unlock",()=>{r()}),i("click",(e,t)=>{var t=t.target,i=y(f.pagination.el);f.params.pagination.el&&f.params.pagination.hideOnClick&&i&&0<i.length&&!t.classList.contains(f.params.pagination.bulletClass)&&(f.navigation&&(f.navigation.nextEl&&t===f.navigation.nextEl||f.navigation.prevEl&&t===f.navigation.prevEl)||(!0===i[0].classList.contains(f.params.pagination.hiddenClass)?m("paginationShow"):m("paginationHide"),i.forEach(e=>e.classList.toggle(f.params.pagination.hiddenClass))))});const c=()=>{f.el.classList.add(f.params.pagination.paginationDisabledClass);var e=f.pagination["el"];e&&(e=y(e)).forEach(e=>e.classList.add(f.params.pagination.paginationDisabledClass)),l()};Object.assign(f.pagination,{enable:()=>{f.el.classList.remove(f.params.pagination.paginationDisabledClass);var e=f.pagination["el"];e&&(e=y(e)).forEach(e=>e.classList.remove(f.params.pagination.paginationDisabledClass)),o(),a(),r()},disable:c,render:a,update:r,init:o,destroy:l})},function(e){let{swiper:o,extendParams:t,on:i,emit:s}=e;const a=A();let l=!1,c=null,d=null,u,p,h,n;function r(){if(o.params.scrollbar.el&&o.scrollbar.el){var{scrollbar:i,rtlTranslate:n}=o;const{dragEl:s,el:a}=i;var i=o.params.scrollbar,r=o.params.loop?o.progressLoop:o.progress;let e=p,t=(h-p)*r;n?0<(t=-t)?(e=p-t,t=0):-t+p>h&&(e=h+t):t<0?(e=p+t,t=0):t+p>h&&(e=h-t),o.isHorizontal()?(s.style.transform=`translate3d(${t}px, 0, 0)`,s.style.width=e+"px"):(s.style.transform=`translate3d(0px, ${t}px, 0)`,s.style.height=e+"px"),i.hide&&(clearTimeout(c),a.style.opacity=1,c=setTimeout(()=>{a.style.opacity=0,a.style.transitionDuration="400ms"},1e3))}}function f(){var e,t,i;o.params.scrollbar.el&&o.scrollbar.el&&(e=o["scrollbar"],{dragEl:t,el:i}=e,t.style.width="",t.style.height="",h=o.isHorizontal()?i.offsetWidth:i.offsetHeight,n=o.size/(o.virtualSize+o.params.slidesOffsetBefore-(o.params.centeredSlides?o.snapGrid[0]:0)),p="auto"===o.params.scrollbar.dragSize?h*n:parseInt(o.params.scrollbar.dragSize,10),o.isHorizontal()?t.style.width=p+"px":t.style.height=p+"px",1<=n?i.style.display="none":i.style.display="",o.params.scrollbar.hide&&(i.style.opacity=0),o.params.watchOverflow)&&o.enabled&&e.el.classList[o.isLocked?"add":"remove"](o.params.scrollbar.lockClass)}function m(e){return o.isHorizontal()?e.clientX:e.clientY}function g(e){var{scrollbar:t,rtlTranslate:i}=o,t=t["el"];let n;n=(m(e)-L(t)[o.isHorizontal()?"left":"top"]-(null!==u?u:p/2))/(h-p),n=Math.max(Math.min(n,1),0),i&&(n=1-n);e=o.minTranslate()+(o.maxTranslate()-o.minTranslate())*n;o.updateProgress(e),o.setTranslate(e),o.updateActiveIndex(),o.updateSlidesClasses()}function v(e){var t=o.params.scrollbar,{scrollbar:i,wrapperEl:n}=o,{el:i,dragEl:r}=i;l=!0,u=e.target===r?m(e)-e.target.getBoundingClientRect()[o.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),n.style.transitionDuration="100ms",r.style.transitionDuration="100ms",g(e),clearTimeout(d),i.style.transitionDuration="0ms",t.hide&&(i.style.opacity=1),o.params.cssMode&&(o.wrapperEl.style["scroll-snap-type"]="none"),s("scrollbarDragStart",e)}function y(e){var{scrollbar:t,wrapperEl:i}=o,{el:t,dragEl:n}=t;l&&(e.preventDefault?e.preventDefault():e.returnValue=!1,g(e),i.style.transitionDuration="0ms",t.style.transitionDuration="0ms",n.style.transitionDuration="0ms",s("scrollbarDragMove",e))}function b(e){var t=o.params.scrollbar,{scrollbar:i,wrapperEl:n}=o;const r=i["el"];l&&(l=!1,o.params.cssMode&&(o.wrapperEl.style["scroll-snap-type"]="",n.style.transitionDuration=""),t.hide&&(clearTimeout(d),d=E(()=>{r.style.opacity=0,r.style.transitionDuration="400ms"},1e3)),s("scrollbarDragEnd",e),t.snapOnRelease)&&o.slideToClosest()}function _(e){var t,{scrollbar:i,params:n}=o,i=i.el;i&&(t=!!n.passiveListeners&&{passive:!1,capture:!1},n=!!n.passiveListeners&&{passive:!0,capture:!1},i=i)&&(i[i="on"===e?"addEventListener":"removeEventListener"]("pointerdown",v,t),a[i]("pointermove",y,t),a[i]("pointerup",b,n))}function w(){var{scrollbar:i,el:n}=o,r=(o.params.scrollbar=z(o,o.originalParams.scrollbar,o.params.scrollbar,{el:"swiper-scrollbar"}),o.params.scrollbar);if(r.el){let e;if((e="string"==typeof r.el&&o.isElement?o.el.querySelector(r.el):e)||"string"!=typeof r.el)e=e||r.el;else if(!(e=a.querySelectorAll(r.el)).length)return;(e=0<(e=o.params.uniqueNavElements&&"string"==typeof r.el&&1<e.length&&1===n.querySelectorAll(r.el).length?n.querySelector(r.el):e).length?e[0]:e).classList.add(o.isHorizontal()?r.horizontalClass:r.verticalClass);let t;!e||(t=e.querySelector(D(o.params.scrollbar.dragClass)))||(t=C("div",o.params.scrollbar.dragClass),e.append(t)),Object.assign(i,{el:e,dragEl:t}),r.draggable&&o.params.scrollbar.el&&o.scrollbar.el&&_("on"),e&&e.classList[o.enabled?"remove":"add"](...S(o.params.scrollbar.lockClass))}}function x(){var e=o.params.scrollbar,t=o.scrollbar.el;t&&t.classList.remove(...S(o.isHorizontal()?e.horizontalClass:e.verticalClass)),o.params.scrollbar.el&&o.scrollbar.el&&_("off")}t({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),o.scrollbar={el:null,dragEl:null},i("init",()=>{(!1===o.params.scrollbar.enabled?T:(w(),f(),r))()}),i("update resize observerUpdate lock unlock",()=>{f()}),i("setTranslate",()=>{r()}),i("setTransition",(e,t)=>{t=t,o.params.scrollbar.el&&o.scrollbar.el&&(o.scrollbar.dragEl.style.transitionDuration=t+"ms")}),i("enable disable",()=>{var e=o.scrollbar["el"];e&&e.classList[o.enabled?"remove":"add"](...S(o.params.scrollbar.lockClass))}),i("destroy",()=>{x()});const T=()=>{o.el.classList.add(...S(o.params.scrollbar.scrollbarDisabledClass)),o.scrollbar.el&&o.scrollbar.el.classList.add(...S(o.params.scrollbar.scrollbarDisabledClass)),x()};Object.assign(o.scrollbar,{enable:()=>{o.el.classList.remove(...S(o.params.scrollbar.scrollbarDisabledClass)),o.scrollbar.el&&o.scrollbar.el.classList.remove(...S(o.params.scrollbar.scrollbarDisabledClass)),w(),f(),r()},disable:T,updateSize:f,setTranslate:r,init:w,destroy:x})},function(e){let{swiper:d,extendParams:t,on:i}=e;t({parallax:{enabled:!1}});const s="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",a=(e,t)=>{var i=d["rtl"],i=i?-1:1,n=e.getAttribute("data-swiper-parallax")||"0";let r=e.getAttribute("data-swiper-parallax-x"),s=e.getAttribute("data-swiper-parallax-y");var a=e.getAttribute("data-swiper-parallax-scale"),o=e.getAttribute("data-swiper-parallax-opacity"),l=e.getAttribute("data-swiper-parallax-rotate");r||s?(r=r||"0",s=s||"0"):d.isHorizontal()?(r=n,s="0"):(s=n,r="0"),r=0<=r.indexOf("%")?parseInt(r,10)*t*i+"%":r*t*i+"px",s=0<=s.indexOf("%")?parseInt(s,10)*t+"%":s*t+"px",null!=o&&(n=o-(o-1)*(1-Math.abs(t)),e.style.opacity=n);let c=`translate3d(${r}, ${s}, 0px)`;null!=a&&(i=a-(a-1)*(1-Math.abs(t)),c+=` scale(${i})`),l&&null!=l&&(c+=` rotate(${l*t*-1}deg)`),e.style.transform=c},n=()=>{const{el:e,slides:t,progress:n,snapGrid:r}=d;var i=Y(e,s);d.isElement&&i.push(...Y(d.hostEl,s)),i.forEach(e=>{a(e,n)}),t.forEach((e,t)=>{let i=e.progress;1<d.params.slidesPerGroup&&"auto"!==d.params.slidesPerView&&(i+=Math.ceil(t/2)-n*(r.length-1)),i=Math.min(Math.max(i,-1),1),e.querySelectorAll(s+", [data-swiper-parallax-rotate]").forEach(e=>{a(e,i)})})};i("beforeInit",()=>{d.params.parallax.enabled&&(d.params.watchSlidesProgress=!0,d.originalParams.watchSlidesProgress=!0)}),i("init",()=>{d.params.parallax.enabled&&n()}),i("setTranslate",()=>{d.params.parallax.enabled&&n()}),i("setTransition",(e,t)=>{var i,n;d.params.parallax.enabled&&({el:t,hostEl:n}=(void 0===(i=t)&&(i=d.params.speed),d),t=[...t.querySelectorAll(s)],d.isElement&&t.push(...n.querySelectorAll(s)),t.forEach(e=>{let t=parseInt(e.getAttribute("data-swiper-parallax-duration"),10)||i;0===i&&(t=0),e.style.transitionDuration=t+"ms"}))})},function(e){let{swiper:p,extendParams:t,on:i,emit:n}=e;const h=k();t({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),p.zoom={enabled:!1};let f=1,s=!1,r,a;const o=[],m={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},g={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},l={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let c=1;function d(){var e,t,i,n;return o.length<2?1:(e=o[0].pageX,t=o[0].pageY,i=o[1].pageX,n=o[1].pageY,Math.sqrt((i-e)**2+(n-t)**2))}function u(t){var e=p.isElement?"swiper-slide":"."+p.params.slideClass;return t.target.matches(e)||0<p.slides.filter(e=>e.contains(t.target)).length}function v(t){if("mouse"===t.pointerType&&o.splice(0,o.length),u(t)){var i=p.params.zoom;if(r=!1,a=!1,o.push(t),!(o.length<2)){if(r=!0,m.scaleStart=d(),!m.slideEl){m.slideEl=t.target.closest(`.${p.params.slideClass}, swiper-slide`),m.slideEl||(m.slideEl=p.slides[p.activeIndex]);let e=m.slideEl.querySelector("."+i.containerClass);if(e=e&&e.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0],(m.imageEl=e)?m.imageWrapEl=P(m.imageEl,"."+i.containerClass)[0]:m.imageWrapEl=void 0,!m.imageWrapEl)return void(m.imageEl=void 0);m.maxRatio=m.imageWrapEl.getAttribute("data-swiper-zoom")||i.maxRatio}m.imageEl&&([i,t]=o.length<2?{x:null,y:null}:(t=m.imageEl.getBoundingClientRect(),[(o[0].pageX+(o[1].pageX-o[0].pageX)/2-t.x-h.scrollX)/f,(o[0].pageY+(o[1].pageY-o[0].pageY)/2-t.y-h.scrollY)/f]),m.originX=i,m.originY=t,m.imageEl.style.transitionDuration="0ms"),s=!0}}}function y(t){var e,i,n;u(t)&&(e=p.params.zoom,i=p.zoom,0<=(n=o.findIndex(e=>e.pointerId===t.pointerId))&&(o[n]=t),o.length<2||(a=!0,m.scaleMove=d(),m.imageEl&&(i.scale=m.scaleMove/m.scaleStart*f,i.scale>m.maxRatio&&(i.scale=m.maxRatio-1+(i.scale-m.maxRatio+1)**.5),i.scale<e.minRatio&&(i.scale=e.minRatio+1-(e.minRatio-i.scale+1)**.5),m.imageEl.style.transform=`translate3d(0,0,0) scale(${i.scale})`)))}function b(t){var e,i,n;!u(t)||"mouse"===t.pointerType&&"pointerout"===t.type||(e=p.params.zoom,i=p.zoom,0<=(n=o.findIndex(e=>e.pointerId===t.pointerId))&&o.splice(n,1),r&&a&&(r=!1,a=!1,m.imageEl)&&(i.scale=Math.max(Math.min(i.scale,m.maxRatio),e.minRatio),m.imageEl.style.transitionDuration=p.params.speed+"ms",m.imageEl.style.transform=`translate3d(0,0,0) scale(${i.scale})`,f=i.scale,s=!1,1<i.scale&&m.slideEl?m.slideEl.classList.add(""+e.zoomedSlideClass):i.scale<=1&&m.slideEl&&m.slideEl.classList.remove(""+e.zoomedSlideClass),1===i.scale)&&(m.originX=0,m.originY=0,m.slideEl=void 0))}function _(e){if(u(e)&&(t=e,i="."+p.params.zoom.containerClass,t.target.matches(i)||0<[...p.hostEl.querySelectorAll(i)].filter(e=>e.contains(t.target)).length)){var t,i=p.zoom;if(m.imageEl&&g.isTouched&&m.slideEl){g.isMoved||(g.width=m.imageEl.offsetWidth,g.height=m.imageEl.offsetHeight,g.startX=I(m.imageWrapEl,"x")||0,g.startY=I(m.imageWrapEl,"y")||0,m.slideWidth=m.slideEl.offsetWidth,m.slideHeight=m.slideEl.offsetHeight,m.imageWrapEl.style.transitionDuration="0ms");var n=g.width*i.scale,r=g.height*i.scale;if(!(n<m.slideWidth&&r<m.slideHeight)){if(g.minX=Math.min(m.slideWidth/2-n/2,0),g.maxX=-g.minX,g.minY=Math.min(m.slideHeight/2-r/2,0),g.maxY=-g.minY,g.touchesCurrent.x=(0<o.length?o[0]:e).pageX,g.touchesCurrent.y=(0<o.length?o[0]:e).pageY,5<Math.max(Math.abs(g.touchesCurrent.x-g.touchesStart.x),Math.abs(g.touchesCurrent.y-g.touchesStart.y))&&(p.allowClick=!1),!g.isMoved&&!s){if(p.isHorizontal()&&(Math.floor(g.minX)===Math.floor(g.startX)&&g.touchesCurrent.x<g.touchesStart.x||Math.floor(g.maxX)===Math.floor(g.startX)&&g.touchesCurrent.x>g.touchesStart.x))return void(g.isTouched=!1);if(!p.isHorizontal()&&(Math.floor(g.minY)===Math.floor(g.startY)&&g.touchesCurrent.y<g.touchesStart.y||Math.floor(g.maxY)===Math.floor(g.startY)&&g.touchesCurrent.y>g.touchesStart.y))return void(g.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),g.isMoved=!0;var n=(i.scale-f)/(m.maxRatio-p.params.zoom.minRatio),{originX:r,originY:e}=m;g.currentX=g.touchesCurrent.x-g.touchesStart.x+g.startX+n*(g.width-2*r),g.currentY=g.touchesCurrent.y-g.touchesStart.y+g.startY+n*(g.height-2*e),g.currentX<g.minX&&(g.currentX=g.minX+1-(g.minX-g.currentX+1)**.8),g.currentX>g.maxX&&(g.currentX=g.maxX-1+(g.currentX-g.maxX+1)**.8),g.currentY<g.minY&&(g.currentY=g.minY+1-(g.minY-g.currentY+1)**.8),g.currentY>g.maxY&&(g.currentY=g.maxY-1+(g.currentY-g.maxY+1)**.8),l.prevPositionX||(l.prevPositionX=g.touchesCurrent.x),l.prevPositionY||(l.prevPositionY=g.touchesCurrent.y),l.prevTime||(l.prevTime=Date.now()),l.x=(g.touchesCurrent.x-l.prevPositionX)/(Date.now()-l.prevTime)/2,l.y=(g.touchesCurrent.y-l.prevPositionY)/(Date.now()-l.prevTime)/2,Math.abs(g.touchesCurrent.x-l.prevPositionX)<2&&(l.x=0),Math.abs(g.touchesCurrent.y-l.prevPositionY)<2&&(l.y=0),l.prevPositionX=g.touchesCurrent.x,l.prevPositionY=g.touchesCurrent.y,l.prevTime=Date.now(),m.imageWrapEl.style.transform=`translate3d(${g.currentX}px, ${g.currentY}px,0)`}}}}function w(){var e=p.zoom;m.slideEl&&p.activeIndex!==p.slides.indexOf(m.slideEl)&&(m.imageEl&&(m.imageEl.style.transform="translate3d(0,0,0) scale(1)"),m.imageWrapEl&&(m.imageWrapEl.style.transform="translate3d(0,0,0)"),m.slideEl.classList.remove(""+p.params.zoom.zoomedSlideClass),e.scale=1,f=1,m.slideEl=void 0,m.imageEl=void 0,m.imageWrapEl=void 0,m.originX=0,m.originY=0)}function x(r){var s,a,o,l,c=p.zoom,d=p.params.zoom;if(!m.slideEl){r&&r.target&&(m.slideEl=r.target.closest(`.${p.params.slideClass}, swiper-slide`)),m.slideEl||(p.params.virtual&&p.params.virtual.enabled&&p.virtual?m.slideEl=Y(p.slidesEl,"."+p.params.slideActiveClass)[0]:m.slideEl=p.slides[p.activeIndex]);let e=m.slideEl.querySelector("."+d.containerClass);e=e&&e.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0],(m.imageEl=e)?m.imageWrapEl=P(m.imageEl,"."+d.containerClass)[0]:m.imageWrapEl=void 0}if(m.imageEl&&m.imageWrapEl){p.params.cssMode&&(p.wrapperEl.style.overflow="hidden",p.wrapperEl.style.touchAction="none"),m.slideEl.classList.add(""+d.zoomedSlideClass);let e,t;let i,n;t=void 0===g.touchesStart.x&&r?(e=r.pageX,r.pageY):(e=g.touchesStart.x,g.touchesStart.y);var u="number"==typeof r?r:null;1===f&&u&&(e=void 0,t=void 0),c.scale=u||m.imageWrapEl.getAttribute("data-swiper-zoom")||d.maxRatio,f=u||m.imageWrapEl.getAttribute("data-swiper-zoom")||d.maxRatio,!r||1===f&&u?(i=0,n=0):(d=m.slideEl.offsetWidth,r=m.slideEl.offsetHeight,s=L(m.slideEl).left+h.scrollX,a=L(m.slideEl).top+h.scrollY,s=s+d/2-e,a=a+r/2-t,o=m.imageEl.offsetWidth,l=m.imageEl.offsetHeight,o=o*c.scale,l=l*c.scale,o=-(d=Math.min(d/2-o/2,0)),l=-(r=Math.min(r/2-l/2,0)),i=s*c.scale,n=a*c.scale,(i=i<d?d:i)>o&&(i=o),(n=n<r?r:n)>l&&(n=l)),u&&1===c.scale&&(m.originX=0,m.originY=0),m.imageWrapEl.style.transitionDuration="300ms",m.imageWrapEl.style.transform=`translate3d(${i}px, ${n}px,0)`,m.imageEl.style.transitionDuration="300ms",m.imageEl.style.transform=`translate3d(0,0,0) scale(${c.scale})`}}function T(){var e=p.zoom,t=p.params.zoom;if(!m.slideEl){p.params.virtual&&p.params.virtual.enabled&&p.virtual?m.slideEl=Y(p.slidesEl,"."+p.params.slideActiveClass)[0]:m.slideEl=p.slides[p.activeIndex];let e=m.slideEl.querySelector("."+t.containerClass);e=e&&e.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0],(m.imageEl=e)?m.imageWrapEl=P(m.imageEl,"."+t.containerClass)[0]:m.imageWrapEl=void 0}m.imageEl&&m.imageWrapEl&&(p.params.cssMode&&(p.wrapperEl.style.overflow="",p.wrapperEl.style.touchAction=""),e.scale=1,f=1,m.imageWrapEl.style.transitionDuration="300ms",m.imageWrapEl.style.transform="translate3d(0,0,0)",m.imageEl.style.transitionDuration="300ms",m.imageEl.style.transform="translate3d(0,0,0) scale(1)",m.slideEl.classList.remove(""+t.zoomedSlideClass),m.slideEl=void 0,m.originX=0,m.originY=0)}function S(e){var t=p.zoom;t.scale&&1!==t.scale?T():x(e)}function E(){return{passiveListener:!!p.params.passiveListeners&&{passive:!0,capture:!1},activeListenerWithCapture:!p.params.passiveListeners||{passive:!1,capture:!0}}}function C(){var e=p.zoom;if(!e.enabled){e.enabled=!0;const{passiveListener:t,activeListenerWithCapture:i}=E();p.wrapperEl.addEventListener("pointerdown",v,t),p.wrapperEl.addEventListener("pointermove",y,i),["pointerup","pointercancel","pointerout"].forEach(e=>{p.wrapperEl.addEventListener(e,b,t)}),p.wrapperEl.addEventListener("pointermove",_,i)}}function M(){var e=p.zoom;if(e.enabled){e.enabled=!1;const{passiveListener:t,activeListenerWithCapture:i}=E();p.wrapperEl.removeEventListener("pointerdown",v,t),p.wrapperEl.removeEventListener("pointermove",y,i),["pointerup","pointercancel","pointerout"].forEach(e=>{p.wrapperEl.removeEventListener(e,b,t)}),p.wrapperEl.removeEventListener("pointermove",_,i)}}Object.defineProperty(p.zoom,"scale",{get(){return c},set(e){var t,i;c!==e&&(t=m.imageEl,i=m.slideEl,n("zoomChange",e,t,i)),c=e}}),i("init",()=>{p.params.zoom.enabled&&C()}),i("destroy",()=>{M()}),i("touchStart",(e,t)=>{var i;p.zoom.enabled&&(t=t,i=p.device,m.imageEl)&&!g.isTouched&&(i.android&&t.cancelable&&t.preventDefault(),g.isTouched=!0,i=0<o.length?o[0]:t,g.touchesStart.x=i.pageX,g.touchesStart.y=i.pageY)}),i("touchEnd",(e,t)=>{if(p.zoom.enabled){var i=p.zoom;if(m.imageEl)if(g.isTouched&&g.isMoved){g.isTouched=!1,g.isMoved=!1;let e=300,t=300;var n=l.x*e,n=g.currentX+n,r=l.y*t,r=g.currentY+r,s=(0!==l.x&&(e=Math.abs((n-g.currentX)/l.x)),0!==l.y&&(t=Math.abs((r-g.currentY)/l.y)),Math.max(e,t)),n=(g.currentX=n,g.currentY=r,g.width*i.scale),r=g.height*i.scale;g.minX=Math.min(m.slideWidth/2-n/2,0),g.maxX=-g.minX,g.minY=Math.min(m.slideHeight/2-r/2,0),g.maxY=-g.minY,g.currentX=Math.max(Math.min(g.currentX,g.maxX),g.minX),g.currentY=Math.max(Math.min(g.currentY,g.maxY),g.minY),m.imageWrapEl.style.transitionDuration=s+"ms",m.imageWrapEl.style.transform=`translate3d(${g.currentX}px, ${g.currentY}px,0)`}else g.isTouched=!1,g.isMoved=!1}}),i("doubleTap",(e,t)=>{!p.animating&&p.params.zoom.enabled&&p.zoom.enabled&&p.params.zoom.toggle&&S(t)}),i("transitionEnd",()=>{p.zoom.enabled&&p.params.zoom.enabled&&w()}),i("slideChange",()=>{p.zoom.enabled&&p.params.zoom.enabled&&p.params.cssMode&&w()}),Object.assign(p.zoom,{enable:C,disable:M,in:x,out:T,toggle:S})},function(e){let{swiper:o,extendParams:t,on:i}=e;function l(e,t){const i=function(){let i,n,r;return(e,t)=>{for(n=-1,i=e.length;1<i-n;)e[r=i+n>>1]<=t?n=r:i=r;return i}}();this.x=e,this.y=t,this.lastIndex=e.length-1;let n,r;return this.interpolate=function(e){return e?(r=i(this.x,e),n=r-1,(e-this.x[n])*(this.y[r]-this.y[n])/(this.x[r]-this.x[n])+this.y[n]):0},this}function n(){o.controller.control&&o.controller.spline&&(o.controller.spline=void 0,delete o.controller.spline)}t({controller:{control:void 0,inverse:!1,by:"slide"}}),o.controller={control:void 0},i("beforeInit",()=>{if("undefined"!=typeof window&&("string"==typeof o.params.controller.control||o.params.controller.control instanceof HTMLElement)){const t=document.querySelector(o.params.controller.control);if(t&&t.swiper)o.controller.control=t.swiper;else if(t){const i=e=>{o.controller.control=e.detail[0],o.update(),t.removeEventListener("init",i)};t.addEventListener("init",i)}}else o.controller.control=o.params.controller.control}),i("update",()=>{n()}),i("resize",()=>{n()}),i("observerUpdate",()=>{n()}),i("setTranslate",(e,t,i)=>{o.controller.control&&!o.controller.control.destroyed&&o.controller.setTranslate(t,i)}),i("setTransition",(e,t,i)=>{o.controller.control&&!o.controller.control.destroyed&&o.controller.setTransition(t,i)}),Object.assign(o.controller,{setTranslate:function(e,t){var i=o.controller.control;let n,r;var s=o.constructor;function a(e){var t,i;e.destroyed||(t=o.rtlTranslate?-o.translate:o.translate,"slide"===o.params.controller.by&&(i=e,o.controller.spline=o.params.loop?new l(o.slidesGrid,i.slidesGrid):new l(o.snapGrid,i.snapGrid),r=-o.controller.spline.interpolate(-t)),r&&"container"!==o.params.controller.by||(n=(e.maxTranslate()-e.minTranslate())/(o.maxTranslate()-o.minTranslate()),!Number.isNaN(n)&&Number.isFinite(n)||(n=1),r=(t-o.minTranslate())*n+e.minTranslate()),o.params.controller.inverse&&(r=e.maxTranslate()-r),e.updateProgress(r),e.setTranslate(r,o),e.updateActiveIndex(),e.updateSlidesClasses())}if(Array.isArray(i))for(let e=0;e<i.length;e+=1)i[e]!==t&&i[e]instanceof s&&a(i[e]);else i instanceof s&&t!==i&&a(i)},setTransition:function(t,e){var i=o.constructor;const n=o.controller.control;let r;function s(e){e.destroyed||(e.setTransition(t,o),0!==t&&(e.transitionStart(),e.params.autoHeight&&E(()=>{e.updateAutoHeight()}),g(e.wrapperEl,()=>{n&&e.transitionEnd()})))}if(Array.isArray(n))for(r=0;r<n.length;r+=1)n[r]!==e&&n[r]instanceof i&&s(n[r]);else n instanceof i&&e!==n&&s(n)}})},function(e){let{swiper:o,extendParams:t,on:i}=e,l=(t({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),o.a11y={clicked:!1},null);function n(e){var t=l;0!==t.length&&(t.innerHTML="",t.innerHTML=e)}const c=e=>(Array.isArray(e)?e:[e]).filter(e=>!!e);function r(e){(e=c(e)).forEach(e=>{e.setAttribute("tabIndex","0")})}function s(e){(e=c(e)).forEach(e=>{e.setAttribute("tabIndex","-1")})}function a(e,t){(e=c(e)).forEach(e=>{e.setAttribute("role",t)})}function d(e,t){(e=c(e)).forEach(e=>{e.setAttribute("aria-roledescription",t)})}function u(e,t){(e=c(e)).forEach(e=>{e.setAttribute("aria-label",t)})}function p(e){(e=c(e)).forEach(e=>{e.setAttribute("aria-disabled",!0)})}function h(e){(e=c(e)).forEach(e=>{e.setAttribute("aria-disabled",!1)})}function f(e){var t,i;13!==e.keyCode&&32!==e.keyCode||(t=o.params.a11y,i=e.target,o.pagination&&o.pagination.el&&(i===o.pagination.el||o.pagination.el.contains(e.target))&&!e.target.matches(D(o.params.pagination.bulletClass)))||(o.navigation&&o.navigation.nextEl&&i===o.navigation.nextEl&&(o.isEnd&&!o.params.loop||o.slideNext(),o.isEnd?n(t.lastSlideMessage):n(t.nextSlideMessage)),o.navigation&&o.navigation.prevEl&&i===o.navigation.prevEl&&(o.isBeginning&&!o.params.loop||o.slidePrev(),o.isBeginning?n(t.firstSlideMessage):n(t.prevSlideMessage)),o.pagination&&i.matches(D(o.params.pagination.bulletClass))&&i.click())}function m(){return o.pagination&&o.pagination.bullets&&o.pagination.bullets.length}function g(){return m()&&o.params.pagination.clickable}const v=(e,t,i)=>{var n;r(e),"BUTTON"!==e.tagName&&(a(e,"button"),e.addEventListener("keydown",f)),u(e,i),i=e,n=t,(i=c(i)).forEach(e=>{e.setAttribute("aria-controls",n)})},y=()=>{o.a11y.clicked=!0},b=()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{o.destroyed||(o.a11y.clicked=!1)})})},_=e=>{var t,i,n;o.a11y.clicked||(t=e.target.closest(`.${o.params.slideClass}, swiper-slide`))&&o.slides.includes(t)&&(i=o.slides.indexOf(t)===o.activeIndex,n=o.params.watchSlidesProgress&&o.visibleSlides&&o.visibleSlides.includes(t),i||n||e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents||(o.isHorizontal()?o.el.scrollLeft=0:o.el.scrollTop=0,o.slideTo(o.slides.indexOf(t),0)))},w=()=>{const i=o.params.a11y,n=(i.itemRoleDescriptionMessage&&d(o.slides,i.itemRoleDescriptionMessage),i.slideRole&&a(o.slides,i.slideRole),o.slides.length);i.slideLabelMessage&&o.slides.forEach((e,t)=>{t=o.params.loop?parseInt(e.getAttribute("data-swiper-slide-index"),10):t;u(e,i.slideLabelMessage.replace(/\{\{index\}\}/,t+1).replace(/\{\{slidesLength\}\}/,n))})},x=()=>{const t=o.params.a11y;o.el.append(l);var e=o.el,e=(t.containerRoleDescriptionMessage&&d(e,t.containerRoleDescriptionMessage),t.containerMessage&&u(e,t.containerMessage),o.wrapperEl);const i=t.id||e.getAttribute("id")||"swiper-wrapper-"+"x".repeat(s=void 0===(s=16)?16:s).replace(/x/g,()=>Math.round(16*Math.random()).toString(16));var n,r,s=o.params.autoplay&&o.params.autoplay.enabled?"off":"polite",{nextEl:e,prevEl:a}=(a=e,n=i,(a=c(a)).forEach(e=>{e.setAttribute("id",n)}),a=e,r=s,(a=c(a)).forEach(e=>{e.setAttribute("aria-live",r)}),w(),o.navigation||{}),e=c(e),a=c(a);e&&e.forEach(e=>v(e,i,t.nextSlideMessage)),a&&a.forEach(e=>v(e,i,t.prevSlideMessage)),g()&&c(o.pagination.el).forEach(e=>{e.addEventListener("keydown",f)}),o.el.addEventListener("focus",_,!0),o.el.addEventListener("pointerdown",y,!0),o.el.addEventListener("pointerup",b,!0)};i("beforeInit",()=>{(l=C("span",o.params.a11y.notificationClass)).setAttribute("aria-live","assertive"),l.setAttribute("aria-atomic","true")}),i("afterInit",()=>{o.params.a11y.enabled&&x()}),i("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{o.params.a11y.enabled&&w()}),i("fromEdge toEdge afterInit lock unlock",()=>{var e,t;o.params.a11y.enabled&&!o.params.loop&&!o.params.rewind&&o.navigation&&({nextEl:e,prevEl:t}=o.navigation,t&&(o.isBeginning?(p(t),s):(h(t),r))(t),e)&&(o.isEnd?(p(e),s):(h(e),r))(e)}),i("paginationUpdate",()=>{if(o.params.a11y.enabled){const t=o.params.a11y;m()&&o.pagination.bullets.forEach(e=>{o.params.pagination.clickable&&(r(e),o.params.pagination.renderBullet||(a(e,"button"),u(e,t.paginationBulletMessage.replace(/\{\{index\}\}/,M(e)+1)))),e.matches(D(o.params.pagination.bulletActiveClass))?e.setAttribute("aria-current","true"):e.removeAttribute("aria-current")})}}),i("destroy",()=>{var e,t;o.params.a11y.enabled&&(l&&l.remove(),{nextEl:e,prevEl:t}=o.navigation||{},e=c(e),t=c(t),e&&e.forEach(e=>e.removeEventListener("keydown",f)),t&&t.forEach(e=>e.removeEventListener("keydown",f)),g()&&c(o.pagination.el).forEach(e=>{e.removeEventListener("keydown",f)}),o.el.removeEventListener("focus",_,!0),o.el.removeEventListener("pointerdown",y,!0),o.el.removeEventListener("pointerup",b,!0))})},function(e){let{swiper:a,extendParams:t,on:i}=e,s=(t({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}}),!1),n={};const o=e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),r=e=>{var t=k();let i;e=(i=e?new URL(e):t.location).pathname.slice(1).split("/").filter(e=>""!==e),t=e.length;return{key:e[t-2],value:e[t-1]}},l=(i,n)=>{var r=k();if(s&&a.params.history.enabled){let e;e=a.params.url?new URL(a.params.url):r.location;n=a.slides[n];let t=o(n.getAttribute("data-history"));if(0<a.params.history.root.length){let e=a.params.history.root;"/"===e[e.length-1]&&(e=e.slice(0,e.length-1)),t=e+"/"+(i?i+"/":"")+t}else e.pathname.includes(i)||(t=(i?i+"/":"")+t);a.params.history.keepQuery&&(t+=e.search);n=r.history.state;n&&n.value===t||(a.params.history.replaceState?r.history.replaceState({value:t},null,t):r.history.pushState({value:t},null,t))}},c=(i,n,r)=>{if(n)for(let e=0,t=a.slides.length;e<t;e+=1){var s=a.slides[e];o(s.getAttribute("data-history"))===n&&(s=a.getSlideIndex(s),a.slideTo(s,i,r))}else a.slideTo(0,i,r)},d=()=>{n=r(a.params.url),c(a.params.speed,n.value,!1)};i("init",()=>{var e;a.params.history.enabled&&(e=k(),a.params.history)&&(e.history&&e.history.pushState?(s=!0,((n=r(a.params.url)).key||n.value)&&c(0,n.value,a.params.runCallbacksOnInit),a.params.history.replaceState||e.addEventListener("popstate",d)):(a.params.history.enabled=!1,a.params.hashNavigation.enabled=!0))}),i("destroy",()=>{var e;a.params.history.enabled&&(e=k(),a.params.history.replaceState||e.removeEventListener("popstate",d))}),i("transitionEnd _freeModeNoMomentumRelease",()=>{s&&l(a.params.history.key,a.activeIndex)}),i("slideChange",()=>{s&&a.params.cssMode&&l(a.params.history.key,a.activeIndex)})},function(e){let{swiper:n,extendParams:t,emit:i,on:r}=e,s=!1;const a=A(),o=k(),l=(t({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(e,t){var i;return n.virtual&&n.params.virtual.enabled?(i=n.slides.filter(e=>e.getAttribute("data-hash")===t)[0])?parseInt(i.getAttribute("data-swiper-slide-index"),10):0:n.getSlideIndex(Y(n.slidesEl,`.${n.params.slideClass}[data-hash="${t}"], swiper-slide[data-hash="${t}"]`)[0])}}}),()=>{i("hashChange");var e=a.location.hash.replace("#",""),t=n.virtual&&n.params.virtual.enabled?n.slidesEl.querySelector(`[data-swiper-slide-index="${n.activeIndex}"]`):n.slides[n.activeIndex];e===(t?t.getAttribute("data-hash"):"")||void 0===(t=n.params.hashNavigation.getSlideIndex(n,e))||Number.isNaN(t)||n.slideTo(t)}),c=()=>{var e;s&&n.params.hashNavigation.enabled&&(e=(e=n.virtual&&n.params.virtual.enabled?n.slidesEl.querySelector(`[data-swiper-slide-index="${n.activeIndex}"]`):n.slides[n.activeIndex])?e.getAttribute("data-hash")||e.getAttribute("data-history"):"",n.params.hashNavigation.replaceState&&o.history&&o.history.replaceState?o.history.replaceState(null,null,"#"+e||""):a.location.hash=e||"",i("hashSet"))};r("init",()=>{var e;!n.params.hashNavigation.enabled||!n.params.hashNavigation.enabled||n.params.history&&n.params.history.enabled||(s=!0,(e=a.location.hash.replace("#",""))&&(e=n.params.hashNavigation.getSlideIndex(n,e),n.slideTo(e||0,0,n.params.runCallbacksOnInit,!0)),n.params.hashNavigation.watchState&&o.addEventListener("hashchange",l))}),r("destroy",()=>{n.params.hashNavigation.enabled&&n.params.hashNavigation.watchState&&o.removeEventListener("hashchange",l)}),r("transitionEnd _freeModeNoMomentumRelease",()=>{s&&c()}),r("slideChange",()=>{s&&n.params.cssMode&&c()})},function(e){let{swiper:s,extendParams:t,on:i,emit:a,params:n}=e;s.autoplay={running:!1,paused:!1,timeLeft:0},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let o,l,c=n&&n.autoplay?n.autoplay.delay:3e3,d=n&&n.autoplay?n.autoplay.delay:3e3,u,p=(new Date).getTime(),r,h,f,m,g,v,y;function b(e){!s||s.destroyed||!s.wrapperEl||e.target!==s.wrapperEl||(s.wrapperEl.removeEventListener("transitionend",b),y)||C()}const _=()=>{var e;!s.destroyed&&s.autoplay.running&&(s.autoplay.paused?r=!0:r&&(d=u,r=!1),e=s.autoplay.paused?u:p+d-(new Date).getTime(),s.autoplay.timeLeft=e,a("autoplayTimeLeft",e,e/c),l=requestAnimationFrame(()=>{_()}))},w=()=>{let e;if(e=s.virtual&&s.params.virtual.enabled?s.slides.filter(e=>e.classList.contains("swiper-slide-active"))[0]:s.slides[s.activeIndex])return parseInt(e.getAttribute("data-swiper-autoplay"),10)},x=t=>{if(!s.destroyed&&s.autoplay.running){cancelAnimationFrame(l),_();let e=void 0===t?s.params.autoplay.delay:t;c=s.params.autoplay.delay,d=s.params.autoplay.delay;var i=w();!Number.isNaN(i)&&0<i&&void 0===t&&(e=i,c=i,d=i),u=e;const n=s.params.speed,r=()=>{s&&!s.destroyed&&(s.params.autoplay.reverseDirection?!s.isBeginning||s.params.loop||s.params.rewind?(s.slidePrev(n,!0,!0),a("autoplay")):s.params.autoplay.stopOnLastSlide||(s.slideTo(s.slides.length-1,n,!0,!0),a("autoplay")):!s.isEnd||s.params.loop||s.params.rewind?(s.slideNext(n,!0,!0),a("autoplay")):s.params.autoplay.stopOnLastSlide||(s.slideTo(0,n,!0,!0),a("autoplay")),s.params.cssMode)&&(p=(new Date).getTime(),requestAnimationFrame(()=>{x()}))};return 0<e?(clearTimeout(o),o=setTimeout(()=>{r()},e)):requestAnimationFrame(()=>{r()}),e}},T=()=>{p=(new Date).getTime(),s.autoplay.running=!0,x(),a("autoplayStart")},S=()=>{s.autoplay.running=!1,clearTimeout(o),cancelAnimationFrame(l),a("autoplayStop")},E=(e,t)=>{!s.destroyed&&s.autoplay.running&&(clearTimeout(o),e||(v=!0),e=()=>{a("autoplayPause"),s.params.autoplay.waitForTransition?s.wrapperEl.addEventListener("transitionend",b):C()},s.autoplay.paused=!0,t?(g&&(u=s.params.autoplay.delay),g=!1,e()):(t=u||s.params.autoplay.delay,u=t-((new Date).getTime()-p),s.isEnd&&u<0&&!s.params.loop||(u<0&&(u=0),e())))},C=()=>{s.isEnd&&u<0&&!s.params.loop||s.destroyed||!s.autoplay.running||(p=(new Date).getTime(),v?(v=!1,x(u)):x(),s.autoplay.paused=!1,a("autoplayResume"))},M=()=>{var e;!s.destroyed&&s.autoplay.running&&("hidden"===(e=A()).visibilityState&&(v=!0,E(!0)),"visible"===e.visibilityState)&&C()},k=e=>{"mouse"!==e.pointerType||(v=!0,y=!0,s.animating)||s.autoplay.paused||E(!0)},I=e=>{"mouse"===e.pointerType&&(y=!1,s.autoplay.paused)&&C()};i("init",()=>{s.params.autoplay.enabled&&(s.params.autoplay.pauseOnMouseEnter&&(s.el.addEventListener("pointerenter",k),s.el.addEventListener("pointerleave",I)),A().addEventListener("visibilitychange",M),T())}),i("destroy",()=>{s.el.removeEventListener("pointerenter",k),s.el.removeEventListener("pointerleave",I),A().removeEventListener("visibilitychange",M),s.autoplay.running&&S()}),i("_freeModeStaticRelease",()=>{(f||v)&&C()}),i("_freeModeNoMomentumRelease",()=>{s.params.autoplay.disableOnInteraction?S():E(!0,!0)}),i("beforeTransitionStart",(e,t,i)=>{!s.destroyed&&s.autoplay.running&&(i||!s.params.autoplay.disableOnInteraction?E(!0,!0):S())}),i("sliderFirstMove",()=>{!s.destroyed&&s.autoplay.running&&(s.params.autoplay.disableOnInteraction?S():(h=!0,f=!1,v=!1,m=setTimeout(()=>{v=!0,f=!0,E(!0)},200)))}),i("touchEnd",()=>{!s.destroyed&&s.autoplay.running&&h&&(clearTimeout(m),clearTimeout(o),h=(f=(s.params.autoplay.disableOnInteraction||f&&s.params.cssMode&&C(),!1),!1))}),i("slideChange",()=>{!s.destroyed&&s.autoplay.running&&(g=!0)}),Object.assign(s.autoplay,{start:T,stop:S,pause:E,resume:C})},function(e){let{swiper:d,extendParams:t,on:i}=e,n=(t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}}),!1),r=!1;function s(){var t=d.thumbs.swiper;if(t&&!t.destroyed){var i=t.clickedIndex,e=t.clickedSlide;if(!(e&&e.classList.contains(d.params.thumbs.slideThumbActiveClass)||null==i)){let e;e=t.params.loop?parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10):i,d.params.loop?d.slideToLoop(e):d.slideTo(e)}}}function a(){var e=d.params["thumbs"];if(n)return!1;n=!0;var t=d.constructor;return e.swiper instanceof t?(d.thumbs.swiper=e.swiper,Object.assign(d.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(d.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),d.thumbs.swiper.update()):l(e.swiper)&&(e=Object.assign({},e.swiper),Object.assign(e,{watchSlidesProgress:!0,slideToClickedSlide:!1}),d.thumbs.swiper=new t(e),r=!0),d.thumbs.swiper.el.classList.add(d.params.thumbs.thumbsContainerClass),d.thumbs.swiper.on("tap",s),!0}function o(i){var n=d.thumbs.swiper;if(n&&!n.destroyed){var r="auto"===n.params.slidesPerView?n.slidesPerViewDynamic():n.params.slidesPerView;let t=1;const c=d.params.thumbs.slideThumbActiveClass;if(1<d.params.slidesPerView&&!d.params.centeredSlides&&(t=d.params.slidesPerView),d.params.thumbs.multipleActiveThumbs||(t=1),t=Math.floor(t),n.slides.forEach(e=>e.classList.remove(c)),n.params.loop||n.params.virtual&&n.params.virtual.enabled)for(let e=0;e<t;e+=1)Y(n.slidesEl,`[data-swiper-slide-index="${d.realIndex+e}"]`).forEach(e=>{e.classList.add(c)});else for(let e=0;e<t;e+=1)n.slides[d.realIndex+e]&&n.slides[d.realIndex+e].classList.add(c);var s=d.params.thumbs.autoScrollOffset,a=s&&!n.params.loop;if(d.realIndex!==n.realIndex||a){var o,l=n.activeIndex;let e,t;t=n.params.loop?(o=n.slides.filter(e=>e.getAttribute("data-swiper-slide-index")===""+d.realIndex)[0],e=n.slides.indexOf(o),d.activeIndex>d.previousIndex?"next":"prev"):(e=d.realIndex)>d.previousIndex?"next":"prev",a&&(e+="next"===t?s:-1*s),n.visibleSlidesIndexes&&n.visibleSlidesIndexes.indexOf(e)<0&&(n.params.centeredSlides?e=e>l?e-Math.floor(r/2)+1:e+Math.floor(r/2)-1:e>l&&n.params.slidesPerGroup,n.slideTo(e,i?0:void 0))}}}d.thumbs={swiper:null},i("beforeInit",()=>{const n=d.params["thumbs"];if(n&&n.swiper)if("string"==typeof n.swiper||n.swiper instanceof HTMLElement){const e=A(),t=()=>{const t="string"==typeof n.swiper?e.querySelector(n.swiper):n.swiper;if(t&&t.swiper)n.swiper=t.swiper,a(),o(!0);else if(t){const i=e=>{n.swiper=e.detail[0],t.removeEventListener("init",i),a(),o(!0),n.swiper.update(),d.update()};t.addEventListener("init",i)}return t},i=()=>{d.destroyed||t()||requestAnimationFrame(i)};requestAnimationFrame(i)}else a(),o(!0)}),i("slideChange update resize observerUpdate",()=>{o()}),i("setTransition",(e,t)=>{var i=d.thumbs.swiper;i&&!i.destroyed&&i.setTransition(t)}),i("beforeDestroy",()=>{var e=d.thumbs.swiper;e&&!e.destroyed&&r&&e.destroy()}),Object.assign(d.thumbs,{init:a,update:o})},function(e){let{swiper:h,extendParams:t,emit:f,once:m}=e;t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(h,{freeMode:{onTouchStart:function(){var e;h.params.cssMode||(e=h.getTranslate(),h.setTranslate(e),h.setTransition(0),h.touchEventsData.velocities.length=0,h.freeMode.onTouchEnd({currentPos:h.rtl?h.translate:-h.translate}))},onTouchMove:function(){var e,t;h.params.cssMode||({touchEventsData:e,touches:t}=h,0===e.velocities.length&&e.velocities.push({position:t[h.isHorizontal()?"startX":"startY"],time:e.touchStartTime}),e.velocities.push({position:t[h.isHorizontal()?"currentX":"currentY"],time:v()}))},onTouchEnd:function(s){if(s=s.currentPos,!h.params.cssMode){const{params:l,wrapperEl:c,rtlTranslate:d,snapGrid:u,touchEventsData:p}=h;var e=v()-p.touchStartTime;if(s<-h.minTranslate())h.slideTo(h.activeIndex);else if(s>-h.maxTranslate())h.slides.length<u.length?h.slideTo(u.length-1):h.slideTo(h.slides.length-1);else{if(l.freeMode.momentum){(!(1<p.velocities.length)||(s=p.velocities.pop(),o=p.velocities.pop(),a=s.position-o.position,o=s.time-o.time,h.velocity=a/o,h.velocity/=2,Math.abs(h.velocity)<l.freeMode.minimumVelocity&&(h.velocity=0),150<o)||300<v()-s.time)&&(h.velocity=0),h.velocity*=l.freeMode.momentumVelocityRatio,p.velocities.length=0;let e=1e3*l.freeMode.momentumRatio;var a=h.velocity*e;let i=h.translate+a,t=(d&&(i=-i),!1),n;var o=20*Math.abs(h.velocity)*l.freeMode.momentumBounceRatio;let r;if(i<h.maxTranslate())l.freeMode.momentumBounce?(i+h.maxTranslate()<-o&&(i=h.maxTranslate()-o),n=h.maxTranslate(),t=!0,p.allowMomentumBounce=!0):i=h.maxTranslate(),l.loop&&l.centeredSlides&&(r=!0);else if(i>h.minTranslate())l.freeMode.momentumBounce?(i-h.minTranslate()>o&&(i=h.minTranslate()+o),n=h.minTranslate(),t=!0,p.allowMomentumBounce=!0):i=h.minTranslate(),l.loop&&l.centeredSlides&&(r=!0);else if(l.freeMode.sticky){let t;for(let e=0;e<u.length;e+=1)if(u[e]>-i){t=e;break}i=-(i=Math.abs(u[t]-i)<Math.abs(u[t-1]-i)||"next"===h.swipeDirection?u[t]:u[t-1])}if(r&&m("transitionEnd",()=>{h.loopFix()}),0!==h.velocity)e=d?Math.abs((-i-h.translate)/h.velocity):Math.abs((i-h.translate)/h.velocity),l.freeMode.sticky&&(s=Math.abs((d?-i:i)-h.translate),a=h.slidesSizesGrid[h.activeIndex],e=s<a?l.speed:s<2*a?1.5*l.speed:2.5*l.speed);else if(l.freeMode.sticky)return void h.slideToClosest();l.freeMode.momentumBounce&&t?(h.updateProgress(n),h.setTransition(e),h.setTranslate(i),h.transitionStart(!0,h.swipeDirection),h.animating=!0,g(c,()=>{h&&!h.destroyed&&p.allowMomentumBounce&&(f("momentumBounce"),h.setTransition(l.speed),setTimeout(()=>{h.setTranslate(n),g(c,()=>{h&&!h.destroyed&&h.transitionEnd()})},0))})):h.velocity?(f("_freeModeNoMomentumRelease"),h.updateProgress(i),h.setTransition(e),h.setTranslate(i),h.transitionStart(!0,h.swipeDirection),h.animating||(h.animating=!0,g(c,()=>{h&&!h.destroyed&&h.transitionEnd()}))):h.updateProgress(i),h.updateActiveIndex(),h.updateSlidesClasses()}else{if(l.freeMode.sticky)return void h.slideToClosest();l.freeMode&&f("_freeModeNoMomentumRelease")}(!l.freeMode.momentum||e>=l.longSwipesMs)&&(f("_freeModeStaticRelease"),h.updateProgress(),h.updateActiveIndex(),h.updateSlidesClasses())}}}}})},function(e){let{swiper:u,extendParams:t,on:i}=e;t({grid:{rows:1,fill:"column"}});let p,h,f,n;const m=()=>{let e=u.params.spaceBetween;return"string"==typeof e&&0<=e.indexOf("%")?e=parseFloat(e.replace("%",""))/100*u.size:"string"==typeof e&&(e=parseFloat(e)),e};i("init",()=>{n=u.params.grid&&1<u.params.grid.rows}),i("update",()=>{var{params:e,el:t}=u,i=e.grid&&1<e.grid.rows;n&&!i?(t.classList.remove(e.containerModifierClass+"grid",e.containerModifierClass+"grid-column"),f=1,u.emitContainerClasses()):!n&&i&&(t.classList.add(e.containerModifierClass+"grid"),"column"===e.grid.fill&&t.classList.add(e.containerModifierClass+"grid-column"),u.emitContainerClasses()),n=i}),u.grid={initSlides:e=>{var t=u.params["slidesPerView"],{rows:i,fill:n}=u.params.grid,e=(u.virtual&&u.params.virtual.enabled?u.virtual.slides:e).length;f=Math.floor(e/i),p=Math.floor(e/i)===e/i?e:Math.ceil(e/i)*i,"auto"!==t&&"row"===n&&(p=Math.max(p,t*i)),h=p/i},unsetSlides:()=>{u.slides&&u.slides.forEach(e=>{e.swiperSlideGridSet&&(e.style.height="",e.style[u.getDirectionLabel("margin-top")]="")})},updateSlide:(e,t,i)=>{var n,r,s=u.params["slidesPerGroup"],a=m(),{rows:o,fill:l}=u.params.grid,i=(u.virtual&&u.params.virtual.enabled?u.virtual.slides:i).length;let c,d;"row"===l&&1<s?(r=e-o*s*(n=Math.floor(e/(s*o))),i=0===n?s:Math.min(Math.ceil((i-n*o*s)/o),s),d=Math.floor(r/i),r=(c=r-d*i+n*s)+d*p/o,t.style.order=r):"column"===l?(c=Math.floor(e/o),d=e-c*o,(c>f||c===f&&d===o-1)&&(d+=1)>=o&&(d=0,c+=1)):(d=Math.floor(e/h),c=e-d*h),t.row=d,t.column=c,t.style.height=`calc((100% - ${(o-1)*a}px) / ${o})`,t.style[u.getDirectionLabel("margin-top")]=0!==d?a&&a+"px":"",t.swiperSlideGridSet=!0},updateWrapperSize:(e,i)=>{var{centeredSlides:t,roundLengths:n}=u.params,r=m(),s=u.params.grid["rows"];if(u.virtualSize=(e+r)*p,u.virtualSize=Math.ceil(u.virtualSize/s)-r,u.params.cssMode||(u.wrapperEl.style[u.getDirectionLabel("width")]=u.virtualSize+r+"px"),t){var a=[];for(let t=0;t<i.length;t+=1){let e=i[t];n&&(e=Math.floor(e)),i[t]<u.virtualSize+i[0]&&a.push(e)}i.splice(0,i.length),i.push(...a)}}}},function(e){e=e.swiper,Object.assign(e,{appendSlide:function(t){const{params:e,slidesEl:i}=this;e.loop&&this.loopDestroy();var n=e=>{var t;"string"==typeof e?((t=document.createElement("div")).innerHTML=e,i.append(t.children[0]),t.innerHTML=""):i.append(e)};if("object"==typeof t&&"length"in t)for(let e=0;e<t.length;e+=1)t[e]&&n(t[e]);else n(t);this.recalcSlides(),e.loop&&this.loopCreate(),e.observer&&!this.isElement||this.update()}.bind(e),prependSlide:function(t){const{params:e,activeIndex:i,slidesEl:n}=this;e.loop&&this.loopDestroy();let r=i+1;var s=e=>{var t;"string"==typeof e?((t=document.createElement("div")).innerHTML=e,n.prepend(t.children[0]),t.innerHTML=""):n.prepend(e)};if("object"==typeof t&&"length"in t){for(let e=0;e<t.length;e+=1)t[e]&&s(t[e]);r=i+t.length}else s(t);this.recalcSlides(),e.loop&&this.loopCreate(),e.observer&&!this.isElement||this.update(),this.slideTo(r,0,!1)}.bind(e),addSlide:function(t,i){var n=this,{params:r,activeIndex:s,slidesEl:a}=n;let o=s;if(r.loop&&(o-=n.loopedSlides,n.loopDestroy(),n.recalcSlides()),s=n.slides.length,t<=0)n.prependSlide(i);else if(s<=t)n.appendSlide(i);else{let e=o>t?o+1:o;var l=[];for(let e=s-1;e>=t;--e){var c=n.slides[e];c.remove(),l.unshift(c)}if("object"==typeof i&&"length"in i){for(let e=0;e<i.length;e+=1)i[e]&&a.append(i[e]);e=o>t?o+i.length:o}else a.append(i);for(let e=0;e<l.length;e+=1)a.append(l[e]);n.recalcSlides(),r.loop&&n.loopCreate(),r.observer&&!n.isElement||n.update(),r.loop?n.slideTo(e+n.loopedSlides,0,!1):n.slideTo(e,0,!1)}}.bind(e),removeSlide:function(t){var i=this,{params:e,activeIndex:n}=i;let r=n,s=(e.loop&&(r-=i.loopedSlides,i.loopDestroy()),r),a;if("object"==typeof t&&"length"in t)for(let e=0;e<t.length;e+=1)a=t[e],i.slides[a]&&i.slides[a].remove(),a<s&&--s;else a=t,i.slides[a]&&i.slides[a].remove(),a<s&&--s;s=Math.max(s,0),i.recalcSlides(),e.loop&&i.loopCreate(),e.observer&&!i.isElement||i.update(),e.loop?i.slideTo(s+i.loopedSlides,0,!1):i.slideTo(s,0,!1)}.bind(e),removeAllSlides:function(){var t=[];for(let e=0;e<this.slides.length;e+=1)t.push(e);this.removeSlide(t)}.bind(e)})},function(e){let{swiper:s,extendParams:t,on:i}=e;t({fadeEffect:{crossFade:!1}}),f({effect:"fade",swiper:s,on:i,setTranslate:()=>{var e=s["slides"];s.params.fadeEffect;for(let i=0;i<e.length;i+=1){var n=s.slides[i];let e=-n.swiperSlideOffset,t=(s.params.virtualTranslate||(e-=s.translate),0);s.isHorizontal()||(t=e,e=0);var r=s.params.fadeEffect.crossFade?Math.max(1-Math.abs(n.progress),0):1+Math.min(Math.max(n.progress,-1),0),n=w(0,n);n.style.opacity=r,n.style.transform=`translate3d(${e}px, ${t}px, 0px)`}},setTransition:t=>{var e=s.slides.map(e=>a(e));e.forEach(e=>{e.style.transitionDuration=t+"ms"}),m({swiper:s,duration:t,transformElements:e,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!s.params.cssMode})})},function(e){let{swiper:v,extendParams:t,on:i}=e;t({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const y=(e,t,i)=>{let n=i?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),r=i?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");n||(n=C("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(i?"left":"top")).split(" ")),e.append(n)),r||(r=C("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(i?"right":"bottom")).split(" ")),e.append(r)),n&&(n.style.opacity=Math.max(-t,0)),r&&(r.style.opacity=Math.max(t,0))};f({effect:"cube",swiper:v,on:i,setTranslate:()=>{var e,{el:t,wrapperEl:i,slides:o,width:n,height:r,rtlTranslate:l,size:c,browser:s}=v,d=v.params.cubeEffect,u=v.isHorizontal(),p=v.virtual&&v.params.virtual.enabled;let h=0,a;d.shadow&&(u?((a=v.wrapperEl.querySelector(".swiper-cube-shadow"))||(a=C("div","swiper-cube-shadow"),v.wrapperEl.append(a)),a.style.height=n+"px"):(a=t.querySelector(".swiper-cube-shadow"))||(a=C("div","swiper-cube-shadow"),t.append(a)));for(let a=0;a<o.length;a+=1){var f=o[a];let e=a,t=90*(e=p?parseInt(f.getAttribute("data-swiper-slide-index"),10):e),i=Math.floor(t/360);l&&(t=-t,i=Math.floor(-t/360));var m=Math.max(Math.min(f.progress,1),-1);let n=0,r=0,s=0;e%4==0?(n=4*-i*c,s=0):(e-1)%4==0?(n=0,s=4*-i*c):(e-2)%4==0?(n=c+4*i*c,s=c):(e-3)%4==0&&(n=-c,s=3*c+4*c*i),l&&(n=-n),u||(r=n,n=0);var g=`rotateX(${u?0:-t}deg) rotateY(${u?t:0}deg) translate3d(${n}px, ${r}px, ${s}px)`;m<=1&&-1<m&&(h=90*e+90*m,l&&(h=90*-e-90*m),v.browser)&&v.browser.isSafari&&Math.abs(h)/90%2==1&&(h+=.001),f.style.transform=g,d.slideShadows&&y(f,m,u)}i.style.transformOrigin=`50% 50% -${c/2}px`,i.style["-webkit-transform-origin"]=`50% 50% -${c/2}px`,d.shadow&&(u?a.style.transform=`translate3d(0px, ${n/2+d.shadowOffset}px, ${-n/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${d.shadowScale})`:(t=Math.abs(h)-90*Math.floor(Math.abs(h)/90),n=1.5-(Math.sin(2*t*Math.PI/360)/2+Math.cos(2*t*Math.PI/360)/2),t=d.shadowScale,n=d.shadowScale/n,e=d.shadowOffset,a.style.transform=`scale3d(${t}, 1, ${n}) translate3d(0px, ${r/2+e}px, ${-r/2/n}px) rotateX(-89.99deg)`));t=(s.isSafari||s.isWebView)&&s.needPerspectiveFix?-c/2:0;i.style.transform=`translate3d(0px,0,${t}px) rotateX(${v.isHorizontal()?0:h}deg) rotateY(${v.isHorizontal()?-h:0}deg)`,i.style.setProperty("--swiper-cube-translate-z",t+"px")},setTransition:t=>{var{el:e,slides:i}=v;i.forEach(e=>{e.style.transitionDuration=t+"ms",e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>{e.style.transitionDuration=t+"ms"})}),v.params.cubeEffect.shadow&&!v.isHorizontal()&&(i=e.querySelector(".swiper-cube-shadow"))&&(i.style.transitionDuration=t+"ms")},recreateShadows:()=>{const i=v.isHorizontal();v.slides.forEach(e=>{var t=Math.max(Math.min(e.progress,1),-1);y(e,t,i)})},getEffectParams:()=>v.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})},function(e){let{swiper:u,extendParams:t,on:i}=e;t({flipEffect:{slideShadows:!0,limitRotation:!0}});const p=(e,t)=>{let i=u.isHorizontal()?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),n=u.isHorizontal()?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");i=i||x("flip",e,u.isHorizontal()?"left":"top"),n=n||x("flip",e,u.isHorizontal()?"right":"bottom"),i&&(i.style.opacity=Math.max(-t,0)),n&&(n.style.opacity=Math.max(t,0))};f({effect:"flip",swiper:u,on:i,setTranslate:()=>{var{slides:a,rtlTranslate:o}=u,l=u.params.flipEffect;for(let s=0;s<a.length;s+=1){var c=a[s];let e=c.progress;u.params.flipEffect.limitRotation&&(e=Math.max(Math.min(c.progress,1),-1));var d=c.swiperSlideOffset;let t=-180*e,i=0,n=u.params.cssMode?-d-u.translate:-d,r=0;u.isHorizontal()?o&&(t=-t):(r=n,n=0,i=-t,t=0),u.browser&&u.browser.isSafari&&(Math.abs(t)/90%2==1&&(t+=.001),Math.abs(i)/90%2==1)&&(i+=.001),c.style.zIndex=-Math.abs(Math.round(e))+a.length,l.slideShadows&&p(c,e);d=`translate3d(${n}px, ${r}px, 0px) rotateX(${i}deg) rotateY(${t}deg)`;w(0,c).style.transform=d}},setTransition:t=>{var e=u.slides.map(e=>a(e));e.forEach(e=>{e.style.transitionDuration=t+"ms",e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>{e.style.transitionDuration=t+"ms"})}),m({swiper:u,duration:t,transformElements:e})},recreateShadows:()=>{u.params.flipEffect,u.slides.forEach(e=>{let t=e.progress;u.params.flipEffect.limitRotation&&(t=Math.max(Math.min(e.progress,1),-1)),p(e,t)})},getEffectParams:()=>u.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!u.params.cssMode})})},function(e){let{swiper:y,extendParams:t,on:i}=e;t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),f({effect:"coverflow",swiper:y,on:i,setTranslate:()=>{var{width:e,height:t,slides:l,slidesSizesGrid:c}=y,d=y.params.coverflowEffect,u=y.isHorizontal(),i=y.translate,p=u?e/2-i:t/2-i,h=u?d.rotate:-d.rotate,f=d.depth;for(let o=0,e=l.length;o<e;o+=1){var m=l[o],g=c[o],v=(p-m.swiperSlideOffset-g/2)/g,v="function"==typeof d.modifier?d.modifier(v):v*d.modifier;let e=u?h*v:0,t=u?0:h*v,i=-f*Math.abs(v),n=d.stretch,r=("string"==typeof n&&-1!==n.indexOf("%")&&(n=parseFloat(d.stretch)/100*g),u?0:n*v),s=u?n*v:0,a=1-(1-d.scale)*Math.abs(v);Math.abs(s)<.001&&(s=0),Math.abs(r)<.001&&(r=0),Math.abs(i)<.001&&(i=0),Math.abs(e)<.001&&(e=0),Math.abs(t)<.001&&(t=0),Math.abs(a)<.001&&(a=0),y.browser&&y.browser.isSafari&&(Math.abs(e)/90%2==1&&(e+=.001),Math.abs(t)/90%2==1)&&(t+=.001);g=`translate3d(${s}px,${r}px,${i}px) rotateX(${t}deg) rotateY(${e}deg) scale(${a})`;if(w(0,m).style.transform=g,m.style.zIndex=1-Math.abs(Math.round(v)),d.slideShadows){let e=u?m.querySelector(".swiper-slide-shadow-left"):m.querySelector(".swiper-slide-shadow-top"),t=u?m.querySelector(".swiper-slide-shadow-right"):m.querySelector(".swiper-slide-shadow-bottom");e=e||x("coverflow",m,u?"left":"top"),t=t||x("coverflow",m,u?"right":"bottom"),e&&(e.style.opacity=0<v?v:0),t&&(t.style.opacity=0<-v?-v:0)}}},setTransition:t=>{y.slides.map(e=>a(e)).forEach(e=>{e.style.transitionDuration=t+"ms",e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>{e.style.transitionDuration=t+"ms"})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})},function(e){let{swiper:g,extendParams:t,on:i}=e;t({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}}),f({effect:"creative",swiper:g,on:i,setTranslate:()=>{var{slides:r,wrapperEl:e,slidesSizesGrid:t}=g,s=g.params.creativeEffect;const a=s["progressMultiplier"];var o=g.params.centeredSlides;o&&(t=t[0]/2-g.params.slidesOffsetBefore||0,e.style.transform=`translateX(calc(50% - ${t}px))`);for(let i=0;i<r.length;i+=1){var l=r[i],c=l.progress;const h=Math.min(Math.max(l.progress,-s.limitProgress),s.limitProgress);let e=h;o||(e=Math.min(Math.max(l.originalProgress,-s.limitProgress),s.limitProgress));var d=l.swiperSlideOffset;const f=[g.params.cssMode?-d-g.translate:-d,0,0],m=[0,0,0];let t=!1,n=(g.isHorizontal()||(f[1]=f[0],f[0]=0),{translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1});h<0?(n=s.next,t=!0):0<h&&(n=s.prev,t=!0),f.forEach((e,t)=>{f[t]=`calc(${e}px + (${e=n.translate[t],"string"==typeof e?e:e+"px"} * ${Math.abs(h*a)}))`}),m.forEach((e,t)=>{let i=n.rotate[t]*Math.abs(h*a);g.browser&&g.browser.isSafari&&Math.abs(i)/90%2==1&&(i+=.001),m[t]=i}),l.style.zIndex=-Math.abs(Math.round(c))+r.length;var d=f.join(", "),c=`rotateX(${m[0]}deg) rotateY(${m[1]}deg) rotateZ(${m[2]}deg)`,u=e<0?`scale(${1+(1-n.scale)*e*a})`:`scale(${1-(1-n.scale)*e*a})`,p=e<0?1+(1-n.opacity)*e*a:1-(1-n.opacity)*e*a,d=`translate3d(${d}) ${c} `+u;if(t&&n.shadow||!t){let e=l.querySelector(".swiper-slide-shadow");(e=!e&&n.shadow?x("creative",l):e)&&(c=s.shadowPerProgress?h*(1/s.limitProgress):h,e.style.opacity=Math.min(Math.max(Math.abs(c),0),1))}u=w(0,l);u.style.transform=d,u.style.opacity=p,n.origin&&(u.style.transformOrigin=n.origin)}},setTransition:t=>{var e=g.slides.map(e=>a(e));e.forEach(e=>{e.style.transitionDuration=t+"ms",e.querySelectorAll(".swiper-slide-shadow").forEach(e=>{e.style.transitionDuration=t+"ms"})}),m({swiper:g,duration:t,transformElements:e,allSlides:!0})},perspective:()=>g.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!g.params.cssMode})})},function(e){let{swiper:_,extendParams:t,on:i}=e;t({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),f({effect:"cards",swiper:_,on:i,setTranslate:()=>{var{slides:o,activeIndex:l,rtlTranslate:c}=_,d=_.params.cardsEffect,{startTranslate:u,isTouched:p}=_.touchEventsData,h=c?-_.translate:_.translate;for(let a=0;a<o.length;a+=1){var f=o[a],m=f.progress,g=Math.min(Math.max(m,-4),4);let e=f.swiperSlideOffset,t=(_.params.centeredSlides&&!_.params.cssMode&&(_.wrapperEl.style.transform=`translateX(${_.minTranslate()}px)`),_.params.centeredSlides&&_.params.cssMode&&(e-=o[0].swiperSlideOffset),_.params.cssMode?-e-_.translate:-e),i=0;var v=-100*Math.abs(g);let n=1,r=-d.perSlideRotate*g,s=d.perSlideOffset-.75*Math.abs(g);var y=_.virtual&&_.params.virtual.enabled?_.virtual.from+a:a,b=(y===l||y===l-1)&&0<g&&g<1&&(p||_.params.cssMode)&&h<u,y=(y===l||y===l+1)&&g<0&&-1<g&&(p||_.params.cssMode)&&u<h,b=((b||y)&&(b=(1-Math.abs((Math.abs(g)-.5)/.5))**.5,r+=-28*g*b,n+=-.5*b,s+=96*b,i=-25*b*Math.abs(g)+"%"),g<0?t=`calc(${t}px ${c?"-":"+"} (${s*Math.abs(g)}%))`:0<g?t=`calc(${t}px ${c?"-":"+"} (-${s*Math.abs(g)}%))`:t+="px",_.isHorizontal()||(y=i,i=t,t=y),g<0?""+(1+(1-n)*g):""+(1-(1-n)*g)),y=`
translate3d(${t}, ${i}, ${v}px)
rotateZ(${d.rotate?c?-r:r:0}deg)
scale(${b})
`;if(d.slideShadows){let e=f.querySelector(".swiper-slide-shadow");(e=e||x("cards",f))&&(e.style.opacity=Math.min(Math.max((Math.abs(g)-.5)/.5,0),1))}f.style.zIndex=-Math.abs(Math.round(m))+o.length,w(0,f).style.transform=y}},setTransition:t=>{var e=_.slides.map(e=>a(e));e.forEach(e=>{e.style.transitionDuration=t+"ms",e.querySelectorAll(".swiper-slide-shadow").forEach(e=>{e.style.transitionDuration=t+"ms"})}),m({swiper:_,duration:t,transformElements:e})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!_.params.cssMode})})}]),h}();